2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.6.2.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.6.2'
274 PACKAGE_STRING
='wxWidgets 2.6.2'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE 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_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_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 DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.6.2 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.6.2:";;
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 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1058 --with-motif use Motif/Lesstif
1059 --with-mac use Mac OS X
1060 --with-cocoa use Cocoa
1061 --with-wine use Wine
1062 --with-msw use MS-Windows
1063 --with-pm use OS/2 Presentation Manager
1064 --with-mgl use SciTech MGL
1065 --with-microwin use MicroWindows
1067 --with-libpng use libpng (PNG image format)
1068 --with-libjpeg use libjpeg (JPEG file format)
1069 --with-libtiff use libtiff (TIFF file format)
1070 --with-libxpm use libxpm (XPM file format)
1071 --with-libmspack use libmspack (CHM help files loading)
1072 --with-sdl use SDL for audio on Unix
1073 --with-gnomeprint use GNOME print for printing under Unix
1074 --with-opengl use OpenGL (or Mesa)
1075 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1076 --with-regex enable support for wxRegEx class
1077 --with-zlib use zlib for LZW compression
1078 --with-odbc use the IODBC and wxODBC classes
1079 --with-expat enable XML support using expat parser
1080 --with-flavour=NAME specify a name to identify this build
1081 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1082 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1083 --with-x use the X Window System
1084 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1085 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1086 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1087 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1088 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1090 Some influential environment variables:
1091 CC C compiler command
1092 CFLAGS C compiler flags
1093 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1094 nonstandard directory <lib dir>
1095 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1096 headers in a nonstandard directory <include dir>
1098 CXX C++ compiler command
1099 CXXFLAGS C++ compiler flags
1100 CXXCPP C++ preprocessor
1102 Use these variables to override the choices made by `configure' or to
help
1103 it to
find libraries and programs with nonstandard names
/locations.
1105 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1109 if test "$ac_init_help" = "recursive"; then
1110 # If there are subdirs, report their specific --help.
1112 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1113 test -d $ac_dir || continue
1116 if test "$ac_dir" != .
; then
1117 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1118 # A "../" for each directory in $ac_dir_suffix.
1119 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1121 ac_dir_suffix
= ac_top_builddir
=
1125 .
) # No --srcdir option. We are building in place.
1127 if test -z "$ac_top_builddir"; then
1130 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1132 [\\/]* | ?
:[\\/]* ) # Absolute path.
1133 ac_srcdir
=$srcdir$ac_dir_suffix;
1134 ac_top_srcdir
=$srcdir ;;
1136 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1137 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1140 # Do not use `cd foo && pwd` to compute absolute paths, because
1141 # the directories may not exist.
1143 .
) ac_abs_builddir
="$ac_dir";;
1146 .
) ac_abs_builddir
=`pwd`;;
1147 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1148 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1151 case $ac_abs_builddir in
1152 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1154 case ${ac_top_builddir}.
in
1155 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1156 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1157 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1160 case $ac_abs_builddir in
1161 .
) ac_abs_srcdir
=$ac_srcdir;;
1164 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1165 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1166 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1169 case $ac_abs_builddir in
1170 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1172 case $ac_top_srcdir in
1173 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1174 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1175 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1180 # Check for guested configure; otherwise get Cygnus style configure.
1181 if test -f $ac_srcdir/configure.gnu
; then
1183 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1184 elif test -f $ac_srcdir/configure
; then
1186 $SHELL $ac_srcdir/configure
--help=recursive
1187 elif test -f $ac_srcdir/configure.ac
||
1188 test -f $ac_srcdir/configure.
in; then
1190 $ac_configure --help
1192 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1198 test -n "$ac_init_help" && exit 0
1199 if $ac_init_version; then
1201 wxWidgets configure
2.6.2
1202 generated by GNU Autoconf
2.59
1204 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1205 This configure
script is free software
; the Free Software Foundation
1206 gives unlimited permission to copy
, distribute and modify it.
1212 This file contains any messages produced by compilers while
1213 running configure, to aid debugging if configure makes a mistake.
1215 It was created by wxWidgets $as_me 2.6.2, which was
1216 generated by GNU Autoconf 2.59. Invocation command line was
1227 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1228 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1229 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1230 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1231 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1233 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1234 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1236 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1237 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1238 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1239 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1240 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1241 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1242 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1250 test -z "$as_dir" && as_dir
=.
1251 echo "PATH: $as_dir"
1266 # Keep a trace of the command line.
1267 # Strip out --no-create and --no-recursion so they do not pile up.
1268 # Strip out --silent because we don't want to record it for future runs.
1269 # Also quote any args containing shell meta-characters.
1270 # Make two passes to allow for proper duplicate-argument suppression.
1275 ac_must_keep_next
=false
1281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1283 | -silent | --silent | --silen | --sile | --sil)
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1291 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1292 if test $ac_must_keep_next = true
; then
1293 ac_must_keep_next
=false
# Got value, back to normal.
1296 *=* | --config-cache | -C | -disable-* | --disable-* \
1297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1299 | -with-* | --with-* | -without-* | --without-* | --x)
1300 case "$ac_configure_args0 " in
1301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1304 -* ) ac_must_keep_next
=true
;;
1307 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1308 # Get rid of the leading space.
1314 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
1315 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
1317 # When interrupted or exit'd, cleanup temporary files, and complete
1318 # config.log. We remove comments because anyway the quotes in there
1319 # would cause problems or look ugly.
1320 # WARNING: Be sure not to use single quotes in there, as some shells,
1321 # such as our DU 5.0 friend, will then `close' the trap.
1322 trap 'exit_status=$?
1323 # Save into config.log some information that might help in debugging.
1328 ## ---------------- ##
1329 ## Cache variables. ##
1330 ## ---------------- ##
1333 # The following way of writing the cache mishandles newlines in values,
1336 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1339 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1344 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1351 ## ----------------- ##
1352 ## Output variables. ##
1353 ## ----------------- ##
1356 for ac_var in $ac_subst_vars
1358 eval ac_val=$`echo $ac_var`
1359 echo "$ac_var='"'"'$ac_val'"'"'"
1363 if test -n "$ac_subst_files"; then
1370 for ac_var in $ac_subst_files
1372 eval ac_val=$`echo $ac_var`
1373 echo "$ac_var='"'"'$ac_val'"'"'"
1378 if test -s confdefs.h; then
1385 sed "/^$/d" confdefs.h | sort
1388 test "$ac_signal" != 0 &&
1389 echo "$as_me: caught signal $ac_signal"
1390 echo "$as_me: exit $exit_status"
1392 rm -f core *.core &&
1393 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1396 for ac_signal
in 1 2 13 15; do
1397 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1401 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1402 rm -rf conftest
* confdefs.h
1403 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1406 # Predefined preprocessor variables.
1408 cat >>confdefs.h
<<_ACEOF
1409 #define PACKAGE_NAME "$PACKAGE_NAME"
1413 cat >>confdefs.h
<<_ACEOF
1414 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1418 cat >>confdefs.h
<<_ACEOF
1419 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1423 cat >>confdefs.h
<<_ACEOF
1424 #define PACKAGE_STRING "$PACKAGE_STRING"
1428 cat >>confdefs.h
<<_ACEOF
1429 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1433 # Let the site file select an alternate cache file if it wants to.
1434 # Prefer explicitly selected file to automatically selected ones.
1435 if test -z "$CONFIG_SITE"; then
1436 if test "x$prefix" != xNONE
; then
1437 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1439 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1442 for ac_site_file
in $CONFIG_SITE; do
1443 if test -r "$ac_site_file"; then
1444 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1445 echo "$as_me: loading site script $ac_site_file" >&6;}
1446 sed 's/^/| /' "$ac_site_file" >&5
1451 if test -r "$cache_file"; then
1452 # Some versions of bash will fail to source /dev/null (special
1453 # files actually), so we avoid doing that.
1454 if test -f "$cache_file"; then
1455 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1456 echo "$as_me: loading cache $cache_file" >&6;}
1458 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1459 *) . .
/$cache_file;;
1463 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1464 echo "$as_me: creating cache $cache_file" >&6;}
1468 # Check that the precious variables saved in the cache have kept the same
1470 ac_cache_corrupted
=false
1471 for ac_var
in `(set) 2>&1 |
1472 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1473 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1474 eval ac_new_set
=\
$ac_env_${ac_var}_set
1475 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1476 eval ac_new_val
="\$ac_env_${ac_var}_value"
1477 case $ac_old_set,$ac_new_set in
1479 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1480 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1481 ac_cache_corrupted
=: ;;
1483 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1484 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1485 ac_cache_corrupted
=: ;;
1488 if test "x$ac_old_val" != "x$ac_new_val"; then
1489 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1490 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1491 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1492 echo "$as_me: former value: $ac_old_val" >&2;}
1493 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1494 echo "$as_me: current value: $ac_new_val" >&2;}
1495 ac_cache_corrupted
=:
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg
=$ac_var=$ac_new_val ;;
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1513 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1514 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1515 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1516 { (exit 1); exit 1; }; }
1520 ac_cpp
='$CPP $CPPFLAGS'
1521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1555 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1556 if test -f $ac_dir/install-sh; then
1558 ac_install_sh
="$ac_aux_dir/install-sh -c"
1560 elif test -f $ac_dir/install.sh
; then
1562 ac_install_sh
="$ac_aux_dir/install.sh -c"
1564 elif test -f $ac_dir/shtool
; then
1566 ac_install_sh
="$ac_aux_dir/shtool install -c"
1570 if test -z "$ac_aux_dir"; then
1571 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1572 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1573 { (exit 1); exit 1; }; }
1575 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1576 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1577 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1579 # Make sure we can run config.sub.
1580 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1581 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1582 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1583 { (exit 1); exit 1; }; }
1585 echo "$as_me:$LINENO: checking build system type" >&5
1586 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1587 if test "${ac_cv_build+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 ac_cv_build_alias
=$build_alias
1591 test -z "$ac_cv_build_alias" &&
1592 ac_cv_build_alias
=`$ac_config_guess`
1593 test -z "$ac_cv_build_alias" &&
1594 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1595 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1596 { (exit 1); exit 1; }; }
1597 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1598 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1599 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1600 { (exit 1); exit 1; }; }
1603 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1604 echo "${ECHO_T}$ac_cv_build" >&6
1606 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1607 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1608 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1611 echo "$as_me:$LINENO: checking host system type" >&5
1612 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1613 if test "${ac_cv_host+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 ac_cv_host_alias
=$host_alias
1617 test -z "$ac_cv_host_alias" &&
1618 ac_cv_host_alias
=$ac_cv_build_alias
1619 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1620 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1621 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1622 { (exit 1); exit 1; }; }
1625 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1626 echo "${ECHO_T}$ac_cv_host" >&6
1628 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1629 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1630 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1633 echo "$as_me:$LINENO: checking target system type" >&5
1634 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1635 if test "${ac_cv_target+set}" = set; then
1636 echo $ECHO_N "(cached) $ECHO_C" >&6
1638 ac_cv_target_alias
=$target_alias
1639 test "x$ac_cv_target_alias" = "x" &&
1640 ac_cv_target_alias
=$ac_cv_host_alias
1641 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1642 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1643 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1644 { (exit 1); exit 1; }; }
1647 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1648 echo "${ECHO_T}$ac_cv_target" >&6
1649 target
=$ac_cv_target
1650 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1651 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1652 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1655 # The aliases save the names the user supplied, while $host etc.
1656 # will get canonicalized.
1657 test -n "$target_alias" &&
1658 test "$program_prefix$program_suffix$program_transform_name" = \
1660 program_prefix
=${target_alias}-
1664 wx_major_version_number
=2
1665 wx_minor_version_number
=6
1667 wx_subrelease_number
=1
1669 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
1670 WX_VERSION
=$WX_RELEASE.
$wx_release_number
1671 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
1673 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
1686 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
1692 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
1698 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1700 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1702 DEFAULT_wxUSE_COCOA
=0
1706 DEFAULT_wxUSE_MICROWIN
=0
1707 DEFAULT_wxUSE_MOTIF
=0
1712 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1713 DEFAULT_DEFAULT_wxUSE_GTK
=0
1714 DEFAULT_DEFAULT_wxUSE_MAC
=0
1715 DEFAULT_DEFAULT_wxUSE_MGL
=0
1716 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1717 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1718 DEFAULT_DEFAULT_wxUSE_MSW
=0
1719 DEFAULT_DEFAULT_wxUSE_PM
=0
1720 DEFAULT_DEFAULT_wxUSE_X11
=0
1725 SAMPLES_RPATH_POSTLINK
=
1727 DEFAULT_STD_FLAG
=yes
1732 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1735 cat >>confdefs.h
<<\_ACEOF
1742 cat >>confdefs.h
<<\_ACEOF
1747 if test "x$TMP" = "xalpha"; then
1749 cat >>confdefs.h
<<\_ACEOF
1754 DEFAULT_DEFAULT_wxUSE_GTK
=1
1756 *-*-gnu* | *-*-k*bsd
*-gnu )
1759 if test "x$TMP" = "xalpha"; then
1761 cat >>confdefs.h
<<\_ACEOF
1766 DEFAULT_DEFAULT_wxUSE_GTK
=1
1768 *-*-irix5* | *-*-irix6* )
1771 cat >>confdefs.h
<<\_ACEOF
1775 cat >>confdefs.h
<<\_ACEOF
1779 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1785 cat >>confdefs.h
<<\_ACEOF
1789 cat >>confdefs.h
<<\_ACEOF
1790 #define __SOLARIS__ 1
1793 cat >>confdefs.h
<<\_ACEOF
1797 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1798 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1804 cat >>confdefs.h
<<\_ACEOF
1808 cat >>confdefs.h
<<\_ACEOF
1812 cat >>confdefs.h
<<\_ACEOF
1816 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1821 cat >>confdefs.h
<<\_ACEOF
1822 #define __FREEBSD__ 1
1825 cat >>confdefs.h
<<\_ACEOF
1829 DEFAULT_DEFAULT_wxUSE_GTK
=1
1834 cat >>confdefs.h
<<\_ACEOF
1835 #define __OPENBSD__ 1
1838 cat >>confdefs.h
<<\_ACEOF
1842 DEFAULT_DEFAULT_wxUSE_GTK
=1
1847 cat >>confdefs.h
<<\_ACEOF
1848 #define __NETBSD__ 1
1851 cat >>confdefs.h
<<\_ACEOF
1855 DEFAULT_DEFAULT_wxUSE_GTK
=1
1860 cat >>confdefs.h
<<\_ACEOF
1864 cat >>confdefs.h
<<\_ACEOF
1868 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1869 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1874 cat >>confdefs.h
<<\_ACEOF
1878 cat >>confdefs.h
<<\_ACEOF
1882 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1887 cat >>confdefs.h
<<\_ACEOF
1891 cat >>confdefs.h
<<\_ACEOF
1895 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1902 cat >>confdefs.h
<<\_ACEOF
1906 cat >>confdefs.h
<<\_ACEOF
1910 cat >>confdefs.h
<<\_ACEOF
1914 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1921 cat >>confdefs.h
<<\_ACEOF
1922 #define __UNIXWARE__ 1
1927 *-*-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
2569 if test "$wxUSE_GUI" = "yes"; then
2573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2574 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2576 # Check whether --enable-universal or --disable-universal was given.
2577 if test "${enable_universal+set}" = set; then
2578 enableval
="$enable_universal"
2580 if test "$enableval" = yes; then
2581 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2583 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2588 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x
; then
2590 eval "DEFAULT_$LINE"
2595 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2599 eval "$ac_cv_use_universal"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2604 if test "$wxUSE_UNIVERSAL" = yes; then
2605 echo "$as_me:$LINENO: result: yes" >&5
2606 echo "${ECHO_T}yes" >&6
2608 echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6
2613 # Check whether --with-gtk or --without-gtk was given.
2614 if test "${with_gtk+set}" = set; then
2616 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2619 # Check whether --with-motif or --without-motif was given.
2620 if test "${with_motif+set}" = set; then
2621 withval
="$with_motif"
2622 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2625 # Check whether --with-mac or --without-mac was given.
2626 if test "${with_mac+set}" = set; then
2628 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2631 # Check whether --with-cocoa or --without-cocoa was given.
2632 if test "${with_cocoa+set}" = set; then
2633 withval
="$with_cocoa"
2634 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2637 # Check whether --with-wine or --without-wine was given.
2638 if test "${with_wine+set}" = set; then
2639 withval
="$with_wine"
2640 wxUSE_WINE
="$withval" CACHE_WINE
=1
2643 # Check whether --with-msw or --without-msw was given.
2644 if test "${with_msw+set}" = set; then
2646 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2649 # Check whether --with-pm or --without-pm was given.
2650 if test "${with_pm+set}" = set; then
2652 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2655 # Check whether --with-mgl or --without-mgl was given.
2656 if test "${with_mgl+set}" = set; then
2658 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2661 # Check whether --with-microwin or --without-microwin was given.
2662 if test "${with_microwin+set}" = set; then
2663 withval
="$with_microwin"
2664 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2667 # Check whether --with-x11 or --without-x11 was given.
2668 if test "${with_x11+set}" = set; then
2670 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2675 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2677 # Check whether --enable-nanox or --disable-nanox was given.
2678 if test "${enable_nanox+set}" = set; then
2679 enableval
="$enable_nanox"
2681 if test "$enableval" = yes; then
2682 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2684 ac_cv_use_nanox
='wxUSE_NANOX=no'
2689 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x
; then
2691 eval "DEFAULT_$LINE"
2696 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2700 eval "$ac_cv_use_nanox"
2701 if test "$no_cache" != 1; then
2702 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2705 if test "$wxUSE_NANOX" = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2714 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2715 if test "${enable_gtk2+set}" = set; then
2716 enableval
="$enable_gtk2"
2717 wxUSE_GTK2
="$enableval"
2721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2722 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2724 # Check whether --enable-gpe or --disable-gpe was given.
2725 if test "${enable_gpe+set}" = set; then
2726 enableval
="$enable_gpe"
2728 if test "$enableval" = yes; then
2729 ac_cv_use_gpe
='wxUSE_GPE=yes'
2731 ac_cv_use_gpe
='wxUSE_GPE=no'
2736 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2737 if test "x$LINE" != x
; then
2738 eval "DEFAULT_$LINE"
2743 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2747 eval "$ac_cv_use_gpe"
2748 if test "$no_cache" != 1; then
2749 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2752 if test "$wxUSE_GPE" = yes; then
2753 echo "$as_me:$LINENO: result: yes" >&5
2754 echo "${ECHO_T}yes" >&6
2756 echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6
2762 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2763 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2766 # Check whether --with-libpng or --without-libpng was given.
2767 if test "${with_libpng+set}" = set; then
2768 withval
="$with_libpng"
2770 if test "$withval" = yes; then
2771 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2772 elif test "$withval" = no
; then
2773 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2774 elif test "$withval" = sys
; then
2775 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2776 elif test "$withval" = builtin; then
2777 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2780 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2781 { (exit 1); exit 1; }; }
2786 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x
; then
2788 eval "DEFAULT_$LINE"
2793 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2797 eval "$ac_cv_use_libpng"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_LIBPNG" = yes; then
2803 echo "$as_me:$LINENO: result: yes" >&5
2804 echo "${ECHO_T}yes" >&6
2805 elif test "$wxUSE_LIBPNG" = no
; then
2806 echo "$as_me:$LINENO: result: no" >&5
2807 echo "${ECHO_T}no" >&6
2808 elif test "$wxUSE_LIBPNG" = sys
; then
2809 echo "$as_me:$LINENO: result: system version" >&5
2810 echo "${ECHO_T}system version" >&6
2811 elif test "$wxUSE_LIBPNG" = builtin; then
2812 echo "$as_me:$LINENO: result: builtin version" >&5
2813 echo "${ECHO_T}builtin version" >&6
2815 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2816 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2817 { (exit 1); exit 1; }; }
2821 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2822 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2825 # Check whether --with-libjpeg or --without-libjpeg was given.
2826 if test "${with_libjpeg+set}" = set; then
2827 withval
="$with_libjpeg"
2829 if test "$withval" = yes; then
2830 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2831 elif test "$withval" = no
; then
2832 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2833 elif test "$withval" = sys
; then
2834 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2835 elif test "$withval" = builtin; then
2836 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2839 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2840 { (exit 1); exit 1; }; }
2845 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2846 if test "x$LINE" != x
; then
2847 eval "DEFAULT_$LINE"
2852 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2856 eval "$ac_cv_use_libjpeg"
2857 if test "$no_cache" != 1; then
2858 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2861 if test "$wxUSE_LIBJPEG" = yes; then
2862 echo "$as_me:$LINENO: result: yes" >&5
2863 echo "${ECHO_T}yes" >&6
2864 elif test "$wxUSE_LIBJPEG" = no
; then
2865 echo "$as_me:$LINENO: result: no" >&5
2866 echo "${ECHO_T}no" >&6
2867 elif test "$wxUSE_LIBJPEG" = sys
; then
2868 echo "$as_me:$LINENO: result: system version" >&5
2869 echo "${ECHO_T}system version" >&6
2870 elif test "$wxUSE_LIBJPEG" = builtin; then
2871 echo "$as_me:$LINENO: result: builtin version" >&5
2872 echo "${ECHO_T}builtin version" >&6
2874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2875 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2876 { (exit 1); exit 1; }; }
2880 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2881 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2884 # Check whether --with-libtiff or --without-libtiff was given.
2885 if test "${with_libtiff+set}" = set; then
2886 withval
="$with_libtiff"
2888 if test "$withval" = yes; then
2889 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2890 elif test "$withval" = no
; then
2891 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2892 elif test "$withval" = sys
; then
2893 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2894 elif test "$withval" = builtin; then
2895 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2898 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2899 { (exit 1); exit 1; }; }
2904 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2905 if test "x$LINE" != x
; then
2906 eval "DEFAULT_$LINE"
2911 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2915 eval "$ac_cv_use_libtiff"
2916 if test "$no_cache" != 1; then
2917 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2920 if test "$wxUSE_LIBTIFF" = yes; then
2921 echo "$as_me:$LINENO: result: yes" >&5
2922 echo "${ECHO_T}yes" >&6
2923 elif test "$wxUSE_LIBTIFF" = no
; then
2924 echo "$as_me:$LINENO: result: no" >&5
2925 echo "${ECHO_T}no" >&6
2926 elif test "$wxUSE_LIBTIFF" = sys
; then
2927 echo "$as_me:$LINENO: result: system version" >&5
2928 echo "${ECHO_T}system version" >&6
2929 elif test "$wxUSE_LIBTIFF" = builtin; then
2930 echo "$as_me:$LINENO: result: builtin version" >&5
2931 echo "${ECHO_T}builtin version" >&6
2933 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2934 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2935 { (exit 1); exit 1; }; }
2939 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2940 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2943 # Check whether --with-libxpm or --without-libxpm was given.
2944 if test "${with_libxpm+set}" = set; then
2945 withval
="$with_libxpm"
2947 if test "$withval" = yes; then
2948 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2949 elif test "$withval" = no
; then
2950 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2951 elif test "$withval" = sys
; then
2952 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2953 elif test "$withval" = builtin; then
2954 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2957 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2958 { (exit 1); exit 1; }; }
2963 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2964 if test "x$LINE" != x
; then
2965 eval "DEFAULT_$LINE"
2970 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2974 eval "$ac_cv_use_libxpm"
2975 if test "$no_cache" != 1; then
2976 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2979 if test "$wxUSE_LIBXPM" = yes; then
2980 echo "$as_me:$LINENO: result: yes" >&5
2981 echo "${ECHO_T}yes" >&6
2982 elif test "$wxUSE_LIBXPM" = no
; then
2983 echo "$as_me:$LINENO: result: no" >&5
2984 echo "${ECHO_T}no" >&6
2985 elif test "$wxUSE_LIBXPM" = sys
; then
2986 echo "$as_me:$LINENO: result: system version" >&5
2987 echo "${ECHO_T}system version" >&6
2988 elif test "$wxUSE_LIBXPM" = builtin; then
2989 echo "$as_me:$LINENO: result: builtin version" >&5
2990 echo "${ECHO_T}builtin version" >&6
2992 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2993 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2994 { (exit 1); exit 1; }; }
2998 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2999 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3002 # Check whether --with-libmspack or --without-libmspack was given.
3003 if test "${with_libmspack+set}" = set; then
3004 withval
="$with_libmspack"
3006 if test "$withval" = yes; then
3007 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3009 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3014 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3015 if test "x$LINE" != x
; then
3016 eval "DEFAULT_$LINE"
3021 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3025 eval "$ac_cv_use_libmspack"
3026 if test "$no_cache" != 1; then
3027 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3030 if test "$wxUSE_LIBMSPACK" = yes; then
3031 echo "$as_me:$LINENO: result: yes" >&5
3032 echo "${ECHO_T}yes" >&6
3034 echo "$as_me:$LINENO: result: no" >&5
3035 echo "${ECHO_T}no" >&6
3039 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3040 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3043 # Check whether --with-sdl or --without-sdl was given.
3044 if test "${with_sdl+set}" = set; then
3047 if test "$withval" = yes; then
3048 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3050 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3055 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x
; then
3057 eval "DEFAULT_$LINE"
3062 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3066 eval "$ac_cv_use_sdl"
3067 if test "$no_cache" != 1; then
3068 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3071 if test "$wxUSE_LIBSDL" = yes; then
3072 echo "$as_me:$LINENO: result: yes" >&5
3073 echo "${ECHO_T}yes" >&6
3075 echo "$as_me:$LINENO: result: no" >&5
3076 echo "${ECHO_T}no" >&6
3080 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3081 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3084 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3085 if test "${with_gnomeprint+set}" = set; then
3086 withval
="$with_gnomeprint"
3088 if test "$withval" = yes; then
3089 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3091 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3096 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x
; then
3098 eval "DEFAULT_$LINE"
3103 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3107 eval "$ac_cv_use_gnomeprint"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3112 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3113 echo "$as_me:$LINENO: result: yes" >&5
3114 echo "${ECHO_T}yes" >&6
3116 echo "$as_me:$LINENO: result: no" >&5
3117 echo "${ECHO_T}no" >&6
3121 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3122 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3125 # Check whether --with-opengl or --without-opengl was given.
3126 if test "${with_opengl+set}" = set; then
3127 withval
="$with_opengl"
3129 if test "$withval" = yes; then
3130 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3132 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3137 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x
; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3148 eval "$ac_cv_use_opengl"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3153 if test "$wxUSE_OPENGL" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3165 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3166 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3169 # Check whether --with-dmalloc or --without-dmalloc was given.
3170 if test "${with_dmalloc+set}" = set; then
3171 withval
="$with_dmalloc"
3173 if test "$withval" = yes; then
3174 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3176 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3181 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x
; then
3183 eval "DEFAULT_$LINE"
3188 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3192 eval "$ac_cv_use_dmalloc"
3193 if test "$no_cache" != 1; then
3194 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3197 if test "$wxUSE_DMALLOC" = yes; then
3198 echo "$as_me:$LINENO: result: yes" >&5
3199 echo "${ECHO_T}yes" >&6
3201 echo "$as_me:$LINENO: result: no" >&5
3202 echo "${ECHO_T}no" >&6
3206 echo "$as_me:$LINENO: checking for --with-regex" >&5
3207 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3210 # Check whether --with-regex or --without-regex was given.
3211 if test "${with_regex+set}" = set; then
3212 withval
="$with_regex"
3214 if test "$withval" = yes; then
3215 ac_cv_use_regex
='wxUSE_REGEX=yes'
3216 elif test "$withval" = no
; then
3217 ac_cv_use_regex
='wxUSE_REGEX=no'
3218 elif test "$withval" = sys
; then
3219 ac_cv_use_regex
='wxUSE_REGEX=sys'
3220 elif test "$withval" = builtin; then
3221 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3223 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3224 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3225 { (exit 1); exit 1; }; }
3230 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3231 if test "x$LINE" != x
; then
3232 eval "DEFAULT_$LINE"
3237 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3241 eval "$ac_cv_use_regex"
3242 if test "$no_cache" != 1; then
3243 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3246 if test "$wxUSE_REGEX" = yes; then
3247 echo "$as_me:$LINENO: result: yes" >&5
3248 echo "${ECHO_T}yes" >&6
3249 elif test "$wxUSE_REGEX" = no
; then
3250 echo "$as_me:$LINENO: result: no" >&5
3251 echo "${ECHO_T}no" >&6
3252 elif test "$wxUSE_REGEX" = sys
; then
3253 echo "$as_me:$LINENO: result: system version" >&5
3254 echo "${ECHO_T}system version" >&6
3255 elif test "$wxUSE_REGEX" = builtin; then
3256 echo "$as_me:$LINENO: result: builtin version" >&5
3257 echo "${ECHO_T}builtin version" >&6
3259 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3260 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3261 { (exit 1); exit 1; }; }
3265 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3266 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3269 # Check whether --with-zlib or --without-zlib was given.
3270 if test "${with_zlib+set}" = set; then
3271 withval
="$with_zlib"
3273 if test "$withval" = yes; then
3274 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3275 elif test "$withval" = no
; then
3276 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3277 elif test "$withval" = sys
; then
3278 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3279 elif test "$withval" = builtin; then
3280 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3282 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3283 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3284 { (exit 1); exit 1; }; }
3289 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x
; then
3291 eval "DEFAULT_$LINE"
3296 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3300 eval "$ac_cv_use_zlib"
3301 if test "$no_cache" != 1; then
3302 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3305 if test "$wxUSE_ZLIB" = yes; then
3306 echo "$as_me:$LINENO: result: yes" >&5
3307 echo "${ECHO_T}yes" >&6
3308 elif test "$wxUSE_ZLIB" = no
; then
3309 echo "$as_me:$LINENO: result: no" >&5
3310 echo "${ECHO_T}no" >&6
3311 elif test "$wxUSE_ZLIB" = sys
; then
3312 echo "$as_me:$LINENO: result: system version" >&5
3313 echo "${ECHO_T}system version" >&6
3314 elif test "$wxUSE_ZLIB" = builtin; then
3315 echo "$as_me:$LINENO: result: builtin version" >&5
3316 echo "${ECHO_T}builtin version" >&6
3318 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3319 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3320 { (exit 1); exit 1; }; }
3324 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3325 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3328 # Check whether --with-odbc or --without-odbc was given.
3329 if test "${with_odbc+set}" = set; then
3330 withval
="$with_odbc"
3332 if test "$withval" = yes; then
3333 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3334 elif test "$withval" = no
; then
3335 ac_cv_use_odbc
='wxUSE_ODBC=no'
3336 elif test "$withval" = sys
; then
3337 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3338 elif test "$withval" = builtin; then
3339 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3341 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3342 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3343 { (exit 1); exit 1; }; }
3348 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x
; then
3350 eval "DEFAULT_$LINE"
3355 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3359 eval "$ac_cv_use_odbc"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3364 if test "$wxUSE_ODBC" = yes; then
3365 echo "$as_me:$LINENO: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6
3367 elif test "$wxUSE_ODBC" = no
; then
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3370 elif test "$wxUSE_ODBC" = sys
; then
3371 echo "$as_me:$LINENO: result: system version" >&5
3372 echo "${ECHO_T}system version" >&6
3373 elif test "$wxUSE_ODBC" = builtin; then
3374 echo "$as_me:$LINENO: result: builtin version" >&5
3375 echo "${ECHO_T}builtin version" >&6
3377 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3378 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3379 { (exit 1); exit 1; }; }
3383 echo "$as_me:$LINENO: checking for --with-expat" >&5
3384 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3387 # Check whether --with-expat or --without-expat was given.
3388 if test "${with_expat+set}" = set; then
3389 withval
="$with_expat"
3391 if test "$withval" = yes; then
3392 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3393 elif test "$withval" = no
; then
3394 ac_cv_use_expat
='wxUSE_EXPAT=no'
3395 elif test "$withval" = sys
; then
3396 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3397 elif test "$withval" = builtin; then
3398 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3400 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3401 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3402 { (exit 1); exit 1; }; }
3407 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3418 eval "$ac_cv_use_expat"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3423 if test "$wxUSE_EXPAT" = yes; then
3424 echo "$as_me:$LINENO: result: yes" >&5
3425 echo "${ECHO_T}yes" >&6
3426 elif test "$wxUSE_EXPAT" = no
; then
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3429 elif test "$wxUSE_EXPAT" = sys
; then
3430 echo "$as_me:$LINENO: result: system version" >&5
3431 echo "${ECHO_T}system version" >&6
3432 elif test "$wxUSE_EXPAT" = builtin; then
3433 echo "$as_me:$LINENO: result: builtin version" >&5
3434 echo "${ECHO_T}builtin version" >&6
3436 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3437 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3438 { (exit 1); exit 1; }; }
3445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3446 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3448 # Check whether --enable-shared or --disable-shared was given.
3449 if test "${enable_shared+set}" = set; then
3450 enableval
="$enable_shared"
3452 if test "$enableval" = yes; then
3453 ac_cv_use_shared
='wxUSE_SHARED=yes'
3455 ac_cv_use_shared
='wxUSE_SHARED=no'
3460 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x
; then
3462 eval "DEFAULT_$LINE"
3467 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3471 eval "$ac_cv_use_shared"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3476 if test "$wxUSE_SHARED" = yes; then
3477 echo "$as_me:$LINENO: result: yes" >&5
3478 echo "${ECHO_T}yes" >&6
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3487 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3489 # Check whether --enable-optimise or --disable-optimise was given.
3490 if test "${enable_optimise+set}" = set; then
3491 enableval
="$enable_optimise"
3493 if test "$enableval" = yes; then
3494 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3496 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3501 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3502 if test "x$LINE" != x
; then
3503 eval "DEFAULT_$LINE"
3508 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3512 eval "$ac_cv_use_optimise"
3513 if test "$no_cache" != 1; then
3514 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3517 if test "$wxUSE_OPTIMISE" = yes; then
3518 echo "$as_me:$LINENO: result: yes" >&5
3519 echo "${ECHO_T}yes" >&6
3521 echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3528 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3530 # Check whether --enable-debug or --disable-debug was given.
3531 if test "${enable_debug+set}" = set; then
3532 enableval
="$enable_debug"
3534 if test "$enableval" = yes; then
3535 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3537 ac_cv_use_debug
='wxUSE_DEBUG=no'
3542 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x
; then
3544 eval "DEFAULT_$LINE"
3549 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3553 eval "$ac_cv_use_debug"
3554 if test "$no_cache" != 1; then
3555 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3558 if test "$wxUSE_DEBUG" = yes; then
3559 echo "$as_me:$LINENO: result: yes" >&5
3560 echo "${ECHO_T}yes" >&6
3562 echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6
3568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3569 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3571 # Check whether --enable-stl or --disable-stl was given.
3572 if test "${enable_stl+set}" = set; then
3573 enableval
="$enable_stl"
3575 if test "$enableval" = yes; then
3576 ac_cv_use_stl
='wxUSE_STL=yes'
3578 ac_cv_use_stl
='wxUSE_STL=no'
3583 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3584 if test "x$LINE" != x
; then
3585 eval "DEFAULT_$LINE"
3590 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3594 eval "$ac_cv_use_stl"
3595 if test "$no_cache" != 1; then
3596 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3599 if test "$wxUSE_STL" = yes; then
3600 echo "$as_me:$LINENO: result: yes" >&5
3601 echo "${ECHO_T}yes" >&6
3603 echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6
3607 if test "$USE_OS2" = "1"; then
3608 DEFAULT_wxUSE_OMF
=no
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3614 # Check whether --enable-omf or --disable-omf was given.
3615 if test "${enable_omf+set}" = set; then
3616 enableval
="$enable_omf"
3618 if test "$enableval" = yes; then
3619 ac_cv_use_omf
='wxUSE_OMF=yes'
3621 ac_cv_use_omf
='wxUSE_OMF=no'
3626 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x
; then
3628 eval "DEFAULT_$LINE"
3633 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3637 eval "$ac_cv_use_omf"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_OMF" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3652 if test "$wxUSE_DEBUG" = "yes"; then
3653 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3654 DEFAULT_wxUSE_DEBUG_INFO
=yes
3656 elif test "$wxUSE_DEBUG" = "no"; then
3657 DEFAULT_wxUSE_DEBUG_FLAG
=no
3658 DEFAULT_wxUSE_DEBUG_INFO
=no
3664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3665 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3667 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3668 if test "${enable_debug_flag+set}" = set; then
3669 enableval
="$enable_debug_flag"
3671 if test "$enableval" = yes; then
3672 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3674 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3679 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x
; then
3681 eval "DEFAULT_$LINE"
3686 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3690 eval "$ac_cv_use_debug_flag"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3695 if test "$wxUSE_DEBUG_FLAG" = yes; then
3696 echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6
3699 echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6
3705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3706 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3708 # Check whether --enable-debug_info or --disable-debug_info was given.
3709 if test "${enable_debug_info+set}" = set; then
3710 enableval
="$enable_debug_info"
3712 if test "$enableval" = yes; then
3713 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3715 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3720 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x
; then
3722 eval "DEFAULT_$LINE"
3727 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3731 eval "$ac_cv_use_debug_info"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_DEBUG_INFO" = yes; then
3737 echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6
3740 echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6
3746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3747 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3749 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3750 if test "${enable_debug_gdb+set}" = set; then
3751 enableval
="$enable_debug_gdb"
3753 if test "$enableval" = yes; then
3754 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3756 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3761 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x
; then
3763 eval "DEFAULT_$LINE"
3768 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3772 eval "$ac_cv_use_debug_gdb"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3777 if test "$wxUSE_DEBUG_GDB" = yes; then
3778 echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6
3781 echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6
3787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3788 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3790 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3791 if test "${enable_debug_cntxt+set}" = set; then
3792 enableval
="$enable_debug_cntxt"
3794 if test "$enableval" = yes; then
3795 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3797 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3802 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x
; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3813 eval "$ac_cv_use_debug_cntxt"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3818 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3819 echo "$as_me:$LINENO: result: yes" >&5
3820 echo "${ECHO_T}yes" >&6
3822 echo "$as_me:$LINENO: result: no" >&5
3823 echo "${ECHO_T}no" >&6
3828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3829 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3831 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3832 if test "${enable_mem_tracing+set}" = set; then
3833 enableval
="$enable_mem_tracing"
3835 if test "$enableval" = yes; then
3836 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3838 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3843 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x
; then
3845 eval "DEFAULT_$LINE"
3850 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3854 eval "$ac_cv_use_mem_tracing"
3855 if test "$no_cache" != 1; then
3856 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3859 if test "$wxUSE_MEM_TRACING" = yes; then
3860 echo "$as_me:$LINENO: result: yes" >&5
3861 echo "${ECHO_T}yes" >&6
3863 echo "$as_me:$LINENO: result: no" >&5
3864 echo "${ECHO_T}no" >&6
3869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3870 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3872 # Check whether --enable-profile or --disable-profile was given.
3873 if test "${enable_profile+set}" = set; then
3874 enableval
="$enable_profile"
3876 if test "$enableval" = yes; then
3877 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3879 ac_cv_use_profile
='wxUSE_PROFILE=no'
3884 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3885 if test "x$LINE" != x
; then
3886 eval "DEFAULT_$LINE"
3891 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3895 eval "$ac_cv_use_profile"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3900 if test "$wxUSE_PROFILE" = yes; then
3901 echo "$as_me:$LINENO: result: yes" >&5
3902 echo "${ECHO_T}yes" >&6
3904 echo "$as_me:$LINENO: result: no" >&5
3905 echo "${ECHO_T}no" >&6
3910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3911 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3913 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3914 if test "${enable_no_rtti+set}" = set; then
3915 enableval
="$enable_no_rtti"
3917 if test "$enableval" = yes; then
3918 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3920 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3925 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3926 if test "x$LINE" != x
; then
3927 eval "DEFAULT_$LINE"
3932 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3936 eval "$ac_cv_use_no_rtti"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3941 if test "$wxUSE_NO_RTTI" = yes; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3952 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3954 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3955 if test "${enable_no_exceptions+set}" = set; then
3956 enableval
="$enable_no_exceptions"
3958 if test "$enableval" = yes; then
3959 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3961 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3966 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x
; then
3968 eval "DEFAULT_$LINE"
3973 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3977 eval "$ac_cv_use_no_exceptions"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3982 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3983 echo "$as_me:$LINENO: result: yes" >&5
3984 echo "${ECHO_T}yes" >&6
3986 echo "$as_me:$LINENO: result: no" >&5
3987 echo "${ECHO_T}no" >&6
3992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3993 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3995 # Check whether --enable-permissive or --disable-permissive was given.
3996 if test "${enable_permissive+set}" = set; then
3997 enableval
="$enable_permissive"
3999 if test "$enableval" = yes; then
4000 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4002 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4007 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x
; then
4009 eval "DEFAULT_$LINE"
4014 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4018 eval "$ac_cv_use_permissive"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4023 if test "$wxUSE_PERMISSIVE" = yes; then
4024 echo "$as_me:$LINENO: result: yes" >&5
4025 echo "${ECHO_T}yes" >&6
4027 echo "$as_me:$LINENO: result: no" >&5
4028 echo "${ECHO_T}no" >&6
4033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4034 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4036 # Check whether --enable-no_deps or --disable-no_deps was given.
4037 if test "${enable_no_deps+set}" = set; then
4038 enableval
="$enable_no_deps"
4040 if test "$enableval" = yes; then
4041 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4043 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4048 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x
; then
4050 eval "DEFAULT_$LINE"
4055 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4059 eval "$ac_cv_use_no_deps"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_NO_DEPS" = yes; then
4065 echo "$as_me:$LINENO: result: yes" >&5
4066 echo "${ECHO_T}yes" >&6
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4076 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4078 # Check whether --enable-compat22 or --disable-compat22 was given.
4079 if test "${enable_compat22+set}" = set; then
4080 enableval
="$enable_compat22"
4082 if test "$enableval" = yes; then
4083 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4085 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4090 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x
; then
4092 eval "DEFAULT_$LINE"
4097 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4101 eval "$ac_cv_use_compat22"
4102 if test "$no_cache" != 1; then
4103 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4106 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4107 echo "$as_me:$LINENO: result: yes" >&5
4108 echo "${ECHO_T}yes" >&6
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4115 enablestring
=disable
4116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4117 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4119 # Check whether --enable-compat24 or --disable-compat24 was given.
4120 if test "${enable_compat24+set}" = set; then
4121 enableval
="$enable_compat24"
4123 if test "$enableval" = yes; then
4124 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4126 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4131 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x
; then
4133 eval "DEFAULT_$LINE"
4138 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4142 eval "$ac_cv_use_compat24"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4147 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4148 echo "$as_me:$LINENO: result: yes" >&5
4149 echo "${ECHO_T}yes" >&6
4151 echo "$as_me:$LINENO: result: no" >&5
4152 echo "${ECHO_T}no" >&6
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4161 # Check whether --enable-rpath or --disable-rpath was given.
4162 if test "${enable_rpath+set}" = set; then
4163 enableval
="$enable_rpath"
4165 if test "$enableval" = yes; then
4166 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4168 ac_cv_use_rpath
='wxUSE_RPATH=no'
4173 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x
; then
4175 eval "DEFAULT_$LINE"
4180 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4184 eval "$ac_cv_use_rpath"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_RPATH" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4203 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4205 # Check whether --enable-intl or --disable-intl was given.
4206 if test "${enable_intl+set}" = set; then
4207 enableval
="$enable_intl"
4209 if test "$enableval" = yes; then
4210 ac_cv_use_intl
='wxUSE_INTL=yes'
4212 ac_cv_use_intl
='wxUSE_INTL=no'
4217 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x
; then
4219 eval "DEFAULT_$LINE"
4224 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4228 eval "$ac_cv_use_intl"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4233 if test "$wxUSE_INTL" = yes; then
4234 echo "$as_me:$LINENO: result: yes" >&5
4235 echo "${ECHO_T}yes" >&6
4237 echo "$as_me:$LINENO: result: no" >&5
4238 echo "${ECHO_T}no" >&6
4243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4244 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4246 # Check whether --enable-config or --disable-config was given.
4247 if test "${enable_config+set}" = set; then
4248 enableval
="$enable_config"
4250 if test "$enableval" = yes; then
4251 ac_cv_use_config
='wxUSE_CONFIG=yes'
4253 ac_cv_use_config
='wxUSE_CONFIG=no'
4258 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x
; then
4260 eval "DEFAULT_$LINE"
4265 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4269 eval "$ac_cv_use_config"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_CONFIG" = yes; then
4275 echo "$as_me:$LINENO: result: yes" >&5
4276 echo "${ECHO_T}yes" >&6
4278 echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6
4285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4286 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4288 # Check whether --enable-protocols or --disable-protocols was given.
4289 if test "${enable_protocols+set}" = set; then
4290 enableval
="$enable_protocols"
4292 if test "$enableval" = yes; then
4293 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4295 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4300 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x
; then
4302 eval "DEFAULT_$LINE"
4307 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4311 eval "$ac_cv_use_protocols"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4316 if test "$wxUSE_PROTOCOL" = yes; then
4317 echo "$as_me:$LINENO: result: yes" >&5
4318 echo "${ECHO_T}yes" >&6
4320 echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4329 # Check whether --enable-ftp or --disable-ftp was given.
4330 if test "${enable_ftp+set}" = set; then
4331 enableval
="$enable_ftp"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4336 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4341 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4352 eval "$ac_cv_use_ftp"
4353 if test "$no_cache" != 1; then
4354 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4357 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4358 echo "$as_me:$LINENO: result: yes" >&5
4359 echo "${ECHO_T}yes" >&6
4361 echo "$as_me:$LINENO: result: no" >&5
4362 echo "${ECHO_T}no" >&6
4367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4368 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4370 # Check whether --enable-http or --disable-http was given.
4371 if test "${enable_http+set}" = set; then
4372 enableval
="$enable_http"
4374 if test "$enableval" = yes; then
4375 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4377 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4382 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4383 if test "x$LINE" != x
; then
4384 eval "DEFAULT_$LINE"
4389 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4393 eval "$ac_cv_use_http"
4394 if test "$no_cache" != 1; then
4395 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4398 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4399 echo "$as_me:$LINENO: result: yes" >&5
4400 echo "${ECHO_T}yes" >&6
4402 echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6
4408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4411 # Check whether --enable-fileproto or --disable-fileproto was given.
4412 if test "${enable_fileproto+set}" = set; then
4413 enableval
="$enable_fileproto"
4415 if test "$enableval" = yes; then
4416 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4418 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4423 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4424 if test "x$LINE" != x
; then
4425 eval "DEFAULT_$LINE"
4430 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4434 eval "$ac_cv_use_fileproto"
4435 if test "$no_cache" != 1; then
4436 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4439 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4440 echo "$as_me:$LINENO: result: yes" >&5
4441 echo "${ECHO_T}yes" >&6
4443 echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6
4449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4450 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4452 # Check whether --enable-sockets or --disable-sockets was given.
4453 if test "${enable_sockets+set}" = set; then
4454 enableval
="$enable_sockets"
4456 if test "$enableval" = yes; then
4457 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4459 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4464 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4465 if test "x$LINE" != x
; then
4466 eval "DEFAULT_$LINE"
4471 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4475 eval "$ac_cv_use_sockets"
4476 if test "$no_cache" != 1; then
4477 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4480 if test "$wxUSE_SOCKETS" = yes; then
4481 echo "$as_me:$LINENO: result: yes" >&5
4482 echo "${ECHO_T}yes" >&6
4484 echo "$as_me:$LINENO: result: no" >&5
4485 echo "${ECHO_T}no" >&6
4490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4493 # Check whether --enable-ole or --disable-ole was given.
4494 if test "${enable_ole+set}" = set; then
4495 enableval
="$enable_ole"
4497 if test "$enableval" = yes; then
4498 ac_cv_use_ole
='wxUSE_OLE=yes'
4500 ac_cv_use_ole
='wxUSE_OLE=no'
4505 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x
; then
4507 eval "DEFAULT_$LINE"
4512 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4516 eval "$ac_cv_use_ole"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_OLE" = yes; then
4522 echo "$as_me:$LINENO: result: yes" >&5
4523 echo "${ECHO_T}yes" >&6
4525 echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6
4531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4532 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4534 # Check whether --enable-dataobj or --disable-dataobj was given.
4535 if test "${enable_dataobj+set}" = set; then
4536 enableval
="$enable_dataobj"
4538 if test "$enableval" = yes; then
4539 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4541 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4546 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x
; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4557 eval "$ac_cv_use_dataobj"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4562 if test "$wxUSE_DATAOBJ" = yes; then
4563 echo "$as_me:$LINENO: result: yes" >&5
4564 echo "${ECHO_T}yes" >&6
4566 echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6
4573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4574 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4576 # Check whether --enable-ipc or --disable-ipc was given.
4577 if test "${enable_ipc+set}" = set; then
4578 enableval
="$enable_ipc"
4580 if test "$enableval" = yes; then
4581 ac_cv_use_ipc
='wxUSE_IPC=yes'
4583 ac_cv_use_ipc
='wxUSE_IPC=no'
4588 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x
; then
4590 eval "DEFAULT_$LINE"
4595 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4599 eval "$ac_cv_use_ipc"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4604 if test "$wxUSE_IPC" = yes; then
4605 echo "$as_me:$LINENO: result: yes" >&5
4606 echo "${ECHO_T}yes" >&6
4608 echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6
4615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4618 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4619 if test "${enable_apple_ieee+set}" = set; then
4620 enableval
="$enable_apple_ieee"
4622 if test "$enableval" = yes; then
4623 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4625 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4630 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x
; then
4632 eval "DEFAULT_$LINE"
4637 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4641 eval "$ac_cv_use_apple_ieee"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4646 if test "$wxUSE_APPLE_IEEE" = yes; then
4647 echo "$as_me:$LINENO: result: yes" >&5
4648 echo "${ECHO_T}yes" >&6
4650 echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6
4656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4657 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4659 # Check whether --enable-arcstream or --disable-arcstream was given.
4660 if test "${enable_arcstream+set}" = set; then
4661 enableval
="$enable_arcstream"
4663 if test "$enableval" = yes; then
4664 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4666 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4671 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x
; then
4673 eval "DEFAULT_$LINE"
4678 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4682 eval "$ac_cv_use_arcstream"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4687 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4688 echo "$as_me:$LINENO: result: yes" >&5
4689 echo "${ECHO_T}yes" >&6
4691 echo "$as_me:$LINENO: result: no" >&5
4692 echo "${ECHO_T}no" >&6
4697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4700 # Check whether --enable-backtrace or --disable-backtrace was given.
4701 if test "${enable_backtrace+set}" = set; then
4702 enableval
="$enable_backtrace"
4704 if test "$enableval" = yes; then
4705 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4707 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4712 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x
; then
4714 eval "DEFAULT_$LINE"
4719 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4723 eval "$ac_cv_use_backtrace"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4728 if test "$wxUSE_STACKWALKER" = yes; then
4729 echo "$as_me:$LINENO: result: yes" >&5
4730 echo "${ECHO_T}yes" >&6
4732 echo "$as_me:$LINENO: result: no" >&5
4733 echo "${ECHO_T}no" >&6
4738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4739 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4741 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4742 if test "${enable_catch_segvs+set}" = set; then
4743 enableval
="$enable_catch_segvs"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4748 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4753 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4764 eval "$ac_cv_use_catch_segvs"
4765 if test "$no_cache" != 1; then
4766 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4769 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4770 echo "$as_me:$LINENO: result: yes" >&5
4771 echo "${ECHO_T}yes" >&6
4773 echo "$as_me:$LINENO: result: no" >&5
4774 echo "${ECHO_T}no" >&6
4779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4780 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4782 # Check whether --enable-cmdline or --disable-cmdline was given.
4783 if test "${enable_cmdline+set}" = set; then
4784 enableval
="$enable_cmdline"
4786 if test "$enableval" = yes; then
4787 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4789 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4794 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x
; then
4796 eval "DEFAULT_$LINE"
4801 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4805 eval "$ac_cv_use_cmdline"
4806 if test "$no_cache" != 1; then
4807 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4810 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4811 echo "$as_me:$LINENO: result: yes" >&5
4812 echo "${ECHO_T}yes" >&6
4814 echo "$as_me:$LINENO: result: no" >&5
4815 echo "${ECHO_T}no" >&6
4820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4821 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4823 # Check whether --enable-datetime or --disable-datetime was given.
4824 if test "${enable_datetime+set}" = set; then
4825 enableval
="$enable_datetime"
4827 if test "$enableval" = yes; then
4828 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4830 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4835 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x
; then
4837 eval "DEFAULT_$LINE"
4842 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4846 eval "$ac_cv_use_datetime"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4851 if test "$wxUSE_DATETIME" = yes; then
4852 echo "$as_me:$LINENO: result: yes" >&5
4853 echo "${ECHO_T}yes" >&6
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4862 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4864 # Check whether --enable-debugreport or --disable-debugreport was given.
4865 if test "${enable_debugreport+set}" = set; then
4866 enableval
="$enable_debugreport"
4868 if test "$enableval" = yes; then
4869 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4871 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4876 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x
; then
4878 eval "DEFAULT_$LINE"
4883 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4887 eval "$ac_cv_use_debugreport"
4888 if test "$no_cache" != 1; then
4889 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4892 if test "$wxUSE_DEBUGREPORT" = yes; then
4893 echo "$as_me:$LINENO: result: yes" >&5
4894 echo "${ECHO_T}yes" >&6
4896 echo "$as_me:$LINENO: result: no" >&5
4897 echo "${ECHO_T}no" >&6
4902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4903 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4905 # Check whether --enable-dialupman or --disable-dialupman was given.
4906 if test "${enable_dialupman+set}" = set; then
4907 enableval
="$enable_dialupman"
4909 if test "$enableval" = yes; then
4910 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4912 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4917 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x
; then
4919 eval "DEFAULT_$LINE"
4924 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4928 eval "$ac_cv_use_dialupman"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4933 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4934 echo "$as_me:$LINENO: result: yes" >&5
4935 echo "${ECHO_T}yes" >&6
4937 echo "$as_me:$LINENO: result: no" >&5
4938 echo "${ECHO_T}no" >&6
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4946 # Check whether --enable-dynlib or --disable-dynlib was given.
4947 if test "${enable_dynlib+set}" = set; then
4948 enableval
="$enable_dynlib"
4950 if test "$enableval" = yes; then
4951 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4953 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4958 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x
; then
4960 eval "DEFAULT_$LINE"
4965 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4969 eval "$ac_cv_use_dynlib"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4987 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4988 if test "${enable_dynamicloader+set}" = set; then
4989 enableval
="$enable_dynamicloader"
4991 if test "$enableval" = yes; then
4992 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4994 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4999 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x
; then
5001 eval "DEFAULT_$LINE"
5006 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5010 eval "$ac_cv_use_dynamicloader"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5028 # Check whether --enable-exceptions or --disable-exceptions was given.
5029 if test "${enable_exceptions+set}" = set; then
5030 enableval
="$enable_exceptions"
5032 if test "$enableval" = yes; then
5033 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5035 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5040 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x
; then
5042 eval "DEFAULT_$LINE"
5047 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5051 eval "$ac_cv_use_exceptions"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5056 if test "$wxUSE_EXCEPTIONS" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5069 # Check whether --enable-ffile or --disable-ffile was given.
5070 if test "${enable_ffile+set}" = set; then
5071 enableval
="$enable_ffile"
5073 if test "$enableval" = yes; then
5074 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5076 ac_cv_use_ffile
='wxUSE_FFILE=no'
5081 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x
; then
5083 eval "DEFAULT_$LINE"
5088 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5092 eval "$ac_cv_use_ffile"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5097 if test "$wxUSE_FFILE" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5110 # Check whether --enable-file or --disable-file was given.
5111 if test "${enable_file+set}" = set; then
5112 enableval
="$enable_file"
5114 if test "$enableval" = yes; then
5115 ac_cv_use_file
='wxUSE_FILE=yes'
5117 ac_cv_use_file
='wxUSE_FILE=no'
5122 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x
; then
5124 eval "DEFAULT_$LINE"
5129 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5133 eval "$ac_cv_use_file"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_FILE" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5151 # Check whether --enable-filesystem or --disable-filesystem was given.
5152 if test "${enable_filesystem+set}" = set; then
5153 enableval
="$enable_filesystem"
5155 if test "$enableval" = yes; then
5156 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5158 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5163 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x
; then
5165 eval "DEFAULT_$LINE"
5170 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5174 eval "$ac_cv_use_filesystem"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5179 if test "$wxUSE_FILESYSTEM" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5192 # Check whether --enable-fontmap or --disable-fontmap was given.
5193 if test "${enable_fontmap+set}" = set; then
5194 enableval
="$enable_fontmap"
5196 if test "$enableval" = yes; then
5197 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5199 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5204 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x
; then
5206 eval "DEFAULT_$LINE"
5211 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5215 eval "$ac_cv_use_fontmap"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5220 if test "$wxUSE_FONTMAP" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5233 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5234 if test "${enable_fs_inet+set}" = set; then
5235 enableval
="$enable_fs_inet"
5237 if test "$enableval" = yes; then
5238 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5240 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5245 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5252 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5256 eval "$ac_cv_use_fs_inet"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5261 if test "$wxUSE_FS_INET" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5274 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5275 if test "${enable_fs_zip+set}" = set; then
5276 enableval
="$enable_fs_zip"
5278 if test "$enableval" = yes; then
5279 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5281 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5286 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x
; then
5288 eval "DEFAULT_$LINE"
5293 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5297 eval "$ac_cv_use_fs_zip"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5302 if test "$wxUSE_FS_ZIP" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5315 # Check whether --enable-geometry or --disable-geometry was given.
5316 if test "${enable_geometry+set}" = set; then
5317 enableval
="$enable_geometry"
5319 if test "$enableval" = yes; then
5320 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5322 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5327 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x
; then
5329 eval "DEFAULT_$LINE"
5334 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5338 eval "$ac_cv_use_geometry"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_GEOMETRY" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5356 # Check whether --enable-log or --disable-log was given.
5357 if test "${enable_log+set}" = set; then
5358 enableval
="$enable_log"
5360 if test "$enableval" = yes; then
5361 ac_cv_use_log
='wxUSE_LOG=yes'
5363 ac_cv_use_log
='wxUSE_LOG=no'
5368 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x
; then
5370 eval "DEFAULT_$LINE"
5375 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5379 eval "$ac_cv_use_log"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5384 if test "$wxUSE_LOG" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5397 # Check whether --enable-longlong or --disable-longlong was given.
5398 if test "${enable_longlong+set}" = set; then
5399 enableval
="$enable_longlong"
5401 if test "$enableval" = yes; then
5402 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5404 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5409 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x
; then
5411 eval "DEFAULT_$LINE"
5416 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5420 eval "$ac_cv_use_longlong"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5425 if test "$wxUSE_LONGLONG" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5438 # Check whether --enable-mimetype or --disable-mimetype was given.
5439 if test "${enable_mimetype+set}" = set; then
5440 enableval
="$enable_mimetype"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5445 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5450 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5461 eval "$ac_cv_use_mimetype"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5466 if test "$wxUSE_MIMETYPE" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5479 # Check whether --enable-mslu or --disable-mslu was given.
5480 if test "${enable_mslu+set}" = set; then
5481 enableval
="$enable_mslu"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5486 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5491 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5502 eval "$ac_cv_use_mslu"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5507 if test "$wxUSE_UNICODE_MSLU" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5520 # Check whether --enable-snglinst or --disable-snglinst was given.
5521 if test "${enable_snglinst+set}" = set; then
5522 enableval
="$enable_snglinst"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5527 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5532 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5543 eval "$ac_cv_use_snglinst"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5561 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5562 if test "${enable_std_iostreams+set}" = set; then
5563 enableval
="$enable_std_iostreams"
5565 if test "$enableval" = yes; then
5566 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5568 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5573 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x
; then
5575 eval "DEFAULT_$LINE"
5580 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5584 eval "$ac_cv_use_std_iostreams"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_STD_IOSTREAM" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5602 # Check whether --enable-std_string or --disable-std_string was given.
5603 if test "${enable_std_string+set}" = set; then
5604 enableval
="$enable_std_string"
5606 if test "$enableval" = yes; then
5607 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5609 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5614 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x
; then
5616 eval "DEFAULT_$LINE"
5621 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5625 eval "$ac_cv_use_std_string"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5630 if test "$wxUSE_STD_STRING" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5643 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5644 if test "${enable_stdpaths+set}" = set; then
5645 enableval
="$enable_stdpaths"
5647 if test "$enableval" = yes; then
5648 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5650 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5655 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x
; then
5657 eval "DEFAULT_$LINE"
5662 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5666 eval "$ac_cv_use_stdpaths"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5671 if test "$wxUSE_STDPATHS" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5684 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5685 if test "${enable_stopwatch+set}" = set; then
5686 enableval
="$enable_stopwatch"
5688 if test "$enableval" = yes; then
5689 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5691 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5696 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x
; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5707 eval "$ac_cv_use_stopwatch"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_STOPWATCH" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5725 # Check whether --enable-streams or --disable-streams was given.
5726 if test "${enable_streams+set}" = set; then
5727 enableval
="$enable_streams"
5729 if test "$enableval" = yes; then
5730 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5732 ac_cv_use_streams
='wxUSE_STREAMS=no'
5737 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x
; then
5739 eval "DEFAULT_$LINE"
5744 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5748 eval "$ac_cv_use_streams"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_STREAMS" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5766 # Check whether --enable-system_options or --disable-system_options was given.
5767 if test "${enable_system_options+set}" = set; then
5768 enableval
="$enable_system_options"
5770 if test "$enableval" = yes; then
5771 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5773 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5778 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x
; then
5780 eval "DEFAULT_$LINE"
5785 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5789 eval "$ac_cv_use_system_options"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5794 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5807 # Check whether --enable-textbuf or --disable-textbuf was given.
5808 if test "${enable_textbuf+set}" = set; then
5809 enableval
="$enable_textbuf"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5814 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5819 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5830 eval "$ac_cv_use_textbuf"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5835 if test "$wxUSE_TEXTBUFFER" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5848 # Check whether --enable-textfile or --disable-textfile was given.
5849 if test "${enable_textfile+set}" = set; then
5850 enableval
="$enable_textfile"
5852 if test "$enableval" = yes; then
5853 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5855 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5860 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x
; then
5862 eval "DEFAULT_$LINE"
5867 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5871 eval "$ac_cv_use_textfile"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5876 if test "$wxUSE_TEXTFILE" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5889 # Check whether --enable-timer or --disable-timer was given.
5890 if test "${enable_timer+set}" = set; then
5891 enableval
="$enable_timer"
5893 if test "$enableval" = yes; then
5894 ac_cv_use_timer
='wxUSE_TIMER=yes'
5896 ac_cv_use_timer
='wxUSE_TIMER=no'
5901 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x
; then
5903 eval "DEFAULT_$LINE"
5908 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5912 eval "$ac_cv_use_timer"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5917 if test "$wxUSE_TIMER" = yes; then
5918 echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5930 # Check whether --enable-unicode or --disable-unicode was given.
5931 if test "${enable_unicode+set}" = set; then
5932 enableval
="$enable_unicode"
5934 if test "$enableval" = yes; then
5935 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5937 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5942 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x
; then
5944 eval "DEFAULT_$LINE"
5949 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5953 eval "$ac_cv_use_unicode"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5958 if test "$wxUSE_UNICODE" = yes; then
5959 echo "$as_me:$LINENO: result: yes" >&5
5960 echo "${ECHO_T}yes" >&6
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5971 # Check whether --enable-sound or --disable-sound was given.
5972 if test "${enable_sound+set}" = set; then
5973 enableval
="$enable_sound"
5975 if test "$enableval" = yes; then
5976 ac_cv_use_sound
='wxUSE_SOUND=yes'
5978 ac_cv_use_sound
='wxUSE_SOUND=no'
5983 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x
; then
5985 eval "DEFAULT_$LINE"
5990 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5994 eval "$ac_cv_use_sound"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_SOUND" = yes; then
6000 echo "$as_me:$LINENO: result: yes" >&5
6001 echo "${ECHO_T}yes" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6012 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6013 if test "${enable_mediactrl+set}" = set; then
6014 enableval
="$enable_mediactrl"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6019 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6024 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6035 eval "$ac_cv_use_mediactrl"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6040 if test "$wxUSE_MEDIACTRL" = yes; then
6041 echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6053 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6054 if test "${enable_wxprintfv+set}" = set; then
6055 enableval
="$enable_wxprintfv"
6057 if test "$enableval" = yes; then
6058 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6060 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6065 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x
; then
6067 eval "DEFAULT_$LINE"
6072 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6076 eval "$ac_cv_use_wxprintfv"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6081 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6094 # Check whether --enable-zipstream or --disable-zipstream was given.
6095 if test "${enable_zipstream+set}" = set; then
6096 enableval
="$enable_zipstream"
6098 if test "$enableval" = yes; then
6099 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6101 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6106 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x
; then
6108 eval "DEFAULT_$LINE"
6113 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6117 eval "$ac_cv_use_zipstream"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6122 if test "$wxUSE_ZIPSTREAM" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6134 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6136 # Check whether --enable-url or --disable-url was given.
6137 if test "${enable_url+set}" = set; then
6138 enableval
="$enable_url"
6140 if test "$enableval" = yes; then
6141 ac_cv_use_url
='wxUSE_URL=yes'
6143 ac_cv_use_url
='wxUSE_URL=no'
6148 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x
; then
6150 eval "DEFAULT_$LINE"
6155 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6159 eval "$ac_cv_use_url"
6160 if test "$no_cache" != 1; then
6161 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6164 if test "$wxUSE_URL" = yes; then
6165 echo "$as_me:$LINENO: result: yes" >&5
6166 echo "${ECHO_T}yes" >&6
6168 echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6
6174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6175 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6177 # Check whether --enable-protocol or --disable-protocol was given.
6178 if test "${enable_protocol+set}" = set; then
6179 enableval
="$enable_protocol"
6181 if test "$enableval" = yes; then
6182 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6184 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6189 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x
; then
6191 eval "DEFAULT_$LINE"
6196 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6200 eval "$ac_cv_use_protocol"
6201 if test "$no_cache" != 1; then
6202 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6205 if test "$wxUSE_PROTOCOL" = yes; then
6206 echo "$as_me:$LINENO: result: yes" >&5
6207 echo "${ECHO_T}yes" >&6
6209 echo "$as_me:$LINENO: result: no" >&5
6210 echo "${ECHO_T}no" >&6
6215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6216 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6218 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6219 if test "${enable_protocol_http+set}" = set; then
6220 enableval
="$enable_protocol_http"
6222 if test "$enableval" = yes; then
6223 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6225 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6230 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6231 if test "x$LINE" != x
; then
6232 eval "DEFAULT_$LINE"
6237 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6241 eval "$ac_cv_use_protocol_http"
6242 if test "$no_cache" != 1; then
6243 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6246 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6247 echo "$as_me:$LINENO: result: yes" >&5
6248 echo "${ECHO_T}yes" >&6
6250 echo "$as_me:$LINENO: result: no" >&5
6251 echo "${ECHO_T}no" >&6
6256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6259 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6260 if test "${enable_protocol_ftp+set}" = set; then
6261 enableval
="$enable_protocol_ftp"
6263 if test "$enableval" = yes; then
6264 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6266 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6271 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6272 if test "x$LINE" != x
; then
6273 eval "DEFAULT_$LINE"
6278 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6282 eval "$ac_cv_use_protocol_ftp"
6283 if test "$no_cache" != 1; then
6284 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6287 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6288 echo "$as_me:$LINENO: result: yes" >&5
6289 echo "${ECHO_T}yes" >&6
6291 echo "$as_me:$LINENO: result: no" >&5
6292 echo "${ECHO_T}no" >&6
6297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6298 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6300 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6301 if test "${enable_protocol_file+set}" = set; then
6302 enableval
="$enable_protocol_file"
6304 if test "$enableval" = yes; then
6305 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6307 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6312 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x
; then
6314 eval "DEFAULT_$LINE"
6319 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6323 eval "$ac_cv_use_protocol_file"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6328 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6329 echo "$as_me:$LINENO: result: yes" >&5
6330 echo "${ECHO_T}yes" >&6
6332 echo "$as_me:$LINENO: result: no" >&5
6333 echo "${ECHO_T}no" >&6
6341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6342 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6344 # Check whether --enable-threads or --disable-threads was given.
6345 if test "${enable_threads+set}" = set; then
6346 enableval
="$enable_threads"
6348 if test "$enableval" = yes; then
6349 ac_cv_use_threads
='wxUSE_THREADS=yes'
6351 ac_cv_use_threads
='wxUSE_THREADS=no'
6356 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x
; then
6358 eval "DEFAULT_$LINE"
6363 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6367 eval "$ac_cv_use_threads"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6372 if test "$wxUSE_THREADS" = yes; then
6373 echo "$as_me:$LINENO: result: yes" >&5
6374 echo "${ECHO_T}yes" >&6
6376 echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6
6381 if test "$wxUSE_GUI" = "yes"; then
6386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6389 # Check whether --enable-docview or --disable-docview was given.
6390 if test "${enable_docview+set}" = set; then
6391 enableval
="$enable_docview"
6393 if test "$enableval" = yes; then
6394 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6396 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6401 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x
; then
6403 eval "DEFAULT_$LINE"
6408 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6412 eval "$ac_cv_use_docview"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6417 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6418 echo "$as_me:$LINENO: result: yes" >&5
6419 echo "${ECHO_T}yes" >&6
6421 echo "$as_me:$LINENO: result: no" >&5
6422 echo "${ECHO_T}no" >&6
6427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6430 # Check whether --enable-help or --disable-help was given.
6431 if test "${enable_help+set}" = set; then
6432 enableval
="$enable_help"
6434 if test "$enableval" = yes; then
6435 ac_cv_use_help
='wxUSE_HELP=yes'
6437 ac_cv_use_help
='wxUSE_HELP=no'
6442 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x
; then
6444 eval "DEFAULT_$LINE"
6449 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6453 eval "$ac_cv_use_help"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6458 if test "$wxUSE_HELP" = yes; then
6459 echo "$as_me:$LINENO: result: yes" >&5
6460 echo "${ECHO_T}yes" >&6
6462 echo "$as_me:$LINENO: result: no" >&5
6463 echo "${ECHO_T}no" >&6
6468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6471 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6472 if test "${enable_mshtmlhelp+set}" = set; then
6473 enableval
="$enable_mshtmlhelp"
6475 if test "$enableval" = yes; then
6476 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6478 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6483 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x
; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6494 eval "$ac_cv_use_mshtmlhelp"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6499 if test "$wxUSE_MS_HTML_HELP" = yes; then
6500 echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6
6503 echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6
6509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6510 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6512 # Check whether --enable-html or --disable-html was given.
6513 if test "${enable_html+set}" = set; then
6514 enableval
="$enable_html"
6516 if test "$enableval" = yes; then
6517 ac_cv_use_html
='wxUSE_HTML=yes'
6519 ac_cv_use_html
='wxUSE_HTML=no'
6524 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x
; then
6526 eval "DEFAULT_$LINE"
6531 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6535 eval "$ac_cv_use_html"
6536 if test "$no_cache" != 1; then
6537 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6540 if test "$wxUSE_HTML" = yes; then
6541 echo "$as_me:$LINENO: result: yes" >&5
6542 echo "${ECHO_T}yes" >&6
6544 echo "$as_me:$LINENO: result: no" >&5
6545 echo "${ECHO_T}no" >&6
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6553 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6554 if test "${enable_htmlhelp+set}" = set; then
6555 enableval
="$enable_htmlhelp"
6557 if test "$enableval" = yes; then
6558 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6560 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6565 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x
; then
6567 eval "DEFAULT_$LINE"
6572 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6576 eval "$ac_cv_use_htmlhelp"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_WXHTML_HELP" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6594 # Check whether --enable-xrc or --disable-xrc was given.
6595 if test "${enable_xrc+set}" = set; then
6596 enableval
="$enable_xrc"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_xrc
='wxUSE_XRC=yes'
6601 ac_cv_use_xrc
='wxUSE_XRC=no'
6606 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6617 eval "$ac_cv_use_xrc"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6622 if test "$wxUSE_XRC" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6635 # Check whether --enable-constraints or --disable-constraints was given.
6636 if test "${enable_constraints+set}" = set; then
6637 enableval
="$enable_constraints"
6639 if test "$enableval" = yes; then
6640 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6642 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6647 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x
; then
6649 eval "DEFAULT_$LINE"
6654 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6658 eval "$ac_cv_use_constraints"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6663 if test "$wxUSE_CONSTRAINTS" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665 echo "${ECHO_T}yes" >&6
6667 echo "$as_me:$LINENO: result: no" >&5
6668 echo "${ECHO_T}no" >&6
6673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6674 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6676 # Check whether --enable-printarch or --disable-printarch was given.
6677 if test "${enable_printarch+set}" = set; then
6678 enableval
="$enable_printarch"
6680 if test "$enableval" = yes; then
6681 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6683 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6688 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x
; then
6690 eval "DEFAULT_$LINE"
6695 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6699 eval "$ac_cv_use_printarch"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6704 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6705 echo "$as_me:$LINENO: result: yes" >&5
6706 echo "${ECHO_T}yes" >&6
6708 echo "$as_me:$LINENO: result: no" >&5
6709 echo "${ECHO_T}no" >&6
6714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6715 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6717 # Check whether --enable-mdi or --disable-mdi was given.
6718 if test "${enable_mdi+set}" = set; then
6719 enableval
="$enable_mdi"
6721 if test "$enableval" = yes; then
6722 ac_cv_use_mdi
='wxUSE_MDI=yes'
6724 ac_cv_use_mdi
='wxUSE_MDI=no'
6729 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x
; then
6731 eval "DEFAULT_$LINE"
6736 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6740 eval "$ac_cv_use_mdi"
6741 if test "$no_cache" != 1; then
6742 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6745 if test "$wxUSE_MDI" = yes; then
6746 echo "$as_me:$LINENO: result: yes" >&5
6747 echo "${ECHO_T}yes" >&6
6749 echo "$as_me:$LINENO: result: no" >&5
6750 echo "${ECHO_T}no" >&6
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6758 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6759 if test "${enable_mdidoc+set}" = set; then
6760 enableval
="$enable_mdidoc"
6762 if test "$enableval" = yes; then
6763 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6765 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6770 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x
; then
6772 eval "DEFAULT_$LINE"
6777 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6781 eval "$ac_cv_use_mdidoc"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6786 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6799 # Check whether --enable-loggui or --disable-loggui was given.
6800 if test "${enable_loggui+set}" = set; then
6801 enableval
="$enable_loggui"
6803 if test "$enableval" = yes; then
6804 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6806 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6811 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x
; then
6813 eval "DEFAULT_$LINE"
6818 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6822 eval "$ac_cv_use_loggui"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6827 if test "$wxUSE_LOGGUI" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6838 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6840 # Check whether --enable-logwin or --disable-logwin was given.
6841 if test "${enable_logwin+set}" = set; then
6842 enableval
="$enable_logwin"
6844 if test "$enableval" = yes; then
6845 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6847 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6852 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6853 if test "x$LINE" != x
; then
6854 eval "DEFAULT_$LINE"
6859 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6863 eval "$ac_cv_use_logwin"
6864 if test "$no_cache" != 1; then
6865 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6868 if test "$wxUSE_LOGWINDOW" = yes; then
6869 echo "$as_me:$LINENO: result: yes" >&5
6870 echo "${ECHO_T}yes" >&6
6872 echo "$as_me:$LINENO: result: no" >&5
6873 echo "${ECHO_T}no" >&6
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6881 # Check whether --enable-logdialog or --disable-logdialog was given.
6882 if test "${enable_logdialog+set}" = set; then
6883 enableval
="$enable_logdialog"
6885 if test "$enableval" = yes; then
6886 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6888 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6893 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x
; then
6895 eval "DEFAULT_$LINE"
6900 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6904 eval "$ac_cv_use_logdialog"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6909 if test "$wxUSE_LOGDIALOG" = yes; then
6910 echo "$as_me:$LINENO: result: yes" >&5
6911 echo "${ECHO_T}yes" >&6
6913 echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6
6919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6922 # Check whether --enable-webkit or --disable-webkit was given.
6923 if test "${enable_webkit+set}" = set; then
6924 enableval
="$enable_webkit"
6926 if test "$enableval" = yes; then
6927 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6929 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6934 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x
; then
6936 eval "DEFAULT_$LINE"
6941 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6945 eval "$ac_cv_use_webkit"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6950 if test "$wxUSE_WEBKIT" = yes; then
6951 echo "$as_me:$LINENO: result: yes" >&5
6952 echo "${ECHO_T}yes" >&6
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6964 # Check whether --enable-postscript or --disable-postscript was given.
6965 if test "${enable_postscript+set}" = set; then
6966 enableval
="$enable_postscript"
6968 if test "$enableval" = yes; then
6969 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6971 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6976 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x
; then
6978 eval "DEFAULT_$LINE"
6983 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6987 eval "$ac_cv_use_postscript"
6988 if test "$no_cache" != 1; then
6989 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6992 if test "$wxUSE_POSTSCRIPT" = yes; then
6993 echo "$as_me:$LINENO: result: yes" >&5
6994 echo "${ECHO_T}yes" >&6
6996 echo "$as_me:$LINENO: result: no" >&5
6997 echo "${ECHO_T}no" >&6
7005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7008 # Check whether --enable-prologio or --disable-prologio was given.
7009 if test "${enable_prologio+set}" = set; then
7010 enableval
="$enable_prologio"
7012 if test "$enableval" = yes; then
7013 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7015 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7020 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x
; then
7022 eval "DEFAULT_$LINE"
7027 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7031 eval "$ac_cv_use_prologio"
7032 if test "$no_cache" != 1; then
7033 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7036 if test "$wxUSE_PROLOGIO" = yes; then
7037 echo "$as_me:$LINENO: result: yes" >&5
7038 echo "${ECHO_T}yes" >&6
7040 echo "$as_me:$LINENO: result: no" >&5
7041 echo "${ECHO_T}no" >&6
7046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7049 # Check whether --enable-resources or --disable-resources was given.
7050 if test "${enable_resources+set}" = set; then
7051 enableval
="$enable_resources"
7053 if test "$enableval" = yes; then
7054 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7056 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7061 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7062 if test "x$LINE" != x
; then
7063 eval "DEFAULT_$LINE"
7068 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7072 eval "$ac_cv_use_resources"
7073 if test "$no_cache" != 1; then
7074 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7077 if test "$wxUSE_RESOURCES" = yes; then
7078 echo "$as_me:$LINENO: result: yes" >&5
7079 echo "${ECHO_T}yes" >&6
7081 echo "$as_me:$LINENO: result: no" >&5
7082 echo "${ECHO_T}no" >&6
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7092 # Check whether --enable-clipboard or --disable-clipboard was given.
7093 if test "${enable_clipboard+set}" = set; then
7094 enableval
="$enable_clipboard"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7099 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7104 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7115 eval "$ac_cv_use_clipboard"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7120 if test "$wxUSE_CLIPBOARD" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7133 # Check whether --enable-dnd or --disable-dnd was given.
7134 if test "${enable_dnd+set}" = set; then
7135 enableval
="$enable_dnd"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7140 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7145 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7156 eval "$ac_cv_use_dnd"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7174 # Check whether --enable-metafile or --disable-metafile was given.
7175 if test "${enable_metafile+set}" = set; then
7176 enableval
="$enable_metafile"
7178 if test "$enableval" = yes; then
7179 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7181 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7186 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x
; then
7188 eval "DEFAULT_$LINE"
7193 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7197 eval "$ac_cv_use_metafile"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7202 if test "$wxUSE_METAFILE" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7216 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7218 # Check whether --enable-controls or --disable-controls was given.
7219 if test "${enable_controls+set}" = set; then
7220 enableval
="$enable_controls"
7222 if test "$enableval" = yes; then
7223 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7225 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7230 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x
; then
7232 eval "DEFAULT_$LINE"
7237 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7241 eval "$ac_cv_use_controls"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7246 if test "$wxUSE_CONTROLS" = yes; then
7247 echo "$as_me:$LINENO: result: yes" >&5
7248 echo "${ECHO_T}yes" >&6
7250 echo "$as_me:$LINENO: result: no" >&5
7251 echo "${ECHO_T}no" >&6
7255 if test "$wxUSE_CONTROLS" = "yes"; then
7256 DEFAULT_wxUSE_ACCEL
=yes
7257 DEFAULT_wxUSE_BMPBUTTON
=yes
7258 DEFAULT_wxUSE_BUTTON
=yes
7259 DEFAULT_wxUSE_CALCTRL
=yes
7260 DEFAULT_wxUSE_CARET
=yes
7261 DEFAULT_wxUSE_COMBOBOX
=yes
7262 DEFAULT_wxUSE_CHECKBOX
=yes
7263 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7264 DEFAULT_wxUSE_CHOICE
=yes
7265 DEFAULT_wxUSE_CHOICEBOOK
=yes
7266 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7267 DEFAULT_wxUSE_GAUGE
=yes
7268 DEFAULT_wxUSE_GRID
=yes
7269 DEFAULT_wxUSE_IMAGLIST
=yes
7270 DEFAULT_wxUSE_LISTBOOK
=yes
7271 DEFAULT_wxUSE_LISTBOX
=yes
7272 DEFAULT_wxUSE_LISTCTRL
=yes
7273 DEFAULT_wxUSE_NOTEBOOK
=yes
7274 DEFAULT_wxUSE_RADIOBOX
=yes
7275 DEFAULT_wxUSE_RADIOBTN
=yes
7276 DEFAULT_wxUSE_SASH
=yes
7277 DEFAULT_wxUSE_SCROLLBAR
=yes
7278 DEFAULT_wxUSE_SLIDER
=yes
7279 DEFAULT_wxUSE_SPINBTN
=yes
7280 DEFAULT_wxUSE_SPINCTRL
=yes
7281 DEFAULT_wxUSE_SPLITTER
=yes
7282 DEFAULT_wxUSE_STATBMP
=yes
7283 DEFAULT_wxUSE_STATBOX
=yes
7284 DEFAULT_wxUSE_STATLINE
=yes
7285 DEFAULT_wxUSE_STATUSBAR
=yes
7286 DEFAULT_wxUSE_TAB_DIALOG
=yes
7287 DEFAULT_wxUSE_TOGGLEBTN
=yes
7288 DEFAULT_wxUSE_TOOLBAR
=yes
7289 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7290 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7291 DEFAULT_wxUSE_TOOLTIPS
=yes
7292 DEFAULT_wxUSE_TREECTRL
=yes
7293 DEFAULT_wxUSE_POPUPWIN
=yes
7294 DEFAULT_wxUSE_TIPWINDOW
=yes
7295 elif test "$wxUSE_CONTROLS" = "no"; then
7296 DEFAULT_wxUSE_ACCEL
=no
7297 DEFAULT_wxUSE_BMPBUTTON
=no
7298 DEFAULT_wxUSE_BUTTON
=no
7299 DEFAULT_wxUSE_CALCTRL
=no
7300 DEFAULT_wxUSE_CARET
=no
7301 DEFAULT_wxUSE_COMBOBOX
=no
7302 DEFAULT_wxUSE_CHECKBOX
=no
7303 DEFAULT_wxUSE_CHECKLISTBOX
=no
7304 DEFAULT_wxUSE_CHOICE
=no
7305 DEFAULT_wxUSE_CHOICEBOOK
=no
7306 DEFAULT_wxUSE_DATEPICKCTRL
=no
7307 DEFAULT_wxUSE_GAUGE
=no
7308 DEFAULT_wxUSE_GRID
=no
7309 DEFAULT_wxUSE_IMAGLIST
=no
7310 DEFAULT_wxUSE_LISTBOOK
=no
7311 DEFAULT_wxUSE_LISTBOX
=no
7312 DEFAULT_wxUSE_LISTCTRL
=no
7313 DEFAULT_wxUSE_NOTEBOOK
=no
7314 DEFAULT_wxUSE_RADIOBOX
=no
7315 DEFAULT_wxUSE_RADIOBTN
=no
7316 DEFAULT_wxUSE_SASH
=no
7317 DEFAULT_wxUSE_SCROLLBAR
=no
7318 DEFAULT_wxUSE_SLIDER
=no
7319 DEFAULT_wxUSE_SPINBTN
=no
7320 DEFAULT_wxUSE_SPINCTRL
=no
7321 DEFAULT_wxUSE_SPLITTER
=no
7322 DEFAULT_wxUSE_STATBMP
=no
7323 DEFAULT_wxUSE_STATBOX
=no
7324 DEFAULT_wxUSE_STATLINE
=no
7325 DEFAULT_wxUSE_STATUSBAR
=no
7326 DEFAULT_wxUSE_TAB_DIALOG
=no
7327 DEFAULT_wxUSE_TOGGLEBTN
=no
7328 DEFAULT_wxUSE_TOOLBAR
=no
7329 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7330 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7331 DEFAULT_wxUSE_TOOLTIPS
=no
7332 DEFAULT_wxUSE_TREECTRL
=no
7333 DEFAULT_wxUSE_POPUPWIN
=no
7334 DEFAULT_wxUSE_TIPWINDOW
=no
7339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7340 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7342 # Check whether --enable-accel or --disable-accel was given.
7343 if test "${enable_accel+set}" = set; then
7344 enableval
="$enable_accel"
7346 if test "$enableval" = yes; then
7347 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7349 ac_cv_use_accel
='wxUSE_ACCEL=no'
7354 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7355 if test "x$LINE" != x
; then
7356 eval "DEFAULT_$LINE"
7361 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7365 eval "$ac_cv_use_accel"
7366 if test "$no_cache" != 1; then
7367 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7370 if test "$wxUSE_ACCEL" = yes; then
7371 echo "$as_me:$LINENO: result: yes" >&5
7372 echo "${ECHO_T}yes" >&6
7374 echo "$as_me:$LINENO: result: no" >&5
7375 echo "${ECHO_T}no" >&6
7380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7381 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7383 # Check whether --enable-button or --disable-button was given.
7384 if test "${enable_button+set}" = set; then
7385 enableval
="$enable_button"
7387 if test "$enableval" = yes; then
7388 ac_cv_use_button
='wxUSE_BUTTON=yes'
7390 ac_cv_use_button
='wxUSE_BUTTON=no'
7395 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7396 if test "x$LINE" != x
; then
7397 eval "DEFAULT_$LINE"
7402 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7406 eval "$ac_cv_use_button"
7407 if test "$no_cache" != 1; then
7408 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7411 if test "$wxUSE_BUTTON" = yes; then
7412 echo "$as_me:$LINENO: result: yes" >&5
7413 echo "${ECHO_T}yes" >&6
7415 echo "$as_me:$LINENO: result: no" >&5
7416 echo "${ECHO_T}no" >&6
7421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7422 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7424 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7425 if test "${enable_bmpbutton+set}" = set; then
7426 enableval
="$enable_bmpbutton"
7428 if test "$enableval" = yes; then
7429 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7431 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7436 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x
; then
7438 eval "DEFAULT_$LINE"
7443 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7447 eval "$ac_cv_use_bmpbutton"
7448 if test "$no_cache" != 1; then
7449 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7452 if test "$wxUSE_BMPBUTTON" = yes; then
7453 echo "$as_me:$LINENO: result: yes" >&5
7454 echo "${ECHO_T}yes" >&6
7456 echo "$as_me:$LINENO: result: no" >&5
7457 echo "${ECHO_T}no" >&6
7462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7465 # Check whether --enable-calendar or --disable-calendar was given.
7466 if test "${enable_calendar+set}" = set; then
7467 enableval
="$enable_calendar"
7469 if test "$enableval" = yes; then
7470 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7472 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7477 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7478 if test "x$LINE" != x
; then
7479 eval "DEFAULT_$LINE"
7484 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7488 eval "$ac_cv_use_calendar"
7489 if test "$no_cache" != 1; then
7490 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7493 if test "$wxUSE_CALCTRL" = yes; then
7494 echo "$as_me:$LINENO: result: yes" >&5
7495 echo "${ECHO_T}yes" >&6
7497 echo "$as_me:$LINENO: result: no" >&5
7498 echo "${ECHO_T}no" >&6
7503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7506 # Check whether --enable-caret or --disable-caret was given.
7507 if test "${enable_caret+set}" = set; then
7508 enableval
="$enable_caret"
7510 if test "$enableval" = yes; then
7511 ac_cv_use_caret
='wxUSE_CARET=yes'
7513 ac_cv_use_caret
='wxUSE_CARET=no'
7518 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7519 if test "x$LINE" != x
; then
7520 eval "DEFAULT_$LINE"
7525 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7529 eval "$ac_cv_use_caret"
7530 if test "$no_cache" != 1; then
7531 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7534 if test "$wxUSE_CARET" = yes; then
7535 echo "$as_me:$LINENO: result: yes" >&5
7536 echo "${ECHO_T}yes" >&6
7538 echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6
7544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7545 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7547 # Check whether --enable-checkbox or --disable-checkbox was given.
7548 if test "${enable_checkbox+set}" = set; then
7549 enableval
="$enable_checkbox"
7551 if test "$enableval" = yes; then
7552 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7554 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7559 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7560 if test "x$LINE" != x
; then
7561 eval "DEFAULT_$LINE"
7566 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7570 eval "$ac_cv_use_checkbox"
7571 if test "$no_cache" != 1; then
7572 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7575 if test "$wxUSE_CHECKBOX" = yes; then
7576 echo "$as_me:$LINENO: result: yes" >&5
7577 echo "${ECHO_T}yes" >&6
7579 echo "$as_me:$LINENO: result: no" >&5
7580 echo "${ECHO_T}no" >&6
7585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7586 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7588 # Check whether --enable-checklst or --disable-checklst was given.
7589 if test "${enable_checklst+set}" = set; then
7590 enableval
="$enable_checklst"
7592 if test "$enableval" = yes; then
7593 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7595 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7600 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7601 if test "x$LINE" != x
; then
7602 eval "DEFAULT_$LINE"
7607 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7611 eval "$ac_cv_use_checklst"
7612 if test "$no_cache" != 1; then
7613 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7616 if test "$wxUSE_CHECKLST" = yes; then
7617 echo "$as_me:$LINENO: result: yes" >&5
7618 echo "${ECHO_T}yes" >&6
7620 echo "$as_me:$LINENO: result: no" >&5
7621 echo "${ECHO_T}no" >&6
7626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7627 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7629 # Check whether --enable-choice or --disable-choice was given.
7630 if test "${enable_choice+set}" = set; then
7631 enableval
="$enable_choice"
7633 if test "$enableval" = yes; then
7634 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7636 ac_cv_use_choice
='wxUSE_CHOICE=no'
7641 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7642 if test "x$LINE" != x
; then
7643 eval "DEFAULT_$LINE"
7648 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7652 eval "$ac_cv_use_choice"
7653 if test "$no_cache" != 1; then
7654 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7657 if test "$wxUSE_CHOICE" = yes; then
7658 echo "$as_me:$LINENO: result: yes" >&5
7659 echo "${ECHO_T}yes" >&6
7661 echo "$as_me:$LINENO: result: no" >&5
7662 echo "${ECHO_T}no" >&6
7667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7668 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7670 # Check whether --enable-choicebook or --disable-choicebook was given.
7671 if test "${enable_choicebook+set}" = set; then
7672 enableval
="$enable_choicebook"
7674 if test "$enableval" = yes; then
7675 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7677 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7682 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x
; then
7684 eval "DEFAULT_$LINE"
7689 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7693 eval "$ac_cv_use_choicebook"
7694 if test "$no_cache" != 1; then
7695 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7698 if test "$wxUSE_CHOICEBOOK" = yes; then
7699 echo "$as_me:$LINENO: result: yes" >&5
7700 echo "${ECHO_T}yes" >&6
7702 echo "$as_me:$LINENO: result: no" >&5
7703 echo "${ECHO_T}no" >&6
7708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7711 # Check whether --enable-combobox or --disable-combobox was given.
7712 if test "${enable_combobox+set}" = set; then
7713 enableval
="$enable_combobox"
7715 if test "$enableval" = yes; then
7716 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7718 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7723 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x
; then
7725 eval "DEFAULT_$LINE"
7730 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7734 eval "$ac_cv_use_combobox"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7739 if test "$wxUSE_COMBOBOX" = yes; then
7740 echo "$as_me:$LINENO: result: yes" >&5
7741 echo "${ECHO_T}yes" >&6
7743 echo "$as_me:$LINENO: result: no" >&5
7744 echo "${ECHO_T}no" >&6
7749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7752 # Check whether --enable-datepick or --disable-datepick was given.
7753 if test "${enable_datepick+set}" = set; then
7754 enableval
="$enable_datepick"
7756 if test "$enableval" = yes; then
7757 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7759 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7764 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x
; then
7766 eval "DEFAULT_$LINE"
7771 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7775 eval "$ac_cv_use_datepick"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7780 if test "$wxUSE_DATEPICKCTRL" = yes; then
7781 echo "$as_me:$LINENO: result: yes" >&5
7782 echo "${ECHO_T}yes" >&6
7784 echo "$as_me:$LINENO: result: no" >&5
7785 echo "${ECHO_T}no" >&6
7790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7791 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7793 # Check whether --enable-display or --disable-display was given.
7794 if test "${enable_display+set}" = set; then
7795 enableval
="$enable_display"
7797 if test "$enableval" = yes; then
7798 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7800 ac_cv_use_display
='wxUSE_DISPLAY=no'
7805 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7806 if test "x$LINE" != x
; then
7807 eval "DEFAULT_$LINE"
7812 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7816 eval "$ac_cv_use_display"
7817 if test "$no_cache" != 1; then
7818 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7821 if test "$wxUSE_DISPLAY" = yes; then
7822 echo "$as_me:$LINENO: result: yes" >&5
7823 echo "${ECHO_T}yes" >&6
7825 echo "$as_me:$LINENO: result: no" >&5
7826 echo "${ECHO_T}no" >&6
7831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7832 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7834 # Check whether --enable-gauge or --disable-gauge was given.
7835 if test "${enable_gauge+set}" = set; then
7836 enableval
="$enable_gauge"
7838 if test "$enableval" = yes; then
7839 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7841 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7846 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7847 if test "x$LINE" != x
; then
7848 eval "DEFAULT_$LINE"
7853 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7857 eval "$ac_cv_use_gauge"
7858 if test "$no_cache" != 1; then
7859 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7862 if test "$wxUSE_GAUGE" = yes; then
7863 echo "$as_me:$LINENO: result: yes" >&5
7864 echo "${ECHO_T}yes" >&6
7866 echo "$as_me:$LINENO: result: no" >&5
7867 echo "${ECHO_T}no" >&6
7872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7875 # Check whether --enable-grid or --disable-grid was given.
7876 if test "${enable_grid+set}" = set; then
7877 enableval
="$enable_grid"
7879 if test "$enableval" = yes; then
7880 ac_cv_use_grid
='wxUSE_GRID=yes'
7882 ac_cv_use_grid
='wxUSE_GRID=no'
7887 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7888 if test "x$LINE" != x
; then
7889 eval "DEFAULT_$LINE"
7894 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7898 eval "$ac_cv_use_grid"
7899 if test "$no_cache" != 1; then
7900 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7903 if test "$wxUSE_GRID" = yes; then
7904 echo "$as_me:$LINENO: result: yes" >&5
7905 echo "${ECHO_T}yes" >&6
7907 echo "$as_me:$LINENO: result: no" >&5
7908 echo "${ECHO_T}no" >&6
7913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7916 # Check whether --enable-imaglist or --disable-imaglist was given.
7917 if test "${enable_imaglist+set}" = set; then
7918 enableval
="$enable_imaglist"
7920 if test "$enableval" = yes; then
7921 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7923 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7928 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7929 if test "x$LINE" != x
; then
7930 eval "DEFAULT_$LINE"
7935 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7939 eval "$ac_cv_use_imaglist"
7940 if test "$no_cache" != 1; then
7941 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7944 if test "$wxUSE_IMAGLIST" = yes; then
7945 echo "$as_me:$LINENO: result: yes" >&5
7946 echo "${ECHO_T}yes" >&6
7948 echo "$as_me:$LINENO: result: no" >&5
7949 echo "${ECHO_T}no" >&6
7954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7955 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7957 # Check whether --enable-listbook or --disable-listbook was given.
7958 if test "${enable_listbook+set}" = set; then
7959 enableval
="$enable_listbook"
7961 if test "$enableval" = yes; then
7962 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7964 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7969 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7970 if test "x$LINE" != x
; then
7971 eval "DEFAULT_$LINE"
7976 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7980 eval "$ac_cv_use_listbook"
7981 if test "$no_cache" != 1; then
7982 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7985 if test "$wxUSE_LISTBOOK" = yes; then
7986 echo "$as_me:$LINENO: result: yes" >&5
7987 echo "${ECHO_T}yes" >&6
7989 echo "$as_me:$LINENO: result: no" >&5
7990 echo "${ECHO_T}no" >&6
7995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7996 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7998 # Check whether --enable-listbox or --disable-listbox was given.
7999 if test "${enable_listbox+set}" = set; then
8000 enableval
="$enable_listbox"
8002 if test "$enableval" = yes; then
8003 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8005 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8010 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8011 if test "x$LINE" != x
; then
8012 eval "DEFAULT_$LINE"
8017 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8021 eval "$ac_cv_use_listbox"
8022 if test "$no_cache" != 1; then
8023 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8026 if test "$wxUSE_LISTBOX" = yes; then
8027 echo "$as_me:$LINENO: result: yes" >&5
8028 echo "${ECHO_T}yes" >&6
8030 echo "$as_me:$LINENO: result: no" >&5
8031 echo "${ECHO_T}no" >&6
8036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8037 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8039 # Check whether --enable-listctrl or --disable-listctrl was given.
8040 if test "${enable_listctrl+set}" = set; then
8041 enableval
="$enable_listctrl"
8043 if test "$enableval" = yes; then
8044 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8046 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8051 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8052 if test "x$LINE" != x
; then
8053 eval "DEFAULT_$LINE"
8058 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8062 eval "$ac_cv_use_listctrl"
8063 if test "$no_cache" != 1; then
8064 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8067 if test "$wxUSE_LISTCTRL" = yes; then
8068 echo "$as_me:$LINENO: result: yes" >&5
8069 echo "${ECHO_T}yes" >&6
8071 echo "$as_me:$LINENO: result: no" >&5
8072 echo "${ECHO_T}no" >&6
8077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8080 # Check whether --enable-notebook or --disable-notebook was given.
8081 if test "${enable_notebook+set}" = set; then
8082 enableval
="$enable_notebook"
8084 if test "$enableval" = yes; then
8085 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8087 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8092 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x
; then
8094 eval "DEFAULT_$LINE"
8099 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8103 eval "$ac_cv_use_notebook"
8104 if test "$no_cache" != 1; then
8105 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8108 if test "$wxUSE_NOTEBOOK" = yes; then
8109 echo "$as_me:$LINENO: result: yes" >&5
8110 echo "${ECHO_T}yes" >&6
8112 echo "$as_me:$LINENO: result: no" >&5
8113 echo "${ECHO_T}no" >&6
8118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8119 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8121 # Check whether --enable-radiobox or --disable-radiobox was given.
8122 if test "${enable_radiobox+set}" = set; then
8123 enableval
="$enable_radiobox"
8125 if test "$enableval" = yes; then
8126 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8128 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8133 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x
; then
8135 eval "DEFAULT_$LINE"
8140 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8144 eval "$ac_cv_use_radiobox"
8145 if test "$no_cache" != 1; then
8146 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8149 if test "$wxUSE_RADIOBOX" = yes; then
8150 echo "$as_me:$LINENO: result: yes" >&5
8151 echo "${ECHO_T}yes" >&6
8153 echo "$as_me:$LINENO: result: no" >&5
8154 echo "${ECHO_T}no" >&6
8159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8160 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8162 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8163 if test "${enable_radiobtn+set}" = set; then
8164 enableval
="$enable_radiobtn"
8166 if test "$enableval" = yes; then
8167 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8169 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8174 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x
; then
8176 eval "DEFAULT_$LINE"
8181 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8185 eval "$ac_cv_use_radiobtn"
8186 if test "$no_cache" != 1; then
8187 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8190 if test "$wxUSE_RADIOBTN" = yes; then
8191 echo "$as_me:$LINENO: result: yes" >&5
8192 echo "${ECHO_T}yes" >&6
8194 echo "$as_me:$LINENO: result: no" >&5
8195 echo "${ECHO_T}no" >&6
8200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8201 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8203 # Check whether --enable-sash or --disable-sash was given.
8204 if test "${enable_sash+set}" = set; then
8205 enableval
="$enable_sash"
8207 if test "$enableval" = yes; then
8208 ac_cv_use_sash
='wxUSE_SASH=yes'
8210 ac_cv_use_sash
='wxUSE_SASH=no'
8215 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8216 if test "x$LINE" != x
; then
8217 eval "DEFAULT_$LINE"
8222 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8226 eval "$ac_cv_use_sash"
8227 if test "$no_cache" != 1; then
8228 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8231 if test "$wxUSE_SASH" = yes; then
8232 echo "$as_me:$LINENO: result: yes" >&5
8233 echo "${ECHO_T}yes" >&6
8235 echo "$as_me:$LINENO: result: no" >&5
8236 echo "${ECHO_T}no" >&6
8241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8244 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8245 if test "${enable_scrollbar+set}" = set; then
8246 enableval
="$enable_scrollbar"
8248 if test "$enableval" = yes; then
8249 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8251 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8256 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8257 if test "x$LINE" != x
; then
8258 eval "DEFAULT_$LINE"
8263 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8267 eval "$ac_cv_use_scrollbar"
8268 if test "$no_cache" != 1; then
8269 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8272 if test "$wxUSE_SCROLLBAR" = yes; then
8273 echo "$as_me:$LINENO: result: yes" >&5
8274 echo "${ECHO_T}yes" >&6
8276 echo "$as_me:$LINENO: result: no" >&5
8277 echo "${ECHO_T}no" >&6
8282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8285 # Check whether --enable-slider or --disable-slider was given.
8286 if test "${enable_slider+set}" = set; then
8287 enableval
="$enable_slider"
8289 if test "$enableval" = yes; then
8290 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8292 ac_cv_use_slider
='wxUSE_SLIDER=no'
8297 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x
; then
8299 eval "DEFAULT_$LINE"
8304 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8308 eval "$ac_cv_use_slider"
8309 if test "$no_cache" != 1; then
8310 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8313 if test "$wxUSE_SLIDER" = yes; then
8314 echo "$as_me:$LINENO: result: yes" >&5
8315 echo "${ECHO_T}yes" >&6
8317 echo "$as_me:$LINENO: result: no" >&5
8318 echo "${ECHO_T}no" >&6
8323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8324 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8326 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8327 if test "${enable_spinbtn+set}" = set; then
8328 enableval
="$enable_spinbtn"
8330 if test "$enableval" = yes; then
8331 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8333 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8338 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8339 if test "x$LINE" != x
; then
8340 eval "DEFAULT_$LINE"
8345 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8349 eval "$ac_cv_use_spinbtn"
8350 if test "$no_cache" != 1; then
8351 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8354 if test "$wxUSE_SPINBTN" = yes; then
8355 echo "$as_me:$LINENO: result: yes" >&5
8356 echo "${ECHO_T}yes" >&6
8358 echo "$as_me:$LINENO: result: no" >&5
8359 echo "${ECHO_T}no" >&6
8364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8365 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8367 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8368 if test "${enable_spinctrl+set}" = set; then
8369 enableval
="$enable_spinctrl"
8371 if test "$enableval" = yes; then
8372 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8374 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8379 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8380 if test "x$LINE" != x
; then
8381 eval "DEFAULT_$LINE"
8386 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8390 eval "$ac_cv_use_spinctrl"
8391 if test "$no_cache" != 1; then
8392 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8395 if test "$wxUSE_SPINCTRL" = yes; then
8396 echo "$as_me:$LINENO: result: yes" >&5
8397 echo "${ECHO_T}yes" >&6
8399 echo "$as_me:$LINENO: result: no" >&5
8400 echo "${ECHO_T}no" >&6
8405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8408 # Check whether --enable-splitter or --disable-splitter was given.
8409 if test "${enable_splitter+set}" = set; then
8410 enableval
="$enable_splitter"
8412 if test "$enableval" = yes; then
8413 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8415 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8420 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8421 if test "x$LINE" != x
; then
8422 eval "DEFAULT_$LINE"
8427 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8431 eval "$ac_cv_use_splitter"
8432 if test "$no_cache" != 1; then
8433 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8436 if test "$wxUSE_SPLITTER" = yes; then
8437 echo "$as_me:$LINENO: result: yes" >&5
8438 echo "${ECHO_T}yes" >&6
8440 echo "$as_me:$LINENO: result: no" >&5
8441 echo "${ECHO_T}no" >&6
8446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8447 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8449 # Check whether --enable-statbmp or --disable-statbmp was given.
8450 if test "${enable_statbmp+set}" = set; then
8451 enableval
="$enable_statbmp"
8453 if test "$enableval" = yes; then
8454 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8456 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8461 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8462 if test "x$LINE" != x
; then
8463 eval "DEFAULT_$LINE"
8468 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8472 eval "$ac_cv_use_statbmp"
8473 if test "$no_cache" != 1; then
8474 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8477 if test "$wxUSE_STATBMP" = yes; then
8478 echo "$as_me:$LINENO: result: yes" >&5
8479 echo "${ECHO_T}yes" >&6
8481 echo "$as_me:$LINENO: result: no" >&5
8482 echo "${ECHO_T}no" >&6
8487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8488 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8490 # Check whether --enable-statbox or --disable-statbox was given.
8491 if test "${enable_statbox+set}" = set; then
8492 enableval
="$enable_statbox"
8494 if test "$enableval" = yes; then
8495 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8497 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8502 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8503 if test "x$LINE" != x
; then
8504 eval "DEFAULT_$LINE"
8509 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8513 eval "$ac_cv_use_statbox"
8514 if test "$no_cache" != 1; then
8515 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8518 if test "$wxUSE_STATBOX" = yes; then
8519 echo "$as_me:$LINENO: result: yes" >&5
8520 echo "${ECHO_T}yes" >&6
8522 echo "$as_me:$LINENO: result: no" >&5
8523 echo "${ECHO_T}no" >&6
8528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8529 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8531 # Check whether --enable-statline or --disable-statline was given.
8532 if test "${enable_statline+set}" = set; then
8533 enableval
="$enable_statline"
8535 if test "$enableval" = yes; then
8536 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8538 ac_cv_use_statline
='wxUSE_STATLINE=no'
8543 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8544 if test "x$LINE" != x
; then
8545 eval "DEFAULT_$LINE"
8550 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8554 eval "$ac_cv_use_statline"
8555 if test "$no_cache" != 1; then
8556 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8559 if test "$wxUSE_STATLINE" = yes; then
8560 echo "$as_me:$LINENO: result: yes" >&5
8561 echo "${ECHO_T}yes" >&6
8563 echo "$as_me:$LINENO: result: no" >&5
8564 echo "${ECHO_T}no" >&6
8569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8572 # Check whether --enable-stattext or --disable-stattext was given.
8573 if test "${enable_stattext+set}" = set; then
8574 enableval
="$enable_stattext"
8576 if test "$enableval" = yes; then
8577 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8579 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8584 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8585 if test "x$LINE" != x
; then
8586 eval "DEFAULT_$LINE"
8591 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8595 eval "$ac_cv_use_stattext"
8596 if test "$no_cache" != 1; then
8597 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8600 if test "$wxUSE_STATTEXT" = yes; then
8601 echo "$as_me:$LINENO: result: yes" >&5
8602 echo "${ECHO_T}yes" >&6
8604 echo "$as_me:$LINENO: result: no" >&5
8605 echo "${ECHO_T}no" >&6
8610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8613 # Check whether --enable-statusbar or --disable-statusbar was given.
8614 if test "${enable_statusbar+set}" = set; then
8615 enableval
="$enable_statusbar"
8617 if test "$enableval" = yes; then
8618 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8620 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8625 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8626 if test "x$LINE" != x
; then
8627 eval "DEFAULT_$LINE"
8632 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8636 eval "$ac_cv_use_statusbar"
8637 if test "$no_cache" != 1; then
8638 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8641 if test "$wxUSE_STATUSBAR" = yes; then
8642 echo "$as_me:$LINENO: result: yes" >&5
8643 echo "${ECHO_T}yes" >&6
8645 echo "$as_me:$LINENO: result: no" >&5
8646 echo "${ECHO_T}no" >&6
8651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8652 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8654 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8655 if test "${enable_tabdialog+set}" = set; then
8656 enableval
="$enable_tabdialog"
8658 if test "$enableval" = yes; then
8659 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8661 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8666 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8667 if test "x$LINE" != x
; then
8668 eval "DEFAULT_$LINE"
8673 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8677 eval "$ac_cv_use_tabdialog"
8678 if test "$no_cache" != 1; then
8679 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8682 if test "$wxUSE_TABDIALOG" = yes; then
8683 echo "$as_me:$LINENO: result: yes" >&5
8684 echo "${ECHO_T}yes" >&6
8686 echo "$as_me:$LINENO: result: no" >&5
8687 echo "${ECHO_T}no" >&6
8692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8695 # Check whether --enable-textctrl or --disable-textctrl was given.
8696 if test "${enable_textctrl+set}" = set; then
8697 enableval
="$enable_textctrl"
8699 if test "$enableval" = yes; then
8700 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8702 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8707 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x
; then
8709 eval "DEFAULT_$LINE"
8714 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8718 eval "$ac_cv_use_textctrl"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8723 if test "$wxUSE_TEXTCTRL" = yes; then
8724 echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6
8727 echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8736 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8737 if test "${enable_togglebtn+set}" = set; then
8738 enableval
="$enable_togglebtn"
8740 if test "$enableval" = yes; then
8741 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8743 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8748 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x
; then
8750 eval "DEFAULT_$LINE"
8755 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8759 eval "$ac_cv_use_togglebtn"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8764 if test "$wxUSE_TOGGLEBTN" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8777 # Check whether --enable-toolbar or --disable-toolbar was given.
8778 if test "${enable_toolbar+set}" = set; then
8779 enableval
="$enable_toolbar"
8781 if test "$enableval" = yes; then
8782 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8784 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8789 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x
; then
8791 eval "DEFAULT_$LINE"
8796 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8800 eval "$ac_cv_use_toolbar"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8805 if test "$wxUSE_TOOLBAR" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8818 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8819 if test "${enable_tbarnative+set}" = set; then
8820 enableval
="$enable_tbarnative"
8822 if test "$enableval" = yes; then
8823 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8825 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8830 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x
; then
8832 eval "DEFAULT_$LINE"
8837 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8841 eval "$ac_cv_use_tbarnative"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8846 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8859 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8860 if test "${enable_tbarsmpl+set}" = set; then
8861 enableval
="$enable_tbarsmpl"
8863 if test "$enableval" = yes; then
8864 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8866 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8871 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x
; then
8873 eval "DEFAULT_$LINE"
8878 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8882 eval "$ac_cv_use_tbarsmpl"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8887 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8900 # Check whether --enable-treectrl or --disable-treectrl was given.
8901 if test "${enable_treectrl+set}" = set; then
8902 enableval
="$enable_treectrl"
8904 if test "$enableval" = yes; then
8905 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8907 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8912 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x
; then
8914 eval "DEFAULT_$LINE"
8919 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8923 eval "$ac_cv_use_treectrl"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8928 if test "$wxUSE_TREECTRL" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8941 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8942 if test "${enable_tipwindow+set}" = set; then
8943 enableval
="$enable_tipwindow"
8945 if test "$enableval" = yes; then
8946 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8948 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8953 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x
; then
8955 eval "DEFAULT_$LINE"
8960 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8964 eval "$ac_cv_use_tipwindow"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8969 if test "$wxUSE_TIPWINDOW" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8982 # Check whether --enable-popupwin or --disable-popupwin was given.
8983 if test "${enable_popupwin+set}" = set; then
8984 enableval
="$enable_popupwin"
8986 if test "$enableval" = yes; then
8987 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8989 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8994 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x
; then
8996 eval "DEFAULT_$LINE"
9001 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9005 eval "$ac_cv_use_popupwin"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9010 if test "$wxUSE_POPUPWIN" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9025 # Check whether --enable-commondlg or --disable-commondlg was given.
9026 if test "${enable_commondlg+set}" = set; then
9027 enableval
="$enable_commondlg"
9029 if test "$enableval" = yes; then
9030 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9032 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9037 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x
; then
9039 eval "DEFAULT_$LINE"
9044 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9048 eval "$ac_cv_use_commondlg"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9053 if test "$wxUSE_COMMONDLGS" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9066 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9067 if test "${enable_choicedlg+set}" = set; then
9068 enableval
="$enable_choicedlg"
9070 if test "$enableval" = yes; then
9071 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9073 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9078 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9079 if test "x$LINE" != x
; then
9080 eval "DEFAULT_$LINE"
9085 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9089 eval "$ac_cv_use_choicedlg"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9094 if test "$wxUSE_CHOICEDLG" = yes; then
9095 echo "$as_me:$LINENO: result: yes" >&5
9096 echo "${ECHO_T}yes" >&6
9098 echo "$as_me:$LINENO: result: no" >&5
9099 echo "${ECHO_T}no" >&6
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9107 # Check whether --enable-coldlg or --disable-coldlg was given.
9108 if test "${enable_coldlg+set}" = set; then
9109 enableval
="$enable_coldlg"
9111 if test "$enableval" = yes; then
9112 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9114 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9119 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x
; then
9121 eval "DEFAULT_$LINE"
9126 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9130 eval "$ac_cv_use_coldlg"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9135 if test "$wxUSE_COLOURDLG" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9148 # Check whether --enable-filedlg or --disable-filedlg was given.
9149 if test "${enable_filedlg+set}" = set; then
9150 enableval
="$enable_filedlg"
9152 if test "$enableval" = yes; then
9153 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9155 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9160 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x
; then
9162 eval "DEFAULT_$LINE"
9167 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9171 eval "$ac_cv_use_filedlg"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9176 if test "$wxUSE_FILEDLG" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9189 # Check whether --enable-finddlg or --disable-finddlg was given.
9190 if test "${enable_finddlg+set}" = set; then
9191 enableval
="$enable_finddlg"
9193 if test "$enableval" = yes; then
9194 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9196 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9201 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x
; then
9203 eval "DEFAULT_$LINE"
9208 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9212 eval "$ac_cv_use_finddlg"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9217 if test "$wxUSE_FINDREPLDLG" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9230 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9231 if test "${enable_fontdlg+set}" = set; then
9232 enableval
="$enable_fontdlg"
9234 if test "$enableval" = yes; then
9235 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9237 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9242 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x
; then
9244 eval "DEFAULT_$LINE"
9249 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9253 eval "$ac_cv_use_fontdlg"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9258 if test "$wxUSE_FONTDLG" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9271 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9272 if test "${enable_dirdlg+set}" = set; then
9273 enableval
="$enable_dirdlg"
9275 if test "$enableval" = yes; then
9276 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9278 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9283 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x
; then
9285 eval "DEFAULT_$LINE"
9290 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9294 eval "$ac_cv_use_dirdlg"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9299 if test "$wxUSE_DIRDLG" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9312 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9313 if test "${enable_msgdlg+set}" = set; then
9314 enableval
="$enable_msgdlg"
9316 if test "$enableval" = yes; then
9317 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9319 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9324 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x
; then
9326 eval "DEFAULT_$LINE"
9331 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9335 eval "$ac_cv_use_msgdlg"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9340 if test "$wxUSE_MSGDLG" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9353 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9354 if test "${enable_numberdlg+set}" = set; then
9355 enableval
="$enable_numberdlg"
9357 if test "$enableval" = yes; then
9358 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9360 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9365 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x
; then
9367 eval "DEFAULT_$LINE"
9372 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9376 eval "$ac_cv_use_numberdlg"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9381 if test "$wxUSE_NUMBERDLG" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9394 # Check whether --enable-splash or --disable-splash was given.
9395 if test "${enable_splash+set}" = set; then
9396 enableval
="$enable_splash"
9398 if test "$enableval" = yes; then
9399 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9401 ac_cv_use_splash
='wxUSE_SPLASH=no'
9406 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x
; then
9408 eval "DEFAULT_$LINE"
9413 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9417 eval "$ac_cv_use_splash"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9422 if test "$wxUSE_SPLASH" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9435 # Check whether --enable-textdlg or --disable-textdlg was given.
9436 if test "${enable_textdlg+set}" = set; then
9437 enableval
="$enable_textdlg"
9439 if test "$enableval" = yes; then
9440 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9442 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9447 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x
; then
9449 eval "DEFAULT_$LINE"
9454 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9458 eval "$ac_cv_use_textdlg"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9463 if test "$wxUSE_TEXTDLG" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9476 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9477 if test "${enable_tipdlg+set}" = set; then
9478 enableval
="$enable_tipdlg"
9480 if test "$enableval" = yes; then
9481 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9483 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9488 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x
; then
9490 eval "DEFAULT_$LINE"
9495 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9499 eval "$ac_cv_use_tipdlg"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9504 if test "$wxUSE_STARTUP_TIPS" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9517 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9518 if test "${enable_progressdlg+set}" = set; then
9519 enableval
="$enable_progressdlg"
9521 if test "$enableval" = yes; then
9522 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9524 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9529 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x
; then
9531 eval "DEFAULT_$LINE"
9536 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9540 eval "$ac_cv_use_progressdlg"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9545 if test "$wxUSE_PROGRESSDLG" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9558 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9559 if test "${enable_wizarddlg+set}" = set; then
9560 enableval
="$enable_wizarddlg"
9562 if test "$enableval" = yes; then
9563 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9565 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9570 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x
; then
9572 eval "DEFAULT_$LINE"
9577 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9581 eval "$ac_cv_use_wizarddlg"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9586 if test "$wxUSE_WIZARDDLG" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9601 # Check whether --enable-menus or --disable-menus was given.
9602 if test "${enable_menus+set}" = set; then
9603 enableval
="$enable_menus"
9605 if test "$enableval" = yes; then
9606 ac_cv_use_menus
='wxUSE_MENUS=yes'
9608 ac_cv_use_menus
='wxUSE_MENUS=no'
9613 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x
; then
9615 eval "DEFAULT_$LINE"
9620 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9624 eval "$ac_cv_use_menus"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9629 if test "$wxUSE_MENUS" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9642 # Check whether --enable-miniframe or --disable-miniframe was given.
9643 if test "${enable_miniframe+set}" = set; then
9644 enableval
="$enable_miniframe"
9646 if test "$enableval" = yes; then
9647 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9649 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9654 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x
; then
9656 eval "DEFAULT_$LINE"
9661 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9665 eval "$ac_cv_use_miniframe"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9670 if test "$wxUSE_MINIFRAME" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9683 # Check whether --enable-tooltips or --disable-tooltips was given.
9684 if test "${enable_tooltips+set}" = set; then
9685 enableval
="$enable_tooltips"
9687 if test "$enableval" = yes; then
9688 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9690 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9695 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x
; then
9697 eval "DEFAULT_$LINE"
9702 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9706 eval "$ac_cv_use_tooltips"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9711 if test "$wxUSE_TOOLTIPS" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9724 # Check whether --enable-splines or --disable-splines was given.
9725 if test "${enable_splines+set}" = set; then
9726 enableval
="$enable_splines"
9728 if test "$enableval" = yes; then
9729 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9731 ac_cv_use_splines
='wxUSE_SPLINES=no'
9736 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x
; then
9738 eval "DEFAULT_$LINE"
9743 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9747 eval "$ac_cv_use_splines"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9752 if test "$wxUSE_SPLINES" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9765 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9766 if test "${enable_mousewheel+set}" = set; then
9767 enableval
="$enable_mousewheel"
9769 if test "$enableval" = yes; then
9770 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9772 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9777 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x
; then
9779 eval "DEFAULT_$LINE"
9784 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9788 eval "$ac_cv_use_mousewheel"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9793 if test "$wxUSE_MOUSEWHEEL" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9806 # Check whether --enable-validators or --disable-validators was given.
9807 if test "${enable_validators+set}" = set; then
9808 enableval
="$enable_validators"
9810 if test "$enableval" = yes; then
9811 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9813 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9818 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x
; then
9820 eval "DEFAULT_$LINE"
9825 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9829 eval "$ac_cv_use_validators"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9834 if test "$wxUSE_VALIDATORS" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9847 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9848 if test "${enable_busyinfo+set}" = set; then
9849 enableval
="$enable_busyinfo"
9851 if test "$enableval" = yes; then
9852 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9854 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9859 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x
; then
9861 eval "DEFAULT_$LINE"
9866 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9870 eval "$ac_cv_use_busyinfo"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9875 if test "$wxUSE_BUSYINFO" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9888 # Check whether --enable-joystick or --disable-joystick was given.
9889 if test "${enable_joystick+set}" = set; then
9890 enableval
="$enable_joystick"
9892 if test "$enableval" = yes; then
9893 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9895 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9900 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x
; then
9902 eval "DEFAULT_$LINE"
9907 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9911 eval "$ac_cv_use_joystick"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9916 if test "$wxUSE_JOYSTICK" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9929 # Check whether --enable-metafile or --disable-metafile was given.
9930 if test "${enable_metafile+set}" = set; then
9931 enableval
="$enable_metafile"
9933 if test "$enableval" = yes; then
9934 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9936 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9941 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x
; then
9943 eval "DEFAULT_$LINE"
9948 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9952 eval "$ac_cv_use_metafile"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9957 if test "$wxUSE_METAFILE" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9970 # Check whether --enable-dragimage or --disable-dragimage was given.
9971 if test "${enable_dragimage+set}" = set; then
9972 enableval
="$enable_dragimage"
9974 if test "$enableval" = yes; then
9975 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9977 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9982 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x
; then
9984 eval "DEFAULT_$LINE"
9989 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9993 eval "$ac_cv_use_dragimage"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9998 if test "$wxUSE_DRAGIMAGE" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10011 # Check whether --enable-accessibility or --disable-accessibility was given.
10012 if test "${enable_accessibility+set}" = set; then
10013 enableval
="$enable_accessibility"
10015 if test "$enableval" = yes; then
10016 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10018 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10023 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x
; then
10025 eval "DEFAULT_$LINE"
10030 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10034 eval "$ac_cv_use_accessibility"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10039 if test "$wxUSE_ACCESSIBILITY" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10048 if test "$wxUSE_MSW" = "1"; then
10051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10054 # Check whether --enable-dccache or --disable-dccache was given.
10055 if test "${enable_dccache+set}" = set; then
10056 enableval
="$enable_dccache"
10058 if test "$enableval" = yes; then
10059 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10061 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10066 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x
; then
10068 eval "DEFAULT_$LINE"
10073 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10077 eval "$ac_cv_use_dccache"
10078 if test "$no_cache" != 1; then
10079 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10082 if test "$wxUSE_DC_CACHEING" = yes; then
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10098 # Check whether --enable-palette or --disable-palette was given.
10099 if test "${enable_palette+set}" = set; then
10100 enableval
="$enable_palette"
10102 if test "$enableval" = yes; then
10103 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10105 ac_cv_use_palette
='wxUSE_PALETTE=no'
10110 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x
; then
10112 eval "DEFAULT_$LINE"
10117 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10121 eval "$ac_cv_use_palette"
10122 if test "$no_cache" != 1; then
10123 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10126 if test "$wxUSE_PALETTE" = yes; then
10127 echo "$as_me:$LINENO: result: yes" >&5
10128 echo "${ECHO_T}yes" >&6
10130 echo "$as_me:$LINENO: result: no" >&5
10131 echo "${ECHO_T}no" >&6
10136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10137 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10139 # Check whether --enable-image or --disable-image was given.
10140 if test "${enable_image+set}" = set; then
10141 enableval
="$enable_image"
10143 if test "$enableval" = yes; then
10144 ac_cv_use_image
='wxUSE_IMAGE=yes'
10146 ac_cv_use_image
='wxUSE_IMAGE=no'
10151 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x
; then
10153 eval "DEFAULT_$LINE"
10158 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10162 eval "$ac_cv_use_image"
10163 if test "$no_cache" != 1; then
10164 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10167 if test "$wxUSE_IMAGE" = yes; then
10168 echo "$as_me:$LINENO: result: yes" >&5
10169 echo "${ECHO_T}yes" >&6
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10180 # Check whether --enable-gif or --disable-gif was given.
10181 if test "${enable_gif+set}" = set; then
10182 enableval
="$enable_gif"
10184 if test "$enableval" = yes; then
10185 ac_cv_use_gif
='wxUSE_GIF=yes'
10187 ac_cv_use_gif
='wxUSE_GIF=no'
10192 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x
; then
10194 eval "DEFAULT_$LINE"
10199 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10203 eval "$ac_cv_use_gif"
10204 if test "$no_cache" != 1; then
10205 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10208 if test "$wxUSE_GIF" = yes; then
10209 echo "$as_me:$LINENO: result: yes" >&5
10210 echo "${ECHO_T}yes" >&6
10212 echo "$as_me:$LINENO: result: no" >&5
10213 echo "${ECHO_T}no" >&6
10218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10219 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10221 # Check whether --enable-pcx or --disable-pcx was given.
10222 if test "${enable_pcx+set}" = set; then
10223 enableval
="$enable_pcx"
10225 if test "$enableval" = yes; then
10226 ac_cv_use_pcx
='wxUSE_PCX=yes'
10228 ac_cv_use_pcx
='wxUSE_PCX=no'
10233 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x
; then
10235 eval "DEFAULT_$LINE"
10240 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10244 eval "$ac_cv_use_pcx"
10245 if test "$no_cache" != 1; then
10246 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10249 if test "$wxUSE_PCX" = yes; then
10250 echo "$as_me:$LINENO: result: yes" >&5
10251 echo "${ECHO_T}yes" >&6
10253 echo "$as_me:$LINENO: result: no" >&5
10254 echo "${ECHO_T}no" >&6
10259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10260 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10262 # Check whether --enable-iff or --disable-iff was given.
10263 if test "${enable_iff+set}" = set; then
10264 enableval
="$enable_iff"
10266 if test "$enableval" = yes; then
10267 ac_cv_use_iff
='wxUSE_IFF=yes'
10269 ac_cv_use_iff
='wxUSE_IFF=no'
10274 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x
; then
10276 eval "DEFAULT_$LINE"
10281 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10285 eval "$ac_cv_use_iff"
10286 if test "$no_cache" != 1; then
10287 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10290 if test "$wxUSE_IFF" = yes; then
10291 echo "$as_me:$LINENO: result: yes" >&5
10292 echo "${ECHO_T}yes" >&6
10294 echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6
10300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10301 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10303 # Check whether --enable-pnm or --disable-pnm was given.
10304 if test "${enable_pnm+set}" = set; then
10305 enableval
="$enable_pnm"
10307 if test "$enableval" = yes; then
10308 ac_cv_use_pnm
='wxUSE_PNM=yes'
10310 ac_cv_use_pnm
='wxUSE_PNM=no'
10315 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x
; then
10317 eval "DEFAULT_$LINE"
10322 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10326 eval "$ac_cv_use_pnm"
10327 if test "$no_cache" != 1; then
10328 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10331 if test "$wxUSE_PNM" = yes; then
10332 echo "$as_me:$LINENO: result: yes" >&5
10333 echo "${ECHO_T}yes" >&6
10335 echo "$as_me:$LINENO: result: no" >&5
10336 echo "${ECHO_T}no" >&6
10341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10342 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10344 # Check whether --enable-xpm or --disable-xpm was given.
10345 if test "${enable_xpm+set}" = set; then
10346 enableval
="$enable_xpm"
10348 if test "$enableval" = yes; then
10349 ac_cv_use_xpm
='wxUSE_XPM=yes'
10351 ac_cv_use_xpm
='wxUSE_XPM=no'
10356 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x
; then
10358 eval "DEFAULT_$LINE"
10363 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10367 eval "$ac_cv_use_xpm"
10368 if test "$no_cache" != 1; then
10369 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10372 if test "$wxUSE_XPM" = yes; then
10373 echo "$as_me:$LINENO: result: yes" >&5
10374 echo "${ECHO_T}yes" >&6
10376 echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6
10382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10385 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10386 if test "${enable_ico_cur+set}" = set; then
10387 enableval
="$enable_ico_cur"
10389 if test "$enableval" = yes; then
10390 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10392 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10397 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x
; then
10399 eval "DEFAULT_$LINE"
10404 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10408 eval "$ac_cv_use_ico_cur"
10409 if test "$no_cache" != 1; then
10410 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10413 if test "$wxUSE_ICO_CUR" = yes; then
10414 echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6
10417 echo "$as_me:$LINENO: result: no" >&5
10418 echo "${ECHO_T}no" >&6
10426 # Check whether --with-flavour or --without-flavour was given.
10427 if test "${with_flavour+set}" = set; then
10428 withval
="$with_flavour"
10429 WX_FLAVOUR
="$withval"
10435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10436 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10438 # Check whether --enable-official_build or --disable-official_build was given.
10439 if test "${enable_official_build+set}" = set; then
10440 enableval
="$enable_official_build"
10442 if test "$enableval" = yes; then
10443 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10445 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10450 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10451 if test "x$LINE" != x
; then
10452 eval "DEFAULT_$LINE"
10457 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10461 eval "$ac_cv_use_official_build"
10462 if test "$no_cache" != 1; then
10463 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10466 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10467 echo "$as_me:$LINENO: result: yes" >&5
10468 echo "${ECHO_T}yes" >&6
10470 echo "$as_me:$LINENO: result: no" >&5
10471 echo "${ECHO_T}no" >&6
10474 # Check whether --enable-vendor or --disable-vendor was given.
10475 if test "${enable_vendor+set}" = set; then
10476 enableval
="$enable_vendor"
10477 VENDOR
="$enableval"
10479 if test "x$VENDOR" = "x"; then
10486 echo "saving argument cache $wx_arg_cache_file"
10487 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10491 echo "$as_me:$LINENO: checking for toolkit" >&5
10492 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10494 # In Wine, we need to default to MSW, not GTK or MOTIF
10495 if test "$wxUSE_WINE" = "yes"; then
10496 DEFAULT_DEFAULT_wxUSE_GTK
=0
10497 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10498 DEFAULT_DEFAULT_wxUSE_MSW
=1
10503 if test "$wxUSE_GUI" = "yes"; then
10505 if test "$USE_BEOS" = 1; then
10506 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10507 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10508 { (exit 1); exit 1; }; }
10511 if test "$TOOLKIT_GIVEN" = 1; then
10512 for toolkit
in `echo $ALL_TOOLKITS`; do
10514 eval "value=\$${var}"
10515 if test "x$value" = "xno"; then
10517 elif test "x$value" != "x"; then
10521 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10522 eval "wx${toolkit}_VERSION=$value"
10526 for toolkit
in `echo $ALL_TOOLKITS`; do
10527 if test "$has_toolkit_in_cache" != 1; then
10528 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10530 var
=DEFAULT_wxUSE_
$toolkit
10532 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10533 if test "x$version" != "x"; then
10534 eval "wx${toolkit}_VERSION=$version"
10537 eval "wxUSE_$toolkit=\$${var}"
10541 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10542 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10543 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10546 *-pc-os2_emx | *-pc-os2-emx )
10547 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10550 case "$NUM_TOOLKITS" in
10554 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10555 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10556 { (exit 1); exit 1; }; }
10559 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10560 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10561 { (exit 1); exit 1; }; }
10564 # to be removed when --disable-gtk2 isn't needed
10565 if test "x$wxUSE_GTK2" = "xyes"; then
10567 elif test "x$wxUSE_GTK2" = "xno"; then
10571 for toolkit
in `echo $ALL_TOOLKITS`; do
10573 eval "value=\$${var}"
10574 if test "x$value" != x
; then
10575 cache_var
=CACHE_
$toolkit
10576 eval "cache=\$${cache_var}"
10577 if test "$cache" = 1; then
10578 echo "$var=$value" >> ${wx_arg_cache_file}
10579 eval "version=\$wx${toolkit}_VERSION"
10580 if test "x$version" != "x"; then
10581 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10584 if test "$value" = 1; then
10585 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10586 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10587 echo "${ECHO_T}$toolkit_echo" >&6
10592 if test "x$host_alias" != "x"; then
10593 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10594 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10596 echo "$as_me:$LINENO: result: base only" >&5
10597 echo "${ECHO_T}base only" >&6
10602 doesnt_want_win32
=0
10605 if test "$wxUSE_MSW" = 1 ; then
10607 BAKEFILE_FORCE_PLATFORM
=win32
10609 doesnt_want_win32
=1
10617 if test "$wxUSE_WINE" = "yes"; then
10622 LDFLAGS_GUI
="-mwindows"
10625 if test "$wants_win32" = 1 ; then
10628 cat >>confdefs.h
<<\_ACEOF
10629 #define __WIN32__ 1
10632 cat >>confdefs.h
<<\_ACEOF
10633 #define __WIN95__ 1
10636 cat >>confdefs.h
<<\_ACEOF
10637 #define __WINDOWS__ 1
10640 cat >>confdefs.h
<<\_ACEOF
10641 #define __GNUWIN32__ 1
10644 cat >>confdefs.h
<<\_ACEOF
10648 cat >>confdefs.h
<<\_ACEOF
10649 #define WINVER 0x0400
10653 if test "$doesnt_want_win32" = 1 ; then
10658 if test "$USE_UNIX" = 1 ; then
10660 cat >>confdefs.h
<<\_ACEOF
10667 cat >confcache
<<\_ACEOF
10668 # This file is a shell script that caches the results of configure
10669 # tests run on this system so they can be shared between configure
10670 # scripts and configure runs, see configure's option --config-cache.
10671 # It is not useful on other systems. If it contains results you don't
10672 # want to keep, you may remove or edit it.
10674 # config.status only pays attention to the cache file if you give it
10675 # the --recheck option to rerun configure.
10677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10679 # following values.
10683 # The following way of writing the cache mishandles newlines in values,
10684 # but we know of no workaround that is simple, portable, and efficient.
10685 # So, don't put newlines in cache variables' values.
10686 # Ultrix sh set writes to stderr and can't be redirected directly,
10687 # and sets the high bit in the cache file unless we assign to the vars.
10690 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10692 # `set' does not quote correctly, so add quotes (double-quote
10693 # substitution turns \\\\ into \\, and sed turns \\ into \).
10696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10699 # `set' quotes correctly as required by POSIX, so do not add quotes.
10701 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10710 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10712 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10713 if test -w $cache_file; then
10714 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10715 cat confcache
>$cache_file
10717 echo "not updating unwritable cache $cache_file"
10722 if test "$build" != "$host" ; then
10723 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10725 CXX
=$host_alias-c++
10727 RANLIB
=$host_alias-ranlib
10728 DLLTOOL
=$host_alias-dlltool
10729 RESCOMP
=$host_alias-windres
10730 STRIP
=$host_alias-strip
10731 elif test "x$CC" '!=' "x"; then
10732 echo "You set CC, I assume you know what you are doing."
10734 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10735 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10736 { (exit 1); exit 1; }; }
10744 ac_cpp
='$CPP $CPPFLAGS'
10745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10748 if test -n "$ac_tool_prefix"; then
10749 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10750 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10751 echo "$as_me:$LINENO: checking for $ac_word" >&5
10752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10753 if test "${ac_cv_prog_CC+set}" = set; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6
10756 if test -n "$CC"; then
10757 ac_cv_prog_CC
="$CC" # Let the user override the test.
10759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10760 for as_dir
in $PATH
10763 test -z "$as_dir" && as_dir
=.
10764 for ac_exec_ext
in '' $ac_executable_extensions; do
10765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10766 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10776 if test -n "$CC"; then
10777 echo "$as_me:$LINENO: result: $CC" >&5
10778 echo "${ECHO_T}$CC" >&6
10780 echo "$as_me:$LINENO: result: no" >&5
10781 echo "${ECHO_T}no" >&6
10785 if test -z "$ac_cv_prog_CC"; then
10787 # Extract the first word of "gcc", so it can be a program name with args.
10788 set dummy gcc
; ac_word
=$2
10789 echo "$as_me:$LINENO: checking for $ac_word" >&5
10790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10791 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10794 if test -n "$ac_ct_CC"; then
10795 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10798 for as_dir
in $PATH
10801 test -z "$as_dir" && as_dir
=.
10802 for ac_exec_ext
in '' $ac_executable_extensions; do
10803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10804 ac_cv_prog_ac_ct_CC
="gcc"
10805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10813 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10814 if test -n "$ac_ct_CC"; then
10815 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10816 echo "${ECHO_T}$ac_ct_CC" >&6
10818 echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6
10824 CC
="$ac_cv_prog_CC"
10827 if test -z "$CC"; then
10828 if test -n "$ac_tool_prefix"; then
10829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10830 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10831 echo "$as_me:$LINENO: checking for $ac_word" >&5
10832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10833 if test "${ac_cv_prog_CC+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10836 if test -n "$CC"; then
10837 ac_cv_prog_CC
="$CC" # Let the user override the test.
10839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10840 for as_dir
in $PATH
10843 test -z "$as_dir" && as_dir
=.
10844 for ac_exec_ext
in '' $ac_executable_extensions; do
10845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10846 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10856 if test -n "$CC"; then
10857 echo "$as_me:$LINENO: result: $CC" >&5
10858 echo "${ECHO_T}$CC" >&6
10860 echo "$as_me:$LINENO: result: no" >&5
10861 echo "${ECHO_T}no" >&6
10865 if test -z "$ac_cv_prog_CC"; then
10867 # Extract the first word of "cc", so it can be a program name with args.
10868 set dummy cc
; ac_word
=$2
10869 echo "$as_me:$LINENO: checking for $ac_word" >&5
10870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 if test -n "$ac_ct_CC"; then
10875 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10878 for as_dir
in $PATH
10881 test -z "$as_dir" && as_dir
=.
10882 for ac_exec_ext
in '' $ac_executable_extensions; do
10883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10884 ac_cv_prog_ac_ct_CC
="cc"
10885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10893 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10894 if test -n "$ac_ct_CC"; then
10895 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10896 echo "${ECHO_T}$ac_ct_CC" >&6
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10904 CC
="$ac_cv_prog_CC"
10908 if test -z "$CC"; then
10909 # Extract the first word of "cc", so it can be a program name with args.
10910 set dummy cc
; ac_word
=$2
10911 echo "$as_me:$LINENO: checking for $ac_word" >&5
10912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10913 if test "${ac_cv_prog_CC+set}" = set; then
10914 echo $ECHO_N "(cached) $ECHO_C" >&6
10916 if test -n "$CC"; then
10917 ac_cv_prog_CC
="$CC" # Let the user override the test.
10919 ac_prog_rejected
=no
10920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10921 for as_dir
in $PATH
10924 test -z "$as_dir" && as_dir
=.
10925 for ac_exec_ext
in '' $ac_executable_extensions; do
10926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10927 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10928 ac_prog_rejected
=yes
10932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10938 if test $ac_prog_rejected = yes; then
10939 # We found a bogon in the path, so make sure we never use it.
10940 set dummy
$ac_cv_prog_CC
10942 if test $# != 0; then
10943 # We chose a different compiler from the bogus one.
10944 # However, it has the same basename, so the bogon will be chosen
10945 # first if we set CC to just the basename; use the full file name.
10947 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10953 if test -n "$CC"; then
10954 echo "$as_me:$LINENO: result: $CC" >&5
10955 echo "${ECHO_T}$CC" >&6
10957 echo "$as_me:$LINENO: result: no" >&5
10958 echo "${ECHO_T}no" >&6
10962 if test -z "$CC"; then
10963 if test -n "$ac_tool_prefix"; then
10966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10967 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10968 echo "$as_me:$LINENO: checking for $ac_word" >&5
10969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10970 if test "${ac_cv_prog_CC+set}" = set; then
10971 echo $ECHO_N "(cached) $ECHO_C" >&6
10973 if test -n "$CC"; then
10974 ac_cv_prog_CC
="$CC" # Let the user override the test.
10976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10977 for as_dir
in $PATH
10980 test -z "$as_dir" && as_dir
=.
10981 for ac_exec_ext
in '' $ac_executable_extensions; do
10982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10983 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10993 if test -n "$CC"; then
10994 echo "$as_me:$LINENO: result: $CC" >&5
10995 echo "${ECHO_T}$CC" >&6
10997 echo "$as_me:$LINENO: result: no" >&5
10998 echo "${ECHO_T}no" >&6
11001 test -n "$CC" && break
11004 if test -z "$CC"; then
11008 # Extract the first word of "$ac_prog", so it can be a program name with args.
11009 set dummy
$ac_prog; ac_word
=$2
11010 echo "$as_me:$LINENO: checking for $ac_word" >&5
11011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11015 if test -n "$ac_ct_CC"; then
11016 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11019 for as_dir
in $PATH
11022 test -z "$as_dir" && as_dir
=.
11023 for ac_exec_ext
in '' $ac_executable_extensions; do
11024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11025 ac_cv_prog_ac_ct_CC
="$ac_prog"
11026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11034 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11035 if test -n "$ac_ct_CC"; then
11036 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11037 echo "${ECHO_T}$ac_ct_CC" >&6
11039 echo "$as_me:$LINENO: result: no" >&5
11040 echo "${ECHO_T}no" >&6
11043 test -n "$ac_ct_CC" && break
11052 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11053 See \`config.log' for more details." >&5
11054 echo "$as_me: error: no acceptable C compiler found in \$PATH
11055 See \`config.log' for more details." >&2;}
11056 { (exit 1); exit 1; }; }
11058 # Provide some information about the compiler.
11059 echo "$as_me:$LINENO:" \
11060 "checking for C compiler version" >&5
11061 ac_compiler
=`set X $ac_compile; echo $2`
11062 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11063 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }
11067 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11068 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); }
11072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11073 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); }
11078 cat >conftest.
$ac_ext <<_ACEOF
11081 cat confdefs.h
>>conftest.
$ac_ext
11082 cat >>conftest.
$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11093 ac_clean_files_save
=$ac_clean_files
11094 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11095 # Try to create an executable without -o first, disregard a.out.
11096 # It will help us diagnose broken compilers, and finding out an intuition
11098 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11099 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11100 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11101 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11102 (eval $ac_link_default) 2>&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; then
11106 # Find the output, starting from the most likely. This scheme is
11107 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11110 # Be careful to initialize this variable, since it used to be cached.
11111 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11113 # b.out is created by i960 compilers.
11114 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11116 test -f "$ac_file" || continue
11118 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11121 # This is the source file.
11124 # We found the default executable, but exeext='' is most
11128 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11129 # FIXME: I believe we export ac_cv_exeext for Libtool,
11130 # but it would be cool to find out if it's true. Does anybody
11131 # maintain Libtool? --akim.
11132 export ac_cv_exeext
11139 echo "$as_me: failed program was:" >&5
11140 sed 's/^/| /' conftest.
$ac_ext >&5
11142 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11143 See \`config.log' for more details." >&5
11144 echo "$as_me: error: C compiler cannot create executables
11145 See \`config.log' for more details." >&2;}
11146 { (exit 77); exit 77; }; }
11149 ac_exeext
=$ac_cv_exeext
11150 echo "$as_me:$LINENO: result: $ac_file" >&5
11151 echo "${ECHO_T}$ac_file" >&6
11153 # Check the compiler produces executables we can run. If not, either
11154 # the compiler is broken, or we cross compile.
11155 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11156 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11157 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11158 # If not cross compiling, check that we can run a simple program.
11159 if test "$cross_compiling" != yes; then
11160 if { ac_try
='./$ac_file'
11161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11162 (eval $ac_try) 2>&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); }; }; then
11168 if test "$cross_compiling" = maybe
; then
11169 cross_compiling
=yes
11171 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11172 If you meant to cross compile, use \`--host'.
11173 See \`config.log' for more details." >&5
11174 echo "$as_me: error: cannot run C compiled programs.
11175 If you meant to cross compile, use \`--host'.
11176 See \`config.log' for more details." >&2;}
11177 { (exit 1); exit 1; }; }
11181 echo "$as_me:$LINENO: result: yes" >&5
11182 echo "${ECHO_T}yes" >&6
11184 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11185 ac_clean_files
=$ac_clean_files_save
11186 # Check the compiler produces executables we can run. If not, either
11187 # the compiler is broken, or we cross compile.
11188 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11189 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11190 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11191 echo "${ECHO_T}$cross_compiling" >&6
11193 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11194 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11196 (eval $ac_link) 2>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; then
11200 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11201 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11202 # work properly (i.e., refer to `conftest.exe'), while it won't with
11204 for ac_file
in conftest.exe conftest conftest.
*; do
11205 test -f "$ac_file" || continue
11207 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11208 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11209 export ac_cv_exeext
11215 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11216 See \`config.log' for more details." >&5
11217 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11218 See \`config.log' for more details." >&2;}
11219 { (exit 1); exit 1; }; }
11222 rm -f conftest
$ac_cv_exeext
11223 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11224 echo "${ECHO_T}$ac_cv_exeext" >&6
11226 rm -f conftest.
$ac_ext
11227 EXEEXT
=$ac_cv_exeext
11229 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11230 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11231 if test "${ac_cv_objext+set}" = set; then
11232 echo $ECHO_N "(cached) $ECHO_C" >&6
11234 cat >conftest.
$ac_ext <<_ACEOF
11237 cat confdefs.h
>>conftest.
$ac_ext
11238 cat >>conftest.
$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11249 rm -f conftest.o conftest.obj
11250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11251 (eval $ac_compile) 2>&5
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; then
11255 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11257 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11258 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11263 echo "$as_me: failed program was:" >&5
11264 sed 's/^/| /' conftest.
$ac_ext >&5
11266 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11267 See \`config.log' for more details." >&5
11268 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11269 See \`config.log' for more details." >&2;}
11270 { (exit 1); exit 1; }; }
11273 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11275 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11276 echo "${ECHO_T}$ac_cv_objext" >&6
11277 OBJEXT
=$ac_cv_objext
11279 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11280 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11281 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11282 echo $ECHO_N "(cached) $ECHO_C" >&6
11284 cat >conftest.
$ac_ext <<_ACEOF
11287 cat confdefs.h
>>conftest.
$ac_ext
11288 cat >>conftest.
$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11302 rm -f conftest.
$ac_objext
11303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11304 (eval $ac_compile) 2>conftest.er1
11306 grep -v '^ *+' conftest.er1
>conftest.err
11308 cat conftest.err
>&5
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); } &&
11311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; } &&
11317 { ac_try
='test -s conftest.$ac_objext'
11318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11319 (eval $ac_try) 2>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); }; }; then
11323 ac_compiler_gnu
=yes
11325 echo "$as_me: failed program was:" >&5
11326 sed 's/^/| /' conftest.
$ac_ext >&5
11330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11331 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11336 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11337 ac_test_CFLAGS
=${CFLAGS+set}
11338 ac_save_CFLAGS
=$CFLAGS
11340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11342 if test "${ac_cv_prog_cc_g+set}" = set; then
11343 echo $ECHO_N "(cached) $ECHO_C" >&6
11345 cat >conftest.
$ac_ext <<_ACEOF
11348 cat confdefs.h
>>conftest.
$ac_ext
11349 cat >>conftest.
$ac_ext <<_ACEOF
11350 /* end confdefs.h. */
11360 rm -f conftest.
$ac_objext
11361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11362 (eval $ac_compile) 2>conftest.er1
11364 grep -v '^ *+' conftest.er1
>conftest.err
11366 cat conftest.err
>&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } &&
11369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try
='test -s conftest.$ac_objext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11381 ac_cv_prog_cc_g
=yes
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.
$ac_ext >&5
11388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11390 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11391 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11392 if test "$ac_test_CFLAGS" = set; then
11393 CFLAGS
=$ac_save_CFLAGS
11394 elif test $ac_cv_prog_cc_g = yes; then
11395 if test "$GCC" = yes; then
11401 if test "$GCC" = yes; then
11407 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11408 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11409 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11410 echo $ECHO_N "(cached) $ECHO_C" >&6
11412 ac_cv_prog_cc_stdc
=no
11414 cat >conftest.
$ac_ext <<_ACEOF
11417 cat confdefs.h
>>conftest.
$ac_ext
11418 cat >>conftest.
$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11420 #include <stdarg.h>
11422 #include <sys/types.h>
11423 #include <sys/stat.h>
11424 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11425 struct buf { int x; };
11426 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11427 static char *e (p, i)
11433 static char *f (char * (*g) (char **, int), char **p, ...)
11438 s = g (p, va_arg (v,int));
11443 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11444 function prototypes and stuff, but not '\xHH' hex character constants.
11445 These don't provoke an error unfortunately, instead are silently treated
11446 as 'x'. The following induces an error, until -std1 is added to get
11447 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11448 array size at least. It's necessary to write '\x00'==0 to get something
11449 that's true only with -std1. */
11450 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11452 int test (int i, double x);
11453 struct s1 {int (*f) (int a);};
11454 struct s2 {int (*f) (double a);};
11455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11461 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11466 # Don't try gcc -ansi; that turns off useful extensions and
11467 # breaks some systems' header files.
11468 # AIX -qlanglvl=ansi
11469 # Ultrix and OSF/1 -std1
11470 # HP-UX 10.20 and later -Ae
11471 # HP-UX older versions -Aa -D_HPUX_SOURCE
11472 # SVR4 -Xc -D__EXTENSIONS__
11473 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11475 CC
="$ac_save_CC $ac_arg"
11476 rm -f conftest.
$ac_objext
11477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11478 (eval $ac_compile) 2>conftest.er1
11480 grep -v '^ *+' conftest.er1
>conftest.err
11482 cat conftest.err
>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } &&
11485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11487 (eval $ac_try) 2>&5
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }; } &&
11491 { ac_try
='test -s conftest.$ac_objext'
11492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11493 (eval $ac_try) 2>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); }; }; then
11497 ac_cv_prog_cc_stdc
=$ac_arg
11500 echo "$as_me: failed program was:" >&5
11501 sed 's/^/| /' conftest.
$ac_ext >&5
11504 rm -f conftest.err conftest.
$ac_objext
11506 rm -f conftest.
$ac_ext conftest.
$ac_objext
11511 case "x$ac_cv_prog_cc_stdc" in
11513 echo "$as_me:$LINENO: result: none needed" >&5
11514 echo "${ECHO_T}none needed" >&6 ;;
11516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11517 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11518 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11521 # Some people use a C++ compiler to compile C. Since we use `exit',
11522 # in C++ we need to declare it. In case someone uses the same compiler
11523 # for both compiling C and C++ we need to have the C++ compiler decide
11524 # the declaration of exit, since it's the most demanding environment.
11525 cat >conftest.
$ac_ext <<_ACEOF
11526 #ifndef __cplusplus
11530 rm -f conftest.
$ac_objext
11531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11532 (eval $ac_compile) 2>conftest.er1
11534 grep -v '^ *+' conftest.er1
>conftest.err
11536 cat conftest.err
>&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } &&
11539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11541 (eval $ac_try) 2>&5
11543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); }; } &&
11545 { ac_try
='test -s conftest.$ac_objext'
11546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11547 (eval $ac_try) 2>&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); }; }; then
11551 for ac_declaration
in \
11553 'extern "C" void std::exit (int) throw (); using std::exit;' \
11554 'extern "C" void std::exit (int); using std::exit;' \
11555 'extern "C" void exit (int) throw ();' \
11556 'extern "C" void exit (int);' \
11559 cat >conftest.
$ac_ext <<_ACEOF
11562 cat confdefs.h
>>conftest.
$ac_ext
11563 cat >>conftest.
$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11566 #include <stdlib.h>
11575 rm -f conftest.
$ac_objext
11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11577 (eval $ac_compile) 2>conftest.er1
11579 grep -v '^ *+' conftest.er1
>conftest.err
11581 cat conftest.err
>&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); } &&
11584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11586 (eval $ac_try) 2>&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); }; } &&
11590 { ac_try
='test -s conftest.$ac_objext'
11591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11592 (eval $ac_try) 2>&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); }; }; then
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.
$ac_ext >&5
11603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11604 cat >conftest.
$ac_ext <<_ACEOF
11607 cat confdefs.h
>>conftest.
$ac_ext
11608 cat >>conftest.
$ac_ext <<_ACEOF
11609 /* end confdefs.h. */
11619 rm -f conftest.
$ac_objext
11620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11621 (eval $ac_compile) 2>conftest.er1
11623 grep -v '^ *+' conftest.er1
>conftest.err
11625 cat conftest.err
>&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } &&
11628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11630 (eval $ac_try) 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; } &&
11634 { ac_try
='test -s conftest.$ac_objext'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; }; then
11642 echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.
$ac_ext >&5
11646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11649 if test -n "$ac_declaration"; then
11650 echo '#ifdef __cplusplus' >>confdefs.h
11651 echo $ac_declaration >>confdefs.h
11652 echo '#endif' >>confdefs.h
11656 echo "$as_me: failed program was:" >&5
11657 sed 's/^/| /' conftest.
$ac_ext >&5
11660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11662 ac_cpp
='$CPP $CPPFLAGS'
11663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11667 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11668 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11669 if test "${wx_cv_c_exto+set}" = set; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 cat >conftest.
$ac_ext <<_ACEOF
11675 cat confdefs.h
>>conftest.
$ac_ext
11676 cat >>conftest.
$ac_ext <<_ACEOF
11677 /* end confdefs.h. */
11687 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11689 (eval $ac_compile) 2>&5
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; then
11693 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11695 conftest.
$ac_ext.o
)
11696 wx_cv_c_exto
="-ext o"
11703 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11704 See \`config.log' for more details." >&5
11705 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11706 See \`config.log' for more details." >&2;}
11707 { (exit 1); exit 1; }; }
11711 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11714 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11715 echo "${ECHO_T}$wx_cv_c_exto" >&6
11716 if test "x$wx_cv_c_exto" '!=' "x"; then
11717 if test "c" = "c"; then
11718 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11720 if test "c" = "cxx"; then
11721 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11725 if test "x$wx_cv_c_exto" '!=' "x"; then
11726 unset ac_cv_prog_cc_g
11727 ac_test_CFLAGS
=${CFLAGS+set}
11728 ac_save_CFLAGS
=$CFLAGS
11730 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11731 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11732 if test "${ac_cv_prog_cc_g+set}" = set; then
11733 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 cat >conftest.
$ac_ext <<_ACEOF
11738 cat confdefs.h
>>conftest.
$ac_ext
11739 cat >>conftest.
$ac_ext <<_ACEOF
11740 /* end confdefs.h. */
11750 rm -f conftest.
$ac_objext
11751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11752 (eval $ac_compile) 2>conftest.er1
11754 grep -v '^ *+' conftest.er1
>conftest.err
11756 cat conftest.err
>&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); } &&
11759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; } &&
11765 { ac_try
='test -s conftest.$ac_objext'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; }; then
11771 ac_cv_prog_cc_g
=yes
11773 echo "$as_me: failed program was:" >&5
11774 sed 's/^/| /' conftest.
$ac_ext >&5
11778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11780 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11781 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11782 if test "$ac_test_CFLAGS" = set; then
11783 CFLAGS
=$ac_save_CFLAGS
11784 elif test $ac_cv_prog_cc_g = yes; then
11785 if test "$GCC" = yes; then
11791 if test "$GCC" = yes; then
11799 ac_cpp
='$CPP $CPPFLAGS'
11800 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11801 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11802 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11804 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11805 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11806 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 cat >conftest.
$ac_ext <<_ACEOF
11812 cat confdefs.h
>>conftest.
$ac_ext
11813 cat >>conftest.
$ac_ext <<_ACEOF
11814 /* end confdefs.h. */
11827 rm -f conftest.
$ac_objext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11829 (eval $ac_compile) 2>conftest.er1
11831 grep -v '^ *+' conftest.er1
>conftest.err
11833 cat conftest.err
>&5
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); } &&
11836 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; } &&
11842 { ac_try
='test -s conftest.$ac_objext'
11843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; }; then
11848 bakefile_compiler_mwerks
=yes
11850 echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.
$ac_ext >&5
11853 bakefile_compiler_mwerks
=no
11855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11856 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11859 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11860 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11862 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11864 ac_cpp
='$CPP $CPPFLAGS'
11865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11871 ac_cpp
='$CPP $CPPFLAGS'
11872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11876 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11877 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11878 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 cat >conftest.
$ac_ext <<_ACEOF
11884 cat confdefs.h
>>conftest.
$ac_ext
11885 cat >>conftest.
$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11899 rm -f conftest.
$ac_objext
11900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11901 (eval $ac_compile) 2>conftest.er1
11903 grep -v '^ *+' conftest.er1
>conftest.err
11905 cat conftest.err
>&5
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); } &&
11908 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11910 (eval $ac_try) 2>&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }; } &&
11914 { ac_try
='test -s conftest.$ac_objext'
11915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11916 (eval $ac_try) 2>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); }; }; then
11920 wx_compiler_xlc
=yes
11922 echo "$as_me: failed program was:" >&5
11923 sed 's/^/| /' conftest.
$ac_ext >&5
11927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11928 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11931 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11932 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11934 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11936 ac_cpp
='$CPP $CPPFLAGS'
11937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11945 ac_cpp
='$CPP $CPPFLAGS'
11946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11950 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
11951 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
11952 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11955 cat >conftest.
$ac_ext <<_ACEOF
11958 cat confdefs.h
>>conftest.
$ac_ext
11959 cat >>conftest.
$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11974 rm -f conftest.
$ac_objext
11975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11976 (eval $ac_compile) 2>conftest.er1
11978 grep -v '^ *+' conftest.er1
>conftest.err
11980 cat conftest.err
>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } &&
11983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; } &&
11989 { ac_try
='test -s conftest.$ac_objext'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 bakefile_cv_c_compiler___SUNPRO_C
=yes
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.
$ac_ext >&5
12000 bakefile_cv_c_compiler___SUNPRO_C
=no
12003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12007 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12008 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12010 ac_cpp
='$CPP $CPPFLAGS'
12011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12015 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12025 ac_cpp
='$CPP $CPPFLAGS'
12026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12029 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12030 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12031 # On Suns, sometimes $CPP names a directory.
12032 if test -n "$CPP" && test -d "$CPP"; then
12035 if test -z "$CPP"; then
12036 if test "${ac_cv_prog_CPP+set}" = set; then
12037 echo $ECHO_N "(cached) $ECHO_C" >&6
12039 # Double quotes because CPP needs to be expanded
12040 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12042 ac_preproc_ok
=false
12043 for ac_c_preproc_warn_flag
in '' yes
12045 # Use a header file that comes with gcc, so configuring glibc
12046 # with a fresh cross-compiler works.
12047 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12048 # <limits.h> exists even on freestanding compilers.
12049 # On the NeXT, cc -E runs the code through the compiler's parser,
12050 # not just through cpp. "Syntax error" is here to catch this case.
12051 cat >conftest.
$ac_ext <<_ACEOF
12054 cat confdefs.h
>>conftest.
$ac_ext
12055 cat >>conftest.
$ac_ext <<_ACEOF
12056 /* end confdefs.h. */
12058 # include <limits.h>
12060 # include <assert.h>
12064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12065 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12067 grep -v '^ *+' conftest.er1
>conftest.err
12069 cat conftest.err
>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); } >/dev
/null
; then
12072 if test -s conftest.err
; then
12073 ac_cpp_err
=$ac_c_preproc_warn_flag
12074 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12081 if test -z "$ac_cpp_err"; then
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.
$ac_ext >&5
12087 # Broken: fails on valid input.
12090 rm -f conftest.err conftest.
$ac_ext
12092 # OK, works on sane cases. Now check whether non-existent headers
12093 # can be detected and how.
12094 cat >conftest.
$ac_ext <<_ACEOF
12097 cat confdefs.h
>>conftest.
$ac_ext
12098 cat >>conftest.
$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12100 #include <ac_nonexistent.h>
12102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12103 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12105 grep -v '^ *+' conftest.er1
>conftest.err
12107 cat conftest.err
>&5
12108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109 (exit $ac_status); } >/dev
/null
; then
12110 if test -s conftest.err
; then
12111 ac_cpp_err
=$ac_c_preproc_warn_flag
12112 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12119 if test -z "$ac_cpp_err"; then
12120 # Broken: success on invalid input.
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.
$ac_ext >&5
12126 # Passes both tests.
12130 rm -f conftest.err conftest.
$ac_ext
12133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12134 rm -f conftest.err conftest.
$ac_ext
12135 if $ac_preproc_ok; then
12140 ac_cv_prog_CPP
=$CPP
12143 CPP
=$ac_cv_prog_CPP
12145 ac_cv_prog_CPP
=$CPP
12147 echo "$as_me:$LINENO: result: $CPP" >&5
12148 echo "${ECHO_T}$CPP" >&6
12149 ac_preproc_ok
=false
12150 for ac_c_preproc_warn_flag
in '' yes
12152 # Use a header file that comes with gcc, so configuring glibc
12153 # with a fresh cross-compiler works.
12154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12155 # <limits.h> exists even on freestanding compilers.
12156 # On the NeXT, cc -E runs the code through the compiler's parser,
12157 # not just through cpp. "Syntax error" is here to catch this case.
12158 cat >conftest.
$ac_ext <<_ACEOF
12161 cat confdefs.h
>>conftest.
$ac_ext
12162 cat >>conftest.
$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12165 # include <limits.h>
12167 # include <assert.h>
12171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12172 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12174 grep -v '^ *+' conftest.er1
>conftest.err
12176 cat conftest.err
>&5
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); } >/dev
/null
; then
12179 if test -s conftest.err
; then
12180 ac_cpp_err
=$ac_c_preproc_warn_flag
12181 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12188 if test -z "$ac_cpp_err"; then
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.
$ac_ext >&5
12194 # Broken: fails on valid input.
12197 rm -f conftest.err conftest.
$ac_ext
12199 # OK, works on sane cases. Now check whether non-existent headers
12200 # can be detected and how.
12201 cat >conftest.
$ac_ext <<_ACEOF
12204 cat confdefs.h
>>conftest.
$ac_ext
12205 cat >>conftest.
$ac_ext <<_ACEOF
12206 /* end confdefs.h. */
12207 #include <ac_nonexistent.h>
12209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12210 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12212 grep -v '^ *+' conftest.er1
>conftest.err
12214 cat conftest.err
>&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } >/dev
/null
; then
12217 if test -s conftest.err
; then
12218 ac_cpp_err
=$ac_c_preproc_warn_flag
12219 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12226 if test -z "$ac_cpp_err"; then
12227 # Broken: success on invalid input.
12230 echo "$as_me: failed program was:" >&5
12231 sed 's/^/| /' conftest.
$ac_ext >&5
12233 # Passes both tests.
12237 rm -f conftest.err conftest.
$ac_ext
12240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12241 rm -f conftest.err conftest.
$ac_ext
12242 if $ac_preproc_ok; then
12245 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12246 See \`config.log' for more details." >&5
12247 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12248 See \`config.log' for more details." >&2;}
12249 { (exit 1); exit 1; }; }
12253 ac_cpp
='$CPP $CPPFLAGS'
12254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12259 echo "$as_me:$LINENO: checking for egrep" >&5
12260 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12261 if test "${ac_cv_prog_egrep+set}" = set; then
12262 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12265 then ac_cv_prog_egrep
='grep -E'
12266 else ac_cv_prog_egrep
='egrep'
12269 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12270 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12271 EGREP
=$ac_cv_prog_egrep
12274 if test $ac_cv_c_compiler_gnu = yes; then
12275 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12276 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12277 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12278 echo $ECHO_N "(cached) $ECHO_C" >&6
12280 ac_pattern
="Autoconf.*'x'"
12281 cat >conftest.
$ac_ext <<_ACEOF
12284 cat confdefs.h
>>conftest.
$ac_ext
12285 cat >>conftest.
$ac_ext <<_ACEOF
12286 /* end confdefs.h. */
12290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12291 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12292 ac_cv_prog_gcc_traditional
=yes
12294 ac_cv_prog_gcc_traditional
=no
12299 if test $ac_cv_prog_gcc_traditional = no
; then
12300 cat >conftest.
$ac_ext <<_ACEOF
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 #include <termio.h>
12309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12310 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12311 ac_cv_prog_gcc_traditional
=yes
12317 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12318 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12319 if test $ac_cv_prog_gcc_traditional = yes; then
12320 CC
="$CC -traditional"
12328 ac_cpp
='$CXXCPP $CPPFLAGS'
12329 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12330 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12331 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12334 CXXFLAGS
=${CXXFLAGS:=}
12338 ac_cpp
='$CXXCPP $CPPFLAGS'
12339 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12340 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12341 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12342 if test -n "$ac_tool_prefix"; then
12343 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12346 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12347 echo "$as_me:$LINENO: checking for $ac_word" >&5
12348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12349 if test "${ac_cv_prog_CXX+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12352 if test -n "$CXX"; then
12353 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12356 for as_dir
in $PATH
12359 test -z "$as_dir" && as_dir
=.
12360 for ac_exec_ext
in '' $ac_executable_extensions; do
12361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12362 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12371 CXX
=$ac_cv_prog_CXX
12372 if test -n "$CXX"; then
12373 echo "$as_me:$LINENO: result: $CXX" >&5
12374 echo "${ECHO_T}$CXX" >&6
12376 echo "$as_me:$LINENO: result: no" >&5
12377 echo "${ECHO_T}no" >&6
12380 test -n "$CXX" && break
12383 if test -z "$CXX"; then
12385 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12387 # Extract the first word of "$ac_prog", so it can be a program name with args.
12388 set dummy
$ac_prog; ac_word
=$2
12389 echo "$as_me:$LINENO: checking for $ac_word" >&5
12390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12391 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12392 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 if test -n "$ac_ct_CXX"; then
12395 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12398 for as_dir
in $PATH
12401 test -z "$as_dir" && as_dir
=.
12402 for ac_exec_ext
in '' $ac_executable_extensions; do
12403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12404 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12413 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12414 if test -n "$ac_ct_CXX"; then
12415 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12416 echo "${ECHO_T}$ac_ct_CXX" >&6
12418 echo "$as_me:$LINENO: result: no" >&5
12419 echo "${ECHO_T}no" >&6
12422 test -n "$ac_ct_CXX" && break
12424 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12430 # Provide some information about the compiler.
12431 echo "$as_me:$LINENO:" \
12432 "checking for C++ compiler version" >&5
12433 ac_compiler
=`set X $ac_compile; echo $2`
12434 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12435 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }
12439 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12440 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }
12444 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12445 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); }
12450 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12451 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12452 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12455 cat >conftest.
$ac_ext <<_ACEOF
12458 cat confdefs.h
>>conftest.
$ac_ext
12459 cat >>conftest.
$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12473 rm -f conftest.
$ac_objext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>conftest.er1
12477 grep -v '^ *+' conftest.er1
>conftest.err
12479 cat conftest.err
>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } &&
12482 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try
='test -s conftest.$ac_objext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; }; then
12494 ac_compiler_gnu
=yes
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.
$ac_ext >&5
12501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12502 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12505 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12506 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12507 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12508 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12509 ac_save_CXXFLAGS
=$CXXFLAGS
12511 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12512 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12513 if test "${ac_cv_prog_cxx_g+set}" = set; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 cat >conftest.
$ac_ext <<_ACEOF
12519 cat confdefs.h
>>conftest.
$ac_ext
12520 cat >>conftest.
$ac_ext <<_ACEOF
12521 /* end confdefs.h. */
12531 rm -f conftest.
$ac_objext
12532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12533 (eval $ac_compile) 2>conftest.er1
12535 grep -v '^ *+' conftest.er1
>conftest.err
12537 cat conftest.err
>&5
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); } &&
12540 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try
='test -s conftest.$ac_objext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_prog_cxx_g
=yes
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.
$ac_ext >&5
12557 ac_cv_prog_cxx_g
=no
12559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12561 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12562 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12563 if test "$ac_test_CXXFLAGS" = set; then
12564 CXXFLAGS
=$ac_save_CXXFLAGS
12565 elif test $ac_cv_prog_cxx_g = yes; then
12566 if test "$GXX" = yes; then
12572 if test "$GXX" = yes; then
12578 for ac_declaration
in \
12580 'extern "C" void std::exit (int) throw (); using std::exit;' \
12581 'extern "C" void std::exit (int); using std::exit;' \
12582 'extern "C" void exit (int) throw ();' \
12583 'extern "C" void exit (int);' \
12586 cat >conftest.
$ac_ext <<_ACEOF
12589 cat confdefs.h
>>conftest.
$ac_ext
12590 cat >>conftest.
$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12593 #include <stdlib.h>
12602 rm -f conftest.
$ac_objext
12603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12604 (eval $ac_compile) 2>conftest.er1
12606 grep -v '^ *+' conftest.er1
>conftest.err
12608 cat conftest.err
>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } &&
12611 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; } &&
12617 { ac_try
='test -s conftest.$ac_objext'
12618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12619 (eval $ac_try) 2>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); }; }; then
12625 echo "$as_me: failed program was:" >&5
12626 sed 's/^/| /' conftest.
$ac_ext >&5
12630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12631 cat >conftest.
$ac_ext <<_ACEOF
12634 cat confdefs.h
>>conftest.
$ac_ext
12635 cat >>conftest.
$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12646 rm -f conftest.
$ac_objext
12647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12648 (eval $ac_compile) 2>conftest.er1
12650 grep -v '^ *+' conftest.er1
>conftest.err
12652 cat conftest.err
>&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } &&
12655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12657 (eval $ac_try) 2>&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); }; } &&
12661 { ac_try
='test -s conftest.$ac_objext'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; }; then
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.
$ac_ext >&5
12673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12676 if test -n "$ac_declaration"; then
12677 echo '#ifdef __cplusplus' >>confdefs.h
12678 echo $ac_declaration >>confdefs.h
12679 echo '#endif' >>confdefs.h
12683 ac_cpp
='$CXXCPP $CPPFLAGS'
12684 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12685 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12686 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12688 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12689 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12690 if test "${wx_cv_cxx_exto+set}" = set; then
12691 echo $ECHO_N "(cached) $ECHO_C" >&6
12693 cat >conftest.
$ac_ext <<_ACEOF
12696 cat confdefs.h
>>conftest.
$ac_ext
12697 cat >>conftest.
$ac_ext <<_ACEOF
12698 /* end confdefs.h. */
12708 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12710 (eval $ac_compile) 2>&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); }; then
12714 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12716 conftest.
$ac_ext.o
)
12717 wx_cv_cxx_exto
="-ext o"
12724 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12725 See \`config.log' for more details." >&5
12726 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12727 See \`config.log' for more details." >&2;}
12728 { (exit 1); exit 1; }; }
12732 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12735 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12736 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12737 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12738 if test "cxx" = "c"; then
12739 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12741 if test "cxx" = "cxx"; then
12742 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12746 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12747 unset ac_cv_prog_cxx_g
12748 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12749 ac_save_CXXFLAGS
=$CXXFLAGS
12751 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12752 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12753 if test "${ac_cv_prog_cxx_g+set}" = set; then
12754 echo $ECHO_N "(cached) $ECHO_C" >&6
12756 cat >conftest.
$ac_ext <<_ACEOF
12759 cat confdefs.h
>>conftest.
$ac_ext
12760 cat >>conftest.
$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12771 rm -f conftest.
$ac_objext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>conftest.er1
12775 grep -v '^ *+' conftest.er1
>conftest.err
12777 cat conftest.err
>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; } &&
12786 { ac_try
='test -s conftest.$ac_objext'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 ac_cv_prog_cxx_g
=yes
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.
$ac_ext >&5
12797 ac_cv_prog_cxx_g
=no
12799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12801 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12802 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12803 if test "$ac_test_CXXFLAGS" = set; then
12804 CXXFLAGS
=$ac_save_CXXFLAGS
12805 elif test $ac_cv_prog_cxx_g = yes; then
12806 if test "$GXX" = yes; then
12812 if test "$GXX" = yes; then
12820 ac_cpp
='$CXXCPP $CPPFLAGS'
12821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12825 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12826 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12827 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12828 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 cat >conftest.
$ac_ext <<_ACEOF
12833 cat confdefs.h
>>conftest.
$ac_ext
12834 cat >>conftest.
$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12848 rm -f conftest.
$ac_objext
12849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12850 (eval $ac_compile) 2>conftest.er1
12852 grep -v '^ *+' conftest.er1
>conftest.err
12854 cat conftest.err
>&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); } &&
12857 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12859 (eval $ac_try) 2>&5
12861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12862 (exit $ac_status); }; } &&
12863 { ac_try
='test -s conftest.$ac_objext'
12864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12865 (eval $ac_try) 2>&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); }; }; then
12869 bakefile_compiler_mwerks
=yes
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.
$ac_ext >&5
12874 bakefile_compiler_mwerks
=no
12876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12877 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12880 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12881 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12883 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12885 ac_cpp
='$CXXCPP $CPPFLAGS'
12886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12892 ac_cpp
='$CXXCPP $CPPFLAGS'
12893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12897 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12898 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12899 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 cat >conftest.
$ac_ext <<_ACEOF
12905 cat confdefs.h
>>conftest.
$ac_ext
12906 cat >>conftest.
$ac_ext <<_ACEOF
12907 /* end confdefs.h. */
12920 rm -f conftest.
$ac_objext
12921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12922 (eval $ac_compile) 2>conftest.er1
12924 grep -v '^ *+' conftest.er1
>conftest.err
12926 cat conftest.err
>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); } &&
12929 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; } &&
12935 { ac_try
='test -s conftest.$ac_objext'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; }; then
12941 wx_compiler_xlc
=yes
12943 echo "$as_me: failed program was:" >&5
12944 sed 's/^/| /' conftest.
$ac_ext >&5
12948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12949 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
12952 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
12953 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
12955 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
12957 ac_cpp
='$CXXCPP $CPPFLAGS'
12958 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12959 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12960 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12966 ac_cpp
='$CXXCPP $CPPFLAGS'
12967 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12968 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12969 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12971 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
12972 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
12973 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 cat >conftest.
$ac_ext <<_ACEOF
12979 cat confdefs.h
>>conftest.
$ac_ext
12980 cat >>conftest.
$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12987 #ifndef __SUNPRO_CC
12995 rm -f conftest.
$ac_objext
12996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12997 (eval $ac_compile) 2>conftest.er1
12999 grep -v '^ *+' conftest.er1
>conftest.err
13001 cat conftest.err
>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); } &&
13004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13006 (eval $ac_try) 2>&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; } &&
13010 { ac_try
='test -s conftest.$ac_objext'
13011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13012 (eval $ac_try) 2>&5
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); }; }; then
13016 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
13018 echo "$as_me: failed program was:" >&5
13019 sed 's/^/| /' conftest.
$ac_ext >&5
13021 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
13024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13028 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13029 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13031 ac_cpp
='$CXXCPP $CPPFLAGS'
13032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13036 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13046 ac_cpp
='$CPP $CPPFLAGS'
13047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13052 if test -n "$ac_tool_prefix"; then
13053 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13054 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13055 echo "$as_me:$LINENO: checking for $ac_word" >&5
13056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13057 if test "${ac_cv_prog_RANLIB+set}" = set; then
13058 echo $ECHO_N "(cached) $ECHO_C" >&6
13060 if test -n "$RANLIB"; then
13061 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13064 for as_dir
in $PATH
13067 test -z "$as_dir" && as_dir
=.
13068 for ac_exec_ext
in '' $ac_executable_extensions; do
13069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13070 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13079 RANLIB
=$ac_cv_prog_RANLIB
13080 if test -n "$RANLIB"; then
13081 echo "$as_me:$LINENO: result: $RANLIB" >&5
13082 echo "${ECHO_T}$RANLIB" >&6
13084 echo "$as_me:$LINENO: result: no" >&5
13085 echo "${ECHO_T}no" >&6
13089 if test -z "$ac_cv_prog_RANLIB"; then
13090 ac_ct_RANLIB
=$RANLIB
13091 # Extract the first word of "ranlib", so it can be a program name with args.
13092 set dummy ranlib
; ac_word
=$2
13093 echo "$as_me:$LINENO: checking for $ac_word" >&5
13094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13095 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 if test -n "$ac_ct_RANLIB"; then
13099 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13102 for as_dir
in $PATH
13105 test -z "$as_dir" && as_dir
=.
13106 for ac_exec_ext
in '' $ac_executable_extensions; do
13107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13108 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13115 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13118 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13119 if test -n "$ac_ct_RANLIB"; then
13120 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13121 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13123 echo "$as_me:$LINENO: result: no" >&5
13124 echo "${ECHO_T}no" >&6
13127 RANLIB
=$ac_ct_RANLIB
13129 RANLIB
="$ac_cv_prog_RANLIB"
13133 # Extract the first word of "ar", so it can be a program name with args.
13134 set dummy
ar; ac_word
=$2
13135 echo "$as_me:$LINENO: checking for $ac_word" >&5
13136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13137 if test "${ac_cv_prog_AR+set}" = set; then
13138 echo $ECHO_N "(cached) $ECHO_C" >&6
13140 if test -n "$AR"; then
13141 ac_cv_prog_AR
="$AR" # Let the user override the test.
13143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13144 for as_dir
in $PATH
13147 test -z "$as_dir" && as_dir
=.
13148 for ac_exec_ext
in '' $ac_executable_extensions; do
13149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13160 if test -n "$AR"; then
13161 echo "$as_me:$LINENO: result: $AR" >&5
13162 echo "${ECHO_T}$AR" >&6
13164 echo "$as_me:$LINENO: result: no" >&5
13165 echo "${ECHO_T}no" >&6
13168 if test "x$AR" = "x" ; then
13169 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13170 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13171 { (exit 1); exit 1; }; }
13174 # Find a good install program. We prefer a C program (faster),
13175 # so one script is as good as another. But avoid the broken or
13176 # incompatible versions:
13177 # SysV /etc/install, /usr/sbin/install
13178 # SunOS /usr/etc/install
13179 # IRIX /sbin/install
13181 # AmigaOS /C/install, which installs bootblocks on floppy discs
13182 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13183 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13184 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13185 # OS/2's system install, which has a completely different semantic
13186 # ./install, which can be erroneously created by make from ./install.sh.
13187 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13188 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13189 if test -z "$INSTALL"; then
13190 if test "${ac_cv_path_install+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13194 for as_dir
in $PATH
13197 test -z "$as_dir" && as_dir
=.
13198 # Account for people who put trailing slashes in PATH elements.
13200 .
/ | .
// | /cC
/* | \
13201 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13202 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13205 # OSF1 and SCO ODT 3.0 have their own names for install.
13206 # Don't use installbsd from OSF since it installs stuff as root
13208 for ac_prog
in ginstall scoinst
install; do
13209 for ac_exec_ext
in '' $ac_executable_extensions; do
13210 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13211 if test $ac_prog = install &&
13212 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13213 # AIX install. It has an incompatible calling convention.
13215 elif test $ac_prog = install &&
13216 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13217 # program-specific install script used by HP pwplus--don't use.
13220 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13232 if test "${ac_cv_path_install+set}" = set; then
13233 INSTALL
=$ac_cv_path_install
13235 # As a last resort, use the slow shell script. We don't cache a
13236 # path for INSTALL within a source directory, because that will
13237 # break other packages using the cache if that directory is
13238 # removed, or if the path is relative.
13239 INSTALL
=$ac_install_sh
13242 echo "$as_me:$LINENO: result: $INSTALL" >&5
13243 echo "${ECHO_T}$INSTALL" >&6
13245 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13246 # It thinks the first close brace ends the variable substitution.
13247 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13249 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13251 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13257 ?
:* ) # Drive letter, considered as absolute.
13260 INSTALL
=`pwd`/${INSTALL} ;;
13266 powerpc
-*-darwin* )
13267 INSTALL_PROGRAM
="cp -fp"
13268 INSTALL_DATA
="cp -fp"
13274 # Extract the first word of "strip", so it can be a program name with args.
13275 set dummy strip
; ac_word
=$2
13276 echo "$as_me:$LINENO: checking for $ac_word" >&5
13277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13278 if test "${ac_cv_prog_STRIP+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 if test -n "$STRIP"; then
13282 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13285 for as_dir
in $PATH
13288 test -z "$as_dir" && as_dir
=.
13289 for ac_exec_ext
in '' $ac_executable_extensions; do
13290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13291 ac_cv_prog_STRIP
="strip"
13292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13298 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
13301 STRIP
=$ac_cv_prog_STRIP
13302 if test -n "$STRIP"; then
13303 echo "$as_me:$LINENO: result: $STRIP" >&5
13304 echo "${ECHO_T}$STRIP" >&6
13306 echo "$as_me:$LINENO: result: no" >&5
13307 echo "${ECHO_T}no" >&6
13311 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13312 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13313 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13314 echo $ECHO_N "(cached) $ECHO_C" >&6
13317 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13318 egrep -s GNU
> /dev
/null
); then
13319 wx_cv_prog_makeisgnu
="yes"
13321 wx_cv_prog_makeisgnu
="no"
13325 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13326 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13328 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13336 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13337 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13338 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13339 if test "${wx_cv_prog_makevpath+set}" = set; then
13340 echo $ECHO_N "(cached) $ECHO_C" >&6
13343 cat - << EOF > confMake
13349 if test ! -d sub
; then
13352 echo dummy
> sub
/file
13353 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13355 rm -f sub
/file check final_file confMake
13357 if test "$RESULT" = 0; then
13358 wx_cv_prog_makevpath
="yes"
13360 wx_cv_prog_makevpath
="no"
13364 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13365 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13367 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13368 { { echo "$as_me:$LINENO: error:
13369 You need a make-utility that is able to use the variable
13371 If your version of make does not support VPATH correctly,
13372 please install GNU-make (possibly as gmake), and start
13373 configure with the following command:
13374 export MAKE=gmake; ./configure for sh-type shells
13375 setenv MAKE gmake; ./configure for csh-type shells
13376 Also please do remember to use gmake in this case every time
13377 you are trying to compile.
13379 echo "$as_me: error:
13380 You need a make-utility that is able to use the variable
13382 If your version of make does not support VPATH correctly,
13383 please install GNU-make (possibly as gmake), and start
13384 configure with the following command:
13385 export MAKE=gmake; ./configure for sh-type shells
13386 setenv MAKE gmake; ./configure for csh-type shells
13387 Also please do remember to use gmake in this case every time
13388 you are trying to compile.
13390 { (exit 1); exit 1; }; }
13392 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13393 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13395 if test "$LN_S" = "ln -s"; then
13396 echo "$as_me:$LINENO: result: yes" >&5
13397 echo "${ECHO_T}yes" >&6
13399 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13400 echo "${ECHO_T}no, using $LN_S" >&6
13405 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
13406 CXXFLAGS
="$CXXFLAGS -qunique"
13411 powerpc
-*-darwin* )
13412 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13413 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13414 cat >conftest.
$ac_ext <<_ACEOF
13417 cat confdefs.h
>>conftest.
$ac_ext
13418 cat >>conftest.
$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13424 #ifndef __POWERPC__
13425 choke me for lack of PowerPC
13432 rm -f conftest.
$ac_objext
13433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13434 (eval $ac_compile) 2>conftest.er1
13436 grep -v '^ *+' conftest.er1
>conftest.err
13438 cat conftest.err
>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; } &&
13447 { ac_try
='test -s conftest.$ac_objext'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; }; then
13453 echo "$as_me:$LINENO: result: yes" >&5
13454 echo "${ECHO_T}yes" >&6
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.
$ac_ext >&5
13459 echo "$as_me:$LINENO: result: no" >&5
13460 echo "${ECHO_T}no" >&6
13461 cat >>confdefs.h
<<\_ACEOF
13462 #define __POWERPC__ 1
13467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13468 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13469 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13470 cat >conftest.
$ac_ext <<_ACEOF
13473 cat confdefs.h
>>conftest.
$ac_ext
13474 cat >>conftest.
$ac_ext <<_ACEOF
13475 /* end confdefs.h. */
13476 #include <CoreFoundation/CFBase.h>
13486 rm -f conftest.
$ac_objext
13487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13488 (eval $ac_compile) 2>conftest.er1
13490 grep -v '^ *+' conftest.er1
>conftest.err
13492 cat conftest.err
>&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } &&
13495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13497 (eval $ac_try) 2>&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); }; } &&
13501 { ac_try
='test -s conftest.$ac_objext'
13502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13503 (eval $ac_try) 2>&5
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); }; }; then
13507 echo "$as_me:$LINENO: result: yes" >&5
13508 echo "${ECHO_T}yes" >&6
13510 echo "$as_me: failed program was:" >&5
13511 sed 's/^/| /' conftest.
$ac_ext >&5
13513 echo "$as_me:$LINENO: result: no" >&5
13514 echo "${ECHO_T}no" >&6
13515 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13516 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13517 cat >conftest.
$ac_ext <<_ACEOF
13520 cat confdefs.h
>>conftest.
$ac_ext
13521 cat >>conftest.
$ac_ext <<_ACEOF
13522 /* end confdefs.h. */
13523 #define __CF_USE_FRAMEWORK_INCLUDES__
13524 #include <CoreFoundation/CFBase.h>
13534 rm -f conftest.
$ac_objext
13535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13536 (eval $ac_compile) 2>conftest.er1
13538 grep -v '^ *+' conftest.er1
>conftest.err
13540 cat conftest.err
>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); } &&
13543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; } &&
13549 { ac_try
='test -s conftest.$ac_objext'
13550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13551 (eval $ac_try) 2>&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); }; }; then
13555 echo "$as_me:$LINENO: result: yes" >&5
13556 echo "${ECHO_T}yes" >&6
13557 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
13559 echo "$as_me: failed program was:" >&5
13560 sed 's/^/| /' conftest.
$ac_ext >&5
13562 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
13563 See \`config.log' for more details." >&5
13564 echo "$as_me: error: no. CoreFoundation not available.
13565 See \`config.log' for more details." >&2;}
13566 { (exit 1); exit 1; }; }
13569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13578 *-pc-os2_emx | *-pc-os2-emx )
13579 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
13580 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
13581 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
13582 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
13583 echo $ECHO_N "(cached) $ECHO_C" >&6
13585 ac_check_lib_save_LIBS
=$LIBS
13586 LIBS
="-lcExt $LIBS"
13587 cat >conftest.
$ac_ext <<_ACEOF
13590 cat confdefs.h
>>conftest.
$ac_ext
13591 cat >>conftest.
$ac_ext <<_ACEOF
13592 /* end confdefs.h. */
13594 /* Override any gcc2 internal prototype to avoid an error. */
13598 /* We use char because int might match the return type of a gcc2
13599 builtin and then its argument prototype would still apply. */
13609 rm -f conftest.
$ac_objext conftest
$ac_exeext
13610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13611 (eval $ac_link) 2>conftest.er1
13613 grep -v '^ *+' conftest.er1
>conftest.err
13615 cat conftest.err
>&5
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); } &&
13618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 (eval $ac_try) 2>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; } &&
13624 { ac_try
='test -s conftest$ac_exeext'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; }; then
13630 ac_cv_lib_cExt_drand48
=yes
13632 echo "$as_me: failed program was:" >&5
13633 sed 's/^/| /' conftest.
$ac_ext >&5
13635 ac_cv_lib_cExt_drand48
=no
13637 rm -f conftest.err conftest.
$ac_objext \
13638 conftest
$ac_exeext conftest.
$ac_ext
13639 LIBS
=$ac_check_lib_save_LIBS
13641 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
13642 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
13643 if test $ac_cv_lib_cExt_drand48 = yes; then
13644 LIBS
="$LIBS -lcExt"
13648 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
13650 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
13651 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
13652 if test "${wx_cv_gccversion+set}" = set; then
13653 echo $ECHO_N "(cached) $ECHO_C" >&6
13656 if test "$cross_compiling" = yes; then
13657 wx_cv_gccversion
="EMX2"
13660 cat >conftest.
$ac_ext <<_ACEOF
13663 cat confdefs.h
>>conftest.
$ac_ext
13664 cat >>conftest.
$ac_ext <<_ACEOF
13665 /* end confdefs.h. */
13671 FILE *f=fopen("conftestval", "w");
13676 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
13678 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
13688 rm -f conftest
$ac_exeext
13689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13690 (eval $ac_link) 2>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; }; then
13699 wx_cv_gccversion
=`cat conftestval`
13701 echo "$as_me: program exited with status $ac_status" >&5
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.
$ac_ext >&5
13705 ( exit $ac_status )
13706 wx_cv_gccversion
="EMX2"
13708 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13712 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
13713 echo "${ECHO_T}$wx_cv_gccversion" >&6
13714 if test "$wx_cv_gccversion" = "EMX2"; then
13715 LIBS
="$LIBS -lstdcpp"
13716 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13718 if test "$wx_cv_gccversion" = "EMX3"; then
13719 LIBS
="$LIBS -lstdcxx -lgcc"
13720 LDFLAGS
="$LDFLAGS -Zsysv-signals"
13722 LIBS
="$LIBS -lstdc++"
13725 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
13726 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
13727 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
13737 ac_cpp
='$CXXCPP $CPPFLAGS'
13738 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13739 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13740 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13743 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
13744 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
13745 if test "${ac_cv_string_strcasecmp+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 cat >conftest.
$ac_ext <<_ACEOF
13752 cat confdefs.h
>>conftest.
$ac_ext
13753 cat >>conftest.
$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13756 #include <string.h>
13762 strcasecmp("foo", "bar");
13768 rm -f conftest.
$ac_objext conftest
$ac_exeext
13769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13770 (eval $ac_link) 2>conftest.er1
13772 grep -v '^ *+' conftest.er1
>conftest.err
13774 cat conftest.err
>&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } &&
13777 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13779 (eval $ac_try) 2>&5
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); }; } &&
13783 { ac_try
='test -s conftest$ac_exeext'
13784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13785 (eval $ac_try) 2>&5
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); }; }; then
13789 ac_cv_string_strcasecmp
=yes
13791 echo "$as_me: failed program was:" >&5
13792 sed 's/^/| /' conftest.
$ac_ext >&5
13794 ac_cv_string_strcasecmp
=no
13797 rm -f conftest.err conftest.
$ac_objext \
13798 conftest
$ac_exeext conftest.
$ac_ext
13801 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
13802 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
13804 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
13805 cat >>confdefs.h
<<\_ACEOF
13806 #define HAVE_STRCASECMP_IN_STRING_H 1
13810 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
13811 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
13812 if test "${ac_cv_strings_strcasecmp+set}" = set; then
13813 echo $ECHO_N "(cached) $ECHO_C" >&6
13816 cat >conftest.
$ac_ext <<_ACEOF
13819 cat confdefs.h
>>conftest.
$ac_ext
13820 cat >>conftest.
$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13823 #include <strings.h>
13829 strcasecmp("foo", "bar");
13835 rm -f conftest.
$ac_objext conftest
$ac_exeext
13836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13837 (eval $ac_link) 2>conftest.er1
13839 grep -v '^ *+' conftest.er1
>conftest.err
13841 cat conftest.err
>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } &&
13844 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; } &&
13850 { ac_try
='test -s conftest$ac_exeext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 ac_cv_strings_strcasecmp
=yes
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.
$ac_ext >&5
13861 ac_cv_strings_strcasecmp
=no
13864 rm -f conftest.err conftest.
$ac_objext \
13865 conftest
$ac_exeext conftest.
$ac_ext
13868 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
13869 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
13871 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
13872 cat >>confdefs.h
<<\_ACEOF
13873 #define HAVE_STRCASECMP_IN_STRINGS_H 1
13877 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
13878 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
13879 { (exit 1); exit 1; }; }
13884 ac_cpp
='$CPP $CPPFLAGS'
13885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13893 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13894 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13895 if test "${ac_cv_header_stdc+set}" = set; then
13896 echo $ECHO_N "(cached) $ECHO_C" >&6
13898 cat >conftest.
$ac_ext <<_ACEOF
13901 cat confdefs.h
>>conftest.
$ac_ext
13902 cat >>conftest.
$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904 #include <stdlib.h>
13905 #include <stdarg.h>
13906 #include <string.h>
13917 rm -f conftest.
$ac_objext
13918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>conftest.er1
13921 grep -v '^ *+' conftest.er1
>conftest.err
13923 cat conftest.err
>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } &&
13926 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13928 (eval $ac_try) 2>&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; } &&
13932 { ac_try
='test -s conftest.$ac_objext'
13933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13934 (eval $ac_try) 2>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; }; then
13938 ac_cv_header_stdc
=yes
13940 echo "$as_me: failed program was:" >&5
13941 sed 's/^/| /' conftest.
$ac_ext >&5
13943 ac_cv_header_stdc
=no
13945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13947 if test $ac_cv_header_stdc = yes; then
13948 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13949 cat >conftest.
$ac_ext <<_ACEOF
13952 cat confdefs.h
>>conftest.
$ac_ext
13953 cat >>conftest.
$ac_ext <<_ACEOF
13954 /* end confdefs.h. */
13955 #include <string.h>
13958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13959 $EGREP "memchr" >/dev
/null
2>&1; then
13962 ac_cv_header_stdc
=no
13968 if test $ac_cv_header_stdc = yes; then
13969 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13970 cat >conftest.
$ac_ext <<_ACEOF
13973 cat confdefs.h
>>conftest.
$ac_ext
13974 cat >>conftest.
$ac_ext <<_ACEOF
13975 /* end confdefs.h. */
13976 #include <stdlib.h>
13979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13980 $EGREP "free" >/dev
/null
2>&1; then
13983 ac_cv_header_stdc
=no
13989 if test $ac_cv_header_stdc = yes; then
13990 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13991 if test "$cross_compiling" = yes; then
13994 cat >conftest.
$ac_ext <<_ACEOF
13997 cat confdefs.h
>>conftest.
$ac_ext
13998 cat >>conftest.
$ac_ext <<_ACEOF
13999 /* end confdefs.h. */
14001 #if ((' ' & 0x0FF) == 0x020)
14002 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14003 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14005 # define ISLOWER(c) \
14006 (('a' <= (c) && (c) <= 'i') \
14007 || ('j' <= (c) && (c) <= 'r') \
14008 || ('s' <= (c) && (c) <= 'z'))
14009 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14012 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14017 for (i = 0; i < 256; i++)
14018 if (XOR (islower (i), ISLOWER (i))
14019 || toupper (i) != TOUPPER (i))
14024 rm -f conftest
$ac_exeext
14025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14026 (eval $ac_link) 2>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; }; then
14037 echo "$as_me: program exited with status $ac_status" >&5
14038 echo "$as_me: failed program was:" >&5
14039 sed 's/^/| /' conftest.
$ac_ext >&5
14041 ( exit $ac_status )
14042 ac_cv_header_stdc
=no
14044 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14048 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14049 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14050 if test $ac_cv_header_stdc = yes; then
14052 cat >>confdefs.h
<<\_ACEOF
14053 #define STDC_HEADERS 1
14058 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14068 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
14069 inttypes.h stdint.h unistd.h
14071 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14072 echo "$as_me:$LINENO: checking for $ac_header" >&5
14073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 cat >conftest.
$ac_ext <<_ACEOF
14080 cat confdefs.h
>>conftest.
$ac_ext
14081 cat >>conftest.
$ac_ext <<_ACEOF
14082 /* end confdefs.h. */
14083 $ac_includes_default
14085 #include <$ac_header>
14087 rm -f conftest.
$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089 (eval $ac_compile) 2>conftest.er1
14091 grep -v '^ *+' conftest.er1
>conftest.err
14093 cat conftest.err
>&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; } &&
14102 { ac_try
='test -s conftest.$ac_objext'
14103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 (eval $ac_try) 2>&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); }; }; then
14108 eval "$as_ac_Header=yes"
14110 echo "$as_me: failed program was:" >&5
14111 sed 's/^/| /' conftest.
$ac_ext >&5
14113 eval "$as_ac_Header=no"
14115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14120 cat >>confdefs.h
<<_ACEOF
14121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14130 for ac_header
in stdlib.h
14132 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14134 echo "$as_me:$LINENO: checking for $ac_header" >&5
14135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14142 # Is the header compilable?
14143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14145 cat >conftest.
$ac_ext <<_ACEOF
14148 cat confdefs.h
>>conftest.
$ac_ext
14149 cat >>conftest.
$ac_ext <<_ACEOF
14150 /* end confdefs.h. */
14151 $ac_includes_default
14152 #include <$ac_header>
14154 rm -f conftest.
$ac_objext
14155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14156 (eval $ac_compile) 2>conftest.er1
14158 grep -v '^ *+' conftest.er1
>conftest.err
14160 cat conftest.err
>&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); } &&
14163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try
='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 ac_header_compiler
=yes
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.
$ac_ext >&5
14180 ac_header_compiler
=no
14182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14183 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14184 echo "${ECHO_T}$ac_header_compiler" >&6
14186 # Is the header present?
14187 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14188 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14189 cat >conftest.
$ac_ext <<_ACEOF
14192 cat confdefs.h
>>conftest.
$ac_ext
14193 cat >>conftest.
$ac_ext <<_ACEOF
14194 /* end confdefs.h. */
14195 #include <$ac_header>
14197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14198 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14200 grep -v '^ *+' conftest.er1
>conftest.err
14202 cat conftest.err
>&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } >/dev
/null
; then
14205 if test -s conftest.err
; then
14206 ac_cpp_err
=$ac_c_preproc_warn_flag
14207 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14214 if test -z "$ac_cpp_err"; then
14215 ac_header_preproc
=yes
14217 echo "$as_me: failed program was:" >&5
14218 sed 's/^/| /' conftest.
$ac_ext >&5
14220 ac_header_preproc
=no
14222 rm -f conftest.err conftest.
$ac_ext
14223 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14224 echo "${ECHO_T}$ac_header_preproc" >&6
14226 # So? What about this header?
14227 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14229 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14230 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14232 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14233 ac_header_preproc
=yes
14236 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14237 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14238 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14239 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14240 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14241 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14242 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14243 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14246 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14247 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14250 ## ----------------------------------------- ##
14251 ## Report this to wx-dev@lists.wxwidgets.org ##
14252 ## ----------------------------------------- ##
14255 sed "s/^/$as_me: WARNING: /" >&2
14258 echo "$as_me:$LINENO: checking for $ac_header" >&5
14259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 eval "$as_ac_Header=\$ac_header_preproc"
14265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14270 cat >>confdefs.h
<<_ACEOF
14271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14279 for ac_header
in malloc.h
14281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14283 echo "$as_me:$LINENO: checking for $ac_header" >&5
14284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14286 echo $ECHO_N "(cached) $ECHO_C" >&6
14288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14291 # Is the header compilable?
14292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14294 cat >conftest.
$ac_ext <<_ACEOF
14297 cat confdefs.h
>>conftest.
$ac_ext
14298 cat >>conftest.
$ac_ext <<_ACEOF
14299 /* end confdefs.h. */
14300 $ac_includes_default
14301 #include <$ac_header>
14303 rm -f conftest.
$ac_objext
14304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14305 (eval $ac_compile) 2>conftest.er1
14307 grep -v '^ *+' conftest.er1
>conftest.err
14309 cat conftest.err
>&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } &&
14312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; } &&
14318 { ac_try
='test -s conftest.$ac_objext'
14319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320 (eval $ac_try) 2>&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); }; }; then
14324 ac_header_compiler
=yes
14326 echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.
$ac_ext >&5
14329 ac_header_compiler
=no
14331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14333 echo "${ECHO_T}$ac_header_compiler" >&6
14335 # Is the header present?
14336 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14338 cat >conftest.
$ac_ext <<_ACEOF
14341 cat confdefs.h
>>conftest.
$ac_ext
14342 cat >>conftest.
$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14344 #include <$ac_header>
14346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14347 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14349 grep -v '^ *+' conftest.er1
>conftest.err
14351 cat conftest.err
>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); } >/dev
/null
; then
14354 if test -s conftest.err
; then
14355 ac_cpp_err
=$ac_c_preproc_warn_flag
14356 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14363 if test -z "$ac_cpp_err"; then
14364 ac_header_preproc
=yes
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.
$ac_ext >&5
14369 ac_header_preproc
=no
14371 rm -f conftest.err conftest.
$ac_ext
14372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14373 echo "${ECHO_T}$ac_header_preproc" >&6
14375 # So? What about this header?
14376 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14381 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14382 ac_header_preproc
=yes
14385 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14386 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14387 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14388 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14389 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14390 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14391 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14392 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14395 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14396 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14399 ## ----------------------------------------- ##
14400 ## Report this to wx-dev@lists.wxwidgets.org ##
14401 ## ----------------------------------------- ##
14404 sed "s/^/$as_me: WARNING: /" >&2
14407 echo "$as_me:$LINENO: checking for $ac_header" >&5
14408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 eval "$as_ac_Header=\$ac_header_preproc"
14414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14419 cat >>confdefs.h
<<_ACEOF
14420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14428 for ac_header
in unistd.h
14430 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14432 echo "$as_me:$LINENO: checking for $ac_header" >&5
14433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14440 # Is the header compilable?
14441 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14442 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14443 cat >conftest.
$ac_ext <<_ACEOF
14446 cat confdefs.h
>>conftest.
$ac_ext
14447 cat >>conftest.
$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449 $ac_includes_default
14450 #include <$ac_header>
14452 rm -f conftest.
$ac_objext
14453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14454 (eval $ac_compile) 2>conftest.er1
14456 grep -v '^ *+' conftest.er1
>conftest.err
14458 cat conftest.err
>&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); } &&
14461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14463 (eval $ac_try) 2>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); }; } &&
14467 { ac_try
='test -s conftest.$ac_objext'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; }; then
14473 ac_header_compiler
=yes
14475 echo "$as_me: failed program was:" >&5
14476 sed 's/^/| /' conftest.
$ac_ext >&5
14478 ac_header_compiler
=no
14480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14482 echo "${ECHO_T}$ac_header_compiler" >&6
14484 # Is the header present?
14485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14487 cat >conftest.
$ac_ext <<_ACEOF
14490 cat confdefs.h
>>conftest.
$ac_ext
14491 cat >>conftest.
$ac_ext <<_ACEOF
14492 /* end confdefs.h. */
14493 #include <$ac_header>
14495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14498 grep -v '^ *+' conftest.er1
>conftest.err
14500 cat conftest.err
>&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); } >/dev
/null
; then
14503 if test -s conftest.err
; then
14504 ac_cpp_err
=$ac_c_preproc_warn_flag
14505 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14512 if test -z "$ac_cpp_err"; then
14513 ac_header_preproc
=yes
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.
$ac_ext >&5
14518 ac_header_preproc
=no
14520 rm -f conftest.err conftest.
$ac_ext
14521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14522 echo "${ECHO_T}$ac_header_preproc" >&6
14524 # So? What about this header?
14525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14531 ac_header_preproc
=yes
14534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14548 ## ----------------------------------------- ##
14549 ## Report this to wx-dev@lists.wxwidgets.org ##
14550 ## ----------------------------------------- ##
14553 sed "s/^/$as_me: WARNING: /" >&2
14556 echo "$as_me:$LINENO: checking for $ac_header" >&5
14557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 eval "$as_ac_Header=\$ac_header_preproc"
14563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14568 cat >>confdefs.h
<<_ACEOF
14569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14577 for ac_header
in wchar.h
14579 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14581 echo "$as_me:$LINENO: checking for $ac_header" >&5
14582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14584 echo $ECHO_N "(cached) $ECHO_C" >&6
14586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14589 # Is the header compilable?
14590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14592 cat >conftest.
$ac_ext <<_ACEOF
14595 cat confdefs.h
>>conftest.
$ac_ext
14596 cat >>conftest.
$ac_ext <<_ACEOF
14597 /* end confdefs.h. */
14598 $ac_includes_default
14599 #include <$ac_header>
14601 rm -f conftest.
$ac_objext
14602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14603 (eval $ac_compile) 2>conftest.er1
14605 grep -v '^ *+' conftest.er1
>conftest.err
14607 cat conftest.err
>&5
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); } &&
14610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14612 (eval $ac_try) 2>&5
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); }; } &&
14616 { ac_try
='test -s conftest.$ac_objext'
14617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14618 (eval $ac_try) 2>&5
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); }; }; then
14622 ac_header_compiler
=yes
14624 echo "$as_me: failed program was:" >&5
14625 sed 's/^/| /' conftest.
$ac_ext >&5
14627 ac_header_compiler
=no
14629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14631 echo "${ECHO_T}$ac_header_compiler" >&6
14633 # Is the header present?
14634 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14636 cat >conftest.
$ac_ext <<_ACEOF
14639 cat confdefs.h
>>conftest.
$ac_ext
14640 cat >>conftest.
$ac_ext <<_ACEOF
14641 /* end confdefs.h. */
14642 #include <$ac_header>
14644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14645 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14647 grep -v '^ *+' conftest.er1
>conftest.err
14649 cat conftest.err
>&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } >/dev
/null
; then
14652 if test -s conftest.err
; then
14653 ac_cpp_err
=$ac_c_preproc_warn_flag
14654 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14661 if test -z "$ac_cpp_err"; then
14662 ac_header_preproc
=yes
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.
$ac_ext >&5
14667 ac_header_preproc
=no
14669 rm -f conftest.err conftest.
$ac_ext
14670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14671 echo "${ECHO_T}$ac_header_preproc" >&6
14673 # So? What about this header?
14674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14680 ac_header_preproc
=yes
14683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14697 ## ----------------------------------------- ##
14698 ## Report this to wx-dev@lists.wxwidgets.org ##
14699 ## ----------------------------------------- ##
14702 sed "s/^/$as_me: WARNING: /" >&2
14705 echo "$as_me:$LINENO: checking for $ac_header" >&5
14706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14710 eval "$as_ac_Header=\$ac_header_preproc"
14712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14717 cat >>confdefs.h
<<_ACEOF
14718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14726 if test "$ac_cv_header_wchar_h" != "yes"; then
14728 for ac_header
in wcstr.h
14730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14732 echo "$as_me:$LINENO: checking for $ac_header" >&5
14733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14735 echo $ECHO_N "(cached) $ECHO_C" >&6
14737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14740 # Is the header compilable?
14741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14743 cat >conftest.
$ac_ext <<_ACEOF
14746 cat confdefs.h
>>conftest.
$ac_ext
14747 cat >>conftest.
$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14749 $ac_includes_default
14750 #include <$ac_header>
14752 rm -f conftest.
$ac_objext
14753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14754 (eval $ac_compile) 2>conftest.er1
14756 grep -v '^ *+' conftest.er1
>conftest.err
14758 cat conftest.err
>&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); } &&
14761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14763 (eval $ac_try) 2>&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); }; } &&
14767 { ac_try
='test -s conftest.$ac_objext'
14768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 (eval $ac_try) 2>&5
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); }; }; then
14773 ac_header_compiler
=yes
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.
$ac_ext >&5
14778 ac_header_compiler
=no
14780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14782 echo "${ECHO_T}$ac_header_compiler" >&6
14784 # Is the header present?
14785 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14787 cat >conftest.
$ac_ext <<_ACEOF
14790 cat confdefs.h
>>conftest.
$ac_ext
14791 cat >>conftest.
$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14793 #include <$ac_header>
14795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14796 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14798 grep -v '^ *+' conftest.er1
>conftest.err
14800 cat conftest.err
>&5
14801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14802 (exit $ac_status); } >/dev
/null
; then
14803 if test -s conftest.err
; then
14804 ac_cpp_err
=$ac_c_preproc_warn_flag
14805 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14812 if test -z "$ac_cpp_err"; then
14813 ac_header_preproc
=yes
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.
$ac_ext >&5
14818 ac_header_preproc
=no
14820 rm -f conftest.err conftest.
$ac_ext
14821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14822 echo "${ECHO_T}$ac_header_preproc" >&6
14824 # So? What about this header?
14825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14831 ac_header_preproc
=yes
14834 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14836 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14837 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14838 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14840 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14841 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14844 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14848 ## ----------------------------------------- ##
14849 ## Report this to wx-dev@lists.wxwidgets.org ##
14850 ## ----------------------------------------- ##
14853 sed "s/^/$as_me: WARNING: /" >&2
14856 echo "$as_me:$LINENO: checking for $ac_header" >&5
14857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14859 echo $ECHO_N "(cached) $ECHO_C" >&6
14861 eval "$as_ac_Header=\$ac_header_preproc"
14863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14868 cat >>confdefs.h
<<_ACEOF
14869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14879 for ac_header
in fnmatch.h
14881 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14883 echo "$as_me:$LINENO: checking for $ac_header" >&5
14884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14891 # Is the header compilable?
14892 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14894 cat >conftest.
$ac_ext <<_ACEOF
14897 cat confdefs.h
>>conftest.
$ac_ext
14898 cat >>conftest.
$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14900 $ac_includes_default
14901 #include <$ac_header>
14903 rm -f conftest.
$ac_objext
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905 (eval $ac_compile) 2>conftest.er1
14907 grep -v '^ *+' conftest.er1
>conftest.err
14909 cat conftest.err
>&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } &&
14912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14914 (eval $ac_try) 2>&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); }; } &&
14918 { ac_try
='test -s conftest.$ac_objext'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; }; then
14924 ac_header_compiler
=yes
14926 echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.
$ac_ext >&5
14929 ac_header_compiler
=no
14931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14933 echo "${ECHO_T}$ac_header_compiler" >&6
14935 # Is the header present?
14936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14938 cat >conftest.
$ac_ext <<_ACEOF
14941 cat confdefs.h
>>conftest.
$ac_ext
14942 cat >>conftest.
$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14944 #include <$ac_header>
14946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14947 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14949 grep -v '^ *+' conftest.er1
>conftest.err
14951 cat conftest.err
>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } >/dev
/null
; then
14954 if test -s conftest.err
; then
14955 ac_cpp_err
=$ac_c_preproc_warn_flag
14956 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14963 if test -z "$ac_cpp_err"; then
14964 ac_header_preproc
=yes
14966 echo "$as_me: failed program was:" >&5
14967 sed 's/^/| /' conftest.
$ac_ext >&5
14969 ac_header_preproc
=no
14971 rm -f conftest.err conftest.
$ac_ext
14972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14973 echo "${ECHO_T}$ac_header_preproc" >&6
14975 # So? What about this header?
14976 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14982 ac_header_preproc
=yes
14985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14989 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14991 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14992 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14995 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14999 ## ----------------------------------------- ##
15000 ## Report this to wx-dev@lists.wxwidgets.org ##
15001 ## ----------------------------------------- ##
15004 sed "s/^/$as_me: WARNING: /" >&2
15007 echo "$as_me:$LINENO: checking for $ac_header" >&5
15008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15012 eval "$as_ac_Header=\$ac_header_preproc"
15014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15019 cat >>confdefs.h
<<_ACEOF
15020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15029 for ac_header
in langinfo.h
15031 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15033 echo "$as_me:$LINENO: checking for $ac_header" >&5
15034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15041 # Is the header compilable?
15042 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15043 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15044 cat >conftest.
$ac_ext <<_ACEOF
15047 cat confdefs.h
>>conftest.
$ac_ext
15048 cat >>conftest.
$ac_ext <<_ACEOF
15049 /* end confdefs.h. */
15050 $ac_includes_default
15051 #include <$ac_header>
15053 rm -f conftest.
$ac_objext
15054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15055 (eval $ac_compile) 2>conftest.er1
15057 grep -v '^ *+' conftest.er1
>conftest.err
15059 cat conftest.err
>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } &&
15062 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15064 (eval $ac_try) 2>&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); }; } &&
15068 { ac_try
='test -s conftest.$ac_objext'
15069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15070 (eval $ac_try) 2>&5
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); }; }; then
15074 ac_header_compiler
=yes
15076 echo "$as_me: failed program was:" >&5
15077 sed 's/^/| /' conftest.
$ac_ext >&5
15079 ac_header_compiler
=no
15081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15082 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15083 echo "${ECHO_T}$ac_header_compiler" >&6
15085 # Is the header present?
15086 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15088 cat >conftest.
$ac_ext <<_ACEOF
15091 cat confdefs.h
>>conftest.
$ac_ext
15092 cat >>conftest.
$ac_ext <<_ACEOF
15093 /* end confdefs.h. */
15094 #include <$ac_header>
15096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15097 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15099 grep -v '^ *+' conftest.er1
>conftest.err
15101 cat conftest.err
>&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); } >/dev
/null
; then
15104 if test -s conftest.err
; then
15105 ac_cpp_err
=$ac_c_preproc_warn_flag
15106 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15113 if test -z "$ac_cpp_err"; then
15114 ac_header_preproc
=yes
15116 echo "$as_me: failed program was:" >&5
15117 sed 's/^/| /' conftest.
$ac_ext >&5
15119 ac_header_preproc
=no
15121 rm -f conftest.err conftest.
$ac_ext
15122 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15123 echo "${ECHO_T}$ac_header_preproc" >&6
15125 # So? What about this header?
15126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15128 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15129 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15131 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15132 ac_header_preproc
=yes
15135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15139 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15140 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15141 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15142 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15145 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15146 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15149 ## ----------------------------------------- ##
15150 ## Report this to wx-dev@lists.wxwidgets.org ##
15151 ## ----------------------------------------- ##
15154 sed "s/^/$as_me: WARNING: /" >&2
15157 echo "$as_me:$LINENO: checking for $ac_header" >&5
15158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 eval "$as_ac_Header=\$ac_header_preproc"
15164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15169 cat >>confdefs.h
<<_ACEOF
15170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15179 *-pc-os2_emx | *-pc-os2-emx )
15180 if test $ac_cv_header_langinfo_h = "yes" \
15181 -a \
( "$wx_cv_gccversion" = "EMX2" \
15182 -o "$wx_cv_gccversion" = "EMX3" \
15183 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15184 LIBS
="$LIBS -lintl"
15189 if test "$wxUSE_GUI" = "yes"; then
15190 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
15192 for ac_header
in X
11/Xlib.h
15194 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15196 echo "$as_me:$LINENO: checking for $ac_header" >&5
15197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15199 echo $ECHO_N "(cached) $ECHO_C" >&6
15201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15204 # Is the header compilable?
15205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15207 cat >conftest.
$ac_ext <<_ACEOF
15210 cat confdefs.h
>>conftest.
$ac_ext
15211 cat >>conftest.
$ac_ext <<_ACEOF
15212 /* end confdefs.h. */
15213 $ac_includes_default
15214 #include <$ac_header>
15216 rm -f conftest.
$ac_objext
15217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15218 (eval $ac_compile) 2>conftest.er1
15220 grep -v '^ *+' conftest.er1
>conftest.err
15222 cat conftest.err
>&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); } &&
15225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; } &&
15231 { ac_try
='test -s conftest.$ac_objext'
15232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15233 (eval $ac_try) 2>&5
15235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236 (exit $ac_status); }; }; then
15237 ac_header_compiler
=yes
15239 echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.
$ac_ext >&5
15242 ac_header_compiler
=no
15244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15246 echo "${ECHO_T}$ac_header_compiler" >&6
15248 # Is the header present?
15249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15251 cat >conftest.
$ac_ext <<_ACEOF
15254 cat confdefs.h
>>conftest.
$ac_ext
15255 cat >>conftest.
$ac_ext <<_ACEOF
15256 /* end confdefs.h. */
15257 #include <$ac_header>
15259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15260 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15262 grep -v '^ *+' conftest.er1
>conftest.err
15264 cat conftest.err
>&5
15265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15266 (exit $ac_status); } >/dev
/null
; then
15267 if test -s conftest.err
; then
15268 ac_cpp_err
=$ac_c_preproc_warn_flag
15269 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15276 if test -z "$ac_cpp_err"; then
15277 ac_header_preproc
=yes
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.
$ac_ext >&5
15282 ac_header_preproc
=no
15284 rm -f conftest.err conftest.
$ac_ext
15285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15286 echo "${ECHO_T}$ac_header_preproc" >&6
15288 # So? What about this header?
15289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15295 ac_header_preproc
=yes
15298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15312 ## ----------------------------------------- ##
15313 ## Report this to wx-dev@lists.wxwidgets.org ##
15314 ## ----------------------------------------- ##
15317 sed "s/^/$as_me: WARNING: /" >&2
15320 echo "$as_me:$LINENO: checking for $ac_header" >&5
15321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15325 eval "$as_ac_Header=\$ac_header_preproc"
15327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15332 cat >>confdefs.h
<<_ACEOF
15333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15341 for ac_header
in X
11/XKBlib.h
15343 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15344 echo "$as_me:$LINENO: checking for $ac_header" >&5
15345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15347 echo $ECHO_N "(cached) $ECHO_C" >&6
15349 cat >conftest.
$ac_ext <<_ACEOF
15352 cat confdefs.h
>>conftest.
$ac_ext
15353 cat >>conftest.
$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15356 #if HAVE_X11_XLIB_H
15357 #include <X11/Xlib.h>
15361 #include <$ac_header>
15363 rm -f conftest.
$ac_objext
15364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15365 (eval $ac_compile) 2>conftest.er1
15367 grep -v '^ *+' conftest.er1
>conftest.err
15369 cat conftest.err
>&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } &&
15372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; } &&
15378 { ac_try
='test -s conftest.$ac_objext'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; }; then
15384 eval "$as_ac_Header=yes"
15386 echo "$as_me: failed program was:" >&5
15387 sed 's/^/| /' conftest.
$ac_ext >&5
15389 eval "$as_ac_Header=no"
15391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15396 cat >>confdefs.h
<<_ACEOF
15397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15408 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15409 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15410 if test "${ac_cv_c_const+set}" = set; then
15411 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 cat >conftest.
$ac_ext <<_ACEOF
15416 cat confdefs.h
>>conftest.
$ac_ext
15417 cat >>conftest.
$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15423 /* FIXME: Include the comments suggested by Paul. */
15424 #ifndef __cplusplus
15425 /* Ultrix mips cc rejects this. */
15426 typedef int charset[2];
15428 /* SunOS 4.1.1 cc rejects this. */
15429 char const *const *ccp;
15431 /* NEC SVR4.0.2 mips cc rejects this. */
15432 struct point {int x, y;};
15433 static struct point const zero = {0,0};
15434 /* AIX XL C 1.02.0.0 rejects this.
15435 It does not let you subtract one const X* pointer from another in
15436 an arm of an if-expression whose if-part is not a constant
15438 const char *g = "string";
15439 ccp = &g + (g ? g-g : 0);
15440 /* HPUX 7.0 cc rejects these. */
15443 ccp = (char const *const *) p;
15444 { /* SCO 3.2v4 cc rejects this. */
15446 char const *s = 0 ? (char *) 0 : (char const *) 0;
15450 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15451 int x[] = {25, 17};
15452 const int *foo = &x[0];
15455 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15456 typedef const int *iptr;
15460 { /* AIX XL C 1.02.0.0 rejects this saying
15461 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15462 struct s { int j; const int *ap[3]; };
15463 struct s *b; b->j = 5;
15465 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15466 const int foo = 10;
15474 rm -f conftest.
$ac_objext
15475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15476 (eval $ac_compile) 2>conftest.er1
15478 grep -v '^ *+' conftest.er1
>conftest.err
15480 cat conftest.err
>&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); } &&
15483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485 (eval $ac_try) 2>&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; } &&
15489 { ac_try
='test -s conftest.$ac_objext'
15490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491 (eval $ac_try) 2>&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); }; }; then
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.
$ac_ext >&5
15502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15504 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15505 echo "${ECHO_T}$ac_cv_c_const" >&6
15506 if test $ac_cv_c_const = no
; then
15508 cat >>confdefs.h
<<\_ACEOF
15514 echo "$as_me:$LINENO: checking for inline" >&5
15515 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15516 if test "${ac_cv_c_inline+set}" = set; then
15517 echo $ECHO_N "(cached) $ECHO_C" >&6
15520 for ac_kw
in inline __inline__ __inline
; do
15521 cat >conftest.
$ac_ext <<_ACEOF
15524 cat confdefs.h
>>conftest.
$ac_ext
15525 cat >>conftest.
$ac_ext <<_ACEOF
15526 /* end confdefs.h. */
15527 #ifndef __cplusplus
15529 static $ac_kw foo_t static_foo () {return 0; }
15530 $ac_kw foo_t foo () {return 0; }
15534 rm -f conftest.
$ac_objext
15535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15536 (eval $ac_compile) 2>conftest.er1
15538 grep -v '^ *+' conftest.er1
>conftest.err
15540 cat conftest.err
>&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); } &&
15543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545 (eval $ac_try) 2>&5
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; } &&
15549 { ac_try
='test -s conftest.$ac_objext'
15550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551 (eval $ac_try) 2>&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; }; then
15555 ac_cv_c_inline
=$ac_kw; break
15557 echo "$as_me: failed program was:" >&5
15558 sed 's/^/| /' conftest.
$ac_ext >&5
15561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15565 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15566 echo "${ECHO_T}$ac_cv_c_inline" >&6
15569 case $ac_cv_c_inline in
15572 case $ac_cv_c_inline in
15574 *) ac_val
=$ac_cv_c_inline;;
15576 cat >>confdefs.h
<<_ACEOF
15577 #ifndef __cplusplus
15578 #define inline $ac_val
15585 echo "$as_me:$LINENO: checking for char" >&5
15586 echo $ECHO_N "checking for char... $ECHO_C" >&6
15587 if test "${ac_cv_type_char+set}" = set; then
15588 echo $ECHO_N "(cached) $ECHO_C" >&6
15590 cat >conftest.
$ac_ext <<_ACEOF
15593 cat confdefs.h
>>conftest.
$ac_ext
15594 cat >>conftest.
$ac_ext <<_ACEOF
15595 /* end confdefs.h. */
15596 $ac_includes_default
15608 rm -f conftest.
$ac_objext
15609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15610 (eval $ac_compile) 2>conftest.er1
15612 grep -v '^ *+' conftest.er1
>conftest.err
15614 cat conftest.err
>&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); } &&
15617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15619 (eval $ac_try) 2>&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); }; } &&
15623 { ac_try
='test -s conftest.$ac_objext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 ac_cv_type_char
=yes
15631 echo "$as_me: failed program was:" >&5
15632 sed 's/^/| /' conftest.
$ac_ext >&5
15636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15638 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15639 echo "${ECHO_T}$ac_cv_type_char" >&6
15641 echo "$as_me:$LINENO: checking size of char" >&5
15642 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15643 if test "${ac_cv_sizeof_char+set}" = set; then
15644 echo $ECHO_N "(cached) $ECHO_C" >&6
15646 if test "$ac_cv_type_char" = yes; then
15647 # The cast to unsigned long works around a bug in the HP C Compiler
15648 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15649 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15650 # This bug is HP SR number 8606223364.
15651 if test "$cross_compiling" = yes; then
15652 # Depending upon the size, compute the lo and hi bounds.
15653 cat >conftest.
$ac_ext <<_ACEOF
15656 cat confdefs.h
>>conftest.
$ac_ext
15657 cat >>conftest.
$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15659 $ac_includes_default
15663 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15670 rm -f conftest.
$ac_objext
15671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15672 (eval $ac_compile) 2>conftest.er1
15674 grep -v '^ *+' conftest.er1
>conftest.err
15676 cat conftest.err
>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); } &&
15679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; } &&
15685 { ac_try
='test -s conftest.$ac_objext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15693 cat >conftest.
$ac_ext <<_ACEOF
15696 cat confdefs.h
>>conftest.
$ac_ext
15697 cat >>conftest.
$ac_ext <<_ACEOF
15698 /* end confdefs.h. */
15699 $ac_includes_default
15703 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15710 rm -f conftest.
$ac_objext
15711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15712 (eval $ac_compile) 2>conftest.er1
15714 grep -v '^ *+' conftest.er1
>conftest.err
15716 cat conftest.err
>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); } &&
15719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; } &&
15725 { ac_try
='test -s conftest.$ac_objext'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; }; then
15731 ac_hi
=$ac_mid; break
15733 echo "$as_me: failed program was:" >&5
15734 sed 's/^/| /' conftest.
$ac_ext >&5
15736 ac_lo
=`expr $ac_mid + 1`
15737 if test $ac_lo -le $ac_mid; then
15741 ac_mid
=`expr 2 '*' $ac_mid + 1`
15743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.
$ac_ext >&5
15749 cat >conftest.
$ac_ext <<_ACEOF
15752 cat confdefs.h
>>conftest.
$ac_ext
15753 cat >>conftest.
$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15755 $ac_includes_default
15759 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
15766 rm -f conftest.
$ac_objext
15767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15768 (eval $ac_compile) 2>conftest.er1
15770 grep -v '^ *+' conftest.er1
>conftest.err
15772 cat conftest.err
>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } &&
15775 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; } &&
15781 { ac_try
='test -s conftest.$ac_objext'
15782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15783 (eval $ac_try) 2>&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); }; }; then
15789 cat >conftest.
$ac_ext <<_ACEOF
15792 cat confdefs.h
>>conftest.
$ac_ext
15793 cat >>conftest.
$ac_ext <<_ACEOF
15794 /* end confdefs.h. */
15795 $ac_includes_default
15799 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
15806 rm -f conftest.
$ac_objext
15807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15808 (eval $ac_compile) 2>conftest.er1
15810 grep -v '^ *+' conftest.er1
>conftest.err
15812 cat conftest.err
>&5
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); } &&
15815 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 (eval $ac_try) 2>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); }; } &&
15821 { ac_try
='test -s conftest.$ac_objext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15827 ac_lo
=$ac_mid; break
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.
$ac_ext >&5
15832 ac_hi
=`expr '(' $ac_mid ')' - 1`
15833 if test $ac_mid -le $ac_hi; then
15837 ac_mid
=`expr 2 '*' $ac_mid`
15839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15842 echo "$as_me: failed program was:" >&5
15843 sed 's/^/| /' conftest.
$ac_ext >&5
15847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15850 # Binary search between lo and hi bounds.
15851 while test "x$ac_lo" != "x$ac_hi"; do
15852 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15853 cat >conftest.
$ac_ext <<_ACEOF
15856 cat confdefs.h
>>conftest.
$ac_ext
15857 cat >>conftest.
$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15859 $ac_includes_default
15863 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15870 rm -f conftest.
$ac_objext
15871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15872 (eval $ac_compile) 2>conftest.er1
15874 grep -v '^ *+' conftest.er1
>conftest.err
15876 cat conftest.err
>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } &&
15879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881 (eval $ac_try) 2>&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); }; } &&
15885 { ac_try
='test -s conftest.$ac_objext'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; }; then
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.
$ac_ext >&5
15896 ac_lo
=`expr '(' $ac_mid ')' + 1`
15898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15901 ?
*) ac_cv_sizeof_char
=$ac_lo;;
15902 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15903 See \`config.log' for more details." >&5
15904 echo "$as_me: error: cannot compute sizeof (char), 77
15905 See \`config.log' for more details." >&2;}
15906 { (exit 1); exit 1; }; } ;;
15909 if test "$cross_compiling" = yes; then
15910 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15911 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15912 { (exit 1); exit 1; }; }
15914 cat >conftest.
$ac_ext <<_ACEOF
15917 cat confdefs.h
>>conftest.
$ac_ext
15918 cat >>conftest.
$ac_ext <<_ACEOF
15919 /* end confdefs.h. */
15920 $ac_includes_default
15921 long longval () { return (long) (sizeof (char)); }
15922 unsigned long ulongval () { return (long) (sizeof (char)); }
15924 #include <stdlib.h>
15929 FILE *f = fopen ("conftest.val", "w");
15932 if (((long) (sizeof (char))) < 0)
15934 long i = longval ();
15935 if (i != ((long) (sizeof (char))))
15937 fprintf (f, "%ld\n", i);
15941 unsigned long i = ulongval ();
15942 if (i != ((long) (sizeof (char))))
15944 fprintf (f, "%lu\n", i);
15946 exit (ferror (f) || fclose (f) != 0);
15952 rm -f conftest
$ac_exeext
15953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15954 (eval $ac_link) 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959 (eval $ac_try) 2>&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); }; }; then
15963 ac_cv_sizeof_char
=`cat conftest.val`
15965 echo "$as_me: program exited with status $ac_status" >&5
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.
$ac_ext >&5
15969 ( exit $ac_status )
15970 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
15971 See \`config.log' for more details." >&5
15972 echo "$as_me: error: cannot compute sizeof (char), 77
15973 See \`config.log' for more details." >&2;}
15974 { (exit 1); exit 1; }; }
15976 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15981 ac_cv_sizeof_char
=0
15984 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
15985 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
15986 cat >>confdefs.h
<<_ACEOF
15987 #define SIZEOF_CHAR $ac_cv_sizeof_char
15991 echo "$as_me:$LINENO: checking for short" >&5
15992 echo $ECHO_N "checking for short... $ECHO_C" >&6
15993 if test "${ac_cv_type_short+set}" = set; then
15994 echo $ECHO_N "(cached) $ECHO_C" >&6
15996 cat >conftest.
$ac_ext <<_ACEOF
15999 cat confdefs.h
>>conftest.
$ac_ext
16000 cat >>conftest.
$ac_ext <<_ACEOF
16001 /* end confdefs.h. */
16002 $ac_includes_default
16008 if (sizeof (short))
16014 rm -f conftest.
$ac_objext
16015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16016 (eval $ac_compile) 2>conftest.er1
16018 grep -v '^ *+' conftest.er1
>conftest.err
16020 cat conftest.err
>&5
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; } &&
16029 { ac_try
='test -s conftest.$ac_objext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 ac_cv_type_short
=yes
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.
$ac_ext >&5
16040 ac_cv_type_short
=no
16042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16044 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16045 echo "${ECHO_T}$ac_cv_type_short" >&6
16047 echo "$as_me:$LINENO: checking size of short" >&5
16048 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16049 if test "${ac_cv_sizeof_short+set}" = set; then
16050 echo $ECHO_N "(cached) $ECHO_C" >&6
16052 if test "$ac_cv_type_short" = yes; then
16053 # The cast to unsigned long works around a bug in the HP C Compiler
16054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16056 # This bug is HP SR number 8606223364.
16057 if test "$cross_compiling" = yes; then
16058 # Depending upon the size, compute the lo and hi bounds.
16059 cat >conftest.
$ac_ext <<_ACEOF
16062 cat confdefs.h
>>conftest.
$ac_ext
16063 cat >>conftest.
$ac_ext <<_ACEOF
16064 /* end confdefs.h. */
16065 $ac_includes_default
16069 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16076 rm -f conftest.
$ac_objext
16077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16078 (eval $ac_compile) 2>conftest.er1
16080 grep -v '^ *+' conftest.er1
>conftest.err
16082 cat conftest.err
>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } &&
16085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try
='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16099 cat >conftest.
$ac_ext <<_ACEOF
16102 cat confdefs.h
>>conftest.
$ac_ext
16103 cat >>conftest.
$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16105 $ac_includes_default
16109 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16116 rm -f conftest.
$ac_objext
16117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16118 (eval $ac_compile) 2>conftest.er1
16120 grep -v '^ *+' conftest.er1
>conftest.err
16122 cat conftest.err
>&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } &&
16125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 (eval $ac_try) 2>&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; } &&
16131 { ac_try
='test -s conftest.$ac_objext'
16132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133 (eval $ac_try) 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; }; then
16137 ac_hi
=$ac_mid; break
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.
$ac_ext >&5
16142 ac_lo
=`expr $ac_mid + 1`
16143 if test $ac_lo -le $ac_mid; then
16147 ac_mid
=`expr 2 '*' $ac_mid + 1`
16149 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.
$ac_ext >&5
16155 cat >conftest.
$ac_ext <<_ACEOF
16158 cat confdefs.h
>>conftest.
$ac_ext
16159 cat >>conftest.
$ac_ext <<_ACEOF
16160 /* end confdefs.h. */
16161 $ac_includes_default
16165 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16172 rm -f conftest.
$ac_objext
16173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16174 (eval $ac_compile) 2>conftest.er1
16176 grep -v '^ *+' conftest.er1
>conftest.err
16178 cat conftest.err
>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; } &&
16187 { ac_try
='test -s conftest.$ac_objext'
16188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16189 (eval $ac_try) 2>&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); }; }; then
16195 cat >conftest.
$ac_ext <<_ACEOF
16198 cat confdefs.h
>>conftest.
$ac_ext
16199 cat >>conftest.
$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16201 $ac_includes_default
16205 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16212 rm -f conftest.
$ac_objext
16213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16214 (eval $ac_compile) 2>conftest.er1
16216 grep -v '^ *+' conftest.er1
>conftest.err
16218 cat conftest.err
>&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16223 (eval $ac_try) 2>&5
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); }; } &&
16227 { ac_try
='test -s conftest.$ac_objext'
16228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16229 (eval $ac_try) 2>&5
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); }; }; then
16233 ac_lo
=$ac_mid; break
16235 echo "$as_me: failed program was:" >&5
16236 sed 's/^/| /' conftest.
$ac_ext >&5
16238 ac_hi
=`expr '(' $ac_mid ')' - 1`
16239 if test $ac_mid -le $ac_hi; then
16243 ac_mid
=`expr 2 '*' $ac_mid`
16245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16248 echo "$as_me: failed program was:" >&5
16249 sed 's/^/| /' conftest.
$ac_ext >&5
16253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16256 # Binary search between lo and hi bounds.
16257 while test "x$ac_lo" != "x$ac_hi"; do
16258 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16259 cat >conftest.
$ac_ext <<_ACEOF
16262 cat confdefs.h
>>conftest.
$ac_ext
16263 cat >>conftest.
$ac_ext <<_ACEOF
16264 /* end confdefs.h. */
16265 $ac_includes_default
16269 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16276 rm -f conftest.
$ac_objext
16277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16278 (eval $ac_compile) 2>conftest.er1
16280 grep -v '^ *+' conftest.er1
>conftest.err
16282 cat conftest.err
>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } &&
16285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16287 (eval $ac_try) 2>&5
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); }; } &&
16291 { ac_try
='test -s conftest.$ac_objext'
16292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16293 (eval $ac_try) 2>&5
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); }; }; then
16299 echo "$as_me: failed program was:" >&5
16300 sed 's/^/| /' conftest.
$ac_ext >&5
16302 ac_lo
=`expr '(' $ac_mid ')' + 1`
16304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16307 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16308 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16309 See \`config.log' for more details." >&5
16310 echo "$as_me: error: cannot compute sizeof (short), 77
16311 See \`config.log' for more details." >&2;}
16312 { (exit 1); exit 1; }; } ;;
16315 if test "$cross_compiling" = yes; then
16316 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16317 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16318 { (exit 1); exit 1; }; }
16320 cat >conftest.
$ac_ext <<_ACEOF
16323 cat confdefs.h
>>conftest.
$ac_ext
16324 cat >>conftest.
$ac_ext <<_ACEOF
16325 /* end confdefs.h. */
16326 $ac_includes_default
16327 long longval () { return (long) (sizeof (short)); }
16328 unsigned long ulongval () { return (long) (sizeof (short)); }
16330 #include <stdlib.h>
16335 FILE *f = fopen ("conftest.val", "w");
16338 if (((long) (sizeof (short))) < 0)
16340 long i = longval ();
16341 if (i != ((long) (sizeof (short))))
16343 fprintf (f, "%ld\n", i);
16347 unsigned long i = ulongval ();
16348 if (i != ((long) (sizeof (short))))
16350 fprintf (f, "%lu\n", i);
16352 exit (ferror (f) || fclose (f) != 0);
16358 rm -f conftest
$ac_exeext
16359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16360 (eval $ac_link) 2>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16365 (eval $ac_try) 2>&5
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); }; }; then
16369 ac_cv_sizeof_short
=`cat conftest.val`
16371 echo "$as_me: program exited with status $ac_status" >&5
16372 echo "$as_me: failed program was:" >&5
16373 sed 's/^/| /' conftest.
$ac_ext >&5
16375 ( exit $ac_status )
16376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16377 See \`config.log' for more details." >&5
16378 echo "$as_me: error: cannot compute sizeof (short), 77
16379 See \`config.log' for more details." >&2;}
16380 { (exit 1); exit 1; }; }
16382 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16387 ac_cv_sizeof_short
=0
16390 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16391 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16392 cat >>confdefs.h
<<_ACEOF
16393 #define SIZEOF_SHORT $ac_cv_sizeof_short
16397 echo "$as_me:$LINENO: checking for void *" >&5
16398 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16399 if test "${ac_cv_type_void_p+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 cat >conftest.
$ac_ext <<_ACEOF
16405 cat confdefs.h
>>conftest.
$ac_ext
16406 cat >>conftest.
$ac_ext <<_ACEOF
16407 /* end confdefs.h. */
16408 $ac_includes_default
16414 if (sizeof (void *))
16420 rm -f conftest.
$ac_objext
16421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16422 (eval $ac_compile) 2>conftest.er1
16424 grep -v '^ *+' conftest.er1
>conftest.err
16426 cat conftest.err
>&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } &&
16429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16431 (eval $ac_try) 2>&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); }; } &&
16435 { ac_try
='test -s conftest.$ac_objext'
16436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16437 (eval $ac_try) 2>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); }; }; then
16441 ac_cv_type_void_p
=yes
16443 echo "$as_me: failed program was:" >&5
16444 sed 's/^/| /' conftest.
$ac_ext >&5
16446 ac_cv_type_void_p
=no
16448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16450 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16451 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16453 echo "$as_me:$LINENO: checking size of void *" >&5
16454 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16455 if test "${ac_cv_sizeof_void_p+set}" = set; then
16456 echo $ECHO_N "(cached) $ECHO_C" >&6
16458 if test "$ac_cv_type_void_p" = yes; then
16459 # The cast to unsigned long works around a bug in the HP C Compiler
16460 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16461 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16462 # This bug is HP SR number 8606223364.
16463 if test "$cross_compiling" = yes; then
16464 # Depending upon the size, compute the lo and hi bounds.
16465 cat >conftest.
$ac_ext <<_ACEOF
16468 cat confdefs.h
>>conftest.
$ac_ext
16469 cat >>conftest.
$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 $ac_includes_default
16475 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16482 rm -f conftest.
$ac_objext
16483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16484 (eval $ac_compile) 2>conftest.er1
16486 grep -v '^ *+' conftest.er1
>conftest.err
16488 cat conftest.err
>&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } &&
16491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; } &&
16497 { ac_try
='test -s conftest.$ac_objext'
16498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16499 (eval $ac_try) 2>&5
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); }; }; then
16505 cat >conftest.
$ac_ext <<_ACEOF
16508 cat confdefs.h
>>conftest.
$ac_ext
16509 cat >>conftest.
$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16511 $ac_includes_default
16515 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16522 rm -f conftest.
$ac_objext
16523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16524 (eval $ac_compile) 2>conftest.er1
16526 grep -v '^ *+' conftest.er1
>conftest.err
16528 cat conftest.err
>&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; } &&
16537 { ac_try
='test -s conftest.$ac_objext'
16538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then
16543 ac_hi
=$ac_mid; break
16545 echo "$as_me: failed program was:" >&5
16546 sed 's/^/| /' conftest.
$ac_ext >&5
16548 ac_lo
=`expr $ac_mid + 1`
16549 if test $ac_lo -le $ac_mid; then
16553 ac_mid
=`expr 2 '*' $ac_mid + 1`
16555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.
$ac_ext >&5
16561 cat >conftest.
$ac_ext <<_ACEOF
16564 cat confdefs.h
>>conftest.
$ac_ext
16565 cat >>conftest.
$ac_ext <<_ACEOF
16566 /* end confdefs.h. */
16567 $ac_includes_default
16571 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16578 rm -f conftest.
$ac_objext
16579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16580 (eval $ac_compile) 2>conftest.er1
16582 grep -v '^ *+' conftest.er1
>conftest.err
16584 cat conftest.err
>&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } &&
16587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; } &&
16593 { ac_try
='test -s conftest.$ac_objext'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; }; then
16601 cat >conftest.
$ac_ext <<_ACEOF
16604 cat confdefs.h
>>conftest.
$ac_ext
16605 cat >>conftest.
$ac_ext <<_ACEOF
16606 /* end confdefs.h. */
16607 $ac_includes_default
16611 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16618 rm -f conftest.
$ac_objext
16619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16620 (eval $ac_compile) 2>conftest.er1
16622 grep -v '^ *+' conftest.er1
>conftest.err
16624 cat conftest.err
>&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); } &&
16627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; } &&
16633 { ac_try
='test -s conftest.$ac_objext'
16634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16635 (eval $ac_try) 2>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }; }; then
16639 ac_lo
=$ac_mid; break
16641 echo "$as_me: failed program was:" >&5
16642 sed 's/^/| /' conftest.
$ac_ext >&5
16644 ac_hi
=`expr '(' $ac_mid ')' - 1`
16645 if test $ac_mid -le $ac_hi; then
16649 ac_mid
=`expr 2 '*' $ac_mid`
16651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.
$ac_ext >&5
16659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16662 # Binary search between lo and hi bounds.
16663 while test "x$ac_lo" != "x$ac_hi"; do
16664 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16665 cat >conftest.
$ac_ext <<_ACEOF
16668 cat confdefs.h
>>conftest.
$ac_ext
16669 cat >>conftest.
$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16671 $ac_includes_default
16675 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16682 rm -f conftest.
$ac_objext
16683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16684 (eval $ac_compile) 2>conftest.er1
16686 grep -v '^ *+' conftest.er1
>conftest.err
16688 cat conftest.err
>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } &&
16691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; } &&
16697 { ac_try
='test -s conftest.$ac_objext'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; }; then
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.
$ac_ext >&5
16708 ac_lo
=`expr '(' $ac_mid ')' + 1`
16710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16713 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16714 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16715 See \`config.log' for more details." >&5
16716 echo "$as_me: error: cannot compute sizeof (void *), 77
16717 See \`config.log' for more details." >&2;}
16718 { (exit 1); exit 1; }; } ;;
16721 if test "$cross_compiling" = yes; then
16722 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16723 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16724 { (exit 1); exit 1; }; }
16726 cat >conftest.
$ac_ext <<_ACEOF
16729 cat confdefs.h
>>conftest.
$ac_ext
16730 cat >>conftest.
$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 $ac_includes_default
16733 long longval () { return (long) (sizeof (void *)); }
16734 unsigned long ulongval () { return (long) (sizeof (void *)); }
16736 #include <stdlib.h>
16741 FILE *f = fopen ("conftest.val", "w");
16744 if (((long) (sizeof (void *))) < 0)
16746 long i = longval ();
16747 if (i != ((long) (sizeof (void *))))
16749 fprintf (f, "%ld\n", i);
16753 unsigned long i = ulongval ();
16754 if (i != ((long) (sizeof (void *))))
16756 fprintf (f, "%lu\n", i);
16758 exit (ferror (f) || fclose (f) != 0);
16764 rm -f conftest
$ac_exeext
16765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16766 (eval $ac_link) 2>&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16775 ac_cv_sizeof_void_p
=`cat conftest.val`
16777 echo "$as_me: program exited with status $ac_status" >&5
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.
$ac_ext >&5
16781 ( exit $ac_status )
16782 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16783 See \`config.log' for more details." >&5
16784 echo "$as_me: error: cannot compute sizeof (void *), 77
16785 See \`config.log' for more details." >&2;}
16786 { (exit 1); exit 1; }; }
16788 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16793 ac_cv_sizeof_void_p
=0
16796 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16797 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16798 cat >>confdefs.h
<<_ACEOF
16799 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16803 echo "$as_me:$LINENO: checking for int" >&5
16804 echo $ECHO_N "checking for int... $ECHO_C" >&6
16805 if test "${ac_cv_type_int+set}" = set; then
16806 echo $ECHO_N "(cached) $ECHO_C" >&6
16808 cat >conftest.
$ac_ext <<_ACEOF
16811 cat confdefs.h
>>conftest.
$ac_ext
16812 cat >>conftest.
$ac_ext <<_ACEOF
16813 /* end confdefs.h. */
16814 $ac_includes_default
16826 rm -f conftest.
$ac_objext
16827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16828 (eval $ac_compile) 2>conftest.er1
16830 grep -v '^ *+' conftest.er1
>conftest.err
16832 cat conftest.err
>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } &&
16835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16837 (eval $ac_try) 2>&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); }; } &&
16841 { ac_try
='test -s conftest.$ac_objext'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; }; then
16849 echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.
$ac_ext >&5
16854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16856 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16857 echo "${ECHO_T}$ac_cv_type_int" >&6
16859 echo "$as_me:$LINENO: checking size of int" >&5
16860 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16861 if test "${ac_cv_sizeof_int+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16864 if test "$ac_cv_type_int" = yes; then
16865 # The cast to unsigned long works around a bug in the HP C Compiler
16866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16868 # This bug is HP SR number 8606223364.
16869 if test "$cross_compiling" = yes; then
16870 # Depending upon the size, compute the lo and hi bounds.
16871 cat >conftest.
$ac_ext <<_ACEOF
16874 cat confdefs.h
>>conftest.
$ac_ext
16875 cat >>conftest.
$ac_ext <<_ACEOF
16876 /* end confdefs.h. */
16877 $ac_includes_default
16881 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16888 rm -f conftest.
$ac_objext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16890 (eval $ac_compile) 2>conftest.er1
16892 grep -v '^ *+' conftest.er1
>conftest.err
16894 cat conftest.err
>&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } &&
16897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; } &&
16903 { ac_try
='test -s conftest.$ac_objext'
16904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905 (eval $ac_try) 2>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); }; }; then
16911 cat >conftest.
$ac_ext <<_ACEOF
16914 cat confdefs.h
>>conftest.
$ac_ext
16915 cat >>conftest.
$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16917 $ac_includes_default
16921 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16928 rm -f conftest.
$ac_objext
16929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16930 (eval $ac_compile) 2>conftest.er1
16932 grep -v '^ *+' conftest.er1
>conftest.err
16934 cat conftest.err
>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } &&
16937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; } &&
16943 { ac_try
='test -s conftest.$ac_objext'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; }; then
16949 ac_hi
=$ac_mid; break
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.
$ac_ext >&5
16954 ac_lo
=`expr $ac_mid + 1`
16955 if test $ac_lo -le $ac_mid; then
16959 ac_mid
=`expr 2 '*' $ac_mid + 1`
16961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16964 echo "$as_me: failed program was:" >&5
16965 sed 's/^/| /' conftest.
$ac_ext >&5
16967 cat >conftest.
$ac_ext <<_ACEOF
16970 cat confdefs.h
>>conftest.
$ac_ext
16971 cat >>conftest.
$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973 $ac_includes_default
16977 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16984 rm -f conftest.
$ac_objext
16985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16986 (eval $ac_compile) 2>conftest.er1
16988 grep -v '^ *+' conftest.er1
>conftest.err
16990 cat conftest.err
>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); } &&
16993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; } &&
16999 { ac_try
='test -s conftest.$ac_objext'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; }; then
17007 cat >conftest.
$ac_ext <<_ACEOF
17010 cat confdefs.h
>>conftest.
$ac_ext
17011 cat >>conftest.
$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 $ac_includes_default
17017 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17024 rm -f conftest.
$ac_objext
17025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17026 (eval $ac_compile) 2>conftest.er1
17028 grep -v '^ *+' conftest.er1
>conftest.err
17030 cat conftest.err
>&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } &&
17033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17035 (eval $ac_try) 2>&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); }; } &&
17039 { ac_try
='test -s conftest.$ac_objext'
17040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17041 (eval $ac_try) 2>&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); }; }; then
17045 ac_lo
=$ac_mid; break
17047 echo "$as_me: failed program was:" >&5
17048 sed 's/^/| /' conftest.
$ac_ext >&5
17050 ac_hi
=`expr '(' $ac_mid ')' - 1`
17051 if test $ac_mid -le $ac_hi; then
17055 ac_mid
=`expr 2 '*' $ac_mid`
17057 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.
$ac_ext >&5
17065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17068 # Binary search between lo and hi bounds.
17069 while test "x$ac_lo" != "x$ac_hi"; do
17070 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17071 cat >conftest.
$ac_ext <<_ACEOF
17074 cat confdefs.h
>>conftest.
$ac_ext
17075 cat >>conftest.
$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 $ac_includes_default
17081 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17088 rm -f conftest.
$ac_objext
17089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17090 (eval $ac_compile) 2>conftest.er1
17092 grep -v '^ *+' conftest.er1
>conftest.err
17094 cat conftest.err
>&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); } &&
17097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099 (eval $ac_try) 2>&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); }; } &&
17103 { ac_try
='test -s conftest.$ac_objext'
17104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17105 (eval $ac_try) 2>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; }; then
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.
$ac_ext >&5
17114 ac_lo
=`expr '(' $ac_mid ')' + 1`
17116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17119 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17120 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17121 See \`config.log' for more details." >&5
17122 echo "$as_me: error: cannot compute sizeof (int), 77
17123 See \`config.log' for more details." >&2;}
17124 { (exit 1); exit 1; }; } ;;
17127 if test "$cross_compiling" = yes; then
17128 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17129 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17130 { (exit 1); exit 1; }; }
17132 cat >conftest.
$ac_ext <<_ACEOF
17135 cat confdefs.h
>>conftest.
$ac_ext
17136 cat >>conftest.
$ac_ext <<_ACEOF
17137 /* end confdefs.h. */
17138 $ac_includes_default
17139 long longval () { return (long) (sizeof (int)); }
17140 unsigned long ulongval () { return (long) (sizeof (int)); }
17142 #include <stdlib.h>
17147 FILE *f = fopen ("conftest.val", "w");
17150 if (((long) (sizeof (int))) < 0)
17152 long i = longval ();
17153 if (i != ((long) (sizeof (int))))
17155 fprintf (f, "%ld\n", i);
17159 unsigned long i = ulongval ();
17160 if (i != ((long) (sizeof (int))))
17162 fprintf (f, "%lu\n", i);
17164 exit (ferror (f) || fclose (f) != 0);
17170 rm -f conftest
$ac_exeext
17171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17172 (eval $ac_link) 2>&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17177 (eval $ac_try) 2>&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); }; }; then
17181 ac_cv_sizeof_int
=`cat conftest.val`
17183 echo "$as_me: program exited with status $ac_status" >&5
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.
$ac_ext >&5
17187 ( exit $ac_status )
17188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17189 See \`config.log' for more details." >&5
17190 echo "$as_me: error: cannot compute sizeof (int), 77
17191 See \`config.log' for more details." >&2;}
17192 { (exit 1); exit 1; }; }
17194 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17202 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17203 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17204 cat >>confdefs.h
<<_ACEOF
17205 #define SIZEOF_INT $ac_cv_sizeof_int
17209 echo "$as_me:$LINENO: checking for long" >&5
17210 echo $ECHO_N "checking for long... $ECHO_C" >&6
17211 if test "${ac_cv_type_long+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17214 cat >conftest.
$ac_ext <<_ACEOF
17217 cat confdefs.h
>>conftest.
$ac_ext
17218 cat >>conftest.
$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220 $ac_includes_default
17232 rm -f conftest.
$ac_objext
17233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17234 (eval $ac_compile) 2>conftest.er1
17236 grep -v '^ *+' conftest.er1
>conftest.err
17238 cat conftest.err
>&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } &&
17241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; } &&
17247 { ac_try
='test -s conftest.$ac_objext'
17248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; }; then
17253 ac_cv_type_long
=yes
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.
$ac_ext >&5
17260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17262 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17263 echo "${ECHO_T}$ac_cv_type_long" >&6
17265 echo "$as_me:$LINENO: checking size of long" >&5
17266 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17267 if test "${ac_cv_sizeof_long+set}" = set; then
17268 echo $ECHO_N "(cached) $ECHO_C" >&6
17270 if test "$ac_cv_type_long" = yes; then
17271 # The cast to unsigned long works around a bug in the HP C Compiler
17272 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17273 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17274 # This bug is HP SR number 8606223364.
17275 if test "$cross_compiling" = yes; then
17276 # Depending upon the size, compute the lo and hi bounds.
17277 cat >conftest.
$ac_ext <<_ACEOF
17280 cat confdefs.h
>>conftest.
$ac_ext
17281 cat >>conftest.
$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 $ac_includes_default
17287 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17294 rm -f conftest.
$ac_objext
17295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17296 (eval $ac_compile) 2>conftest.er1
17298 grep -v '^ *+' conftest.er1
>conftest.err
17300 cat conftest.err
>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); } &&
17303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; } &&
17309 { ac_try
='test -s conftest.$ac_objext'
17310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17311 (eval $ac_try) 2>&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); }; }; then
17317 cat >conftest.
$ac_ext <<_ACEOF
17320 cat confdefs.h
>>conftest.
$ac_ext
17321 cat >>conftest.
$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17323 $ac_includes_default
17327 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17334 rm -f conftest.
$ac_objext
17335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17336 (eval $ac_compile) 2>conftest.er1
17338 grep -v '^ *+' conftest.er1
>conftest.err
17340 cat conftest.err
>&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } &&
17343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }; } &&
17349 { ac_try
='test -s conftest.$ac_objext'
17350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17351 (eval $ac_try) 2>&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); }; }; then
17355 ac_hi
=$ac_mid; break
17357 echo "$as_me: failed program was:" >&5
17358 sed 's/^/| /' conftest.
$ac_ext >&5
17360 ac_lo
=`expr $ac_mid + 1`
17361 if test $ac_lo -le $ac_mid; then
17365 ac_mid
=`expr 2 '*' $ac_mid + 1`
17367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.
$ac_ext >&5
17373 cat >conftest.
$ac_ext <<_ACEOF
17376 cat confdefs.h
>>conftest.
$ac_ext
17377 cat >>conftest.
$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17379 $ac_includes_default
17383 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17390 rm -f conftest.
$ac_objext
17391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17392 (eval $ac_compile) 2>conftest.er1
17394 grep -v '^ *+' conftest.er1
>conftest.err
17396 cat conftest.err
>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); } &&
17399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17401 (eval $ac_try) 2>&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); }; } &&
17405 { ac_try
='test -s conftest.$ac_objext'
17406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17407 (eval $ac_try) 2>&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); }; }; then
17413 cat >conftest.
$ac_ext <<_ACEOF
17416 cat confdefs.h
>>conftest.
$ac_ext
17417 cat >>conftest.
$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419 $ac_includes_default
17423 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17430 rm -f conftest.
$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17434 grep -v '^ *+' conftest.er1
>conftest.err
17436 cat conftest.err
>&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; } &&
17445 { ac_try
='test -s conftest.$ac_objext'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; }; then
17451 ac_lo
=$ac_mid; break
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.
$ac_ext >&5
17456 ac_hi
=`expr '(' $ac_mid ')' - 1`
17457 if test $ac_mid -le $ac_hi; then
17461 ac_mid
=`expr 2 '*' $ac_mid`
17463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.
$ac_ext >&5
17471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17474 # Binary search between lo and hi bounds.
17475 while test "x$ac_lo" != "x$ac_hi"; do
17476 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17477 cat >conftest.
$ac_ext <<_ACEOF
17480 cat confdefs.h
>>conftest.
$ac_ext
17481 cat >>conftest.
$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17483 $ac_includes_default
17487 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17494 rm -f conftest.
$ac_objext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17496 (eval $ac_compile) 2>conftest.er1
17498 grep -v '^ *+' conftest.er1
>conftest.err
17500 cat conftest.err
>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; } &&
17509 { ac_try
='test -s conftest.$ac_objext'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; }; then
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.
$ac_ext >&5
17520 ac_lo
=`expr '(' $ac_mid ')' + 1`
17522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17525 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17526 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17527 See \`config.log' for more details." >&5
17528 echo "$as_me: error: cannot compute sizeof (long), 77
17529 See \`config.log' for more details." >&2;}
17530 { (exit 1); exit 1; }; } ;;
17533 if test "$cross_compiling" = yes; then
17534 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17535 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17536 { (exit 1); exit 1; }; }
17538 cat >conftest.
$ac_ext <<_ACEOF
17541 cat confdefs.h
>>conftest.
$ac_ext
17542 cat >>conftest.
$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 $ac_includes_default
17545 long longval () { return (long) (sizeof (long)); }
17546 unsigned long ulongval () { return (long) (sizeof (long)); }
17548 #include <stdlib.h>
17553 FILE *f = fopen ("conftest.val", "w");
17556 if (((long) (sizeof (long))) < 0)
17558 long i = longval ();
17559 if (i != ((long) (sizeof (long))))
17561 fprintf (f, "%ld\n", i);
17565 unsigned long i = ulongval ();
17566 if (i != ((long) (sizeof (long))))
17568 fprintf (f, "%lu\n", i);
17570 exit (ferror (f) || fclose (f) != 0);
17576 rm -f conftest
$ac_exeext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17578 (eval $ac_link) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 ac_cv_sizeof_long
=`cat conftest.val`
17589 echo "$as_me: program exited with status $ac_status" >&5
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.
$ac_ext >&5
17593 ( exit $ac_status )
17594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17595 See \`config.log' for more details." >&5
17596 echo "$as_me: error: cannot compute sizeof (long), 77
17597 See \`config.log' for more details." >&2;}
17598 { (exit 1); exit 1; }; }
17600 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17605 ac_cv_sizeof_long
=0
17608 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17609 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17610 cat >>confdefs.h
<<_ACEOF
17611 #define SIZEOF_LONG $ac_cv_sizeof_long
17615 echo "$as_me:$LINENO: checking for size_t" >&5
17616 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17617 if test "${ac_cv_type_size_t+set}" = set; then
17618 echo $ECHO_N "(cached) $ECHO_C" >&6
17620 cat >conftest.
$ac_ext <<_ACEOF
17623 cat confdefs.h
>>conftest.
$ac_ext
17624 cat >>conftest.
$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17626 $ac_includes_default
17632 if (sizeof (size_t))
17638 rm -f conftest.
$ac_objext
17639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17640 (eval $ac_compile) 2>conftest.er1
17642 grep -v '^ *+' conftest.er1
>conftest.err
17644 cat conftest.err
>&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } &&
17647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; } &&
17653 { ac_try
='test -s conftest.$ac_objext'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; }; then
17659 ac_cv_type_size_t
=yes
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.
$ac_ext >&5
17664 ac_cv_type_size_t
=no
17666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17668 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17669 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17671 echo "$as_me:$LINENO: checking size of size_t" >&5
17672 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17673 if test "${ac_cv_sizeof_size_t+set}" = set; then
17674 echo $ECHO_N "(cached) $ECHO_C" >&6
17676 if test "$ac_cv_type_size_t" = yes; then
17677 # The cast to unsigned long works around a bug in the HP C Compiler
17678 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17679 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17680 # This bug is HP SR number 8606223364.
17681 if test "$cross_compiling" = yes; then
17682 # Depending upon the size, compute the lo and hi bounds.
17683 cat >conftest.
$ac_ext <<_ACEOF
17686 cat confdefs.h
>>conftest.
$ac_ext
17687 cat >>conftest.
$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17693 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17700 rm -f conftest.
$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>conftest.er1
17704 grep -v '^ *+' conftest.er1
>conftest.err
17706 cat conftest.err
>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; } &&
17715 { ac_try
='test -s conftest.$ac_objext'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17723 cat >conftest.
$ac_ext <<_ACEOF
17726 cat confdefs.h
>>conftest.
$ac_ext
17727 cat >>conftest.
$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 $ac_includes_default
17733 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17740 rm -f conftest.
$ac_objext
17741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17742 (eval $ac_compile) 2>conftest.er1
17744 grep -v '^ *+' conftest.er1
>conftest.err
17746 cat conftest.err
>&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } &&
17749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; } &&
17755 { ac_try
='test -s conftest.$ac_objext'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; }; then
17761 ac_hi
=$ac_mid; break
17763 echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.
$ac_ext >&5
17766 ac_lo
=`expr $ac_mid + 1`
17767 if test $ac_lo -le $ac_mid; then
17771 ac_mid
=`expr 2 '*' $ac_mid + 1`
17773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.
$ac_ext >&5
17779 cat >conftest.
$ac_ext <<_ACEOF
17782 cat confdefs.h
>>conftest.
$ac_ext
17783 cat >>conftest.
$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 $ac_includes_default
17789 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
17796 rm -f conftest.
$ac_objext
17797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17798 (eval $ac_compile) 2>conftest.er1
17800 grep -v '^ *+' conftest.er1
>conftest.err
17802 cat conftest.err
>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; } &&
17811 { ac_try
='test -s conftest.$ac_objext'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; }; then
17819 cat >conftest.
$ac_ext <<_ACEOF
17822 cat confdefs.h
>>conftest.
$ac_ext
17823 cat >>conftest.
$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 $ac_includes_default
17829 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
17836 rm -f conftest.
$ac_objext
17837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17838 (eval $ac_compile) 2>conftest.er1
17840 grep -v '^ *+' conftest.er1
>conftest.err
17842 cat conftest.err
>&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } &&
17845 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; } &&
17851 { ac_try
='test -s conftest.$ac_objext'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; }; then
17857 ac_lo
=$ac_mid; break
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.
$ac_ext >&5
17862 ac_hi
=`expr '(' $ac_mid ')' - 1`
17863 if test $ac_mid -le $ac_hi; then
17867 ac_mid
=`expr 2 '*' $ac_mid`
17869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.
$ac_ext >&5
17877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17880 # Binary search between lo and hi bounds.
17881 while test "x$ac_lo" != "x$ac_hi"; do
17882 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17883 cat >conftest.
$ac_ext <<_ACEOF
17886 cat confdefs.h
>>conftest.
$ac_ext
17887 cat >>conftest.
$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889 $ac_includes_default
17893 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
17900 rm -f conftest.
$ac_objext
17901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17902 (eval $ac_compile) 2>conftest.er1
17904 grep -v '^ *+' conftest.er1
>conftest.err
17906 cat conftest.err
>&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); } &&
17909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911 (eval $ac_try) 2>&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; } &&
17915 { ac_try
='test -s conftest.$ac_objext'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; }; then
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.
$ac_ext >&5
17926 ac_lo
=`expr '(' $ac_mid ')' + 1`
17928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17931 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
17932 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
17933 See \`config.log' for more details." >&5
17934 echo "$as_me: error: cannot compute sizeof (size_t), 77
17935 See \`config.log' for more details." >&2;}
17936 { (exit 1); exit 1; }; } ;;
17939 if test "$cross_compiling" = yes; then
17940 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17941 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17942 { (exit 1); exit 1; }; }
17944 cat >conftest.
$ac_ext <<_ACEOF
17947 cat confdefs.h
>>conftest.
$ac_ext
17948 cat >>conftest.
$ac_ext <<_ACEOF
17949 /* end confdefs.h. */
17950 $ac_includes_default
17951 long longval () { return (long) (sizeof (size_t)); }
17952 unsigned long ulongval () { return (long) (sizeof (size_t)); }
17954 #include <stdlib.h>
17959 FILE *f = fopen ("conftest.val", "w");
17962 if (((long) (sizeof (size_t))) < 0)
17964 long i = longval ();
17965 if (i != ((long) (sizeof (size_t))))
17967 fprintf (f, "%ld\n", i);
17971 unsigned long i = ulongval ();
17972 if (i != ((long) (sizeof (size_t))))
17974 fprintf (f, "%lu\n", i);
17976 exit (ferror (f) || fclose (f) != 0);
17982 rm -f conftest
$ac_exeext
17983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17984 (eval $ac_link) 2>&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 (eval $ac_try) 2>&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); }; }; then
17993 ac_cv_sizeof_size_t
=`cat conftest.val`
17995 echo "$as_me: program exited with status $ac_status" >&5
17996 echo "$as_me: failed program was:" >&5
17997 sed 's/^/| /' conftest.
$ac_ext >&5
17999 ( exit $ac_status )
18000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18001 See \`config.log' for more details." >&5
18002 echo "$as_me: error: cannot compute sizeof (size_t), 77
18003 See \`config.log' for more details." >&2;}
18004 { (exit 1); exit 1; }; }
18006 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18011 ac_cv_sizeof_size_t
=0
18014 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18015 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18016 cat >>confdefs.h
<<_ACEOF
18017 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18024 echo "$as_me:$LINENO: checking for long long" >&5
18025 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18026 if test "${ac_cv_type_long_long+set}" = set; then
18027 echo $ECHO_N "(cached) $ECHO_C" >&6
18029 cat >conftest.
$ac_ext <<_ACEOF
18032 cat confdefs.h
>>conftest.
$ac_ext
18033 cat >>conftest.
$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 $ac_includes_default
18039 if ((long long *) 0)
18041 if (sizeof (long long))
18047 rm -f conftest.
$ac_objext
18048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18049 (eval $ac_compile) 2>conftest.er1
18051 grep -v '^ *+' conftest.er1
>conftest.err
18053 cat conftest.err
>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); } &&
18056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18058 (eval $ac_try) 2>&5
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); }; } &&
18062 { ac_try
='test -s conftest.$ac_objext'
18063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18064 (eval $ac_try) 2>&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); }; }; then
18068 ac_cv_type_long_long
=yes
18070 echo "$as_me: failed program was:" >&5
18071 sed 's/^/| /' conftest.
$ac_ext >&5
18073 ac_cv_type_long_long
=no
18075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18077 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18078 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18080 echo "$as_me:$LINENO: checking size of long long" >&5
18081 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18082 if test "${ac_cv_sizeof_long_long+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 if test "$ac_cv_type_long_long" = yes; then
18086 # The cast to unsigned long works around a bug in the HP C Compiler
18087 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18088 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18089 # This bug is HP SR number 8606223364.
18090 if test "$cross_compiling" = yes; then
18091 # Depending upon the size, compute the lo and hi bounds.
18092 cat >conftest.
$ac_ext <<_ACEOF
18095 cat confdefs.h
>>conftest.
$ac_ext
18096 cat >>conftest.
$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098 $ac_includes_default
18102 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
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
18132 cat >conftest.
$ac_ext <<_ACEOF
18135 cat confdefs.h
>>conftest.
$ac_ext
18136 cat >>conftest.
$ac_ext <<_ACEOF
18137 /* end confdefs.h. */
18138 $ac_includes_default
18142 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18149 rm -f conftest.
$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151 (eval $ac_compile) 2>conftest.er1
18153 grep -v '^ *+' conftest.er1
>conftest.err
18155 cat conftest.err
>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } &&
18158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; } &&
18164 { ac_try
='test -s conftest.$ac_objext'
18165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18166 (eval $ac_try) 2>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); }; }; then
18170 ac_hi
=$ac_mid; break
18172 echo "$as_me: failed program was:" >&5
18173 sed 's/^/| /' conftest.
$ac_ext >&5
18175 ac_lo
=`expr $ac_mid + 1`
18176 if test $ac_lo -le $ac_mid; then
18180 ac_mid
=`expr 2 '*' $ac_mid + 1`
18182 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18185 echo "$as_me: failed program was:" >&5
18186 sed 's/^/| /' conftest.
$ac_ext >&5
18188 cat >conftest.
$ac_ext <<_ACEOF
18191 cat confdefs.h
>>conftest.
$ac_ext
18192 cat >>conftest.
$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194 $ac_includes_default
18198 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18205 rm -f conftest.
$ac_objext
18206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18207 (eval $ac_compile) 2>conftest.er1
18209 grep -v '^ *+' conftest.er1
>conftest.err
18211 cat conftest.err
>&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); } &&
18214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; } &&
18220 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18228 cat >conftest.
$ac_ext <<_ACEOF
18231 cat confdefs.h
>>conftest.
$ac_ext
18232 cat >>conftest.
$ac_ext <<_ACEOF
18233 /* end confdefs.h. */
18234 $ac_includes_default
18238 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18245 rm -f conftest.
$ac_objext
18246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18247 (eval $ac_compile) 2>conftest.er1
18249 grep -v '^ *+' conftest.er1
>conftest.err
18251 cat conftest.err
>&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } &&
18254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18256 (eval $ac_try) 2>&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); }; } &&
18260 { ac_try
='test -s conftest.$ac_objext'
18261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18262 (eval $ac_try) 2>&5
18264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265 (exit $ac_status); }; }; then
18266 ac_lo
=$ac_mid; break
18268 echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.
$ac_ext >&5
18271 ac_hi
=`expr '(' $ac_mid ')' - 1`
18272 if test $ac_mid -le $ac_hi; then
18276 ac_mid
=`expr 2 '*' $ac_mid`
18278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.
$ac_ext >&5
18286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18289 # Binary search between lo and hi bounds.
18290 while test "x$ac_lo" != "x$ac_hi"; do
18291 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18292 cat >conftest.
$ac_ext <<_ACEOF
18295 cat confdefs.h
>>conftest.
$ac_ext
18296 cat >>conftest.
$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 $ac_includes_default
18302 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18309 rm -f conftest.
$ac_objext
18310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18311 (eval $ac_compile) 2>conftest.er1
18313 grep -v '^ *+' conftest.er1
>conftest.err
18315 cat conftest.err
>&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } &&
18318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try
='test -s conftest.$ac_objext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18332 echo "$as_me: failed program was:" >&5
18333 sed 's/^/| /' conftest.
$ac_ext >&5
18335 ac_lo
=`expr '(' $ac_mid ')' + 1`
18337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18340 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18341 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18342 See \`config.log' for more details." >&5
18343 echo "$as_me: error: cannot compute sizeof (long long), 77
18344 See \`config.log' for more details." >&2;}
18345 { (exit 1); exit 1; }; } ;;
18348 if test "$cross_compiling" = yes; then
18349 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18350 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18351 { (exit 1); exit 1; }; }
18353 cat >conftest.
$ac_ext <<_ACEOF
18356 cat confdefs.h
>>conftest.
$ac_ext
18357 cat >>conftest.
$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18360 long longval () { return (long) (sizeof (long long)); }
18361 unsigned long ulongval () { return (long) (sizeof (long long)); }
18363 #include <stdlib.h>
18368 FILE *f = fopen ("conftest.val", "w");
18371 if (((long) (sizeof (long long))) < 0)
18373 long i = longval ();
18374 if (i != ((long) (sizeof (long long))))
18376 fprintf (f, "%ld\n", i);
18380 unsigned long i = ulongval ();
18381 if (i != ((long) (sizeof (long long))))
18383 fprintf (f, "%lu\n", i);
18385 exit (ferror (f) || fclose (f) != 0);
18391 rm -f conftest
$ac_exeext
18392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18393 (eval $ac_link) 2>&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18398 (eval $ac_try) 2>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); }; }; then
18402 ac_cv_sizeof_long_long
=`cat conftest.val`
18404 echo "$as_me: program exited with status $ac_status" >&5
18405 echo "$as_me: failed program was:" >&5
18406 sed 's/^/| /' conftest.
$ac_ext >&5
18408 ( exit $ac_status )
18409 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18410 See \`config.log' for more details." >&5
18411 echo "$as_me: error: cannot compute sizeof (long long), 77
18412 See \`config.log' for more details." >&2;}
18413 { (exit 1); exit 1; }; }
18415 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18420 ac_cv_sizeof_long_long
=0
18423 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18424 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18425 cat >>confdefs.h
<<_ACEOF
18426 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18432 echo "$as_me:$LINENO: checking for long long" >&5
18433 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18434 if test "${ac_cv_type_long_long+set}" = set; then
18435 echo $ECHO_N "(cached) $ECHO_C" >&6
18437 cat >conftest.
$ac_ext <<_ACEOF
18440 cat confdefs.h
>>conftest.
$ac_ext
18441 cat >>conftest.
$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18443 $ac_includes_default
18447 if ((long long *) 0)
18449 if (sizeof (long long))
18455 rm -f conftest.
$ac_objext
18456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18457 (eval $ac_compile) 2>conftest.er1
18459 grep -v '^ *+' conftest.er1
>conftest.err
18461 cat conftest.err
>&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } &&
18464 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; } &&
18470 { ac_try
='test -s conftest.$ac_objext'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 ac_cv_type_long_long
=yes
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.
$ac_ext >&5
18481 ac_cv_type_long_long
=no
18483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18485 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18486 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18488 echo "$as_me:$LINENO: checking size of long long" >&5
18489 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18490 if test "${ac_cv_sizeof_long_long+set}" = set; then
18491 echo $ECHO_N "(cached) $ECHO_C" >&6
18493 if test "$ac_cv_type_long_long" = yes; then
18494 # The cast to unsigned long works around a bug in the HP C Compiler
18495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18497 # This bug is HP SR number 8606223364.
18498 if test "$cross_compiling" = yes; then
18499 # Depending upon the size, compute the lo and hi bounds.
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 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18517 rm -f conftest.
$ac_objext
18518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18519 (eval $ac_compile) 2>conftest.er1
18521 grep -v '^ *+' conftest.er1
>conftest.err
18523 cat conftest.err
>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18528 (eval $ac_try) 2>&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); }; } &&
18532 { ac_try
='test -s conftest.$ac_objext'
18533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18534 (eval $ac_try) 2>&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); }; }; then
18540 cat >conftest.
$ac_ext <<_ACEOF
18543 cat confdefs.h
>>conftest.
$ac_ext
18544 cat >>conftest.
$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 $ac_includes_default
18550 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18557 rm -f conftest.
$ac_objext
18558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18559 (eval $ac_compile) 2>conftest.er1
18561 grep -v '^ *+' conftest.er1
>conftest.err
18563 cat conftest.err
>&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } &&
18566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; } &&
18572 { ac_try
='test -s conftest.$ac_objext'
18573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18574 (eval $ac_try) 2>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); }; }; then
18578 ac_hi
=$ac_mid; break
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.
$ac_ext >&5
18583 ac_lo
=`expr $ac_mid + 1`
18584 if test $ac_lo -le $ac_mid; then
18588 ac_mid
=`expr 2 '*' $ac_mid + 1`
18590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.
$ac_ext >&5
18596 cat >conftest.
$ac_ext <<_ACEOF
18599 cat confdefs.h
>>conftest.
$ac_ext
18600 cat >>conftest.
$ac_ext <<_ACEOF
18601 /* end confdefs.h. */
18602 $ac_includes_default
18606 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18613 rm -f conftest.
$ac_objext
18614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18615 (eval $ac_compile) 2>conftest.er1
18617 grep -v '^ *+' conftest.er1
>conftest.err
18619 cat conftest.err
>&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } &&
18622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18624 (eval $ac_try) 2>&5
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; } &&
18628 { ac_try
='test -s conftest.$ac_objext'
18629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18630 (eval $ac_try) 2>&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); }; }; then
18636 cat >conftest.
$ac_ext <<_ACEOF
18639 cat confdefs.h
>>conftest.
$ac_ext
18640 cat >>conftest.
$ac_ext <<_ACEOF
18641 /* end confdefs.h. */
18642 $ac_includes_default
18646 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18653 rm -f conftest.
$ac_objext
18654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18655 (eval $ac_compile) 2>conftest.er1
18657 grep -v '^ *+' conftest.er1
>conftest.err
18659 cat conftest.err
>&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); } &&
18662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664 (eval $ac_try) 2>&5
18666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667 (exit $ac_status); }; } &&
18668 { ac_try
='test -s conftest.$ac_objext'
18669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670 (eval $ac_try) 2>&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); }; }; then
18674 ac_lo
=$ac_mid; break
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.
$ac_ext >&5
18679 ac_hi
=`expr '(' $ac_mid ')' - 1`
18680 if test $ac_mid -le $ac_hi; then
18684 ac_mid
=`expr 2 '*' $ac_mid`
18686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.
$ac_ext >&5
18694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18697 # Binary search between lo and hi bounds.
18698 while test "x$ac_lo" != "x$ac_hi"; do
18699 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18700 cat >conftest.
$ac_ext <<_ACEOF
18703 cat confdefs.h
>>conftest.
$ac_ext
18704 cat >>conftest.
$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 $ac_includes_default
18710 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18717 rm -f conftest.
$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>conftest.er1
18721 grep -v '^ *+' conftest.er1
>conftest.err
18723 cat conftest.err
>&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18728 (eval $ac_try) 2>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); }; } &&
18732 { ac_try
='test -s conftest.$ac_objext'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; }; then
18740 echo "$as_me: failed program was:" >&5
18741 sed 's/^/| /' conftest.
$ac_ext >&5
18743 ac_lo
=`expr '(' $ac_mid ')' + 1`
18745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18748 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18749 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18750 See \`config.log' for more details." >&5
18751 echo "$as_me: error: cannot compute sizeof (long long), 77
18752 See \`config.log' for more details." >&2;}
18753 { (exit 1); exit 1; }; } ;;
18756 if test "$cross_compiling" = yes; then
18757 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18758 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18759 { (exit 1); exit 1; }; }
18761 cat >conftest.
$ac_ext <<_ACEOF
18764 cat confdefs.h
>>conftest.
$ac_ext
18765 cat >>conftest.
$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 $ac_includes_default
18768 long longval () { return (long) (sizeof (long long)); }
18769 unsigned long ulongval () { return (long) (sizeof (long long)); }
18771 #include <stdlib.h>
18776 FILE *f = fopen ("conftest.val", "w");
18779 if (((long) (sizeof (long long))) < 0)
18781 long i = longval ();
18782 if (i != ((long) (sizeof (long long))))
18784 fprintf (f, "%ld\n", i);
18788 unsigned long i = ulongval ();
18789 if (i != ((long) (sizeof (long long))))
18791 fprintf (f, "%lu\n", i);
18793 exit (ferror (f) || fclose (f) != 0);
18799 rm -f conftest
$ac_exeext
18800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18801 (eval $ac_link) 2>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; }; then
18810 ac_cv_sizeof_long_long
=`cat conftest.val`
18812 echo "$as_me: program exited with status $ac_status" >&5
18813 echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.
$ac_ext >&5
18816 ( exit $ac_status )
18817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18818 See \`config.log' for more details." >&5
18819 echo "$as_me: error: cannot compute sizeof (long long), 77
18820 See \`config.log' for more details." >&2;}
18821 { (exit 1); exit 1; }; }
18823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18828 ac_cv_sizeof_long_long
=0
18831 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18832 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18833 cat >>confdefs.h
<<_ACEOF
18834 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18838 if test "$ac_cv_sizeof_long_long" != "0"; then
18839 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
18843 echo "$as_me:$LINENO: checking for long long" >&5
18844 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18845 if test "${ac_cv_type_long_long+set}" = set; then
18846 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 cat >conftest.
$ac_ext <<_ACEOF
18851 cat confdefs.h
>>conftest.
$ac_ext
18852 cat >>conftest.
$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18854 $ac_includes_default
18858 if ((long long *) 0)
18860 if (sizeof (long long))
18866 rm -f conftest.
$ac_objext
18867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18868 (eval $ac_compile) 2>conftest.er1
18870 grep -v '^ *+' conftest.er1
>conftest.err
18872 cat conftest.err
>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } &&
18875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18877 (eval $ac_try) 2>&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); }; } &&
18881 { ac_try
='test -s conftest.$ac_objext'
18882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883 (eval $ac_try) 2>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); }; }; then
18887 ac_cv_type_long_long
=yes
18889 echo "$as_me: failed program was:" >&5
18890 sed 's/^/| /' conftest.
$ac_ext >&5
18892 ac_cv_type_long_long
=no
18894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18896 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18897 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18899 echo "$as_me:$LINENO: checking size of long long" >&5
18900 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18901 if test "${ac_cv_sizeof_long_long+set}" = set; then
18902 echo $ECHO_N "(cached) $ECHO_C" >&6
18904 if test "$ac_cv_type_long_long" = yes; then
18905 # The cast to unsigned long works around a bug in the HP C Compiler
18906 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18907 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18908 # This bug is HP SR number 8606223364.
18909 if test "$cross_compiling" = yes; then
18910 # Depending upon the size, compute the lo and hi bounds.
18911 cat >conftest.
$ac_ext <<_ACEOF
18914 cat confdefs.h
>>conftest.
$ac_ext
18915 cat >>conftest.
$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18917 $ac_includes_default
18921 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18928 rm -f conftest.
$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930 (eval $ac_compile) 2>conftest.er1
18932 grep -v '^ *+' conftest.er1
>conftest.err
18934 cat conftest.err
>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } &&
18937 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; } &&
18943 { ac_try
='test -s conftest.$ac_objext'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18951 cat >conftest.
$ac_ext <<_ACEOF
18954 cat confdefs.h
>>conftest.
$ac_ext
18955 cat >>conftest.
$ac_ext <<_ACEOF
18956 /* end confdefs.h. */
18957 $ac_includes_default
18961 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18968 rm -f conftest.
$ac_objext
18969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18970 (eval $ac_compile) 2>conftest.er1
18972 grep -v '^ *+' conftest.er1
>conftest.err
18974 cat conftest.err
>&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); } &&
18977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; } &&
18983 { ac_try
='test -s conftest.$ac_objext'
18984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18985 (eval $ac_try) 2>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; }; then
18989 ac_hi
=$ac_mid; break
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.
$ac_ext >&5
18994 ac_lo
=`expr $ac_mid + 1`
18995 if test $ac_lo -le $ac_mid; then
18999 ac_mid
=`expr 2 '*' $ac_mid + 1`
19001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.
$ac_ext >&5
19007 cat >conftest.
$ac_ext <<_ACEOF
19010 cat confdefs.h
>>conftest.
$ac_ext
19011 cat >>conftest.
$ac_ext <<_ACEOF
19012 /* end confdefs.h. */
19013 $ac_includes_default
19017 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19024 rm -f conftest.
$ac_objext
19025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19026 (eval $ac_compile) 2>conftest.er1
19028 grep -v '^ *+' conftest.er1
>conftest.err
19030 cat conftest.err
>&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } &&
19033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; } &&
19039 { ac_try
='test -s conftest.$ac_objext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19047 cat >conftest.
$ac_ext <<_ACEOF
19050 cat confdefs.h
>>conftest.
$ac_ext
19051 cat >>conftest.
$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19053 $ac_includes_default
19057 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19064 rm -f conftest.
$ac_objext
19065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19066 (eval $ac_compile) 2>conftest.er1
19068 grep -v '^ *+' conftest.er1
>conftest.err
19070 cat conftest.err
>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } &&
19073 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075 (eval $ac_try) 2>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; } &&
19079 { ac_try
='test -s conftest.$ac_objext'
19080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081 (eval $ac_try) 2>&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); }; }; then
19085 ac_lo
=$ac_mid; break
19087 echo "$as_me: failed program was:" >&5
19088 sed 's/^/| /' conftest.
$ac_ext >&5
19090 ac_hi
=`expr '(' $ac_mid ')' - 1`
19091 if test $ac_mid -le $ac_hi; then
19095 ac_mid
=`expr 2 '*' $ac_mid`
19097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.
$ac_ext >&5
19105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19108 # Binary search between lo and hi bounds.
19109 while test "x$ac_lo" != "x$ac_hi"; do
19110 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19111 cat >conftest.
$ac_ext <<_ACEOF
19114 cat confdefs.h
>>conftest.
$ac_ext
19115 cat >>conftest.
$ac_ext <<_ACEOF
19116 /* end confdefs.h. */
19117 $ac_includes_default
19121 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19128 rm -f conftest.
$ac_objext
19129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19130 (eval $ac_compile) 2>conftest.er1
19132 grep -v '^ *+' conftest.er1
>conftest.err
19134 cat conftest.err
>&5
19135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19136 (exit $ac_status); } &&
19137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19139 (eval $ac_try) 2>&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); }; } &&
19143 { ac_try
='test -s conftest.$ac_objext'
19144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19145 (eval $ac_try) 2>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); }; }; then
19151 echo "$as_me: failed program was:" >&5
19152 sed 's/^/| /' conftest.
$ac_ext >&5
19154 ac_lo
=`expr '(' $ac_mid ')' + 1`
19156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19159 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19160 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19161 See \`config.log' for more details." >&5
19162 echo "$as_me: error: cannot compute sizeof (long long), 77
19163 See \`config.log' for more details." >&2;}
19164 { (exit 1); exit 1; }; } ;;
19167 if test "$cross_compiling" = yes; then
19168 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19169 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19170 { (exit 1); exit 1; }; }
19172 cat >conftest.
$ac_ext <<_ACEOF
19175 cat confdefs.h
>>conftest.
$ac_ext
19176 cat >>conftest.
$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19178 $ac_includes_default
19179 long longval () { return (long) (sizeof (long long)); }
19180 unsigned long ulongval () { return (long) (sizeof (long long)); }
19182 #include <stdlib.h>
19187 FILE *f = fopen ("conftest.val", "w");
19190 if (((long) (sizeof (long long))) < 0)
19192 long i = longval ();
19193 if (i != ((long) (sizeof (long long))))
19195 fprintf (f, "%ld\n", i);
19199 unsigned long i = ulongval ();
19200 if (i != ((long) (sizeof (long long))))
19202 fprintf (f, "%lu\n", i);
19204 exit (ferror (f) || fclose (f) != 0);
19210 rm -f conftest
$ac_exeext
19211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19212 (eval $ac_link) 2>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_cv_sizeof_long_long
=`cat conftest.val`
19223 echo "$as_me: program exited with status $ac_status" >&5
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.
$ac_ext >&5
19227 ( exit $ac_status )
19228 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19229 See \`config.log' for more details." >&5
19230 echo "$as_me: error: cannot compute sizeof (long long), 77
19231 See \`config.log' for more details." >&2;}
19232 { (exit 1); exit 1; }; }
19234 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19239 ac_cv_sizeof_long_long
=0
19242 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19243 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19244 cat >>confdefs.h
<<_ACEOF
19245 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19251 echo "$as_me:$LINENO: checking for wchar_t" >&5
19252 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19253 if test "${ac_cv_type_wchar_t+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19256 cat >conftest.
$ac_ext <<_ACEOF
19259 cat confdefs.h
>>conftest.
$ac_ext
19260 cat >>conftest.
$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19263 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19264 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19265 # error "fake wchar_t"
19267 #ifdef HAVE_WCHAR_H
19269 # include <stddef.h>
19271 # include <wchar.h>
19273 #ifdef HAVE_STDLIB_H
19274 # include <stdlib.h>
19285 if (sizeof (wchar_t))
19291 rm -f conftest.
$ac_objext
19292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19293 (eval $ac_compile) 2>conftest.er1
19295 grep -v '^ *+' conftest.er1
>conftest.err
19297 cat conftest.err
>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); } &&
19300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; } &&
19306 { ac_try
='test -s conftest.$ac_objext'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 ac_cv_type_wchar_t
=yes
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.
$ac_ext >&5
19317 ac_cv_type_wchar_t
=no
19319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19321 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19322 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19324 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19325 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19326 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19329 if test "$ac_cv_type_wchar_t" = yes; then
19330 # The cast to unsigned long works around a bug in the HP C Compiler
19331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19333 # This bug is HP SR number 8606223364.
19334 if test "$cross_compiling" = yes; then
19335 # Depending upon the size, compute the lo and hi bounds.
19336 cat >conftest.
$ac_ext <<_ACEOF
19339 cat confdefs.h
>>conftest.
$ac_ext
19340 cat >>conftest.
$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19343 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19344 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19345 # error "fake wchar_t"
19347 #ifdef HAVE_WCHAR_H
19349 # include <stddef.h>
19351 # include <wchar.h>
19353 #ifdef HAVE_STDLIB_H
19354 # include <stdlib.h>
19363 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19370 rm -f conftest.
$ac_objext
19371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19372 (eval $ac_compile) 2>conftest.er1
19374 grep -v '^ *+' conftest.er1
>conftest.err
19376 cat conftest.err
>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } &&
19379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; } &&
19385 { ac_try
='test -s conftest.$ac_objext'
19386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19387 (eval $ac_try) 2>&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); }; }; then
19393 cat >conftest.
$ac_ext <<_ACEOF
19396 cat confdefs.h
>>conftest.
$ac_ext
19397 cat >>conftest.
$ac_ext <<_ACEOF
19398 /* end confdefs.h. */
19400 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19401 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19402 # error "fake wchar_t"
19404 #ifdef HAVE_WCHAR_H
19406 # include <stddef.h>
19408 # include <wchar.h>
19410 #ifdef HAVE_STDLIB_H
19411 # include <stdlib.h>
19420 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19427 rm -f conftest.
$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429 (eval $ac_compile) 2>conftest.er1
19431 grep -v '^ *+' conftest.er1
>conftest.err
19433 cat conftest.err
>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } &&
19436 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19438 (eval $ac_try) 2>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); }; } &&
19442 { ac_try
='test -s conftest.$ac_objext'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 ac_hi
=$ac_mid; break
19450 echo "$as_me: failed program was:" >&5
19451 sed 's/^/| /' conftest.
$ac_ext >&5
19453 ac_lo
=`expr $ac_mid + 1`
19454 if test $ac_lo -le $ac_mid; then
19458 ac_mid
=`expr 2 '*' $ac_mid + 1`
19460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.
$ac_ext >&5
19466 cat >conftest.
$ac_ext <<_ACEOF
19469 cat confdefs.h
>>conftest.
$ac_ext
19470 cat >>conftest.
$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19473 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19474 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19475 # error "fake wchar_t"
19477 #ifdef HAVE_WCHAR_H
19479 # include <stddef.h>
19481 # include <wchar.h>
19483 #ifdef HAVE_STDLIB_H
19484 # include <stdlib.h>
19493 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19500 rm -f conftest.
$ac_objext
19501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19502 (eval $ac_compile) 2>conftest.er1
19504 grep -v '^ *+' conftest.er1
>conftest.err
19506 cat conftest.err
>&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; } &&
19515 { ac_try
='test -s conftest.$ac_objext'
19516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517 (eval $ac_try) 2>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; }; then
19523 cat >conftest.
$ac_ext <<_ACEOF
19526 cat confdefs.h
>>conftest.
$ac_ext
19527 cat >>conftest.
$ac_ext <<_ACEOF
19528 /* end confdefs.h. */
19530 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19531 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19532 # error "fake wchar_t"
19534 #ifdef HAVE_WCHAR_H
19536 # include <stddef.h>
19538 # include <wchar.h>
19540 #ifdef HAVE_STDLIB_H
19541 # include <stdlib.h>
19550 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19557 rm -f conftest.
$ac_objext
19558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19559 (eval $ac_compile) 2>conftest.er1
19561 grep -v '^ *+' conftest.er1
>conftest.err
19563 cat conftest.err
>&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } &&
19566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19568 (eval $ac_try) 2>&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); }; } &&
19572 { ac_try
='test -s conftest.$ac_objext'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; }; then
19578 ac_lo
=$ac_mid; break
19580 echo "$as_me: failed program was:" >&5
19581 sed 's/^/| /' conftest.
$ac_ext >&5
19583 ac_hi
=`expr '(' $ac_mid ')' - 1`
19584 if test $ac_mid -le $ac_hi; then
19588 ac_mid
=`expr 2 '*' $ac_mid`
19590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.
$ac_ext >&5
19598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19601 # Binary search between lo and hi bounds.
19602 while test "x$ac_lo" != "x$ac_hi"; do
19603 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19604 cat >conftest.
$ac_ext <<_ACEOF
19607 cat confdefs.h
>>conftest.
$ac_ext
19608 cat >>conftest.
$ac_ext <<_ACEOF
19609 /* end confdefs.h. */
19611 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19612 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19613 # error "fake wchar_t"
19615 #ifdef HAVE_WCHAR_H
19617 # include <stddef.h>
19619 # include <wchar.h>
19621 #ifdef HAVE_STDLIB_H
19622 # include <stdlib.h>
19631 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19638 rm -f conftest.
$ac_objext
19639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19640 (eval $ac_compile) 2>conftest.er1
19642 grep -v '^ *+' conftest.er1
>conftest.err
19644 cat conftest.err
>&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } &&
19647 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19649 (eval $ac_try) 2>&5
19651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19652 (exit $ac_status); }; } &&
19653 { ac_try
='test -s conftest.$ac_objext'
19654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655 (eval $ac_try) 2>&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; }; then
19661 echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.
$ac_ext >&5
19664 ac_lo
=`expr '(' $ac_mid ')' + 1`
19666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19669 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19670 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19671 See \`config.log' for more details." >&5
19672 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19673 See \`config.log' for more details." >&2;}
19674 { (exit 1); exit 1; }; } ;;
19677 if test "$cross_compiling" = yes; then
19678 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19679 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19680 { (exit 1); exit 1; }; }
19682 cat >conftest.
$ac_ext <<_ACEOF
19685 cat confdefs.h
>>conftest.
$ac_ext
19686 cat >>conftest.
$ac_ext <<_ACEOF
19687 /* end confdefs.h. */
19689 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19690 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19691 # error "fake wchar_t"
19693 #ifdef HAVE_WCHAR_H
19695 # include <stddef.h>
19697 # include <wchar.h>
19699 #ifdef HAVE_STDLIB_H
19700 # include <stdlib.h>
19706 long longval () { return (long) (sizeof (wchar_t)); }
19707 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19709 #include <stdlib.h>
19714 FILE *f = fopen ("conftest.val", "w");
19717 if (((long) (sizeof (wchar_t))) < 0)
19719 long i = longval ();
19720 if (i != ((long) (sizeof (wchar_t))))
19722 fprintf (f, "%ld\n", i);
19726 unsigned long i = ulongval ();
19727 if (i != ((long) (sizeof (wchar_t))))
19729 fprintf (f, "%lu\n", i);
19731 exit (ferror (f) || fclose (f) != 0);
19737 rm -f conftest
$ac_exeext
19738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19739 (eval $ac_link) 2>&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744 (eval $ac_try) 2>&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; }; then
19748 ac_cv_sizeof_wchar_t
=`cat conftest.val`
19750 echo "$as_me: program exited with status $ac_status" >&5
19751 echo "$as_me: failed program was:" >&5
19752 sed 's/^/| /' conftest.
$ac_ext >&5
19754 ( exit $ac_status )
19755 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19756 See \`config.log' for more details." >&5
19757 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19758 See \`config.log' for more details." >&2;}
19759 { (exit 1); exit 1; }; }
19761 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19766 ac_cv_sizeof_wchar_t
=0
19769 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
19770 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
19771 cat >>confdefs.h
<<_ACEOF
19772 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
19776 if test "$ac_cv_sizeof_wchar_t" != "0"; then
19782 echo "$as_me:$LINENO: checking for va_copy" >&5
19783 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
19784 if test "${wx_cv_func_va_copy+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19788 cat >conftest.
$ac_ext <<_ACEOF
19790 #include <stdarg.h>
19791 void foo(char *f, ...)
19805 rm -f conftest.
$ac_objext conftest
$ac_exeext
19806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19807 (eval $ac_link) 2>conftest.er1
19809 grep -v '^ *+' conftest.er1
>conftest.err
19811 cat conftest.err
>&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); } &&
19814 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19816 (eval $ac_try) 2>&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); }; } &&
19820 { ac_try
='test -s conftest$ac_exeext'
19821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822 (eval $ac_try) 2>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; }; then
19826 wx_cv_func_va_copy
=yes
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.
$ac_ext >&5
19831 wx_cv_func_va_copy
=no
19834 rm -f conftest.err conftest.
$ac_objext \
19835 conftest
$ac_exeext conftest.
$ac_ext
19839 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
19840 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
19842 if test $wx_cv_func_va_copy = "yes"; then
19843 cat >>confdefs.h
<<\_ACEOF
19844 #define HAVE_VA_COPY 1
19848 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
19849 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
19850 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19854 if test "$cross_compiling" = yes; then
19855 wx_cv_type_va_list_lvalue
=yes
19858 cat >conftest.
$ac_ext <<_ACEOF
19860 #include <stdarg.h>
19861 int foo(char *f, ...)
19866 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
19874 return foo("hi", 17);
19877 rm -f conftest
$ac_exeext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19879 (eval $ac_link) 2>&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 wx_cv_type_va_list_lvalue
=yes
19890 echo "$as_me: program exited with status $ac_status" >&5
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.
$ac_ext >&5
19894 ( exit $ac_status )
19895 wx_cv_type_va_list_lvalue
=no
19897 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19902 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
19903 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
19905 if test $wx_cv_type_va_list_lvalue != "yes"; then
19906 cat >>confdefs.h
<<\_ACEOF
19907 #define VA_LIST_IS_ARRAY 1
19913 # Check whether --enable-largefile or --disable-largefile was given.
19914 if test "${enable_largefile+set}" = set; then
19915 enableval
="$enable_largefile"
19918 if test "$enable_largefile" != no
; then
19921 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
19922 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
19923 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
19924 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 cat >conftest.
$ac_ext <<_ACEOF
19930 cat confdefs.h
>>conftest.
$ac_ext
19931 cat >>conftest.
$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 #define _FILE_OFFSET_BITS 64
19934 #include <sys/types.h>
19939 unsigned int field: sizeof(off_t) == 8;
19946 rm -f conftest.
$ac_objext
19947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19948 (eval $ac_compile) 2>conftest.er1
19950 grep -v '^ *+' conftest.er1
>conftest.err
19952 cat conftest.err
>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } &&
19955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19957 (eval $ac_try) 2>&5
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); }; } &&
19961 { ac_try
='test -s conftest.$ac_objext'
19962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19963 (eval $ac_try) 2>&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); }; }; then
19967 ac_cv_sys_file_offset_bits
=64
19969 echo "$as_me: failed program was:" >&5
19970 sed 's/^/| /' conftest.
$ac_ext >&5
19972 ac_cv_sys_file_offset_bits
=no
19974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19978 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
19979 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
19981 if test "$ac_cv_sys_file_offset_bits" != no
; then
19983 cat >>confdefs.h
<<_ACEOF
19984 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
19989 if test "x$wx_largefile" != "xyes"; then
19991 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
19992 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
19993 if test "${ac_cv_sys_large_files+set}" = set; then
19994 echo $ECHO_N "(cached) $ECHO_C" >&6
19997 cat >conftest.
$ac_ext <<_ACEOF
20000 cat confdefs.h
>>conftest.
$ac_ext
20001 cat >>conftest.
$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20003 #define _LARGE_FILES 1
20004 #include <sys/types.h>
20009 unsigned int field: sizeof(off_t) == 8;
20016 rm -f conftest.
$ac_objext
20017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20018 (eval $ac_compile) 2>conftest.er1
20020 grep -v '^ *+' conftest.er1
>conftest.err
20022 cat conftest.err
>&5
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); } &&
20025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; } &&
20031 { ac_try
='test -s conftest.$ac_objext'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; }; then
20037 ac_cv_sys_large_files
=1
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.
$ac_ext >&5
20042 ac_cv_sys_large_files
=no
20044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20048 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20049 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20051 if test "$ac_cv_sys_large_files" != no
; then
20053 cat >>confdefs.h
<<_ACEOF
20054 #define _LARGE_FILES $ac_cv_sys_large_files
20061 echo "$as_me:$LINENO: checking if large file support is available" >&5
20062 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20063 if test "x$wx_largefile" = "xyes"; then
20064 cat >>confdefs.h
<<\_ACEOF
20065 #define HAVE_LARGEFILE_SUPPORT 1
20069 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20070 echo "${ECHO_T}$wx_largefile" >&6
20074 if test "x$wx_largefile" = "xyes"; then
20075 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20076 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20078 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20080 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20081 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20082 if test "${ac_cv_sys_largefile_source+set}" = set; then
20083 echo $ECHO_N "(cached) $ECHO_C" >&6
20086 ac_cv_sys_largefile_source
=no
20087 cat >conftest.
$ac_ext <<_ACEOF
20090 cat confdefs.h
>>conftest.
$ac_ext
20091 cat >>conftest.
$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20102 rm -f conftest.
$ac_objext
20103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20104 (eval $ac_compile) 2>conftest.er1
20106 grep -v '^ *+' conftest.er1
>conftest.err
20108 cat conftest.err
>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); } &&
20111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20113 (eval $ac_try) 2>&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); }; } &&
20117 { ac_try
='test -s conftest.$ac_objext'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; }; then
20125 echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.
$ac_ext >&5
20129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20130 cat >conftest.
$ac_ext <<_ACEOF
20133 cat confdefs.h
>>conftest.
$ac_ext
20134 cat >>conftest.
$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20136 #define _LARGEFILE_SOURCE 1
20146 rm -f conftest.
$ac_objext
20147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20148 (eval $ac_compile) 2>conftest.er1
20150 grep -v '^ *+' conftest.er1
>conftest.err
20152 cat conftest.err
>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } &&
20155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; } &&
20161 { ac_try
='test -s conftest.$ac_objext'
20162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20163 (eval $ac_try) 2>&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); }; }; then
20167 ac_cv_sys_largefile_source
=1; break
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.
$ac_ext >&5
20173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20177 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20178 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20179 if test "$ac_cv_sys_largefile_source" != no
; then
20181 cat >>confdefs.h
<<_ACEOF
20182 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20188 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20189 # in glibc 2.1.3, but that breaks too many other things.
20190 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20191 echo "$as_me:$LINENO: checking for fseeko" >&5
20192 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20193 if test "${ac_cv_func_fseeko+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20196 cat >conftest.
$ac_ext <<_ACEOF
20199 cat confdefs.h
>>conftest.
$ac_ext
20200 cat >>conftest.
$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20206 return fseeko && fseeko (stdin, 0, 0);
20211 rm -f conftest.
$ac_objext conftest
$ac_exeext
20212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20213 (eval $ac_link) 2>conftest.er1
20215 grep -v '^ *+' conftest.er1
>conftest.err
20217 cat conftest.err
>&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); } &&
20220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20222 (eval $ac_try) 2>&5
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); }; } &&
20226 { ac_try
='test -s conftest$ac_exeext'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; }; then
20232 ac_cv_func_fseeko
=yes
20234 echo "$as_me: failed program was:" >&5
20235 sed 's/^/| /' conftest.
$ac_ext >&5
20237 ac_cv_func_fseeko
=no
20239 rm -f conftest.err conftest.
$ac_objext \
20240 conftest
$ac_exeext conftest.
$ac_ext
20242 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20243 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20244 if test $ac_cv_func_fseeko = yes; then
20246 cat >>confdefs.h
<<\_ACEOF
20247 #define HAVE_FSEEKO 1
20252 if test "$ac_cv_sys_largefile_source" != no
; then
20253 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20255 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20258 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20259 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20260 if test "${ac_cv_c_bigendian+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20263 ac_cv_c_bigendian
=unknown
20264 # See if sys/param.h defines the BYTE_ORDER macro.
20265 cat >conftest.
$ac_ext <<_ACEOF
20268 cat confdefs.h
>>conftest.
$ac_ext
20269 cat >>conftest.
$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20271 #include <sys/types.h>
20272 #include <sys/param.h>
20277 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20278 bogus endian macros
20284 rm -f conftest.
$ac_objext
20285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20286 (eval $ac_compile) 2>conftest.er1
20288 grep -v '^ *+' conftest.er1
>conftest.err
20290 cat conftest.err
>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } &&
20293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; } &&
20299 { ac_try
='test -s conftest.$ac_objext'
20300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301 (eval $ac_try) 2>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; }; then
20305 # It does; now see whether it defined to BIG_ENDIAN or not.
20306 cat >conftest.
$ac_ext <<_ACEOF
20309 cat confdefs.h
>>conftest.
$ac_ext
20310 cat >>conftest.
$ac_ext <<_ACEOF
20311 /* end confdefs.h. */
20312 #include <sys/types.h>
20313 #include <sys/param.h>
20318 #if BYTE_ORDER != BIG_ENDIAN
20325 rm -f conftest.
$ac_objext
20326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20327 (eval $ac_compile) 2>conftest.er1
20329 grep -v '^ *+' conftest.er1
>conftest.err
20331 cat conftest.err
>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } &&
20334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20336 (eval $ac_try) 2>&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); }; } &&
20340 { ac_try
='test -s conftest.$ac_objext'
20341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20342 (eval $ac_try) 2>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); }; }; then
20346 ac_cv_c_bigendian
=yes
20348 echo "$as_me: failed program was:" >&5
20349 sed 's/^/| /' conftest.
$ac_ext >&5
20351 ac_cv_c_bigendian
=no
20353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.
$ac_ext >&5
20359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20360 if test $ac_cv_c_bigendian = unknown
; then
20361 if test "$cross_compiling" = yes; then
20362 ac_cv_c_bigendian
=unknown
20364 cat >conftest.
$ac_ext <<_ACEOF
20367 cat confdefs.h
>>conftest.
$ac_ext
20368 cat >>conftest.
$ac_ext <<_ACEOF
20369 /* end confdefs.h. */
20371 /* Are we little or big endian? From Harbison&Steele. */
20375 char c[sizeof (long)];
20378 exit (u.c[sizeof (long) - 1] == 1);
20381 rm -f conftest
$ac_exeext
20382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20383 (eval $ac_link) 2>&5
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 ac_cv_c_bigendian
=no
20394 echo "$as_me: program exited with status $ac_status" >&5
20395 echo "$as_me: failed program was:" >&5
20396 sed 's/^/| /' conftest.
$ac_ext >&5
20398 ( exit $ac_status )
20399 ac_cv_c_bigendian
=yes
20401 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20405 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20406 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20407 if test $ac_cv_c_bigendian = unknown
; then
20408 { 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
20409 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;}
20411 if test $ac_cv_c_bigendian = yes; then
20412 cat >>confdefs.h
<<\_ACEOF
20413 #define WORDS_BIGENDIAN 1
20420 ac_cpp
='$CXXCPP $CPPFLAGS'
20421 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20422 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20423 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20424 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20425 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20426 if test -z "$CXXCPP"; then
20427 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20428 echo $ECHO_N "(cached) $ECHO_C" >&6
20430 # Double quotes because CXXCPP needs to be expanded
20431 for CXXCPP
in "$CXX -E" "/lib/cpp"
20433 ac_preproc_ok
=false
20434 for ac_cxx_preproc_warn_flag
in '' yes
20436 # Use a header file that comes with gcc, so configuring glibc
20437 # with a fresh cross-compiler works.
20438 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20439 # <limits.h> exists even on freestanding compilers.
20440 # On the NeXT, cc -E runs the code through the compiler's parser,
20441 # not just through cpp. "Syntax error" is here to catch this case.
20442 cat >conftest.
$ac_ext <<_ACEOF
20445 cat confdefs.h
>>conftest.
$ac_ext
20446 cat >>conftest.
$ac_ext <<_ACEOF
20447 /* end confdefs.h. */
20449 # include <limits.h>
20451 # include <assert.h>
20455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20456 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20458 grep -v '^ *+' conftest.er1
>conftest.err
20460 cat conftest.err
>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } >/dev
/null
; then
20463 if test -s conftest.err
; then
20464 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20465 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20472 if test -z "$ac_cpp_err"; then
20475 echo "$as_me: failed program was:" >&5
20476 sed 's/^/| /' conftest.
$ac_ext >&5
20478 # Broken: fails on valid input.
20481 rm -f conftest.err conftest.
$ac_ext
20483 # OK, works on sane cases. Now check whether non-existent headers
20484 # can be detected and how.
20485 cat >conftest.
$ac_ext <<_ACEOF
20488 cat confdefs.h
>>conftest.
$ac_ext
20489 cat >>conftest.
$ac_ext <<_ACEOF
20490 /* end confdefs.h. */
20491 #include <ac_nonexistent.h>
20493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20494 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20496 grep -v '^ *+' conftest.er1
>conftest.err
20498 cat conftest.err
>&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } >/dev
/null
; then
20501 if test -s conftest.err
; then
20502 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20503 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20510 if test -z "$ac_cpp_err"; then
20511 # Broken: success on invalid input.
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.
$ac_ext >&5
20517 # Passes both tests.
20521 rm -f conftest.err conftest.
$ac_ext
20524 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20525 rm -f conftest.err conftest.
$ac_ext
20526 if $ac_preproc_ok; then
20531 ac_cv_prog_CXXCPP
=$CXXCPP
20534 CXXCPP
=$ac_cv_prog_CXXCPP
20536 ac_cv_prog_CXXCPP
=$CXXCPP
20538 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20539 echo "${ECHO_T}$CXXCPP" >&6
20540 ac_preproc_ok
=false
20541 for ac_cxx_preproc_warn_flag
in '' yes
20543 # Use a header file that comes with gcc, so configuring glibc
20544 # with a fresh cross-compiler works.
20545 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20546 # <limits.h> exists even on freestanding compilers.
20547 # On the NeXT, cc -E runs the code through the compiler's parser,
20548 # not just through cpp. "Syntax error" is here to catch this case.
20549 cat >conftest.
$ac_ext <<_ACEOF
20552 cat confdefs.h
>>conftest.
$ac_ext
20553 cat >>conftest.
$ac_ext <<_ACEOF
20554 /* end confdefs.h. */
20556 # include <limits.h>
20558 # include <assert.h>
20562 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20563 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20565 grep -v '^ *+' conftest.er1
>conftest.err
20567 cat conftest.err
>&5
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); } >/dev
/null
; then
20570 if test -s conftest.err
; then
20571 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20572 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20579 if test -z "$ac_cpp_err"; then
20582 echo "$as_me: failed program was:" >&5
20583 sed 's/^/| /' conftest.
$ac_ext >&5
20585 # Broken: fails on valid input.
20588 rm -f conftest.err conftest.
$ac_ext
20590 # OK, works on sane cases. Now check whether non-existent headers
20591 # can be detected and how.
20592 cat >conftest.
$ac_ext <<_ACEOF
20595 cat confdefs.h
>>conftest.
$ac_ext
20596 cat >>conftest.
$ac_ext <<_ACEOF
20597 /* end confdefs.h. */
20598 #include <ac_nonexistent.h>
20600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20601 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20603 grep -v '^ *+' conftest.er1
>conftest.err
20605 cat conftest.err
>&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } >/dev
/null
; then
20608 if test -s conftest.err
; then
20609 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20610 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20617 if test -z "$ac_cpp_err"; then
20618 # Broken: success on invalid input.
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.
$ac_ext >&5
20624 # Passes both tests.
20628 rm -f conftest.err conftest.
$ac_ext
20631 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20632 rm -f conftest.err conftest.
$ac_ext
20633 if $ac_preproc_ok; then
20636 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20637 See \`config.log' for more details." >&5
20638 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20639 See \`config.log' for more details." >&2;}
20640 { (exit 1); exit 1; }; }
20644 ac_cpp
='$CXXCPP $CPPFLAGS'
20645 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20646 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20647 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20654 ac_cpp
='$CXXCPP $CPPFLAGS'
20655 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20656 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20657 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20661 for ac_header
in iostream
20663 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20665 echo "$as_me:$LINENO: checking for $ac_header" >&5
20666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20668 echo $ECHO_N "(cached) $ECHO_C" >&6
20670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20673 # Is the header compilable?
20674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20676 cat >conftest.
$ac_ext <<_ACEOF
20679 cat confdefs.h
>>conftest.
$ac_ext
20680 cat >>conftest.
$ac_ext <<_ACEOF
20681 /* end confdefs.h. */
20682 $ac_includes_default
20683 #include <$ac_header>
20685 rm -f conftest.
$ac_objext
20686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20687 (eval $ac_compile) 2>conftest.er1
20689 grep -v '^ *+' conftest.er1
>conftest.err
20691 cat conftest.err
>&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } &&
20694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20696 (eval $ac_try) 2>&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); }; } &&
20700 { ac_try
='test -s conftest.$ac_objext'
20701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702 (eval $ac_try) 2>&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; }; then
20706 ac_header_compiler
=yes
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.
$ac_ext >&5
20711 ac_header_compiler
=no
20713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20715 echo "${ECHO_T}$ac_header_compiler" >&6
20717 # Is the header present?
20718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20720 cat >conftest.
$ac_ext <<_ACEOF
20723 cat confdefs.h
>>conftest.
$ac_ext
20724 cat >>conftest.
$ac_ext <<_ACEOF
20725 /* end confdefs.h. */
20726 #include <$ac_header>
20728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20729 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20731 grep -v '^ *+' conftest.er1
>conftest.err
20733 cat conftest.err
>&5
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } >/dev
/null
; then
20736 if test -s conftest.err
; then
20737 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20738 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20745 if test -z "$ac_cpp_err"; then
20746 ac_header_preproc
=yes
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.
$ac_ext >&5
20751 ac_header_preproc
=no
20753 rm -f conftest.err conftest.
$ac_ext
20754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20755 echo "${ECHO_T}$ac_header_preproc" >&6
20757 # So? What about this header?
20758 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20760 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20764 ac_header_preproc
=yes
20767 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20769 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20770 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20771 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20773 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20774 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20777 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20781 ## ----------------------------------------- ##
20782 ## Report this to wx-dev@lists.wxwidgets.org ##
20783 ## ----------------------------------------- ##
20786 sed "s/^/$as_me: WARNING: /" >&2
20789 echo "$as_me:$LINENO: checking for $ac_header" >&5
20790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20792 echo $ECHO_N "(cached) $ECHO_C" >&6
20794 eval "$as_ac_Header=\$ac_header_preproc"
20796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20801 cat >>confdefs.h
<<_ACEOF
20802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20810 if test "$ac_cv_header_iostream" = "yes" ; then
20813 cat >>confdefs.h
<<\_ACEOF
20814 #define wxUSE_IOSTREAMH 1
20820 ac_cpp
='$CPP $CPPFLAGS'
20821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20828 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
20829 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
20830 if test "${wx_cv_cpp_bool+set}" = set; then
20831 echo $ECHO_N "(cached) $ECHO_C" >&6
20837 ac_cpp
='$CXXCPP $CPPFLAGS'
20838 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20839 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20840 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20843 cat >conftest.
$ac_ext <<_ACEOF
20846 cat confdefs.h
>>conftest.
$ac_ext
20847 cat >>conftest.
$ac_ext <<_ACEOF
20848 /* end confdefs.h. */
20863 rm -f conftest.
$ac_objext
20864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20865 (eval $ac_compile) 2>conftest.er1
20867 grep -v '^ *+' conftest.er1
>conftest.err
20869 cat conftest.err
>&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); } &&
20872 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20874 (eval $ac_try) 2>&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); }; } &&
20878 { ac_try
='test -s conftest.$ac_objext'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; }; then
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.
$ac_ext >&5
20896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20899 ac_cpp
='$CPP $CPPFLAGS'
20900 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20901 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20902 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20906 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
20907 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
20909 if test "$wx_cv_cpp_bool" = "yes"; then
20910 cat >>confdefs.h
<<\_ACEOF
20911 #define HAVE_BOOL 1
20918 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
20919 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
20920 if test "${wx_cv_explicit+set}" = set; then
20921 echo $ECHO_N "(cached) $ECHO_C" >&6
20927 ac_cpp
='$CXXCPP $CPPFLAGS'
20928 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20929 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20930 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20933 cat >conftest.
$ac_ext <<_ACEOF
20936 cat confdefs.h
>>conftest.
$ac_ext
20937 cat >>conftest.
$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20940 class Foo { public: explicit Foo(int) {} };
20952 rm -f conftest.
$ac_objext
20953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20954 (eval $ac_compile) 2>conftest.er1
20956 grep -v '^ *+' conftest.er1
>conftest.err
20958 cat conftest.err
>&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } &&
20961 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; } &&
20967 { ac_try
='test -s conftest.$ac_objext'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; }; then
20974 cat >conftest.
$ac_ext <<_ACEOF
20977 cat confdefs.h
>>conftest.
$ac_ext
20978 cat >>conftest.
$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20981 class Foo { public: explicit Foo(int) {} };
20982 static void TakeFoo(const Foo& foo) { }
20995 rm -f conftest.
$ac_objext
20996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20997 (eval $ac_compile) 2>conftest.er1
20999 grep -v '^ *+' conftest.er1
>conftest.err
21001 cat conftest.err
>&5
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); } &&
21004 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21006 (eval $ac_try) 2>&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); }; } &&
21010 { ac_try
='test -s conftest.$ac_objext'
21011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012 (eval $ac_try) 2>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; }; then
21018 echo "$as_me: failed program was:" >&5
21019 sed 's/^/| /' conftest.
$ac_ext >&5
21024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21027 echo "$as_me: failed program was:" >&5
21028 sed 's/^/| /' conftest.
$ac_ext >&5
21033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21036 ac_cpp
='$CPP $CPPFLAGS'
21037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21043 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21044 echo "${ECHO_T}$wx_cv_explicit" >&6
21046 if test "$wx_cv_explicit" = "yes"; then
21047 cat >>confdefs.h
<<\_ACEOF
21048 #define HAVE_EXPLICIT 1
21054 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21055 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21056 if test "${ac_cv_cxx_const_cast+set}" = set; then
21057 echo $ECHO_N "(cached) $ECHO_C" >&6
21062 ac_cpp
='$CXXCPP $CPPFLAGS'
21063 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21064 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21065 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21067 cat >conftest.
$ac_ext <<_ACEOF
21070 cat confdefs.h
>>conftest.
$ac_ext
21071 cat >>conftest.
$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21077 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21082 rm -f conftest.
$ac_objext
21083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21084 (eval $ac_compile) 2>conftest.er1
21086 grep -v '^ *+' conftest.er1
>conftest.err
21088 cat conftest.err
>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); } &&
21091 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; } &&
21097 { ac_try
='test -s conftest.$ac_objext'
21098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21099 (eval $ac_try) 2>&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); }; }; then
21103 ac_cv_cxx_const_cast
=yes
21105 echo "$as_me: failed program was:" >&5
21106 sed 's/^/| /' conftest.
$ac_ext >&5
21108 ac_cv_cxx_const_cast
=no
21110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21112 ac_cpp
='$CPP $CPPFLAGS'
21113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21119 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21120 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21121 if test "$ac_cv_cxx_const_cast" = yes; then
21123 cat >>confdefs.h
<<\_ACEOF
21124 #define HAVE_CONST_CAST
21129 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21130 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21131 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21132 echo $ECHO_N "(cached) $ECHO_C" >&6
21137 ac_cpp
='$CXXCPP $CPPFLAGS'
21138 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21142 cat >conftest.
$ac_ext <<_ACEOF
21145 cat confdefs.h
>>conftest.
$ac_ext
21146 cat >>conftest.
$ac_ext <<_ACEOF
21147 /* end confdefs.h. */
21148 #include <typeinfo>
21149 class Base { public : Base () {} virtual void f () = 0;};
21150 class Derived : public Base { public : Derived () {} virtual void f () {} };
21151 class Unrelated { public : Unrelated () {} };
21152 int g (Unrelated&) { return 0; }
21157 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21162 rm -f conftest.
$ac_objext
21163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21164 (eval $ac_compile) 2>conftest.er1
21166 grep -v '^ *+' conftest.er1
>conftest.err
21168 cat conftest.err
>&5
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); } &&
21171 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21173 (eval $ac_try) 2>&5
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); }; } &&
21177 { ac_try
='test -s conftest.$ac_objext'
21178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21179 (eval $ac_try) 2>&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); }; }; then
21183 ac_cv_cxx_reinterpret_cast
=yes
21185 echo "$as_me: failed program was:" >&5
21186 sed 's/^/| /' conftest.
$ac_ext >&5
21188 ac_cv_cxx_reinterpret_cast
=no
21190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21192 ac_cpp
='$CPP $CPPFLAGS'
21193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21199 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21200 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21201 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21203 cat >>confdefs.h
<<\_ACEOF
21204 #define HAVE_REINTERPRET_CAST
21209 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21210 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21211 if test "${ac_cv_cxx_static_cast+set}" = set; then
21212 echo $ECHO_N "(cached) $ECHO_C" >&6
21217 ac_cpp
='$CXXCPP $CPPFLAGS'
21218 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21219 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21220 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21222 cat >conftest.
$ac_ext <<_ACEOF
21225 cat confdefs.h
>>conftest.
$ac_ext
21226 cat >>conftest.
$ac_ext <<_ACEOF
21227 /* end confdefs.h. */
21228 #include <typeinfo>
21229 class Base { public : Base () {} virtual void f () = 0; };
21230 class Derived : public Base { public : Derived () {} virtual void f () {} };
21231 int g (Derived&) { return 0; }
21236 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21241 rm -f conftest.
$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>conftest.er1
21245 grep -v '^ *+' conftest.er1
>conftest.err
21247 cat conftest.err
>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try
='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 ac_cv_cxx_static_cast
=yes
21264 echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.
$ac_ext >&5
21267 ac_cv_cxx_static_cast
=no
21269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21271 ac_cpp
='$CPP $CPPFLAGS'
21272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21278 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21279 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21280 if test "$ac_cv_cxx_static_cast" = yes; then
21282 cat >>confdefs.h
<<\_ACEOF
21283 #define HAVE_STATIC_CAST
21289 if test "x$SUNCXX" = xyes
; then
21290 CXXFLAGS
="$CXXFLAGS -features=tmplife"
21293 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21295 ac_cpp
='$CXXCPP $CPPFLAGS'
21296 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21297 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21298 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21301 if test "$wxUSE_UNICODE" = "yes"; then
21302 std_string
="std::wstring"
21303 char_type
="wchar_t"
21305 std_string
="std::string"
21309 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21310 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21311 cat >conftest.
$ac_ext <<_ACEOF
21314 cat confdefs.h
>>conftest.
$ac_ext
21315 cat >>conftest.
$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21326 rm -f conftest.
$ac_objext
21327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21328 (eval $ac_compile) 2>conftest.er1
21330 grep -v '^ *+' conftest.er1
>conftest.err
21332 cat conftest.err
>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } &&
21335 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; } &&
21341 { ac_try
='test -s conftest.$ac_objext'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; }; then
21347 echo "$as_me:$LINENO: result: yes" >&5
21348 echo "${ECHO_T}yes" >&6
21349 cat >>confdefs.h
<<\_ACEOF
21350 #define HAVE_STD_WSTRING 1
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.
$ac_ext >&5
21357 echo "$as_me:$LINENO: result: no" >&5
21358 echo "${ECHO_T}no" >&6
21359 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21360 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21361 cat >conftest.
$ac_ext <<_ACEOF
21364 cat confdefs.h
>>conftest.
$ac_ext
21365 cat >>conftest.
$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21368 #ifdef HAVE_WCHAR_H
21370 # include <stddef.h>
21372 # include <wchar.h>
21374 #ifdef HAVE_STDLIB_H
21375 # include <stdlib.h>
21383 std::basic_string<$char_type> foo;
21384 const $char_type* dummy = foo.c_str();
21389 rm -f conftest.
$ac_objext
21390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21391 (eval $ac_compile) 2>conftest.er1
21393 grep -v '^ *+' conftest.er1
>conftest.err
21395 cat conftest.err
>&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); } &&
21398 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400 (eval $ac_try) 2>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; } &&
21404 { ac_try
='test -s conftest.$ac_objext'
21405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21406 (eval $ac_try) 2>&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); }; }; then
21410 echo "$as_me:$LINENO: result: yes" >&5
21411 echo "${ECHO_T}yes" >&6
21413 echo "$as_me: failed program was:" >&5
21414 sed 's/^/| /' conftest.
$ac_ext >&5
21416 echo "$as_me:$LINENO: result: no" >&5
21417 echo "${ECHO_T}no" >&6
21418 if test "$wxUSE_STL" = "yes"; then
21419 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21420 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21421 { (exit 1); exit 1; }; }
21422 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21423 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21424 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21425 { (exit 1); exit 1; }; }
21427 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21428 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21429 wxUSE_STD_STRING
=no
21434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21440 ac_cpp
='$CPP $CPPFLAGS'
21441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21447 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21449 ac_cpp
='$CXXCPP $CPPFLAGS'
21450 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21452 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21455 echo "$as_me:$LINENO: checking for std::istream" >&5
21456 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21457 if test "${ac_cv_type_std__istream+set}" = set; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21460 cat >conftest.
$ac_ext <<_ACEOF
21463 cat confdefs.h
>>conftest.
$ac_ext
21464 cat >>conftest.
$ac_ext <<_ACEOF
21465 /* end confdefs.h. */
21466 #include <iostream>
21471 if ((std::istream *) 0)
21473 if (sizeof (std::istream))
21479 rm -f conftest.
$ac_objext
21480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21481 (eval $ac_compile) 2>conftest.er1
21483 grep -v '^ *+' conftest.er1
>conftest.err
21485 cat conftest.err
>&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } &&
21488 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21490 (eval $ac_try) 2>&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); }; } &&
21494 { ac_try
='test -s conftest.$ac_objext'
21495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21496 (eval $ac_try) 2>&5
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); }; }; then
21500 ac_cv_type_std__istream
=yes
21502 echo "$as_me: failed program was:" >&5
21503 sed 's/^/| /' conftest.
$ac_ext >&5
21505 ac_cv_type_std__istream
=no
21507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21509 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21510 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21511 if test $ac_cv_type_std__istream = yes; then
21513 cat >>confdefs.h
<<_ACEOF
21514 #define HAVE_STD__ISTREAM 1
21519 wxUSE_STD_IOSTREAM
=no
21521 echo "$as_me:$LINENO: checking for std::ostream" >&5
21522 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21523 if test "${ac_cv_type_std__ostream+set}" = set; then
21524 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 cat >conftest.
$ac_ext <<_ACEOF
21529 cat confdefs.h
>>conftest.
$ac_ext
21530 cat >>conftest.
$ac_ext <<_ACEOF
21531 /* end confdefs.h. */
21532 #include <iostream>
21537 if ((std::ostream *) 0)
21539 if (sizeof (std::ostream))
21545 rm -f conftest.
$ac_objext
21546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21547 (eval $ac_compile) 2>conftest.er1
21549 grep -v '^ *+' conftest.er1
>conftest.err
21551 cat conftest.err
>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); } &&
21554 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21556 (eval $ac_try) 2>&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; } &&
21560 { ac_try
='test -s conftest.$ac_objext'
21561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21562 (eval $ac_try) 2>&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; }; then
21566 ac_cv_type_std__ostream
=yes
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.
$ac_ext >&5
21571 ac_cv_type_std__ostream
=no
21573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21575 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21576 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21577 if test $ac_cv_type_std__ostream = yes; then
21579 cat >>confdefs.h
<<_ACEOF
21580 #define HAVE_STD__OSTREAM 1
21585 wxUSE_STD_IOSTREAM
=no
21589 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21590 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
21591 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21592 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21593 { (exit 1); exit 1; }; }
21595 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21596 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21601 ac_cpp
='$CPP $CPPFLAGS'
21602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21608 if test "$wxUSE_STL" = "yes"; then
21610 ac_cpp
='$CXXCPP $CPPFLAGS'
21611 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21612 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21613 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21616 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21617 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21618 cat >conftest.
$ac_ext <<_ACEOF
21621 cat confdefs.h
>>conftest.
$ac_ext
21622 cat >>conftest.
$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21625 #include <functional>
21626 #include <algorithm>
21632 std::vector<int> moo;
21633 std::list<int> foo;
21634 std::vector<int>::iterator it =
21635 std::find_if(moo.begin(), moo.end(),
21636 std::bind2nd(std::less<int>(), 3));
21641 rm -f conftest.
$ac_objext
21642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21643 (eval $ac_compile) 2>conftest.er1
21645 grep -v '^ *+' conftest.er1
>conftest.err
21647 cat conftest.err
>&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } &&
21650 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21652 (eval $ac_try) 2>&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); }; } &&
21656 { ac_try
='test -s conftest.$ac_objext'
21657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658 (eval $ac_try) 2>&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; }; then
21662 echo "$as_me:$LINENO: result: yes" >&5
21663 echo "${ECHO_T}yes" >&6
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.
$ac_ext >&5
21668 echo "$as_me:$LINENO: result: no" >&5
21669 echo "${ECHO_T}no" >&6
21670 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
21671 echo "$as_me: error: Basic STL functionality missing" >&2;}
21672 { (exit 1); exit 1; }; }
21674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21676 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
21677 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
21678 cat >conftest.
$ac_ext <<_ACEOF
21681 cat confdefs.h
>>conftest.
$ac_ext
21682 cat >>conftest.
$ac_ext <<_ACEOF
21683 /* end confdefs.h. */
21688 std::string foo, bar;
21690 foo.compare(1, 1, bar);
21691 foo.compare(1, 1, bar, 1, 1);
21693 foo.compare(1, 1, "");
21694 foo.compare(1, 1, "", 2);
21699 rm -f conftest.
$ac_objext
21700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21701 (eval $ac_compile) 2>conftest.er1
21703 grep -v '^ *+' conftest.er1
>conftest.err
21705 cat conftest.err
>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); } &&
21708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21710 (eval $ac_try) 2>&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; } &&
21714 { ac_try
='test -s conftest.$ac_objext'
21715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21716 (eval $ac_try) 2>&5
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); }; }; then
21720 echo "$as_me:$LINENO: result: yes" >&5
21721 echo "${ECHO_T}yes" >&6
21722 cat >>confdefs.h
<<\_ACEOF
21723 #define HAVE_STD_STRING_COMPARE 1
21727 echo "$as_me: failed program was:" >&5
21728 sed 's/^/| /' conftest.
$ac_ext >&5
21730 echo "$as_me:$LINENO: result: no" >&5
21731 echo "${ECHO_T}no" >&6
21733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21735 if test "${ac_cv_header_hash_map+set}" = set; then
21736 echo "$as_me:$LINENO: checking for hash_map" >&5
21737 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21738 if test "${ac_cv_header_hash_map+set}" = set; then
21739 echo $ECHO_N "(cached) $ECHO_C" >&6
21741 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21742 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21744 # Is the header compilable?
21745 echo "$as_me:$LINENO: checking hash_map usability" >&5
21746 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
21747 cat >conftest.
$ac_ext <<_ACEOF
21750 cat confdefs.h
>>conftest.
$ac_ext
21751 cat >>conftest.
$ac_ext <<_ACEOF
21752 /* end confdefs.h. */
21753 $ac_includes_default
21754 #include <hash_map>
21756 rm -f conftest.
$ac_objext
21757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21758 (eval $ac_compile) 2>conftest.er1
21760 grep -v '^ *+' conftest.er1
>conftest.err
21762 cat conftest.err
>&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); } &&
21765 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767 (eval $ac_try) 2>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); }; } &&
21771 { ac_try
='test -s conftest.$ac_objext'
21772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21773 (eval $ac_try) 2>&5
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); }; }; then
21777 ac_header_compiler
=yes
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.
$ac_ext >&5
21782 ac_header_compiler
=no
21784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21786 echo "${ECHO_T}$ac_header_compiler" >&6
21788 # Is the header present?
21789 echo "$as_me:$LINENO: checking hash_map presence" >&5
21790 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
21791 cat >conftest.
$ac_ext <<_ACEOF
21794 cat confdefs.h
>>conftest.
$ac_ext
21795 cat >>conftest.
$ac_ext <<_ACEOF
21796 /* end confdefs.h. */
21797 #include <hash_map>
21799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21800 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21802 grep -v '^ *+' conftest.er1
>conftest.err
21804 cat conftest.err
>&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } >/dev
/null
; then
21807 if test -s conftest.err
; then
21808 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21809 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21816 if test -z "$ac_cpp_err"; then
21817 ac_header_preproc
=yes
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.
$ac_ext >&5
21822 ac_header_preproc
=no
21824 rm -f conftest.err conftest.
$ac_ext
21825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21826 echo "${ECHO_T}$ac_header_preproc" >&6
21828 # So? What about this header?
21829 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21831 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
21832 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
21833 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
21834 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
21835 ac_header_preproc
=yes
21838 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
21839 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
21840 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
21841 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
21842 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
21843 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
21844 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
21845 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
21846 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
21847 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
21848 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
21849 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
21852 ## ----------------------------------------- ##
21853 ## Report this to wx-dev@lists.wxwidgets.org ##
21854 ## ----------------------------------------- ##
21857 sed "s/^/$as_me: WARNING: /" >&2
21860 echo "$as_me:$LINENO: checking for hash_map" >&5
21861 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
21862 if test "${ac_cv_header_hash_map+set}" = set; then
21863 echo $ECHO_N "(cached) $ECHO_C" >&6
21865 ac_cv_header_hash_map
=$ac_header_preproc
21867 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
21868 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
21871 if test $ac_cv_header_hash_map = yes; then
21872 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
21873 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
21874 cat >conftest.
$ac_ext <<_ACEOF
21877 cat confdefs.h
>>conftest.
$ac_ext
21878 cat >>conftest.
$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880 #include <hash_map>
21881 #include <hash_set>
21885 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21886 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21891 rm -f conftest.
$ac_objext
21892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21893 (eval $ac_compile) 2>conftest.er1
21895 grep -v '^ *+' conftest.er1
>conftest.err
21897 cat conftest.err
>&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } &&
21900 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21902 (eval $ac_try) 2>&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); }; } &&
21906 { ac_try
='test -s conftest.$ac_objext'
21907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21908 (eval $ac_try) 2>&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); }; }; then
21912 echo "$as_me:$LINENO: result: yes" >&5
21913 echo "${ECHO_T}yes" >&6
21914 cat >>confdefs.h
<<\_ACEOF
21915 #define HAVE_HASH_MAP 1
21918 cat >>confdefs.h
<<\_ACEOF
21919 #define HAVE_STD_HASH_MAP 1
21923 echo "$as_me: failed program was:" >&5
21924 sed 's/^/| /' conftest.
$ac_ext >&5
21926 echo "$as_me:$LINENO: result: no" >&5
21927 echo "${ECHO_T}no" >&6
21929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21935 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21936 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
21937 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
21938 if test "${ac_cv_header_ext_hash_map+set}" = set; then
21939 echo $ECHO_N "(cached) $ECHO_C" >&6
21941 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
21942 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
21944 # Is the header compilable?
21945 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
21946 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
21947 cat >conftest.
$ac_ext <<_ACEOF
21950 cat confdefs.h
>>conftest.
$ac_ext
21951 cat >>conftest.
$ac_ext <<_ACEOF
21952 /* end confdefs.h. */
21953 $ac_includes_default
21954 #include <ext/hash_map>
21956 rm -f conftest.
$ac_objext
21957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21958 (eval $ac_compile) 2>conftest.er1
21960 grep -v '^ *+' conftest.er1
>conftest.err
21962 cat conftest.err
>&5
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); } &&
21965 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967 (eval $ac_try) 2>&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; } &&
21971 { ac_try
='test -s conftest.$ac_objext'
21972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21973 (eval $ac_try) 2>&5
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); }; }; then
21977 ac_header_compiler
=yes
21979 echo "$as_me: failed program was:" >&5
21980 sed 's/^/| /' conftest.
$ac_ext >&5
21982 ac_header_compiler
=no
21984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21986 echo "${ECHO_T}$ac_header_compiler" >&6
21988 # Is the header present?
21989 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
21990 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
21991 cat >conftest.
$ac_ext <<_ACEOF
21994 cat confdefs.h
>>conftest.
$ac_ext
21995 cat >>conftest.
$ac_ext <<_ACEOF
21996 /* end confdefs.h. */
21997 #include <ext/hash_map>
21999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22000 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22002 grep -v '^ *+' conftest.er1
>conftest.err
22004 cat conftest.err
>&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } >/dev
/null
; then
22007 if test -s conftest.err
; then
22008 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22009 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22016 if test -z "$ac_cpp_err"; then
22017 ac_header_preproc
=yes
22019 echo "$as_me: failed program was:" >&5
22020 sed 's/^/| /' conftest.
$ac_ext >&5
22022 ac_header_preproc
=no
22024 rm -f conftest.err conftest.
$ac_ext
22025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22026 echo "${ECHO_T}$ac_header_preproc" >&6
22028 # So? What about this header?
22029 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22031 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22032 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22033 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22034 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22035 ac_header_preproc
=yes
22038 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22039 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22040 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22041 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22042 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22043 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22044 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22045 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22046 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22047 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22048 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22049 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22052 ## ----------------------------------------- ##
22053 ## Report this to wx-dev@lists.wxwidgets.org ##
22054 ## ----------------------------------------- ##
22057 sed "s/^/$as_me: WARNING: /" >&2
22060 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22061 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22062 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22063 echo $ECHO_N "(cached) $ECHO_C" >&6
22065 ac_cv_header_ext_hash_map
=$ac_header_preproc
22067 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22068 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22071 if test $ac_cv_header_ext_hash_map = yes; then
22072 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22073 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22074 cat >conftest.
$ac_ext <<_ACEOF
22077 cat confdefs.h
>>conftest.
$ac_ext
22078 cat >>conftest.
$ac_ext <<_ACEOF
22079 /* end confdefs.h. */
22080 #include <ext/hash_map>
22081 #include <ext/hash_set>
22085 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22086 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22091 rm -f conftest.
$ac_objext
22092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22093 (eval $ac_compile) 2>conftest.er1
22095 grep -v '^ *+' conftest.er1
>conftest.err
22097 cat conftest.err
>&5
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); } &&
22100 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22102 (eval $ac_try) 2>&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); }; } &&
22106 { ac_try
='test -s conftest.$ac_objext'
22107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22108 (eval $ac_try) 2>&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); }; }; then
22112 echo "$as_me:$LINENO: result: yes" >&5
22113 echo "${ECHO_T}yes" >&6
22114 cat >>confdefs.h
<<\_ACEOF
22115 #define HAVE_EXT_HASH_MAP 1
22118 cat >>confdefs.h
<<\_ACEOF
22119 #define HAVE_GNU_CXX_HASH_MAP 1
22123 echo "$as_me: failed program was:" >&5
22124 sed 's/^/| /' conftest.
$ac_ext >&5
22126 echo "$as_me:$LINENO: result: no" >&5
22127 echo "${ECHO_T}no" >&6
22129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22136 ac_cpp
='$CPP $CPPFLAGS'
22137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22145 /usr/local/include \
22147 /usr/Motif-2.1/include \
22148 /usr/Motif-1.2/include \
22149 /usr/include/Motif1.2 \
22150 /opt/xpm/include/X11 \
22151 /opt/GBxpm/include/ \
22152 /opt/GBxpm/X11/include/ \
22155 /usr/openwin/include \
22159 /usr/X11R6/include \
22160 /usr/X11R6.4/include \
22161 /usr/X11R5/include \
22162 /usr/X11R4/include \
22164 /usr/include/X11R6 \
22165 /usr/include/X11R5 \
22166 /usr/include/X11R4 \
22168 /usr/local/X11R6/include \
22169 /usr/local/X11R5/include \
22170 /usr/local/X11R4/include \
22172 /usr/local/include/X11R6 \
22173 /usr/local/include/X11R5 \
22174 /usr/local/include/X11R4 \
22178 /usr/local/X11/include \
22179 /usr/local/include/X11 \
22181 /usr/X386/include \
22182 /usr/x386/include \
22183 /usr/XFree86/include/X11 \
22185 X:/XFree86/include \
22186 X:/XFree86/include/X11 \
22189 /usr/local/include/gtk \
22190 /usr/include/glib \
22191 /usr/local/include/glib \
22194 /usr/local/include/qt \
22196 /usr/local/arm/3.3.2/include \
22198 /usr/include/windows \
22199 /usr/include/wine \
22200 /usr/local/include/wine \
22202 /usr/unsupported/include \
22203 /usr/athena/include \
22204 /usr/local/x11r5/include \
22205 /usr/lpp/Xamples/include \
22207 /usr/openwin/share/include"
22209 SEARCH_LIB
="/usr/lib /usr/lib32 /usr/lib64 /usr/X11R6/lib64 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g`"
22211 if test "$build" != "$host" -a "$GCC" = yes; then
22212 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22213 cross_root
=`dirname $cross_root`
22214 cross_root
=`dirname $cross_root`
22216 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22217 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22219 if test -z "$PKG_CONFIG_PATH"; then
22220 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22221 export PKG_CONFIG_PATH
22224 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22227 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
22229 if test -f "$ac_dir/X11/Intrinsic.h"; then
22230 ac_find_includes
=$ac_dir
22235 x_includes
=$ac_find_includes
22237 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22240 for ac_dir
in $SEARCH_LIB /usr
/lib
;
22242 for ac_extension
in a so sl dylib dll.a
; do
22243 if test -f "$ac_dir/libXt.$ac_extension"; then
22244 ac_find_libraries
=$ac_dir
22250 x_libraries
=$ac_find_libraries
22256 cat >confcache
<<\_ACEOF
22257 # This file is a shell script that caches the results of configure
22258 # tests run on this system so they can be shared between configure
22259 # scripts and configure runs, see configure's option --config-cache.
22260 # It is not useful on other systems. If it contains results you don't
22261 # want to keep, you may remove or edit it.
22263 # config.status only pays attention to the cache file if you give it
22264 # the --recheck option to rerun configure.
22266 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22267 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22268 # following values.
22272 # The following way of writing the cache mishandles newlines in values,
22273 # but we know of no workaround that is simple, portable, and efficient.
22274 # So, don't put newlines in cache variables' values.
22275 # Ultrix sh set writes to stderr and can't be redirected directly,
22276 # and sets the high bit in the cache file unless we assign to the vars.
22279 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22281 # `set' does not quote correctly, so add quotes (double-quote
22282 # substitution turns \\\\ into \\, and sed turns \\ into \).
22285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22288 # `set' quotes correctly as required by POSIX, so do not add quotes.
22290 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22297 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22299 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22301 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22302 if test -w $cache_file; then
22303 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22304 cat confcache
>$cache_file
22306 echo "not updating unwritable cache $cache_file"
22311 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22312 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22313 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22314 if test "${wx_cv_lib_glibc21+set}" = set; then
22315 echo $ECHO_N "(cached) $ECHO_C" >&6
22318 cat >conftest.
$ac_ext <<_ACEOF
22321 cat confdefs.h
>>conftest.
$ac_ext
22322 cat >>conftest.
$ac_ext <<_ACEOF
22323 /* end confdefs.h. */
22324 #include <features.h>
22329 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22330 #error not glibc2.1
22337 rm -f conftest.
$ac_objext
22338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22339 (eval $ac_compile) 2>conftest.er1
22341 grep -v '^ *+' conftest.er1
>conftest.err
22343 cat conftest.err
>&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } &&
22346 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; } &&
22352 { ac_try
='test -s conftest.$ac_objext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22359 wx_cv_lib_glibc21
=yes
22362 echo "$as_me: failed program was:" >&5
22363 sed 's/^/| /' conftest.
$ac_ext >&5
22366 wx_cv_lib_glibc21
=no
22370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22373 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22374 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22375 if test "$wx_cv_lib_glibc21" = "yes"; then
22376 cat >>confdefs.h
<<\_ACEOF
22377 #define wxHAVE_GLIBC2 1
22383 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22384 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22385 cat >>confdefs.h
<<\_ACEOF
22386 #define _GNU_SOURCE 1
22394 if test "$wxUSE_REGEX" != "no"; then
22395 cat >>confdefs.h
<<\_ACEOF
22396 #define wxUSE_REGEX 1
22400 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22401 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22402 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22403 wxUSE_REGEX
=builtin
22406 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22407 if test "${ac_cv_header_regex_h+set}" = set; then
22408 echo "$as_me:$LINENO: checking for regex.h" >&5
22409 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22410 if test "${ac_cv_header_regex_h+set}" = set; then
22411 echo $ECHO_N "(cached) $ECHO_C" >&6
22413 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22414 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22416 # Is the header compilable?
22417 echo "$as_me:$LINENO: checking regex.h usability" >&5
22418 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22419 cat >conftest.
$ac_ext <<_ACEOF
22422 cat confdefs.h
>>conftest.
$ac_ext
22423 cat >>conftest.
$ac_ext <<_ACEOF
22424 /* end confdefs.h. */
22425 $ac_includes_default
22428 rm -f conftest.
$ac_objext
22429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22430 (eval $ac_compile) 2>conftest.er1
22432 grep -v '^ *+' conftest.er1
>conftest.err
22434 cat conftest.err
>&5
22435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22436 (exit $ac_status); } &&
22437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22439 (eval $ac_try) 2>&5
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); }; } &&
22443 { ac_try
='test -s conftest.$ac_objext'
22444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22445 (eval $ac_try) 2>&5
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); }; }; then
22449 ac_header_compiler
=yes
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.
$ac_ext >&5
22454 ac_header_compiler
=no
22456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22458 echo "${ECHO_T}$ac_header_compiler" >&6
22460 # Is the header present?
22461 echo "$as_me:$LINENO: checking regex.h presence" >&5
22462 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22463 cat >conftest.
$ac_ext <<_ACEOF
22466 cat confdefs.h
>>conftest.
$ac_ext
22467 cat >>conftest.
$ac_ext <<_ACEOF
22468 /* end confdefs.h. */
22471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22472 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22474 grep -v '^ *+' conftest.er1
>conftest.err
22476 cat conftest.err
>&5
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); } >/dev
/null
; then
22479 if test -s conftest.err
; then
22480 ac_cpp_err
=$ac_c_preproc_warn_flag
22481 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22488 if test -z "$ac_cpp_err"; then
22489 ac_header_preproc
=yes
22491 echo "$as_me: failed program was:" >&5
22492 sed 's/^/| /' conftest.
$ac_ext >&5
22494 ac_header_preproc
=no
22496 rm -f conftest.err conftest.
$ac_ext
22497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22498 echo "${ECHO_T}$ac_header_preproc" >&6
22500 # So? What about this header?
22501 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22503 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22504 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22505 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22506 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22507 ac_header_preproc
=yes
22510 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22511 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22512 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22513 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22514 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22515 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22516 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22517 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22518 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22519 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22520 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22521 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22524 ## ----------------------------------------- ##
22525 ## Report this to wx-dev@lists.wxwidgets.org ##
22526 ## ----------------------------------------- ##
22529 sed "s/^/$as_me: WARNING: /" >&2
22532 echo "$as_me:$LINENO: checking for regex.h" >&5
22533 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22534 if test "${ac_cv_header_regex_h+set}" = set; then
22535 echo $ECHO_N "(cached) $ECHO_C" >&6
22537 ac_cv_header_regex_h
=$ac_header_preproc
22539 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22540 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22543 if test $ac_cv_header_regex_h = yes; then
22545 for ac_func
in regcomp
22547 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22548 echo "$as_me:$LINENO: checking for $ac_func" >&5
22549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22550 if eval "test \"\${$as_ac_var+set}\" = set"; then
22551 echo $ECHO_N "(cached) $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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22561 #define $ac_func innocuous_$ac_func
22563 /* System header to define __stub macros and hopefully few prototypes,
22564 which can conflict with char $ac_func (); below.
22565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22566 <limits.h> exists even on freestanding compilers. */
22569 # include <limits.h>
22571 # include <assert.h>
22576 /* Override any gcc2 internal prototype to avoid an error. */
22581 /* We use char because int might match the return type of a gcc2
22582 builtin and then its argument prototype would still apply. */
22584 /* The GNU C library defines this for functions which it implements
22585 to always fail with ENOSYS. Some functions are actually named
22586 something starting with __ and the normal name is an alias. */
22587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22590 char (*f) () = $ac_func;
22599 return f != $ac_func;
22604 rm -f conftest.
$ac_objext conftest
$ac_exeext
22605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22606 (eval $ac_link) 2>conftest.er1
22608 grep -v '^ *+' conftest.er1
>conftest.err
22610 cat conftest.err
>&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); } &&
22613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22615 (eval $ac_try) 2>&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); }; } &&
22619 { ac_try
='test -s conftest$ac_exeext'
22620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22621 (eval $ac_try) 2>&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); }; }; then
22625 eval "$as_ac_var=yes"
22627 echo "$as_me: failed program was:" >&5
22628 sed 's/^/| /' conftest.
$ac_ext >&5
22630 eval "$as_ac_var=no"
22632 rm -f conftest.err conftest.
$ac_objext \
22633 conftest
$ac_exeext conftest.
$ac_ext
22635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22637 if test `eval echo '${'$as_ac_var'}'` = yes; then
22638 cat >>confdefs.h
<<_ACEOF
22639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22649 if test "x$ac_cv_func_regcomp" != "xyes"; then
22650 if test "$wxUSE_REGEX" = "sys" ; then
22651 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
22652 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
22653 { (exit 1); exit 1; }; }
22655 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
22656 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22657 wxUSE_REGEX
=builtin
22661 cat >>confdefs.h
<<\_ACEOF
22662 #define WX_NO_REGEX_ADVANCED 1
22671 if test "$wxUSE_ZLIB" != "no" ; then
22672 cat >>confdefs.h
<<\_ACEOF
22673 #define wxUSE_ZLIB 1
22677 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22678 if test "$USE_DARWIN" = 1; then
22679 system_zlib_h_ok
="yes"
22681 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
22682 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
22683 if test "${ac_cv_header_zlib_h+set}" = set; then
22684 echo $ECHO_N "(cached) $ECHO_C" >&6
22686 if test "$cross_compiling" = yes; then
22687 unset ac_cv_header_zlib_h
22690 cat >conftest.
$ac_ext <<_ACEOF
22693 cat confdefs.h
>>conftest.
$ac_ext
22694 cat >>conftest.
$ac_ext <<_ACEOF
22695 /* end confdefs.h. */
22702 FILE *f=fopen("conftestval", "w");
22705 ZLIB_VERSION[0] == '1' &&
22706 (ZLIB_VERSION[2] > '1' ||
22707 (ZLIB_VERSION[2] == '1' &&
22708 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22713 rm -f conftest
$ac_exeext
22714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22715 (eval $ac_link) 2>&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22720 (eval $ac_try) 2>&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); }; }; then
22724 ac_cv_header_zlib_h
=`cat conftestval`
22726 echo "$as_me: program exited with status $ac_status" >&5
22727 echo "$as_me: failed program was:" >&5
22728 sed 's/^/| /' conftest.
$ac_ext >&5
22730 ( exit $ac_status )
22731 ac_cv_header_zlib_h
=no
22733 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22737 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22738 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22739 if test "${ac_cv_header_zlib_h+set}" = set; then
22740 echo "$as_me:$LINENO: checking for zlib.h" >&5
22741 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22742 if test "${ac_cv_header_zlib_h+set}" = set; then
22743 echo $ECHO_N "(cached) $ECHO_C" >&6
22745 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22746 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22748 # Is the header compilable?
22749 echo "$as_me:$LINENO: checking zlib.h usability" >&5
22750 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
22751 cat >conftest.
$ac_ext <<_ACEOF
22754 cat confdefs.h
>>conftest.
$ac_ext
22755 cat >>conftest.
$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 $ac_includes_default
22760 rm -f conftest.
$ac_objext
22761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22762 (eval $ac_compile) 2>conftest.er1
22764 grep -v '^ *+' conftest.er1
>conftest.err
22766 cat conftest.err
>&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } &&
22769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22771 (eval $ac_try) 2>&5
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); }; } &&
22775 { ac_try
='test -s conftest.$ac_objext'
22776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22777 (eval $ac_try) 2>&5
22779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22780 (exit $ac_status); }; }; then
22781 ac_header_compiler
=yes
22783 echo "$as_me: failed program was:" >&5
22784 sed 's/^/| /' conftest.
$ac_ext >&5
22786 ac_header_compiler
=no
22788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22790 echo "${ECHO_T}$ac_header_compiler" >&6
22792 # Is the header present?
22793 echo "$as_me:$LINENO: checking zlib.h presence" >&5
22794 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
22795 cat >conftest.
$ac_ext <<_ACEOF
22798 cat confdefs.h
>>conftest.
$ac_ext
22799 cat >>conftest.
$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22804 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22806 grep -v '^ *+' conftest.er1
>conftest.err
22808 cat conftest.err
>&5
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); } >/dev
/null
; then
22811 if test -s conftest.err
; then
22812 ac_cpp_err
=$ac_c_preproc_warn_flag
22813 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22820 if test -z "$ac_cpp_err"; then
22821 ac_header_preproc
=yes
22823 echo "$as_me: failed program was:" >&5
22824 sed 's/^/| /' conftest.
$ac_ext >&5
22826 ac_header_preproc
=no
22828 rm -f conftest.err conftest.
$ac_ext
22829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22830 echo "${ECHO_T}$ac_header_preproc" >&6
22832 # So? What about this header?
22833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22835 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
22836 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22837 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
22838 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
22839 ac_header_preproc
=yes
22842 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
22843 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
22844 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
22845 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
22846 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
22847 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
22848 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
22849 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
22850 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
22851 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
22852 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
22853 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
22856 ## ----------------------------------------- ##
22857 ## Report this to wx-dev@lists.wxwidgets.org ##
22858 ## ----------------------------------------- ##
22861 sed "s/^/$as_me: WARNING: /" >&2
22864 echo "$as_me:$LINENO: checking for zlib.h" >&5
22865 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22866 if test "${ac_cv_header_zlib_h+set}" = set; then
22867 echo $ECHO_N "(cached) $ECHO_C" >&6
22869 ac_cv_header_zlib_h
=$ac_header_preproc
22871 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
22872 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
22878 system_zlib_h_ok
=$ac_cv_header_zlib_h
22881 if test "$system_zlib_h_ok" = "yes"; then
22882 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
22883 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
22884 if test "${ac_cv_lib_z_deflate+set}" = set; then
22885 echo $ECHO_N "(cached) $ECHO_C" >&6
22887 ac_check_lib_save_LIBS
=$LIBS
22889 cat >conftest.
$ac_ext <<_ACEOF
22892 cat confdefs.h
>>conftest.
$ac_ext
22893 cat >>conftest.
$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22896 /* Override any gcc2 internal prototype to avoid an error. */
22900 /* We use char because int might match the return type of a gcc2
22901 builtin and then its argument prototype would still apply. */
22911 rm -f conftest.
$ac_objext conftest
$ac_exeext
22912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22913 (eval $ac_link) 2>conftest.er1
22915 grep -v '^ *+' conftest.er1
>conftest.err
22917 cat conftest.err
>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); } &&
22920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22922 (eval $ac_try) 2>&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); }; } &&
22926 { ac_try
='test -s conftest$ac_exeext'
22927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22928 (eval $ac_try) 2>&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); }; }; then
22932 ac_cv_lib_z_deflate
=yes
22934 echo "$as_me: failed program was:" >&5
22935 sed 's/^/| /' conftest.
$ac_ext >&5
22937 ac_cv_lib_z_deflate
=no
22939 rm -f conftest.err conftest.
$ac_objext \
22940 conftest
$ac_exeext conftest.
$ac_ext
22941 LIBS
=$ac_check_lib_save_LIBS
22943 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
22944 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
22945 if test $ac_cv_lib_z_deflate = yes; then
22951 if test "x$ZLIB_LINK" = "x" ; then
22952 if test "$wxUSE_ZLIB" = "sys" ; then
22953 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
22954 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
22955 { (exit 1); exit 1; }; }
22957 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
22958 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22969 if test "$wxUSE_LIBPNG" != "no" ; then
22970 cat >>confdefs.h
<<\_ACEOF
22971 #define wxUSE_LIBPNG 1
22975 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
22976 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
22977 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
22981 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22982 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22983 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22984 wxUSE_LIBPNG
=builtin
22987 if test "$wxUSE_MGL" != 1 ; then
22988 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22989 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
22990 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
22991 if test "${ac_cv_header_png_h+set}" = set; then
22992 echo $ECHO_N "(cached) $ECHO_C" >&6
22994 if test "$cross_compiling" = yes; then
22995 unset ac_cv_header_png_h
22998 cat >conftest.
$ac_ext <<_ACEOF
23001 cat confdefs.h
>>conftest.
$ac_ext
23002 cat >>conftest.
$ac_ext <<_ACEOF
23003 /* end confdefs.h. */
23010 FILE *f=fopen("conftestval", "w");
23013 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23018 rm -f conftest
$ac_exeext
23019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23020 (eval $ac_link) 2>&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23025 (eval $ac_try) 2>&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); }; }; then
23029 ac_cv_header_png_h
=`cat conftestval`
23031 echo "$as_me: program exited with status $ac_status" >&5
23032 echo "$as_me: failed program was:" >&5
23033 sed 's/^/| /' conftest.
$ac_ext >&5
23035 ( exit $ac_status )
23036 ac_cv_header_png_h
=no
23038 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23042 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23043 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23044 if test "${ac_cv_header_png_h+set}" = set; then
23045 echo "$as_me:$LINENO: checking for png.h" >&5
23046 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23047 if test "${ac_cv_header_png_h+set}" = set; then
23048 echo $ECHO_N "(cached) $ECHO_C" >&6
23050 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23051 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23053 # Is the header compilable?
23054 echo "$as_me:$LINENO: checking png.h usability" >&5
23055 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23056 cat >conftest.
$ac_ext <<_ACEOF
23059 cat confdefs.h
>>conftest.
$ac_ext
23060 cat >>conftest.
$ac_ext <<_ACEOF
23061 /* end confdefs.h. */
23062 $ac_includes_default
23065 rm -f conftest.
$ac_objext
23066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23067 (eval $ac_compile) 2>conftest.er1
23069 grep -v '^ *+' conftest.er1
>conftest.err
23071 cat conftest.err
>&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } &&
23074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23076 (eval $ac_try) 2>&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; } &&
23080 { ac_try
='test -s conftest.$ac_objext'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 ac_header_compiler
=yes
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.
$ac_ext >&5
23091 ac_header_compiler
=no
23093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23095 echo "${ECHO_T}$ac_header_compiler" >&6
23097 # Is the header present?
23098 echo "$as_me:$LINENO: checking png.h presence" >&5
23099 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23100 cat >conftest.
$ac_ext <<_ACEOF
23103 cat confdefs.h
>>conftest.
$ac_ext
23104 cat >>conftest.
$ac_ext <<_ACEOF
23105 /* end confdefs.h. */
23108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23111 grep -v '^ *+' conftest.er1
>conftest.err
23113 cat conftest.err
>&5
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); } >/dev
/null
; then
23116 if test -s conftest.err
; then
23117 ac_cpp_err
=$ac_c_preproc_warn_flag
23118 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23125 if test -z "$ac_cpp_err"; then
23126 ac_header_preproc
=yes
23128 echo "$as_me: failed program was:" >&5
23129 sed 's/^/| /' conftest.
$ac_ext >&5
23131 ac_header_preproc
=no
23133 rm -f conftest.err conftest.
$ac_ext
23134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23135 echo "${ECHO_T}$ac_header_preproc" >&6
23137 # So? What about this header?
23138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23140 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23141 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23142 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23143 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23144 ac_header_preproc
=yes
23147 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23148 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23149 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23150 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23151 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23152 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23153 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23154 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23155 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23156 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23157 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23158 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23161 ## ----------------------------------------- ##
23162 ## Report this to wx-dev@lists.wxwidgets.org ##
23163 ## ----------------------------------------- ##
23166 sed "s/^/$as_me: WARNING: /" >&2
23169 echo "$as_me:$LINENO: checking for png.h" >&5
23170 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23171 if test "${ac_cv_header_png_h+set}" = set; then
23172 echo $ECHO_N "(cached) $ECHO_C" >&6
23174 ac_cv_header_png_h
=$ac_header_preproc
23176 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23177 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23183 if test "$ac_cv_header_png_h" = "yes"; then
23184 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23185 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23186 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23187 echo $ECHO_N "(cached) $ECHO_C" >&6
23189 ac_check_lib_save_LIBS
=$LIBS
23190 LIBS
="-lpng -lz -lm $LIBS"
23191 cat >conftest.
$ac_ext <<_ACEOF
23194 cat confdefs.h
>>conftest.
$ac_ext
23195 cat >>conftest.
$ac_ext <<_ACEOF
23196 /* end confdefs.h. */
23198 /* Override any gcc2 internal prototype to avoid an error. */
23202 /* We use char because int might match the return type of a gcc2
23203 builtin and then its argument prototype would still apply. */
23204 char png_check_sig ();
23213 rm -f conftest.
$ac_objext conftest
$ac_exeext
23214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23215 (eval $ac_link) 2>conftest.er1
23217 grep -v '^ *+' conftest.er1
>conftest.err
23219 cat conftest.err
>&5
23220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221 (exit $ac_status); } &&
23222 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23224 (eval $ac_try) 2>&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); }; } &&
23228 { ac_try
='test -s conftest$ac_exeext'
23229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23230 (eval $ac_try) 2>&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); }; }; then
23234 ac_cv_lib_png_png_check_sig
=yes
23236 echo "$as_me: failed program was:" >&5
23237 sed 's/^/| /' conftest.
$ac_ext >&5
23239 ac_cv_lib_png_png_check_sig
=no
23241 rm -f conftest.err conftest.
$ac_objext \
23242 conftest
$ac_exeext conftest.
$ac_ext
23243 LIBS
=$ac_check_lib_save_LIBS
23245 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23246 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23247 if test $ac_cv_lib_png_png_check_sig = yes; then
23248 PNG_LINK
=" -lpng -lz"
23253 if test "x$PNG_LINK" = "x" ; then
23254 if test "$wxUSE_LIBPNG" = "sys" ; then
23255 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23256 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23257 { (exit 1); exit 1; }; }
23259 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23260 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23261 wxUSE_LIBPNG
=builtin
23269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23274 if test "$wxUSE_LIBJPEG" != "no" ; then
23275 cat >>confdefs.h
<<\_ACEOF
23276 #define wxUSE_LIBJPEG 1
23280 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23281 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23282 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23286 if test "$wxUSE_MGL" != 1 ; then
23287 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23288 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23289 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23290 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23291 echo $ECHO_N "(cached) $ECHO_C" >&6
23293 cat >conftest.
$ac_ext <<_ACEOF
23296 cat confdefs.h
>>conftest.
$ac_ext
23297 cat >>conftest.
$ac_ext <<_ACEOF
23298 /* end confdefs.h. */
23300 #undef HAVE_STDLIB_H
23302 #include <jpeglib.h>
23313 rm -f conftest.
$ac_objext
23314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23315 (eval $ac_compile) 2>conftest.er1
23317 grep -v '^ *+' conftest.er1
>conftest.err
23319 cat conftest.err
>&5
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); } &&
23322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23324 (eval $ac_try) 2>&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); }; } &&
23328 { ac_try
='test -s conftest.$ac_objext'
23329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23330 (eval $ac_try) 2>&5
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); }; }; then
23334 ac_cv_header_jpeglib_h
=yes
23336 echo "$as_me: failed program was:" >&5
23337 sed 's/^/| /' conftest.
$ac_ext >&5
23339 ac_cv_header_jpeglib_h
=no
23342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23346 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23347 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23349 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23350 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23351 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23352 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23353 echo $ECHO_N "(cached) $ECHO_C" >&6
23355 ac_check_lib_save_LIBS
=$LIBS
23356 LIBS
="-ljpeg $LIBS"
23357 cat >conftest.
$ac_ext <<_ACEOF
23360 cat confdefs.h
>>conftest.
$ac_ext
23361 cat >>conftest.
$ac_ext <<_ACEOF
23362 /* end confdefs.h. */
23364 /* Override any gcc2 internal prototype to avoid an error. */
23368 /* We use char because int might match the return type of a gcc2
23369 builtin and then its argument prototype would still apply. */
23370 char jpeg_read_header ();
23374 jpeg_read_header ();
23379 rm -f conftest.
$ac_objext conftest
$ac_exeext
23380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23381 (eval $ac_link) 2>conftest.er1
23383 grep -v '^ *+' conftest.er1
>conftest.err
23385 cat conftest.err
>&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } &&
23388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; } &&
23394 { ac_try
='test -s conftest$ac_exeext'
23395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23396 (eval $ac_try) 2>&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); }; }; then
23400 ac_cv_lib_jpeg_jpeg_read_header
=yes
23402 echo "$as_me: failed program was:" >&5
23403 sed 's/^/| /' conftest.
$ac_ext >&5
23405 ac_cv_lib_jpeg_jpeg_read_header
=no
23407 rm -f conftest.err conftest.
$ac_objext \
23408 conftest
$ac_exeext conftest.
$ac_ext
23409 LIBS
=$ac_check_lib_save_LIBS
23411 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23412 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23413 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23414 JPEG_LINK
=" -ljpeg"
23419 if test "x$JPEG_LINK" = "x" ; then
23420 if test "$wxUSE_LIBJPEG" = "sys" ; then
23421 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23422 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23423 { (exit 1); exit 1; }; }
23425 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23426 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23427 wxUSE_LIBJPEG
=builtin
23438 TIFF_PREREQ_LINKS
=-lm
23439 if test "$wxUSE_LIBTIFF" != "no" ; then
23440 cat >>confdefs.h
<<\_ACEOF
23441 #define wxUSE_LIBTIFF 1
23445 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23446 if test "$wxUSE_LIBJPEG" = "sys"; then
23447 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23449 if test "$wxUSE_ZLIB" = "sys"; then
23450 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23452 if test "${ac_cv_header_tiffio_h+set}" = set; then
23453 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23454 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23455 if test "${ac_cv_header_tiffio_h+set}" = set; then
23456 echo $ECHO_N "(cached) $ECHO_C" >&6
23458 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23459 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23461 # Is the header compilable?
23462 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23463 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23464 cat >conftest.
$ac_ext <<_ACEOF
23467 cat confdefs.h
>>conftest.
$ac_ext
23468 cat >>conftest.
$ac_ext <<_ACEOF
23469 /* end confdefs.h. */
23470 $ac_includes_default
23471 #include <tiffio.h>
23473 rm -f conftest.
$ac_objext
23474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23475 (eval $ac_compile) 2>conftest.er1
23477 grep -v '^ *+' conftest.er1
>conftest.err
23479 cat conftest.err
>&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } &&
23482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; } &&
23488 { ac_try
='test -s conftest.$ac_objext'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; }; then
23494 ac_header_compiler
=yes
23496 echo "$as_me: failed program was:" >&5
23497 sed 's/^/| /' conftest.
$ac_ext >&5
23499 ac_header_compiler
=no
23501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23503 echo "${ECHO_T}$ac_header_compiler" >&6
23505 # Is the header present?
23506 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23507 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23508 cat >conftest.
$ac_ext <<_ACEOF
23511 cat confdefs.h
>>conftest.
$ac_ext
23512 cat >>conftest.
$ac_ext <<_ACEOF
23513 /* end confdefs.h. */
23514 #include <tiffio.h>
23516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23517 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23519 grep -v '^ *+' conftest.er1
>conftest.err
23521 cat conftest.err
>&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); } >/dev
/null
; then
23524 if test -s conftest.err
; then
23525 ac_cpp_err
=$ac_c_preproc_warn_flag
23526 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23533 if test -z "$ac_cpp_err"; then
23534 ac_header_preproc
=yes
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.
$ac_ext >&5
23539 ac_header_preproc
=no
23541 rm -f conftest.err conftest.
$ac_ext
23542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23543 echo "${ECHO_T}$ac_header_preproc" >&6
23545 # So? What about this header?
23546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23548 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23549 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23550 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23551 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23552 ac_header_preproc
=yes
23555 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23556 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23557 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23558 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23559 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23560 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23561 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23562 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23563 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23564 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23565 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23566 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23569 ## ----------------------------------------- ##
23570 ## Report this to wx-dev@lists.wxwidgets.org ##
23571 ## ----------------------------------------- ##
23574 sed "s/^/$as_me: WARNING: /" >&2
23577 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23578 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23579 if test "${ac_cv_header_tiffio_h+set}" = set; then
23580 echo $ECHO_N "(cached) $ECHO_C" >&6
23582 ac_cv_header_tiffio_h
=$ac_header_preproc
23584 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23585 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23588 if test $ac_cv_header_tiffio_h = yes; then
23590 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
23591 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
23592 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
23593 echo $ECHO_N "(cached) $ECHO_C" >&6
23595 ac_check_lib_save_LIBS
=$LIBS
23596 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
23597 cat >conftest.
$ac_ext <<_ACEOF
23600 cat confdefs.h
>>conftest.
$ac_ext
23601 cat >>conftest.
$ac_ext <<_ACEOF
23602 /* end confdefs.h. */
23604 /* Override any gcc2 internal prototype to avoid an error. */
23608 /* We use char because int might match the return type of a gcc2
23609 builtin and then its argument prototype would still apply. */
23619 rm -f conftest.
$ac_objext conftest
$ac_exeext
23620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23621 (eval $ac_link) 2>conftest.er1
23623 grep -v '^ *+' conftest.er1
>conftest.err
23625 cat conftest.err
>&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); } &&
23628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23630 (eval $ac_try) 2>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); }; } &&
23634 { ac_try
='test -s conftest$ac_exeext'
23635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23636 (eval $ac_try) 2>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); }; }; then
23640 ac_cv_lib_tiff_TIFFError
=yes
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.
$ac_ext >&5
23645 ac_cv_lib_tiff_TIFFError
=no
23647 rm -f conftest.err conftest.
$ac_objext \
23648 conftest
$ac_exeext conftest.
$ac_ext
23649 LIBS
=$ac_check_lib_save_LIBS
23651 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
23652 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
23653 if test $ac_cv_lib_tiff_TIFFError = yes; then
23654 TIFF_LINK
=" -ltiff"
23663 if test "x$TIFF_LINK" = "x" ; then
23664 if test "$wxUSE_LIBTIFF" = "sys" ; then
23665 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
23666 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
23667 { (exit 1); exit 1; }; }
23669 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
23670 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
23671 wxUSE_LIBTIFF
=builtin
23680 if test "$wxUSE_WCHAR_T" != "yes"; then
23681 if test "$wxUSE_EXPAT" != "no"; then
23682 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
23683 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
23686 if test "$wxUSE_XML" != "no"; then
23687 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
23688 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
23693 if test "$wxUSE_EXPAT" != "no"; then
23695 cat >>confdefs.h
<<\_ACEOF
23696 #define wxUSE_EXPAT 1
23699 cat >>confdefs.h
<<\_ACEOF
23700 #define wxUSE_XML 1
23704 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23705 if test "${ac_cv_header_expat_h+set}" = set; then
23706 echo "$as_me:$LINENO: checking for expat.h" >&5
23707 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23708 if test "${ac_cv_header_expat_h+set}" = set; then
23709 echo $ECHO_N "(cached) $ECHO_C" >&6
23711 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23712 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23714 # Is the header compilable?
23715 echo "$as_me:$LINENO: checking expat.h usability" >&5
23716 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
23717 cat >conftest.
$ac_ext <<_ACEOF
23720 cat confdefs.h
>>conftest.
$ac_ext
23721 cat >>conftest.
$ac_ext <<_ACEOF
23722 /* end confdefs.h. */
23723 $ac_includes_default
23726 rm -f conftest.
$ac_objext
23727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23728 (eval $ac_compile) 2>conftest.er1
23730 grep -v '^ *+' conftest.er1
>conftest.err
23732 cat conftest.err
>&5
23733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734 (exit $ac_status); } &&
23735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23737 (eval $ac_try) 2>&5
23739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23740 (exit $ac_status); }; } &&
23741 { ac_try
='test -s conftest.$ac_objext'
23742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23743 (eval $ac_try) 2>&5
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); }; }; then
23747 ac_header_compiler
=yes
23749 echo "$as_me: failed program was:" >&5
23750 sed 's/^/| /' conftest.
$ac_ext >&5
23752 ac_header_compiler
=no
23754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23755 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23756 echo "${ECHO_T}$ac_header_compiler" >&6
23758 # Is the header present?
23759 echo "$as_me:$LINENO: checking expat.h presence" >&5
23760 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
23761 cat >conftest.
$ac_ext <<_ACEOF
23764 cat confdefs.h
>>conftest.
$ac_ext
23765 cat >>conftest.
$ac_ext <<_ACEOF
23766 /* end confdefs.h. */
23769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23770 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23772 grep -v '^ *+' conftest.er1
>conftest.err
23774 cat conftest.err
>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } >/dev
/null
; then
23777 if test -s conftest.err
; then
23778 ac_cpp_err
=$ac_c_preproc_warn_flag
23779 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23786 if test -z "$ac_cpp_err"; then
23787 ac_header_preproc
=yes
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.
$ac_ext >&5
23792 ac_header_preproc
=no
23794 rm -f conftest.err conftest.
$ac_ext
23795 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23796 echo "${ECHO_T}$ac_header_preproc" >&6
23798 # So? What about this header?
23799 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23801 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
23802 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23803 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
23804 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
23805 ac_header_preproc
=yes
23808 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
23809 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
23810 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
23811 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
23812 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
23813 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
23814 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
23815 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
23816 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
23817 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
23818 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
23819 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
23822 ## ----------------------------------------- ##
23823 ## Report this to wx-dev@lists.wxwidgets.org ##
23824 ## ----------------------------------------- ##
23827 sed "s/^/$as_me: WARNING: /" >&2
23830 echo "$as_me:$LINENO: checking for expat.h" >&5
23831 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
23832 if test "${ac_cv_header_expat_h+set}" = set; then
23833 echo $ECHO_N "(cached) $ECHO_C" >&6
23835 ac_cv_header_expat_h
=$ac_header_preproc
23837 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
23838 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
23841 if test $ac_cv_header_expat_h = yes; then
23846 if test "x$found_expat_h" = "x1"; then
23847 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
23848 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
23849 if test "${wx_cv_expat_is_not_broken+set}" = set; then
23850 echo $ECHO_N "(cached) $ECHO_C" >&6
23856 ac_cpp
='$CXXCPP $CPPFLAGS'
23857 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23861 cat >conftest.
$ac_ext <<_ACEOF
23864 cat confdefs.h
>>conftest.
$ac_ext
23865 cat >>conftest.
$ac_ext <<_ACEOF
23866 /* end confdefs.h. */
23876 rm -f conftest.
$ac_objext
23877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23878 (eval $ac_compile) 2>conftest.er1
23880 grep -v '^ *+' conftest.er1
>conftest.err
23882 cat conftest.err
>&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; } &&
23891 { ac_try
='test -s conftest.$ac_objext'
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; }; then
23897 wx_cv_expat_is_not_broken
=yes
23899 echo "$as_me: failed program was:" >&5
23900 sed 's/^/| /' conftest.
$ac_ext >&5
23902 wx_cv_expat_is_not_broken
=no
23905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23907 ac_cpp
='$CPP $CPPFLAGS'
23908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23915 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
23916 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
23917 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23918 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
23919 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
23920 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
23921 echo $ECHO_N "(cached) $ECHO_C" >&6
23923 ac_check_lib_save_LIBS
=$LIBS
23924 LIBS
="-lexpat $LIBS"
23925 cat >conftest.
$ac_ext <<_ACEOF
23928 cat confdefs.h
>>conftest.
$ac_ext
23929 cat >>conftest.
$ac_ext <<_ACEOF
23930 /* end confdefs.h. */
23932 /* Override any gcc2 internal prototype to avoid an error. */
23936 /* We use char because int might match the return type of a gcc2
23937 builtin and then its argument prototype would still apply. */
23938 char XML_ParserCreate ();
23942 XML_ParserCreate ();
23947 rm -f conftest.
$ac_objext conftest
$ac_exeext
23948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23949 (eval $ac_link) 2>conftest.er1
23951 grep -v '^ *+' conftest.er1
>conftest.err
23953 cat conftest.err
>&5
23954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23955 (exit $ac_status); } &&
23956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23958 (eval $ac_try) 2>&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); }; } &&
23962 { ac_try
='test -s conftest$ac_exeext'
23963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23964 (eval $ac_try) 2>&5
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); }; }; then
23968 ac_cv_lib_expat_XML_ParserCreate
=yes
23970 echo "$as_me: failed program was:" >&5
23971 sed 's/^/| /' conftest.
$ac_ext >&5
23973 ac_cv_lib_expat_XML_ParserCreate
=no
23975 rm -f conftest.err conftest.
$ac_objext \
23976 conftest
$ac_exeext conftest.
$ac_ext
23977 LIBS
=$ac_check_lib_save_LIBS
23979 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23980 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
23981 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
23982 EXPAT_LINK
=" -lexpat"
23987 if test "x$EXPAT_LINK" = "x" ; then
23988 if test "$wxUSE_EXPAT" = "sys" ; then
23989 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
23990 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
23991 { (exit 1); exit 1; }; }
23993 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
23994 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23995 wxUSE_EXPAT
=builtin
24001 if test "$wxUSE_EXPAT" = "builtin" ; then
24004 subdirs
="$subdirs src/expat"
24011 if test "$wxUSE_LIBMSPACK" != "no"; then
24012 if test "${ac_cv_header_mspack_h+set}" = set; then
24013 echo "$as_me:$LINENO: checking for mspack.h" >&5
24014 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24015 if test "${ac_cv_header_mspack_h+set}" = set; then
24016 echo $ECHO_N "(cached) $ECHO_C" >&6
24018 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24019 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24021 # Is the header compilable?
24022 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24023 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24024 cat >conftest.
$ac_ext <<_ACEOF
24027 cat confdefs.h
>>conftest.
$ac_ext
24028 cat >>conftest.
$ac_ext <<_ACEOF
24029 /* end confdefs.h. */
24030 $ac_includes_default
24031 #include <mspack.h>
24033 rm -f conftest.
$ac_objext
24034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24035 (eval $ac_compile) 2>conftest.er1
24037 grep -v '^ *+' conftest.er1
>conftest.err
24039 cat conftest.err
>&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); } &&
24042 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24044 (eval $ac_try) 2>&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); }; } &&
24048 { ac_try
='test -s conftest.$ac_objext'
24049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24050 (eval $ac_try) 2>&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); }; }; then
24054 ac_header_compiler
=yes
24056 echo "$as_me: failed program was:" >&5
24057 sed 's/^/| /' conftest.
$ac_ext >&5
24059 ac_header_compiler
=no
24061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24063 echo "${ECHO_T}$ac_header_compiler" >&6
24065 # Is the header present?
24066 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24067 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24068 cat >conftest.
$ac_ext <<_ACEOF
24071 cat confdefs.h
>>conftest.
$ac_ext
24072 cat >>conftest.
$ac_ext <<_ACEOF
24073 /* end confdefs.h. */
24074 #include <mspack.h>
24076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24079 grep -v '^ *+' conftest.er1
>conftest.err
24081 cat conftest.err
>&5
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); } >/dev
/null
; then
24084 if test -s conftest.err
; then
24085 ac_cpp_err
=$ac_c_preproc_warn_flag
24086 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24093 if test -z "$ac_cpp_err"; then
24094 ac_header_preproc
=yes
24096 echo "$as_me: failed program was:" >&5
24097 sed 's/^/| /' conftest.
$ac_ext >&5
24099 ac_header_preproc
=no
24101 rm -f conftest.err conftest.
$ac_ext
24102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24103 echo "${ECHO_T}$ac_header_preproc" >&6
24105 # So? What about this header?
24106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24108 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24109 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24110 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24111 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24112 ac_header_preproc
=yes
24115 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24116 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24117 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24118 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24119 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24120 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24121 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24122 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24123 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24124 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24125 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24126 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24129 ## ----------------------------------------- ##
24130 ## Report this to wx-dev@lists.wxwidgets.org ##
24131 ## ----------------------------------------- ##
24134 sed "s/^/$as_me: WARNING: /" >&2
24137 echo "$as_me:$LINENO: checking for mspack.h" >&5
24138 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24139 if test "${ac_cv_header_mspack_h+set}" = set; then
24140 echo $ECHO_N "(cached) $ECHO_C" >&6
24142 ac_cv_header_mspack_h
=$ac_header_preproc
24144 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24145 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24148 if test $ac_cv_header_mspack_h = yes; then
24153 if test "x$found_mspack_h" = "x1"; then
24154 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24155 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24156 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24157 echo $ECHO_N "(cached) $ECHO_C" >&6
24159 ac_check_lib_save_LIBS
=$LIBS
24160 LIBS
="-lmspack $LIBS"
24161 cat >conftest.
$ac_ext <<_ACEOF
24164 cat confdefs.h
>>conftest.
$ac_ext
24165 cat >>conftest.
$ac_ext <<_ACEOF
24166 /* end confdefs.h. */
24168 /* Override any gcc2 internal prototype to avoid an error. */
24172 /* We use char because int might match the return type of a gcc2
24173 builtin and then its argument prototype would still apply. */
24174 char mspack_create_chm_decompressor ();
24178 mspack_create_chm_decompressor ();
24183 rm -f conftest.
$ac_objext conftest
$ac_exeext
24184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24185 (eval $ac_link) 2>conftest.er1
24187 grep -v '^ *+' conftest.er1
>conftest.err
24189 cat conftest.err
>&5
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); } &&
24192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24194 (eval $ac_try) 2>&5
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); }; } &&
24198 { ac_try
='test -s conftest$ac_exeext'
24199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24200 (eval $ac_try) 2>&5
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); }; }; then
24204 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24206 echo "$as_me: failed program was:" >&5
24207 sed 's/^/| /' conftest.
$ac_ext >&5
24209 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24211 rm -f conftest.err conftest.
$ac_objext \
24212 conftest
$ac_exeext conftest.
$ac_ext
24213 LIBS
=$ac_check_lib_save_LIBS
24215 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24216 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24217 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24218 MSPACK_LINK
=" -lmspack"
24222 if test "x$MSPACK_LINK" = "x" ; then
24227 if test "$wxUSE_LIBMSPACK" != "no"; then
24228 cat >>confdefs.h
<<\_ACEOF
24229 #define wxUSE_LIBMSPACK 1
24243 if test "$USE_WIN32" = 1 ; then
24245 for ac_header
in w32api.h
24247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24249 echo "$as_me:$LINENO: checking for $ac_header" >&5
24250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24252 echo $ECHO_N "(cached) $ECHO_C" >&6
24254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24257 # Is the header compilable?
24258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24260 cat >conftest.
$ac_ext <<_ACEOF
24263 cat confdefs.h
>>conftest.
$ac_ext
24264 cat >>conftest.
$ac_ext <<_ACEOF
24265 /* end confdefs.h. */
24266 $ac_includes_default
24267 #include <$ac_header>
24269 rm -f conftest.
$ac_objext
24270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24271 (eval $ac_compile) 2>conftest.er1
24273 grep -v '^ *+' conftest.er1
>conftest.err
24275 cat conftest.err
>&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } &&
24278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24280 (eval $ac_try) 2>&5
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); }; } &&
24284 { ac_try
='test -s conftest.$ac_objext'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; }; then
24290 ac_header_compiler
=yes
24292 echo "$as_me: failed program was:" >&5
24293 sed 's/^/| /' conftest.
$ac_ext >&5
24295 ac_header_compiler
=no
24297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24299 echo "${ECHO_T}$ac_header_compiler" >&6
24301 # Is the header present?
24302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24304 cat >conftest.
$ac_ext <<_ACEOF
24307 cat confdefs.h
>>conftest.
$ac_ext
24308 cat >>conftest.
$ac_ext <<_ACEOF
24309 /* end confdefs.h. */
24310 #include <$ac_header>
24312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24315 grep -v '^ *+' conftest.er1
>conftest.err
24317 cat conftest.err
>&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } >/dev
/null
; then
24320 if test -s conftest.err
; then
24321 ac_cpp_err
=$ac_c_preproc_warn_flag
24322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24329 if test -z "$ac_cpp_err"; then
24330 ac_header_preproc
=yes
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.
$ac_ext >&5
24335 ac_header_preproc
=no
24337 rm -f conftest.err conftest.
$ac_ext
24338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24339 echo "${ECHO_T}$ac_header_preproc" >&6
24341 # So? What about this header?
24342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24348 ac_header_preproc
=yes
24351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24365 ## ----------------------------------------- ##
24366 ## Report this to wx-dev@lists.wxwidgets.org ##
24367 ## ----------------------------------------- ##
24370 sed "s/^/$as_me: WARNING: /" >&2
24373 echo "$as_me:$LINENO: checking for $ac_header" >&5
24374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24376 echo $ECHO_N "(cached) $ECHO_C" >&6
24378 eval "$as_ac_Header=\$ac_header_preproc"
24380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24385 cat >>confdefs.h
<<_ACEOF
24386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24393 if test "${ac_cv_header_windows_h+set}" = set; then
24394 echo "$as_me:$LINENO: checking for windows.h" >&5
24395 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24396 if test "${ac_cv_header_windows_h+set}" = set; then
24397 echo $ECHO_N "(cached) $ECHO_C" >&6
24399 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24400 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24402 # Is the header compilable?
24403 echo "$as_me:$LINENO: checking windows.h usability" >&5
24404 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24405 cat >conftest.
$ac_ext <<_ACEOF
24408 cat confdefs.h
>>conftest.
$ac_ext
24409 cat >>conftest.
$ac_ext <<_ACEOF
24410 /* end confdefs.h. */
24411 $ac_includes_default
24412 #include <windows.h>
24414 rm -f conftest.
$ac_objext
24415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24416 (eval $ac_compile) 2>conftest.er1
24418 grep -v '^ *+' conftest.er1
>conftest.err
24420 cat conftest.err
>&5
24421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24422 (exit $ac_status); } &&
24423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24425 (eval $ac_try) 2>&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); }; } &&
24429 { ac_try
='test -s conftest.$ac_objext'
24430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24431 (eval $ac_try) 2>&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); }; }; then
24435 ac_header_compiler
=yes
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.
$ac_ext >&5
24440 ac_header_compiler
=no
24442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24443 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24444 echo "${ECHO_T}$ac_header_compiler" >&6
24446 # Is the header present?
24447 echo "$as_me:$LINENO: checking windows.h presence" >&5
24448 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24449 cat >conftest.
$ac_ext <<_ACEOF
24452 cat confdefs.h
>>conftest.
$ac_ext
24453 cat >>conftest.
$ac_ext <<_ACEOF
24454 /* end confdefs.h. */
24455 #include <windows.h>
24457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24460 grep -v '^ *+' conftest.er1
>conftest.err
24462 cat conftest.err
>&5
24463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464 (exit $ac_status); } >/dev
/null
; then
24465 if test -s conftest.err
; then
24466 ac_cpp_err
=$ac_c_preproc_warn_flag
24467 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24474 if test -z "$ac_cpp_err"; then
24475 ac_header_preproc
=yes
24477 echo "$as_me: failed program was:" >&5
24478 sed 's/^/| /' conftest.
$ac_ext >&5
24480 ac_header_preproc
=no
24482 rm -f conftest.err conftest.
$ac_ext
24483 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24484 echo "${ECHO_T}$ac_header_preproc" >&6
24486 # So? What about this header?
24487 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24489 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24490 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24491 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24492 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24493 ac_header_preproc
=yes
24496 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24497 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24498 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24499 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24500 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24501 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24502 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24503 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24504 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24505 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24506 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24507 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24510 ## ----------------------------------------- ##
24511 ## Report this to wx-dev@lists.wxwidgets.org ##
24512 ## ----------------------------------------- ##
24515 sed "s/^/$as_me: WARNING: /" >&2
24518 echo "$as_me:$LINENO: checking for windows.h" >&5
24519 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24520 if test "${ac_cv_header_windows_h+set}" = set; then
24521 echo $ECHO_N "(cached) $ECHO_C" >&6
24523 ac_cv_header_windows_h
=$ac_header_preproc
24525 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24526 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24529 if test $ac_cv_header_windows_h = yes; then
24533 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24534 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24535 { (exit 1); exit 1; }; }
24541 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24543 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24544 LIBS
="$LIBS -loleacc"
24549 LIBS
="$LIBS -lkernel32 -luser32"
24550 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24553 if test "$wxUSE_ODBC" = "sys" ; then
24556 if test "$wxUSE_ODBC" = "yes" ; then
24557 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24558 cat >>confdefs.h
<<\_ACEOF
24559 #define wxUSE_ODBC 1
24564 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24565 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24567 WIN32INSTALL
=win32install
24570 if test "$wxUSE_GUI" = "yes"; then
24580 if test "$wxUSE_COCOA" = 1 ; then
24581 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24582 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24583 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24584 wxUSE_PRINTING_ARCHITECTURE
=no
24586 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24587 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
24588 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
24589 wxUSE_DRAG_AND_DROP
=no
24591 if test "$wxUSE_DRAGIMAGE" = "yes"; then
24592 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
24593 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
24598 if test "$wxUSE_MSW" = 1 ; then
24604 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
24608 if test "$wxUSE_GTK" = 1; then
24609 echo "$as_me:$LINENO: checking for GTK+ version" >&5
24610 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
24612 gtk_version_cached
=1
24613 if test "${wx_cv_lib_gtk+set}" = set; then
24614 echo $ECHO_N "(cached) $ECHO_C" >&6
24617 gtk_version_cached
=0
24618 echo "$as_me:$LINENO: result: " >&5
24619 echo "${ECHO_T}" >&6
24622 if test "$wxUSE_THREADS" = "yes"; then
24623 GTK_MODULES
=gthread
24627 if test "x$wxGTK_VERSION" != "x1"; then
24628 # Check whether --enable-gtktest or --disable-gtktest was given.
24629 if test "${enable_gtktest+set}" = set; then
24630 enableval
="$enable_gtktest"
24636 pkg_config_args
=gtk
+-2.0
24637 for module
in .
$GTK_MODULES
24641 pkg_config_args
="$pkg_config_args gthread-2.0"
24648 # Extract the first word of "pkg-config", so it can be a program name with args.
24649 set dummy pkg
-config; ac_word
=$2
24650 echo "$as_me:$LINENO: checking for $ac_word" >&5
24651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24652 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24653 echo $ECHO_N "(cached) $ECHO_C" >&6
24655 case $PKG_CONFIG in
24657 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24661 for as_dir
in $PATH
24664 test -z "$as_dir" && as_dir
=.
24665 for ac_exec_ext
in '' $ac_executable_extensions; do
24666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24667 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24674 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24678 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24680 if test -n "$PKG_CONFIG"; then
24681 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24682 echo "${ECHO_T}$PKG_CONFIG" >&6
24684 echo "$as_me:$LINENO: result: no" >&5
24685 echo "${ECHO_T}no" >&6
24689 if test x
$PKG_CONFIG != xno
; then
24690 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
24693 echo "*** pkg-config too old; version 0.7 or better required."
24701 min_gtk_version
=2.0.0
24702 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
24703 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
24705 if test x
$PKG_CONFIG != xno
; then
24706 ## don't try to run the test against uninstalled libtool libs
24707 if $PKG_CONFIG --uninstalled $pkg_config_args; then
24708 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
24712 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
24719 if test x
"$no_gtk" = x
; then
24720 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
24721 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
24722 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24723 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24724 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24725 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24726 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
24727 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24728 if test "x$enable_gtktest" = "xyes" ; then
24729 ac_save_CFLAGS
="$CFLAGS"
24730 ac_save_LIBS
="$LIBS"
24731 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24732 LIBS
="$GTK_LIBS $LIBS"
24734 if test "$cross_compiling" = yes; then
24735 echo $ac_n "cross compiling; assumed OK... $ac_c"
24737 cat >conftest.
$ac_ext <<_ACEOF
24740 cat confdefs.h
>>conftest.
$ac_ext
24741 cat >>conftest.
$ac_ext <<_ACEOF
24742 /* end confdefs.h. */
24744 #include <gtk/gtk.h>
24746 #include <stdlib.h>
24751 int major, minor, micro;
24754 system ("touch conf.gtktest");
24756 /* HP/UX 9 (%@#!) writes to sscanf strings */
24757 tmp_version = g_strdup("$min_gtk_version");
24758 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24759 printf("%s, bad version string\n", "$min_gtk_version");
24763 if ((gtk_major_version != $gtk_config_major_version) ||
24764 (gtk_minor_version != $gtk_config_minor_version) ||
24765 (gtk_micro_version != $gtk_config_micro_version))
24767 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24768 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24769 gtk_major_version, gtk_minor_version, gtk_micro_version);
24770 printf ("*** was found! If pkg-config was correct, then it is best\n");
24771 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24772 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
24773 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24774 printf("*** required on your system.\n");
24775 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
24776 printf("*** to point to the correct configuration files\n");
24778 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24779 (gtk_minor_version != GTK_MINOR_VERSION) ||
24780 (gtk_micro_version != GTK_MICRO_VERSION))
24782 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24783 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24784 printf("*** library (version %d.%d.%d)\n",
24785 gtk_major_version, gtk_minor_version, gtk_micro_version);
24789 if ((gtk_major_version > major) ||
24790 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24791 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24797 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24798 gtk_major_version, gtk_minor_version, gtk_micro_version);
24799 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24800 major, minor, micro);
24801 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24803 printf("*** If you have already installed a sufficiently new version, this error\n");
24804 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
24805 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24806 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
24807 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
24808 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
24809 printf("*** so that the correct libraries are found at run-time))\n");
24816 rm -f conftest
$ac_exeext
24817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24818 (eval $ac_link) 2>&5
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24823 (eval $ac_try) 2>&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); }; }; then
24829 echo "$as_me: program exited with status $ac_status" >&5
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.
$ac_ext >&5
24833 ( exit $ac_status )
24836 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24838 CFLAGS
="$ac_save_CFLAGS"
24839 LIBS
="$ac_save_LIBS"
24842 if test "x$no_gtk" = x
; then
24843 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
24844 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
24847 echo "$as_me:$LINENO: result: no" >&5
24848 echo "${ECHO_T}no" >&6
24849 if test "$PKG_CONFIG" = "no" ; then
24850 echo "*** A new enough version of pkg-config was not found."
24851 echo "*** See http://pkgconfig.sourceforge.net"
24853 if test -f conf.gtktest
; then
24856 echo "*** Could not run GTK+ test program, checking why..."
24857 ac_save_CFLAGS
="$CFLAGS"
24858 ac_save_LIBS
="$LIBS"
24859 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24860 LIBS
="$LIBS $GTK_LIBS"
24861 cat >conftest.
$ac_ext <<_ACEOF
24864 cat confdefs.h
>>conftest.
$ac_ext
24865 cat >>conftest.
$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24868 #include <gtk/gtk.h>
24874 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24879 rm -f conftest.
$ac_objext conftest
$ac_exeext
24880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24881 (eval $ac_link) 2>conftest.er1
24883 grep -v '^ *+' conftest.er1
>conftest.err
24885 cat conftest.err
>&5
24886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24887 (exit $ac_status); } &&
24888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24890 (eval $ac_try) 2>&5
24892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893 (exit $ac_status); }; } &&
24894 { ac_try
='test -s conftest$ac_exeext'
24895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24896 (eval $ac_try) 2>&5
24898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24899 (exit $ac_status); }; }; then
24900 echo "*** The test program compiled, but did not run. This usually means"
24901 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
24902 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
24903 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24904 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24905 echo "*** is required on your system"
24907 echo "*** If you have an old version installed, it is best to remove it, although"
24908 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24910 echo "$as_me: failed program was:" >&5
24911 sed 's/^/| /' conftest.
$ac_ext >&5
24913 echo "*** The test program failed to compile or link. See the file config.log for the"
24914 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
24916 rm -f conftest.err conftest.
$ac_objext \
24917 conftest
$ac_exeext conftest.
$ac_ext
24918 CFLAGS
="$ac_save_CFLAGS"
24919 LIBS
="$ac_save_LIBS"
24932 if test -z "$wx_cv_lib_gtk"; then
24933 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
24935 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
24936 if test "${with_gtk_prefix+set}" = set; then
24937 withval
="$with_gtk_prefix"
24938 gtk_config_prefix
="$withval"
24940 gtk_config_prefix
=""
24943 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
24944 if test "${with_gtk_exec_prefix+set}" = set; then
24945 withval
="$with_gtk_exec_prefix"
24946 gtk_config_exec_prefix
="$withval"
24948 gtk_config_exec_prefix
=""
24950 # Check whether --enable-gtktest or --disable-gtktest was given.
24951 if test "${enable_gtktest+set}" = set; then
24952 enableval
="$enable_gtktest"
24958 for module
in .
$GTK_MODULES
24962 gtk_config_args
="$gtk_config_args gthread"
24967 if test x
$gtk_config_exec_prefix != x
; then
24968 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24969 if test x
${GTK_CONFIG+set} != xset
; then
24970 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24973 if test x
$gtk_config_prefix != x
; then
24974 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24975 if test x
${GTK_CONFIG+set} != xset
; then
24976 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24980 # Extract the first word of "gtk-config", so it can be a program name with args.
24981 set dummy gtk
-config; ac_word
=$2
24982 echo "$as_me:$LINENO: checking for $ac_word" >&5
24983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24984 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
24985 echo $ECHO_N "(cached) $ECHO_C" >&6
24987 case $GTK_CONFIG in
24989 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24993 for as_dir
in $PATH
24996 test -z "$as_dir" && as_dir
=.
24997 for ac_exec_ext
in '' $ac_executable_extensions; do
24998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24999 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25006 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25010 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25012 if test -n "$GTK_CONFIG"; then
25013 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25014 echo "${ECHO_T}$GTK_CONFIG" >&6
25016 echo "$as_me:$LINENO: result: no" >&5
25017 echo "${ECHO_T}no" >&6
25020 min_gtk_version
=1.2.7
25021 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25022 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25024 if test "$GTK_CONFIG" = "no" ; then
25027 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25028 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25029 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25031 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25033 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25035 if test "x$enable_gtktest" = "xyes" ; then
25036 ac_save_CFLAGS
="$CFLAGS"
25037 ac_save_LIBS
="$LIBS"
25038 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25039 LIBS
="$GTK_LIBS $LIBS"
25041 if test "$cross_compiling" = yes; then
25042 echo $ac_n "cross compiling; assumed OK... $ac_c"
25044 cat >conftest.
$ac_ext <<_ACEOF
25047 cat confdefs.h
>>conftest.
$ac_ext
25048 cat >>conftest.
$ac_ext <<_ACEOF
25049 /* end confdefs.h. */
25051 #include <gtk/gtk.h>
25053 #include <stdlib.h>
25058 int major, minor, micro;
25061 system ("touch conf.gtktest");
25063 /* HP/UX 9 (%@#!) writes to sscanf strings */
25064 tmp_version = g_strdup("$min_gtk_version");
25065 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25066 printf("%s, bad version string\n", "$min_gtk_version");
25070 if ((gtk_major_version != $gtk_config_major_version) ||
25071 (gtk_minor_version != $gtk_config_minor_version) ||
25072 (gtk_micro_version != $gtk_config_micro_version))
25074 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25075 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25076 gtk_major_version, gtk_minor_version, gtk_micro_version);
25077 printf ("*** was found! If gtk-config was correct, then it is best\n");
25078 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25079 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25080 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25081 printf("*** required on your system.\n");
25082 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25083 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25084 printf("*** before re-running configure\n");
25086 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25087 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25088 (gtk_minor_version != GTK_MINOR_VERSION) ||
25089 (gtk_micro_version != GTK_MICRO_VERSION))
25091 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25092 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25093 printf("*** library (version %d.%d.%d)\n",
25094 gtk_major_version, gtk_minor_version, gtk_micro_version);
25096 #endif /* defined (GTK_MAJOR_VERSION) ... */
25099 if ((gtk_major_version > major) ||
25100 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25101 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25107 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25108 gtk_major_version, gtk_minor_version, gtk_micro_version);
25109 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25110 major, minor, micro);
25111 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25113 printf("*** If you have already installed a sufficiently new version, this error\n");
25114 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25115 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25116 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25117 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25118 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25119 printf("*** so that the correct libraries are found at run-time))\n");
25126 rm -f conftest
$ac_exeext
25127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25128 (eval $ac_link) 2>&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25133 (eval $ac_try) 2>&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); }; }; then
25139 echo "$as_me: program exited with status $ac_status" >&5
25140 echo "$as_me: failed program was:" >&5
25141 sed 's/^/| /' conftest.
$ac_ext >&5
25143 ( exit $ac_status )
25146 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25148 CFLAGS
="$ac_save_CFLAGS"
25149 LIBS
="$ac_save_LIBS"
25152 if test "x$no_gtk" = x
; then
25153 echo "$as_me:$LINENO: result: yes" >&5
25154 echo "${ECHO_T}yes" >&6
25155 wx_cv_lib_gtk
=1.2.7
25157 echo "$as_me:$LINENO: result: no" >&5
25158 echo "${ECHO_T}no" >&6
25159 if test "$GTK_CONFIG" = "no" ; then
25160 echo "*** The gtk-config script installed by GTK could not be found"
25161 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25162 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25163 echo "*** full path to gtk-config."
25165 if test -f conf.gtktest
; then
25168 echo "*** Could not run GTK test program, checking why..."
25169 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25170 LIBS
="$LIBS $GTK_LIBS"
25171 cat >conftest.
$ac_ext <<_ACEOF
25174 cat confdefs.h
>>conftest.
$ac_ext
25175 cat >>conftest.
$ac_ext <<_ACEOF
25176 /* end confdefs.h. */
25178 #include <gtk/gtk.h>
25184 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25189 rm -f conftest.
$ac_objext conftest
$ac_exeext
25190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25191 (eval $ac_link) 2>conftest.er1
25193 grep -v '^ *+' conftest.er1
>conftest.err
25195 cat conftest.err
>&5
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); } &&
25198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25200 (eval $ac_try) 2>&5
25202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203 (exit $ac_status); }; } &&
25204 { ac_try
='test -s conftest$ac_exeext'
25205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25206 (eval $ac_try) 2>&5
25208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25209 (exit $ac_status); }; }; then
25210 echo "*** The test program compiled, but did not run. This usually means"
25211 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25212 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25213 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25214 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25215 echo "*** is required on your system"
25217 echo "*** If you have an old version installed, it is best to remove it, although"
25218 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25220 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25221 echo "*** came with the system with the command"
25223 echo "*** rpm --erase --nodeps gtk gtk-devel"
25225 echo "$as_me: failed program was:" >&5
25226 sed 's/^/| /' conftest.
$ac_ext >&5
25228 echo "*** The test program failed to compile or link. See the file config.log for the"
25229 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25230 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25231 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25233 rm -f conftest.err conftest.
$ac_objext \
25234 conftest
$ac_exeext conftest.
$ac_ext
25235 CFLAGS
="$ac_save_CFLAGS"
25236 LIBS
="$ac_save_LIBS"
25248 if test -z "$wx_cv_lib_gtk"; then
25250 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25251 if test "${with_gtk_prefix+set}" = set; then
25252 withval
="$with_gtk_prefix"
25253 gtk_config_prefix
="$withval"
25255 gtk_config_prefix
=""
25258 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25259 if test "${with_gtk_exec_prefix+set}" = set; then
25260 withval
="$with_gtk_exec_prefix"
25261 gtk_config_exec_prefix
="$withval"
25263 gtk_config_exec_prefix
=""
25265 # Check whether --enable-gtktest or --disable-gtktest was given.
25266 if test "${enable_gtktest+set}" = set; then
25267 enableval
="$enable_gtktest"
25273 for module
in .
$GTK_MODULES
25277 gtk_config_args
="$gtk_config_args gthread"
25282 if test x
$gtk_config_exec_prefix != x
; then
25283 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25284 if test x
${GTK_CONFIG+set} != xset
; then
25285 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25288 if test x
$gtk_config_prefix != x
; then
25289 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25290 if test x
${GTK_CONFIG+set} != xset
; then
25291 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25295 # Extract the first word of "gtk-config", so it can be a program name with args.
25296 set dummy gtk
-config; ac_word
=$2
25297 echo "$as_me:$LINENO: checking for $ac_word" >&5
25298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25299 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25300 echo $ECHO_N "(cached) $ECHO_C" >&6
25302 case $GTK_CONFIG in
25304 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25308 for as_dir
in $PATH
25311 test -z "$as_dir" && as_dir
=.
25312 for ac_exec_ext
in '' $ac_executable_extensions; do
25313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25314 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25321 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25325 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25327 if test -n "$GTK_CONFIG"; then
25328 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25329 echo "${ECHO_T}$GTK_CONFIG" >&6
25331 echo "$as_me:$LINENO: result: no" >&5
25332 echo "${ECHO_T}no" >&6
25335 min_gtk_version
=1.2.3
25336 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25337 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25339 if test "$GTK_CONFIG" = "no" ; then
25342 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25343 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25344 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25346 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25348 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25350 if test "x$enable_gtktest" = "xyes" ; then
25351 ac_save_CFLAGS
="$CFLAGS"
25352 ac_save_LIBS
="$LIBS"
25353 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25354 LIBS
="$GTK_LIBS $LIBS"
25356 if test "$cross_compiling" = yes; then
25357 echo $ac_n "cross compiling; assumed OK... $ac_c"
25359 cat >conftest.
$ac_ext <<_ACEOF
25362 cat confdefs.h
>>conftest.
$ac_ext
25363 cat >>conftest.
$ac_ext <<_ACEOF
25364 /* end confdefs.h. */
25366 #include <gtk/gtk.h>
25368 #include <stdlib.h>
25373 int major, minor, micro;
25376 system ("touch conf.gtktest");
25378 /* HP/UX 9 (%@#!) writes to sscanf strings */
25379 tmp_version = g_strdup("$min_gtk_version");
25380 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25381 printf("%s, bad version string\n", "$min_gtk_version");
25385 if ((gtk_major_version != $gtk_config_major_version) ||
25386 (gtk_minor_version != $gtk_config_minor_version) ||
25387 (gtk_micro_version != $gtk_config_micro_version))
25389 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25390 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25391 gtk_major_version, gtk_minor_version, gtk_micro_version);
25392 printf ("*** was found! If gtk-config was correct, then it is best\n");
25393 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25394 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25395 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25396 printf("*** required on your system.\n");
25397 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25398 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25399 printf("*** before re-running configure\n");
25401 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25402 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25403 (gtk_minor_version != GTK_MINOR_VERSION) ||
25404 (gtk_micro_version != GTK_MICRO_VERSION))
25406 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25407 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25408 printf("*** library (version %d.%d.%d)\n",
25409 gtk_major_version, gtk_minor_version, gtk_micro_version);
25411 #endif /* defined (GTK_MAJOR_VERSION) ... */
25414 if ((gtk_major_version > major) ||
25415 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25416 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25422 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25423 gtk_major_version, gtk_minor_version, gtk_micro_version);
25424 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25425 major, minor, micro);
25426 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25428 printf("*** If you have already installed a sufficiently new version, this error\n");
25429 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25430 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25431 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25432 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25433 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25434 printf("*** so that the correct libraries are found at run-time))\n");
25441 rm -f conftest
$ac_exeext
25442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25443 (eval $ac_link) 2>&5
25445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25446 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25448 (eval $ac_try) 2>&5
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); }; }; then
25454 echo "$as_me: program exited with status $ac_status" >&5
25455 echo "$as_me: failed program was:" >&5
25456 sed 's/^/| /' conftest.
$ac_ext >&5
25458 ( exit $ac_status )
25461 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25463 CFLAGS
="$ac_save_CFLAGS"
25464 LIBS
="$ac_save_LIBS"
25467 if test "x$no_gtk" = x
; then
25468 echo "$as_me:$LINENO: result: yes" >&5
25469 echo "${ECHO_T}yes" >&6
25470 wx_cv_lib_gtk
=1.2.3
25472 echo "$as_me:$LINENO: result: no" >&5
25473 echo "${ECHO_T}no" >&6
25474 if test "$GTK_CONFIG" = "no" ; then
25475 echo "*** The gtk-config script installed by GTK could not be found"
25476 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25477 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25478 echo "*** full path to gtk-config."
25480 if test -f conf.gtktest
; then
25483 echo "*** Could not run GTK test program, checking why..."
25484 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25485 LIBS
="$LIBS $GTK_LIBS"
25486 cat >conftest.
$ac_ext <<_ACEOF
25489 cat confdefs.h
>>conftest.
$ac_ext
25490 cat >>conftest.
$ac_ext <<_ACEOF
25491 /* end confdefs.h. */
25493 #include <gtk/gtk.h>
25499 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25504 rm -f conftest.
$ac_objext conftest
$ac_exeext
25505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25506 (eval $ac_link) 2>conftest.er1
25508 grep -v '^ *+' conftest.er1
>conftest.err
25510 cat conftest.err
>&5
25511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25512 (exit $ac_status); } &&
25513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25515 (eval $ac_try) 2>&5
25517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25518 (exit $ac_status); }; } &&
25519 { ac_try
='test -s conftest$ac_exeext'
25520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25521 (eval $ac_try) 2>&5
25523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25524 (exit $ac_status); }; }; then
25525 echo "*** The test program compiled, but did not run. This usually means"
25526 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25527 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25528 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25529 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25530 echo "*** is required on your system"
25532 echo "*** If you have an old version installed, it is best to remove it, although"
25533 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25535 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25536 echo "*** came with the system with the command"
25538 echo "*** rpm --erase --nodeps gtk gtk-devel"
25540 echo "$as_me: failed program was:" >&5
25541 sed 's/^/| /' conftest.
$ac_ext >&5
25543 echo "*** The test program failed to compile or link. See the file config.log for the"
25544 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25545 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25546 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
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"
25566 if test -z "$wx_cv_lib_gtk"; then
25569 wx_cv_cflags_gtk
=$GTK_CFLAGS
25570 wx_cv_libs_gtk
=$GTK_LIBS
25577 if test "$gtk_version_cached" = 1; then
25578 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25579 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25582 case "$wx_cv_lib_gtk" in
25591 *) { { echo "$as_me:$LINENO: error:
25592 The development files for GTK+ were not found. For GTK+ 2, please
25593 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25594 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25595 and that the version is 1.2.3 or above. Also check that the
25596 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25597 --libs' are in the LD_LIBRARY_PATH or equivalent.
25599 echo "$as_me: error:
25600 The development files for GTK+ were not found. For GTK+ 2, please
25601 ensure that pkg-config is in the path and that gtk+-2.0.pc is
25602 installed. For GTK+ 1.2 please check that gtk-config is in the path,
25603 and that the version is 1.2.3 or above. Also check that the
25604 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
25605 --libs' are in the LD_LIBRARY_PATH or equivalent.
25607 { (exit 1); exit 1; }; }
25611 if test "$WXGTK20" = 1; then
25612 save_CFLAGS
="$CFLAGS"
25614 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
25615 LIBS
="$LIBS $wx_cv_libs_gtk"
25618 for ac_func
in pango_font_family_is_monospace
25620 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25621 echo "$as_me:$LINENO: checking for $ac_func" >&5
25622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25623 if eval "test \"\${$as_ac_var+set}\" = set"; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25626 cat >conftest.
$ac_ext <<_ACEOF
25629 cat confdefs.h
>>conftest.
$ac_ext
25630 cat >>conftest.
$ac_ext <<_ACEOF
25631 /* end confdefs.h. */
25632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25634 #define $ac_func innocuous_$ac_func
25636 /* System header to define __stub macros and hopefully few prototypes,
25637 which can conflict with char $ac_func (); below.
25638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25639 <limits.h> exists even on freestanding compilers. */
25642 # include <limits.h>
25644 # include <assert.h>
25649 /* Override any gcc2 internal prototype to avoid an error. */
25654 /* We use char because int might match the return type of a gcc2
25655 builtin and then its argument prototype would still apply. */
25657 /* The GNU C library defines this for functions which it implements
25658 to always fail with ENOSYS. Some functions are actually named
25659 something starting with __ and the normal name is an alias. */
25660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25663 char (*f) () = $ac_func;
25672 return f != $ac_func;
25677 rm -f conftest.
$ac_objext conftest
$ac_exeext
25678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25679 (eval $ac_link) 2>conftest.er1
25681 grep -v '^ *+' conftest.er1
>conftest.err
25683 cat conftest.err
>&5
25684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25685 (exit $ac_status); } &&
25686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25688 (eval $ac_try) 2>&5
25690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25691 (exit $ac_status); }; } &&
25692 { ac_try
='test -s conftest$ac_exeext'
25693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25694 (eval $ac_try) 2>&5
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); }; }; then
25698 eval "$as_ac_var=yes"
25700 echo "$as_me: failed program was:" >&5
25701 sed 's/^/| /' conftest.
$ac_ext >&5
25703 eval "$as_ac_var=no"
25705 rm -f conftest.err conftest.
$ac_objext \
25706 conftest
$ac_exeext conftest.
$ac_ext
25708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25710 if test `eval echo '${'$as_ac_var'}'` = yes; then
25711 cat >>confdefs.h
<<_ACEOF
25712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25719 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
25720 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
25721 cat >conftest.
$ac_ext <<_ACEOF
25724 cat confdefs.h
>>conftest.
$ac_ext
25725 cat >>conftest.
$ac_ext <<_ACEOF
25726 /* end confdefs.h. */
25728 #include <gtk/gtk.h>
25734 void *f = gtk_icon_size_lookup;
25740 rm -f conftest.
$ac_objext
25741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25742 (eval $ac_compile) 2>conftest.er1
25744 grep -v '^ *+' conftest.er1
>conftest.err
25746 cat conftest.err
>&5
25747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748 (exit $ac_status); } &&
25749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25751 (eval $ac_try) 2>&5
25753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754 (exit $ac_status); }; } &&
25755 { ac_try
='test -s conftest.$ac_objext'
25756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25757 (eval $ac_try) 2>&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); }; }; then
25762 echo "$as_me:$LINENO: result: no" >&5
25763 echo "${ECHO_T}no" >&6
25766 echo "$as_me: failed program was:" >&5
25767 sed 's/^/| /' conftest.
$ac_ext >&5
25770 cat >>confdefs.h
<<\_ACEOF
25771 #define NEED_GTK_ICON_SIZE_LOOKUP 1
25774 echo "$as_me:$LINENO: result: yes" >&5
25775 echo "${ECHO_T}yes" >&6
25778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25780 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
25781 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
25782 cat >conftest.
$ac_ext <<_ACEOF
25785 cat confdefs.h
>>conftest.
$ac_ext
25786 cat >>conftest.
$ac_ext <<_ACEOF
25787 /* end confdefs.h. */
25789 #include <gtk/gtk.h>
25795 #if !GTK_CHECK_VERSION(2,4,0)
25796 #error "Not GTK+ 2.4"
25803 rm -f conftest.
$ac_objext
25804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25805 (eval $ac_compile) 2>conftest.er1
25807 grep -v '^ *+' conftest.er1
>conftest.err
25809 cat conftest.err
>&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); } &&
25812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25814 (eval $ac_try) 2>&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); }; } &&
25818 { ac_try
='test -s conftest.$ac_objext'
25819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25820 (eval $ac_try) 2>&5
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); }; }; then
25825 cat >>confdefs.h
<<\_ACEOF
25826 #define __WXGTK24__ 1
25829 echo "$as_me:$LINENO: result: yes" >&5
25830 echo "${ECHO_T}yes" >&6
25833 echo "$as_me: failed program was:" >&5
25834 sed 's/^/| /' conftest.
$ac_ext >&5
25837 echo "$as_me:$LINENO: result: no" >&5
25838 echo "${ECHO_T}no" >&6
25841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25843 CFLAGS
="$save_CFLAGS"
25846 if test "$wxUSE_UNICODE" = "yes"; then
25847 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
25848 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
25853 if test "$USE_DARWIN" != 1; then
25855 for ac_func
in poll
25857 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25858 echo "$as_me:$LINENO: checking for $ac_func" >&5
25859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25860 if eval "test \"\${$as_ac_var+set}\" = set"; then
25861 echo $ECHO_N "(cached) $ECHO_C" >&6
25863 cat >conftest.
$ac_ext <<_ACEOF
25866 cat confdefs.h
>>conftest.
$ac_ext
25867 cat >>conftest.
$ac_ext <<_ACEOF
25868 /* end confdefs.h. */
25869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25871 #define $ac_func innocuous_$ac_func
25873 /* System header to define __stub macros and hopefully few prototypes,
25874 which can conflict with char $ac_func (); below.
25875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25876 <limits.h> exists even on freestanding compilers. */
25879 # include <limits.h>
25881 # include <assert.h>
25886 /* Override any gcc2 internal prototype to avoid an error. */
25891 /* We use char because int might match the return type of a gcc2
25892 builtin and then its argument prototype would still apply. */
25894 /* The GNU C library defines this for functions which it implements
25895 to always fail with ENOSYS. Some functions are actually named
25896 something starting with __ and the normal name is an alias. */
25897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25900 char (*f) () = $ac_func;
25909 return f != $ac_func;
25914 rm -f conftest.
$ac_objext conftest
$ac_exeext
25915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25916 (eval $ac_link) 2>conftest.er1
25918 grep -v '^ *+' conftest.er1
>conftest.err
25920 cat conftest.err
>&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); } &&
25923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25925 (eval $ac_try) 2>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); }; } &&
25929 { ac_try
='test -s conftest$ac_exeext'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; }; then
25935 eval "$as_ac_var=yes"
25937 echo "$as_me: failed program was:" >&5
25938 sed 's/^/| /' conftest.
$ac_ext >&5
25940 eval "$as_ac_var=no"
25942 rm -f conftest.err conftest.
$ac_objext \
25943 conftest
$ac_exeext conftest.
$ac_ext
25945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25947 if test `eval echo '${'$as_ac_var'}'` = yes; then
25948 cat >>confdefs.h
<<_ACEOF
25949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25957 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
25958 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
25960 AFMINSTALL
=afminstall
25964 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
25965 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
25966 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
25967 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 ac_check_lib_save_LIBS
=$LIBS
25971 cat >conftest.
$ac_ext <<_ACEOF
25974 cat confdefs.h
>>conftest.
$ac_ext
25975 cat >>conftest.
$ac_ext <<_ACEOF
25976 /* end confdefs.h. */
25978 /* Override any gcc2 internal prototype to avoid an error. */
25982 /* We use char because int might match the return type of a gcc2
25983 builtin and then its argument prototype would still apply. */
25984 char gdk_im_open ();
25993 rm -f conftest.
$ac_objext conftest
$ac_exeext
25994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25995 (eval $ac_link) 2>conftest.er1
25997 grep -v '^ *+' conftest.er1
>conftest.err
25999 cat conftest.err
>&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); } &&
26002 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26004 (eval $ac_try) 2>&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; } &&
26008 { ac_try
='test -s conftest$ac_exeext'
26009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26010 (eval $ac_try) 2>&5
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); }; }; then
26014 ac_cv_lib_gdk_gdk_im_open
=yes
26016 echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.
$ac_ext >&5
26019 ac_cv_lib_gdk_gdk_im_open
=no
26021 rm -f conftest.err conftest.
$ac_objext \
26022 conftest
$ac_exeext conftest.
$ac_ext
26023 LIBS
=$ac_check_lib_save_LIBS
26025 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26026 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26027 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26028 cat >>confdefs.h
<<\_ACEOF
26036 if test "$wxUSE_GPE" = "yes"; then
26037 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26038 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26041 for ac_dir
in $SEARCH_LIB /usr
/lib
;
26043 for ac_extension
in a so sl dylib dll.a
; do
26044 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26045 ac_find_libraries
=$ac_dir
26051 if test "$ac_find_libraries" != "" ; then
26053 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26055 if test $result = 0; then
26058 ac_path_to_link
=" -L$ac_find_libraries"
26061 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26063 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26064 echo "${ECHO_T}found at $ac_find_libraries" >&6
26066 echo "$as_me:$LINENO: result: not found" >&5
26067 echo "${ECHO_T}not found" >&6
26073 if test "$wxUSE_MGL" = 1; then
26074 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26075 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26076 if test "x$MGL_ROOT" = x
; then
26077 echo "$as_me:$LINENO: result: not found" >&5
26078 echo "${ECHO_T}not found" >&6
26079 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26080 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26081 { (exit 1); exit 1; }; }
26083 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26084 echo "${ECHO_T}$MGL_ROOT" >&6
26087 echo "$as_me:$LINENO: checking for libmgl location" >&5
26088 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26091 if test "x$wxUSE_SHARED" = xyes
; then
26092 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26094 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26098 mgl_os_candidates
="dos32/dj2"
26101 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26102 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26103 { (exit 1); exit 1; }; }
26109 for mgl_os_i
in $mgl_os_candidates ; do
26110 if test "x$mgl_os" = x
; then
26111 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26112 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
26113 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
26118 if test "x$mgl_lib_type" = x
; then
26119 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
26120 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
26121 mgl_lib_type
=release
26128 if test "x$mgl_os" = x
; then
26129 echo "$as_me:$LINENO: result: not found" >&5
26130 echo "${ECHO_T}not found" >&6
26131 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26132 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26133 { (exit 1); exit 1; }; }
26135 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26136 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26138 wxUSE_UNIVERSAL
="yes"
26140 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
26141 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26143 AFMINSTALL
=afminstall
26148 if test "$wxUSE_MICROWIN" = 1; then
26149 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26150 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26151 if test "x$MICROWINDOWS" = x
; then
26152 echo "$as_me:$LINENO: result: not found" >&5
26153 echo "${ECHO_T}not found" >&6
26154 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26155 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26156 { (exit 1); exit 1; }; }
26158 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26159 echo "${ECHO_T}$MICROWINDOWS" >&6
26162 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
26163 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26164 echo "${ECHO_T}MicroWindows' libraries found." >&6
26166 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26167 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26168 { (exit 1); exit 1; }; }
26171 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
26172 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26174 wxUSE_UNIVERSAL
="yes"
26176 AFMINSTALL
=afminstall
26178 GUIDIST
=MICROWIN_DIST
26180 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26183 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26185 if test "x$ac_path_x_has_been_run" != xyes
; then
26186 echo "$as_me:$LINENO: checking for X" >&5
26187 echo $ECHO_N "checking for X... $ECHO_C" >&6
26189 ac_path_x_has_been_run
=yes
26191 # Check whether --with-x or --without-x was given.
26192 if test "${with_x+set}" = set; then
26196 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26197 if test "x$with_x" = xno
; then
26198 # The user explicitly disabled X.
26201 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
26202 # Both variables are already set.
26205 if test "${ac_cv_have_x+set}" = set; then
26206 echo $ECHO_N "(cached) $ECHO_C" >&6
26208 # One or both of the vars are not set, and there is no cached value.
26209 ac_x_includes
=no ac_x_libraries
=no
26210 rm -fr conftest.dir
26211 if mkdir conftest.dir
; then
26213 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26214 cat >Imakefile
<<'_ACEOF'
26216 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26218 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
26219 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26220 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26221 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26222 for ac_extension
in a so sl
; do
26223 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
26224 test -f $ac_im_libdir/libX11.
$ac_extension; then
26225 ac_im_usrlibdir
=$ac_im_libdir; break
26228 # Screen out bogus values from the imake configuration. They are
26229 # bogus both because they are the default anyway, and because
26230 # using them would break gcc on systems where it needs fixed includes.
26231 case $ac_im_incroot in
26233 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26235 case $ac_im_usrlibdir in
26236 /usr
/lib
| /lib
) ;;
26237 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26241 rm -fr conftest.dir
26244 # Standard set of common directories for X headers.
26245 # Check X11 before X11Rn because it is often a symlink to the current release.
26257 /usr/local/X11/include
26258 /usr/local/X11R6/include
26259 /usr/local/X11R5/include
26260 /usr/local/X11R4/include
26262 /usr/local/include/X11
26263 /usr/local/include/X11R6
26264 /usr/local/include/X11R5
26265 /usr/local/include/X11R4
26269 /usr/XFree86/include/X11
26273 /usr/unsupported/include
26274 /usr/athena/include
26275 /usr/local/x11r5/include
26276 /usr/lpp/Xamples/include
26278 /usr/openwin/include
26279 /usr/openwin/share/include'
26281 if test "$ac_x_includes" = no
; then
26282 # Guess where to find include files, by looking for a specified header file.
26283 # First, try using that file with no special directory specified.
26284 cat >conftest.
$ac_ext <<_ACEOF
26287 cat confdefs.h
>>conftest.
$ac_ext
26288 cat >>conftest.
$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290 #include <X11/Intrinsic.h>
26292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26293 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26295 grep -v '^ *+' conftest.er1
>conftest.err
26297 cat conftest.err
>&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } >/dev
/null
; then
26300 if test -s conftest.err
; then
26301 ac_cpp_err
=$ac_c_preproc_warn_flag
26302 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26309 if test -z "$ac_cpp_err"; then
26310 # We can compile using X headers with no special include directory.
26313 echo "$as_me: failed program was:" >&5
26314 sed 's/^/| /' conftest.
$ac_ext >&5
26316 for ac_dir
in $ac_x_header_dirs; do
26317 if test -r "$ac_dir/X11/Intrinsic.h"; then
26318 ac_x_includes
=$ac_dir
26323 rm -f conftest.err conftest.
$ac_ext
26324 fi # $ac_x_includes = no
26326 if test "$ac_x_libraries" = no
; then
26327 # Check for the libraries.
26328 # See if we find them without any special options.
26329 # Don't add to $LIBS permanently.
26332 cat >conftest.
$ac_ext <<_ACEOF
26335 cat confdefs.h
>>conftest.
$ac_ext
26336 cat >>conftest.
$ac_ext <<_ACEOF
26337 /* end confdefs.h. */
26338 #include <X11/Intrinsic.h>
26347 rm -f conftest.
$ac_objext conftest
$ac_exeext
26348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26349 (eval $ac_link) 2>conftest.er1
26351 grep -v '^ *+' conftest.er1
>conftest.err
26353 cat conftest.err
>&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); } &&
26356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; } &&
26362 { ac_try
='test -s conftest$ac_exeext'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; }; then
26369 # We can link X programs with no special library path.
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.
$ac_ext >&5
26376 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26378 # Don't even attempt the hair of trying to link an X program!
26379 for ac_extension
in a so sl
; do
26380 if test -r $ac_dir/libXt.
$ac_extension; then
26381 ac_x_libraries
=$ac_dir
26387 rm -f conftest.err conftest.
$ac_objext \
26388 conftest
$ac_exeext conftest.
$ac_ext
26389 fi # $ac_x_libraries = no
26391 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26392 # Didn't find X anywhere. Cache the known absence of X.
26393 ac_cv_have_x
="have_x=no"
26395 # Record where we found X for the cache.
26396 ac_cv_have_x
="have_x=yes \
26397 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26402 eval "$ac_cv_have_x"
26405 if test "$have_x" != yes; then
26406 echo "$as_me:$LINENO: result: $have_x" >&5
26407 echo "${ECHO_T}$have_x" >&6
26410 # If each of the values was on the command line, it overrides each guess.
26411 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26412 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26413 # Update the cache value to reflect the command line values.
26414 ac_cv_have_x
="have_x=yes \
26415 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26416 # It might be that x_includes is empty (headers are found in the
26417 # standard search path. Then output the corresponding message
26418 ac_out_x_includes
=$x_includes
26419 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
26420 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26421 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26425 if test "$no_x" = yes; then
26426 # Not all programs may use this symbol, but it does not hurt to define it.
26428 cat >>confdefs.h
<<\_ACEOF
26429 #define X_DISPLAY_MISSING 1
26432 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26434 if test -n "$x_includes"; then
26435 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26438 # It would also be nice to do this for all -L options, not just this one.
26439 if test -n "$x_libraries"; then
26440 X_LIBS
="$X_LIBS -L$x_libraries"
26441 # For Solaris; some versions of Sun CC require a space after -R and
26442 # others require no space. Words are not sufficient . . . .
26443 case `(uname -sr) 2>/dev/null` in
26445 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26446 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26447 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26448 cat >conftest.
$ac_ext <<_ACEOF
26451 cat confdefs.h
>>conftest.
$ac_ext
26452 cat >>conftest.
$ac_ext <<_ACEOF
26453 /* end confdefs.h. */
26463 rm -f conftest.
$ac_objext conftest
$ac_exeext
26464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26465 (eval $ac_link) 2>conftest.er1
26467 grep -v '^ *+' conftest.er1
>conftest.err
26469 cat conftest.err
>&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); } &&
26472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26474 (eval $ac_try) 2>&5
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); }; } &&
26478 { ac_try
='test -s conftest$ac_exeext'
26479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26480 (eval $ac_try) 2>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); }; }; then
26486 echo "$as_me: failed program was:" >&5
26487 sed 's/^/| /' conftest.
$ac_ext >&5
26491 rm -f conftest.err conftest.
$ac_objext \
26492 conftest
$ac_exeext conftest.
$ac_ext
26493 if test $ac_R_nospace = yes; then
26494 echo "$as_me:$LINENO: result: no" >&5
26495 echo "${ECHO_T}no" >&6
26496 X_LIBS
="$X_LIBS -R$x_libraries"
26498 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26499 cat >conftest.
$ac_ext <<_ACEOF
26502 cat confdefs.h
>>conftest.
$ac_ext
26503 cat >>conftest.
$ac_ext <<_ACEOF
26504 /* end confdefs.h. */
26514 rm -f conftest.
$ac_objext conftest
$ac_exeext
26515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26516 (eval $ac_link) 2>conftest.er1
26518 grep -v '^ *+' conftest.er1
>conftest.err
26520 cat conftest.err
>&5
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); } &&
26523 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26525 (eval $ac_try) 2>&5
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); }; } &&
26529 { ac_try
='test -s conftest$ac_exeext'
26530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26531 (eval $ac_try) 2>&5
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); }; }; then
26537 echo "$as_me: failed program was:" >&5
26538 sed 's/^/| /' conftest.
$ac_ext >&5
26542 rm -f conftest.err conftest.
$ac_objext \
26543 conftest
$ac_exeext conftest.
$ac_ext
26544 if test $ac_R_space = yes; then
26545 echo "$as_me:$LINENO: result: yes" >&5
26546 echo "${ECHO_T}yes" >&6
26547 X_LIBS
="$X_LIBS -R $x_libraries"
26549 echo "$as_me:$LINENO: result: neither works" >&5
26550 echo "${ECHO_T}neither works" >&6
26553 LIBS
=$ac_xsave_LIBS
26557 # Check for system-dependent libraries X programs must link with.
26558 # Do this before checking for the system-independent R6 libraries
26559 # (-lICE), since we may need -lsocket or whatever for X linking.
26561 if test "$ISC" = yes; then
26562 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26564 # Martyn Johnson says this is needed for Ultrix, if the X
26565 # libraries were built with DECnet support. And Karl Berry says
26566 # the Alpha needs dnet_stub (dnet does not exist).
26567 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26568 cat >conftest.
$ac_ext <<_ACEOF
26571 cat confdefs.h
>>conftest.
$ac_ext
26572 cat >>conftest.
$ac_ext <<_ACEOF
26573 /* end confdefs.h. */
26575 /* Override any gcc2 internal prototype to avoid an error. */
26579 /* We use char because int might match the return type of a gcc2
26580 builtin and then its argument prototype would still apply. */
26581 char XOpenDisplay ();
26590 rm -f conftest.
$ac_objext conftest
$ac_exeext
26591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26592 (eval $ac_link) 2>conftest.er1
26594 grep -v '^ *+' conftest.er1
>conftest.err
26596 cat conftest.err
>&5
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); } &&
26599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601 (eval $ac_try) 2>&5
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); }; } &&
26605 { ac_try
='test -s conftest$ac_exeext'
26606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26607 (eval $ac_try) 2>&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); }; }; then
26613 echo "$as_me: failed program was:" >&5
26614 sed 's/^/| /' conftest.
$ac_ext >&5
26616 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26617 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26618 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26621 ac_check_lib_save_LIBS
=$LIBS
26622 LIBS
="-ldnet $LIBS"
26623 cat >conftest.
$ac_ext <<_ACEOF
26626 cat confdefs.h
>>conftest.
$ac_ext
26627 cat >>conftest.
$ac_ext <<_ACEOF
26628 /* end confdefs.h. */
26630 /* Override any gcc2 internal prototype to avoid an error. */
26634 /* We use char because int might match the return type of a gcc2
26635 builtin and then its argument prototype would still apply. */
26645 rm -f conftest.
$ac_objext conftest
$ac_exeext
26646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26647 (eval $ac_link) 2>conftest.er1
26649 grep -v '^ *+' conftest.er1
>conftest.err
26651 cat conftest.err
>&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); } &&
26654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; } &&
26660 { ac_try
='test -s conftest$ac_exeext'
26661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662 (eval $ac_try) 2>&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); }; }; then
26666 ac_cv_lib_dnet_dnet_ntoa
=yes
26668 echo "$as_me: failed program was:" >&5
26669 sed 's/^/| /' conftest.
$ac_ext >&5
26671 ac_cv_lib_dnet_dnet_ntoa
=no
26673 rm -f conftest.err conftest.
$ac_objext \
26674 conftest
$ac_exeext conftest.
$ac_ext
26675 LIBS
=$ac_check_lib_save_LIBS
26677 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26678 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
26679 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
26680 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
26683 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
26684 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
26685 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
26686 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
26687 echo $ECHO_N "(cached) $ECHO_C" >&6
26689 ac_check_lib_save_LIBS
=$LIBS
26690 LIBS
="-ldnet_stub $LIBS"
26691 cat >conftest.
$ac_ext <<_ACEOF
26694 cat confdefs.h
>>conftest.
$ac_ext
26695 cat >>conftest.
$ac_ext <<_ACEOF
26696 /* end confdefs.h. */
26698 /* Override any gcc2 internal prototype to avoid an error. */
26702 /* We use char because int might match the return type of a gcc2
26703 builtin and then its argument prototype would still apply. */
26713 rm -f conftest.
$ac_objext conftest
$ac_exeext
26714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26715 (eval $ac_link) 2>conftest.er1
26717 grep -v '^ *+' conftest.er1
>conftest.err
26719 cat conftest.err
>&5
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } &&
26722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724 (eval $ac_try) 2>&5
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; } &&
26728 { ac_try
='test -s conftest$ac_exeext'
26729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26730 (eval $ac_try) 2>&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); }; }; then
26734 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
26736 echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.
$ac_ext >&5
26739 ac_cv_lib_dnet_stub_dnet_ntoa
=no
26741 rm -f conftest.err conftest.
$ac_objext \
26742 conftest
$ac_exeext conftest.
$ac_ext
26743 LIBS
=$ac_check_lib_save_LIBS
26745 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26746 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
26747 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
26748 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
26753 rm -f conftest.err conftest.
$ac_objext \
26754 conftest
$ac_exeext conftest.
$ac_ext
26755 LIBS
="$ac_xsave_LIBS"
26757 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26758 # to get the SysV transport functions.
26759 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26761 # The nsl library prevents programs from opening the X display
26762 # on Irix 5.2, according to T.E. Dickey.
26763 # The functions gethostbyname, getservbyname, and inet_addr are
26764 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26765 echo "$as_me:$LINENO: checking for gethostbyname" >&5
26766 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
26767 if test "${ac_cv_func_gethostbyname+set}" = set; then
26768 echo $ECHO_N "(cached) $ECHO_C" >&6
26770 cat >conftest.
$ac_ext <<_ACEOF
26773 cat confdefs.h
>>conftest.
$ac_ext
26774 cat >>conftest.
$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26776 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
26777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26778 #define gethostbyname innocuous_gethostbyname
26780 /* System header to define __stub macros and hopefully few prototypes,
26781 which can conflict with char gethostbyname (); below.
26782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26783 <limits.h> exists even on freestanding compilers. */
26786 # include <limits.h>
26788 # include <assert.h>
26791 #undef gethostbyname
26793 /* Override any gcc2 internal prototype to avoid an error. */
26798 /* We use char because int might match the return type of a gcc2
26799 builtin and then its argument prototype would still apply. */
26800 char gethostbyname ();
26801 /* The GNU C library defines this for functions which it implements
26802 to always fail with ENOSYS. Some functions are actually named
26803 something starting with __ and the normal name is an alias. */
26804 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
26807 char (*f) () = gethostbyname;
26816 return f != gethostbyname;
26821 rm -f conftest.
$ac_objext conftest
$ac_exeext
26822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26823 (eval $ac_link) 2>conftest.er1
26825 grep -v '^ *+' conftest.er1
>conftest.err
26827 cat conftest.err
>&5
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); } &&
26830 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; } &&
26836 { ac_try
='test -s conftest$ac_exeext'
26837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26838 (eval $ac_try) 2>&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); }; }; then
26842 ac_cv_func_gethostbyname
=yes
26844 echo "$as_me: failed program was:" >&5
26845 sed 's/^/| /' conftest.
$ac_ext >&5
26847 ac_cv_func_gethostbyname
=no
26849 rm -f conftest.err conftest.
$ac_objext \
26850 conftest
$ac_exeext conftest.
$ac_ext
26852 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
26853 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
26855 if test $ac_cv_func_gethostbyname = no
; then
26856 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
26857 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
26858 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
26859 echo $ECHO_N "(cached) $ECHO_C" >&6
26861 ac_check_lib_save_LIBS
=$LIBS
26863 cat >conftest.
$ac_ext <<_ACEOF
26866 cat confdefs.h
>>conftest.
$ac_ext
26867 cat >>conftest.
$ac_ext <<_ACEOF
26868 /* end confdefs.h. */
26870 /* Override any gcc2 internal prototype to avoid an error. */
26874 /* We use char because int might match the return type of a gcc2
26875 builtin and then its argument prototype would still apply. */
26876 char gethostbyname ();
26885 rm -f conftest.
$ac_objext conftest
$ac_exeext
26886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26887 (eval $ac_link) 2>conftest.er1
26889 grep -v '^ *+' conftest.er1
>conftest.err
26891 cat conftest.err
>&5
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); } &&
26894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; } &&
26900 { ac_try
='test -s conftest$ac_exeext'
26901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902 (eval $ac_try) 2>&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); }; }; then
26906 ac_cv_lib_nsl_gethostbyname
=yes
26908 echo "$as_me: failed program was:" >&5
26909 sed 's/^/| /' conftest.
$ac_ext >&5
26911 ac_cv_lib_nsl_gethostbyname
=no
26913 rm -f conftest.err conftest.
$ac_objext \
26914 conftest
$ac_exeext conftest.
$ac_ext
26915 LIBS
=$ac_check_lib_save_LIBS
26917 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
26918 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
26919 if test $ac_cv_lib_nsl_gethostbyname = yes; then
26920 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
26923 if test $ac_cv_lib_nsl_gethostbyname = no
; then
26924 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
26925 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
26926 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26929 ac_check_lib_save_LIBS
=$LIBS
26931 cat >conftest.
$ac_ext <<_ACEOF
26934 cat confdefs.h
>>conftest.
$ac_ext
26935 cat >>conftest.
$ac_ext <<_ACEOF
26936 /* end confdefs.h. */
26938 /* Override any gcc2 internal prototype to avoid an error. */
26942 /* We use char because int might match the return type of a gcc2
26943 builtin and then its argument prototype would still apply. */
26944 char gethostbyname ();
26953 rm -f conftest.
$ac_objext conftest
$ac_exeext
26954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26955 (eval $ac_link) 2>conftest.er1
26957 grep -v '^ *+' conftest.er1
>conftest.err
26959 cat conftest.err
>&5
26960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26961 (exit $ac_status); } &&
26962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26964 (eval $ac_try) 2>&5
26966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26967 (exit $ac_status); }; } &&
26968 { ac_try
='test -s conftest$ac_exeext'
26969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26970 (eval $ac_try) 2>&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); }; }; then
26974 ac_cv_lib_bsd_gethostbyname
=yes
26976 echo "$as_me: failed program was:" >&5
26977 sed 's/^/| /' conftest.
$ac_ext >&5
26979 ac_cv_lib_bsd_gethostbyname
=no
26981 rm -f conftest.err conftest.
$ac_objext \
26982 conftest
$ac_exeext conftest.
$ac_ext
26983 LIBS
=$ac_check_lib_save_LIBS
26985 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
26986 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
26987 if test $ac_cv_lib_bsd_gethostbyname = yes; then
26988 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
26994 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26995 # socket/setsockopt and other routines are undefined under SCO ODT
26996 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26997 # on later versions), says Simon Leinen: it contains gethostby*
26998 # variants that don't use the name server (or something). -lsocket
26999 # must be given before -lnsl if both are needed. We assume that
27000 # if connect needs -lnsl, so does gethostbyname.
27001 echo "$as_me:$LINENO: checking for connect" >&5
27002 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27003 if test "${ac_cv_func_connect+set}" = set; then
27004 echo $ECHO_N "(cached) $ECHO_C" >&6
27006 cat >conftest.
$ac_ext <<_ACEOF
27009 cat confdefs.h
>>conftest.
$ac_ext
27010 cat >>conftest.
$ac_ext <<_ACEOF
27011 /* end confdefs.h. */
27012 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27014 #define connect innocuous_connect
27016 /* System header to define __stub macros and hopefully few prototypes,
27017 which can conflict with char connect (); below.
27018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27019 <limits.h> exists even on freestanding compilers. */
27022 # include <limits.h>
27024 # include <assert.h>
27029 /* Override any gcc2 internal prototype to avoid an error. */
27034 /* We use char because int might match the return type of a gcc2
27035 builtin and then its argument prototype would still apply. */
27037 /* The GNU C library defines this for functions which it implements
27038 to always fail with ENOSYS. Some functions are actually named
27039 something starting with __ and the normal name is an alias. */
27040 #if defined (__stub_connect) || defined (__stub___connect)
27043 char (*f) () = connect;
27052 return f != connect;
27057 rm -f conftest.
$ac_objext conftest
$ac_exeext
27058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27059 (eval $ac_link) 2>conftest.er1
27061 grep -v '^ *+' conftest.er1
>conftest.err
27063 cat conftest.err
>&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); } &&
27066 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068 (eval $ac_try) 2>&5
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); }; } &&
27072 { ac_try
='test -s conftest$ac_exeext'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; }; then
27078 ac_cv_func_connect
=yes
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.
$ac_ext >&5
27083 ac_cv_func_connect
=no
27085 rm -f conftest.err conftest.
$ac_objext \
27086 conftest
$ac_exeext conftest.
$ac_ext
27088 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27089 echo "${ECHO_T}$ac_cv_func_connect" >&6
27091 if test $ac_cv_func_connect = no
; then
27092 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27093 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27094 if test "${ac_cv_lib_socket_connect+set}" = set; then
27095 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 ac_check_lib_save_LIBS
=$LIBS
27098 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
27099 cat >conftest.
$ac_ext <<_ACEOF
27102 cat confdefs.h
>>conftest.
$ac_ext
27103 cat >>conftest.
$ac_ext <<_ACEOF
27104 /* end confdefs.h. */
27106 /* Override any gcc2 internal prototype to avoid an error. */
27110 /* We use char because int might match the return type of a gcc2
27111 builtin and then its argument prototype would still apply. */
27121 rm -f conftest.
$ac_objext conftest
$ac_exeext
27122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27123 (eval $ac_link) 2>conftest.er1
27125 grep -v '^ *+' conftest.er1
>conftest.err
27127 cat conftest.err
>&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); } &&
27130 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27132 (eval $ac_try) 2>&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); }; } &&
27136 { ac_try
='test -s conftest$ac_exeext'
27137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27138 (eval $ac_try) 2>&5
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); }; }; then
27142 ac_cv_lib_socket_connect
=yes
27144 echo "$as_me: failed program was:" >&5
27145 sed 's/^/| /' conftest.
$ac_ext >&5
27147 ac_cv_lib_socket_connect
=no
27149 rm -f conftest.err conftest.
$ac_objext \
27150 conftest
$ac_exeext conftest.
$ac_ext
27151 LIBS
=$ac_check_lib_save_LIBS
27153 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27154 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27155 if test $ac_cv_lib_socket_connect = yes; then
27156 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
27161 # Guillermo Gomez says -lposix is necessary on A/UX.
27162 echo "$as_me:$LINENO: checking for remove" >&5
27163 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27164 if test "${ac_cv_func_remove+set}" = set; then
27165 echo $ECHO_N "(cached) $ECHO_C" >&6
27167 cat >conftest.
$ac_ext <<_ACEOF
27170 cat confdefs.h
>>conftest.
$ac_ext
27171 cat >>conftest.
$ac_ext <<_ACEOF
27172 /* end confdefs.h. */
27173 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27175 #define remove innocuous_remove
27177 /* System header to define __stub macros and hopefully few prototypes,
27178 which can conflict with char remove (); below.
27179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27180 <limits.h> exists even on freestanding compilers. */
27183 # include <limits.h>
27185 # include <assert.h>
27190 /* Override any gcc2 internal prototype to avoid an error. */
27195 /* We use char because int might match the return type of a gcc2
27196 builtin and then its argument prototype would still apply. */
27198 /* The GNU C library defines this for functions which it implements
27199 to always fail with ENOSYS. Some functions are actually named
27200 something starting with __ and the normal name is an alias. */
27201 #if defined (__stub_remove) || defined (__stub___remove)
27204 char (*f) () = remove;
27213 return f != remove;
27218 rm -f conftest.
$ac_objext conftest
$ac_exeext
27219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27220 (eval $ac_link) 2>conftest.er1
27222 grep -v '^ *+' conftest.er1
>conftest.err
27224 cat conftest.err
>&5
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); } &&
27227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27229 (eval $ac_try) 2>&5
27231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232 (exit $ac_status); }; } &&
27233 { ac_try
='test -s conftest$ac_exeext'
27234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27235 (eval $ac_try) 2>&5
27237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27238 (exit $ac_status); }; }; then
27239 ac_cv_func_remove
=yes
27241 echo "$as_me: failed program was:" >&5
27242 sed 's/^/| /' conftest.
$ac_ext >&5
27244 ac_cv_func_remove
=no
27246 rm -f conftest.err conftest.
$ac_objext \
27247 conftest
$ac_exeext conftest.
$ac_ext
27249 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27250 echo "${ECHO_T}$ac_cv_func_remove" >&6
27252 if test $ac_cv_func_remove = no
; then
27253 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27254 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27255 if test "${ac_cv_lib_posix_remove+set}" = set; then
27256 echo $ECHO_N "(cached) $ECHO_C" >&6
27258 ac_check_lib_save_LIBS
=$LIBS
27259 LIBS
="-lposix $LIBS"
27260 cat >conftest.
$ac_ext <<_ACEOF
27263 cat confdefs.h
>>conftest.
$ac_ext
27264 cat >>conftest.
$ac_ext <<_ACEOF
27265 /* end confdefs.h. */
27267 /* Override any gcc2 internal prototype to avoid an error. */
27271 /* We use char because int might match the return type of a gcc2
27272 builtin and then its argument prototype would still apply. */
27282 rm -f conftest.
$ac_objext conftest
$ac_exeext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27284 (eval $ac_link) 2>conftest.er1
27286 grep -v '^ *+' conftest.er1
>conftest.err
27288 cat conftest.err
>&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293 (eval $ac_try) 2>&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; } &&
27297 { ac_try
='test -s conftest$ac_exeext'
27298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27299 (eval $ac_try) 2>&5
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); }; }; then
27303 ac_cv_lib_posix_remove
=yes
27305 echo "$as_me: failed program was:" >&5
27306 sed 's/^/| /' conftest.
$ac_ext >&5
27308 ac_cv_lib_posix_remove
=no
27310 rm -f conftest.err conftest.
$ac_objext \
27311 conftest
$ac_exeext conftest.
$ac_ext
27312 LIBS
=$ac_check_lib_save_LIBS
27314 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27315 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27316 if test $ac_cv_lib_posix_remove = yes; then
27317 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27322 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27323 echo "$as_me:$LINENO: checking for shmat" >&5
27324 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27325 if test "${ac_cv_func_shmat+set}" = set; then
27326 echo $ECHO_N "(cached) $ECHO_C" >&6
27328 cat >conftest.
$ac_ext <<_ACEOF
27331 cat confdefs.h
>>conftest.
$ac_ext
27332 cat >>conftest.
$ac_ext <<_ACEOF
27333 /* end confdefs.h. */
27334 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27336 #define shmat innocuous_shmat
27338 /* System header to define __stub macros and hopefully few prototypes,
27339 which can conflict with char shmat (); below.
27340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27341 <limits.h> exists even on freestanding compilers. */
27344 # include <limits.h>
27346 # include <assert.h>
27351 /* Override any gcc2 internal prototype to avoid an error. */
27356 /* We use char because int might match the return type of a gcc2
27357 builtin and then its argument prototype would still apply. */
27359 /* The GNU C library defines this for functions which it implements
27360 to always fail with ENOSYS. Some functions are actually named
27361 something starting with __ and the normal name is an alias. */
27362 #if defined (__stub_shmat) || defined (__stub___shmat)
27365 char (*f) () = shmat;
27379 rm -f conftest.
$ac_objext conftest
$ac_exeext
27380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27381 (eval $ac_link) 2>conftest.er1
27383 grep -v '^ *+' conftest.er1
>conftest.err
27385 cat conftest.err
>&5
27386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27387 (exit $ac_status); } &&
27388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27390 (eval $ac_try) 2>&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); }; } &&
27394 { ac_try
='test -s conftest$ac_exeext'
27395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27396 (eval $ac_try) 2>&5
27398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399 (exit $ac_status); }; }; then
27400 ac_cv_func_shmat
=yes
27402 echo "$as_me: failed program was:" >&5
27403 sed 's/^/| /' conftest.
$ac_ext >&5
27405 ac_cv_func_shmat
=no
27407 rm -f conftest.err conftest.
$ac_objext \
27408 conftest
$ac_exeext conftest.
$ac_ext
27410 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27411 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27413 if test $ac_cv_func_shmat = no
; then
27414 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27415 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27416 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27417 echo $ECHO_N "(cached) $ECHO_C" >&6
27419 ac_check_lib_save_LIBS
=$LIBS
27421 cat >conftest.
$ac_ext <<_ACEOF
27424 cat confdefs.h
>>conftest.
$ac_ext
27425 cat >>conftest.
$ac_ext <<_ACEOF
27426 /* end confdefs.h. */
27428 /* Override any gcc2 internal prototype to avoid an error. */
27432 /* We use char because int might match the return type of a gcc2
27433 builtin and then its argument prototype would still apply. */
27443 rm -f conftest.
$ac_objext conftest
$ac_exeext
27444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27445 (eval $ac_link) 2>conftest.er1
27447 grep -v '^ *+' conftest.er1
>conftest.err
27449 cat conftest.err
>&5
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); } &&
27452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27454 (eval $ac_try) 2>&5
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); }; } &&
27458 { ac_try
='test -s conftest$ac_exeext'
27459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27460 (eval $ac_try) 2>&5
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); }; }; then
27464 ac_cv_lib_ipc_shmat
=yes
27466 echo "$as_me: failed program was:" >&5
27467 sed 's/^/| /' conftest.
$ac_ext >&5
27469 ac_cv_lib_ipc_shmat
=no
27471 rm -f conftest.err conftest.
$ac_objext \
27472 conftest
$ac_exeext conftest.
$ac_ext
27473 LIBS
=$ac_check_lib_save_LIBS
27475 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27476 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27477 if test $ac_cv_lib_ipc_shmat = yes; then
27478 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27484 # Check for libraries that X11R6 Xt/Xaw programs need.
27485 ac_save_LDFLAGS
=$LDFLAGS
27486 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27487 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27488 # check for ICE first), but we must link in the order -lSM -lICE or
27489 # we get undefined symbols. So assume we have SM if we have ICE.
27490 # These have to be linked with before -lX11, unlike the other
27491 # libraries we check for below, so use a different variable.
27492 # John Interrante, Karl Berry
27493 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27494 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27495 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27496 echo $ECHO_N "(cached) $ECHO_C" >&6
27498 ac_check_lib_save_LIBS
=$LIBS
27499 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27500 cat >conftest.
$ac_ext <<_ACEOF
27503 cat confdefs.h
>>conftest.
$ac_ext
27504 cat >>conftest.
$ac_ext <<_ACEOF
27505 /* end confdefs.h. */
27507 /* Override any gcc2 internal prototype to avoid an error. */
27511 /* We use char because int might match the return type of a gcc2
27512 builtin and then its argument prototype would still apply. */
27513 char IceConnectionNumber ();
27517 IceConnectionNumber ();
27522 rm -f conftest.
$ac_objext conftest
$ac_exeext
27523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27524 (eval $ac_link) 2>conftest.er1
27526 grep -v '^ *+' conftest.er1
>conftest.err
27528 cat conftest.err
>&5
27529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27530 (exit $ac_status); } &&
27531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27533 (eval $ac_try) 2>&5
27535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27536 (exit $ac_status); }; } &&
27537 { ac_try
='test -s conftest$ac_exeext'
27538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27539 (eval $ac_try) 2>&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); }; }; then
27543 ac_cv_lib_ICE_IceConnectionNumber
=yes
27545 echo "$as_me: failed program was:" >&5
27546 sed 's/^/| /' conftest.
$ac_ext >&5
27548 ac_cv_lib_ICE_IceConnectionNumber
=no
27550 rm -f conftest.err conftest.
$ac_objext \
27551 conftest
$ac_exeext conftest.
$ac_ext
27552 LIBS
=$ac_check_lib_save_LIBS
27554 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27555 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27556 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27557 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27560 LDFLAGS
=$ac_save_LDFLAGS
27565 if test "$no_x" = "yes"; then
27566 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27567 echo "$as_me: error: X11 not found" >&2;}
27568 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27571 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27572 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27573 AFMINSTALL
=afminstall
27574 COMPILED_X_PROGRAM
=0
27578 if test "$wxUSE_X11" = 1; then
27579 if test "$wxUSE_NANOX" = "yes"; then
27580 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27581 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27582 if test "x$MICROWIN" = x
; then
27583 echo "$as_me:$LINENO: result: not found" >&5
27584 echo "${ECHO_T}not found" >&6
27585 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27586 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27587 { (exit 1); exit 1; }; }
27589 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27590 echo "${ECHO_T}$MICROWIN" >&6
27591 cat >>confdefs.h
<<\_ACEOF
27592 #define wxUSE_NANOX 1
27598 if test "$wxUSE_UNICODE" = "yes"; then
27602 if test -z "$PKG_CONFIG"; then
27603 # Extract the first word of "pkg-config", so it can be a program name with args.
27604 set dummy pkg
-config; ac_word
=$2
27605 echo "$as_me:$LINENO: checking for $ac_word" >&5
27606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27607 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27608 echo $ECHO_N "(cached) $ECHO_C" >&6
27610 case $PKG_CONFIG in
27612 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27616 for as_dir
in $PATH
27619 test -z "$as_dir" && as_dir
=.
27620 for ac_exec_ext
in '' $ac_executable_extensions; do
27621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27622 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27629 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27633 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27635 if test -n "$PKG_CONFIG"; then
27636 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27637 echo "${ECHO_T}$PKG_CONFIG" >&6
27639 echo "$as_me:$LINENO: result: no" >&5
27640 echo "${ECHO_T}no" >&6
27645 if test "$PKG_CONFIG" = "no" ; then
27646 echo "*** The pkg-config script could not be found. Make sure it is"
27647 echo "*** in your path, or set the PKG_CONFIG environment variable"
27648 echo "*** to the full path to pkg-config."
27649 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27651 PKG_CONFIG_MIN_VERSION
=0.9.0
27652 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27653 echo "$as_me:$LINENO: checking for pangox" >&5
27654 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27656 if $PKG_CONFIG --exists "pangox" ; then
27657 echo "$as_me:$LINENO: result: yes" >&5
27658 echo "${ECHO_T}yes" >&6
27661 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27662 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27663 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27664 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27665 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
27667 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
27668 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
27669 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
27670 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
27671 echo "${ECHO_T}$PANGOX_LIBS" >&6
27675 ## If we have a custom action on failure, don't print errors, but
27676 ## do set a variable so people can do so.
27677 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
27684 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27685 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27689 if test $succeeded = yes; then
27691 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
27692 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
27696 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
27697 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
27698 { (exit 1); exit 1; }; }
27706 if test -z "$PKG_CONFIG"; then
27707 # Extract the first word of "pkg-config", so it can be a program name with args.
27708 set dummy pkg
-config; ac_word
=$2
27709 echo "$as_me:$LINENO: checking for $ac_word" >&5
27710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27711 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27712 echo $ECHO_N "(cached) $ECHO_C" >&6
27714 case $PKG_CONFIG in
27716 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27720 for as_dir
in $PATH
27723 test -z "$as_dir" && as_dir
=.
27724 for ac_exec_ext
in '' $ac_executable_extensions; do
27725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27726 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27733 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27737 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27739 if test -n "$PKG_CONFIG"; then
27740 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27741 echo "${ECHO_T}$PKG_CONFIG" >&6
27743 echo "$as_me:$LINENO: result: no" >&5
27744 echo "${ECHO_T}no" >&6
27749 if test "$PKG_CONFIG" = "no" ; then
27750 echo "*** The pkg-config script could not be found. Make sure it is"
27751 echo "*** in your path, or set the PKG_CONFIG environment variable"
27752 echo "*** to the full path to pkg-config."
27753 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27755 PKG_CONFIG_MIN_VERSION
=0.9.0
27756 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27757 echo "$as_me:$LINENO: checking for pangoft2" >&5
27758 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
27760 if $PKG_CONFIG --exists "pangoft2" ; then
27761 echo "$as_me:$LINENO: result: yes" >&5
27762 echo "${ECHO_T}yes" >&6
27765 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
27766 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
27767 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
27768 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
27769 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
27771 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
27772 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
27773 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
27774 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
27775 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
27779 ## If we have a custom action on failure, don't print errors, but
27780 ## do set a variable so people can do so.
27781 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
27788 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27789 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27793 if test $succeeded = yes; then
27795 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
27796 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
27800 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
27801 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
27802 wxUSE_PRINTING_ARCHITECTURE
="no"
27810 if test -z "$PKG_CONFIG"; then
27811 # Extract the first word of "pkg-config", so it can be a program name with args.
27812 set dummy pkg
-config; ac_word
=$2
27813 echo "$as_me:$LINENO: checking for $ac_word" >&5
27814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27815 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27816 echo $ECHO_N "(cached) $ECHO_C" >&6
27818 case $PKG_CONFIG in
27820 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27824 for as_dir
in $PATH
27827 test -z "$as_dir" && as_dir
=.
27828 for ac_exec_ext
in '' $ac_executable_extensions; do
27829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27830 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27837 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27841 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27843 if test -n "$PKG_CONFIG"; then
27844 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27845 echo "${ECHO_T}$PKG_CONFIG" >&6
27847 echo "$as_me:$LINENO: result: no" >&5
27848 echo "${ECHO_T}no" >&6
27853 if test "$PKG_CONFIG" = "no" ; then
27854 echo "*** The pkg-config script could not be found. Make sure it is"
27855 echo "*** in your path, or set the PKG_CONFIG environment variable"
27856 echo "*** to the full path to pkg-config."
27857 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27859 PKG_CONFIG_MIN_VERSION
=0.9.0
27860 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27861 echo "$as_me:$LINENO: checking for pangoxft" >&5
27862 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
27864 if $PKG_CONFIG --exists "pangoxft" ; then
27865 echo "$as_me:$LINENO: result: yes" >&5
27866 echo "${ECHO_T}yes" >&6
27869 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
27870 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
27871 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
27872 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
27873 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
27875 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
27876 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
27877 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
27878 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
27879 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
27883 ## If we have a custom action on failure, don't print errors, but
27884 ## do set a variable so people can do so.
27885 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
27892 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
27893 echo "*** See http://www.freedesktop.org/software/pkgconfig"
27897 if test $succeeded = yes; then
27899 cat >>confdefs.h
<<\_ACEOF
27900 #define HAVE_PANGO_XFT 1
27903 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
27904 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
27908 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
27909 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
27914 save_CFLAGS
="$CFLAGS"
27916 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
27917 LIBS
="$LIBS $PANGOX_LIBS"
27919 for ac_func
in pango_font_family_is_monospace
27921 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27922 echo "$as_me:$LINENO: checking for $ac_func" >&5
27923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27924 if eval "test \"\${$as_ac_var+set}\" = set"; then
27925 echo $ECHO_N "(cached) $ECHO_C" >&6
27927 cat >conftest.
$ac_ext <<_ACEOF
27930 cat confdefs.h
>>conftest.
$ac_ext
27931 cat >>conftest.
$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27935 #define $ac_func innocuous_$ac_func
27937 /* System header to define __stub macros and hopefully few prototypes,
27938 which can conflict with char $ac_func (); below.
27939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27940 <limits.h> exists even on freestanding compilers. */
27943 # include <limits.h>
27945 # include <assert.h>
27950 /* Override any gcc2 internal prototype to avoid an error. */
27955 /* We use char because int might match the return type of a gcc2
27956 builtin and then its argument prototype would still apply. */
27958 /* The GNU C library defines this for functions which it implements
27959 to always fail with ENOSYS. Some functions are actually named
27960 something starting with __ and the normal name is an alias. */
27961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27964 char (*f) () = $ac_func;
27973 return f != $ac_func;
27978 rm -f conftest.
$ac_objext conftest
$ac_exeext
27979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27980 (eval $ac_link) 2>conftest.er1
27982 grep -v '^ *+' conftest.er1
>conftest.err
27984 cat conftest.err
>&5
27985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27986 (exit $ac_status); } &&
27987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27989 (eval $ac_try) 2>&5
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); }; } &&
27993 { ac_try
='test -s conftest$ac_exeext'
27994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27995 (eval $ac_try) 2>&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); }; }; then
27999 eval "$as_ac_var=yes"
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.
$ac_ext >&5
28004 eval "$as_ac_var=no"
28006 rm -f conftest.err conftest.
$ac_objext \
28007 conftest
$ac_exeext conftest.
$ac_ext
28009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28011 if test `eval echo '${'$as_ac_var'}'` = yes; then
28012 cat >>confdefs.h
<<_ACEOF
28013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28019 CFLAGS
="$save_CFLAGS"
28023 wxUSE_UNIVERSAL
="yes"
28025 if test "$wxUSE_NANOX" = "yes"; then
28026 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28027 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"
28028 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28030 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
28037 if test "$wxUSE_MOTIF" = 1; then
28038 if test "$wxUSE_UNICODE" = "yes"; then
28039 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28040 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28041 { (exit 1); exit 1; }; }
28044 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28045 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28048 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28050 if test -f "$ac_dir/Xm/Xm.h"; then
28051 ac_find_includes
=$ac_dir
28056 if test "$ac_find_includes" != "" ; then
28057 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28058 echo "${ECHO_T}found in $ac_find_includes" >&6
28060 if test "x$ac_find_includes" = "x/usr/include"; then
28061 ac_path_to_include
=""
28063 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
28065 if test $result = 0; then
28066 ac_path_to_include
=""
28068 ac_path_to_include
=" -I$ac_find_includes"
28072 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
28074 cat >conftest.
$ac_ext <<_ACEOF
28077 cat confdefs.h
>>conftest.
$ac_ext
28078 cat >>conftest.
$ac_ext <<_ACEOF
28079 /* end confdefs.h. */
28088 version = xmUseVersion;
28094 rm -f conftest.
$ac_objext
28095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28096 (eval $ac_compile) 2>conftest.er1
28098 grep -v '^ *+' conftest.er1
>conftest.err
28100 cat conftest.err
>&5
28101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102 (exit $ac_status); } &&
28103 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28105 (eval $ac_try) 2>&5
28107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28108 (exit $ac_status); }; } &&
28109 { ac_try
='test -s conftest.$ac_objext'
28110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28111 (eval $ac_try) 2>&5
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); }; }; then
28116 echo "$as_me:$LINENO: result: found in default search path" >&5
28117 echo "${ECHO_T}found in default search path" >&6
28118 COMPILED_X_PROGRAM
=1
28121 echo "$as_me: failed program was:" >&5
28122 sed 's/^/| /' conftest.
$ac_ext >&5
28125 echo "$as_me:$LINENO: result: no" >&5
28126 echo "${ECHO_T}no" >&6
28127 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
28128 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
28129 { (exit 1); exit 1; }; }
28133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28136 if test "$COMPILED_X_PROGRAM" = 0; then
28137 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28138 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28141 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28143 for ac_extension
in a so sl dylib dll.a
; do
28144 if test -f "$ac_dir/libXm.$ac_extension"; then
28145 ac_find_libraries
=$ac_dir
28151 if test "$ac_find_libraries" != "" ; then
28152 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28153 echo "${ECHO_T}found at $ac_find_libraries" >&6
28156 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28158 if test $result = 0; then
28161 ac_path_to_link
=" -L$ac_find_libraries"
28164 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28166 save_CFLAGS
=$CFLAGS
28167 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28169 cat >conftest.
$ac_ext <<_ACEOF
28172 cat confdefs.h
>>conftest.
$ac_ext
28173 cat >>conftest.
$ac_ext <<_ACEOF
28174 /* end confdefs.h. */
28183 version = xmUseVersion;
28189 rm -f conftest.
$ac_objext
28190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28191 (eval $ac_compile) 2>conftest.er1
28193 grep -v '^ *+' conftest.er1
>conftest.err
28195 cat conftest.err
>&5
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); } &&
28198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28200 (eval $ac_try) 2>&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); }; } &&
28204 { ac_try
='test -s conftest.$ac_objext'
28205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28206 (eval $ac_try) 2>&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); }; }; then
28211 echo "$as_me:$LINENO: result: found in default search path" >&5
28212 echo "${ECHO_T}found in default search path" >&6
28213 COMPILED_X_PROGRAM
=1
28216 echo "$as_me: failed program was:" >&5
28217 sed 's/^/| /' conftest.
$ac_ext >&5
28220 echo "$as_me:$LINENO: result: no" >&5
28221 echo "${ECHO_T}no" >&6
28222 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28223 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28224 { (exit 1); exit 1; }; }
28228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28230 CFLAGS
=$save_CFLAGS
28234 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28235 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28239 for libp
in "" " -lXp"; do
28240 if test "$libs_found" = "0"; then
28241 for libsm_ice
in "" " -lSM -lICE"; do
28242 if test "$libs_found" = "0"; then
28244 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28245 save_CFLAGS
=$CFLAGS
28246 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28248 cat >conftest.
$ac_ext <<_ACEOF
28251 cat confdefs.h
>>conftest.
$ac_ext
28252 cat >>conftest.
$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28256 #include <Xm/List.h>
28262 XmString string = NULL;
28265 XmListAddItem(w, string, position);
28271 rm -f conftest.
$ac_objext conftest
$ac_exeext
28272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28273 (eval $ac_link) 2>conftest.er1
28275 grep -v '^ *+' conftest.er1
>conftest.err
28277 cat conftest.err
>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); } &&
28280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28282 (eval $ac_try) 2>&5
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); }; } &&
28286 { ac_try
='test -s conftest$ac_exeext'
28287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28288 (eval $ac_try) 2>&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); }; }; then
28294 libsm_ice_link
="$libsm_ice"
28295 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28296 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28300 echo "$as_me: failed program was:" >&5
28301 sed 's/^/| /' conftest.
$ac_ext >&5
28306 rm -f conftest.err conftest.
$ac_objext \
28307 conftest
$ac_exeext conftest.
$ac_ext
28310 CFLAGS
=$save_CFLAGS
28316 if test "$libs_found" = "0"; then
28317 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28318 echo "${ECHO_T}can't find the right libraries" >&6
28319 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28320 echo "$as_me: error: can't link a simple motif program" >&2;}
28321 { (exit 1); exit 1; }; }
28324 save_CFLAGS
=$CFLAGS
28325 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28326 echo "$as_me:$LINENO: checking for Motif 2" >&5
28327 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28328 cat >conftest.
$ac_ext <<_ACEOF
28331 cat confdefs.h
>>conftest.
$ac_ext
28332 cat >>conftest.
$ac_ext <<_ACEOF
28333 /* end confdefs.h. */
28341 #if XmVersion < 2000
28342 #error "Not Motif 2"
28349 rm -f conftest.
$ac_objext
28350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28351 (eval $ac_compile) 2>conftest.er1
28353 grep -v '^ *+' conftest.er1
>conftest.err
28355 cat conftest.err
>&5
28356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28357 (exit $ac_status); } &&
28358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28360 (eval $ac_try) 2>&5
28362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363 (exit $ac_status); }; } &&
28364 { ac_try
='test -s conftest.$ac_objext'
28365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28366 (eval $ac_try) 2>&5
28368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28369 (exit $ac_status); }; }; then
28371 cat >>confdefs.h
<<\_ACEOF
28372 #define __WXMOTIF20__ 1
28375 echo "$as_me:$LINENO: result: found" >&5
28376 echo "${ECHO_T}found" >&6
28379 echo "$as_me: failed program was:" >&5
28380 sed 's/^/| /' conftest.
$ac_ext >&5
28383 cat >>confdefs.h
<<\_ACEOF
28384 #define __WXMOTIF20__ 0
28387 echo "$as_me:$LINENO: result: not found" >&5
28388 echo "${ECHO_T}not found" >&6
28391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28393 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
28394 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
28395 cat >conftest.
$ac_ext <<_ACEOF
28398 cat confdefs.h
>>conftest.
$ac_ext
28399 cat >>conftest.
$ac_ext <<_ACEOF
28400 /* end confdefs.h. */
28408 #if !defined(LesstifVersion) || LesstifVersion <= 0
28409 #error "Not Lesstif"
28416 rm -f conftest.
$ac_objext
28417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28418 (eval $ac_compile) 2>conftest.er1
28420 grep -v '^ *+' conftest.er1
>conftest.err
28422 cat conftest.err
>&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); } &&
28425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28427 (eval $ac_try) 2>&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); }; } &&
28431 { ac_try
='test -s conftest.$ac_objext'
28432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28433 (eval $ac_try) 2>&5
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); }; }; then
28438 cat >>confdefs.h
<<\_ACEOF
28439 #define __WXLESSTIF__ 1
28442 echo "$as_me:$LINENO: result: yes" >&5
28443 echo "${ECHO_T}yes" >&6
28446 echo "$as_me: failed program was:" >&5
28447 sed 's/^/| /' conftest.
$ac_ext >&5
28450 cat >>confdefs.h
<<\_ACEOF
28451 #define __WXLESSTIF__ 0
28454 echo "$as_me:$LINENO: result: no" >&5
28455 echo "${ECHO_T}no" >&6
28458 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28459 CFLAGS
=$save_CFLAGS
28461 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28466 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28467 if test "$wxUSE_LIBXPM" = "sys"; then
28468 echo "$as_me:$LINENO: checking for Xpm library" >&5
28469 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28472 for ac_dir
in $SEARCH_LIB /usr
/lib
;
28474 for ac_extension
in a so sl dylib dll.a
; do
28475 if test -f "$ac_dir/libXpm.$ac_extension"; then
28476 ac_find_libraries
=$ac_dir
28482 if test "$ac_find_libraries" != "" ; then
28484 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28486 if test $result = 0; then
28489 ac_path_to_link
=" -L$ac_find_libraries"
28492 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28493 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
28494 echo "${ECHO_T}found at $ac_find_libraries" >&6
28496 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28497 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28498 if test "${wx_cv_x11_xpm_h+set}" = set; then
28499 echo $ECHO_N "(cached) $ECHO_C" >&6
28502 save_CFLAGS
=$CFLAGS
28503 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28505 cat >conftest.
$ac_ext <<_ACEOF
28508 cat confdefs.h
>>conftest.
$ac_ext
28509 cat >>conftest.
$ac_ext <<_ACEOF
28510 /* end confdefs.h. */
28512 #include <X11/xpm.h>
28519 version = XpmLibraryVersion();
28525 rm -f conftest.
$ac_objext
28526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28527 (eval $ac_compile) 2>conftest.er1
28529 grep -v '^ *+' conftest.er1
>conftest.err
28531 cat conftest.err
>&5
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); } &&
28534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28536 (eval $ac_try) 2>&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); }; } &&
28540 { ac_try
='test -s conftest.$ac_objext'
28541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 (eval $ac_try) 2>&5
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); }; }; then
28546 wx_cv_x11_xpm_h
=yes
28548 echo "$as_me: failed program was:" >&5
28549 sed 's/^/| /' conftest.
$ac_ext >&5
28554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28556 CFLAGS
=$save_CFLAGS
28560 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
28561 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
28563 if test $wx_cv_x11_xpm_h = "yes"; then
28564 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
28565 cat >>confdefs.h
<<\_ACEOF
28566 #define wxHAVE_LIB_XPM 1
28570 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
28571 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
28577 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
28578 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
28579 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
28580 echo $ECHO_N "(cached) $ECHO_C" >&6
28582 ac_check_lib_save_LIBS
=$LIBS
28583 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
28584 cat >conftest.
$ac_ext <<_ACEOF
28587 cat confdefs.h
>>conftest.
$ac_ext
28588 cat >>conftest.
$ac_ext <<_ACEOF
28589 /* end confdefs.h. */
28591 /* Override any gcc2 internal prototype to avoid an error. */
28595 /* We use char because int might match the return type of a gcc2
28596 builtin and then its argument prototype would still apply. */
28597 char XShapeQueryExtension ();
28601 XShapeQueryExtension ();
28606 rm -f conftest.
$ac_objext conftest
$ac_exeext
28607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28608 (eval $ac_link) 2>conftest.er1
28610 grep -v '^ *+' conftest.er1
>conftest.err
28612 cat conftest.err
>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); } &&
28615 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; } &&
28621 { ac_try
='test -s conftest$ac_exeext'
28622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28623 (eval $ac_try) 2>&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); }; }; then
28627 ac_cv_lib_Xext_XShapeQueryExtension
=yes
28629 echo "$as_me: failed program was:" >&5
28630 sed 's/^/| /' conftest.
$ac_ext >&5
28632 ac_cv_lib_Xext_XShapeQueryExtension
=no
28634 rm -f conftest.err conftest.
$ac_objext \
28635 conftest
$ac_exeext conftest.
$ac_ext
28636 LIBS
=$ac_check_lib_save_LIBS
28638 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
28639 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
28640 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
28642 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
28648 if test "$wxHAVE_XEXT_LIB" = 1; then
28649 save_CFLAGS
="$CFLAGS"
28650 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28652 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
28653 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
28654 cat >conftest.
$ac_ext <<_ACEOF
28657 cat confdefs.h
>>conftest.
$ac_ext
28658 cat >>conftest.
$ac_ext <<_ACEOF
28659 /* end confdefs.h. */
28661 #include <X11/Xlib.h>
28662 #include <X11/extensions/shape.h>
28668 int dummy1, dummy2;
28669 XShapeQueryExtension((Display*)NULL,
28670 (int*)NULL, (int*)NULL);
28676 rm -f conftest.
$ac_objext
28677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28678 (eval $ac_compile) 2>conftest.er1
28680 grep -v '^ *+' conftest.er1
>conftest.err
28682 cat conftest.err
>&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); } &&
28685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28687 (eval $ac_try) 2>&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); }; } &&
28691 { ac_try
='test -s conftest.$ac_objext'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; }; then
28698 cat >>confdefs.h
<<\_ACEOF
28699 #define HAVE_XSHAPE 1
28702 echo "$as_me:$LINENO: result: found" >&5
28703 echo "${ECHO_T}found" >&6
28706 echo "$as_me: failed program was:" >&5
28707 sed 's/^/| /' conftest.
$ac_ext >&5
28710 echo "$as_me:$LINENO: result: not found" >&5
28711 echo "${ECHO_T}not found" >&6
28714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28715 CFLAGS
="$save_CFLAGS"
28720 if test "$wxUSE_MAC" = 1; then
28721 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
28722 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
28723 if test "$GCC" = yes; then
28724 echo "$as_me:$LINENO: result: gcc" >&5
28725 echo "${ECHO_T}gcc" >&6
28726 CPPFLAGS_PASCAL
="-fpascal-strings"
28727 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
28728 echo "$as_me:$LINENO: result: xlc" >&5
28729 echo "${ECHO_T}xlc" >&6
28730 CPPFLAGS_PASCAL
="-qmacpstr"
28732 echo "$as_me:$LINENO: result: none" >&5
28733 echo "${ECHO_T}none" >&6
28736 if test "x$wxUSE_UNIX" = "xyes"; then
28737 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
28739 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
28744 WXBASEPORT
="_carbon"
28747 if test "$wxUSE_COCOA" = 1; then
28752 if test "$wxUSE_PM" = 1; then
28755 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
28756 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
28757 if test "${wx_cv_spbcdata+set}" = set; then
28758 echo $ECHO_N "(cached) $ECHO_C" >&6
28761 cat >conftest.
$ac_ext <<_ACEOF
28764 cat confdefs.h
>>conftest.
$ac_ext
28765 cat >>conftest.
$ac_ext <<_ACEOF
28766 /* end confdefs.h. */
28781 rm -f conftest.
$ac_objext
28782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28783 (eval $ac_compile) 2>conftest.er1
28785 grep -v '^ *+' conftest.er1
>conftest.err
28787 cat conftest.err
>&5
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); } &&
28790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28792 (eval $ac_try) 2>&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); }; } &&
28796 { ac_try
='test -s conftest.$ac_objext'
28797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28798 (eval $ac_try) 2>&5
28800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28801 (exit $ac_status); }; }; then
28804 echo "$as_me: failed program was:" >&5
28805 sed 's/^/| /' conftest.
$ac_ext >&5
28810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28814 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
28815 echo "${ECHO_T}$wx_cv_spbcdata" >&6
28817 if test $wx_cv_spbcdata = "yes"; then
28818 cat >>confdefs.h
<<\_ACEOF
28819 #define HAVE_SPBCDATA 1
28825 if test "$TOOLKIT" = "PM" ; then
28828 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
28831 if test "$wxUSE_UNIVERSAL" = "yes"; then
28832 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
28836 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
28837 DISTDIR
="wx\$(TOOLKIT)"
28843 if test "$USE_WIN32" = 1 ; then
28847 GUIDIST
="BASE_DIST"
28857 if test "$TOOLKIT" != "MSW" ; then
28859 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
28861 if test "${ac_cv_header_sql_h+set}" = set; then
28862 echo "$as_me:$LINENO: checking for sql.h" >&5
28863 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28864 if test "${ac_cv_header_sql_h+set}" = set; then
28865 echo $ECHO_N "(cached) $ECHO_C" >&6
28867 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28868 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28870 # Is the header compilable?
28871 echo "$as_me:$LINENO: checking sql.h usability" >&5
28872 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
28873 cat >conftest.
$ac_ext <<_ACEOF
28876 cat confdefs.h
>>conftest.
$ac_ext
28877 cat >>conftest.
$ac_ext <<_ACEOF
28878 /* end confdefs.h. */
28879 $ac_includes_default
28882 rm -f conftest.
$ac_objext
28883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28884 (eval $ac_compile) 2>conftest.er1
28886 grep -v '^ *+' conftest.er1
>conftest.err
28888 cat conftest.err
>&5
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); } &&
28891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28893 (eval $ac_try) 2>&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); }; } &&
28897 { ac_try
='test -s conftest.$ac_objext'
28898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899 (eval $ac_try) 2>&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); }; }; then
28903 ac_header_compiler
=yes
28905 echo "$as_me: failed program was:" >&5
28906 sed 's/^/| /' conftest.
$ac_ext >&5
28908 ac_header_compiler
=no
28910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28911 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28912 echo "${ECHO_T}$ac_header_compiler" >&6
28914 # Is the header present?
28915 echo "$as_me:$LINENO: checking sql.h presence" >&5
28916 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
28917 cat >conftest.
$ac_ext <<_ACEOF
28920 cat confdefs.h
>>conftest.
$ac_ext
28921 cat >>conftest.
$ac_ext <<_ACEOF
28922 /* end confdefs.h. */
28925 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28926 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28928 grep -v '^ *+' conftest.er1
>conftest.err
28930 cat conftest.err
>&5
28931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 (exit $ac_status); } >/dev
/null
; then
28933 if test -s conftest.err
; then
28934 ac_cpp_err
=$ac_c_preproc_warn_flag
28935 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28942 if test -z "$ac_cpp_err"; then
28943 ac_header_preproc
=yes
28945 echo "$as_me: failed program was:" >&5
28946 sed 's/^/| /' conftest.
$ac_ext >&5
28948 ac_header_preproc
=no
28950 rm -f conftest.err conftest.
$ac_ext
28951 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28952 echo "${ECHO_T}$ac_header_preproc" >&6
28954 # So? What about this header?
28955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28957 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
28958 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28959 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
28960 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
28961 ac_header_preproc
=yes
28964 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
28965 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
28966 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
28967 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
28968 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
28969 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
28970 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
28971 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
28972 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
28973 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
28974 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
28975 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
28978 ## ----------------------------------------- ##
28979 ## Report this to wx-dev@lists.wxwidgets.org ##
28980 ## ----------------------------------------- ##
28983 sed "s/^/$as_me: WARNING: /" >&2
28986 echo "$as_me:$LINENO: checking for sql.h" >&5
28987 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
28988 if test "${ac_cv_header_sql_h+set}" = set; then
28989 echo $ECHO_N "(cached) $ECHO_C" >&6
28991 ac_cv_header_sql_h
=$ac_header_preproc
28993 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
28994 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
28997 if test $ac_cv_header_sql_h = yes; then
29002 if test "x$found_sql_h" = "x1" ; then
29003 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29004 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29005 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29006 echo $ECHO_N "(cached) $ECHO_C" >&6
29008 ac_check_lib_save_LIBS
=$LIBS
29009 LIBS
="-liodbc $LIBS"
29010 cat >conftest.
$ac_ext <<_ACEOF
29013 cat confdefs.h
>>conftest.
$ac_ext
29014 cat >>conftest.
$ac_ext <<_ACEOF
29015 /* end confdefs.h. */
29017 /* Override any gcc2 internal prototype to avoid an error. */
29021 /* We use char because int might match the return type of a gcc2
29022 builtin and then its argument prototype would still apply. */
29023 char SQLAllocEnv ();
29032 rm -f conftest.
$ac_objext conftest
$ac_exeext
29033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29034 (eval $ac_link) 2>conftest.er1
29036 grep -v '^ *+' conftest.er1
>conftest.err
29038 cat conftest.err
>&5
29039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29040 (exit $ac_status); } &&
29041 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29043 (eval $ac_try) 2>&5
29045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29046 (exit $ac_status); }; } &&
29047 { ac_try
='test -s conftest$ac_exeext'
29048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29049 (eval $ac_try) 2>&5
29051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29052 (exit $ac_status); }; }; then
29053 ac_cv_lib_iodbc_SQLAllocEnv
=yes
29055 echo "$as_me: failed program was:" >&5
29056 sed 's/^/| /' conftest.
$ac_ext >&5
29058 ac_cv_lib_iodbc_SQLAllocEnv
=no
29060 rm -f conftest.err conftest.
$ac_objext \
29061 conftest
$ac_exeext conftest.
$ac_ext
29062 LIBS
=$ac_check_lib_save_LIBS
29064 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29065 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29066 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29067 ODBC_LINK
=" -liodbc"
29070 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29071 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29072 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29073 echo $ECHO_N "(cached) $ECHO_C" >&6
29075 ac_check_lib_save_LIBS
=$LIBS
29076 LIBS
="-lunixodbc $LIBS"
29077 cat >conftest.
$ac_ext <<_ACEOF
29080 cat confdefs.h
>>conftest.
$ac_ext
29081 cat >>conftest.
$ac_ext <<_ACEOF
29082 /* end confdefs.h. */
29084 /* Override any gcc2 internal prototype to avoid an error. */
29088 /* We use char because int might match the return type of a gcc2
29089 builtin and then its argument prototype would still apply. */
29090 char SQLAllocEnv ();
29099 rm -f conftest.
$ac_objext conftest
$ac_exeext
29100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29101 (eval $ac_link) 2>conftest.er1
29103 grep -v '^ *+' conftest.er1
>conftest.err
29105 cat conftest.err
>&5
29106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29107 (exit $ac_status); } &&
29108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29110 (eval $ac_try) 2>&5
29112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29113 (exit $ac_status); }; } &&
29114 { ac_try
='test -s conftest$ac_exeext'
29115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29116 (eval $ac_try) 2>&5
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); }; }; then
29120 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29122 echo "$as_me: failed program was:" >&5
29123 sed 's/^/| /' conftest.
$ac_ext >&5
29125 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29127 rm -f conftest.err conftest.
$ac_objext \
29128 conftest
$ac_exeext conftest.
$ac_ext
29129 LIBS
=$ac_check_lib_save_LIBS
29131 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29132 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29133 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29134 ODBC_LINK
=" -lunixodbc"
29137 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29138 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29139 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29140 echo $ECHO_N "(cached) $ECHO_C" >&6
29142 ac_check_lib_save_LIBS
=$LIBS
29143 LIBS
="-lodbc $LIBS"
29144 cat >conftest.
$ac_ext <<_ACEOF
29147 cat confdefs.h
>>conftest.
$ac_ext
29148 cat >>conftest.
$ac_ext <<_ACEOF
29149 /* end confdefs.h. */
29151 /* Override any gcc2 internal prototype to avoid an error. */
29155 /* We use char because int might match the return type of a gcc2
29156 builtin and then its argument prototype would still apply. */
29157 char SQLAllocEnv ();
29166 rm -f conftest.
$ac_objext conftest
$ac_exeext
29167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29168 (eval $ac_link) 2>conftest.er1
29170 grep -v '^ *+' conftest.er1
>conftest.err
29172 cat conftest.err
>&5
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); } &&
29175 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29177 (eval $ac_try) 2>&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); }; } &&
29181 { ac_try
='test -s conftest$ac_exeext'
29182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29183 (eval $ac_try) 2>&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); }; }; then
29187 ac_cv_lib_odbc_SQLAllocEnv
=yes
29189 echo "$as_me: failed program was:" >&5
29190 sed 's/^/| /' conftest.
$ac_ext >&5
29192 ac_cv_lib_odbc_SQLAllocEnv
=no
29194 rm -f conftest.err conftest.
$ac_objext \
29195 conftest
$ac_exeext conftest.
$ac_ext
29196 LIBS
=$ac_check_lib_save_LIBS
29198 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29199 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29200 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29201 ODBC_LINK
=" -lodbc"
29211 if test "x$ODBC_LINK" = "x" ; then
29212 if test "$wxUSE_ODBC" = "sys" ; then
29213 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29214 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29215 { (exit 1); exit 1; }; }
29217 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29218 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29226 if test "$wxUSE_ODBC" = "builtin" ; then
29227 cat >>confdefs.h
<<\_ACEOF
29228 #define wxUSE_BUILTIN_IODBC 1
29234 if test "$wxUSE_ODBC" != "no" ; then
29235 cat >>confdefs.h
<<\_ACEOF
29236 #define wxUSE_ODBC 1
29239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
29241 WXODBCFLAG
="-D_IODBC_"
29245 if test "$wxUSE_DISPLAY" = "yes"; then
29246 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29247 echo "$as_me:$LINENO: checking for Xinerama" >&5
29248 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29251 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29253 for ac_extension
in a so sl dylib dll.a
; do
29254 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29255 ac_find_libraries
=$ac_dir
29261 if test "$ac_find_libraries" != "" ; then
29263 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29265 if test $result = 0; then
29268 ac_path_to_link
=" -L$ac_find_libraries"
29271 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29272 LDFLAGS
="$LDFLAGS $ac_path_to_link"
29274 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
29275 echo "$as_me:$LINENO: result: yes" >&5
29276 echo "${ECHO_T}yes" >&6
29278 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29279 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29282 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29284 for ac_extension
in a so sl dylib dll.a
; do
29285 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29286 ac_find_libraries
=$ac_dir
29292 if test "$ac_find_libraries" != "" ; then
29293 echo "$as_me:$LINENO: result: yes" >&5
29294 echo "${ECHO_T}yes" >&6
29296 for ac_header
in X
11/extensions
/xf86vmode.h
29298 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29299 echo "$as_me:$LINENO: checking for $ac_header" >&5
29300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29302 echo $ECHO_N "(cached) $ECHO_C" >&6
29304 cat >conftest.
$ac_ext <<_ACEOF
29307 cat confdefs.h
>>conftest.
$ac_ext
29308 cat >>conftest.
$ac_ext <<_ACEOF
29309 /* end confdefs.h. */
29311 #if HAVE_X11_XLIB_H
29312 #include <X11/Xlib.h>
29316 #include <$ac_header>
29318 rm -f conftest.
$ac_objext
29319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29320 (eval $ac_compile) 2>conftest.er1
29322 grep -v '^ *+' conftest.er1
>conftest.err
29324 cat conftest.err
>&5
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); } &&
29327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29329 (eval $ac_try) 2>&5
29331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29332 (exit $ac_status); }; } &&
29333 { ac_try
='test -s conftest.$ac_objext'
29334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29335 (eval $ac_try) 2>&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); }; }; then
29339 eval "$as_ac_Header=yes"
29341 echo "$as_me: failed program was:" >&5
29342 sed 's/^/| /' conftest.
$ac_ext >&5
29344 eval "$as_ac_Header=no"
29346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29351 cat >>confdefs.h
<<_ACEOF
29352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29355 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
29362 echo "$as_me:$LINENO: result: no" >&5
29363 echo "${ECHO_T}no" >&6
29367 echo "$as_me:$LINENO: result: no" >&5
29368 echo "${ECHO_T}no" >&6
29369 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
29370 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
29373 elif test "$wxUSE_MSW" = 1; then
29376 for ac_header
in multimon.h ddraw.h
29378 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29379 echo "$as_me:$LINENO: checking for $ac_header" >&5
29380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29382 echo $ECHO_N "(cached) $ECHO_C" >&6
29384 cat >conftest.
$ac_ext <<_ACEOF
29387 cat confdefs.h
>>conftest.
$ac_ext
29388 cat >>conftest.
$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29390 #include <windows.h>
29392 #include <$ac_header>
29394 rm -f conftest.
$ac_objext
29395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29396 (eval $ac_compile) 2>conftest.er1
29398 grep -v '^ *+' conftest.er1
>conftest.err
29400 cat conftest.err
>&5
29401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29402 (exit $ac_status); } &&
29403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29405 (eval $ac_try) 2>&5
29407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408 (exit $ac_status); }; } &&
29409 { ac_try
='test -s conftest.$ac_objext'
29410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29411 (eval $ac_try) 2>&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); }; }; then
29415 eval "$as_ac_Header=yes"
29417 echo "$as_me: failed program was:" >&5
29418 sed 's/^/| /' conftest.
$ac_ext >&5
29420 eval "$as_ac_Header=no"
29422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29427 cat >>confdefs.h
<<_ACEOF
29428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29434 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
29435 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
29446 if test "$wxUSE_OPENGL" = "yes"; then
29447 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
29448 OPENGL_LIBS
="-framework OpenGL -framework AGL"
29449 elif test "$wxUSE_MSW" = 1; then
29450 OPENGL_LIBS
="-lopengl32 -lglu32"
29455 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29457 if test -f "$ac_dir/GL/gl.h"; then
29458 ac_find_includes
=$ac_dir
29463 if test "$ac_find_includes" != "" ; then
29464 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29465 echo "${ECHO_T}found in $ac_find_includes" >&6
29467 if test "x$ac_find_includes" = "x/usr/include"; then
29468 ac_path_to_include
=""
29470 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
29472 if test $result = 0; then
29473 ac_path_to_include
=""
29475 ac_path_to_include
=" -I$ac_find_includes"
29479 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
29482 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29483 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29484 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29485 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29486 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29489 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29491 # Is the header compilable?
29492 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
29493 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
29494 cat >conftest.
$ac_ext <<_ACEOF
29497 cat confdefs.h
>>conftest.
$ac_ext
29498 cat >>conftest.
$ac_ext <<_ACEOF
29499 /* end confdefs.h. */
29500 $ac_includes_default
29503 rm -f conftest.
$ac_objext
29504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29505 (eval $ac_compile) 2>conftest.er1
29507 grep -v '^ *+' conftest.er1
>conftest.err
29509 cat conftest.err
>&5
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); } &&
29512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29514 (eval $ac_try) 2>&5
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); }; } &&
29518 { ac_try
='test -s conftest.$ac_objext'
29519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29520 (eval $ac_try) 2>&5
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); }; }; then
29524 ac_header_compiler
=yes
29526 echo "$as_me: failed program was:" >&5
29527 sed 's/^/| /' conftest.
$ac_ext >&5
29529 ac_header_compiler
=no
29531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29532 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29533 echo "${ECHO_T}$ac_header_compiler" >&6
29535 # Is the header present?
29536 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
29537 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
29538 cat >conftest.
$ac_ext <<_ACEOF
29541 cat confdefs.h
>>conftest.
$ac_ext
29542 cat >>conftest.
$ac_ext <<_ACEOF
29543 /* end confdefs.h. */
29546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29547 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29549 grep -v '^ *+' conftest.er1
>conftest.err
29551 cat conftest.err
>&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); } >/dev
/null
; then
29554 if test -s conftest.err
; then
29555 ac_cpp_err
=$ac_c_preproc_warn_flag
29556 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29563 if test -z "$ac_cpp_err"; then
29564 ac_header_preproc
=yes
29566 echo "$as_me: failed program was:" >&5
29567 sed 's/^/| /' conftest.
$ac_ext >&5
29569 ac_header_preproc
=no
29571 rm -f conftest.err conftest.
$ac_ext
29572 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29573 echo "${ECHO_T}$ac_header_preproc" >&6
29575 # So? What about this header?
29576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29578 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
29579 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29580 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
29581 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
29582 ac_header_preproc
=yes
29585 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
29586 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
29587 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
29588 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
29589 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
29590 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
29591 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
29592 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
29593 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
29594 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
29595 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
29596 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
29599 ## ----------------------------------------- ##
29600 ## Report this to wx-dev@lists.wxwidgets.org ##
29601 ## ----------------------------------------- ##
29604 sed "s/^/$as_me: WARNING: /" >&2
29607 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
29608 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
29609 if test "${ac_cv_header_GL_gl_h+set}" = set; then
29610 echo $ECHO_N "(cached) $ECHO_C" >&6
29612 ac_cv_header_GL_gl_h
=$ac_header_preproc
29614 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
29615 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
29618 if test $ac_cv_header_GL_gl_h = yes; then
29622 echo "$as_me:$LINENO: checking for -lGL" >&5
29623 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
29626 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29628 for ac_extension
in a so sl dylib dll.a
; do
29629 if test -f "$ac_dir/libGL.$ac_extension"; then
29630 ac_find_libraries
=$ac_dir
29636 if test "$ac_find_libraries" != "" ; then
29637 echo "$as_me:$LINENO: result: yes" >&5
29638 echo "${ECHO_T}yes" >&6
29641 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29643 if test $result = 0; then
29646 ac_path_to_link
=" -L$ac_find_libraries"
29649 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29650 LDFLAGS_GL
="$ac_path_to_link"
29653 echo "$as_me:$LINENO: checking for -lGLU" >&5
29654 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
29657 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29659 for ac_extension
in a so sl dylib dll.a
; do
29660 if test -f "$ac_dir/libGLU.$ac_extension"; then
29661 ac_find_libraries
=$ac_dir
29667 if test "$ac_find_libraries" != "" ; then
29669 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29671 if test $result = 0; then
29674 ac_path_to_link
=" -L$ac_find_libraries"
29677 if test "$ac_path_to_link" != " -L/usr/lib" -a \
29678 "$ac_path_to_link" != "$LDFLAGS_GL"; then
29679 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
29683 OPENGL_LIBS
="-lGL -lGLU"
29684 echo "$as_me:$LINENO: result: yes" >&5
29685 echo "${ECHO_T}yes" >&6
29687 echo "$as_me:$LINENO: result: no" >&5
29688 echo "${ECHO_T}no" >&6
29691 echo "$as_me:$LINENO: result: no" >&5
29692 echo "${ECHO_T}no" >&6
29695 if test "$found_gl" != 1; then
29696 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
29697 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
29700 for ac_dir
in $SEARCH_LIB /usr
/lib
;
29702 for ac_extension
in a so sl dylib dll.a
; do
29703 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
29704 ac_find_libraries
=$ac_dir
29710 if test "$ac_find_libraries" != "" ; then
29712 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29714 if test $result = 0; then
29717 ac_path_to_link
=" -L$ac_find_libraries"
29720 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
29721 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
29722 echo "$as_me:$LINENO: result: yes" >&5
29723 echo "${ECHO_T}yes" >&6
29725 echo "$as_me:$LINENO: result: no" >&5
29726 echo "${ECHO_T}no" >&6
29734 if test "x$OPENGL_LIBS" = "x"; then
29735 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
29736 echo "$as_me: error: OpenGL libraries not available" >&2;}
29737 { (exit 1); exit 1; }; }
29741 if test "$wxUSE_OPENGL" = "yes"; then
29743 cat >>confdefs.h
<<\_ACEOF
29744 #define wxUSE_OPENGL 1
29747 cat >>confdefs.h
<<\_ACEOF
29748 #define wxUSE_GLCANVAS 1
29751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
29756 if test -n "$TOOLKIT" ; then
29757 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29762 if test "$wxUSE_SHARED" = "yes"; then
29766 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
29767 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29772 if test "$wxUSE_SHARED" = "yes"; then
29775 found_versioning
=no
29778 if test $found_versioning = no
; then
29779 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
29780 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
29781 if test "${wx_cv_version_script+set}" = set; then
29782 echo $ECHO_N "(cached) $ECHO_C" >&6
29785 echo "VER_1 { *; };" >conftest.sym
29786 echo "int main() { return 0; }" >conftest.cpp
29789 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29790 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 (eval $ac_try) 2>&5
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); }; } ; then
29796 if test -s conftest.stderr
; then
29797 wx_cv_version_script
=no
29799 wx_cv_version_script
=yes
29802 wx_cv_version_script
=no
29805 if test $wx_cv_version_script = yes
29807 echo "struct B { virtual ~B() { } }; \
29808 struct D : public B { }; \
29809 void F() { D d; }" > conftest.cpp
29812 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29813 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29815 (eval $ac_try) 2>&5
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); }; } &&
29820 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29821 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29823 (eval $ac_try) 2>&5
29825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826 (exit $ac_status); }; }
29829 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29830 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; }
29837 wx_cv_version_script
=yes
29839 wx_cv_version_script
=no
29844 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29845 rm -f conftest1.output conftest2.output conftest3.output
29848 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
29849 echo "${ECHO_T}$wx_cv_version_script" >&6
29850 if test $wx_cv_version_script = yes ; then
29851 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
29857 *-*-linux* | *-*-gnu* )
29858 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29859 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29863 if test "$GCC" = yes ; then
29864 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
29866 saveLdflags
="$LDFLAGS"
29867 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29868 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
29869 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
29870 cat >conftest.
$ac_ext <<_ACEOF
29873 cat confdefs.h
>>conftest.
$ac_ext
29874 cat >>conftest.
$ac_ext <<_ACEOF
29875 /* end confdefs.h. */
29885 rm -f conftest.
$ac_objext conftest
$ac_exeext
29886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29887 (eval $ac_link) 2>conftest.er1
29889 grep -v '^ *+' conftest.er1
>conftest.err
29891 cat conftest.err
>&5
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); } &&
29894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29896 (eval $ac_try) 2>&5
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); }; } &&
29900 { ac_try
='test -s conftest$ac_exeext'
29901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29902 (eval $ac_try) 2>&5
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); }; }; then
29907 echo "$as_me:$LINENO: result: yes" >&5
29908 echo "${ECHO_T}yes" >&6
29909 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
29910 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29913 echo "$as_me: failed program was:" >&5
29914 sed 's/^/| /' conftest.
$ac_ext >&5
29917 echo "$as_me:$LINENO: result: no" >&5
29918 echo "${ECHO_T}no" >&6
29919 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
29920 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
29921 LDFLAGS
="$saveLdflags -Wl,-R,/"
29922 cat >conftest.
$ac_ext <<_ACEOF
29925 cat confdefs.h
>>conftest.
$ac_ext
29926 cat >>conftest.
$ac_ext <<_ACEOF
29927 /* end confdefs.h. */
29937 rm -f conftest.
$ac_objext conftest
$ac_exeext
29938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29939 (eval $ac_link) 2>conftest.er1
29941 grep -v '^ *+' conftest.er1
>conftest.err
29943 cat conftest.err
>&5
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); } &&
29946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29948 (eval $ac_try) 2>&5
29950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29951 (exit $ac_status); }; } &&
29952 { ac_try
='test -s conftest$ac_exeext'
29953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29954 (eval $ac_try) 2>&5
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); }; }; then
29959 echo "$as_me:$LINENO: result: yes" >&5
29960 echo "${ECHO_T}yes" >&6
29961 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
29962 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29965 echo "$as_me: failed program was:" >&5
29966 sed 's/^/| /' conftest.
$ac_ext >&5
29969 echo "$as_me:$LINENO: result: no" >&5
29970 echo "${ECHO_T}no" >&6
29973 rm -f conftest.err conftest.
$ac_objext \
29974 conftest
$ac_exeext conftest.
$ac_ext
29977 rm -f conftest.err conftest.
$ac_objext \
29978 conftest
$ac_exeext conftest.
$ac_ext
29979 LDFLAGS
="$saveLdflags"
29981 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
29982 WXCONFIG_RPATH
="-R\$libdir"
29986 powerpc
-*-darwin* )
29987 install_name_tool
=`which install_name_tool`
29988 if test "$install_name_tool" -a -x "$install_name_tool"; then
29989 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
29990 cat <<EOF >change-install-names
29992 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29993 inst_cmd="install_name_tool "
29994 for i in \${libnames} ; do
29995 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
29999 chmod +x change
-install-names
30003 *-*-cygwin* | *-*-mingw32* )
30004 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30008 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
30009 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
30014 if test $wxUSE_RPATH = "no"; then
30015 SAMPLES_RPATH_FLAG
=''
30016 SAMPLES_RPATH_POSTLINK
=''
30024 config_linkage_component
="-static"
30031 lib_unicode_suffix
=
30033 if test "$wxUSE_UNICODE" = "yes"; then
30034 lib_unicode_suffix
=u
30035 WX_CHARTYPE
="unicode"
30040 WX_DEBUGTYPE
="release"
30042 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30044 WX_DEBUGTYPE
="debug"
30048 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
30049 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
30052 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30056 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30058 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30060 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30062 if test "$cross_compiling" = "yes"; then
30063 HOST_SUFFIX
="-$host_alias"
30064 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
30065 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
30068 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30069 if test "${TOOLKIT_DIR}" = "os2"; then
30070 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30072 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30077 if test "$wxUSE_COCOA" = 1; then
30081 ac_cpp
='$CPP $CPPFLAGS'
30082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30088 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30089 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30090 cat >conftest.
$ac_ext <<_ACEOF
30093 cat confdefs.h
>>conftest.
$ac_ext
30094 cat >>conftest.
$ac_ext <<_ACEOF
30095 /* end confdefs.h. */
30096 #include <AppKit/NSEvent.h>
30097 #include <CoreFoundation/CoreFoundation.h>
30107 rm -f conftest.
$ac_objext
30108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30109 (eval $ac_compile) 2>conftest.er1
30111 grep -v '^ *+' conftest.er1
>conftest.err
30113 cat conftest.err
>&5
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); } &&
30116 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30118 (eval $ac_try) 2>&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); }; } &&
30122 { ac_try
='test -s conftest.$ac_objext'
30123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30124 (eval $ac_try) 2>&5
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); }; }; then
30128 echo "$as_me:$LINENO: result: no" >&5
30129 echo "${ECHO_T}no" >&6
30131 echo "$as_me: failed program was:" >&5
30132 sed 's/^/| /' conftest.
$ac_ext >&5
30134 echo "$as_me:$LINENO: result: yes" >&5
30135 echo "${ECHO_T}yes" >&6
30136 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30137 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30138 cat >conftest.
$ac_ext <<_ACEOF
30141 cat confdefs.h
>>conftest.
$ac_ext
30142 cat >>conftest.
$ac_ext <<_ACEOF
30143 /* end confdefs.h. */
30144 #define __Point__ 1
30145 #include <AppKit/NSEvent.h>
30146 #include <CoreFoundation/CoreFoundation.h>
30156 rm -f conftest.
$ac_objext
30157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30158 (eval $ac_compile) 2>conftest.er1
30160 grep -v '^ *+' conftest.er1
>conftest.err
30162 cat conftest.err
>&5
30163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30164 (exit $ac_status); } &&
30165 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30167 (eval $ac_try) 2>&5
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); }; } &&
30171 { ac_try
='test -s conftest.$ac_objext'
30172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30173 (eval $ac_try) 2>&5
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); }; }; then
30177 echo "$as_me:$LINENO: result: yes" >&5
30178 echo "${ECHO_T}yes" >&6
30179 cat >>confdefs.h
<<\_ACEOF
30180 #define __Point__ 1
30185 echo "$as_me: failed program was:" >&5
30186 sed 's/^/| /' conftest.
$ac_ext >&5
30188 { { echo "$as_me:$LINENO: error: no
30189 See \`config.log' for more details." >&5
30190 echo "$as_me: error: no
30191 See \`config.log' for more details." >&2;}
30192 { (exit 1); exit 1; }; }
30195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30200 ac_cpp
='$CPP $CPPFLAGS'
30201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30207 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30208 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
30209 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
30211 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
30213 # Extract the first word of "Rez", so it can be a program name with args.
30214 set dummy Rez
; ac_word
=$2
30215 echo "$as_me:$LINENO: checking for $ac_word" >&5
30216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30217 if test "${ac_cv_prog_RESCOMP+set}" = set; then
30218 echo $ECHO_N "(cached) $ECHO_C" >&6
30220 if test -n "$RESCOMP"; then
30221 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
30223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30224 for as_dir
in $PATH
30227 test -z "$as_dir" && as_dir
=.
30228 for ac_exec_ext
in '' $ac_executable_extensions; do
30229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30230 ac_cv_prog_RESCOMP
="Rez"
30231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30237 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
30240 RESCOMP
=$ac_cv_prog_RESCOMP
30241 if test -n "$RESCOMP"; then
30242 echo "$as_me:$LINENO: result: $RESCOMP" >&5
30243 echo "${ECHO_T}$RESCOMP" >&6
30245 echo "$as_me:$LINENO: result: no" >&5
30246 echo "${ECHO_T}no" >&6
30249 # Extract the first word of "DeRez", so it can be a program name with args.
30250 set dummy DeRez
; ac_word
=$2
30251 echo "$as_me:$LINENO: checking for $ac_word" >&5
30252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30253 if test "${ac_cv_prog_DEREZ+set}" = set; then
30254 echo $ECHO_N "(cached) $ECHO_C" >&6
30256 if test -n "$DEREZ"; then
30257 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
30259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30260 for as_dir
in $PATH
30263 test -z "$as_dir" && as_dir
=.
30264 for ac_exec_ext
in '' $ac_executable_extensions; do
30265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30266 ac_cv_prog_DEREZ
="DeRez"
30267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30273 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
30276 DEREZ
=$ac_cv_prog_DEREZ
30277 if test -n "$DEREZ"; then
30278 echo "$as_me:$LINENO: result: $DEREZ" >&5
30279 echo "${ECHO_T}$DEREZ" >&6
30281 echo "$as_me:$LINENO: result: no" >&5
30282 echo "${ECHO_T}no" >&6
30285 # Extract the first word of "SetFile", so it can be a program name with args.
30286 set dummy SetFile
; ac_word
=$2
30287 echo "$as_me:$LINENO: checking for $ac_word" >&5
30288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30289 if test "${ac_cv_prog_SETFILE+set}" = set; then
30290 echo $ECHO_N "(cached) $ECHO_C" >&6
30292 if test -n "$SETFILE"; then
30293 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
30295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30296 for as_dir
in $PATH
30299 test -z "$as_dir" && as_dir
=.
30300 for ac_exec_ext
in '' $ac_executable_extensions; do
30301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30302 ac_cv_prog_SETFILE
="SetFile"
30303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30309 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
30312 SETFILE
=$ac_cv_prog_SETFILE
30313 if test -n "$SETFILE"; then
30314 echo "$as_me:$LINENO: result: $SETFILE" >&5
30315 echo "${ECHO_T}$SETFILE" >&6
30317 echo "$as_me:$LINENO: result: no" >&5
30318 echo "${ECHO_T}no" >&6
30322 MACSETFILE
="\$(SETFILE)"
30324 if test "$wxUSE_MAC" = 1; then
30325 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
30327 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
30329 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
30330 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
30334 MACRESWXCONFIG
="@true"
30336 if test "$wxUSE_PM" = 1; then
30337 MACRESCOMP
="emxbind -ep"
30345 echo "$as_me:$LINENO: checking for mode_t" >&5
30346 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
30347 if test "${ac_cv_type_mode_t+set}" = set; then
30348 echo $ECHO_N "(cached) $ECHO_C" >&6
30350 cat >conftest.
$ac_ext <<_ACEOF
30353 cat confdefs.h
>>conftest.
$ac_ext
30354 cat >>conftest.
$ac_ext <<_ACEOF
30355 /* end confdefs.h. */
30356 $ac_includes_default
30362 if (sizeof (mode_t))
30368 rm -f conftest.
$ac_objext
30369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30370 (eval $ac_compile) 2>conftest.er1
30372 grep -v '^ *+' conftest.er1
>conftest.err
30374 cat conftest.err
>&5
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); } &&
30377 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30379 (eval $ac_try) 2>&5
30381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382 (exit $ac_status); }; } &&
30383 { ac_try
='test -s conftest.$ac_objext'
30384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30385 (eval $ac_try) 2>&5
30387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30388 (exit $ac_status); }; }; then
30389 ac_cv_type_mode_t
=yes
30391 echo "$as_me: failed program was:" >&5
30392 sed 's/^/| /' conftest.
$ac_ext >&5
30394 ac_cv_type_mode_t
=no
30396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30398 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
30399 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
30400 if test $ac_cv_type_mode_t = yes; then
30404 cat >>confdefs.h
<<_ACEOF
30410 echo "$as_me:$LINENO: checking for off_t" >&5
30411 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
30412 if test "${ac_cv_type_off_t+set}" = set; then
30413 echo $ECHO_N "(cached) $ECHO_C" >&6
30415 cat >conftest.
$ac_ext <<_ACEOF
30418 cat confdefs.h
>>conftest.
$ac_ext
30419 cat >>conftest.
$ac_ext <<_ACEOF
30420 /* end confdefs.h. */
30421 $ac_includes_default
30427 if (sizeof (off_t))
30433 rm -f conftest.
$ac_objext
30434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30435 (eval $ac_compile) 2>conftest.er1
30437 grep -v '^ *+' conftest.er1
>conftest.err
30439 cat conftest.err
>&5
30440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30441 (exit $ac_status); } &&
30442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30444 (eval $ac_try) 2>&5
30446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30447 (exit $ac_status); }; } &&
30448 { ac_try
='test -s conftest.$ac_objext'
30449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30450 (eval $ac_try) 2>&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); }; }; then
30454 ac_cv_type_off_t
=yes
30456 echo "$as_me: failed program was:" >&5
30457 sed 's/^/| /' conftest.
$ac_ext >&5
30459 ac_cv_type_off_t
=no
30461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30463 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
30464 echo "${ECHO_T}$ac_cv_type_off_t" >&6
30465 if test $ac_cv_type_off_t = yes; then
30469 cat >>confdefs.h
<<_ACEOF
30475 echo "$as_me:$LINENO: checking for pid_t" >&5
30476 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
30477 if test "${ac_cv_type_pid_t+set}" = set; then
30478 echo $ECHO_N "(cached) $ECHO_C" >&6
30480 cat >conftest.
$ac_ext <<_ACEOF
30483 cat confdefs.h
>>conftest.
$ac_ext
30484 cat >>conftest.
$ac_ext <<_ACEOF
30485 /* end confdefs.h. */
30486 $ac_includes_default
30492 if (sizeof (pid_t))
30498 rm -f conftest.
$ac_objext
30499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30500 (eval $ac_compile) 2>conftest.er1
30502 grep -v '^ *+' conftest.er1
>conftest.err
30504 cat conftest.err
>&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } &&
30507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30509 (eval $ac_try) 2>&5
30511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512 (exit $ac_status); }; } &&
30513 { ac_try
='test -s conftest.$ac_objext'
30514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30515 (eval $ac_try) 2>&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); }; }; then
30519 ac_cv_type_pid_t
=yes
30521 echo "$as_me: failed program was:" >&5
30522 sed 's/^/| /' conftest.
$ac_ext >&5
30524 ac_cv_type_pid_t
=no
30526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30528 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
30529 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
30530 if test $ac_cv_type_pid_t = yes; then
30534 cat >>confdefs.h
<<_ACEOF
30540 echo "$as_me:$LINENO: checking for size_t" >&5
30541 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
30542 if test "${ac_cv_type_size_t+set}" = set; then
30543 echo $ECHO_N "(cached) $ECHO_C" >&6
30545 cat >conftest.
$ac_ext <<_ACEOF
30548 cat confdefs.h
>>conftest.
$ac_ext
30549 cat >>conftest.
$ac_ext <<_ACEOF
30550 /* end confdefs.h. */
30551 $ac_includes_default
30557 if (sizeof (size_t))
30563 rm -f conftest.
$ac_objext
30564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30565 (eval $ac_compile) 2>conftest.er1
30567 grep -v '^ *+' conftest.er1
>conftest.err
30569 cat conftest.err
>&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); } &&
30572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30574 (eval $ac_try) 2>&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); }; } &&
30578 { ac_try
='test -s conftest.$ac_objext'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; }; then
30584 ac_cv_type_size_t
=yes
30586 echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.
$ac_ext >&5
30589 ac_cv_type_size_t
=no
30591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30593 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
30594 echo "${ECHO_T}$ac_cv_type_size_t" >&6
30595 if test $ac_cv_type_size_t = yes; then
30599 cat >>confdefs.h
<<_ACEOF
30600 #define size_t unsigned
30605 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
30606 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
30607 if test "${ac_cv_type_uid_t+set}" = set; then
30608 echo $ECHO_N "(cached) $ECHO_C" >&6
30610 cat >conftest.
$ac_ext <<_ACEOF
30613 cat confdefs.h
>>conftest.
$ac_ext
30614 cat >>conftest.
$ac_ext <<_ACEOF
30615 /* end confdefs.h. */
30616 #include <sys/types.h>
30619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
30620 $EGREP "uid_t" >/dev
/null
2>&1; then
30621 ac_cv_type_uid_t
=yes
30623 ac_cv_type_uid_t
=no
30628 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
30629 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
30630 if test $ac_cv_type_uid_t = no
; then
30632 cat >>confdefs.h
<<\_ACEOF
30637 cat >>confdefs.h
<<\_ACEOF
30644 echo "$as_me:$LINENO: checking for ssize_t" >&5
30645 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
30646 if test "${ac_cv_type_ssize_t+set}" = set; then
30647 echo $ECHO_N "(cached) $ECHO_C" >&6
30649 cat >conftest.
$ac_ext <<_ACEOF
30652 cat confdefs.h
>>conftest.
$ac_ext
30653 cat >>conftest.
$ac_ext <<_ACEOF
30654 /* end confdefs.h. */
30655 $ac_includes_default
30661 if (sizeof (ssize_t))
30667 rm -f conftest.
$ac_objext
30668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30669 (eval $ac_compile) 2>conftest.er1
30671 grep -v '^ *+' conftest.er1
>conftest.err
30673 cat conftest.err
>&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); } &&
30676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30678 (eval $ac_try) 2>&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); }; } &&
30682 { ac_try
='test -s conftest.$ac_objext'
30683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30684 (eval $ac_try) 2>&5
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); }; }; then
30688 ac_cv_type_ssize_t
=yes
30690 echo "$as_me: failed program was:" >&5
30691 sed 's/^/| /' conftest.
$ac_ext >&5
30693 ac_cv_type_ssize_t
=no
30695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30697 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
30698 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
30699 if test $ac_cv_type_ssize_t = yes; then
30701 cat >>confdefs.h
<<_ACEOF
30702 #define HAVE_SSIZE_T 1
30712 ac_cpp
='$CXXCPP $CPPFLAGS'
30713 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30714 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30715 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30717 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
30718 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
30719 if test "${wx_cv_size_t_is_uint+set}" = set; then
30720 echo $ECHO_N "(cached) $ECHO_C" >&6
30723 cat >conftest.
$ac_ext <<_ACEOF
30726 cat confdefs.h
>>conftest.
$ac_ext
30727 cat >>conftest.
$ac_ext <<_ACEOF
30728 /* end confdefs.h. */
30729 #include <stddef.h>
30736 struct Foo { void foo(size_t); void foo(unsigned int); };
30744 rm -f conftest.
$ac_objext
30745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30746 (eval $ac_compile) 2>conftest.er1
30748 grep -v '^ *+' conftest.er1
>conftest.err
30750 cat conftest.err
>&5
30751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30752 (exit $ac_status); } &&
30753 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30755 (eval $ac_try) 2>&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); }; } &&
30759 { ac_try
='test -s conftest.$ac_objext'
30760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30761 (eval $ac_try) 2>&5
30763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764 (exit $ac_status); }; }; then
30765 wx_cv_size_t_is_uint
=no
30767 echo "$as_me: failed program was:" >&5
30768 sed 's/^/| /' conftest.
$ac_ext >&5
30770 wx_cv_size_t_is_uint
=yes
30773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30777 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
30778 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
30780 if test "$wx_cv_size_t_is_uint" = "yes"; then
30781 cat >>confdefs.h
<<\_ACEOF
30782 #define wxSIZE_T_IS_UINT 1
30786 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
30787 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
30788 if test "${wx_cv_size_t_is_ulong+set}" = set; then
30789 echo $ECHO_N "(cached) $ECHO_C" >&6
30791 cat >conftest.
$ac_ext <<_ACEOF
30794 cat confdefs.h
>>conftest.
$ac_ext
30795 cat >>conftest.
$ac_ext <<_ACEOF
30796 /* end confdefs.h. */
30797 #include <stddef.h>
30804 struct Foo { void foo(size_t); void foo(unsigned long); };
30812 rm -f conftest.
$ac_objext
30813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30814 (eval $ac_compile) 2>conftest.er1
30816 grep -v '^ *+' conftest.er1
>conftest.err
30818 cat conftest.err
>&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } &&
30821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823 (eval $ac_try) 2>&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; } &&
30827 { ac_try
='test -s conftest.$ac_objext'
30828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829 (eval $ac_try) 2>&5
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); }; }; then
30833 wx_cv_size_t_is_ulong
=no
30835 echo "$as_me: failed program was:" >&5
30836 sed 's/^/| /' conftest.
$ac_ext >&5
30838 wx_cv_size_t_is_ulong
=yes
30841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30844 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
30845 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
30847 if test "$wx_cv_size_t_is_ulong" = "yes"; then
30848 cat >>confdefs.h
<<\_ACEOF
30849 #define wxSIZE_T_IS_ULONG 1
30856 ac_cpp
='$CPP $CPPFLAGS'
30857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30863 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
30864 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
30865 if test "${wx_cv_struct_pw_gecos+set}" = set; then
30866 echo $ECHO_N "(cached) $ECHO_C" >&6
30869 cat >conftest.
$ac_ext <<_ACEOF
30872 cat confdefs.h
>>conftest.
$ac_ext
30873 cat >>conftest.
$ac_ext <<_ACEOF
30874 /* end confdefs.h. */
30888 rm -f conftest.
$ac_objext
30889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30890 (eval $ac_compile) 2>conftest.er1
30892 grep -v '^ *+' conftest.er1
>conftest.err
30894 cat conftest.err
>&5
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); } &&
30897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30899 (eval $ac_try) 2>&5
30901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902 (exit $ac_status); }; } &&
30903 { ac_try
='test -s conftest.$ac_objext'
30904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30905 (eval $ac_try) 2>&5
30907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908 (exit $ac_status); }; }; then
30910 wx_cv_struct_pw_gecos
=yes
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.
$ac_ext >&5
30917 wx_cv_struct_pw_gecos
=no
30921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30925 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
30926 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
30928 if test "$wx_cv_struct_pw_gecos" = "yes"; then
30929 cat >>confdefs.h
<<\_ACEOF
30930 #define HAVE_PW_GECOS 1
30936 if test "$wxUSE_WCHAR_T" = "yes"; then
30937 cat >>confdefs.h
<<\_ACEOF
30938 #define wxUSE_WCHAR_T 1
30945 for ac_func
in wcslen
30947 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30948 echo "$as_me:$LINENO: checking for $ac_func" >&5
30949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30950 if eval "test \"\${$as_ac_var+set}\" = set"; then
30951 echo $ECHO_N "(cached) $ECHO_C" >&6
30953 cat >conftest.
$ac_ext <<_ACEOF
30956 cat confdefs.h
>>conftest.
$ac_ext
30957 cat >>conftest.
$ac_ext <<_ACEOF
30958 /* end confdefs.h. */
30959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30961 #define $ac_func innocuous_$ac_func
30963 /* System header to define __stub macros and hopefully few prototypes,
30964 which can conflict with char $ac_func (); below.
30965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30966 <limits.h> exists even on freestanding compilers. */
30969 # include <limits.h>
30971 # include <assert.h>
30976 /* Override any gcc2 internal prototype to avoid an error. */
30981 /* We use char because int might match the return type of a gcc2
30982 builtin and then its argument prototype would still apply. */
30984 /* The GNU C library defines this for functions which it implements
30985 to always fail with ENOSYS. Some functions are actually named
30986 something starting with __ and the normal name is an alias. */
30987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30990 char (*f) () = $ac_func;
30999 return f != $ac_func;
31004 rm -f conftest.
$ac_objext conftest
$ac_exeext
31005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31006 (eval $ac_link) 2>conftest.er1
31008 grep -v '^ *+' conftest.er1
>conftest.err
31010 cat conftest.err
>&5
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); } &&
31013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31015 (eval $ac_try) 2>&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); }; } &&
31019 { ac_try
='test -s conftest$ac_exeext'
31020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31021 (eval $ac_try) 2>&5
31023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024 (exit $ac_status); }; }; then
31025 eval "$as_ac_var=yes"
31027 echo "$as_me: failed program was:" >&5
31028 sed 's/^/| /' conftest.
$ac_ext >&5
31030 eval "$as_ac_var=no"
31032 rm -f conftest.err conftest.
$ac_objext \
31033 conftest
$ac_exeext conftest.
$ac_ext
31035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31037 if test `eval echo '${'$as_ac_var'}'` = yes; then
31038 cat >>confdefs.h
<<_ACEOF
31039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31046 if test "$WCSLEN_FOUND" = 0; then
31047 if test "$TOOLKIT" = "MSW"; then
31048 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31049 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31050 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31051 echo $ECHO_N "(cached) $ECHO_C" >&6
31053 ac_check_lib_save_LIBS
=$LIBS
31054 LIBS
="-lmsvcrt $LIBS"
31055 cat >conftest.
$ac_ext <<_ACEOF
31058 cat confdefs.h
>>conftest.
$ac_ext
31059 cat >>conftest.
$ac_ext <<_ACEOF
31060 /* end confdefs.h. */
31062 /* Override any gcc2 internal prototype to avoid an error. */
31066 /* We use char because int might match the return type of a gcc2
31067 builtin and then its argument prototype would still apply. */
31077 rm -f conftest.
$ac_objext conftest
$ac_exeext
31078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31079 (eval $ac_link) 2>conftest.er1
31081 grep -v '^ *+' conftest.er1
>conftest.err
31083 cat conftest.err
>&5
31084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31085 (exit $ac_status); } &&
31086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31088 (eval $ac_try) 2>&5
31090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31091 (exit $ac_status); }; } &&
31092 { ac_try
='test -s conftest$ac_exeext'
31093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31094 (eval $ac_try) 2>&5
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); }; }; then
31098 ac_cv_lib_msvcrt_wcslen
=yes
31100 echo "$as_me: failed program was:" >&5
31101 sed 's/^/| /' conftest.
$ac_ext >&5
31103 ac_cv_lib_msvcrt_wcslen
=no
31105 rm -f conftest.err conftest.
$ac_objext \
31106 conftest
$ac_exeext conftest.
$ac_ext
31107 LIBS
=$ac_check_lib_save_LIBS
31109 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31110 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31111 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31116 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31117 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31118 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31119 echo $ECHO_N "(cached) $ECHO_C" >&6
31121 ac_check_lib_save_LIBS
=$LIBS
31123 cat >conftest.
$ac_ext <<_ACEOF
31126 cat confdefs.h
>>conftest.
$ac_ext
31127 cat >>conftest.
$ac_ext <<_ACEOF
31128 /* end confdefs.h. */
31130 /* Override any gcc2 internal prototype to avoid an error. */
31134 /* We use char because int might match the return type of a gcc2
31135 builtin and then its argument prototype would still apply. */
31145 rm -f conftest.
$ac_objext conftest
$ac_exeext
31146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31147 (eval $ac_link) 2>conftest.er1
31149 grep -v '^ *+' conftest.er1
>conftest.err
31151 cat conftest.err
>&5
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); } &&
31154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156 (eval $ac_try) 2>&5
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; } &&
31160 { ac_try
='test -s conftest$ac_exeext'
31161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162 (eval $ac_try) 2>&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; }; then
31166 ac_cv_lib_w_wcslen
=yes
31168 echo "$as_me: failed program was:" >&5
31169 sed 's/^/| /' conftest.
$ac_ext >&5
31171 ac_cv_lib_w_wcslen
=no
31173 rm -f conftest.err conftest.
$ac_objext \
31174 conftest
$ac_exeext conftest.
$ac_ext
31175 LIBS
=$ac_check_lib_save_LIBS
31177 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31178 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31179 if test $ac_cv_lib_w_wcslen = yes; then
31189 if test "$WCSLEN_FOUND" = 1; then
31190 cat >>confdefs.h
<<\_ACEOF
31191 #define HAVE_WCSLEN 1
31196 if test "$USE_HPUX" = 1; then
31197 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31201 for ac_func
in wcsrtombs
31203 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31204 echo "$as_me:$LINENO: checking for $ac_func" >&5
31205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31206 if eval "test \"\${$as_ac_var+set}\" = set"; then
31207 echo $ECHO_N "(cached) $ECHO_C" >&6
31209 cat >conftest.
$ac_ext <<_ACEOF
31212 cat confdefs.h
>>conftest.
$ac_ext
31213 cat >>conftest.
$ac_ext <<_ACEOF
31214 /* end confdefs.h. */
31215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31217 #define $ac_func innocuous_$ac_func
31219 /* System header to define __stub macros and hopefully few prototypes,
31220 which can conflict with char $ac_func (); below.
31221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31222 <limits.h> exists even on freestanding compilers. */
31225 # include <limits.h>
31227 # include <assert.h>
31232 /* Override any gcc2 internal prototype to avoid an error. */
31237 /* We use char because int might match the return type of a gcc2
31238 builtin and then its argument prototype would still apply. */
31240 /* The GNU C library defines this for functions which it implements
31241 to always fail with ENOSYS. Some functions are actually named
31242 something starting with __ and the normal name is an alias. */
31243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31246 char (*f) () = $ac_func;
31255 return f != $ac_func;
31260 rm -f conftest.
$ac_objext conftest
$ac_exeext
31261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31262 (eval $ac_link) 2>conftest.er1
31264 grep -v '^ *+' conftest.er1
>conftest.err
31266 cat conftest.err
>&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } &&
31269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31271 (eval $ac_try) 2>&5
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); }; } &&
31275 { ac_try
='test -s conftest$ac_exeext'
31276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31277 (eval $ac_try) 2>&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); }; }; then
31281 eval "$as_ac_var=yes"
31283 echo "$as_me: failed program was:" >&5
31284 sed 's/^/| /' conftest.
$ac_ext >&5
31286 eval "$as_ac_var=no"
31288 rm -f conftest.err conftest.
$ac_objext \
31289 conftest
$ac_exeext conftest.
$ac_ext
31291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31293 if test `eval echo '${'$as_ac_var'}'` = yes; then
31294 cat >>confdefs.h
<<_ACEOF
31295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31302 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
31303 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
31309 ac_cpp
='$CXXCPP $CPPFLAGS'
31310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31316 for ac_func
in vsnprintf
31318 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31319 echo "$as_me:$LINENO: checking for $ac_func" >&5
31320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31321 if eval "test \"\${$as_ac_var+set}\" = set"; then
31322 echo $ECHO_N "(cached) $ECHO_C" >&6
31324 cat >conftest.
$ac_ext <<_ACEOF
31327 cat confdefs.h
>>conftest.
$ac_ext
31328 cat >>conftest.
$ac_ext <<_ACEOF
31329 /* end confdefs.h. */
31330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31332 #define $ac_func innocuous_$ac_func
31334 /* System header to define __stub macros and hopefully few prototypes,
31335 which can conflict with char $ac_func (); below.
31336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31337 <limits.h> exists even on freestanding compilers. */
31340 # include <limits.h>
31342 # include <assert.h>
31347 /* Override any gcc2 internal prototype to avoid an error. */
31352 /* We use char because int might match the return type of a gcc2
31353 builtin and then its argument prototype would still apply. */
31355 /* The GNU C library defines this for functions which it implements
31356 to always fail with ENOSYS. Some functions are actually named
31357 something starting with __ and the normal name is an alias. */
31358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31361 char (*f) () = $ac_func;
31370 return f != $ac_func;
31375 rm -f conftest.
$ac_objext conftest
$ac_exeext
31376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31377 (eval $ac_link) 2>conftest.er1
31379 grep -v '^ *+' conftest.er1
>conftest.err
31381 cat conftest.err
>&5
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); } &&
31384 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31386 (eval $ac_try) 2>&5
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); }; } &&
31390 { ac_try
='test -s conftest$ac_exeext'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; }; then
31396 eval "$as_ac_var=yes"
31398 echo "$as_me: failed program was:" >&5
31399 sed 's/^/| /' conftest.
$ac_ext >&5
31401 eval "$as_ac_var=no"
31403 rm -f conftest.err conftest.
$ac_objext \
31404 conftest
$ac_exeext conftest.
$ac_ext
31406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31408 if test `eval echo '${'$as_ac_var'}'` = yes; then
31409 cat >>confdefs.h
<<_ACEOF
31410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31417 if test "$ac_cv_func_vsnprintf" = "yes"; then
31418 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
31419 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
31420 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
31421 echo $ECHO_N "(cached) $ECHO_C" >&6
31424 cat >conftest.
$ac_ext <<_ACEOF
31427 cat confdefs.h
>>conftest.
$ac_ext
31428 cat >>conftest.
$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31432 #include <stdarg.h>
31440 vsnprintf(buf, 10u, "%s", ap);
31446 rm -f conftest.
$ac_objext
31447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31448 (eval $ac_compile) 2>conftest.er1
31450 grep -v '^ *+' conftest.er1
>conftest.err
31452 cat conftest.err
>&5
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); } &&
31455 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31457 (eval $ac_try) 2>&5
31459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31460 (exit $ac_status); }; } &&
31461 { ac_try
='test -s conftest.$ac_objext'
31462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31463 (eval $ac_try) 2>&5
31465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31466 (exit $ac_status); }; }; then
31467 wx_cv_func_vsnprintf_decl
=yes
31469 echo "$as_me: failed program was:" >&5
31470 sed 's/^/| /' conftest.
$ac_ext >&5
31473 cat >conftest.
$ac_ext <<_ACEOF
31476 cat confdefs.h
>>conftest.
$ac_ext
31477 cat >>conftest.
$ac_ext <<_ACEOF
31478 /* end confdefs.h. */
31481 #include <stdarg.h>
31482 using namespace std;
31490 vsnprintf(buf, 10u, "%s", ap);
31496 rm -f conftest.
$ac_objext
31497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31498 (eval $ac_compile) 2>conftest.er1
31500 grep -v '^ *+' conftest.er1
>conftest.err
31502 cat conftest.err
>&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); } &&
31505 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31507 (eval $ac_try) 2>&5
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); }; } &&
31511 { ac_try
='test -s conftest.$ac_objext'
31512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31513 (eval $ac_try) 2>&5
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); }; }; then
31517 wx_cv_func_vsnprintf_decl
=yes
31519 echo "$as_me: failed program was:" >&5
31520 sed 's/^/| /' conftest.
$ac_ext >&5
31522 wx_cv_func_vsnprintf_decl
=no
31525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31533 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
31534 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
31536 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
31537 cat >>confdefs.h
<<\_ACEOF
31538 #define HAVE_VSNPRINTF_DECL 1
31544 if test "$wxUSE_UNICODE" = yes; then
31551 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
31553 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31554 echo "$as_me:$LINENO: checking for $ac_func" >&5
31555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31556 if eval "test \"\${$as_ac_var+set}\" = set"; then
31557 echo $ECHO_N "(cached) $ECHO_C" >&6
31559 cat >conftest.
$ac_ext <<_ACEOF
31562 cat confdefs.h
>>conftest.
$ac_ext
31563 cat >>conftest.
$ac_ext <<_ACEOF
31564 /* end confdefs.h. */
31565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31567 #define $ac_func innocuous_$ac_func
31569 /* System header to define __stub macros and hopefully few prototypes,
31570 which can conflict with char $ac_func (); below.
31571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31572 <limits.h> exists even on freestanding compilers. */
31575 # include <limits.h>
31577 # include <assert.h>
31582 /* Override any gcc2 internal prototype to avoid an error. */
31587 /* We use char because int might match the return type of a gcc2
31588 builtin and then its argument prototype would still apply. */
31590 /* The GNU C library defines this for functions which it implements
31591 to always fail with ENOSYS. Some functions are actually named
31592 something starting with __ and the normal name is an alias. */
31593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31596 char (*f) () = $ac_func;
31605 return f != $ac_func;
31610 rm -f conftest.
$ac_objext conftest
$ac_exeext
31611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31612 (eval $ac_link) 2>conftest.er1
31614 grep -v '^ *+' conftest.er1
>conftest.err
31616 cat conftest.err
>&5
31617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31618 (exit $ac_status); } &&
31619 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31621 (eval $ac_try) 2>&5
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); }; } &&
31625 { ac_try
='test -s conftest$ac_exeext'
31626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31627 (eval $ac_try) 2>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; }; then
31631 eval "$as_ac_var=yes"
31633 echo "$as_me: failed program was:" >&5
31634 sed 's/^/| /' conftest.
$ac_ext >&5
31636 eval "$as_ac_var=no"
31638 rm -f conftest.err conftest.
$ac_objext \
31639 conftest
$ac_exeext conftest.
$ac_ext
31641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31643 if test `eval echo '${'$as_ac_var'}'` = yes; then
31644 cat >>confdefs.h
<<_ACEOF
31645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31652 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
31653 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
31654 cat >conftest.
$ac_ext <<_ACEOF
31657 cat confdefs.h
>>conftest.
$ac_ext
31658 cat >>conftest.
$ac_ext <<_ACEOF
31659 /* end confdefs.h. */
31669 rm -f conftest.
$ac_objext
31670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31671 (eval $ac_compile) 2>conftest.er1
31673 grep -v '^ *+' conftest.er1
>conftest.err
31675 cat conftest.err
>&5
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); } &&
31678 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31680 (eval $ac_try) 2>&5
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); }; } &&
31684 { ac_try
='test -s conftest.$ac_objext'
31685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31686 (eval $ac_try) 2>&5
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); }; }; then
31690 echo "$as_me:$LINENO: result: yes" >&5
31691 echo "${ECHO_T}yes" >&6
31692 cat >>confdefs.h
<<\_ACEOF
31693 #define HAVE__VSNWPRINTF 1
31697 echo "$as_me: failed program was:" >&5
31698 sed 's/^/| /' conftest.
$ac_ext >&5
31700 echo "$as_me:$LINENO: result: no" >&5
31701 echo "${ECHO_T}no" >&6
31703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
31707 ac_cpp
='$CPP $CPPFLAGS'
31708 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31709 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31710 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31713 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
31715 for ac_func
in fnmatch
31717 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31718 echo "$as_me:$LINENO: checking for $ac_func" >&5
31719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31720 if eval "test \"\${$as_ac_var+set}\" = set"; then
31721 echo $ECHO_N "(cached) $ECHO_C" >&6
31723 cat >conftest.
$ac_ext <<_ACEOF
31726 cat confdefs.h
>>conftest.
$ac_ext
31727 cat >>conftest.
$ac_ext <<_ACEOF
31728 /* end confdefs.h. */
31729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31731 #define $ac_func innocuous_$ac_func
31733 /* System header to define __stub macros and hopefully few prototypes,
31734 which can conflict with char $ac_func (); below.
31735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31736 <limits.h> exists even on freestanding compilers. */
31739 # include <limits.h>
31741 # include <assert.h>
31746 /* Override any gcc2 internal prototype to avoid an error. */
31751 /* We use char because int might match the return type of a gcc2
31752 builtin and then its argument prototype would still apply. */
31754 /* The GNU C library defines this for functions which it implements
31755 to always fail with ENOSYS. Some functions are actually named
31756 something starting with __ and the normal name is an alias. */
31757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31760 char (*f) () = $ac_func;
31769 return f != $ac_func;
31774 rm -f conftest.
$ac_objext conftest
$ac_exeext
31775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31776 (eval $ac_link) 2>conftest.er1
31778 grep -v '^ *+' conftest.er1
>conftest.err
31780 cat conftest.err
>&5
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); } &&
31783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31785 (eval $ac_try) 2>&5
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); }; } &&
31789 { ac_try
='test -s conftest$ac_exeext'
31790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31791 (eval $ac_try) 2>&5
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); }; }; then
31795 eval "$as_ac_var=yes"
31797 echo "$as_me: failed program was:" >&5
31798 sed 's/^/| /' conftest.
$ac_ext >&5
31800 eval "$as_ac_var=no"
31802 rm -f conftest.err conftest.
$ac_objext \
31803 conftest
$ac_exeext conftest.
$ac_ext
31805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31807 if test `eval echo '${'$as_ac_var'}'` = yes; then
31808 cat >>confdefs.h
<<_ACEOF
31809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31817 if test "$wxUSE_FILE" = "yes"; then
31819 for ac_func
in fsync
31821 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31822 echo "$as_me:$LINENO: checking for $ac_func" >&5
31823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31824 if eval "test \"\${$as_ac_var+set}\" = set"; then
31825 echo $ECHO_N "(cached) $ECHO_C" >&6
31827 cat >conftest.
$ac_ext <<_ACEOF
31830 cat confdefs.h
>>conftest.
$ac_ext
31831 cat >>conftest.
$ac_ext <<_ACEOF
31832 /* end confdefs.h. */
31833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31835 #define $ac_func innocuous_$ac_func
31837 /* System header to define __stub macros and hopefully few prototypes,
31838 which can conflict with char $ac_func (); below.
31839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31840 <limits.h> exists even on freestanding compilers. */
31843 # include <limits.h>
31845 # include <assert.h>
31850 /* Override any gcc2 internal prototype to avoid an error. */
31855 /* We use char because int might match the return type of a gcc2
31856 builtin and then its argument prototype would still apply. */
31858 /* The GNU C library defines this for functions which it implements
31859 to always fail with ENOSYS. Some functions are actually named
31860 something starting with __ and the normal name is an alias. */
31861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31864 char (*f) () = $ac_func;
31873 return f != $ac_func;
31878 rm -f conftest.
$ac_objext conftest
$ac_exeext
31879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31880 (eval $ac_link) 2>conftest.er1
31882 grep -v '^ *+' conftest.er1
>conftest.err
31884 cat conftest.err
>&5
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); } &&
31887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31889 (eval $ac_try) 2>&5
31891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892 (exit $ac_status); }; } &&
31893 { ac_try
='test -s conftest$ac_exeext'
31894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31895 (eval $ac_try) 2>&5
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); }; }; then
31899 eval "$as_ac_var=yes"
31901 echo "$as_me: failed program was:" >&5
31902 sed 's/^/| /' conftest.
$ac_ext >&5
31904 eval "$as_ac_var=no"
31906 rm -f conftest.err conftest.
$ac_objext \
31907 conftest
$ac_exeext conftest.
$ac_ext
31909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31911 if test `eval echo '${'$as_ac_var'}'` = yes; then
31912 cat >>confdefs.h
<<_ACEOF
31913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31922 if test "$TOOLKIT" != "MSW"; then
31928 ac_cpp
='$CXXCPP $CPPFLAGS'
31929 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31930 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31931 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31936 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
31937 if test "${with_libiconv_prefix+set}" = set; then
31938 withval
="$with_libiconv_prefix"
31940 for dir
in `echo "$withval" | tr : ' '`; do
31941 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
31942 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
31947 echo "$as_me:$LINENO: checking for iconv" >&5
31948 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
31949 if test "${am_cv_func_iconv+set}" = set; then
31950 echo $ECHO_N "(cached) $ECHO_C" >&6
31953 am_cv_func_iconv
="no, consider installing GNU libiconv"
31955 cat >conftest.
$ac_ext <<_ACEOF
31958 cat confdefs.h
>>conftest.
$ac_ext
31959 cat >>conftest.
$ac_ext <<_ACEOF
31960 /* end confdefs.h. */
31961 #include <stdlib.h>
31966 iconv_t cd = iconv_open("","");
31967 iconv(cd,NULL,NULL,NULL,NULL);
31973 rm -f conftest.
$ac_objext conftest
$ac_exeext
31974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31975 (eval $ac_link) 2>conftest.er1
31977 grep -v '^ *+' conftest.er1
>conftest.err
31979 cat conftest.err
>&5
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); } &&
31982 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31984 (eval $ac_try) 2>&5
31986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987 (exit $ac_status); }; } &&
31988 { ac_try
='test -s conftest$ac_exeext'
31989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31990 (eval $ac_try) 2>&5
31992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993 (exit $ac_status); }; }; then
31994 am_cv_func_iconv
=yes
31996 echo "$as_me: failed program was:" >&5
31997 sed 's/^/| /' conftest.
$ac_ext >&5
32000 rm -f conftest.err conftest.
$ac_objext \
32001 conftest
$ac_exeext conftest.
$ac_ext
32002 if test "$am_cv_func_iconv" != yes; then
32003 am_save_LIBS
="$LIBS"
32004 LIBS
="$LIBS -liconv"
32005 cat >conftest.
$ac_ext <<_ACEOF
32008 cat confdefs.h
>>conftest.
$ac_ext
32009 cat >>conftest.
$ac_ext <<_ACEOF
32010 /* end confdefs.h. */
32011 #include <stdlib.h>
32016 iconv_t cd = iconv_open("","");
32017 iconv(cd,NULL,NULL,NULL,NULL);
32023 rm -f conftest.
$ac_objext conftest
$ac_exeext
32024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32025 (eval $ac_link) 2>conftest.er1
32027 grep -v '^ *+' conftest.er1
>conftest.err
32029 cat conftest.err
>&5
32030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031 (exit $ac_status); } &&
32032 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32034 (eval $ac_try) 2>&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); }; } &&
32038 { ac_try
='test -s conftest$ac_exeext'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; }; then
32044 am_cv_lib_iconv
=yes
32045 am_cv_func_iconv
=yes
32047 echo "$as_me: failed program was:" >&5
32048 sed 's/^/| /' conftest.
$ac_ext >&5
32051 rm -f conftest.err conftest.
$ac_objext \
32052 conftest
$ac_exeext conftest.
$ac_ext
32053 LIBS
="$am_save_LIBS"
32057 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32058 echo "${ECHO_T}$am_cv_func_iconv" >&6
32059 if test "$am_cv_func_iconv" = yes; then
32061 cat >>confdefs.h
<<\_ACEOF
32062 #define HAVE_ICONV 1
32065 echo "$as_me:$LINENO: checking if iconv needs const" >&5
32066 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
32067 if test "${wx_cv_func_iconv_const+set}" = set; then
32068 echo $ECHO_N "(cached) $ECHO_C" >&6
32070 cat >conftest.
$ac_ext <<_ACEOF
32073 cat confdefs.h
>>conftest.
$ac_ext
32074 cat >>conftest.
$ac_ext <<_ACEOF
32075 /* end confdefs.h. */
32077 #include <stdlib.h>
32083 #if defined(__STDC__) || defined(__cplusplus)
32084 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
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_cxx_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 wx_cv_func_iconv_const
="no"
32120 echo "$as_me: failed program was:" >&5
32121 sed 's/^/| /' conftest.
$ac_ext >&5
32123 wx_cv_func_iconv_const
="yes"
32126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32129 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
32130 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
32133 if test "x$wx_cv_func_iconv_const" = "xyes"; then
32134 iconv_const
="const"
32138 cat >>confdefs.h
<<_ACEOF
32139 #define ICONV_CONST $iconv_const
32144 if test "$am_cv_lib_iconv" = yes; then
32149 LIBS
="$LIBICONV $LIBS"
32151 ac_cpp
='$CPP $CPPFLAGS'
32152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32157 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32159 for ac_func
in sigaction
32161 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32162 echo "$as_me:$LINENO: checking for $ac_func" >&5
32163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32164 if eval "test \"\${$as_ac_var+set}\" = set"; then
32165 echo $ECHO_N "(cached) $ECHO_C" >&6
32167 cat >conftest.
$ac_ext <<_ACEOF
32170 cat confdefs.h
>>conftest.
$ac_ext
32171 cat >>conftest.
$ac_ext <<_ACEOF
32172 /* end confdefs.h. */
32173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32175 #define $ac_func innocuous_$ac_func
32177 /* System header to define __stub macros and hopefully few prototypes,
32178 which can conflict with char $ac_func (); below.
32179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32180 <limits.h> exists even on freestanding compilers. */
32183 # include <limits.h>
32185 # include <assert.h>
32190 /* Override any gcc2 internal prototype to avoid an error. */
32195 /* We use char because int might match the return type of a gcc2
32196 builtin and then its argument prototype would still apply. */
32198 /* The GNU C library defines this for functions which it implements
32199 to always fail with ENOSYS. Some functions are actually named
32200 something starting with __ and the normal name is an alias. */
32201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32204 char (*f) () = $ac_func;
32213 return f != $ac_func;
32218 rm -f conftest.
$ac_objext conftest
$ac_exeext
32219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32220 (eval $ac_link) 2>conftest.er1
32222 grep -v '^ *+' conftest.er1
>conftest.err
32224 cat conftest.err
>&5
32225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226 (exit $ac_status); } &&
32227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32229 (eval $ac_try) 2>&5
32231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32232 (exit $ac_status); }; } &&
32233 { ac_try
='test -s conftest$ac_exeext'
32234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32235 (eval $ac_try) 2>&5
32237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32238 (exit $ac_status); }; }; then
32239 eval "$as_ac_var=yes"
32241 echo "$as_me: failed program was:" >&5
32242 sed 's/^/| /' conftest.
$ac_ext >&5
32244 eval "$as_ac_var=no"
32246 rm -f conftest.err conftest.
$ac_objext \
32247 conftest
$ac_exeext conftest.
$ac_ext
32249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32251 if test `eval echo '${'$as_ac_var'}'` = yes; then
32252 cat >>confdefs.h
<<_ACEOF
32253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32260 if test "$ac_cv_func_sigaction" = "no"; then
32261 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
32262 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
32263 wxUSE_ON_FATAL_EXCEPTION
=no
32266 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32270 ac_cpp
='$CXXCPP $CPPFLAGS'
32271 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32272 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32273 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32276 echo "$as_me:$LINENO: checking for sa_handler type" >&5
32277 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
32278 if test "${wx_cv_type_sa_handler+set}" = set; then
32279 echo $ECHO_N "(cached) $ECHO_C" >&6
32282 cat >conftest.
$ac_ext <<_ACEOF
32285 cat confdefs.h
>>conftest.
$ac_ext
32286 cat >>conftest.
$ac_ext <<_ACEOF
32287 /* end confdefs.h. */
32288 #include <signal.h>
32293 extern void testSigHandler(int);
32295 struct sigaction sa;
32296 sa.sa_handler = testSigHandler;
32302 rm -f conftest.
$ac_objext
32303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32304 (eval $ac_compile) 2>conftest.er1
32306 grep -v '^ *+' conftest.er1
>conftest.err
32308 cat conftest.err
>&5
32309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32310 (exit $ac_status); } &&
32311 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32313 (eval $ac_try) 2>&5
32315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316 (exit $ac_status); }; } &&
32317 { ac_try
='test -s conftest.$ac_objext'
32318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32319 (eval $ac_try) 2>&5
32321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322 (exit $ac_status); }; }; then
32324 wx_cv_type_sa_handler
=int
32327 echo "$as_me: failed program was:" >&5
32328 sed 's/^/| /' conftest.
$ac_ext >&5
32331 wx_cv_type_sa_handler
=void
32334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32337 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
32338 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
32341 ac_cpp
='$CPP $CPPFLAGS'
32342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32347 cat >>confdefs.h
<<_ACEOF
32348 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
32354 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
32358 ac_cpp
='$CXXCPP $CPPFLAGS'
32359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32364 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
32365 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
32366 if test "${wx_cv_func_backtrace+set}" = set; then
32367 echo $ECHO_N "(cached) $ECHO_C" >&6
32370 cat >conftest.
$ac_ext <<_ACEOF
32373 cat confdefs.h
>>conftest.
$ac_ext
32374 cat >>conftest.
$ac_ext <<_ACEOF
32375 /* end confdefs.h. */
32376 #include <execinfo.h>
32384 backtrace(trace, 1);
32385 messages = backtrace_symbols(trace, 1);
32391 rm -f conftest.
$ac_objext
32392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32393 (eval $ac_compile) 2>conftest.er1
32395 grep -v '^ *+' conftest.er1
>conftest.err
32397 cat conftest.err
>&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); } &&
32400 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32402 (eval $ac_try) 2>&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); }; } &&
32406 { ac_try
='test -s conftest.$ac_objext'
32407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32408 (eval $ac_try) 2>&5
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); }; }; then
32412 wx_cv_func_backtrace
=yes
32414 echo "$as_me: failed program was:" >&5
32415 sed 's/^/| /' conftest.
$ac_ext >&5
32417 wx_cv_func_backtrace
=no
32420 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32424 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
32425 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
32428 if test "$wx_cv_func_backtrace" = "no"; then
32429 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
32430 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
32431 wxUSE_STACKWALKER
=no
32433 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
32434 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
32435 if test "${wx_cv_func_cxa_demangle+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32439 cat >conftest.
$ac_ext <<_ACEOF
32442 cat confdefs.h
>>conftest.
$ac_ext
32443 cat >>conftest.
$ac_ext <<_ACEOF
32444 /* end confdefs.h. */
32445 #include <cxxabi.h>
32451 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
32457 rm -f conftest.
$ac_objext conftest
$ac_exeext
32458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32459 (eval $ac_link) 2>conftest.er1
32461 grep -v '^ *+' conftest.er1
>conftest.err
32463 cat conftest.err
>&5
32464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465 (exit $ac_status); } &&
32466 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32468 (eval $ac_try) 2>&5
32470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32471 (exit $ac_status); }; } &&
32472 { ac_try
='test -s conftest$ac_exeext'
32473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32474 (eval $ac_try) 2>&5
32476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32477 (exit $ac_status); }; }; then
32478 wx_cv_func_cxa_demangle
=yes
32480 echo "$as_me: failed program was:" >&5
32481 sed 's/^/| /' conftest.
$ac_ext >&5
32483 wx_cv_func_cxa_demangle
=no
32486 rm -f conftest.err conftest.
$ac_objext \
32487 conftest
$ac_exeext conftest.
$ac_ext
32491 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
32492 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
32494 if test "$wx_cv_func_cxa_demangle" = "yes"; then
32495 cat >>confdefs.h
<<\_ACEOF
32496 #define HAVE_CXA_DEMANGLE 1
32503 ac_cpp
='$CPP $CPPFLAGS'
32504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32510 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
32511 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
32512 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
32513 wxUSE_STACKWALKER
=no
32519 for ac_func
in mkstemp mktemp
32521 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32522 echo "$as_me:$LINENO: checking for $ac_func" >&5
32523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32524 if eval "test \"\${$as_ac_var+set}\" = set"; then
32525 echo $ECHO_N "(cached) $ECHO_C" >&6
32527 cat >conftest.
$ac_ext <<_ACEOF
32530 cat confdefs.h
>>conftest.
$ac_ext
32531 cat >>conftest.
$ac_ext <<_ACEOF
32532 /* end confdefs.h. */
32533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32535 #define $ac_func innocuous_$ac_func
32537 /* System header to define __stub macros and hopefully few prototypes,
32538 which can conflict with char $ac_func (); below.
32539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32540 <limits.h> exists even on freestanding compilers. */
32543 # include <limits.h>
32545 # include <assert.h>
32550 /* Override any gcc2 internal prototype to avoid an error. */
32555 /* We use char because int might match the return type of a gcc2
32556 builtin and then its argument prototype would still apply. */
32558 /* The GNU C library defines this for functions which it implements
32559 to always fail with ENOSYS. Some functions are actually named
32560 something starting with __ and the normal name is an alias. */
32561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32564 char (*f) () = $ac_func;
32573 return f != $ac_func;
32578 rm -f conftest.
$ac_objext conftest
$ac_exeext
32579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32580 (eval $ac_link) 2>conftest.er1
32582 grep -v '^ *+' conftest.er1
>conftest.err
32584 cat conftest.err
>&5
32585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586 (exit $ac_status); } &&
32587 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32589 (eval $ac_try) 2>&5
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); }; } &&
32593 { ac_try
='test -s conftest$ac_exeext'
32594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595 (eval $ac_try) 2>&5
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); }; }; then
32599 eval "$as_ac_var=yes"
32601 echo "$as_me: failed program was:" >&5
32602 sed 's/^/| /' conftest.
$ac_ext >&5
32604 eval "$as_ac_var=no"
32606 rm -f conftest.err conftest.
$ac_objext \
32607 conftest
$ac_exeext conftest.
$ac_ext
32609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32611 if test `eval echo '${'$as_ac_var'}'` = yes; then
32612 cat >>confdefs.h
<<_ACEOF
32613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32620 echo "$as_me:$LINENO: checking for statfs" >&5
32621 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
32622 if test "${wx_cv_func_statfs+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32625 cat >conftest.
$ac_ext <<_ACEOF
32628 cat confdefs.h
>>conftest.
$ac_ext
32629 cat >>conftest.
$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32632 #if defined(__BSD__)
32633 #include <sys/param.h>
32634 #include <sys/mount.h>
32636 #include <sys/vfs.h>
32654 rm -f conftest.
$ac_objext
32655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32656 (eval $ac_compile) 2>conftest.er1
32658 grep -v '^ *+' conftest.er1
>conftest.err
32660 cat conftest.err
>&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } &&
32663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665 (eval $ac_try) 2>&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); }; } &&
32669 { ac_try
='test -s conftest.$ac_objext'
32670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32671 (eval $ac_try) 2>&5
32673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32674 (exit $ac_status); }; }; then
32676 wx_cv_func_statfs
=yes
32679 echo "$as_me: failed program was:" >&5
32680 sed 's/^/| /' conftest.
$ac_ext >&5
32683 wx_cv_func_statfs
=no
32687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32690 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
32691 echo "${ECHO_T}$wx_cv_func_statfs" >&6
32693 if test "$wx_cv_func_statfs" = "yes"; then
32694 wx_cv_type_statvfs_t
="struct statfs"
32695 cat >>confdefs.h
<<\_ACEOF
32696 #define HAVE_STATFS 1
32700 echo "$as_me:$LINENO: checking for statvfs" >&5
32701 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
32702 if test "${wx_cv_func_statvfs+set}" = set; then
32703 echo $ECHO_N "(cached) $ECHO_C" >&6
32705 cat >conftest.
$ac_ext <<_ACEOF
32708 cat confdefs.h
>>conftest.
$ac_ext
32709 cat >>conftest.
$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32712 #include <stddef.h>
32713 #include <sys/statvfs.h>
32719 statvfs("/", NULL);
32725 rm -f conftest.
$ac_objext
32726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32727 (eval $ac_compile) 2>conftest.er1
32729 grep -v '^ *+' conftest.er1
>conftest.err
32731 cat conftest.err
>&5
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); } &&
32734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32736 (eval $ac_try) 2>&5
32738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32739 (exit $ac_status); }; } &&
32740 { ac_try
='test -s conftest.$ac_objext'
32741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32742 (eval $ac_try) 2>&5
32744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32745 (exit $ac_status); }; }; then
32746 wx_cv_func_statvfs
=yes
32748 echo "$as_me: failed program was:" >&5
32749 sed 's/^/| /' conftest.
$ac_ext >&5
32751 wx_cv_func_statvfs
=no
32754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32757 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
32758 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
32760 if test "$wx_cv_func_statvfs" = "yes"; then
32764 ac_cpp
='$CXXCPP $CPPFLAGS'
32765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32770 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
32771 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
32772 if test "${wx_cv_type_statvfs_t+set}" = set; then
32773 echo $ECHO_N "(cached) $ECHO_C" >&6
32775 cat >conftest.
$ac_ext <<_ACEOF
32778 cat confdefs.h
>>conftest.
$ac_ext
32779 cat >>conftest.
$ac_ext <<_ACEOF
32780 /* end confdefs.h. */
32782 #include <sys/statvfs.h>
32799 rm -f conftest.
$ac_objext
32800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32801 (eval $ac_compile) 2>conftest.er1
32803 grep -v '^ *+' conftest.er1
>conftest.err
32805 cat conftest.err
>&5
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); } &&
32808 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32810 (eval $ac_try) 2>&5
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); }; } &&
32814 { ac_try
='test -s conftest.$ac_objext'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; }; then
32820 wx_cv_type_statvfs_t
=statvfs_t
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.
$ac_ext >&5
32826 cat >conftest.
$ac_ext <<_ACEOF
32829 cat confdefs.h
>>conftest.
$ac_ext
32830 cat >>conftest.
$ac_ext <<_ACEOF
32831 /* end confdefs.h. */
32833 #include <sys/statvfs.h>
32850 rm -f conftest.
$ac_objext
32851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32852 (eval $ac_compile) 2>conftest.er1
32854 grep -v '^ *+' conftest.er1
>conftest.err
32856 cat conftest.err
>&5
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); } &&
32859 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32861 (eval $ac_try) 2>&5
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); }; } &&
32865 { ac_try
='test -s conftest.$ac_objext'
32866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32867 (eval $ac_try) 2>&5
32869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870 (exit $ac_status); }; }; then
32871 wx_cv_type_statvfs_t
="struct statvfs"
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.
$ac_ext >&5
32876 wx_cv_type_statvfs_t
="unknown"
32879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32886 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
32887 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
32890 ac_cpp
='$CPP $CPPFLAGS'
32891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32896 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32897 cat >>confdefs.h
<<\_ACEOF
32898 #define HAVE_STATVFS 1
32903 wx_cv_type_statvfs_t
="unknown"
32907 if test "$wx_cv_type_statvfs_t" != "unknown"; then
32908 cat >>confdefs.h
<<_ACEOF
32909 #define WX_STATFS_T $wx_cv_type_statvfs_t
32913 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
32914 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
32917 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32920 for ac_func
in fcntl flock
32922 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32923 echo "$as_me:$LINENO: checking for $ac_func" >&5
32924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32925 if eval "test \"\${$as_ac_var+set}\" = set"; then
32926 echo $ECHO_N "(cached) $ECHO_C" >&6
32928 cat >conftest.
$ac_ext <<_ACEOF
32931 cat confdefs.h
>>conftest.
$ac_ext
32932 cat >>conftest.
$ac_ext <<_ACEOF
32933 /* end confdefs.h. */
32934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32936 #define $ac_func innocuous_$ac_func
32938 /* System header to define __stub macros and hopefully few prototypes,
32939 which can conflict with char $ac_func (); below.
32940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32941 <limits.h> exists even on freestanding compilers. */
32944 # include <limits.h>
32946 # include <assert.h>
32951 /* Override any gcc2 internal prototype to avoid an error. */
32956 /* We use char because int might match the return type of a gcc2
32957 builtin and then its argument prototype would still apply. */
32959 /* The GNU C library defines this for functions which it implements
32960 to always fail with ENOSYS. Some functions are actually named
32961 something starting with __ and the normal name is an alias. */
32962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32965 char (*f) () = $ac_func;
32974 return f != $ac_func;
32979 rm -f conftest.
$ac_objext conftest
$ac_exeext
32980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32981 (eval $ac_link) 2>conftest.er1
32983 grep -v '^ *+' conftest.er1
>conftest.err
32985 cat conftest.err
>&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); } &&
32988 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; } &&
32994 { ac_try
='test -s conftest$ac_exeext'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; }; then
33000 eval "$as_ac_var=yes"
33002 echo "$as_me: failed program was:" >&5
33003 sed 's/^/| /' conftest.
$ac_ext >&5
33005 eval "$as_ac_var=no"
33007 rm -f conftest.err conftest.
$ac_objext \
33008 conftest
$ac_exeext conftest.
$ac_ext
33010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33012 if test `eval echo '${'$as_ac_var'}'` = yes; then
33013 cat >>confdefs.h
<<_ACEOF
33014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33021 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
33022 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
33023 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
33024 wxUSE_SNGLINST_CHECKER
=no
33029 for ac_func
in timegm
33031 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33032 echo "$as_me:$LINENO: checking for $ac_func" >&5
33033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33034 if eval "test \"\${$as_ac_var+set}\" = set"; then
33035 echo $ECHO_N "(cached) $ECHO_C" >&6
33037 cat >conftest.
$ac_ext <<_ACEOF
33040 cat confdefs.h
>>conftest.
$ac_ext
33041 cat >>conftest.
$ac_ext <<_ACEOF
33042 /* end confdefs.h. */
33043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33045 #define $ac_func innocuous_$ac_func
33047 /* System header to define __stub macros and hopefully few prototypes,
33048 which can conflict with char $ac_func (); below.
33049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33050 <limits.h> exists even on freestanding compilers. */
33053 # include <limits.h>
33055 # include <assert.h>
33060 /* Override any gcc2 internal prototype to avoid an error. */
33065 /* We use char because int might match the return type of a gcc2
33066 builtin and then its argument prototype would still apply. */
33068 /* The GNU C library defines this for functions which it implements
33069 to always fail with ENOSYS. Some functions are actually named
33070 something starting with __ and the normal name is an alias. */
33071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33074 char (*f) () = $ac_func;
33083 return f != $ac_func;
33088 rm -f conftest.
$ac_objext conftest
$ac_exeext
33089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33090 (eval $ac_link) 2>conftest.er1
33092 grep -v '^ *+' conftest.er1
>conftest.err
33094 cat conftest.err
>&5
33095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096 (exit $ac_status); } &&
33097 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33099 (eval $ac_try) 2>&5
33101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33102 (exit $ac_status); }; } &&
33103 { ac_try
='test -s conftest$ac_exeext'
33104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33105 (eval $ac_try) 2>&5
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); }; }; then
33109 eval "$as_ac_var=yes"
33111 echo "$as_me: failed program was:" >&5
33112 sed 's/^/| /' conftest.
$ac_ext >&5
33114 eval "$as_ac_var=no"
33116 rm -f conftest.err conftest.
$ac_objext \
33117 conftest
$ac_exeext conftest.
$ac_ext
33119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33121 if test `eval echo '${'$as_ac_var'}'` = yes; then
33122 cat >>confdefs.h
<<_ACEOF
33123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33132 for ac_func
in putenv setenv
33134 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33135 echo "$as_me:$LINENO: checking for $ac_func" >&5
33136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33137 if eval "test \"\${$as_ac_var+set}\" = set"; then
33138 echo $ECHO_N "(cached) $ECHO_C" >&6
33140 cat >conftest.
$ac_ext <<_ACEOF
33143 cat confdefs.h
>>conftest.
$ac_ext
33144 cat >>conftest.
$ac_ext <<_ACEOF
33145 /* end confdefs.h. */
33146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33148 #define $ac_func innocuous_$ac_func
33150 /* System header to define __stub macros and hopefully few prototypes,
33151 which can conflict with char $ac_func (); below.
33152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33153 <limits.h> exists even on freestanding compilers. */
33156 # include <limits.h>
33158 # include <assert.h>
33163 /* Override any gcc2 internal prototype to avoid an error. */
33168 /* We use char because int might match the return type of a gcc2
33169 builtin and then its argument prototype would still apply. */
33171 /* The GNU C library defines this for functions which it implements
33172 to always fail with ENOSYS. Some functions are actually named
33173 something starting with __ and the normal name is an alias. */
33174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33177 char (*f) () = $ac_func;
33186 return f != $ac_func;
33191 rm -f conftest.
$ac_objext conftest
$ac_exeext
33192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33193 (eval $ac_link) 2>conftest.er1
33195 grep -v '^ *+' conftest.er1
>conftest.err
33197 cat conftest.err
>&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } &&
33200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33202 (eval $ac_try) 2>&5
33204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33205 (exit $ac_status); }; } &&
33206 { ac_try
='test -s conftest$ac_exeext'
33207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33208 (eval $ac_try) 2>&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); }; }; then
33212 eval "$as_ac_var=yes"
33214 echo "$as_me: failed program was:" >&5
33215 sed 's/^/| /' conftest.
$ac_ext >&5
33217 eval "$as_ac_var=no"
33219 rm -f conftest.err conftest.
$ac_objext \
33220 conftest
$ac_exeext conftest.
$ac_ext
33222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33224 if test `eval echo '${'$as_ac_var'}'` = yes; then
33225 cat >>confdefs.h
<<_ACEOF
33226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33233 HAVE_SOME_SLEEP_FUNC
=0
33234 if test "$USE_BEOS" = 1; then
33235 cat >>confdefs.h
<<\_ACEOF
33236 #define HAVE_SLEEP 1
33239 HAVE_SOME_SLEEP_FUNC
=1
33242 if test "$USE_DARWIN" = 1; then
33243 cat >>confdefs.h
<<\_ACEOF
33244 #define HAVE_USLEEP 1
33247 HAVE_SOME_SLEEP_FUNC
=1
33250 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
33253 for ac_func
in nanosleep
33255 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33256 echo "$as_me:$LINENO: checking for $ac_func" >&5
33257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33258 if eval "test \"\${$as_ac_var+set}\" = set"; then
33259 echo $ECHO_N "(cached) $ECHO_C" >&6
33261 cat >conftest.
$ac_ext <<_ACEOF
33264 cat confdefs.h
>>conftest.
$ac_ext
33265 cat >>conftest.
$ac_ext <<_ACEOF
33266 /* end confdefs.h. */
33267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33269 #define $ac_func innocuous_$ac_func
33271 /* System header to define __stub macros and hopefully few prototypes,
33272 which can conflict with char $ac_func (); below.
33273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33274 <limits.h> exists even on freestanding compilers. */
33277 # include <limits.h>
33279 # include <assert.h>
33284 /* Override any gcc2 internal prototype to avoid an error. */
33289 /* We use char because int might match the return type of a gcc2
33290 builtin and then its argument prototype would still apply. */
33292 /* The GNU C library defines this for functions which it implements
33293 to always fail with ENOSYS. Some functions are actually named
33294 something starting with __ and the normal name is an alias. */
33295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33298 char (*f) () = $ac_func;
33307 return f != $ac_func;
33312 rm -f conftest.
$ac_objext conftest
$ac_exeext
33313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33314 (eval $ac_link) 2>conftest.er1
33316 grep -v '^ *+' conftest.er1
>conftest.err
33318 cat conftest.err
>&5
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); } &&
33321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323 (eval $ac_try) 2>&5
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); }; } &&
33327 { ac_try
='test -s conftest$ac_exeext'
33328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33329 (eval $ac_try) 2>&5
33331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33332 (exit $ac_status); }; }; then
33333 eval "$as_ac_var=yes"
33335 echo "$as_me: failed program was:" >&5
33336 sed 's/^/| /' conftest.
$ac_ext >&5
33338 eval "$as_ac_var=no"
33340 rm -f conftest.err conftest.
$ac_objext \
33341 conftest
$ac_exeext conftest.
$ac_ext
33343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33345 if test `eval echo '${'$as_ac_var'}'` = yes; then
33346 cat >>confdefs.h
<<_ACEOF
33347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33349 cat >>confdefs.h
<<\_ACEOF
33350 #define HAVE_NANOSLEEP 1
33355 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
33356 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
33357 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
33358 echo $ECHO_N "(cached) $ECHO_C" >&6
33360 ac_check_lib_save_LIBS
=$LIBS
33361 LIBS
="-lposix4 $LIBS"
33362 cat >conftest.
$ac_ext <<_ACEOF
33365 cat confdefs.h
>>conftest.
$ac_ext
33366 cat >>conftest.
$ac_ext <<_ACEOF
33367 /* end confdefs.h. */
33369 /* Override any gcc2 internal prototype to avoid an error. */
33373 /* We use char because int might match the return type of a gcc2
33374 builtin and then its argument prototype would still apply. */
33384 rm -f conftest.
$ac_objext conftest
$ac_exeext
33385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33386 (eval $ac_link) 2>conftest.er1
33388 grep -v '^ *+' conftest.er1
>conftest.err
33390 cat conftest.err
>&5
33391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392 (exit $ac_status); } &&
33393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33395 (eval $ac_try) 2>&5
33397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398 (exit $ac_status); }; } &&
33399 { ac_try
='test -s conftest$ac_exeext'
33400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33401 (eval $ac_try) 2>&5
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); }; }; then
33405 ac_cv_lib_posix4_nanosleep
=yes
33407 echo "$as_me: failed program was:" >&5
33408 sed 's/^/| /' conftest.
$ac_ext >&5
33410 ac_cv_lib_posix4_nanosleep
=no
33412 rm -f conftest.err conftest.
$ac_objext \
33413 conftest
$ac_exeext conftest.
$ac_ext
33414 LIBS
=$ac_check_lib_save_LIBS
33416 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
33417 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
33418 if test $ac_cv_lib_posix4_nanosleep = yes; then
33420 cat >>confdefs.h
<<\_ACEOF
33421 #define HAVE_NANOSLEEP 1
33424 POSIX4_LINK
=" -lposix4"
33429 for ac_func
in usleep
33431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33432 echo "$as_me:$LINENO: checking for $ac_func" >&5
33433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33434 if eval "test \"\${$as_ac_var+set}\" = set"; then
33435 echo $ECHO_N "(cached) $ECHO_C" >&6
33437 cat >conftest.
$ac_ext <<_ACEOF
33440 cat confdefs.h
>>conftest.
$ac_ext
33441 cat >>conftest.
$ac_ext <<_ACEOF
33442 /* end confdefs.h. */
33443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33445 #define $ac_func innocuous_$ac_func
33447 /* System header to define __stub macros and hopefully few prototypes,
33448 which can conflict with char $ac_func (); below.
33449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33450 <limits.h> exists even on freestanding compilers. */
33453 # include <limits.h>
33455 # include <assert.h>
33460 /* Override any gcc2 internal prototype to avoid an error. */
33465 /* We use char because int might match the return type of a gcc2
33466 builtin and then its argument prototype would still apply. */
33468 /* The GNU C library defines this for functions which it implements
33469 to always fail with ENOSYS. Some functions are actually named
33470 something starting with __ and the normal name is an alias. */
33471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33474 char (*f) () = $ac_func;
33483 return f != $ac_func;
33488 rm -f conftest.
$ac_objext conftest
$ac_exeext
33489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33490 (eval $ac_link) 2>conftest.er1
33492 grep -v '^ *+' conftest.er1
>conftest.err
33494 cat conftest.err
>&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); } &&
33497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33499 (eval $ac_try) 2>&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); }; } &&
33503 { ac_try
='test -s conftest$ac_exeext'
33504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33505 (eval $ac_try) 2>&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; }; then
33509 eval "$as_ac_var=yes"
33511 echo "$as_me: failed program was:" >&5
33512 sed 's/^/| /' conftest.
$ac_ext >&5
33514 eval "$as_ac_var=no"
33516 rm -f conftest.err conftest.
$ac_objext \
33517 conftest
$ac_exeext conftest.
$ac_ext
33519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33521 if test `eval echo '${'$as_ac_var'}'` = yes; then
33522 cat >>confdefs.h
<<_ACEOF
33523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33525 cat >>confdefs.h
<<\_ACEOF
33526 #define HAVE_USLEEP 1
33530 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
33531 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
33549 for ac_func
in uname gethostname
33551 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33552 echo "$as_me:$LINENO: checking for $ac_func" >&5
33553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33554 if eval "test \"\${$as_ac_var+set}\" = set"; then
33555 echo $ECHO_N "(cached) $ECHO_C" >&6
33557 cat >conftest.
$ac_ext <<_ACEOF
33560 cat confdefs.h
>>conftest.
$ac_ext
33561 cat >>conftest.
$ac_ext <<_ACEOF
33562 /* end confdefs.h. */
33563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33565 #define $ac_func innocuous_$ac_func
33567 /* System header to define __stub macros and hopefully few prototypes,
33568 which can conflict with char $ac_func (); below.
33569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33570 <limits.h> exists even on freestanding compilers. */
33573 # include <limits.h>
33575 # include <assert.h>
33580 /* Override any gcc2 internal prototype to avoid an error. */
33585 /* We use char because int might match the return type of a gcc2
33586 builtin and then its argument prototype would still apply. */
33588 /* The GNU C library defines this for functions which it implements
33589 to always fail with ENOSYS. Some functions are actually named
33590 something starting with __ and the normal name is an alias. */
33591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33594 char (*f) () = $ac_func;
33603 return f != $ac_func;
33608 rm -f conftest.
$ac_objext conftest
$ac_exeext
33609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33610 (eval $ac_link) 2>conftest.er1
33612 grep -v '^ *+' conftest.er1
>conftest.err
33614 cat conftest.err
>&5
33615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33616 (exit $ac_status); } &&
33617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33619 (eval $ac_try) 2>&5
33621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33622 (exit $ac_status); }; } &&
33623 { ac_try
='test -s conftest$ac_exeext'
33624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33625 (eval $ac_try) 2>&5
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); }; }; then
33629 eval "$as_ac_var=yes"
33631 echo "$as_me: failed program was:" >&5
33632 sed 's/^/| /' conftest.
$ac_ext >&5
33634 eval "$as_ac_var=no"
33636 rm -f conftest.err conftest.
$ac_objext \
33637 conftest
$ac_exeext conftest.
$ac_ext
33639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33641 if test `eval echo '${'$as_ac_var'}'` = yes; then
33642 cat >>confdefs.h
<<_ACEOF
33643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33653 ac_cpp
='$CXXCPP $CPPFLAGS'
33654 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33655 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33656 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33660 for ac_func
in strtok_r
33662 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33663 echo "$as_me:$LINENO: checking for $ac_func" >&5
33664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33665 if eval "test \"\${$as_ac_var+set}\" = set"; then
33666 echo $ECHO_N "(cached) $ECHO_C" >&6
33668 cat >conftest.
$ac_ext <<_ACEOF
33671 cat confdefs.h
>>conftest.
$ac_ext
33672 cat >>conftest.
$ac_ext <<_ACEOF
33673 /* end confdefs.h. */
33674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33676 #define $ac_func innocuous_$ac_func
33678 /* System header to define __stub macros and hopefully few prototypes,
33679 which can conflict with char $ac_func (); below.
33680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33681 <limits.h> exists even on freestanding compilers. */
33684 # include <limits.h>
33686 # include <assert.h>
33691 /* Override any gcc2 internal prototype to avoid an error. */
33696 /* We use char because int might match the return type of a gcc2
33697 builtin and then its argument prototype would still apply. */
33699 /* The GNU C library defines this for functions which it implements
33700 to always fail with ENOSYS. Some functions are actually named
33701 something starting with __ and the normal name is an alias. */
33702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33705 char (*f) () = $ac_func;
33714 return f != $ac_func;
33719 rm -f conftest.
$ac_objext conftest
$ac_exeext
33720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33721 (eval $ac_link) 2>conftest.er1
33723 grep -v '^ *+' conftest.er1
>conftest.err
33725 cat conftest.err
>&5
33726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33727 (exit $ac_status); } &&
33728 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33730 (eval $ac_try) 2>&5
33732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33733 (exit $ac_status); }; } &&
33734 { ac_try
='test -s conftest$ac_exeext'
33735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33736 (eval $ac_try) 2>&5
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); }; }; then
33740 eval "$as_ac_var=yes"
33742 echo "$as_me: failed program was:" >&5
33743 sed 's/^/| /' conftest.
$ac_ext >&5
33745 eval "$as_ac_var=no"
33747 rm -f conftest.err conftest.
$ac_objext \
33748 conftest
$ac_exeext conftest.
$ac_ext
33750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33752 if test `eval echo '${'$as_ac_var'}'` = yes; then
33753 cat >>confdefs.h
<<_ACEOF
33754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33762 ac_cpp
='$CPP $CPPFLAGS'
33763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33770 for ac_func
in inet_addr
33772 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33773 echo "$as_me:$LINENO: checking for $ac_func" >&5
33774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33775 if eval "test \"\${$as_ac_var+set}\" = set"; then
33776 echo $ECHO_N "(cached) $ECHO_C" >&6
33778 cat >conftest.
$ac_ext <<_ACEOF
33781 cat confdefs.h
>>conftest.
$ac_ext
33782 cat >>conftest.
$ac_ext <<_ACEOF
33783 /* end confdefs.h. */
33784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33786 #define $ac_func innocuous_$ac_func
33788 /* System header to define __stub macros and hopefully few prototypes,
33789 which can conflict with char $ac_func (); below.
33790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33791 <limits.h> exists even on freestanding compilers. */
33794 # include <limits.h>
33796 # include <assert.h>
33801 /* Override any gcc2 internal prototype to avoid an error. */
33806 /* We use char because int might match the return type of a gcc2
33807 builtin and then its argument prototype would still apply. */
33809 /* The GNU C library defines this for functions which it implements
33810 to always fail with ENOSYS. Some functions are actually named
33811 something starting with __ and the normal name is an alias. */
33812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33815 char (*f) () = $ac_func;
33824 return f != $ac_func;
33829 rm -f conftest.
$ac_objext conftest
$ac_exeext
33830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33831 (eval $ac_link) 2>conftest.er1
33833 grep -v '^ *+' conftest.er1
>conftest.err
33835 cat conftest.err
>&5
33836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33837 (exit $ac_status); } &&
33838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33840 (eval $ac_try) 2>&5
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); }; } &&
33844 { ac_try
='test -s conftest$ac_exeext'
33845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33846 (eval $ac_try) 2>&5
33848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33849 (exit $ac_status); }; }; then
33850 eval "$as_ac_var=yes"
33852 echo "$as_me: failed program was:" >&5
33853 sed 's/^/| /' conftest.
$ac_ext >&5
33855 eval "$as_ac_var=no"
33857 rm -f conftest.err conftest.
$ac_objext \
33858 conftest
$ac_exeext conftest.
$ac_ext
33860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33862 if test `eval echo '${'$as_ac_var'}'` = yes; then
33863 cat >>confdefs.h
<<_ACEOF
33864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33866 cat >>confdefs.h
<<\_ACEOF
33867 #define HAVE_INET_ADDR 1
33872 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
33873 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
33874 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
33875 echo $ECHO_N "(cached) $ECHO_C" >&6
33877 ac_check_lib_save_LIBS
=$LIBS
33879 cat >conftest.
$ac_ext <<_ACEOF
33882 cat confdefs.h
>>conftest.
$ac_ext
33883 cat >>conftest.
$ac_ext <<_ACEOF
33884 /* end confdefs.h. */
33886 /* Override any gcc2 internal prototype to avoid an error. */
33890 /* We use char because int might match the return type of a gcc2
33891 builtin and then its argument prototype would still apply. */
33901 rm -f conftest.
$ac_objext conftest
$ac_exeext
33902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33903 (eval $ac_link) 2>conftest.er1
33905 grep -v '^ *+' conftest.er1
>conftest.err
33907 cat conftest.err
>&5
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); } &&
33910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33912 (eval $ac_try) 2>&5
33914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33915 (exit $ac_status); }; } &&
33916 { ac_try
='test -s conftest$ac_exeext'
33917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33918 (eval $ac_try) 2>&5
33920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921 (exit $ac_status); }; }; then
33922 ac_cv_lib_nsl_inet_addr
=yes
33924 echo "$as_me: failed program was:" >&5
33925 sed 's/^/| /' conftest.
$ac_ext >&5
33927 ac_cv_lib_nsl_inet_addr
=no
33929 rm -f conftest.err conftest.
$ac_objext \
33930 conftest
$ac_exeext conftest.
$ac_ext
33931 LIBS
=$ac_check_lib_save_LIBS
33933 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
33934 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
33935 if test $ac_cv_lib_nsl_inet_addr = yes; then
33939 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
33940 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
33941 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
33942 echo $ECHO_N "(cached) $ECHO_C" >&6
33944 ac_check_lib_save_LIBS
=$LIBS
33945 LIBS
="-lresolv $LIBS"
33946 cat >conftest.
$ac_ext <<_ACEOF
33949 cat confdefs.h
>>conftest.
$ac_ext
33950 cat >>conftest.
$ac_ext <<_ACEOF
33951 /* end confdefs.h. */
33953 /* Override any gcc2 internal prototype to avoid an error. */
33957 /* We use char because int might match the return type of a gcc2
33958 builtin and then its argument prototype would still apply. */
33968 rm -f conftest.
$ac_objext conftest
$ac_exeext
33969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33970 (eval $ac_link) 2>conftest.er1
33972 grep -v '^ *+' conftest.er1
>conftest.err
33974 cat conftest.err
>&5
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); } &&
33977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33979 (eval $ac_try) 2>&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); }; } &&
33983 { ac_try
='test -s conftest$ac_exeext'
33984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33985 (eval $ac_try) 2>&5
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); }; }; then
33989 ac_cv_lib_resolv_inet_addr
=yes
33991 echo "$as_me: failed program was:" >&5
33992 sed 's/^/| /' conftest.
$ac_ext >&5
33994 ac_cv_lib_resolv_inet_addr
=no
33996 rm -f conftest.err conftest.
$ac_objext \
33997 conftest
$ac_exeext conftest.
$ac_ext
33998 LIBS
=$ac_check_lib_save_LIBS
34000 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
34001 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
34002 if test $ac_cv_lib_resolv_inet_addr = yes; then
34006 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
34007 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
34008 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
34009 echo $ECHO_N "(cached) $ECHO_C" >&6
34011 ac_check_lib_save_LIBS
=$LIBS
34012 LIBS
="-lsocket $LIBS"
34013 cat >conftest.
$ac_ext <<_ACEOF
34016 cat confdefs.h
>>conftest.
$ac_ext
34017 cat >>conftest.
$ac_ext <<_ACEOF
34018 /* end confdefs.h. */
34020 /* Override any gcc2 internal prototype to avoid an error. */
34024 /* We use char because int might match the return type of a gcc2
34025 builtin and then its argument prototype would still apply. */
34035 rm -f conftest.
$ac_objext conftest
$ac_exeext
34036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34037 (eval $ac_link) 2>conftest.er1
34039 grep -v '^ *+' conftest.er1
>conftest.err
34041 cat conftest.err
>&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); } &&
34044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34046 (eval $ac_try) 2>&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); }; } &&
34050 { ac_try
='test -s conftest$ac_exeext'
34051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34052 (eval $ac_try) 2>&5
34054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34055 (exit $ac_status); }; }; then
34056 ac_cv_lib_socket_inet_addr
=yes
34058 echo "$as_me: failed program was:" >&5
34059 sed 's/^/| /' conftest.
$ac_ext >&5
34061 ac_cv_lib_socket_inet_addr
=no
34063 rm -f conftest.err conftest.
$ac_objext \
34064 conftest
$ac_exeext conftest.
$ac_ext
34065 LIBS
=$ac_check_lib_save_LIBS
34067 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
34068 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
34069 if test $ac_cv_lib_socket_inet_addr = yes; then
34089 for ac_func
in inet_aton
34091 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34092 echo "$as_me:$LINENO: checking for $ac_func" >&5
34093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34094 if eval "test \"\${$as_ac_var+set}\" = set"; then
34095 echo $ECHO_N "(cached) $ECHO_C" >&6
34097 cat >conftest.
$ac_ext <<_ACEOF
34100 cat confdefs.h
>>conftest.
$ac_ext
34101 cat >>conftest.
$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34105 #define $ac_func innocuous_$ac_func
34107 /* System header to define __stub macros and hopefully few prototypes,
34108 which can conflict with char $ac_func (); below.
34109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34110 <limits.h> exists even on freestanding compilers. */
34113 # include <limits.h>
34115 # include <assert.h>
34120 /* Override any gcc2 internal prototype to avoid an error. */
34125 /* We use char because int might match the return type of a gcc2
34126 builtin and then its argument prototype would still apply. */
34128 /* The GNU C library defines this for functions which it implements
34129 to always fail with ENOSYS. Some functions are actually named
34130 something starting with __ and the normal name is an alias. */
34131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34134 char (*f) () = $ac_func;
34143 return f != $ac_func;
34148 rm -f conftest.
$ac_objext conftest
$ac_exeext
34149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34150 (eval $ac_link) 2>conftest.er1
34152 grep -v '^ *+' conftest.er1
>conftest.err
34154 cat conftest.err
>&5
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); } &&
34157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34159 (eval $ac_try) 2>&5
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); }; } &&
34163 { ac_try
='test -s conftest$ac_exeext'
34164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34165 (eval $ac_try) 2>&5
34167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34168 (exit $ac_status); }; }; then
34169 eval "$as_ac_var=yes"
34171 echo "$as_me: failed program was:" >&5
34172 sed 's/^/| /' conftest.
$ac_ext >&5
34174 eval "$as_ac_var=no"
34176 rm -f conftest.err conftest.
$ac_objext \
34177 conftest
$ac_exeext conftest.
$ac_ext
34179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34181 if test `eval echo '${'$as_ac_var'}'` = yes; then
34182 cat >>confdefs.h
<<_ACEOF
34183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34185 cat >>confdefs.h
<<\_ACEOF
34186 #define HAVE_INET_ATON 1
34191 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
34192 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
34193 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
34194 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
34195 echo $ECHO_N "(cached) $ECHO_C" >&6
34197 ac_check_lib_save_LIBS
=$LIBS
34198 LIBS
="-l$INET_LINK $LIBS"
34199 cat >conftest.
$ac_ext <<_ACEOF
34202 cat confdefs.h
>>conftest.
$ac_ext
34203 cat >>conftest.
$ac_ext <<_ACEOF
34204 /* end confdefs.h. */
34206 /* Override any gcc2 internal prototype to avoid an error. */
34210 /* We use char because int might match the return type of a gcc2
34211 builtin and then its argument prototype would still apply. */
34221 rm -f conftest.
$ac_objext conftest
$ac_exeext
34222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34223 (eval $ac_link) 2>conftest.er1
34225 grep -v '^ *+' conftest.er1
>conftest.err
34227 cat conftest.err
>&5
34228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229 (exit $ac_status); } &&
34230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232 (eval $ac_try) 2>&5
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); }; } &&
34236 { ac_try
='test -s conftest$ac_exeext'
34237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238 (eval $ac_try) 2>&5
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); }; }; then
34242 eval "$as_ac_Lib=yes"
34244 echo "$as_me: failed program was:" >&5
34245 sed 's/^/| /' conftest.
$ac_ext >&5
34247 eval "$as_ac_Lib=no"
34249 rm -f conftest.err conftest.
$ac_objext \
34250 conftest
$ac_exeext conftest.
$ac_ext
34251 LIBS
=$ac_check_lib_save_LIBS
34253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
34254 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
34255 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
34256 cat >>confdefs.h
<<\_ACEOF
34257 #define HAVE_INET_ATON 1
34267 if test "x$INET_LINK" != "x"; then
34268 cat >>confdefs.h
<<\_ACEOF
34269 #define HAVE_INET_ADDR 1
34272 INET_LINK
=" -l$INET_LINK"
34280 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
34281 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
34282 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
34283 echo $ECHO_N "(cached) $ECHO_C" >&6
34285 ac_check_lib_save_LIBS
=$LIBS
34287 cat >conftest.
$ac_ext <<_ACEOF
34290 cat confdefs.h
>>conftest.
$ac_ext
34291 cat >>conftest.
$ac_ext <<_ACEOF
34292 /* end confdefs.h. */
34294 /* Override any gcc2 internal prototype to avoid an error. */
34298 /* We use char because int might match the return type of a gcc2
34299 builtin and then its argument prototype would still apply. */
34309 rm -f conftest.
$ac_objext conftest
$ac_exeext
34310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34311 (eval $ac_link) 2>conftest.er1
34313 grep -v '^ *+' conftest.er1
>conftest.err
34315 cat conftest.err
>&5
34316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34317 (exit $ac_status); } &&
34318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34320 (eval $ac_try) 2>&5
34322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323 (exit $ac_status); }; } &&
34324 { ac_try
='test -s conftest$ac_exeext'
34325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34326 (eval $ac_try) 2>&5
34328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34329 (exit $ac_status); }; }; then
34330 ac_cv_lib_esd_esd_close
=yes
34332 echo "$as_me: failed program was:" >&5
34333 sed 's/^/| /' conftest.
$ac_ext >&5
34335 ac_cv_lib_esd_esd_close
=no
34337 rm -f conftest.err conftest.
$ac_objext \
34338 conftest
$ac_exeext conftest.
$ac_ext
34339 LIBS
=$ac_check_lib_save_LIBS
34341 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
34342 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
34343 if test $ac_cv_lib_esd_esd_close = yes; then
34346 for ac_header
in esd.h
34348 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34350 echo "$as_me:$LINENO: checking for $ac_header" >&5
34351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34353 echo $ECHO_N "(cached) $ECHO_C" >&6
34355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34358 # Is the header compilable?
34359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34361 cat >conftest.
$ac_ext <<_ACEOF
34364 cat confdefs.h
>>conftest.
$ac_ext
34365 cat >>conftest.
$ac_ext <<_ACEOF
34366 /* end confdefs.h. */
34367 $ac_includes_default
34368 #include <$ac_header>
34370 rm -f conftest.
$ac_objext
34371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34372 (eval $ac_compile) 2>conftest.er1
34374 grep -v '^ *+' conftest.er1
>conftest.err
34376 cat conftest.err
>&5
34377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34378 (exit $ac_status); } &&
34379 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34381 (eval $ac_try) 2>&5
34383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34384 (exit $ac_status); }; } &&
34385 { ac_try
='test -s conftest.$ac_objext'
34386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34387 (eval $ac_try) 2>&5
34389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34390 (exit $ac_status); }; }; then
34391 ac_header_compiler
=yes
34393 echo "$as_me: failed program was:" >&5
34394 sed 's/^/| /' conftest.
$ac_ext >&5
34396 ac_header_compiler
=no
34398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34400 echo "${ECHO_T}$ac_header_compiler" >&6
34402 # Is the header present?
34403 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34404 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34405 cat >conftest.
$ac_ext <<_ACEOF
34408 cat confdefs.h
>>conftest.
$ac_ext
34409 cat >>conftest.
$ac_ext <<_ACEOF
34410 /* end confdefs.h. */
34411 #include <$ac_header>
34413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34414 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34416 grep -v '^ *+' conftest.er1
>conftest.err
34418 cat conftest.err
>&5
34419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34420 (exit $ac_status); } >/dev
/null
; then
34421 if test -s conftest.err
; then
34422 ac_cpp_err
=$ac_c_preproc_warn_flag
34423 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34430 if test -z "$ac_cpp_err"; then
34431 ac_header_preproc
=yes
34433 echo "$as_me: failed program was:" >&5
34434 sed 's/^/| /' conftest.
$ac_ext >&5
34436 ac_header_preproc
=no
34438 rm -f conftest.err conftest.
$ac_ext
34439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34440 echo "${ECHO_T}$ac_header_preproc" >&6
34442 # So? What about this header?
34443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34445 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34446 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34448 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34449 ac_header_preproc
=yes
34452 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34453 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34454 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34455 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34456 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34457 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34458 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34459 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34462 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34463 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34466 ## ----------------------------------------- ##
34467 ## Report this to wx-dev@lists.wxwidgets.org ##
34468 ## ----------------------------------------- ##
34471 sed "s/^/$as_me: WARNING: /" >&2
34474 echo "$as_me:$LINENO: checking for $ac_header" >&5
34475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34477 echo $ECHO_N "(cached) $ECHO_C" >&6
34479 eval "$as_ac_Header=\$ac_header_preproc"
34481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34486 cat >>confdefs.h
<<_ACEOF
34487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34490 EXTRALIBS_ESD
="-lesd"
34501 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
34502 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
34503 cat >conftest.
$ac_ext <<_ACEOF
34506 cat confdefs.h
>>conftest.
$ac_ext
34507 cat >>conftest.
$ac_ext <<_ACEOF
34508 /* end confdefs.h. */
34510 #include <linux/cdrom.h>
34513 #include <sys/cdio.h>
34519 struct cdrom_tocentry entry, old_entry;
34524 rm -f conftest.
$ac_objext
34525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34526 (eval $ac_compile) 2>conftest.er1
34528 grep -v '^ *+' conftest.er1
>conftest.err
34530 cat conftest.err
>&5
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); } &&
34533 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34535 (eval $ac_try) 2>&5
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); }; } &&
34539 { ac_try
='test -s conftest.$ac_objext'
34540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34541 (eval $ac_try) 2>&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); }; }; then
34545 echo "$as_me:$LINENO: result: yes" >&5
34546 echo "${ECHO_T}yes" >&6
34547 cat >>confdefs.h
<<\_ACEOF
34548 #define HAVE_KNOWN_CDROM_INTERFACE 1
34552 echo "$as_me: failed program was:" >&5
34553 sed 's/^/| /' conftest.
$ac_ext >&5
34555 echo "$as_me:$LINENO: result: no" >&5
34556 echo "${ECHO_T}no" >&6
34558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34561 cat >confcache
<<\_ACEOF
34562 # This file is a shell script that caches the results of configure
34563 # tests run on this system so they can be shared between configure
34564 # scripts and configure runs, see configure's option --config-cache.
34565 # It is not useful on other systems. If it contains results you don't
34566 # want to keep, you may remove or edit it.
34568 # config.status only pays attention to the cache file if you give it
34569 # the --recheck option to rerun configure.
34571 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34572 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34573 # following values.
34577 # The following way of writing the cache mishandles newlines in values,
34578 # but we know of no workaround that is simple, portable, and efficient.
34579 # So, don't put newlines in cache variables' values.
34580 # Ultrix sh set writes to stderr and can't be redirected directly,
34581 # and sets the high bit in the cache file unless we assign to the vars.
34584 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34586 # `set' does not quote correctly, so add quotes (double-quote
34587 # substitution turns \\\\ into \\, and sed turns \\ into \).
34590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34593 # `set' quotes correctly as required by POSIX, so do not add quotes.
34595 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34602 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34604 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34606 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34607 if test -w $cache_file; then
34608 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34609 cat confcache
>$cache_file
34611 echo "not updating unwritable cache $cache_file"
34618 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
34624 if test "$wxUSE_THREADS" = "yes" ; then
34625 if test "$USE_BEOS" = 1; then
34626 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
34627 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
34632 if test "$wxUSE_THREADS" = "yes" ; then
34635 THREAD_OPTS
="-pthread"
34637 *-*-solaris2* | *-*-sunos4* )
34638 if test "x$GCC" = "xyes"; then
34639 THREAD_OPTS
="-pthreads $THREAD_OPTS"
34641 THREAD_OPTS
="-mt $THREAD_OPTS"
34645 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
34647 *-*-darwin* | *-*-cygwin* )
34651 THREAD_OPTS
="pthreads"
34654 if test "x$GCC" != "xyes"; then
34660 if test "x$GCC" = "xyes"; then
34666 if test "x$GCC" != "xyes"; then
34667 THREAD_OPTS
="-Ethread"
34672 THREAD_OPTS
="$THREAD_OPTS pthread none"
34675 for flag
in $THREAD_OPTS; do
34678 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
34679 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
34683 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
34684 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
34685 THREADS_CFLAGS
="$flag"
34689 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
34690 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
34691 THREADS_LINK
="-l$flag"
34696 save_CFLAGS
="$CFLAGS"
34697 LIBS
="$THREADS_LINK $LIBS"
34698 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
34700 cat >conftest.
$ac_ext <<_ACEOF
34703 cat confdefs.h
>>conftest.
$ac_ext
34704 cat >>conftest.
$ac_ext <<_ACEOF
34705 /* end confdefs.h. */
34706 #include <pthread.h>
34710 pthread_create(0,0,0,0);
34715 rm -f conftest.
$ac_objext conftest
$ac_exeext
34716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34717 (eval $ac_link) 2>conftest.er1
34719 grep -v '^ *+' conftest.er1
>conftest.err
34721 cat conftest.err
>&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } &&
34724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34726 (eval $ac_try) 2>&5
34728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34729 (exit $ac_status); }; } &&
34730 { ac_try
='test -s conftest$ac_exeext'
34731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34732 (eval $ac_try) 2>&5
34734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34735 (exit $ac_status); }; }; then
34738 echo "$as_me: failed program was:" >&5
34739 sed 's/^/| /' conftest.
$ac_ext >&5
34742 rm -f conftest.err conftest.
$ac_objext \
34743 conftest
$ac_exeext conftest.
$ac_ext
34746 CFLAGS
="$save_CFLAGS"
34748 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
34749 echo "${ECHO_T}$THREADS_OK" >&6
34750 if test "x$THREADS_OK" = "xyes"; then
34758 if test "x$THREADS_OK" != "xyes"; then
34760 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
34761 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
34763 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
34764 LIBS
="$THREADS_LINK $LIBS"
34766 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
34767 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
34771 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
34772 flag
="-D_THREAD_SAFE"
34775 flag
="-D_THREAD_SAFE"
34778 flag
="-D_REENTRANT"
34779 if test "x$GCC" != "xyes"; then
34780 flag
="$flag -D_RWSTD_MULTI_THREAD"
34783 *solaris
* | alpha
*-osf*)
34784 flag
="-D_REENTRANT"
34787 echo "$as_me:$LINENO: result: ${flag}" >&5
34788 echo "${ECHO_T}${flag}" >&6
34789 if test "x$flag" != xno
; then
34790 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
34793 if test "x$THREADS_CFLAGS" != "x"; then
34794 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
34795 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
34800 if test "$wxUSE_THREADS" = "yes" ; then
34802 for ac_func
in thr_setconcurrency
34804 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34805 echo "$as_me:$LINENO: checking for $ac_func" >&5
34806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34807 if eval "test \"\${$as_ac_var+set}\" = set"; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34810 cat >conftest.
$ac_ext <<_ACEOF
34813 cat confdefs.h
>>conftest.
$ac_ext
34814 cat >>conftest.
$ac_ext <<_ACEOF
34815 /* end confdefs.h. */
34816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34818 #define $ac_func innocuous_$ac_func
34820 /* System header to define __stub macros and hopefully few prototypes,
34821 which can conflict with char $ac_func (); below.
34822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34823 <limits.h> exists even on freestanding compilers. */
34826 # include <limits.h>
34828 # include <assert.h>
34833 /* Override any gcc2 internal prototype to avoid an error. */
34838 /* We use char because int might match the return type of a gcc2
34839 builtin and then its argument prototype would still apply. */
34841 /* The GNU C library defines this for functions which it implements
34842 to always fail with ENOSYS. Some functions are actually named
34843 something starting with __ and the normal name is an alias. */
34844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34847 char (*f) () = $ac_func;
34856 return f != $ac_func;
34861 rm -f conftest.
$ac_objext conftest
$ac_exeext
34862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34863 (eval $ac_link) 2>conftest.er1
34865 grep -v '^ *+' conftest.er1
>conftest.err
34867 cat conftest.err
>&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); } &&
34870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; } &&
34876 { ac_try
='test -s conftest$ac_exeext'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; }; then
34882 eval "$as_ac_var=yes"
34884 echo "$as_me: failed program was:" >&5
34885 sed 's/^/| /' conftest.
$ac_ext >&5
34887 eval "$as_ac_var=no"
34889 rm -f conftest.err conftest.
$ac_objext \
34890 conftest
$ac_exeext conftest.
$ac_ext
34892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34894 if test `eval echo '${'$as_ac_var'}'` = yes; then
34895 cat >>confdefs.h
<<_ACEOF
34896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34903 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
34904 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
34905 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
34906 echo $ECHO_N "(cached) $ECHO_C" >&6
34909 cat >conftest.
$ac_ext <<_ACEOF
34912 cat confdefs.h
>>conftest.
$ac_ext
34913 cat >>conftest.
$ac_ext <<_ACEOF
34914 /* end confdefs.h. */
34915 #include <pthread.h>
34916 void ThreadCleanupFunc(void *p);
34923 pthread_cleanup_push(ThreadCleanupFunc, p);
34924 pthread_cleanup_pop(0);
34930 rm -f conftest.
$ac_objext
34931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34932 (eval $ac_compile) 2>conftest.er1
34934 grep -v '^ *+' conftest.er1
>conftest.err
34936 cat conftest.err
>&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } &&
34939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
34945 { ac_try
='test -s conftest.$ac_objext'
34946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34947 (eval $ac_try) 2>&5
34949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34950 (exit $ac_status); }; }; then
34952 wx_cv_func_pthread_cleanup
=yes
34955 echo "$as_me: failed program was:" >&5
34956 sed 's/^/| /' conftest.
$ac_ext >&5
34959 wx_cv_func_pthread_cleanup
=no
34963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34966 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
34967 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
34968 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
34969 cat >>confdefs.h
<<\_ACEOF
34970 #define wxHAVE_PTHREAD_CLEANUP 1
34976 for ac_header
in sched.h
34978 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34980 echo "$as_me:$LINENO: checking for $ac_header" >&5
34981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34983 echo $ECHO_N "(cached) $ECHO_C" >&6
34985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34988 # Is the header compilable?
34989 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34990 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34991 cat >conftest.
$ac_ext <<_ACEOF
34994 cat confdefs.h
>>conftest.
$ac_ext
34995 cat >>conftest.
$ac_ext <<_ACEOF
34996 /* end confdefs.h. */
34997 $ac_includes_default
34998 #include <$ac_header>
35000 rm -f conftest.
$ac_objext
35001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35002 (eval $ac_compile) 2>conftest.er1
35004 grep -v '^ *+' conftest.er1
>conftest.err
35006 cat conftest.err
>&5
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); } &&
35009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35011 (eval $ac_try) 2>&5
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); }; } &&
35015 { ac_try
='test -s conftest.$ac_objext'
35016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35017 (eval $ac_try) 2>&5
35019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35020 (exit $ac_status); }; }; then
35021 ac_header_compiler
=yes
35023 echo "$as_me: failed program was:" >&5
35024 sed 's/^/| /' conftest.
$ac_ext >&5
35026 ac_header_compiler
=no
35028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35030 echo "${ECHO_T}$ac_header_compiler" >&6
35032 # Is the header present?
35033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35035 cat >conftest.
$ac_ext <<_ACEOF
35038 cat confdefs.h
>>conftest.
$ac_ext
35039 cat >>conftest.
$ac_ext <<_ACEOF
35040 /* end confdefs.h. */
35041 #include <$ac_header>
35043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35044 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35046 grep -v '^ *+' conftest.er1
>conftest.err
35048 cat conftest.err
>&5
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); } >/dev
/null
; then
35051 if test -s conftest.err
; then
35052 ac_cpp_err
=$ac_c_preproc_warn_flag
35053 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35060 if test -z "$ac_cpp_err"; then
35061 ac_header_preproc
=yes
35063 echo "$as_me: failed program was:" >&5
35064 sed 's/^/| /' conftest.
$ac_ext >&5
35066 ac_header_preproc
=no
35068 rm -f conftest.err conftest.
$ac_ext
35069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35070 echo "${ECHO_T}$ac_header_preproc" >&6
35072 # So? What about this header?
35073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35079 ac_header_preproc
=yes
35082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35086 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35088 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35089 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35092 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35096 ## ----------------------------------------- ##
35097 ## Report this to wx-dev@lists.wxwidgets.org ##
35098 ## ----------------------------------------- ##
35101 sed "s/^/$as_me: WARNING: /" >&2
35104 echo "$as_me:$LINENO: checking for $ac_header" >&5
35105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35107 echo $ECHO_N "(cached) $ECHO_C" >&6
35109 eval "$as_ac_Header=\$ac_header_preproc"
35111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35116 cat >>confdefs.h
<<_ACEOF
35117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35124 if test "$ac_cv_header_sched_h" = "yes"; then
35125 echo "$as_me:$LINENO: checking for sched_yield" >&5
35126 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
35127 if test "${ac_cv_func_sched_yield+set}" = set; then
35128 echo $ECHO_N "(cached) $ECHO_C" >&6
35130 cat >conftest.
$ac_ext <<_ACEOF
35133 cat confdefs.h
>>conftest.
$ac_ext
35134 cat >>conftest.
$ac_ext <<_ACEOF
35135 /* end confdefs.h. */
35136 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
35137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35138 #define sched_yield innocuous_sched_yield
35140 /* System header to define __stub macros and hopefully few prototypes,
35141 which can conflict with char sched_yield (); below.
35142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35143 <limits.h> exists even on freestanding compilers. */
35146 # include <limits.h>
35148 # include <assert.h>
35153 /* Override any gcc2 internal prototype to avoid an error. */
35158 /* We use char because int might match the return type of a gcc2
35159 builtin and then its argument prototype would still apply. */
35160 char sched_yield ();
35161 /* The GNU C library defines this for functions which it implements
35162 to always fail with ENOSYS. Some functions are actually named
35163 something starting with __ and the normal name is an alias. */
35164 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
35167 char (*f) () = sched_yield;
35176 return f != sched_yield;
35181 rm -f conftest.
$ac_objext conftest
$ac_exeext
35182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35183 (eval $ac_link) 2>conftest.er1
35185 grep -v '^ *+' conftest.er1
>conftest.err
35187 cat conftest.err
>&5
35188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35189 (exit $ac_status); } &&
35190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35192 (eval $ac_try) 2>&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); }; } &&
35196 { ac_try
='test -s conftest$ac_exeext'
35197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35198 (eval $ac_try) 2>&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); }; }; then
35202 ac_cv_func_sched_yield
=yes
35204 echo "$as_me: failed program was:" >&5
35205 sed 's/^/| /' conftest.
$ac_ext >&5
35207 ac_cv_func_sched_yield
=no
35209 rm -f conftest.err conftest.
$ac_objext \
35210 conftest
$ac_exeext conftest.
$ac_ext
35212 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
35213 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
35214 if test $ac_cv_func_sched_yield = yes; then
35215 cat >>confdefs.h
<<\_ACEOF
35216 #define HAVE_SCHED_YIELD 1
35221 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
35222 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
35223 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
35224 echo $ECHO_N "(cached) $ECHO_C" >&6
35226 ac_check_lib_save_LIBS
=$LIBS
35227 LIBS
="-lposix4 $LIBS"
35228 cat >conftest.
$ac_ext <<_ACEOF
35231 cat confdefs.h
>>conftest.
$ac_ext
35232 cat >>conftest.
$ac_ext <<_ACEOF
35233 /* end confdefs.h. */
35235 /* Override any gcc2 internal prototype to avoid an error. */
35239 /* We use char because int might match the return type of a gcc2
35240 builtin and then its argument prototype would still apply. */
35241 char sched_yield ();
35250 rm -f conftest.
$ac_objext conftest
$ac_exeext
35251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35252 (eval $ac_link) 2>conftest.er1
35254 grep -v '^ *+' conftest.er1
>conftest.err
35256 cat conftest.err
>&5
35257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258 (exit $ac_status); } &&
35259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35261 (eval $ac_try) 2>&5
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); }; } &&
35265 { ac_try
='test -s conftest$ac_exeext'
35266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35267 (eval $ac_try) 2>&5
35269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270 (exit $ac_status); }; }; then
35271 ac_cv_lib_posix4_sched_yield
=yes
35273 echo "$as_me: failed program was:" >&5
35274 sed 's/^/| /' conftest.
$ac_ext >&5
35276 ac_cv_lib_posix4_sched_yield
=no
35278 rm -f conftest.err conftest.
$ac_objext \
35279 conftest
$ac_exeext conftest.
$ac_ext
35280 LIBS
=$ac_check_lib_save_LIBS
35282 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
35283 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
35284 if test $ac_cv_lib_posix4_sched_yield = yes; then
35285 cat >>confdefs.h
<<\_ACEOF
35286 #define HAVE_SCHED_YIELD 1
35288 POSIX4_LINK
=" -lposix4"
35290 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
35291 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
35302 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
35303 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
35304 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
35305 echo $ECHO_N "(cached) $ECHO_C" >&6
35307 cat >conftest.
$ac_ext <<_ACEOF
35310 cat confdefs.h
>>conftest.
$ac_ext
35311 cat >>conftest.
$ac_ext <<_ACEOF
35312 /* end confdefs.h. */
35313 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
35314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35315 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
35317 /* System header to define __stub macros and hopefully few prototypes,
35318 which can conflict with char pthread_attr_getschedpolicy (); below.
35319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35320 <limits.h> exists even on freestanding compilers. */
35323 # include <limits.h>
35325 # include <assert.h>
35328 #undef pthread_attr_getschedpolicy
35330 /* Override any gcc2 internal prototype to avoid an error. */
35335 /* We use char because int might match the return type of a gcc2
35336 builtin and then its argument prototype would still apply. */
35337 char pthread_attr_getschedpolicy ();
35338 /* The GNU C library defines this for functions which it implements
35339 to always fail with ENOSYS. Some functions are actually named
35340 something starting with __ and the normal name is an alias. */
35341 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
35344 char (*f) () = pthread_attr_getschedpolicy;
35353 return f != pthread_attr_getschedpolicy;
35358 rm -f conftest.
$ac_objext conftest
$ac_exeext
35359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35360 (eval $ac_link) 2>conftest.er1
35362 grep -v '^ *+' conftest.er1
>conftest.err
35364 cat conftest.err
>&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); } &&
35367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35369 (eval $ac_try) 2>&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); }; } &&
35373 { ac_try
='test -s conftest$ac_exeext'
35374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35375 (eval $ac_try) 2>&5
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); }; }; then
35379 ac_cv_func_pthread_attr_getschedpolicy
=yes
35381 echo "$as_me: failed program was:" >&5
35382 sed 's/^/| /' conftest.
$ac_ext >&5
35384 ac_cv_func_pthread_attr_getschedpolicy
=no
35386 rm -f conftest.err conftest.
$ac_objext \
35387 conftest
$ac_exeext conftest.
$ac_ext
35389 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
35390 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
35391 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
35392 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
35393 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
35394 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
35395 echo $ECHO_N "(cached) $ECHO_C" >&6
35397 cat >conftest.
$ac_ext <<_ACEOF
35400 cat confdefs.h
>>conftest.
$ac_ext
35401 cat >>conftest.
$ac_ext <<_ACEOF
35402 /* end confdefs.h. */
35403 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
35404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35405 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
35407 /* System header to define __stub macros and hopefully few prototypes,
35408 which can conflict with char pthread_attr_setschedparam (); below.
35409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35410 <limits.h> exists even on freestanding compilers. */
35413 # include <limits.h>
35415 # include <assert.h>
35418 #undef pthread_attr_setschedparam
35420 /* Override any gcc2 internal prototype to avoid an error. */
35425 /* We use char because int might match the return type of a gcc2
35426 builtin and then its argument prototype would still apply. */
35427 char pthread_attr_setschedparam ();
35428 /* The GNU C library defines this for functions which it implements
35429 to always fail with ENOSYS. Some functions are actually named
35430 something starting with __ and the normal name is an alias. */
35431 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
35434 char (*f) () = pthread_attr_setschedparam;
35443 return f != pthread_attr_setschedparam;
35448 rm -f conftest.
$ac_objext conftest
$ac_exeext
35449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35450 (eval $ac_link) 2>conftest.er1
35452 grep -v '^ *+' conftest.er1
>conftest.err
35454 cat conftest.err
>&5
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); } &&
35457 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35459 (eval $ac_try) 2>&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); }; } &&
35463 { ac_try
='test -s conftest$ac_exeext'
35464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35465 (eval $ac_try) 2>&5
35467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35468 (exit $ac_status); }; }; then
35469 ac_cv_func_pthread_attr_setschedparam
=yes
35471 echo "$as_me: failed program was:" >&5
35472 sed 's/^/| /' conftest.
$ac_ext >&5
35474 ac_cv_func_pthread_attr_setschedparam
=no
35476 rm -f conftest.err conftest.
$ac_objext \
35477 conftest
$ac_exeext conftest.
$ac_ext
35479 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
35480 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
35481 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
35482 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
35483 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
35484 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
35485 echo $ECHO_N "(cached) $ECHO_C" >&6
35487 cat >conftest.
$ac_ext <<_ACEOF
35490 cat confdefs.h
>>conftest.
$ac_ext
35491 cat >>conftest.
$ac_ext <<_ACEOF
35492 /* end confdefs.h. */
35493 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
35494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35495 #define sched_get_priority_max innocuous_sched_get_priority_max
35497 /* System header to define __stub macros and hopefully few prototypes,
35498 which can conflict with char sched_get_priority_max (); below.
35499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35500 <limits.h> exists even on freestanding compilers. */
35503 # include <limits.h>
35505 # include <assert.h>
35508 #undef sched_get_priority_max
35510 /* Override any gcc2 internal prototype to avoid an error. */
35515 /* We use char because int might match the return type of a gcc2
35516 builtin and then its argument prototype would still apply. */
35517 char sched_get_priority_max ();
35518 /* The GNU C library defines this for functions which it implements
35519 to always fail with ENOSYS. Some functions are actually named
35520 something starting with __ and the normal name is an alias. */
35521 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
35524 char (*f) () = sched_get_priority_max;
35533 return f != sched_get_priority_max;
35538 rm -f conftest.
$ac_objext conftest
$ac_exeext
35539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35540 (eval $ac_link) 2>conftest.er1
35542 grep -v '^ *+' conftest.er1
>conftest.err
35544 cat conftest.err
>&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); } &&
35547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35549 (eval $ac_try) 2>&5
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); }; } &&
35553 { ac_try
='test -s conftest$ac_exeext'
35554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555 (eval $ac_try) 2>&5
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); }; }; then
35559 ac_cv_func_sched_get_priority_max
=yes
35561 echo "$as_me: failed program was:" >&5
35562 sed 's/^/| /' conftest.
$ac_ext >&5
35564 ac_cv_func_sched_get_priority_max
=no
35566 rm -f conftest.err conftest.
$ac_objext \
35567 conftest
$ac_exeext conftest.
$ac_ext
35569 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
35570 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
35571 if test $ac_cv_func_sched_get_priority_max = yes; then
35574 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
35575 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
35576 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
35577 echo $ECHO_N "(cached) $ECHO_C" >&6
35579 ac_check_lib_save_LIBS
=$LIBS
35580 LIBS
="-lposix4 $LIBS"
35581 cat >conftest.
$ac_ext <<_ACEOF
35584 cat confdefs.h
>>conftest.
$ac_ext
35585 cat >>conftest.
$ac_ext <<_ACEOF
35586 /* end confdefs.h. */
35588 /* Override any gcc2 internal prototype to avoid an error. */
35592 /* We use char because int might match the return type of a gcc2
35593 builtin and then its argument prototype would still apply. */
35594 char sched_get_priority_max ();
35598 sched_get_priority_max ();
35603 rm -f conftest.
$ac_objext conftest
$ac_exeext
35604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35605 (eval $ac_link) 2>conftest.er1
35607 grep -v '^ *+' conftest.er1
>conftest.err
35609 cat conftest.err
>&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); } &&
35612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35614 (eval $ac_try) 2>&5
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); }; } &&
35618 { ac_try
='test -s conftest$ac_exeext'
35619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35620 (eval $ac_try) 2>&5
35622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623 (exit $ac_status); }; }; then
35624 ac_cv_lib_posix4_sched_get_priority_max
=yes
35626 echo "$as_me: failed program was:" >&5
35627 sed 's/^/| /' conftest.
$ac_ext >&5
35629 ac_cv_lib_posix4_sched_get_priority_max
=no
35631 rm -f conftest.err conftest.
$ac_objext \
35632 conftest
$ac_exeext conftest.
$ac_ext
35633 LIBS
=$ac_check_lib_save_LIBS
35635 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
35636 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
35637 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
35640 POSIX4_LINK
=" -lposix4"
35654 if test "$HAVE_PRIOR_FUNCS" = 1; then
35655 cat >>confdefs.h
<<\_ACEOF
35656 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
35660 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
35661 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
35664 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
35665 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
35666 if test "${ac_cv_func_pthread_cancel+set}" = set; then
35667 echo $ECHO_N "(cached) $ECHO_C" >&6
35669 cat >conftest.
$ac_ext <<_ACEOF
35672 cat confdefs.h
>>conftest.
$ac_ext
35673 cat >>conftest.
$ac_ext <<_ACEOF
35674 /* end confdefs.h. */
35675 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
35676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35677 #define pthread_cancel innocuous_pthread_cancel
35679 /* System header to define __stub macros and hopefully few prototypes,
35680 which can conflict with char pthread_cancel (); below.
35681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35682 <limits.h> exists even on freestanding compilers. */
35685 # include <limits.h>
35687 # include <assert.h>
35690 #undef pthread_cancel
35692 /* Override any gcc2 internal prototype to avoid an error. */
35697 /* We use char because int might match the return type of a gcc2
35698 builtin and then its argument prototype would still apply. */
35699 char pthread_cancel ();
35700 /* The GNU C library defines this for functions which it implements
35701 to always fail with ENOSYS. Some functions are actually named
35702 something starting with __ and the normal name is an alias. */
35703 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
35706 char (*f) () = pthread_cancel;
35715 return f != pthread_cancel;
35720 rm -f conftest.
$ac_objext conftest
$ac_exeext
35721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35722 (eval $ac_link) 2>conftest.er1
35724 grep -v '^ *+' conftest.er1
>conftest.err
35726 cat conftest.err
>&5
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); } &&
35729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35731 (eval $ac_try) 2>&5
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); }; } &&
35735 { ac_try
='test -s conftest$ac_exeext'
35736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737 (eval $ac_try) 2>&5
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); }; }; then
35741 ac_cv_func_pthread_cancel
=yes
35743 echo "$as_me: failed program was:" >&5
35744 sed 's/^/| /' conftest.
$ac_ext >&5
35746 ac_cv_func_pthread_cancel
=no
35748 rm -f conftest.err conftest.
$ac_objext \
35749 conftest
$ac_exeext conftest.
$ac_ext
35751 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
35752 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
35753 if test $ac_cv_func_pthread_cancel = yes; then
35754 cat >>confdefs.h
<<\_ACEOF
35755 #define HAVE_PTHREAD_CANCEL 1
35759 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
35760 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
35764 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
35765 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
35766 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
35767 echo $ECHO_N "(cached) $ECHO_C" >&6
35769 cat >conftest.
$ac_ext <<_ACEOF
35772 cat confdefs.h
>>conftest.
$ac_ext
35773 cat >>conftest.
$ac_ext <<_ACEOF
35774 /* end confdefs.h. */
35775 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
35776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35777 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
35779 /* System header to define __stub macros and hopefully few prototypes,
35780 which can conflict with char pthread_attr_setstacksize (); below.
35781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35782 <limits.h> exists even on freestanding compilers. */
35785 # include <limits.h>
35787 # include <assert.h>
35790 #undef pthread_attr_setstacksize
35792 /* Override any gcc2 internal prototype to avoid an error. */
35797 /* We use char because int might match the return type of a gcc2
35798 builtin and then its argument prototype would still apply. */
35799 char pthread_attr_setstacksize ();
35800 /* The GNU C library defines this for functions which it implements
35801 to always fail with ENOSYS. Some functions are actually named
35802 something starting with __ and the normal name is an alias. */
35803 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
35806 char (*f) () = pthread_attr_setstacksize;
35815 return f != pthread_attr_setstacksize;
35820 rm -f conftest.
$ac_objext conftest
$ac_exeext
35821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35822 (eval $ac_link) 2>conftest.er1
35824 grep -v '^ *+' conftest.er1
>conftest.err
35826 cat conftest.err
>&5
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); } &&
35829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35831 (eval $ac_try) 2>&5
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); }; } &&
35835 { ac_try
='test -s conftest$ac_exeext'
35836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35837 (eval $ac_try) 2>&5
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); }; }; then
35841 ac_cv_func_pthread_attr_setstacksize
=yes
35843 echo "$as_me: failed program was:" >&5
35844 sed 's/^/| /' conftest.
$ac_ext >&5
35846 ac_cv_func_pthread_attr_setstacksize
=no
35848 rm -f conftest.err conftest.
$ac_objext \
35849 conftest
$ac_exeext conftest.
$ac_ext
35851 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
35852 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
35853 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
35854 cat >>confdefs.h
<<\_ACEOF
35855 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
35862 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
35863 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
35864 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
35865 echo $ECHO_N "(cached) $ECHO_C" >&6
35868 cat >conftest.
$ac_ext <<_ACEOF
35871 cat confdefs.h
>>conftest.
$ac_ext
35872 cat >>conftest.
$ac_ext <<_ACEOF
35873 /* end confdefs.h. */
35874 #include <pthread.h>
35879 pthread_mutexattr_t attr;
35880 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
35886 rm -f conftest.
$ac_objext
35887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35888 (eval $ac_compile) 2>conftest.er1
35890 grep -v '^ *+' conftest.er1
>conftest.err
35892 cat conftest.err
>&5
35893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35894 (exit $ac_status); } &&
35895 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35897 (eval $ac_try) 2>&5
35899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35900 (exit $ac_status); }; } &&
35901 { ac_try
='test -s conftest.$ac_objext'
35902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35903 (eval $ac_try) 2>&5
35905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35906 (exit $ac_status); }; }; then
35908 wx_cv_type_pthread_mutexattr_t
=yes
35911 echo "$as_me: failed program was:" >&5
35912 sed 's/^/| /' conftest.
$ac_ext >&5
35915 wx_cv_type_pthread_mutexattr_t
=no
35919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35922 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
35923 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
35925 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
35926 cat >>confdefs.h
<<\_ACEOF
35927 #define HAVE_PTHREAD_MUTEXATTR_T 1
35931 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
35932 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
35933 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
35934 echo $ECHO_N "(cached) $ECHO_C" >&6
35937 cat >conftest.
$ac_ext <<_ACEOF
35940 cat confdefs.h
>>conftest.
$ac_ext
35941 cat >>conftest.
$ac_ext <<_ACEOF
35942 /* end confdefs.h. */
35943 #include <pthread.h>
35948 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
35954 rm -f conftest.
$ac_objext
35955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35956 (eval $ac_compile) 2>conftest.er1
35958 grep -v '^ *+' conftest.er1
>conftest.err
35960 cat conftest.err
>&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); } &&
35963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35965 (eval $ac_try) 2>&5
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); }; } &&
35969 { ac_try
='test -s conftest.$ac_objext'
35970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35971 (eval $ac_try) 2>&5
35973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35974 (exit $ac_status); }; }; then
35976 wx_cv_type_pthread_rec_mutex_init
=yes
35979 echo "$as_me: failed program was:" >&5
35980 sed 's/^/| /' conftest.
$ac_ext >&5
35983 wx_cv_type_pthread_rec_mutex_init
=no
35987 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35990 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
35991 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
35992 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
35993 cat >>confdefs.h
<<\_ACEOF
35994 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
35998 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
35999 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
36005 if test "$wxUSE_THREADS" = "yes" ; then
36008 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
36009 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
36010 if test "${wx_cv_cflags_mthread+set}" = set; then
36011 echo $ECHO_N "(cached) $ECHO_C" >&6
36014 CFLAGS_OLD
="$CFLAGS"
36015 CFLAGS
="$CFLAGS -mthreads"
36016 cat >conftest.
$ac_ext <<_ACEOF
36019 cat confdefs.h
>>conftest.
$ac_ext
36020 cat >>conftest.
$ac_ext <<_ACEOF
36021 /* end confdefs.h. */
36031 rm -f conftest.
$ac_objext
36032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36033 (eval $ac_compile) 2>conftest.er1
36035 grep -v '^ *+' conftest.er1
>conftest.err
36037 cat conftest.err
>&5
36038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039 (exit $ac_status); } &&
36040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36042 (eval $ac_try) 2>&5
36044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045 (exit $ac_status); }; } &&
36046 { ac_try
='test -s conftest.$ac_objext'
36047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36048 (eval $ac_try) 2>&5
36050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36051 (exit $ac_status); }; }; then
36052 wx_cv_cflags_mthread
=yes
36054 echo "$as_me: failed program was:" >&5
36055 sed 's/^/| /' conftest.
$ac_ext >&5
36057 wx_cv_cflags_mthread
=no
36060 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36064 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
36065 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
36067 if test "$wx_cv_cflags_mthread" = "yes"; then
36068 CXXFLAGS
="$CXXFLAGS -mthreads"
36069 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
36070 LDFLAGS
="$LDFLAGS -mthreads"
36072 CFLAGS
="$CFLAGS_OLD"
36076 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
36077 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
36078 LDFLAGS
="$LDFLAGS -Zmt"
36084 if test "$wxUSE_THREADS" = "yes"; then
36085 cat >>confdefs.h
<<\_ACEOF
36086 #define wxUSE_THREADS 1
36090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
36092 if test "$ac_cv_func_strtok_r" = "yes"; then
36093 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
36094 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
36095 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
36096 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
36097 echo "$as_me:$LINENO: result: yes" >&5
36098 echo "${ECHO_T}yes" >&6
36100 echo "$as_me:$LINENO: result: no" >&5
36101 echo "${ECHO_T}no" >&6
36106 if test "$WXGTK20" = 1 ; then
36107 cat >>confdefs.h
<<_ACEOF
36108 #define __WXGTK20__ $WXGTK20
36114 if test "$WXGTK12" = 1 ; then
36115 cat >>confdefs.h
<<_ACEOF
36116 #define __WXGTK12__ $WXGTK12
36121 if test "$WXGTK127" = 1 ; then
36122 cat >>confdefs.h
<<_ACEOF
36123 #define __WXGTK127__ $WXGTK127
36128 if test "$WXGPE" = 1 ; then
36129 cat >>confdefs.h
<<_ACEOF
36130 #define __WXGPE__ $WXGPE
36137 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
36142 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
36143 wxUSE_DEBUG_INFO
=yes
36144 if test "$GCC" = yes; then
36149 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
36150 cat >>confdefs.h
<<\_ACEOF
36154 WXDEBUG_DEFINE
="-D__WXDEBUG__"
36156 if test "$wxUSE_GTK" = 1 ; then
36157 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
36161 if test "$wxUSE_MEM_TRACING" = "yes" ; then
36162 cat >>confdefs.h
<<\_ACEOF
36163 #define wxUSE_MEMORY_TRACING 1
36166 cat >>confdefs.h
<<\_ACEOF
36167 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
36170 cat >>confdefs.h
<<\_ACEOF
36171 #define wxUSE_DEBUG_NEW_ALWAYS 1
36174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
36177 if test "$wxUSE_DMALLOC" = "yes" ; then
36178 DMALLOC_LIBS
="-ldmallocthcxx"
36182 if test "$wxUSE_PROFILE" = "yes" ; then
36187 CODE_GEN_FLAGS_CXX
=
36188 if test "$GCC" = "yes" ; then
36189 if test "$wxUSE_NO_RTTI" = "yes" ; then
36190 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
36192 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36193 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
36195 if test "$wxUSE_PERMISSIVE" = "yes" ; then
36196 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
36201 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
36204 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
36210 if test "$wxUSE_OPTIMISE" = "no" ; then
36211 if test "$GCC" = yes ; then
36215 if test "$GCC" = yes ; then
36219 i586
-*-*|i686
-*-* )
36220 OPTIMISE
="${OPTIMISE} "
36229 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
36230 cat >>confdefs.h
<<\_ACEOF
36231 #define WXWIN_COMPATIBILITY_2_2 1
36235 WXWIN_COMPATIBILITY_2_4
="yes"
36238 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
36239 cat >>confdefs.h
<<\_ACEOF
36240 #define WXWIN_COMPATIBILITY_2_4 1
36246 if test "$wxUSE_GUI" = "yes"; then
36247 cat >>confdefs.h
<<\_ACEOF
36248 #define wxUSE_GUI 1
36255 if test "$wxUSE_UNIX" = "yes"; then
36256 cat >>confdefs.h
<<\_ACEOF
36257 #define wxUSE_UNIX 1
36263 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36267 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36268 if test "$USE_DARWIN" = 1; then
36270 elif test "$USE_DOS" = 1; then
36274 for ac_func
in dlopen
36276 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36277 echo "$as_me:$LINENO: checking for $ac_func" >&5
36278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36279 if eval "test \"\${$as_ac_var+set}\" = set"; then
36280 echo $ECHO_N "(cached) $ECHO_C" >&6
36282 cat >conftest.
$ac_ext <<_ACEOF
36285 cat confdefs.h
>>conftest.
$ac_ext
36286 cat >>conftest.
$ac_ext <<_ACEOF
36287 /* end confdefs.h. */
36288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36290 #define $ac_func innocuous_$ac_func
36292 /* System header to define __stub macros and hopefully few prototypes,
36293 which can conflict with char $ac_func (); below.
36294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36295 <limits.h> exists even on freestanding compilers. */
36298 # include <limits.h>
36300 # include <assert.h>
36305 /* Override any gcc2 internal prototype to avoid an error. */
36310 /* We use char because int might match the return type of a gcc2
36311 builtin and then its argument prototype would still apply. */
36313 /* The GNU C library defines this for functions which it implements
36314 to always fail with ENOSYS. Some functions are actually named
36315 something starting with __ and the normal name is an alias. */
36316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36319 char (*f) () = $ac_func;
36328 return f != $ac_func;
36333 rm -f conftest.
$ac_objext conftest
$ac_exeext
36334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36335 (eval $ac_link) 2>conftest.er1
36337 grep -v '^ *+' conftest.er1
>conftest.err
36339 cat conftest.err
>&5
36340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36341 (exit $ac_status); } &&
36342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36344 (eval $ac_try) 2>&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); }; } &&
36348 { ac_try
='test -s conftest$ac_exeext'
36349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350 (eval $ac_try) 2>&5
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); }; }; then
36354 eval "$as_ac_var=yes"
36356 echo "$as_me: failed program was:" >&5
36357 sed 's/^/| /' conftest.
$ac_ext >&5
36359 eval "$as_ac_var=no"
36361 rm -f conftest.err conftest.
$ac_objext \
36362 conftest
$ac_exeext conftest.
$ac_ext
36364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36366 if test `eval echo '${'$as_ac_var'}'` = yes; then
36367 cat >>confdefs.h
<<_ACEOF
36368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36371 cat >>confdefs.h
<<\_ACEOF
36372 #define HAVE_DLOPEN 1
36379 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
36380 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
36381 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
36382 echo $ECHO_N "(cached) $ECHO_C" >&6
36384 ac_check_lib_save_LIBS
=$LIBS
36386 cat >conftest.
$ac_ext <<_ACEOF
36389 cat confdefs.h
>>conftest.
$ac_ext
36390 cat >>conftest.
$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36393 /* Override any gcc2 internal prototype to avoid an error. */
36397 /* We use char because int might match the return type of a gcc2
36398 builtin and then its argument prototype would still apply. */
36408 rm -f conftest.
$ac_objext conftest
$ac_exeext
36409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36410 (eval $ac_link) 2>conftest.er1
36412 grep -v '^ *+' conftest.er1
>conftest.err
36414 cat conftest.err
>&5
36415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416 (exit $ac_status); } &&
36417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36419 (eval $ac_try) 2>&5
36421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422 (exit $ac_status); }; } &&
36423 { ac_try
='test -s conftest$ac_exeext'
36424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36425 (eval $ac_try) 2>&5
36427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36428 (exit $ac_status); }; }; then
36429 ac_cv_lib_dl_dlopen
=yes
36431 echo "$as_me: failed program was:" >&5
36432 sed 's/^/| /' conftest.
$ac_ext >&5
36434 ac_cv_lib_dl_dlopen
=no
36436 rm -f conftest.err conftest.
$ac_objext \
36437 conftest
$ac_exeext conftest.
$ac_ext
36438 LIBS
=$ac_check_lib_save_LIBS
36440 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
36441 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
36442 if test $ac_cv_lib_dl_dlopen = yes; then
36444 cat >>confdefs.h
<<\_ACEOF
36445 #define HAVE_DLOPEN 1
36449 DL_LINK
=" -ldl$DL_LINK"
36454 for ac_func
in shl_load
36456 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36457 echo "$as_me:$LINENO: checking for $ac_func" >&5
36458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36459 if eval "test \"\${$as_ac_var+set}\" = set"; then
36460 echo $ECHO_N "(cached) $ECHO_C" >&6
36462 cat >conftest.
$ac_ext <<_ACEOF
36465 cat confdefs.h
>>conftest.
$ac_ext
36466 cat >>conftest.
$ac_ext <<_ACEOF
36467 /* end confdefs.h. */
36468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36470 #define $ac_func innocuous_$ac_func
36472 /* System header to define __stub macros and hopefully few prototypes,
36473 which can conflict with char $ac_func (); below.
36474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36475 <limits.h> exists even on freestanding compilers. */
36478 # include <limits.h>
36480 # include <assert.h>
36485 /* Override any gcc2 internal prototype to avoid an error. */
36490 /* We use char because int might match the return type of a gcc2
36491 builtin and then its argument prototype would still apply. */
36493 /* The GNU C library defines this for functions which it implements
36494 to always fail with ENOSYS. Some functions are actually named
36495 something starting with __ and the normal name is an alias. */
36496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36499 char (*f) () = $ac_func;
36508 return f != $ac_func;
36513 rm -f conftest.
$ac_objext conftest
$ac_exeext
36514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36515 (eval $ac_link) 2>conftest.er1
36517 grep -v '^ *+' conftest.er1
>conftest.err
36519 cat conftest.err
>&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); } &&
36522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36524 (eval $ac_try) 2>&5
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); }; } &&
36528 { ac_try
='test -s conftest$ac_exeext'
36529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36530 (eval $ac_try) 2>&5
36532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36533 (exit $ac_status); }; }; then
36534 eval "$as_ac_var=yes"
36536 echo "$as_me: failed program was:" >&5
36537 sed 's/^/| /' conftest.
$ac_ext >&5
36539 eval "$as_ac_var=no"
36541 rm -f conftest.err conftest.
$ac_objext \
36542 conftest
$ac_exeext conftest.
$ac_ext
36544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36546 if test `eval echo '${'$as_ac_var'}'` = yes; then
36547 cat >>confdefs.h
<<_ACEOF
36548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36551 cat >>confdefs.h
<<\_ACEOF
36552 #define HAVE_SHL_LOAD 1
36559 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
36560 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
36561 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
36562 echo $ECHO_N "(cached) $ECHO_C" >&6
36564 ac_check_lib_save_LIBS
=$LIBS
36565 LIBS
="-lshl_load $LIBS"
36566 cat >conftest.
$ac_ext <<_ACEOF
36569 cat confdefs.h
>>conftest.
$ac_ext
36570 cat >>conftest.
$ac_ext <<_ACEOF
36571 /* end confdefs.h. */
36573 /* Override any gcc2 internal prototype to avoid an error. */
36577 /* We use char because int might match the return type of a gcc2
36578 builtin and then its argument prototype would still apply. */
36588 rm -f conftest.
$ac_objext conftest
$ac_exeext
36589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36590 (eval $ac_link) 2>conftest.er1
36592 grep -v '^ *+' conftest.er1
>conftest.err
36594 cat conftest.err
>&5
36595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36596 (exit $ac_status); } &&
36597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36599 (eval $ac_try) 2>&5
36601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36602 (exit $ac_status); }; } &&
36603 { ac_try
='test -s conftest$ac_exeext'
36604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36605 (eval $ac_try) 2>&5
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); }; }; then
36609 ac_cv_lib_shl_load_dld
=yes
36611 echo "$as_me: failed program was:" >&5
36612 sed 's/^/| /' conftest.
$ac_ext >&5
36614 ac_cv_lib_shl_load_dld
=no
36616 rm -f conftest.err conftest.
$ac_objext \
36617 conftest
$ac_exeext conftest.
$ac_ext
36618 LIBS
=$ac_check_lib_save_LIBS
36620 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
36621 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
36622 if test $ac_cv_lib_shl_load_dld = yes; then
36625 DL_LINK
=" -ldld$DL_LINK"
36641 if test "$HAVE_DL_FUNCS" = 1; then
36643 for ac_func
in dlerror
36645 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36646 echo "$as_me:$LINENO: checking for $ac_func" >&5
36647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36648 if eval "test \"\${$as_ac_var+set}\" = set"; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36651 cat >conftest.
$ac_ext <<_ACEOF
36654 cat confdefs.h
>>conftest.
$ac_ext
36655 cat >>conftest.
$ac_ext <<_ACEOF
36656 /* end confdefs.h. */
36657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36659 #define $ac_func innocuous_$ac_func
36661 /* System header to define __stub macros and hopefully few prototypes,
36662 which can conflict with char $ac_func (); below.
36663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36664 <limits.h> exists even on freestanding compilers. */
36667 # include <limits.h>
36669 # include <assert.h>
36674 /* Override any gcc2 internal prototype to avoid an error. */
36679 /* We use char because int might match the return type of a gcc2
36680 builtin and then its argument prototype would still apply. */
36682 /* The GNU C library defines this for functions which it implements
36683 to always fail with ENOSYS. Some functions are actually named
36684 something starting with __ and the normal name is an alias. */
36685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36688 char (*f) () = $ac_func;
36697 return f != $ac_func;
36702 rm -f conftest.
$ac_objext conftest
$ac_exeext
36703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36704 (eval $ac_link) 2>conftest.er1
36706 grep -v '^ *+' conftest.er1
>conftest.err
36708 cat conftest.err
>&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); } &&
36711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36713 (eval $ac_try) 2>&5
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); }; } &&
36717 { ac_try
='test -s conftest$ac_exeext'
36718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36719 (eval $ac_try) 2>&5
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); }; }; then
36723 eval "$as_ac_var=yes"
36725 echo "$as_me: failed program was:" >&5
36726 sed 's/^/| /' conftest.
$ac_ext >&5
36728 eval "$as_ac_var=no"
36730 rm -f conftest.err conftest.
$ac_objext \
36731 conftest
$ac_exeext conftest.
$ac_ext
36733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36735 if test `eval echo '${'$as_ac_var'}'` = yes; then
36736 cat >>confdefs.h
<<_ACEOF
36737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36739 cat >>confdefs.h
<<\_ACEOF
36740 #define HAVE_DLERROR 1
36745 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
36746 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
36747 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
36748 echo $ECHO_N "(cached) $ECHO_C" >&6
36750 ac_check_lib_save_LIBS
=$LIBS
36752 cat >conftest.
$ac_ext <<_ACEOF
36755 cat confdefs.h
>>conftest.
$ac_ext
36756 cat >>conftest.
$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36759 /* Override any gcc2 internal prototype to avoid an error. */
36763 /* We use char because int might match the return type of a gcc2
36764 builtin and then its argument prototype would still apply. */
36774 rm -f conftest.
$ac_objext conftest
$ac_exeext
36775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36776 (eval $ac_link) 2>conftest.er1
36778 grep -v '^ *+' conftest.er1
>conftest.err
36780 cat conftest.err
>&5
36781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782 (exit $ac_status); } &&
36783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36785 (eval $ac_try) 2>&5
36787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36788 (exit $ac_status); }; } &&
36789 { ac_try
='test -s conftest$ac_exeext'
36790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36791 (eval $ac_try) 2>&5
36793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36794 (exit $ac_status); }; }; then
36795 ac_cv_lib_dl_dlerror
=yes
36797 echo "$as_me: failed program was:" >&5
36798 sed 's/^/| /' conftest.
$ac_ext >&5
36800 ac_cv_lib_dl_dlerror
=no
36802 rm -f conftest.err conftest.
$ac_objext \
36803 conftest
$ac_exeext conftest.
$ac_ext
36804 LIBS
=$ac_check_lib_save_LIBS
36806 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
36807 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
36808 if test $ac_cv_lib_dl_dlerror = yes; then
36809 cat >>confdefs.h
<<\_ACEOF
36810 #define HAVE_DLERROR 1
36823 if test "$HAVE_DL_FUNCS" = 0; then
36824 if test "$HAVE_SHL_FUNCS" = 0; then
36825 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
36826 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
36827 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
36828 wxUSE_DYNAMIC_LOADER
=no
36829 wxUSE_DYNLIB_CLASS
=no
36831 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
36832 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
36839 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
36840 cat >>confdefs.h
<<\_ACEOF
36841 #define wxUSE_DYNAMIC_LOADER 1
36845 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
36846 cat >>confdefs.h
<<\_ACEOF
36847 #define wxUSE_DYNLIB_CLASS 1
36854 if test "$wxUSE_PLUGINS" = "yes" ; then
36855 if test "$wxUSE_SHARED" = "no" ; then
36856 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
36857 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
36860 if test "$wxUSE_MONOLITHIC" = "yes" ; then
36861 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
36862 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
36865 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
36866 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
36867 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
36870 if test "$wxUSE_PLUGINS" = "yes" ; then
36871 cat >>confdefs.h
<<\_ACEOF
36872 #define wxUSE_PLUGINS 1
36879 if test "$wxUSE_STL" = "yes"; then
36880 cat >>confdefs.h
<<\_ACEOF
36881 #define wxUSE_STL 1
36886 if test "$wxUSE_APPLE_IEEE" = "yes"; then
36887 cat >>confdefs.h
<<\_ACEOF
36888 #define wxUSE_APPLE_IEEE 1
36893 if test "$wxUSE_TIMER" = "yes"; then
36894 cat >>confdefs.h
<<\_ACEOF
36895 #define wxUSE_TIMER 1
36900 if test "$USE_UNIX" = "1" ; then
36902 for ac_header
in sys
/soundcard.h
36904 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36906 echo "$as_me:$LINENO: checking for $ac_header" >&5
36907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36909 echo $ECHO_N "(cached) $ECHO_C" >&6
36911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36914 # Is the header compilable?
36915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36917 cat >conftest.
$ac_ext <<_ACEOF
36920 cat confdefs.h
>>conftest.
$ac_ext
36921 cat >>conftest.
$ac_ext <<_ACEOF
36922 /* end confdefs.h. */
36923 $ac_includes_default
36924 #include <$ac_header>
36926 rm -f conftest.
$ac_objext
36927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36928 (eval $ac_compile) 2>conftest.er1
36930 grep -v '^ *+' conftest.er1
>conftest.err
36932 cat conftest.err
>&5
36933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36934 (exit $ac_status); } &&
36935 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36937 (eval $ac_try) 2>&5
36939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36940 (exit $ac_status); }; } &&
36941 { ac_try
='test -s conftest.$ac_objext'
36942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36943 (eval $ac_try) 2>&5
36945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946 (exit $ac_status); }; }; then
36947 ac_header_compiler
=yes
36949 echo "$as_me: failed program was:" >&5
36950 sed 's/^/| /' conftest.
$ac_ext >&5
36952 ac_header_compiler
=no
36954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36955 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36956 echo "${ECHO_T}$ac_header_compiler" >&6
36958 # Is the header present?
36959 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36960 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36961 cat >conftest.
$ac_ext <<_ACEOF
36964 cat confdefs.h
>>conftest.
$ac_ext
36965 cat >>conftest.
$ac_ext <<_ACEOF
36966 /* end confdefs.h. */
36967 #include <$ac_header>
36969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36970 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36972 grep -v '^ *+' conftest.er1
>conftest.err
36974 cat conftest.err
>&5
36975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976 (exit $ac_status); } >/dev
/null
; then
36977 if test -s conftest.err
; then
36978 ac_cpp_err
=$ac_c_preproc_warn_flag
36979 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36986 if test -z "$ac_cpp_err"; then
36987 ac_header_preproc
=yes
36989 echo "$as_me: failed program was:" >&5
36990 sed 's/^/| /' conftest.
$ac_ext >&5
36992 ac_header_preproc
=no
36994 rm -f conftest.err conftest.
$ac_ext
36995 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36996 echo "${ECHO_T}$ac_header_preproc" >&6
36998 # So? What about this header?
36999 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37001 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37002 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37004 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37005 ac_header_preproc
=yes
37008 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37009 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37010 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37011 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37012 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37013 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37014 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37015 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37017 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37018 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37019 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37022 ## ----------------------------------------- ##
37023 ## Report this to wx-dev@lists.wxwidgets.org ##
37024 ## ----------------------------------------- ##
37027 sed "s/^/$as_me: WARNING: /" >&2
37030 echo "$as_me:$LINENO: checking for $ac_header" >&5
37031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37033 echo $ECHO_N "(cached) $ECHO_C" >&6
37035 eval "$as_ac_Header=\$ac_header_preproc"
37037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37042 cat >>confdefs.h
<<_ACEOF
37043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37047 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
37054 if test "$wxUSE_SOUND" = "yes"; then
37055 if test "$USE_UNIX" = "1" ; then
37056 if test "$wxUSE_LIBSDL" != "no"; then
37058 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
37059 if test "${with_sdl_prefix+set}" = set; then
37060 withval
="$with_sdl_prefix"
37061 sdl_prefix
="$withval"
37066 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
37067 if test "${with_sdl_exec_prefix+set}" = set; then
37068 withval
="$with_sdl_exec_prefix"
37069 sdl_exec_prefix
="$withval"
37073 # Check whether --enable-sdltest or --disable-sdltest was given.
37074 if test "${enable_sdltest+set}" = set; then
37075 enableval
="$enable_sdltest"
37081 if test x
$sdl_exec_prefix != x
; then
37082 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
37083 if test x
${SDL_CONFIG+set} != xset
; then
37084 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
37087 if test x
$sdl_prefix != x
; then
37088 sdl_args
="$sdl_args --prefix=$sdl_prefix"
37089 if test x
${SDL_CONFIG+set} != xset
; then
37090 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
37095 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
37096 # Extract the first word of "sdl-config", so it can be a program name with args.
37097 set dummy sdl
-config; ac_word
=$2
37098 echo "$as_me:$LINENO: checking for $ac_word" >&5
37099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37100 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
37101 echo $ECHO_N "(cached) $ECHO_C" >&6
37103 case $SDL_CONFIG in
37105 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
37108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37109 for as_dir
in $PATH
37112 test -z "$as_dir" && as_dir
=.
37113 for ac_exec_ext
in '' $ac_executable_extensions; do
37114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37115 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37122 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
37126 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
37128 if test -n "$SDL_CONFIG"; then
37129 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
37130 echo "${ECHO_T}$SDL_CONFIG" >&6
37132 echo "$as_me:$LINENO: result: no" >&5
37133 echo "${ECHO_T}no" >&6
37136 min_sdl_version
=1.2.0
37137 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
37138 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
37140 if test "$SDL_CONFIG" = "no" ; then
37143 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
37144 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
37146 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
37147 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
37148 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
37149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
37150 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
37151 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
37152 if test "x$enable_sdltest" = "xyes" ; then
37153 ac_save_CFLAGS
="$CFLAGS"
37154 ac_save_CXXFLAGS
="$CXXFLAGS"
37155 ac_save_LIBS
="$LIBS"
37156 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37157 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37158 LIBS
="$LIBS $SDL_LIBS"
37160 if test "$cross_compiling" = yes; then
37161 echo $ac_n "cross compiling; assumed OK... $ac_c"
37163 cat >conftest.
$ac_ext <<_ACEOF
37166 cat confdefs.h
>>conftest.
$ac_ext
37167 cat >>conftest.
$ac_ext <<_ACEOF
37168 /* end confdefs.h. */
37171 #include <stdlib.h>
37172 #include <string.h>
37176 my_strdup (char *str)
37182 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
37183 strcpy (new_str, str);
37191 int main (int argc, char *argv[])
37193 int major, minor, micro;
37196 /* This hangs on some systems (?)
37197 system ("touch conf.sdltest");
37199 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
37201 /* HP/UX 9 (%@#!) writes to sscanf strings */
37202 tmp_version = my_strdup("$min_sdl_version");
37203 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
37204 printf("%s, bad version string\n", "$min_sdl_version");
37208 if (($sdl_major_version > major) ||
37209 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
37210 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
37216 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
37217 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
37218 printf("*** best to upgrade to the required version.\n");
37219 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
37220 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
37221 printf("*** config.cache before re-running configure\n");
37228 rm -f conftest
$ac_exeext
37229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37230 (eval $ac_link) 2>&5
37232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37233 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37235 (eval $ac_try) 2>&5
37237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37238 (exit $ac_status); }; }; then
37241 echo "$as_me: program exited with status $ac_status" >&5
37242 echo "$as_me: failed program was:" >&5
37243 sed 's/^/| /' conftest.
$ac_ext >&5
37245 ( exit $ac_status )
37248 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
37250 CFLAGS
="$ac_save_CFLAGS"
37251 CXXFLAGS
="$ac_save_CXXFLAGS"
37252 LIBS
="$ac_save_LIBS"
37255 if test "x$no_sdl" = x
; then
37256 echo "$as_me:$LINENO: result: yes" >&5
37257 echo "${ECHO_T}yes" >&6
37259 EXTRALIBS_SDL
="$SDL_LIBS"
37260 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37261 cat >>confdefs.h
<<\_ACEOF
37262 #define wxUSE_LIBSDL 1
37267 echo "$as_me:$LINENO: result: no" >&5
37268 echo "${ECHO_T}no" >&6
37269 if test "$SDL_CONFIG" = "no" ; then
37270 echo "*** The sdl-config script installed by SDL could not be found"
37271 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
37272 echo "*** your path, or set the SDL_CONFIG environment variable to the"
37273 echo "*** full path to sdl-config."
37275 if test -f conf.sdltest
; then
37278 echo "*** Could not run SDL test program, checking why..."
37279 CFLAGS
="$CFLAGS $SDL_CFLAGS"
37280 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
37281 LIBS
="$LIBS $SDL_LIBS"
37282 cat >conftest.
$ac_ext <<_ACEOF
37285 cat confdefs.h
>>conftest.
$ac_ext
37286 cat >>conftest.
$ac_ext <<_ACEOF
37287 /* end confdefs.h. */
37292 int main(int argc, char *argv[])
37295 #define main K_and_R_C_main
37305 rm -f conftest.
$ac_objext conftest
$ac_exeext
37306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37307 (eval $ac_link) 2>conftest.er1
37309 grep -v '^ *+' conftest.er1
>conftest.err
37311 cat conftest.err
>&5
37312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37313 (exit $ac_status); } &&
37314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37316 (eval $ac_try) 2>&5
37318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319 (exit $ac_status); }; } &&
37320 { ac_try
='test -s conftest$ac_exeext'
37321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37322 (eval $ac_try) 2>&5
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); }; }; then
37326 echo "*** The test program compiled, but did not run. This usually means"
37327 echo "*** that the run-time linker is not finding SDL or finding the wrong"
37328 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
37329 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
37330 echo "*** to the installed location Also, make sure you have run ldconfig if that"
37331 echo "*** is required on your system"
37333 echo "*** If you have an old version installed, it is best to remove it, although"
37334 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
37336 echo "$as_me: failed program was:" >&5
37337 sed 's/^/| /' conftest.
$ac_ext >&5
37339 echo "*** The test program failed to compile or link. See the file config.log for the"
37340 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
37341 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
37342 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
37344 rm -f conftest.err conftest.
$ac_objext \
37345 conftest
$ac_exeext conftest.
$ac_ext
37346 CFLAGS
="$ac_save_CFLAGS"
37347 CXXFLAGS
="$ac_save_CXXFLAGS"
37348 LIBS
="$ac_save_LIBS"
37359 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
37365 cat >>confdefs.h
<<\_ACEOF
37366 #define wxUSE_SOUND 1
37369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
37372 if test "$WXGTK20" = 1; then
37373 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
37374 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37379 if test -z "$PKG_CONFIG"; then
37380 # Extract the first word of "pkg-config", so it can be a program name with args.
37381 set dummy pkg
-config; ac_word
=$2
37382 echo "$as_me:$LINENO: checking for $ac_word" >&5
37383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37384 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37385 echo $ECHO_N "(cached) $ECHO_C" >&6
37387 case $PKG_CONFIG in
37389 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
37392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37393 for as_dir
in $PATH
37396 test -z "$as_dir" && as_dir
=.
37397 for ac_exec_ext
in '' $ac_executable_extensions; do
37398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37399 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
37400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37406 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
37410 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
37412 if test -n "$PKG_CONFIG"; then
37413 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37414 echo "${ECHO_T}$PKG_CONFIG" >&6
37416 echo "$as_me:$LINENO: result: no" >&5
37417 echo "${ECHO_T}no" >&6
37422 if test "$PKG_CONFIG" = "no" ; then
37423 echo "*** The pkg-config script could not be found. Make sure it is"
37424 echo "*** in your path, or set the PKG_CONFIG environment variable"
37425 echo "*** to the full path to pkg-config."
37426 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
37428 PKG_CONFIG_MIN_VERSION
=0.9.0
37429 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
37430 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
37431 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
37433 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
37434 echo "$as_me:$LINENO: result: yes" >&5
37435 echo "${ECHO_T}yes" >&6
37438 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
37439 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
37440 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
37441 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
37442 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
37444 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
37445 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
37446 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
37447 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
37448 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
37450 LIBGNOMEPRINTUI_CFLAGS
=""
37451 LIBGNOMEPRINTUI_LIBS
=""
37452 ## If we have a custom action on failure, don't print errors, but
37453 ## do set a variable so people can do so.
37454 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
37461 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
37462 echo "*** See http://www.freedesktop.org/software/pkgconfig"
37466 if test $succeeded = yes; then
37468 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
37469 cat >>confdefs.h
<<\_ACEOF
37470 #define wxUSE_LIBGNOMEPRINT 1
37476 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
37477 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
37478 wxUSE_LIBGNOMEPRINT
="no"
37488 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
37489 cat >>confdefs.h
<<\_ACEOF
37490 #define wxUSE_CMDLINE_PARSER 1
37495 if test "$wxUSE_STOPWATCH" = "yes"; then
37496 cat >>confdefs.h
<<\_ACEOF
37497 #define wxUSE_STOPWATCH 1
37502 if test "$wxUSE_DATETIME" = "yes"; then
37503 cat >>confdefs.h
<<\_ACEOF
37504 #define wxUSE_DATETIME 1
37509 if test "$wxUSE_FILE" = "yes"; then
37510 cat >>confdefs.h
<<\_ACEOF
37511 #define wxUSE_FILE 1
37516 if test "$wxUSE_FFILE" = "yes"; then
37517 cat >>confdefs.h
<<\_ACEOF
37518 #define wxUSE_FFILE 1
37523 if test "$wxUSE_FILESYSTEM" = "yes"; then
37524 cat >>confdefs.h
<<\_ACEOF
37525 #define wxUSE_FILESYSTEM 1
37530 if test "$wxUSE_FS_ZIP" = "yes"; then
37531 cat >>confdefs.h
<<\_ACEOF
37532 #define wxUSE_FS_ZIP 1
37537 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
37538 cat >>confdefs.h
<<\_ACEOF
37539 #define wxUSE_ARCHIVE_STREAMS 1
37544 if test "$wxUSE_ZIPSTREAM" = "yes"; then
37545 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
37546 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
37547 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
37548 elif test "$wxUSE_ZLIB" = "no"; then
37549 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
37550 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
37552 cat >>confdefs.h
<<\_ACEOF
37553 #define wxUSE_ZIPSTREAM 1
37559 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37560 if test "$USE_UNIX" != 1; then
37561 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
37562 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
37563 wxUSE_ON_FATAL_EXCEPTION
=no
37565 cat >>confdefs.h
<<\_ACEOF
37566 #define wxUSE_ON_FATAL_EXCEPTION 1
37572 if test "$wxUSE_STACKWALKER" = "yes"; then
37573 cat >>confdefs.h
<<\_ACEOF
37574 #define wxUSE_STACKWALKER 1
37579 if test "$wxUSE_DEBUGREPORT" = "yes"; then
37580 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
37581 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
37582 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
37583 wxUSE_DEBUGREPORT
=no
37585 cat >>confdefs.h
<<\_ACEOF
37586 #define wxUSE_DEBUGREPORT 1
37589 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37590 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
37595 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37596 cat >>confdefs.h
<<\_ACEOF
37597 #define wxUSE_SNGLINST_CHECKER 1
37602 if test "$wxUSE_BUSYINFO" = "yes"; then
37603 cat >>confdefs.h
<<\_ACEOF
37604 #define wxUSE_BUSYINFO 1
37609 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
37610 cat >>confdefs.h
<<\_ACEOF
37611 #define wxUSE_STD_IOSTREAM 1
37616 if test "$wxUSE_STD_STRING" = "yes"; then
37617 cat >>confdefs.h
<<\_ACEOF
37618 #define wxUSE_STD_STRING 1
37623 if test "$wxUSE_STDPATHS" = "yes"; then
37624 cat >>confdefs.h
<<\_ACEOF
37625 #define wxUSE_STDPATHS 1
37630 if test "$wxUSE_TEXTBUFFER" = "yes"; then
37631 cat >>confdefs.h
<<\_ACEOF
37632 #define wxUSE_TEXTBUFFER 1
37637 if test "$wxUSE_TEXTFILE" = "yes"; then
37638 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
37639 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
37640 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
37642 cat >>confdefs.h
<<\_ACEOF
37643 #define wxUSE_TEXTFILE 1
37649 if test "$wxUSE_CONFIG" = "yes" ; then
37650 if test "$wxUSE_TEXTFILE" != "yes"; then
37651 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
37652 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
37654 cat >>confdefs.h
<<\_ACEOF
37655 #define wxUSE_CONFIG 1
37658 cat >>confdefs.h
<<\_ACEOF
37659 #define wxUSE_CONFIG_NATIVE 1
37662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
37666 if test "$wxUSE_INTL" = "yes" ; then
37667 if test "$wxUSE_FILE" != "yes"; then
37668 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
37669 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
37671 cat >>confdefs.h
<<\_ACEOF
37672 #define wxUSE_INTL 1
37675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
37676 GUIDIST
="$GUIDIST INTL_DIST"
37680 if test "$wxUSE_LOG" = "yes"; then
37681 cat >>confdefs.h
<<\_ACEOF
37682 #define wxUSE_LOG 1
37686 if test "$wxUSE_LOGGUI" = "yes"; then
37687 cat >>confdefs.h
<<\_ACEOF
37688 #define wxUSE_LOGGUI 1
37693 if test "$wxUSE_LOGWINDOW" = "yes"; then
37694 cat >>confdefs.h
<<\_ACEOF
37695 #define wxUSE_LOGWINDOW 1
37700 if test "$wxUSE_LOGDIALOG" = "yes"; then
37701 cat >>confdefs.h
<<\_ACEOF
37702 #define wxUSE_LOG_DIALOG 1
37707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
37710 if test "$wxUSE_LONGLONG" = "yes"; then
37711 cat >>confdefs.h
<<\_ACEOF
37712 #define wxUSE_LONGLONG 1
37717 if test "$wxUSE_GEOMETRY" = "yes"; then
37718 cat >>confdefs.h
<<\_ACEOF
37719 #define wxUSE_GEOMETRY 1
37724 if test "$wxUSE_STREAMS" = "yes" ; then
37725 cat >>confdefs.h
<<\_ACEOF
37726 #define wxUSE_STREAMS 1
37732 if test "$wxUSE_DATETIME" = "yes"; then
37734 for ac_func
in strptime
37736 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37737 echo "$as_me:$LINENO: checking for $ac_func" >&5
37738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37739 if eval "test \"\${$as_ac_var+set}\" = set"; then
37740 echo $ECHO_N "(cached) $ECHO_C" >&6
37742 cat >conftest.
$ac_ext <<_ACEOF
37745 cat confdefs.h
>>conftest.
$ac_ext
37746 cat >>conftest.
$ac_ext <<_ACEOF
37747 /* end confdefs.h. */
37748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37750 #define $ac_func innocuous_$ac_func
37752 /* System header to define __stub macros and hopefully few prototypes,
37753 which can conflict with char $ac_func (); below.
37754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37755 <limits.h> exists even on freestanding compilers. */
37758 # include <limits.h>
37760 # include <assert.h>
37765 /* Override any gcc2 internal prototype to avoid an error. */
37770 /* We use char because int might match the return type of a gcc2
37771 builtin and then its argument prototype would still apply. */
37773 /* The GNU C library defines this for functions which it implements
37774 to always fail with ENOSYS. Some functions are actually named
37775 something starting with __ and the normal name is an alias. */
37776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37779 char (*f) () = $ac_func;
37788 return f != $ac_func;
37793 rm -f conftest.
$ac_objext conftest
$ac_exeext
37794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37795 (eval $ac_link) 2>conftest.er1
37797 grep -v '^ *+' conftest.er1
>conftest.err
37799 cat conftest.err
>&5
37800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37801 (exit $ac_status); } &&
37802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37804 (eval $ac_try) 2>&5
37806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37807 (exit $ac_status); }; } &&
37808 { ac_try
='test -s conftest$ac_exeext'
37809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37810 (eval $ac_try) 2>&5
37812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37813 (exit $ac_status); }; }; then
37814 eval "$as_ac_var=yes"
37816 echo "$as_me: failed program was:" >&5
37817 sed 's/^/| /' conftest.
$ac_ext >&5
37819 eval "$as_ac_var=no"
37821 rm -f conftest.err conftest.
$ac_objext \
37822 conftest
$ac_exeext conftest.
$ac_ext
37824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37826 if test `eval echo '${'$as_ac_var'}'` = yes; then
37827 cat >>confdefs.h
<<_ACEOF
37828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37835 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
37836 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
37837 if test "${wx_cv_var_timezone+set}" = set; then
37838 echo $ECHO_N "(cached) $ECHO_C" >&6
37841 cat >conftest.
$ac_ext <<_ACEOF
37844 cat confdefs.h
>>conftest.
$ac_ext
37845 cat >>conftest.
$ac_ext <<_ACEOF
37846 /* end confdefs.h. */
37861 rm -f conftest.
$ac_objext
37862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37863 (eval $ac_compile) 2>conftest.er1
37865 grep -v '^ *+' conftest.er1
>conftest.err
37867 cat conftest.err
>&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); } &&
37870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37872 (eval $ac_try) 2>&5
37874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37875 (exit $ac_status); }; } &&
37876 { ac_try
='test -s conftest.$ac_objext'
37877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37878 (eval $ac_try) 2>&5
37880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37881 (exit $ac_status); }; }; then
37883 wx_cv_var_timezone
=timezone
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.
$ac_ext >&5
37890 cat >conftest.
$ac_ext <<_ACEOF
37893 cat confdefs.h
>>conftest.
$ac_ext
37894 cat >>conftest.
$ac_ext <<_ACEOF
37895 /* end confdefs.h. */
37910 rm -f conftest.
$ac_objext
37911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37912 (eval $ac_compile) 2>conftest.er1
37914 grep -v '^ *+' conftest.er1
>conftest.err
37916 cat conftest.err
>&5
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); } &&
37919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; } &&
37925 { ac_try
='test -s conftest.$ac_objext'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; }; then
37932 wx_cv_var_timezone
=_timezone
37935 echo "$as_me: failed program was:" >&5
37936 sed 's/^/| /' conftest.
$ac_ext >&5
37939 cat >conftest.
$ac_ext <<_ACEOF
37942 cat confdefs.h
>>conftest.
$ac_ext
37943 cat >>conftest.
$ac_ext <<_ACEOF
37944 /* end confdefs.h. */
37959 rm -f conftest.
$ac_objext
37960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37961 (eval $ac_compile) 2>conftest.er1
37963 grep -v '^ *+' conftest.er1
>conftest.err
37965 cat conftest.err
>&5
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); } &&
37968 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37970 (eval $ac_try) 2>&5
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); }; } &&
37974 { ac_try
='test -s conftest.$ac_objext'
37975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37976 (eval $ac_try) 2>&5
37978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37979 (exit $ac_status); }; }; then
37981 wx_cv_var_timezone
=__timezone
37984 echo "$as_me: failed program was:" >&5
37985 sed 's/^/| /' conftest.
$ac_ext >&5
37988 if test "$USE_DOS" = 0 ; then
37989 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
37990 echo "$as_me: WARNING: no timezone variable" >&2;}
37995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38007 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
38008 echo "${ECHO_T}$wx_cv_var_timezone" >&6
38010 if test "x$wx_cv_var_timezone" != x
; then
38011 cat >>confdefs.h
<<_ACEOF
38012 #define WX_TIMEZONE $wx_cv_var_timezone
38018 for ac_func
in localtime
38020 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38021 echo "$as_me:$LINENO: checking for $ac_func" >&5
38022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38023 if eval "test \"\${$as_ac_var+set}\" = set"; then
38024 echo $ECHO_N "(cached) $ECHO_C" >&6
38026 cat >conftest.
$ac_ext <<_ACEOF
38029 cat confdefs.h
>>conftest.
$ac_ext
38030 cat >>conftest.
$ac_ext <<_ACEOF
38031 /* end confdefs.h. */
38032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38034 #define $ac_func innocuous_$ac_func
38036 /* System header to define __stub macros and hopefully few prototypes,
38037 which can conflict with char $ac_func (); below.
38038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38039 <limits.h> exists even on freestanding compilers. */
38042 # include <limits.h>
38044 # include <assert.h>
38049 /* Override any gcc2 internal prototype to avoid an error. */
38054 /* We use char because int might match the return type of a gcc2
38055 builtin and then its argument prototype would still apply. */
38057 /* The GNU C library defines this for functions which it implements
38058 to always fail with ENOSYS. Some functions are actually named
38059 something starting with __ and the normal name is an alias. */
38060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38063 char (*f) () = $ac_func;
38072 return f != $ac_func;
38077 rm -f conftest.
$ac_objext conftest
$ac_exeext
38078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38079 (eval $ac_link) 2>conftest.er1
38081 grep -v '^ *+' conftest.er1
>conftest.err
38083 cat conftest.err
>&5
38084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38085 (exit $ac_status); } &&
38086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38088 (eval $ac_try) 2>&5
38090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38091 (exit $ac_status); }; } &&
38092 { ac_try
='test -s conftest$ac_exeext'
38093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38094 (eval $ac_try) 2>&5
38096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38097 (exit $ac_status); }; }; then
38098 eval "$as_ac_var=yes"
38100 echo "$as_me: failed program was:" >&5
38101 sed 's/^/| /' conftest.
$ac_ext >&5
38103 eval "$as_ac_var=no"
38105 rm -f conftest.err conftest.
$ac_objext \
38106 conftest
$ac_exeext conftest.
$ac_ext
38108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38110 if test `eval echo '${'$as_ac_var'}'` = yes; then
38111 cat >>confdefs.h
<<_ACEOF
38112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38119 if test "$ac_cv_func_localtime" = "yes"; then
38120 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
38121 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
38122 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
38123 echo $ECHO_N "(cached) $ECHO_C" >&6
38126 cat >conftest.
$ac_ext <<_ACEOF
38129 cat confdefs.h
>>conftest.
$ac_ext
38130 cat >>conftest.
$ac_ext <<_ACEOF
38131 /* end confdefs.h. */
38146 rm -f conftest.
$ac_objext
38147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38148 (eval $ac_compile) 2>conftest.er1
38150 grep -v '^ *+' conftest.er1
>conftest.err
38152 cat conftest.err
>&5
38153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38154 (exit $ac_status); } &&
38155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38157 (eval $ac_try) 2>&5
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); }; } &&
38161 { ac_try
='test -s conftest.$ac_objext'
38162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38163 (eval $ac_try) 2>&5
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); }; }; then
38168 wx_cv_struct_tm_has_gmtoff
=yes
38171 echo "$as_me: failed program was:" >&5
38172 sed 's/^/| /' conftest.
$ac_ext >&5
38174 wx_cv_struct_tm_has_gmtoff
=no
38177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38180 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
38181 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
38184 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
38185 cat >>confdefs.h
<<\_ACEOF
38186 #define WX_GMTOFF_IN_TM 1
38193 for ac_func
in gettimeofday ftime
38195 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38196 echo "$as_me:$LINENO: checking for $ac_func" >&5
38197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38198 if eval "test \"\${$as_ac_var+set}\" = set"; then
38199 echo $ECHO_N "(cached) $ECHO_C" >&6
38201 cat >conftest.
$ac_ext <<_ACEOF
38204 cat confdefs.h
>>conftest.
$ac_ext
38205 cat >>conftest.
$ac_ext <<_ACEOF
38206 /* end confdefs.h. */
38207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38209 #define $ac_func innocuous_$ac_func
38211 /* System header to define __stub macros and hopefully few prototypes,
38212 which can conflict with char $ac_func (); below.
38213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38214 <limits.h> exists even on freestanding compilers. */
38217 # include <limits.h>
38219 # include <assert.h>
38224 /* Override any gcc2 internal prototype to avoid an error. */
38229 /* We use char because int might match the return type of a gcc2
38230 builtin and then its argument prototype would still apply. */
38232 /* The GNU C library defines this for functions which it implements
38233 to always fail with ENOSYS. Some functions are actually named
38234 something starting with __ and the normal name is an alias. */
38235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38238 char (*f) () = $ac_func;
38247 return f != $ac_func;
38252 rm -f conftest.
$ac_objext conftest
$ac_exeext
38253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38254 (eval $ac_link) 2>conftest.er1
38256 grep -v '^ *+' conftest.er1
>conftest.err
38258 cat conftest.err
>&5
38259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38260 (exit $ac_status); } &&
38261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38263 (eval $ac_try) 2>&5
38265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266 (exit $ac_status); }; } &&
38267 { ac_try
='test -s conftest$ac_exeext'
38268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38269 (eval $ac_try) 2>&5
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); }; }; then
38273 eval "$as_ac_var=yes"
38275 echo "$as_me: failed program was:" >&5
38276 sed 's/^/| /' conftest.
$ac_ext >&5
38278 eval "$as_ac_var=no"
38280 rm -f conftest.err conftest.
$ac_objext \
38281 conftest
$ac_exeext conftest.
$ac_ext
38283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38285 if test `eval echo '${'$as_ac_var'}'` = yes; then
38286 cat >>confdefs.h
<<_ACEOF
38287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38294 if test "$ac_cv_func_gettimeofday" = "yes"; then
38295 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
38296 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
38297 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
38298 echo $ECHO_N "(cached) $ECHO_C" >&6
38304 ac_cpp
='$CXXCPP $CPPFLAGS'
38305 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38306 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38307 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38310 cat >conftest.
$ac_ext <<_ACEOF
38313 cat confdefs.h
>>conftest.
$ac_ext
38314 cat >>conftest.
$ac_ext <<_ACEOF
38315 /* end confdefs.h. */
38317 #include <sys/time.h>
38318 #include <unistd.h>
38325 gettimeofday(&tv, NULL);
38331 rm -f conftest.
$ac_objext
38332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38333 (eval $ac_compile) 2>conftest.er1
38335 grep -v '^ *+' conftest.er1
>conftest.err
38337 cat conftest.err
>&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); } &&
38340 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38342 (eval $ac_try) 2>&5
38344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345 (exit $ac_status); }; } &&
38346 { ac_try
='test -s conftest.$ac_objext'
38347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38348 (eval $ac_try) 2>&5
38350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38351 (exit $ac_status); }; }; then
38352 wx_cv_func_gettimeofday_has_2_args
=yes
38354 echo "$as_me: failed program was:" >&5
38355 sed 's/^/| /' conftest.
$ac_ext >&5
38357 cat >conftest.
$ac_ext <<_ACEOF
38360 cat confdefs.h
>>conftest.
$ac_ext
38361 cat >>conftest.
$ac_ext <<_ACEOF
38362 /* end confdefs.h. */
38364 #include <sys/time.h>
38365 #include <unistd.h>
38378 rm -f conftest.
$ac_objext
38379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38380 (eval $ac_compile) 2>conftest.er1
38382 grep -v '^ *+' conftest.er1
>conftest.err
38384 cat conftest.err
>&5
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); } &&
38387 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38389 (eval $ac_try) 2>&5
38391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38392 (exit $ac_status); }; } &&
38393 { ac_try
='test -s conftest.$ac_objext'
38394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38395 (eval $ac_try) 2>&5
38397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398 (exit $ac_status); }; }; then
38399 wx_cv_func_gettimeofday_has_2_args
=no
38401 echo "$as_me: failed program was:" >&5
38402 sed 's/^/| /' conftest.
$ac_ext >&5
38405 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
38406 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
38407 wx_cv_func_gettimeofday_has_2_args
=unknown
38411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38416 ac_cpp
='$CPP $CPPFLAGS'
38417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38423 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
38424 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
38426 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
38427 cat >>confdefs.h
<<\_ACEOF
38428 #define WX_GETTIMEOFDAY_NO_TZ 1
38434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
38438 if test "$wxUSE_SOCKETS" = "yes"; then
38439 if test "$wxUSE_MGL" = "1"; then
38440 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
38441 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
38446 if test "$wxUSE_SOCKETS" = "yes"; then
38447 if test "$TOOLKIT" != "MSW"; then
38448 echo "$as_me:$LINENO: checking for socket" >&5
38449 echo $ECHO_N "checking for socket... $ECHO_C" >&6
38450 if test "${ac_cv_func_socket+set}" = set; then
38451 echo $ECHO_N "(cached) $ECHO_C" >&6
38453 cat >conftest.
$ac_ext <<_ACEOF
38456 cat confdefs.h
>>conftest.
$ac_ext
38457 cat >>conftest.
$ac_ext <<_ACEOF
38458 /* end confdefs.h. */
38459 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
38460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38461 #define socket innocuous_socket
38463 /* System header to define __stub macros and hopefully few prototypes,
38464 which can conflict with char socket (); below.
38465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38466 <limits.h> exists even on freestanding compilers. */
38469 # include <limits.h>
38471 # include <assert.h>
38476 /* Override any gcc2 internal prototype to avoid an error. */
38481 /* We use char because int might match the return type of a gcc2
38482 builtin and then its argument prototype would still apply. */
38484 /* The GNU C library defines this for functions which it implements
38485 to always fail with ENOSYS. Some functions are actually named
38486 something starting with __ and the normal name is an alias. */
38487 #if defined (__stub_socket) || defined (__stub___socket)
38490 char (*f) () = socket;
38499 return f != socket;
38504 rm -f conftest.
$ac_objext conftest
$ac_exeext
38505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38506 (eval $ac_link) 2>conftest.er1
38508 grep -v '^ *+' conftest.er1
>conftest.err
38510 cat conftest.err
>&5
38511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38512 (exit $ac_status); } &&
38513 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38515 (eval $ac_try) 2>&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); }; } &&
38519 { ac_try
='test -s conftest$ac_exeext'
38520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521 (eval $ac_try) 2>&5
38523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524 (exit $ac_status); }; }; then
38525 ac_cv_func_socket
=yes
38527 echo "$as_me: failed program was:" >&5
38528 sed 's/^/| /' conftest.
$ac_ext >&5
38530 ac_cv_func_socket
=no
38532 rm -f conftest.err conftest.
$ac_objext \
38533 conftest
$ac_exeext conftest.
$ac_ext
38535 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
38536 echo "${ECHO_T}$ac_cv_func_socket" >&6
38537 if test $ac_cv_func_socket = yes; then
38541 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
38542 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
38543 if test "${ac_cv_lib_socket_socket+set}" = set; then
38544 echo $ECHO_N "(cached) $ECHO_C" >&6
38546 ac_check_lib_save_LIBS
=$LIBS
38547 LIBS
="-lsocket $LIBS"
38548 cat >conftest.
$ac_ext <<_ACEOF
38551 cat confdefs.h
>>conftest.
$ac_ext
38552 cat >>conftest.
$ac_ext <<_ACEOF
38553 /* end confdefs.h. */
38555 /* Override any gcc2 internal prototype to avoid an error. */
38559 /* We use char because int might match the return type of a gcc2
38560 builtin and then its argument prototype would still apply. */
38570 rm -f conftest.
$ac_objext conftest
$ac_exeext
38571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38572 (eval $ac_link) 2>conftest.er1
38574 grep -v '^ *+' conftest.er1
>conftest.err
38576 cat conftest.err
>&5
38577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38578 (exit $ac_status); } &&
38579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38581 (eval $ac_try) 2>&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); }; } &&
38585 { ac_try
='test -s conftest$ac_exeext'
38586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38587 (eval $ac_try) 2>&5
38589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590 (exit $ac_status); }; }; then
38591 ac_cv_lib_socket_socket
=yes
38593 echo "$as_me: failed program was:" >&5
38594 sed 's/^/| /' conftest.
$ac_ext >&5
38596 ac_cv_lib_socket_socket
=no
38598 rm -f conftest.err conftest.
$ac_objext \
38599 conftest
$ac_exeext conftest.
$ac_ext
38600 LIBS
=$ac_check_lib_save_LIBS
38602 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
38603 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
38604 if test $ac_cv_lib_socket_socket = yes; then
38605 if test "$INET_LINK" != " -lsocket"; then
38606 INET_LINK
="$INET_LINK -lsocket"
38610 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
38611 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
38624 if test "$wxUSE_SOCKETS" = "yes" ; then
38625 if test "$TOOLKIT" != "MSW"; then
38627 ac_cpp
='$CXXCPP $CPPFLAGS'
38628 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38629 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38630 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38632 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
38633 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
38634 if test "${wx_cv_type_getsockname3+set}" = set; then
38635 echo $ECHO_N "(cached) $ECHO_C" >&6
38638 cat >conftest.
$ac_ext <<_ACEOF
38641 cat confdefs.h
>>conftest.
$ac_ext
38642 cat >>conftest.
$ac_ext <<_ACEOF
38643 /* end confdefs.h. */
38645 #include <sys/types.h>
38646 #include <sys/socket.h>
38653 getsockname(0, 0, &len);
38659 rm -f conftest.
$ac_objext
38660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38661 (eval $ac_compile) 2>conftest.er1
38663 grep -v '^ *+' conftest.er1
>conftest.err
38665 cat conftest.err
>&5
38666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38667 (exit $ac_status); } &&
38668 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38670 (eval $ac_try) 2>&5
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); }; } &&
38674 { ac_try
='test -s conftest.$ac_objext'
38675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38676 (eval $ac_try) 2>&5
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); }; }; then
38680 wx_cv_type_getsockname3
=socklen_t
38682 echo "$as_me: failed program was:" >&5
38683 sed 's/^/| /' conftest.
$ac_ext >&5
38686 CFLAGS_OLD
="$CFLAGS"
38687 if test "$GCC" = yes ; then
38688 CFLAGS
="$CFLAGS -Werror"
38691 cat >conftest.
$ac_ext <<_ACEOF
38694 cat confdefs.h
>>conftest.
$ac_ext
38695 cat >>conftest.
$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38698 #include <sys/types.h>
38699 #include <sys/socket.h>
38706 getsockname(0, 0, &len);
38712 rm -f conftest.
$ac_objext
38713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38714 (eval $ac_compile) 2>conftest.er1
38716 grep -v '^ *+' conftest.er1
>conftest.err
38718 cat conftest.err
>&5
38719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720 (exit $ac_status); } &&
38721 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38723 (eval $ac_try) 2>&5
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); }; } &&
38727 { ac_try
='test -s conftest.$ac_objext'
38728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38729 (eval $ac_try) 2>&5
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); }; }; then
38733 wx_cv_type_getsockname3
=size_t
38735 echo "$as_me: failed program was:" >&5
38736 sed 's/^/| /' conftest.
$ac_ext >&5
38738 cat >conftest.
$ac_ext <<_ACEOF
38741 cat confdefs.h
>>conftest.
$ac_ext
38742 cat >>conftest.
$ac_ext <<_ACEOF
38743 /* end confdefs.h. */
38745 #include <sys/types.h>
38746 #include <sys/socket.h>
38753 getsockname(0, 0, &len);
38759 rm -f conftest.
$ac_objext
38760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38761 (eval $ac_compile) 2>conftest.er1
38763 grep -v '^ *+' conftest.er1
>conftest.err
38765 cat conftest.err
>&5
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); } &&
38768 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38770 (eval $ac_try) 2>&5
38772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773 (exit $ac_status); }; } &&
38774 { ac_try
='test -s conftest.$ac_objext'
38775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38776 (eval $ac_try) 2>&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); }; }; then
38780 wx_cv_type_getsockname3
=int
38782 echo "$as_me: failed program was:" >&5
38783 sed 's/^/| /' conftest.
$ac_ext >&5
38785 wx_cv_type_getsockname3
=unknown
38788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38793 CFLAGS
="$CFLAGS_OLD"
38797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38800 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
38801 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
38803 if test "$wx_cv_type_getsockname3" = "unknown"; then
38805 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38806 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38808 cat >>confdefs.h
<<_ACEOF
38809 #define SOCKLEN_T $wx_cv_type_getsockname3
38813 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
38814 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
38815 if test "${wx_cv_type_getsockopt5+set}" = set; then
38816 echo $ECHO_N "(cached) $ECHO_C" >&6
38819 cat >conftest.
$ac_ext <<_ACEOF
38822 cat confdefs.h
>>conftest.
$ac_ext
38823 cat >>conftest.
$ac_ext <<_ACEOF
38824 /* end confdefs.h. */
38826 #include <sys/types.h>
38827 #include <sys/socket.h>
38834 getsockopt(0, 0, 0, 0, &len);
38840 rm -f conftest.
$ac_objext
38841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38842 (eval $ac_compile) 2>conftest.er1
38844 grep -v '^ *+' conftest.er1
>conftest.err
38846 cat conftest.err
>&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); } &&
38849 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38851 (eval $ac_try) 2>&5
38853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854 (exit $ac_status); }; } &&
38855 { ac_try
='test -s conftest.$ac_objext'
38856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38857 (eval $ac_try) 2>&5
38859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38860 (exit $ac_status); }; }; then
38861 wx_cv_type_getsockopt5
=socklen_t
38863 echo "$as_me: failed program was:" >&5
38864 sed 's/^/| /' conftest.
$ac_ext >&5
38867 CFLAGS_OLD
="$CFLAGS"
38868 if test "$GCC" = yes ; then
38869 CFLAGS
="$CFLAGS -Werror"
38872 cat >conftest.
$ac_ext <<_ACEOF
38875 cat confdefs.h
>>conftest.
$ac_ext
38876 cat >>conftest.
$ac_ext <<_ACEOF
38877 /* end confdefs.h. */
38879 #include <sys/types.h>
38880 #include <sys/socket.h>
38887 getsockopt(0, 0, 0, 0, &len);
38893 rm -f conftest.
$ac_objext
38894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38895 (eval $ac_compile) 2>conftest.er1
38897 grep -v '^ *+' conftest.er1
>conftest.err
38899 cat conftest.err
>&5
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); } &&
38902 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38904 (eval $ac_try) 2>&5
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); }; } &&
38908 { ac_try
='test -s conftest.$ac_objext'
38909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38910 (eval $ac_try) 2>&5
38912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913 (exit $ac_status); }; }; then
38914 wx_cv_type_getsockopt5
=size_t
38916 echo "$as_me: failed program was:" >&5
38917 sed 's/^/| /' conftest.
$ac_ext >&5
38919 cat >conftest.
$ac_ext <<_ACEOF
38922 cat confdefs.h
>>conftest.
$ac_ext
38923 cat >>conftest.
$ac_ext <<_ACEOF
38924 /* end confdefs.h. */
38926 #include <sys/types.h>
38927 #include <sys/socket.h>
38934 getsockopt(0, 0, 0, 0, &len);
38940 rm -f conftest.
$ac_objext
38941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38942 (eval $ac_compile) 2>conftest.er1
38944 grep -v '^ *+' conftest.er1
>conftest.err
38946 cat conftest.err
>&5
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); } &&
38949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38951 (eval $ac_try) 2>&5
38953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38954 (exit $ac_status); }; } &&
38955 { ac_try
='test -s conftest.$ac_objext'
38956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38957 (eval $ac_try) 2>&5
38959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38960 (exit $ac_status); }; }; then
38961 wx_cv_type_getsockopt5
=int
38963 echo "$as_me: failed program was:" >&5
38964 sed 's/^/| /' conftest.
$ac_ext >&5
38966 wx_cv_type_getsockopt5
=unknown
38969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38974 CFLAGS
="$CFLAGS_OLD"
38978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38981 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
38982 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
38984 if test "$wx_cv_type_getsockopt5" = "unknown"; then
38986 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
38987 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
38989 cat >>confdefs.h
<<_ACEOF
38990 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
38995 ac_cpp
='$CPP $CPPFLAGS'
38996 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38997 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38998 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39003 if test "$wxUSE_SOCKETS" = "yes" ; then
39004 cat >>confdefs.h
<<\_ACEOF
39005 #define wxUSE_SOCKETS 1
39008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
39011 if test "$wxUSE_PROTOCOL" = "yes"; then
39012 if test "$wxUSE_SOCKETS" != "yes"; then
39013 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
39014 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
39019 if test "$wxUSE_PROTOCOL" = "yes"; then
39020 cat >>confdefs.h
<<\_ACEOF
39021 #define wxUSE_PROTOCOL 1
39025 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
39026 cat >>confdefs.h
<<\_ACEOF
39027 #define wxUSE_PROTOCOL_HTTP 1
39031 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
39032 cat >>confdefs.h
<<\_ACEOF
39033 #define wxUSE_PROTOCOL_FTP 1
39037 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
39038 cat >>confdefs.h
<<\_ACEOF
39039 #define wxUSE_PROTOCOL_FILE 1
39044 if test "$wxUSE_FS_INET" = "yes"; then
39045 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
39046 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
39051 if test "$wxUSE_URL" = "yes"; then
39052 if test "$wxUSE_PROTOCOL" != "yes"; then
39053 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
39054 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
39057 if test "$wxUSE_URL" = "yes"; then
39058 cat >>confdefs.h
<<\_ACEOF
39059 #define wxUSE_URL 1
39065 if test "$wxUSE_FS_INET" = "yes"; then
39066 cat >>confdefs.h
<<\_ACEOF
39067 #define wxUSE_FS_INET 1
39073 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
39076 if test "$TOOLKIT" = "MSW"; then
39079 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
39080 if test "$USE_DARWIN" = 1; then
39081 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
39082 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
39084 ac_cpp
='$CXXCPP $CPPFLAGS'
39085 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39086 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39087 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39089 cat >conftest.
$ac_ext <<_ACEOF
39092 cat confdefs.h
>>conftest.
$ac_ext
39093 cat >>conftest.
$ac_ext <<_ACEOF
39094 /* end confdefs.h. */
39095 #include <IOKit/hid/IOHIDLib.h>
39099 IOHIDQueueInterface *qi = NULL;
39100 IOHIDCallbackFunction cb = NULL;
39101 qi->setEventCallout(NULL, cb, NULL, NULL);
39106 rm -f conftest.
$ac_objext
39107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39108 (eval $ac_compile) 2>conftest.er1
39110 grep -v '^ *+' conftest.er1
>conftest.err
39112 cat conftest.err
>&5
39113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39114 (exit $ac_status); } &&
39115 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39117 (eval $ac_try) 2>&5
39119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39120 (exit $ac_status); }; } &&
39121 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
39130 echo "$as_me: failed program was:" >&5
39131 sed 's/^/| /' conftest.
$ac_ext >&5
39134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39136 ac_cpp
='$CPP $CPPFLAGS'
39137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39141 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
39142 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
39147 for ac_header
in linux
/joystick.h
39149 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39151 echo "$as_me:$LINENO: checking for $ac_header" >&5
39152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39154 echo $ECHO_N "(cached) $ECHO_C" >&6
39156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39159 # Is the header compilable?
39160 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39161 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39162 cat >conftest.
$ac_ext <<_ACEOF
39165 cat confdefs.h
>>conftest.
$ac_ext
39166 cat >>conftest.
$ac_ext <<_ACEOF
39167 /* end confdefs.h. */
39168 $ac_includes_default
39169 #include <$ac_header>
39171 rm -f conftest.
$ac_objext
39172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39173 (eval $ac_compile) 2>conftest.er1
39175 grep -v '^ *+' conftest.er1
>conftest.err
39177 cat conftest.err
>&5
39178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39179 (exit $ac_status); } &&
39180 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39182 (eval $ac_try) 2>&5
39184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39185 (exit $ac_status); }; } &&
39186 { ac_try
='test -s conftest.$ac_objext'
39187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39188 (eval $ac_try) 2>&5
39190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39191 (exit $ac_status); }; }; then
39192 ac_header_compiler
=yes
39194 echo "$as_me: failed program was:" >&5
39195 sed 's/^/| /' conftest.
$ac_ext >&5
39197 ac_header_compiler
=no
39199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39201 echo "${ECHO_T}$ac_header_compiler" >&6
39203 # Is the header present?
39204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39206 cat >conftest.
$ac_ext <<_ACEOF
39209 cat confdefs.h
>>conftest.
$ac_ext
39210 cat >>conftest.
$ac_ext <<_ACEOF
39211 /* end confdefs.h. */
39212 #include <$ac_header>
39214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39215 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39217 grep -v '^ *+' conftest.er1
>conftest.err
39219 cat conftest.err
>&5
39220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221 (exit $ac_status); } >/dev
/null
; then
39222 if test -s conftest.err
; then
39223 ac_cpp_err
=$ac_c_preproc_warn_flag
39224 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39231 if test -z "$ac_cpp_err"; then
39232 ac_header_preproc
=yes
39234 echo "$as_me: failed program was:" >&5
39235 sed 's/^/| /' conftest.
$ac_ext >&5
39237 ac_header_preproc
=no
39239 rm -f conftest.err conftest.
$ac_ext
39240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39241 echo "${ECHO_T}$ac_header_preproc" >&6
39243 # So? What about this header?
39244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39249 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39250 ac_header_preproc
=yes
39253 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39255 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39256 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39257 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39258 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39259 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39260 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39263 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39264 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39267 ## ----------------------------------------- ##
39268 ## Report this to wx-dev@lists.wxwidgets.org ##
39269 ## ----------------------------------------- ##
39272 sed "s/^/$as_me: WARNING: /" >&2
39275 echo "$as_me:$LINENO: checking for $ac_header" >&5
39276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39278 echo $ECHO_N "(cached) $ECHO_C" >&6
39280 eval "$as_ac_Header=\$ac_header_preproc"
39282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39287 cat >>confdefs.h
<<_ACEOF
39288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39297 if test "$wxUSE_JOYSTICK" = "yes"; then
39298 cat >>confdefs.h
<<\_ACEOF
39299 #define wxUSE_JOYSTICK 1
39302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
39304 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
39305 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
39311 if test "$wxUSE_FONTMAP" = "yes" ; then
39312 cat >>confdefs.h
<<\_ACEOF
39313 #define wxUSE_FONTMAP 1
39318 if test "$wxUSE_UNICODE" = "yes" ; then
39319 cat >>confdefs.h
<<\_ACEOF
39320 #define wxUSE_UNICODE 1
39324 if test "$USE_WIN32" != 1; then
39325 wxUSE_UNICODE_MSLU
=no
39328 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
39329 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
39330 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
39331 if test "${ac_cv_lib_unicows_main+set}" = set; then
39332 echo $ECHO_N "(cached) $ECHO_C" >&6
39334 ac_check_lib_save_LIBS
=$LIBS
39335 LIBS
="-lunicows $LIBS"
39336 cat >conftest.
$ac_ext <<_ACEOF
39339 cat confdefs.h
>>conftest.
$ac_ext
39340 cat >>conftest.
$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39352 rm -f conftest.
$ac_objext conftest
$ac_exeext
39353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39354 (eval $ac_link) 2>conftest.er1
39356 grep -v '^ *+' conftest.er1
>conftest.err
39358 cat conftest.err
>&5
39359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39360 (exit $ac_status); } &&
39361 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39363 (eval $ac_try) 2>&5
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); }; } &&
39367 { ac_try
='test -s conftest$ac_exeext'
39368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39369 (eval $ac_try) 2>&5
39371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39372 (exit $ac_status); }; }; then
39373 ac_cv_lib_unicows_main
=yes
39375 echo "$as_me: failed program was:" >&5
39376 sed 's/^/| /' conftest.
$ac_ext >&5
39378 ac_cv_lib_unicows_main
=no
39380 rm -f conftest.err conftest.
$ac_objext \
39381 conftest
$ac_exeext conftest.
$ac_ext
39382 LIBS
=$ac_check_lib_save_LIBS
39384 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
39385 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
39386 if test $ac_cv_lib_unicows_main = yes; then
39388 cat >>confdefs.h
<<\_ACEOF
39389 #define wxUSE_UNICODE_MSLU 1
39395 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39396 Applications will only run on Windows NT/2000/XP!" >&5
39397 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
39398 Applications will only run on Windows NT/2000/XP!" >&2;}
39399 wxUSE_UNICODE_MSLU
=no
39406 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
39407 cat >>confdefs.h
<<\_ACEOF
39408 #define wxUSE_EXPERIMENTAL_PRINTF 1
39414 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
39415 cat >>confdefs.h
<<\_ACEOF
39416 #define wxUSE_POSTSCRIPT 1
39421 cat >>confdefs.h
<<\_ACEOF
39422 #define wxUSE_AFM_FOR_POSTSCRIPT 1
39426 cat >>confdefs.h
<<\_ACEOF
39427 #define wxUSE_NORMALIZED_PS_FONTS 1
39432 if test "$wxUSE_CONSTRAINTS" = "yes"; then
39433 cat >>confdefs.h
<<\_ACEOF
39434 #define wxUSE_CONSTRAINTS 1
39437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
39440 if test "$wxUSE_MDI" = "yes"; then
39441 cat >>confdefs.h
<<\_ACEOF
39442 #define wxUSE_MDI 1
39446 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39447 cat >>confdefs.h
<<\_ACEOF
39448 #define wxUSE_MDI_ARCHITECTURE 1
39451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
39455 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
39456 cat >>confdefs.h
<<\_ACEOF
39457 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
39460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
39461 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
39462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
39466 if test "$wxUSE_HELP" = "yes"; then
39467 cat >>confdefs.h
<<\_ACEOF
39468 #define wxUSE_HELP 1
39471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
39473 if test "$wxUSE_MSW" = 1; then
39474 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
39475 cat >>confdefs.h
<<\_ACEOF
39476 #define wxUSE_MS_HTML_HELP 1
39482 if test "$wxUSE_WXHTML_HELP" = "yes"; then
39483 if test "$wxUSE_HTML" = "yes"; then
39484 cat >>confdefs.h
<<\_ACEOF
39485 #define wxUSE_WXHTML_HELP 1
39489 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
39490 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
39491 wxUSE_WXHTML_HELP
=no
39496 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
39497 if test "$wxUSE_CONSTRAINTS" != "yes"; then
39498 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
39499 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
39501 cat >>confdefs.h
<<\_ACEOF
39502 #define wxUSE_PRINTING_ARCHITECTURE 1
39506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
39509 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
39510 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
39511 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
39512 { (exit 1); exit 1; }; }
39516 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
39517 -o "$wxUSE_CLIPBOARD" = "yes" \
39518 -o "$wxUSE_OLE" = "yes" \
39519 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
39521 for ac_header
in ole2.h
39523 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39525 echo "$as_me:$LINENO: checking for $ac_header" >&5
39526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39528 echo $ECHO_N "(cached) $ECHO_C" >&6
39530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39533 # Is the header compilable?
39534 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39535 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39536 cat >conftest.
$ac_ext <<_ACEOF
39539 cat confdefs.h
>>conftest.
$ac_ext
39540 cat >>conftest.
$ac_ext <<_ACEOF
39541 /* end confdefs.h. */
39542 $ac_includes_default
39543 #include <$ac_header>
39545 rm -f conftest.
$ac_objext
39546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39547 (eval $ac_compile) 2>conftest.er1
39549 grep -v '^ *+' conftest.er1
>conftest.err
39551 cat conftest.err
>&5
39552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553 (exit $ac_status); } &&
39554 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39556 (eval $ac_try) 2>&5
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); }; } &&
39560 { ac_try
='test -s conftest.$ac_objext'
39561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39562 (eval $ac_try) 2>&5
39564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39565 (exit $ac_status); }; }; then
39566 ac_header_compiler
=yes
39568 echo "$as_me: failed program was:" >&5
39569 sed 's/^/| /' conftest.
$ac_ext >&5
39571 ac_header_compiler
=no
39573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39574 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39575 echo "${ECHO_T}$ac_header_compiler" >&6
39577 # Is the header present?
39578 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39579 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39580 cat >conftest.
$ac_ext <<_ACEOF
39583 cat confdefs.h
>>conftest.
$ac_ext
39584 cat >>conftest.
$ac_ext <<_ACEOF
39585 /* end confdefs.h. */
39586 #include <$ac_header>
39588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39589 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
39591 grep -v '^ *+' conftest.er1
>conftest.err
39593 cat conftest.err
>&5
39594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39595 (exit $ac_status); } >/dev
/null
; then
39596 if test -s conftest.err
; then
39597 ac_cpp_err
=$ac_c_preproc_warn_flag
39598 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
39605 if test -z "$ac_cpp_err"; then
39606 ac_header_preproc
=yes
39608 echo "$as_me: failed program was:" >&5
39609 sed 's/^/| /' conftest.
$ac_ext >&5
39611 ac_header_preproc
=no
39613 rm -f conftest.err conftest.
$ac_ext
39614 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39615 echo "${ECHO_T}$ac_header_preproc" >&6
39617 # So? What about this header?
39618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39620 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39621 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39623 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39624 ac_header_preproc
=yes
39627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39628 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39630 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39631 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39632 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39633 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39634 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39637 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39638 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39641 ## ----------------------------------------- ##
39642 ## Report this to wx-dev@lists.wxwidgets.org ##
39643 ## ----------------------------------------- ##
39646 sed "s/^/$as_me: WARNING: /" >&2
39649 echo "$as_me:$LINENO: checking for $ac_header" >&5
39650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39652 echo $ECHO_N "(cached) $ECHO_C" >&6
39654 eval "$as_ac_Header=\$ac_header_preproc"
39656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39661 cat >>confdefs.h
<<_ACEOF
39662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39670 if test "$ac_cv_header_ole2_h" = "yes" ; then
39671 if test "$GCC" = yes ; then
39675 ac_cpp
='$CXXCPP $CPPFLAGS'
39676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39681 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
39682 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
39683 cat >conftest.
$ac_ext <<_ACEOF
39686 cat confdefs.h
>>conftest.
$ac_ext
39687 cat >>conftest.
$ac_ext <<_ACEOF
39688 /* end confdefs.h. */
39689 #include <windows.h>
39699 rm -f conftest.
$ac_objext
39700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39701 (eval $ac_compile) 2>conftest.er1
39703 grep -v '^ *+' conftest.er1
>conftest.err
39705 cat conftest.err
>&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } &&
39708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39710 (eval $ac_try) 2>&5
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); }; } &&
39714 { ac_try
='test -s conftest.$ac_objext'
39715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39716 (eval $ac_try) 2>&5
39718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719 (exit $ac_status); }; }; then
39720 echo "$as_me:$LINENO: result: no" >&5
39721 echo "${ECHO_T}no" >&6
39723 echo "$as_me: failed program was:" >&5
39724 sed 's/^/| /' conftest.
$ac_ext >&5
39726 echo "$as_me:$LINENO: result: yes" >&5
39727 echo "${ECHO_T}yes" >&6
39728 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
39730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39732 ac_cpp
='$CPP $CPPFLAGS'
39733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39737 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
39738 if test "$wxUSE_OLE" = "yes" ; then
39739 cat >>confdefs.h
<<\_ACEOF
39740 #define wxUSE_OLE 1
39743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
39747 if test "$wxUSE_DATAOBJ" = "yes" ; then
39748 cat >>confdefs.h
<<\_ACEOF
39749 #define wxUSE_DATAOBJ 1
39754 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
39755 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
39758 wxUSE_DRAG_AND_DROP
=no
39763 if test "$wxUSE_METAFILE" = "yes"; then
39764 cat >>confdefs.h
<<\_ACEOF
39765 #define wxUSE_METAFILE 1
39769 cat >>confdefs.h
<<\_ACEOF
39770 #define wxUSE_ENH_METAFILE 1
39776 if test "$wxUSE_IPC" = "yes"; then
39777 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
39778 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
39779 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
39783 if test "$wxUSE_IPC" = "yes"; then
39784 cat >>confdefs.h
<<\_ACEOF
39785 #define wxUSE_IPC 1
39788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
39792 if test "$wxUSE_DATAOBJ" = "yes"; then
39793 if test "$wxUSE_MGL" = 1; then
39794 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
39795 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
39798 cat >>confdefs.h
<<\_ACEOF
39799 #define wxUSE_DATAOBJ 1
39804 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
39805 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
39807 wxUSE_DRAG_AND_DROP
=no
39810 if test "$wxUSE_CLIPBOARD" = "yes"; then
39811 if test "$wxUSE_MGL" = 1; then
39812 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
39813 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
39817 if test "$wxUSE_CLIPBOARD" = "yes"; then
39818 cat >>confdefs.h
<<\_ACEOF
39819 #define wxUSE_CLIPBOARD 1
39825 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
39826 if test "$wxUSE_GTK" = 1; then
39827 if test "$WXGTK12" != 1; then
39828 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
39829 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
39830 wxUSE_DRAG_AND_DROP
=no
39834 if test "$wxUSE_MOTIF" = 1; then
39835 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
39836 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
39837 wxUSE_DRAG_AND_DROP
=no
39840 if test "$wxUSE_X11" = 1; then
39841 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
39842 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
39843 wxUSE_DRAG_AND_DROP
=no
39846 if test "$wxUSE_MGL" = 1; then
39847 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
39848 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
39849 wxUSE_DRAG_AND_DROP
=no
39852 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
39853 cat >>confdefs.h
<<\_ACEOF
39854 #define wxUSE_DRAG_AND_DROP 1
39861 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
39862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
39865 if test "$wxUSE_SPLINES" = "yes" ; then
39866 cat >>confdefs.h
<<\_ACEOF
39867 #define wxUSE_SPLINES 1
39872 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
39873 cat >>confdefs.h
<<\_ACEOF
39874 #define wxUSE_MOUSEWHEEL 1
39881 if test "$wxUSE_CONTROLS" = "yes"; then
39885 if test "$wxUSE_ACCEL" = "yes"; then
39886 cat >>confdefs.h
<<\_ACEOF
39887 #define wxUSE_ACCEL 1
39893 if test "$wxUSE_BUTTON" = "yes"; then
39894 cat >>confdefs.h
<<\_ACEOF
39895 #define wxUSE_BUTTON 1
39901 if test "$wxUSE_BMPBUTTON" = "yes"; then
39902 cat >>confdefs.h
<<\_ACEOF
39903 #define wxUSE_BMPBUTTON 1
39909 if test "$wxUSE_CALCTRL" = "yes"; then
39910 cat >>confdefs.h
<<\_ACEOF
39911 #define wxUSE_CALENDARCTRL 1
39915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
39918 if test "$wxUSE_CARET" = "yes"; then
39919 cat >>confdefs.h
<<\_ACEOF
39920 #define wxUSE_CARET 1
39924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
39927 if test "$wxUSE_COMBOBOX" = "yes"; then
39928 cat >>confdefs.h
<<\_ACEOF
39929 #define wxUSE_COMBOBOX 1
39935 if test "$wxUSE_CHOICE" = "yes"; then
39936 cat >>confdefs.h
<<\_ACEOF
39937 #define wxUSE_CHOICE 1
39943 if test "$wxUSE_CHOICEBOOK" = "yes"; then
39944 cat >>confdefs.h
<<\_ACEOF
39945 #define wxUSE_CHOICEBOOK 1
39951 if test "$wxUSE_CHECKBOX" = "yes"; then
39952 cat >>confdefs.h
<<\_ACEOF
39953 #define wxUSE_CHECKBOX 1
39959 if test "$wxUSE_CHECKLST" = "yes"; then
39960 cat >>confdefs.h
<<\_ACEOF
39961 #define wxUSE_CHECKLISTBOX 1
39965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
39968 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
39969 cat >>confdefs.h
<<\_ACEOF
39970 #define wxUSE_DATEPICKCTRL 1
39976 if test "$wxUSE_DISPLAY" = "yes"; then
39977 cat >>confdefs.h
<<\_ACEOF
39978 #define wxUSE_DISPLAY 1
39981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
39984 if test "$wxUSE_GAUGE" = "yes"; then
39985 cat >>confdefs.h
<<\_ACEOF
39986 #define wxUSE_GAUGE 1
39992 if test "$wxUSE_GRID" = "yes"; then
39993 cat >>confdefs.h
<<\_ACEOF
39994 #define wxUSE_GRID 1
39998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
40001 if test "$wxUSE_IMAGLIST" = "yes"; then
40002 cat >>confdefs.h
<<\_ACEOF
40003 #define wxUSE_IMAGLIST 1
40008 if test "$wxUSE_LISTBOOK" = "yes"; then
40009 cat >>confdefs.h
<<\_ACEOF
40010 #define wxUSE_LISTBOOK 1
40016 if test "$wxUSE_LISTBOX" = "yes"; then
40017 cat >>confdefs.h
<<\_ACEOF
40018 #define wxUSE_LISTBOX 1
40022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
40025 if test "$wxUSE_LISTCTRL" = "yes"; then
40026 if test "$wxUSE_IMAGLIST" = "yes"; then
40027 cat >>confdefs.h
<<\_ACEOF
40028 #define wxUSE_LISTCTRL 1
40032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
40034 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
40035 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
40039 if test "$wxUSE_NOTEBOOK" = "yes"; then
40040 cat >>confdefs.h
<<\_ACEOF
40041 #define wxUSE_NOTEBOOK 1
40045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
40049 if test "$wxUSE_RADIOBOX" = "yes"; then
40050 cat >>confdefs.h
<<\_ACEOF
40051 #define wxUSE_RADIOBOX 1
40057 if test "$wxUSE_RADIOBTN" = "yes"; then
40058 cat >>confdefs.h
<<\_ACEOF
40059 #define wxUSE_RADIOBTN 1
40065 if test "$wxUSE_SASH" = "yes"; then
40066 cat >>confdefs.h
<<\_ACEOF
40067 #define wxUSE_SASH 1
40070 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
40073 if test "$wxUSE_SCROLLBAR" = "yes"; then
40074 cat >>confdefs.h
<<\_ACEOF
40075 #define wxUSE_SCROLLBAR 1
40079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
40082 if test "$wxUSE_SLIDER" = "yes"; then
40083 cat >>confdefs.h
<<\_ACEOF
40084 #define wxUSE_SLIDER 1
40090 if test "$wxUSE_SPINBTN" = "yes"; then
40091 cat >>confdefs.h
<<\_ACEOF
40092 #define wxUSE_SPINBTN 1
40098 if test "$wxUSE_SPINCTRL" = "yes"; then
40099 cat >>confdefs.h
<<\_ACEOF
40100 #define wxUSE_SPINCTRL 1
40106 if test "$wxUSE_SPLITTER" = "yes"; then
40107 cat >>confdefs.h
<<\_ACEOF
40108 #define wxUSE_SPLITTER 1
40111 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
40114 if test "$wxUSE_STATBMP" = "yes"; then
40115 cat >>confdefs.h
<<\_ACEOF
40116 #define wxUSE_STATBMP 1
40122 if test "$wxUSE_STATBOX" = "yes"; then
40123 cat >>confdefs.h
<<\_ACEOF
40124 #define wxUSE_STATBOX 1
40130 if test "$wxUSE_STATTEXT" = "yes"; then
40131 cat >>confdefs.h
<<\_ACEOF
40132 #define wxUSE_STATTEXT 1
40138 if test "$wxUSE_STATLINE" = "yes"; then
40139 cat >>confdefs.h
<<\_ACEOF
40140 #define wxUSE_STATLINE 1
40146 if test "$wxUSE_STATUSBAR" = "yes"; then
40147 cat >>confdefs.h
<<\_ACEOF
40148 #define wxUSE_NATIVE_STATUSBAR 1
40151 cat >>confdefs.h
<<\_ACEOF
40152 #define wxUSE_STATUSBAR 1
40157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
40160 if test "$wxUSE_TABDIALOG" = "yes"; then
40161 cat >>confdefs.h
<<\_ACEOF
40162 #define wxUSE_TAB_DIALOG 1
40167 if test "$wxUSE_TEXTCTRL" = "yes"; then
40168 cat >>confdefs.h
<<\_ACEOF
40169 #define wxUSE_TEXTCTRL 1
40173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
40176 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40177 if test "$wxUSE_COCOA" = 1 ; then
40178 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
40179 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
40182 if test "$wxUSE_UNIVERSAL" = "yes"; then
40183 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
40184 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
40188 if test "$wxUSE_TOGGLEBTN" = "yes"; then
40189 cat >>confdefs.h
<<\_ACEOF
40190 #define wxUSE_TOGGLEBTN 1
40197 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
40198 cat >>confdefs.h
<<\_ACEOF
40199 #define wxUSE_TOOLBAR_SIMPLE 1
40202 wxUSE_TOOLBAR
="yes"
40206 if test "$wxUSE_TOOLBAR" = "yes"; then
40207 cat >>confdefs.h
<<\_ACEOF
40208 #define wxUSE_TOOLBAR 1
40213 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
40214 wxUSE_TOOLBAR_NATIVE
="yes"
40217 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
40218 cat >>confdefs.h
<<\_ACEOF
40219 #define wxUSE_TOOLBAR_NATIVE 1
40225 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
40228 if test "$wxUSE_TOOLTIPS" = "yes"; then
40229 if test "$wxUSE_MOTIF" = 1; then
40230 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
40231 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
40233 if test "$wxUSE_UNIVERSAL" = "yes"; then
40234 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
40235 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
40237 cat >>confdefs.h
<<\_ACEOF
40238 #define wxUSE_TOOLTIPS 1
40245 if test "$wxUSE_TREECTRL" = "yes"; then
40246 if test "$wxUSE_IMAGLIST" = "yes"; then
40247 cat >>confdefs.h
<<\_ACEOF
40248 #define wxUSE_TREECTRL 1
40252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
40254 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
40255 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
40259 if test "$wxUSE_POPUPWIN" = "yes"; then
40260 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40261 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
40262 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
40264 if test "$wxUSE_PM" = 1; then
40265 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
40266 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
40268 cat >>confdefs.h
<<\_ACEOF
40269 #define wxUSE_POPUPWIN 1
40272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
40279 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
40280 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
40281 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
40282 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
40284 cat >>confdefs.h
<<\_ACEOF
40285 #define wxUSE_DIALUP_MANAGER 1
40288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
40292 if test "$wxUSE_TIPWINDOW" = "yes"; then
40293 if test "$wxUSE_PM" = 1; then
40294 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
40295 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
40297 cat >>confdefs.h
<<\_ACEOF
40298 #define wxUSE_TIPWINDOW 1
40304 if test "$USES_CONTROLS" = 1; then
40305 cat >>confdefs.h
<<\_ACEOF
40306 #define wxUSE_CONTROLS 1
40312 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
40313 cat >>confdefs.h
<<\_ACEOF
40314 #define wxUSE_ACCESSIBILITY 1
40317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
40320 if test "$wxUSE_DC_CACHEING" = "yes"; then
40321 cat >>confdefs.h
<<\_ACEOF
40322 #define wxUSE_DC_CACHEING 1
40327 if test "$wxUSE_DRAGIMAGE" = "yes"; then
40328 cat >>confdefs.h
<<\_ACEOF
40329 #define wxUSE_DRAGIMAGE 1
40332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
40335 if test "$wxUSE_EXCEPTIONS" = "yes"; then
40336 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40337 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
40338 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
40340 cat >>confdefs.h
<<\_ACEOF
40341 #define wxUSE_EXCEPTIONS 1
40344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
40349 if test "$wxUSE_HTML" = "yes"; then
40350 cat >>confdefs.h
<<\_ACEOF
40351 #define wxUSE_HTML 1
40355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
40356 if test "$wxUSE_MAC" = 1; then
40357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
40360 if test "$wxUSE_WEBKIT" = "yes"; then
40361 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
40362 old_CPPFLAGS
="$CPPFLAGS"
40363 CPPFLAGS
="$CPPFLAGS -x objective-c++"
40364 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
40365 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
40366 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
40367 echo $ECHO_N "(cached) $ECHO_C" >&6
40369 cat >conftest.
$ac_ext <<_ACEOF
40372 cat confdefs.h
>>conftest.
$ac_ext
40373 cat >>conftest.
$ac_ext <<_ACEOF
40374 /* end confdefs.h. */
40375 #include <Carbon/Carbon.h>
40377 #include <WebKit/HIWebView.h>
40379 rm -f conftest.
$ac_objext
40380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40381 (eval $ac_compile) 2>conftest.er1
40383 grep -v '^ *+' conftest.er1
>conftest.err
40385 cat conftest.err
>&5
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); } &&
40388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40390 (eval $ac_try) 2>&5
40392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40393 (exit $ac_status); }; } &&
40394 { ac_try
='test -s conftest.$ac_objext'
40395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40396 (eval $ac_try) 2>&5
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); }; }; then
40400 ac_cv_header_WebKit_HIWebView_h
=yes
40402 echo "$as_me: failed program was:" >&5
40403 sed 's/^/| /' conftest.
$ac_ext >&5
40405 ac_cv_header_WebKit_HIWebView_h
=no
40407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40409 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
40410 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
40411 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
40413 cat >>confdefs.h
<<\_ACEOF
40414 #define wxUSE_WEBKIT 1
40417 WEBKIT_LINK
="-framework WebKit"
40421 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
40422 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
40428 CPPFLAGS
="$old_CPPFLAGS"
40429 elif test "$wxUSE_COCOA" = 1; then
40430 cat >>confdefs.h
<<\_ACEOF
40431 #define wxUSE_WEBKIT 1
40440 if test "$wxUSE_XRC" = "yes"; then
40441 if test "$wxUSE_XML" != "yes"; then
40442 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
40443 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
40446 cat >>confdefs.h
<<\_ACEOF
40447 #define wxUSE_XRC 1
40451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
40455 if test "$wxUSE_MENUS" = "yes"; then
40456 cat >>confdefs.h
<<\_ACEOF
40457 #define wxUSE_MENUS 1
40460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
40463 if test "$wxUSE_METAFILE" = "yes"; then
40464 cat >>confdefs.h
<<\_ACEOF
40465 #define wxUSE_METAFILE 1
40470 if test "$wxUSE_MIMETYPE" = "yes"; then
40471 cat >>confdefs.h
<<\_ACEOF
40472 #define wxUSE_MIMETYPE 1
40477 if test "$wxUSE_MINIFRAME" = "yes"; then
40478 cat >>confdefs.h
<<\_ACEOF
40479 #define wxUSE_MINIFRAME 1
40482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
40485 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
40486 cat >>confdefs.h
<<\_ACEOF
40487 #define wxUSE_SYSTEM_OPTIONS 1
40490 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
40491 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
40492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
40497 if test "$wxUSE_VALIDATORS" = "yes"; then
40498 cat >>confdefs.h
<<\_ACEOF
40499 #define wxUSE_VALIDATORS 1
40502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
40505 if test "$wxUSE_PALETTE" = "yes" ; then
40506 cat >>confdefs.h
<<\_ACEOF
40507 #define wxUSE_PALETTE 1
40512 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
40513 LIBS
=" -lunicows $LIBS"
40517 if test "$wxUSE_IMAGE" = "yes" ; then
40518 cat >>confdefs.h
<<\_ACEOF
40519 #define wxUSE_IMAGE 1
40523 if test "$wxUSE_GIF" = "yes" ; then
40524 cat >>confdefs.h
<<\_ACEOF
40525 #define wxUSE_GIF 1
40530 if test "$wxUSE_PCX" = "yes" ; then
40531 cat >>confdefs.h
<<\_ACEOF
40532 #define wxUSE_PCX 1
40537 if test "$wxUSE_IFF" = "yes" ; then
40538 cat >>confdefs.h
<<\_ACEOF
40539 #define wxUSE_IFF 1
40544 if test "$wxUSE_PNM" = "yes" ; then
40545 cat >>confdefs.h
<<\_ACEOF
40546 #define wxUSE_PNM 1
40551 if test "$wxUSE_XPM" = "yes" ; then
40552 cat >>confdefs.h
<<\_ACEOF
40553 #define wxUSE_XPM 1
40558 if test "$wxUSE_ICO_CUR" = "yes" ; then
40559 cat >>confdefs.h
<<\_ACEOF
40560 #define wxUSE_ICO_CUR 1
40567 if test "$wxUSE_CHOICEDLG" = "yes"; then
40568 cat >>confdefs.h
<<\_ACEOF
40569 #define wxUSE_CHOICEDLG 1
40574 if test "$wxUSE_COLOURDLG" = "yes"; then
40575 cat >>confdefs.h
<<\_ACEOF
40576 #define wxUSE_COLOURDLG 1
40581 if test "$wxUSE_FILEDLG" = "yes"; then
40582 cat >>confdefs.h
<<\_ACEOF
40583 #define wxUSE_FILEDLG 1
40588 if test "$wxUSE_FINDREPLDLG" = "yes"; then
40589 cat >>confdefs.h
<<\_ACEOF
40590 #define wxUSE_FINDREPLDLG 1
40595 if test "$wxUSE_FONTDLG" = "yes"; then
40596 cat >>confdefs.h
<<\_ACEOF
40597 #define wxUSE_FONTDLG 1
40602 if test "$wxUSE_DIRDLG" = "yes"; then
40603 if test "$wxUSE_TREECTRL" != "yes"; then
40604 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
40605 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
40607 cat >>confdefs.h
<<\_ACEOF
40608 #define wxUSE_DIRDLG 1
40614 if test "$wxUSE_MSGDLG" = "yes"; then
40615 cat >>confdefs.h
<<\_ACEOF
40616 #define wxUSE_MSGDLG 1
40621 if test "$wxUSE_NUMBERDLG" = "yes"; then
40622 cat >>confdefs.h
<<\_ACEOF
40623 #define wxUSE_NUMBERDLG 1
40628 if test "$wxUSE_PROGRESSDLG" = "yes"; then
40629 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40630 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
40631 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
40633 cat >>confdefs.h
<<\_ACEOF
40634 #define wxUSE_PROGRESSDLG 1
40640 if test "$wxUSE_SPLASH" = "yes"; then
40641 cat >>confdefs.h
<<\_ACEOF
40642 #define wxUSE_SPLASH 1
40645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
40648 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
40649 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40650 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
40651 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
40653 cat >>confdefs.h
<<\_ACEOF
40654 #define wxUSE_STARTUP_TIPS 1
40660 if test "$wxUSE_TEXTDLG" = "yes"; then
40661 cat >>confdefs.h
<<\_ACEOF
40662 #define wxUSE_TEXTDLG 1
40667 if test "$wxUSE_WIZARDDLG" = "yes"; then
40668 cat >>confdefs.h
<<\_ACEOF
40669 #define wxUSE_WIZARDDLG 1
40672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
40676 if test "$wxUSE_MEDIACTRL" = "yes"; then
40677 if test "$wxUSE_GTK" = 1; then
40678 wxUSE_GSTREAMER
="yes"
40683 if test -z "$PKG_CONFIG"; then
40684 # Extract the first word of "pkg-config", so it can be a program name with args.
40685 set dummy pkg
-config; ac_word
=$2
40686 echo "$as_me:$LINENO: checking for $ac_word" >&5
40687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40688 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40689 echo $ECHO_N "(cached) $ECHO_C" >&6
40691 case $PKG_CONFIG in
40693 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40697 for as_dir
in $PATH
40700 test -z "$as_dir" && as_dir
=.
40701 for ac_exec_ext
in '' $ac_executable_extensions; do
40702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40703 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40710 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40714 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40716 if test -n "$PKG_CONFIG"; then
40717 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40718 echo "${ECHO_T}$PKG_CONFIG" >&6
40720 echo "$as_me:$LINENO: result: no" >&5
40721 echo "${ECHO_T}no" >&6
40726 if test "$PKG_CONFIG" = "no" ; then
40727 echo "*** The pkg-config script could not be found. Make sure it is"
40728 echo "*** in your path, or set the PKG_CONFIG environment variable"
40729 echo "*** to the full path to pkg-config."
40730 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40732 PKG_CONFIG_MIN_VERSION
=0.9.0
40733 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40734 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
40735 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
40737 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
40738 echo "$as_me:$LINENO: result: yes" >&5
40739 echo "${ECHO_T}yes" >&6
40742 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
40743 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
40744 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
40745 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
40746 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
40748 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
40749 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
40750 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
40751 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
40752 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
40754 GSTREAMER_CFLAGS
=""
40756 ## If we have a custom action on failure, don't print errors, but
40757 ## do set a variable so people can do so.
40758 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
40765 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40766 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40770 if test $succeeded = yes; then
40772 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
40773 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
40777 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
40778 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
40779 wxUSE_GSTREAMER
="no"
40787 if test "x$GST_INSPECT" == "x"; then
40788 # Extract the first word of "gst-inspect", so it can be a program name with args.
40789 set dummy gst
-inspect; ac_word
=$2
40790 echo "$as_me:$LINENO: checking for $ac_word" >&5
40791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40792 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
40793 echo $ECHO_N "(cached) $ECHO_C" >&6
40795 if test -n "$GST_INSPECT"; then
40796 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
40798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40799 for as_dir
in $PATH
40802 test -z "$as_dir" && as_dir
=.
40803 for ac_exec_ext
in '' $ac_executable_extensions; do
40804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40805 ac_cv_prog_GST_INSPECT
="gst-inspect"
40806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40814 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
40815 if test -n "$GST_INSPECT"; then
40816 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
40817 echo "${ECHO_T}$GST_INSPECT" >&6
40819 echo "$as_me:$LINENO: result: no" >&5
40820 echo "${ECHO_T}no" >&6
40825 if test "x$GST_INSPECT" != "x"; then
40826 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
40827 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
40828 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
40829 echo "$as_me:$LINENO: result: found." >&5
40830 echo "${ECHO_T}found." >&6
40833 echo "$as_me:$LINENO: result: not found." >&5
40834 echo "${ECHO_T}not found." >&6
40836 wxUSE_GSTREAMER
="no"
40837 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
40838 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
40844 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
40845 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
40846 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
40847 echo $ECHO_N "(cached) $ECHO_C" >&6
40849 cat >conftest.
$ac_ext <<_ACEOF
40852 cat confdefs.h
>>conftest.
$ac_ext
40853 cat >>conftest.
$ac_ext <<_ACEOF
40854 /* end confdefs.h. */
40855 #include <gst/gst.h>
40857 #include <gst/xoverlay/xoverlay.h>
40859 rm -f conftest.
$ac_objext
40860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40861 (eval $ac_compile) 2>conftest.er1
40863 grep -v '^ *+' conftest.er1
>conftest.err
40865 cat conftest.err
>&5
40866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40867 (exit $ac_status); } &&
40868 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40870 (eval $ac_try) 2>&5
40872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40873 (exit $ac_status); }; } &&
40874 { ac_try
='test -s conftest.$ac_objext'
40875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40876 (eval $ac_try) 2>&5
40878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879 (exit $ac_status); }; }; then
40880 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
40882 echo "$as_me: failed program was:" >&5
40883 sed 's/^/| /' conftest.
$ac_ext >&5
40885 ac_cv_header_gst_xoverlay_xoverlay_h
=no
40887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40889 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
40890 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
40891 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
40895 wxUSE_GSTREAMER
="no"
40896 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
40897 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
40903 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
40904 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
40907 for ac_dir
in $SEARCH_LIB /usr
/lib
;
40909 for ac_extension
in a so sl dylib dll.a
; do
40910 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
40911 ac_find_libraries
=$ac_dir
40918 if test "$ac_find_libraries" = "" ; then
40919 echo "$as_me:$LINENO: result: no" >&5
40920 echo "${ECHO_T}no" >&6
40921 wxUSE_GSTREAMER
="no"
40923 echo "$as_me:$LINENO: result: yes" >&5
40924 echo "${ECHO_T}yes" >&6
40927 if test "$wxUSE_GSTREAMER" = "yes"; then
40928 cat >>confdefs.h
<<\_ACEOF
40929 #define wxUSE_GSTREAMER 1
40932 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
40933 echo "${ECHO_T}GStreamer detection successful" >&6
40936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
40937 cat >>confdefs.h
<<\_ACEOF
40938 #define wxUSE_MEDIACTRL 1
40944 if test "$cross_compiling" = "yes"; then
40947 OSINFO
=`uname -s -r -m`
40948 OSINFO
="\"$OSINFO\""
40951 cat >>confdefs.h
<<_ACEOF
40952 #define WXWIN_OS_DESCRIPTION $OSINFO
40957 if test "x$prefix" != "xNONE"; then
40960 wxPREFIX
=$ac_default_prefix
40963 cat >>confdefs.h
<<_ACEOF
40964 #define wxINSTALL_PREFIX "$wxPREFIX"
40970 CORE_BASE_LIBS
="net base"
40971 CORE_GUI_LIBS
="adv core"
40973 if test "$wxUSE_XML" = "yes" ; then
40974 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
40976 if test "$wxUSE_ODBC" != "no" ; then
40977 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
40978 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
40980 if test "$wxUSE_HTML" = "yes" ; then
40981 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
40983 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
40984 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
40986 if test "$wxUSE_XRC" = "yes" ; then
40987 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
40990 if test "$wxUSE_GUI" != "yes"; then
41001 if test "$wxUSE_MAC" = 1 ; then
41002 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
41003 if test "$USE_DARWIN" = 1; then
41004 LDFLAGS
="$LDFLAGS -framework QuickTime"
41006 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
41009 if test "$USE_DARWIN" = 1; then
41010 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
41012 LDFLAGS
="$LDFLAGS -lCarbonLib"
41015 if test "$wxUSE_COCOA" = 1 ; then
41016 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
41017 if test "$wxUSE_MEDIACTRL" = "yes"; then
41018 LDFLAGS
="$LDFLAGS -framework QuickTime"
41021 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
41022 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
41026 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
41033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41034 echo "$as_me:$LINENO: checking for $ac_func" >&5
41035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41036 if eval "test \"\${$as_ac_var+set}\" = set"; then
41037 echo $ECHO_N "(cached) $ECHO_C" >&6
41039 cat >conftest.
$ac_ext <<_ACEOF
41042 cat confdefs.h
>>conftest.
$ac_ext
41043 cat >>conftest.
$ac_ext <<_ACEOF
41044 /* end confdefs.h. */
41045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41047 #define $ac_func innocuous_$ac_func
41049 /* System header to define __stub macros and hopefully few prototypes,
41050 which can conflict with char $ac_func (); below.
41051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41052 <limits.h> exists even on freestanding compilers. */
41055 # include <limits.h>
41057 # include <assert.h>
41062 /* Override any gcc2 internal prototype to avoid an error. */
41067 /* We use char because int might match the return type of a gcc2
41068 builtin and then its argument prototype would still apply. */
41070 /* The GNU C library defines this for functions which it implements
41071 to always fail with ENOSYS. Some functions are actually named
41072 something starting with __ and the normal name is an alias. */
41073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41076 char (*f) () = $ac_func;
41085 return f != $ac_func;
41090 rm -f conftest.
$ac_objext conftest
$ac_exeext
41091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41092 (eval $ac_link) 2>conftest.er1
41094 grep -v '^ *+' conftest.er1
>conftest.err
41096 cat conftest.err
>&5
41097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41098 (exit $ac_status); } &&
41099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41101 (eval $ac_try) 2>&5
41103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41104 (exit $ac_status); }; } &&
41105 { ac_try
='test -s conftest$ac_exeext'
41106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41107 (eval $ac_try) 2>&5
41109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41110 (exit $ac_status); }; }; then
41111 eval "$as_ac_var=yes"
41113 echo "$as_me: failed program was:" >&5
41114 sed 's/^/| /' conftest.
$ac_ext >&5
41116 eval "$as_ac_var=no"
41118 rm -f conftest.err conftest.
$ac_objext \
41119 conftest
$ac_exeext conftest.
$ac_ext
41121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41123 if test `eval echo '${'$as_ac_var'}'` = yes; then
41124 cat >>confdefs.h
<<_ACEOF
41125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41132 for ac_func
in floor
41134 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41135 echo "$as_me:$LINENO: checking for $ac_func" >&5
41136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41137 if eval "test \"\${$as_ac_var+set}\" = set"; then
41138 echo $ECHO_N "(cached) $ECHO_C" >&6
41140 cat >conftest.
$ac_ext <<_ACEOF
41143 cat confdefs.h
>>conftest.
$ac_ext
41144 cat >>conftest.
$ac_ext <<_ACEOF
41145 /* end confdefs.h. */
41146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41148 #define $ac_func innocuous_$ac_func
41150 /* System header to define __stub macros and hopefully few prototypes,
41151 which can conflict with char $ac_func (); below.
41152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41153 <limits.h> exists even on freestanding compilers. */
41156 # include <limits.h>
41158 # include <assert.h>
41163 /* Override any gcc2 internal prototype to avoid an error. */
41168 /* We use char because int might match the return type of a gcc2
41169 builtin and then its argument prototype would still apply. */
41171 /* The GNU C library defines this for functions which it implements
41172 to always fail with ENOSYS. Some functions are actually named
41173 something starting with __ and the normal name is an alias. */
41174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41177 char (*f) () = $ac_func;
41186 return f != $ac_func;
41191 rm -f conftest.
$ac_objext conftest
$ac_exeext
41192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41193 (eval $ac_link) 2>conftest.er1
41195 grep -v '^ *+' conftest.er1
>conftest.err
41197 cat conftest.err
>&5
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); } &&
41200 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41202 (eval $ac_try) 2>&5
41204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41205 (exit $ac_status); }; } &&
41206 { ac_try
='test -s conftest$ac_exeext'
41207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41208 (eval $ac_try) 2>&5
41210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41211 (exit $ac_status); }; }; then
41212 eval "$as_ac_var=yes"
41214 echo "$as_me: failed program was:" >&5
41215 sed 's/^/| /' conftest.
$ac_ext >&5
41217 eval "$as_ac_var=no"
41219 rm -f conftest.err conftest.
$ac_objext \
41220 conftest
$ac_exeext conftest.
$ac_ext
41222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41224 if test `eval echo '${'$as_ac_var'}'` = yes; then
41225 cat >>confdefs.h
<<_ACEOF
41226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41232 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
41233 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
41234 if test "$have_cos" = 1 -a "$have_floor" = 1; then
41235 echo "$as_me:$LINENO: result: yes" >&5
41236 echo "${ECHO_T}yes" >&6
41238 echo "$as_me:$LINENO: result: no" >&5
41239 echo "${ECHO_T}no" >&6
41241 # use different functions to avoid configure caching
41247 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41248 echo "$as_me:$LINENO: checking for $ac_func" >&5
41249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41250 if eval "test \"\${$as_ac_var+set}\" = set"; then
41251 echo $ECHO_N "(cached) $ECHO_C" >&6
41253 cat >conftest.
$ac_ext <<_ACEOF
41256 cat confdefs.h
>>conftest.
$ac_ext
41257 cat >>conftest.
$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41261 #define $ac_func innocuous_$ac_func
41263 /* System header to define __stub macros and hopefully few prototypes,
41264 which can conflict with char $ac_func (); below.
41265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41266 <limits.h> exists even on freestanding compilers. */
41269 # include <limits.h>
41271 # include <assert.h>
41276 /* Override any gcc2 internal prototype to avoid an error. */
41281 /* We use char because int might match the return type of a gcc2
41282 builtin and then its argument prototype would still apply. */
41284 /* The GNU C library defines this for functions which it implements
41285 to always fail with ENOSYS. Some functions are actually named
41286 something starting with __ and the normal name is an alias. */
41287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41290 char (*f) () = $ac_func;
41299 return f != $ac_func;
41304 rm -f conftest.
$ac_objext conftest
$ac_exeext
41305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41306 (eval $ac_link) 2>conftest.er1
41308 grep -v '^ *+' conftest.er1
>conftest.err
41310 cat conftest.err
>&5
41311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41312 (exit $ac_status); } &&
41313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41315 (eval $ac_try) 2>&5
41317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41318 (exit $ac_status); }; } &&
41319 { ac_try
='test -s conftest$ac_exeext'
41320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41321 (eval $ac_try) 2>&5
41323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41324 (exit $ac_status); }; }; then
41325 eval "$as_ac_var=yes"
41327 echo "$as_me: failed program was:" >&5
41328 sed 's/^/| /' conftest.
$ac_ext >&5
41330 eval "$as_ac_var=no"
41332 rm -f conftest.err conftest.
$ac_objext \
41333 conftest
$ac_exeext conftest.
$ac_ext
41335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41337 if test `eval echo '${'$as_ac_var'}'` = yes; then
41338 cat >>confdefs.h
<<_ACEOF
41339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41346 for ac_func
in ceil
41348 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41349 echo "$as_me:$LINENO: checking for $ac_func" >&5
41350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41351 if eval "test \"\${$as_ac_var+set}\" = set"; then
41352 echo $ECHO_N "(cached) $ECHO_C" >&6
41354 cat >conftest.
$ac_ext <<_ACEOF
41357 cat confdefs.h
>>conftest.
$ac_ext
41358 cat >>conftest.
$ac_ext <<_ACEOF
41359 /* end confdefs.h. */
41360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41362 #define $ac_func innocuous_$ac_func
41364 /* System header to define __stub macros and hopefully few prototypes,
41365 which can conflict with char $ac_func (); below.
41366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41367 <limits.h> exists even on freestanding compilers. */
41370 # include <limits.h>
41372 # include <assert.h>
41377 /* Override any gcc2 internal prototype to avoid an error. */
41382 /* We use char because int might match the return type of a gcc2
41383 builtin and then its argument prototype would still apply. */
41385 /* The GNU C library defines this for functions which it implements
41386 to always fail with ENOSYS. Some functions are actually named
41387 something starting with __ and the normal name is an alias. */
41388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41391 char (*f) () = $ac_func;
41400 return f != $ac_func;
41405 rm -f conftest.
$ac_objext conftest
$ac_exeext
41406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41407 (eval $ac_link) 2>conftest.er1
41409 grep -v '^ *+' conftest.er1
>conftest.err
41411 cat conftest.err
>&5
41412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41413 (exit $ac_status); } &&
41414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41416 (eval $ac_try) 2>&5
41418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41419 (exit $ac_status); }; } &&
41420 { ac_try
='test -s conftest$ac_exeext'
41421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41422 (eval $ac_try) 2>&5
41424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41425 (exit $ac_status); }; }; then
41426 eval "$as_ac_var=yes"
41428 echo "$as_me: failed program was:" >&5
41429 sed 's/^/| /' conftest.
$ac_ext >&5
41431 eval "$as_ac_var=no"
41433 rm -f conftest.err conftest.
$ac_objext \
41434 conftest
$ac_exeext conftest.
$ac_ext
41436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41438 if test `eval echo '${'$as_ac_var'}'` = yes; then
41439 cat >>confdefs.h
<<_ACEOF
41440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41446 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
41447 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
41448 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
41449 echo "$as_me:$LINENO: result: yes" >&5
41450 echo "${ECHO_T}yes" >&6
41452 echo "$as_me:$LINENO: result: no" >&5
41453 echo "${ECHO_T}no" >&6
41454 # not sure we should warn the user, crash, etc.
41458 if test "$wxUSE_GUI" = "yes"; then
41461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
41462 dynamic erase event exec font image minimal mobile \
41463 mobile/wxedit mobile/styles propsize render \
41464 richedit rotate shaped vscroll widgets"
41466 if test "$wxUSE_MONOLITHIC" != "yes"; then
41467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
41469 if test "$TOOLKIT" = "MSW"; then
41470 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
41471 if test "$wxUSE_UNIVERSAL" != "yes"; then
41472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
41475 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
41476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
41479 SAMPLES_SUBDIRS
="console"
41483 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
41484 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
41486 if test "$GXX" = yes ; then
41487 CWARNINGS
="-Wall -Wundef"
41488 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
41491 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
41493 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
41494 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
41495 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
41497 if test "x$MWCC" = "xyes"; then
41499 CC
="$CC -cwd source -I-"
41500 CXX
="$CXX -cwd source -I-"
41505 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
41506 EXTRALIBS_XML
="$EXPAT_LINK"
41507 EXTRALIBS_HTML
="$MSPACK_LINK"
41508 EXTRALIBS_ODBC
="$ODBC_LINK"
41509 if test "$wxUSE_GUI" = "yes"; then
41510 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
41512 if test "$wxUSE_OPENGL" = "yes"; then
41513 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
41516 LDFLAGS
="$LDFLAGS $PROFILE"
41518 if test "$wxUSE_GTK" = 1; then
41521 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
41524 WXCONFIG_EXTRALIBS
="$LIBS"
41526 if test "$wxUSE_REGEX" = "builtin" ; then
41527 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
41529 if test "$wxUSE_EXPAT" = "builtin" ; then
41530 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
41532 if test "$wxUSE_ODBC" = "builtin" ; then
41533 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
41535 if test "$wxUSE_LIBTIFF" = "builtin" ; then
41536 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
41538 if test "$wxUSE_LIBJPEG" = "builtin" ; then
41539 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
41541 if test "$wxUSE_LIBPNG" = "builtin" ; then
41542 wxconfig_3rdparty
="png $wxconfig_3rdparty"
41544 if test "$wxUSE_ZLIB" = "builtin" ; then
41545 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
41548 for i
in $wxconfig_3rdparty ; do
41549 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
41553 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
41567 if test $wxUSE_MONOLITHIC = "yes" ; then
41573 if test $wxUSE_PLUGINS = "yes" ; then
41579 if test $wxUSE_ODBC != "no" ; then
41585 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
41591 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
41619 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
41630 TOOLKIT_USER
="GTK+"
41631 if test "$WXGTK20" = 1; then
41632 TOOLKIT_USER
="$TOOLKIT_USER 2"
41637 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
41641 if test "$wxUSE_WINE" = "yes"; then
41642 BAKEFILE_FORCE_PLATFORM
=win32
41648 if test "x$BAKEFILE_HOST" = "x"; then
41649 BAKEFILE_HOST
="${host}"
41652 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
41654 if test -n "$ac_tool_prefix"; then
41655 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
41656 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
41657 echo "$as_me:$LINENO: checking for $ac_word" >&5
41658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41659 if test "${ac_cv_prog_RANLIB+set}" = set; then
41660 echo $ECHO_N "(cached) $ECHO_C" >&6
41662 if test -n "$RANLIB"; then
41663 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
41665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41666 for as_dir
in $PATH
41669 test -z "$as_dir" && as_dir
=.
41670 for ac_exec_ext
in '' $ac_executable_extensions; do
41671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41672 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
41673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41681 RANLIB
=$ac_cv_prog_RANLIB
41682 if test -n "$RANLIB"; then
41683 echo "$as_me:$LINENO: result: $RANLIB" >&5
41684 echo "${ECHO_T}$RANLIB" >&6
41686 echo "$as_me:$LINENO: result: no" >&5
41687 echo "${ECHO_T}no" >&6
41691 if test -z "$ac_cv_prog_RANLIB"; then
41692 ac_ct_RANLIB
=$RANLIB
41693 # Extract the first word of "ranlib", so it can be a program name with args.
41694 set dummy ranlib
; ac_word
=$2
41695 echo "$as_me:$LINENO: checking for $ac_word" >&5
41696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41697 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
41698 echo $ECHO_N "(cached) $ECHO_C" >&6
41700 if test -n "$ac_ct_RANLIB"; then
41701 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
41703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41704 for as_dir
in $PATH
41707 test -z "$as_dir" && as_dir
=.
41708 for ac_exec_ext
in '' $ac_executable_extensions; do
41709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41710 ac_cv_prog_ac_ct_RANLIB
="ranlib"
41711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41717 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
41720 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
41721 if test -n "$ac_ct_RANLIB"; then
41722 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
41723 echo "${ECHO_T}$ac_ct_RANLIB" >&6
41725 echo "$as_me:$LINENO: result: no" >&5
41726 echo "${ECHO_T}no" >&6
41729 RANLIB
=$ac_ct_RANLIB
41731 RANLIB
="$ac_cv_prog_RANLIB"
41734 # Find a good install program. We prefer a C program (faster),
41735 # so one script is as good as another. But avoid the broken or
41736 # incompatible versions:
41737 # SysV /etc/install, /usr/sbin/install
41738 # SunOS /usr/etc/install
41739 # IRIX /sbin/install
41741 # AmigaOS /C/install, which installs bootblocks on floppy discs
41742 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
41743 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
41744 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
41745 # OS/2's system install, which has a completely different semantic
41746 # ./install, which can be erroneously created by make from ./install.sh.
41747 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
41748 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
41749 if test -z "$INSTALL"; then
41750 if test "${ac_cv_path_install+set}" = set; then
41751 echo $ECHO_N "(cached) $ECHO_C" >&6
41753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41754 for as_dir
in $PATH
41757 test -z "$as_dir" && as_dir
=.
41758 # Account for people who put trailing slashes in PATH elements.
41760 .
/ | .
// | /cC
/* | \
41761 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
41762 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
41765 # OSF1 and SCO ODT 3.0 have their own names for install.
41766 # Don't use installbsd from OSF since it installs stuff as root
41768 for ac_prog
in ginstall scoinst
install; do
41769 for ac_exec_ext
in '' $ac_executable_extensions; do
41770 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
41771 if test $ac_prog = install &&
41772 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41773 # AIX install. It has an incompatible calling convention.
41775 elif test $ac_prog = install &&
41776 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
41777 # program-specific install script used by HP pwplus--don't use.
41780 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
41792 if test "${ac_cv_path_install+set}" = set; then
41793 INSTALL
=$ac_cv_path_install
41795 # As a last resort, use the slow shell script. We don't cache a
41796 # path for INSTALL within a source directory, because that will
41797 # break other packages using the cache if that directory is
41798 # removed, or if the path is relative.
41799 INSTALL
=$ac_install_sh
41802 echo "$as_me:$LINENO: result: $INSTALL" >&5
41803 echo "${ECHO_T}$INSTALL" >&6
41805 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
41806 # It thinks the first close brace ends the variable substitution.
41807 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
41809 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
41811 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
41813 echo "$as_me:$LINENO: checking whether ln -s works" >&5
41814 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
41816 if test "$LN_S" = "ln -s"; then
41817 echo "$as_me:$LINENO: result: yes" >&5
41818 echo "${ECHO_T}yes" >&6
41820 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
41821 echo "${ECHO_T}no, using $LN_S" >&6
41825 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41826 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41827 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
41828 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
41829 echo $ECHO_N "(cached) $ECHO_C" >&6
41831 cat >conftest.
make <<\_ACEOF
41833 @
echo 'ac_maketemp="$(MAKE)"'
41835 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
41836 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
41837 if test -n "$ac_maketemp"; then
41838 eval ac_cv_prog_make_
${ac_make}_set
=yes
41840 eval ac_cv_prog_make_
${ac_make}_set
=no
41842 rm -f conftest.
make
41844 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
41845 echo "$as_me:$LINENO: result: yes" >&5
41846 echo "${ECHO_T}yes" >&6
41849 echo "$as_me:$LINENO: result: no" >&5
41850 echo "${ECHO_T}no" >&6
41851 SET_MAKE
="MAKE=${MAKE-make}"
41856 if test -n "$ac_tool_prefix"; then
41857 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
41858 set dummy
${ac_tool_prefix}ar; ac_word
=$2
41859 echo "$as_me:$LINENO: checking for $ac_word" >&5
41860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41861 if test "${ac_cv_prog_AR+set}" = set; then
41862 echo $ECHO_N "(cached) $ECHO_C" >&6
41864 if test -n "$AR"; then
41865 ac_cv_prog_AR
="$AR" # Let the user override the test.
41867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41868 for as_dir
in $PATH
41871 test -z "$as_dir" && as_dir
=.
41872 for ac_exec_ext
in '' $ac_executable_extensions; do
41873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41874 ac_cv_prog_AR
="${ac_tool_prefix}ar"
41875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41884 if test -n "$AR"; then
41885 echo "$as_me:$LINENO: result: $AR" >&5
41886 echo "${ECHO_T}$AR" >&6
41888 echo "$as_me:$LINENO: result: no" >&5
41889 echo "${ECHO_T}no" >&6
41893 if test -z "$ac_cv_prog_AR"; then
41895 # Extract the first word of "ar", so it can be a program name with args.
41896 set dummy
ar; ac_word
=$2
41897 echo "$as_me:$LINENO: checking for $ac_word" >&5
41898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41899 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
41900 echo $ECHO_N "(cached) $ECHO_C" >&6
41902 if test -n "$ac_ct_AR"; then
41903 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
41905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41906 for as_dir
in $PATH
41909 test -z "$as_dir" && as_dir
=.
41910 for ac_exec_ext
in '' $ac_executable_extensions; do
41911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41912 ac_cv_prog_ac_ct_AR
="ar"
41913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41919 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
41922 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
41923 if test -n "$ac_ct_AR"; then
41924 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
41925 echo "${ECHO_T}$ac_ct_AR" >&6
41927 echo "$as_me:$LINENO: result: no" >&5
41928 echo "${ECHO_T}no" >&6
41933 AR
="$ac_cv_prog_AR"
41936 if test -n "$ac_tool_prefix"; then
41937 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
41938 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
41939 echo "$as_me:$LINENO: checking for $ac_word" >&5
41940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41941 if test "${ac_cv_prog_STRIP+set}" = set; then
41942 echo $ECHO_N "(cached) $ECHO_C" >&6
41944 if test -n "$STRIP"; then
41945 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
41947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41948 for as_dir
in $PATH
41951 test -z "$as_dir" && as_dir
=.
41952 for ac_exec_ext
in '' $ac_executable_extensions; do
41953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41954 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
41955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41963 STRIP
=$ac_cv_prog_STRIP
41964 if test -n "$STRIP"; then
41965 echo "$as_me:$LINENO: result: $STRIP" >&5
41966 echo "${ECHO_T}$STRIP" >&6
41968 echo "$as_me:$LINENO: result: no" >&5
41969 echo "${ECHO_T}no" >&6
41973 if test -z "$ac_cv_prog_STRIP"; then
41975 # Extract the first word of "strip", so it can be a program name with args.
41976 set dummy strip
; ac_word
=$2
41977 echo "$as_me:$LINENO: checking for $ac_word" >&5
41978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41979 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
41980 echo $ECHO_N "(cached) $ECHO_C" >&6
41982 if test -n "$ac_ct_STRIP"; then
41983 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
41985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41986 for as_dir
in $PATH
41989 test -z "$as_dir" && as_dir
=.
41990 for ac_exec_ext
in '' $ac_executable_extensions; do
41991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41992 ac_cv_prog_ac_ct_STRIP
="strip"
41993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41999 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
42002 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
42003 if test -n "$ac_ct_STRIP"; then
42004 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
42005 echo "${ECHO_T}$ac_ct_STRIP" >&6
42007 echo "$as_me:$LINENO: result: no" >&5
42008 echo "${ECHO_T}no" >&6
42013 STRIP
="$ac_cv_prog_STRIP"
42016 if test -n "$ac_tool_prefix"; then
42017 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
42018 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
42019 echo "$as_me:$LINENO: checking for $ac_word" >&5
42020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42021 if test "${ac_cv_prog_NM+set}" = set; then
42022 echo $ECHO_N "(cached) $ECHO_C" >&6
42024 if test -n "$NM"; then
42025 ac_cv_prog_NM
="$NM" # Let the user override the test.
42027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42028 for as_dir
in $PATH
42031 test -z "$as_dir" && as_dir
=.
42032 for ac_exec_ext
in '' $ac_executable_extensions; do
42033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42034 ac_cv_prog_NM
="${ac_tool_prefix}nm"
42035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42044 if test -n "$NM"; then
42045 echo "$as_me:$LINENO: result: $NM" >&5
42046 echo "${ECHO_T}$NM" >&6
42048 echo "$as_me:$LINENO: result: no" >&5
42049 echo "${ECHO_T}no" >&6
42053 if test -z "$ac_cv_prog_NM"; then
42055 # Extract the first word of "nm", so it can be a program name with args.
42056 set dummy nm
; ac_word
=$2
42057 echo "$as_me:$LINENO: checking for $ac_word" >&5
42058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42059 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
42060 echo $ECHO_N "(cached) $ECHO_C" >&6
42062 if test -n "$ac_ct_NM"; then
42063 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
42065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42066 for as_dir
in $PATH
42069 test -z "$as_dir" && as_dir
=.
42070 for ac_exec_ext
in '' $ac_executable_extensions; do
42071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42072 ac_cv_prog_ac_ct_NM
="nm"
42073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42079 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
42082 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
42083 if test -n "$ac_ct_NM"; then
42084 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
42085 echo "${ECHO_T}$ac_ct_NM" >&6
42087 echo "$as_me:$LINENO: result: no" >&5
42088 echo "${ECHO_T}no" >&6
42093 NM
="$ac_cv_prog_NM"
42097 case ${BAKEFILE_HOST} in
42099 INSTALL_DIR
="mkdir -p"
42101 *) INSTALL_DIR
="$INSTALL -d"
42107 case ${BAKEFILE_HOST} in
42108 *-*-cygwin* | *-*-mingw32* )
42109 LDFLAGS_GUI
="-mwindows"
42115 echo "$as_me:$LINENO: checking if make is GNU make" >&5
42116 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
42117 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
42118 echo $ECHO_N "(cached) $ECHO_C" >&6
42121 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
42122 egrep -s GNU
> /dev
/null
); then
42123 bakefile_cv_prog_makeisgnu
="yes"
42125 bakefile_cv_prog_makeisgnu
="no"
42129 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
42130 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
42132 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
42149 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
42150 case "${BAKEFILE_HOST}" in
42157 *-pc-os2_emx | *-pc-os2-emx )
42160 powerpc
-*-darwin* )
42167 powerpc
-apple-macos* )
42176 case "$BAKEFILE_FORCE_PLATFORM" in
42197 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
42198 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
42199 { (exit 1); exit 1; }; }
42214 # Check whether --enable-omf or --disable-omf was given.
42215 if test "${enable_omf+set}" = set; then
42216 enableval
="$enable_omf"
42217 bk_os2_use_omf
="$enableval"
42220 case "${BAKEFILE_HOST}" in
42222 CFLAGS
="$CFLAGS -fno-common"
42223 CXXFLAGS
="$CXXFLAGS -fno-common"
42226 *-pc-os2_emx | *-pc-os2-emx )
42227 if test "x$bk_os2_use_omf" = "xyes" ; then
42230 LDFLAGS
="-Zomf $LDFLAGS"
42231 CFLAGS
="-Zomf $CFLAGS"
42232 CXXFLAGS
="-Zomf $CXXFLAGS"
42240 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
42246 SO_SUFFIX_MODULE
="so"
42251 DLLPREFIX_MODULE
=""
42255 case "${BAKEFILE_HOST}" in
42258 SO_SUFFIX_MODULE
="sl"
42262 SO_SUFFIX_MODULE
="a"
42266 SO_SUFFIX_MODULE
="dll"
42267 DLLIMP_SUFFIX
="dll.a"
42274 SO_SUFFIX_MODULE
="dll"
42275 DLLIMP_SUFFIX
="dll.a"
42285 *-pc-os2_emx | *-pc-os2-emx )
42287 SO_SUFFIX_MODULE
="dll"
42288 DLLIMP_SUFFIX
=$OS2_LIBEXT
42292 LIBEXT
=".$OS2_LIBEXT"
42295 powerpc
-*-darwin* )
42297 SO_SUFFIX_MODULE
="bundle"
42301 if test "x$DLLIMP_SUFFIX" = "x" ; then
42302 DLLIMP_SUFFIX
="$SO_SUFFIX"
42317 if test "x$GCC" = "xyes"; then
42321 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
42322 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
42325 case "${BAKEFILE_HOST}" in
42327 if test "x$GCC" != "xyes"; then
42328 LDFLAGS
="$LDFLAGS -L/usr/lib"
42330 SHARED_LD_CC
="${CC} -b -o"
42331 SHARED_LD_CXX
="${CXX} -b -o"
42337 if test "x$GCC" != "xyes"; then
42338 echo "$as_me:$LINENO: checking for Intel compiler" >&5
42339 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
42340 if test "${bakefile_cv_prog_icc+set}" = set; then
42341 echo $ECHO_N "(cached) $ECHO_C" >&6
42344 cat >conftest.
$ac_ext <<_ACEOF
42347 cat confdefs.h
>>conftest.
$ac_ext
42348 cat >>conftest.
$ac_ext <<_ACEOF
42349 /* end confdefs.h. */
42355 #ifndef __INTEL_COMPILER
42363 rm -f conftest.
$ac_objext
42364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42365 (eval $ac_compile) 2>conftest.er1
42367 grep -v '^ *+' conftest.er1
>conftest.err
42369 cat conftest.err
>&5
42370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42371 (exit $ac_status); } &&
42372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42374 (eval $ac_try) 2>&5
42376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42377 (exit $ac_status); }; } &&
42378 { ac_try
='test -s conftest.$ac_objext'
42379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42380 (eval $ac_try) 2>&5
42382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42383 (exit $ac_status); }; }; then
42384 bakefile_cv_prog_icc
=yes
42386 echo "$as_me: failed program was:" >&5
42387 sed 's/^/| /' conftest.
$ac_ext >&5
42389 bakefile_cv_prog_icc
=no
42392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42395 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
42396 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
42397 if test "$bakefile_cv_prog_icc" = "yes"; then
42404 if test "x$GCC" != xyes
; then
42405 SHARED_LD_CC
="${CC} -G -o"
42406 SHARED_LD_CXX
="${CXX} -G -o"
42413 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
42414 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
42415 if test "${wx_cv_gcc31+set}" = set; then
42416 echo $ECHO_N "(cached) $ECHO_C" >&6
42419 cat >conftest.
$ac_ext <<_ACEOF
42422 cat confdefs.h
>>conftest.
$ac_ext
42423 cat >>conftest.
$ac_ext <<_ACEOF
42424 /* end confdefs.h. */
42430 #if (__GNUC__ < 3) || \
42431 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
42439 rm -f conftest.
$ac_objext
42440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42441 (eval $ac_compile) 2>conftest.er1
42443 grep -v '^ *+' conftest.er1
>conftest.err
42445 cat conftest.err
>&5
42446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447 (exit $ac_status); } &&
42448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42450 (eval $ac_try) 2>&5
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); }; } &&
42454 { ac_try
='test -s conftest.$ac_objext'
42455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42456 (eval $ac_try) 2>&5
42458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42459 (exit $ac_status); }; }; then
42464 echo "$as_me: failed program was:" >&5
42465 sed 's/^/| /' conftest.
$ac_ext >&5
42472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42475 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
42476 echo "${ECHO_T}$wx_cv_gcc31" >&6
42477 if test "$wx_cv_gcc31" = "no"; then
42480 cat <<EOF >shared-ld-sh
42482 #-----------------------------------------------------------------------------
42483 #-- Name: distrib/mac/shared-ld-sh
42484 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
42485 #-- Author: Gilles Depeyrot
42486 #-- Copyright: (c) 2002 Gilles Depeyrot
42487 #-- Licence: any use permitted
42488 #-----------------------------------------------------------------------------
42493 linking_flag="-dynamiclib"
42494 ldargs="-r -keep_private_externs -nostdlib"
42496 while test ${D}# -gt 0; do
42503 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
42504 # collect these options and values
42505 args="${D}{args} ${D}1 ${D}2"
42510 # collect these load args
42511 ldargs="${D}{ldargs} ${D}1"
42514 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
42515 # collect these options
42516 args="${D}{args} ${D}1"
42519 -dynamiclib|-bundle)
42520 linking_flag="${D}1"
42524 echo "shared-ld: unhandled option '${D}1'"
42528 *.o | *.a | *.dylib)
42529 # collect object files
42530 objects="${D}{objects} ${D}1"
42534 echo "shared-ld: unhandled argument '${D}1'"
42545 # Link one module containing all the others
42547 if test ${D}{verbose} = 1; then
42548 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
42550 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
42554 # Link the shared library from the single module created, but only if the
42555 # previous command didn't fail:
42557 if test ${D}{status} = 0; then
42558 if test ${D}{verbose} = 1; then
42559 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
42561 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
42566 # Remove intermediate module
42568 rm -f master.${D}${D}.o
42573 chmod +x shared
-ld-sh
42575 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
42576 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
42577 SHARED_LD_CXX
="$SHARED_LD_CC"
42578 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
42580 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
42581 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
42582 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
42583 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
42586 PIC_FLAG
="-dynamic -fPIC"
42590 if test "x$GCC" != "xyes"; then
42591 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
42592 set dummy makeC
++SharedLib
; ac_word
=$2
42593 echo "$as_me:$LINENO: checking for $ac_word" >&5
42594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42595 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
42596 echo $ECHO_N "(cached) $ECHO_C" >&6
42598 if test -n "$AIX_CXX_LD"; then
42599 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
42601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42602 for as_dir
in $PATH
42605 test -z "$as_dir" && as_dir
=.
42606 for ac_exec_ext
in '' $ac_executable_extensions; do
42607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42608 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
42609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42615 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
42618 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
42619 if test -n "$AIX_CXX_LD"; then
42620 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
42621 echo "${ECHO_T}$AIX_CXX_LD" >&6
42623 echo "$as_me:$LINENO: result: no" >&5
42624 echo "${ECHO_T}no" >&6
42627 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
42628 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
42633 SHARED_LD_CC
="${LD} -nostart -o"
42634 SHARED_LD_CXX
="${LD} -nostart -o"
42638 if test "x$GCC" != "xyes"; then
42643 *-*-cygwin* | *-*-mingw32* )
42645 SHARED_LD_CC
="\$(CC) -shared -o"
42646 SHARED_LD_CXX
="\$(CXX) -shared -o"
42650 *-pc-os2_emx | *-pc-os2-emx )
42651 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42652 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
42656 cat <<EOF >dllar.sh
42659 # dllar - a tool to build both a .dll and an .a file
42660 # from a set of object (.o) files for EMX/OS2.
42662 # Written by Andrew Zabolotny, bit@freya.etu.ru
42663 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
42665 # This script will accept a set of files on the command line.
42666 # All the public symbols from the .o files will be exported into
42667 # a .DEF file, then linker will be run (through gcc) against them to
42668 # build a shared library consisting of all given .o files. All libraries
42669 # (.a) will be first decompressed into component .o files then act as
42670 # described above. You can optionally give a description (-d "description")
42671 # which will be put into .DLL. To see the list of accepted options (as well
42672 # as command-line format) simply run this program without options. The .DLL
42673 # is built to be imported by name (there is no guarantee that new versions
42674 # of the library you build will have same ordinals for same symbols).
42676 # dllar is free software; you can redistribute it and/or modify
42677 # it under the terms of the GNU General Public License as published by
42678 # the Free Software Foundation; either version 2, or (at your option)
42679 # any later version.
42681 # dllar is distributed in the hope that it will be useful,
42682 # but WITHOUT ANY WARRANTY; without even the implied warranty of
42683 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42684 # GNU General Public License for more details.
42686 # You should have received a copy of the GNU General Public License
42687 # along with dllar; see the file COPYING. If not, write to the Free
42688 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
42691 # To successfuly run this program you will need:
42692 # - Current drive should have LFN support (HPFS, ext2, network, etc)
42693 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
42695 # (used to build the .dll)
42697 # (used to create .def file from .o files)
42699 # (used to create .a file from .def file)
42700 # - GNU text utilites (cat, sort, uniq)
42701 # used to process emxexp output
42702 # - GNU file utilities (mv, rm)
42704 # - lxlite (optional, see flag below)
42705 # (used for general .dll cleanup)
42712 # basnam, variant of basename, which does _not_ remove the path, _iff_
42713 # second argument (suffix to remove) is given
42717 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
42720 echo ${D}1 | sed 's/'${D}2'${D}//'
42723 echo "error in basnam ${D}*"
42729 # Cleanup temporary files and output
42732 for i in ${D}inputFiles ; do
42735 rm -rf \`basnam ${D}i !\`
42742 # Kill result in case of failure as there is just to many stupid make/nmake
42743 # things out there which doesn't do this.
42744 if [ ${D}# -eq 0 ]; then
42745 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
42749 # Print usage and exit script with rc=1.
42751 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
42752 echo ' [-name-mangler-script script.sh]'
42753 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
42754 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
42755 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
42756 echo ' [*.o] [*.a]'
42757 echo '*> "output_file" should have no extension.'
42758 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
42759 echo ' The import library name is derived from this and is set to "name".a,'
42760 echo ' unless overridden by -import'
42761 echo '*> "importlib_name" should have no extension.'
42762 echo ' If it has the .o, or .a extension, it is automatically removed.'
42763 echo ' This name is used as the import library name and may be longer and'
42764 echo ' more descriptive than the DLL name which has to follow the old '
42765 echo ' 8.3 convention of FAT.'
42766 echo '*> "script.sh may be given to override the output_file name by a'
42767 echo ' different name. It is mainly useful if the regular make process'
42768 echo ' of some package does not take into account OS/2 restriction of'
42769 echo ' DLL name lengths. It takes the importlib name as input and is'
42770 echo ' supposed to procude a shorter name as output. The script should'
42771 echo ' expect to get importlib_name without extension and should produce'
42772 echo ' a (max.) 8 letter name without extension.'
42773 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
42774 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
42775 echo ' These flags will be put at the start of GCC command line.'
42776 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
42777 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
42778 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
42779 echo ' If the last character of a symbol is "*", all symbols beginning'
42780 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
42781 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
42782 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
42783 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
42784 echo ' C runtime DLLs.'
42785 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
42786 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
42787 echo ' unchanged to GCC at the end of command line.'
42788 echo '*> If you create a DLL from a library and you do not specify -o,'
42789 echo ' the basename for DLL and import library will be set to library name,'
42790 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
42791 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
42792 echo ' library will be renamed into gcc_s.a.'
42795 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
42796 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
42801 # Execute a command.
42802 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
42803 # @Uses Whatever CleanUp() uses.
42809 if [ ${D}rcCmd -ne 0 ]; then
42810 echo "command failed, exit code="${D}rcCmd
42825 CFLAGS="-s -Zcrtdll"
42827 EXPORT_BY_ORDINALS=0
42832 case ${D}curDirS in
42836 curDirS=${D}{curDirS}"/"
42839 # Parse commandline
42842 while [ ${D}1 ]; do
42845 EXPORT_BY_ORDINALS=1;
42855 -name-mangler-script)
42876 exclude_symbols=${D}{exclude_symbols}${D}1" "
42880 library_flags=${D}{library_flags}${D}1" "
42899 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42902 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
42903 if [ ${D}omfLinking -eq 1 ]; then
42904 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
42906 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
42911 if [ ${D}libsToLink -ne 0 ]; then
42912 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
42914 for file in ${D}1 ; do
42915 if [ -f ${D}file ]; then
42916 inputFiles="${D}{inputFiles} ${D}file"
42920 if [ ${D}found -eq 0 ]; then
42921 echo "ERROR: No file(s) found: "${D}1
42928 done # iterate cmdline words
42931 if [ -z "${D}inputFiles" ]; then
42932 echo "dllar: no input files"
42936 # Now extract all .o files from .a files
42938 for file in ${D}inputFiles ; do
42949 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
42954 dirname=\`basnam ${D}file ${D}suffix\`"_%"
42956 if [ ${D}? -ne 0 ]; then
42957 echo "Failed to create subdirectory ./${D}dirname"
42961 # Append '!' to indicate archive
42962 newInputFiles="${D}newInputFiles ${D}{dirname}!"
42963 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
42966 for subfile in ${D}dirname/*.o* ; do
42967 if [ -f ${D}subfile ]; then
42969 if [ -s ${D}subfile ]; then
42970 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
42971 newInputFiles="${D}newInputFiles ${D}subfile"
42975 if [ ${D}found -eq 0 ]; then
42976 echo "WARNING: there are no files in archive \\'${D}file\\'"
42980 newInputFiles="${D}{newInputFiles} ${D}file"
42984 inputFiles="${D}newInputFiles"
42986 # Output filename(s).
42988 if [ -z ${D}outFile ]; then
42990 set outFile ${D}inputFiles; outFile=${D}2
42993 # If it is an archive, remove the '!' and the '_%' suffixes
42994 case ${D}outFile in
42996 outFile=\`basnam ${D}outFile _%!\`
43001 case ${D}outFile in
43003 outFile=\`basnam ${D}outFile .dll\`
43006 outFile=\`basnam ${D}outFile .DLL\`
43009 outFile=\`basnam ${D}outFile .o\`
43012 outFile=\`basnam ${D}outFile .obj\`
43015 outFile=\`basnam ${D}outFile .a\`
43018 outFile=\`basnam ${D}outFile .lib\`
43023 case ${D}outimpFile in
43025 outimpFile=\`basnam ${D}outimpFile .a\`
43028 outimpFile=\`basnam ${D}outimpFile .lib\`
43033 if [ -z ${D}outimpFile ]; then
43034 outimpFile=${D}outFile
43036 defFile="${D}{outFile}.def"
43037 arcFile="${D}{outimpFile}.a"
43038 arcFile2="${D}{outimpFile}.lib"
43040 #create ${D}dllFile as something matching 8.3 restrictions,
43041 if [ -z ${D}renameScript ] ; then
43042 dllFile="${D}outFile"
43044 dllFile=\`${D}renameScript ${D}outimpFile\`
43047 if [ ${D}do_backup -ne 0 ] ; then
43048 if [ -f ${D}arcFile ] ; then
43049 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
43051 if [ -f ${D}arcFile2 ] ; then
43052 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
43056 # Extract public symbols from all the object files.
43057 tmpdefFile=${D}{defFile}_%
43058 rm -f ${D}tmpdefFile
43059 for file in ${D}inputFiles ; do
43064 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
43069 # Create the def file.
43071 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
43072 dllFile="${D}{dllFile}.dll"
43073 if [ ! -z ${D}description ]; then
43074 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
43076 echo "EXPORTS" >> ${D}defFile
43078 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
43079 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
43081 # Checks if the export is ok or not.
43082 for word in ${D}exclude_symbols; do
43083 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
43084 mv ${D}{tmpdefFile}% ${D}tmpdefFile
43088 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43089 sed "=" < ${D}tmpdefFile | \\
43093 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
43095 ' > ${D}{tmpdefFile}%
43096 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
43098 rm -f ${D}{tmpdefFile}%
43100 cat ${D}tmpdefFile >> ${D}defFile
43101 rm -f ${D}tmpdefFile
43103 # Do linking, create implib, and apply lxlite.
43105 for file in ${D}inputFiles ; do
43110 gccCmdl="${D}gccCmdl ${D}file"
43114 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
43115 touch "${D}{outFile}.dll"
43117 doCommand "emximp -o ${D}arcFile ${D}defFile"
43118 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
43120 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
43123 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
43125 doCommand "emxomf -s -l ${D}arcFile"
43135 powerpc
-apple-macos* | \
43136 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
43145 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
43146 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
43147 { (exit 1); exit 1; }; }
43150 if test "x$PIC_FLAG" != "x" ; then
43151 PIC_FLAG
="$PIC_FLAG -DPIC"
43154 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
43155 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
43157 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
43158 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
43177 case "${BAKEFILE_HOST}" in
43178 *-*-linux* | *-*-freebsd* )
43179 SONAME_FLAG
="-Wl,-soname,"
43213 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
43214 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
43217 if test "x$GCC" = "xyes"; then
43220 case "${BAKEFILE_HOST}" in
43221 powerpc
-*-darwin* )
43222 DEPSFLAG_GCC
="-no-cpp-precomp -MMD"
43225 DEPSFLAG_GCC
="-MMD"
43228 echo "$as_me:$LINENO: result: gcc" >&5
43229 echo "${ECHO_T}gcc" >&6
43230 elif test "x$MWCC" = "xyes"; then
43233 DEPSFLAG_MWCC
="-MM"
43234 echo "$as_me:$LINENO: result: mwcc" >&5
43235 echo "${ECHO_T}mwcc" >&6
43236 elif test "x$SUNCC" = "xyes"; then
43239 DEPSFLAG_SUNCC
="-xM1"
43240 echo "$as_me:$LINENO: result: suncc" >&5
43241 echo "${ECHO_T}suncc" >&6
43243 echo "$as_me:$LINENO: result: none" >&5
43244 echo "${ECHO_T}none" >&6
43247 if test $DEPS_TRACKING = 1 ; then
43253 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43254 # script. It is used to track C/C++ files dependencies in portable way.
43256 # Permission is given to use this file in any way.
43258 DEPSMODE=${DEPSMODE}
43260 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
43261 DEPSFLAG_MWCC="${DEPSFLAG_MWCC}"
43262 DEPSFLAG_SUNCC="${DEPSFLAG_SUNCC}"
43264 mkdir -p ${D}DEPSDIR
43266 if test ${D}DEPSMODE = gcc ; then
43267 ${D}* ${D}{DEPSFLAG_GCC}
43269 if test ${D}{status} != 0 ; then
43272 # move created file to the location we want it in:
43273 while test ${D}# -gt 0; do
43287 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
43288 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
43289 if test -f ${D}depfile ; then
43290 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43293 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
43294 if test -f ${D}depfile ; then
43295 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
43300 elif test ${D}DEPSMODE = mwcc ; then
43303 if test ${D}{status} != 0 ; then
43306 # Run mwcc again with -MM and redirect into the dep file we want
43307 # NOTE: We can't use shift here because we need ${D}* to be valid
43309 for arg in ${D}* ; do
43310 if test "${D}prevarg" = "-o"; then
43323 ${D}* ${D}DEPSFLAG_MWCC >${D}{DEPSDIR}/${D}{objfile}.d
43325 elif test ${D}DEPSMODE = suncc; then
43327 # Run compiler again with deps flag and redirect into the dep file.
43328 # It doesn't work if the '-o FILE' option is used, but without it the
43329 # dependency file will contain the wrong name for the object. So it is
43330 # removed from the command line, and the dep file is fixed with sed.
43332 while test ${D}# -gt 0; do
43339 eval arg${D}#=\\${D}1
43340 cmd="${D}cmd \\${D}arg${D}#"
43345 eval "${D}cmd ${D}DEPSFLAG_SUNCC" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
43362 case ${BAKEFILE_HOST} in
43363 *-*-cygwin* | *-*-mingw32* )
43364 if test "$build" != "$host" ; then
43365 RESCOMP
=$host_alias-windres
43367 # Extract the first word of "windres", so it can be a program name with args.
43368 set dummy windres
; ac_word
=$2
43369 echo "$as_me:$LINENO: checking for $ac_word" >&5
43370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43371 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43372 echo $ECHO_N "(cached) $ECHO_C" >&6
43374 if test -n "$RESCOMP"; then
43375 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
43377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43378 for as_dir
in $PATH
43381 test -z "$as_dir" && as_dir
=.
43382 for ac_exec_ext
in '' $ac_executable_extensions; do
43383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43384 ac_cv_prog_RESCOMP
="windres"
43385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43391 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
43394 RESCOMP
=$ac_cv_prog_RESCOMP
43395 if test -n "$RESCOMP"; then
43396 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43397 echo "${ECHO_T}$RESCOMP" >&6
43399 echo "$as_me:$LINENO: result: no" >&5
43400 echo "${ECHO_T}no" >&6
43406 *-*-darwin* | powerpc
-apple-macos* )
43407 # Extract the first word of "Rez", so it can be a program name with args.
43408 set dummy Rez
; ac_word
=$2
43409 echo "$as_me:$LINENO: checking for $ac_word" >&5
43410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43411 if test "${ac_cv_prog_RESCOMP+set}" = set; then
43412 echo $ECHO_N "(cached) $ECHO_C" >&6
43414 if test -n "$RESCOMP"; then
43415 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
43417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43418 for as_dir
in $PATH
43421 test -z "$as_dir" && as_dir
=.
43422 for ac_exec_ext
in '' $ac_executable_extensions; do
43423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43424 ac_cv_prog_RESCOMP
="Rez"
43425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43431 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
43434 RESCOMP
=$ac_cv_prog_RESCOMP
43435 if test -n "$RESCOMP"; then
43436 echo "$as_me:$LINENO: result: $RESCOMP" >&5
43437 echo "${ECHO_T}$RESCOMP" >&6
43439 echo "$as_me:$LINENO: result: no" >&5
43440 echo "${ECHO_T}no" >&6
43443 # Extract the first word of "SetFile", so it can be a program name with args.
43444 set dummy SetFile
; ac_word
=$2
43445 echo "$as_me:$LINENO: checking for $ac_word" >&5
43446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43447 if test "${ac_cv_prog_SETFILE+set}" = set; then
43448 echo $ECHO_N "(cached) $ECHO_C" >&6
43450 if test -n "$SETFILE"; then
43451 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
43453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43454 for as_dir
in $PATH
43457 test -z "$as_dir" && as_dir
=.
43458 for ac_exec_ext
in '' $ac_executable_extensions; do
43459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43460 ac_cv_prog_SETFILE
="SetFile"
43461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43467 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
43470 SETFILE
=$ac_cv_prog_SETFILE
43471 if test -n "$SETFILE"; then
43472 echo "$as_me:$LINENO: result: $SETFILE" >&5
43473 echo "${ECHO_T}$SETFILE" >&6
43475 echo "$as_me:$LINENO: result: no" >&5
43476 echo "${ECHO_T}no" >&6
43486 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
43489 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
43493 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
43494 if test "${enable_precomp_headers+set}" = set; then
43495 enableval
="$enable_precomp_headers"
43496 bk_use_pch
="$enableval"
43501 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
43502 if test "x$GCC" = "xyes"; then
43503 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
43504 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
43505 cat >conftest.
$ac_ext <<_ACEOF
43508 cat confdefs.h
>>conftest.
$ac_ext
43509 cat >>conftest.
$ac_ext <<_ACEOF
43510 /* end confdefs.h. */
43516 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
43517 #error "no pch support"
43520 #error "no pch support"
43522 #if (__GNUC__ == 3) && \
43523 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
43524 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
43525 #error "no pch support"
43532 rm -f conftest.
$ac_objext
43533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43534 (eval $ac_compile) 2>conftest.er1
43536 grep -v '^ *+' conftest.er1
>conftest.err
43538 cat conftest.err
>&5
43539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43540 (exit $ac_status); } &&
43541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43543 (eval $ac_try) 2>&5
43545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43546 (exit $ac_status); }; } &&
43547 { ac_try
='test -s conftest.$ac_objext'
43548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43549 (eval $ac_try) 2>&5
43551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43552 (exit $ac_status); }; }; then
43554 echo "$as_me:$LINENO: result: yes" >&5
43555 echo "${ECHO_T}yes" >&6
43559 echo "$as_me: failed program was:" >&5
43560 sed 's/^/| /' conftest.
$ac_ext >&5
43563 echo "$as_me:$LINENO: result: no" >&5
43564 echo "${ECHO_T}no" >&6
43567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43568 if test $GCC_PCH = 1 ; then
43571 cat <<EOF >bk-make-pch
43574 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
43575 # script. It is used to generated precompiled headers.
43577 # Permission is given to use this file in any way.
43586 while test ${D}{#} -gt 0; do
43589 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
43590 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
43591 headerfile="${D}{incdir}/${D}{header}"
43595 compiler="${D}{compiler} ${D}{1}"
43599 if test "x${D}{headerfile}" = "x" ; then
43600 echo "error: can't find header ${D}{header} in include paths" >2
43602 if test -f ${D}{outfile} ; then
43603 rm -f ${D}{outfile}
43605 mkdir -p \`dirname ${D}{outfile}\`
43607 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
43609 # can do this because gcc is >= 3.4:
43610 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
43615 chmod +x bk
-make-pch
43622 COND_BUILD_DEBUG
="#"
43623 if test "x$BUILD" = "xdebug" ; then
43624 COND_BUILD_DEBUG
=""
43627 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
43628 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
43629 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
43632 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
43633 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
43634 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
43637 COND_BUILD_DEBUG_UNICODE_0
="#"
43638 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
43639 COND_BUILD_DEBUG_UNICODE_0
=""
43642 COND_BUILD_DEBUG_UNICODE_1
="#"
43643 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
43644 COND_BUILD_DEBUG_UNICODE_1
=""
43647 COND_BUILD_RELEASE
="#"
43648 if test "x$BUILD" = "xrelease" ; then
43649 COND_BUILD_RELEASE
=""
43652 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
43653 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
43654 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
43657 COND_BUILD_RELEASE_UNICODE_0
="#"
43658 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
43659 COND_BUILD_RELEASE_UNICODE_0
=""
43662 COND_BUILD_RELEASE_UNICODE_1
="#"
43663 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
43664 COND_BUILD_RELEASE_UNICODE_1
=""
43667 COND_DEBUG_FLAG_1
="#"
43668 if test "x$DEBUG_FLAG" = "x1" ; then
43669 COND_DEBUG_FLAG_1
=""
43672 COND_DEBUG_INFO_0
="#"
43673 if test "x$DEBUG_INFO" = "x0" ; then
43674 COND_DEBUG_INFO_0
=""
43677 COND_DEBUG_INFO_1
="#"
43678 if test "x$DEBUG_INFO" = "x1" ; then
43679 COND_DEBUG_INFO_1
=""
43682 COND_DEPS_TRACKING_0
="#"
43683 if test "x$DEPS_TRACKING" = "x0" ; then
43684 COND_DEPS_TRACKING_0
=""
43687 COND_DEPS_TRACKING_1
="#"
43688 if test "x$DEPS_TRACKING" = "x1" ; then
43689 COND_DEPS_TRACKING_1
=""
43693 if test "x$GCC_PCH" = "x1" ; then
43697 COND_MONOLITHIC_0
="#"
43698 if test "x$MONOLITHIC" = "x0" ; then
43699 COND_MONOLITHIC_0
=""
43702 COND_MONOLITHIC_0_SHARED_0
="#"
43703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
43704 COND_MONOLITHIC_0_SHARED_0
=""
43707 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
43708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
43709 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
43712 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
43713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43714 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
43717 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
43718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43719 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
43722 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
43723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43724 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
43727 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
43728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
43729 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
43732 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
43733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43734 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
43737 COND_MONOLITHIC_0_SHARED_1
="#"
43738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
43739 COND_MONOLITHIC_0_SHARED_1
=""
43742 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
43743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
43744 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
43747 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
43748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
43749 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
43752 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
43753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
43754 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
43757 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
43758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
43759 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
43762 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
43763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
43764 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
43767 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
43768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43769 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
43772 COND_MONOLITHIC_0_USE_ODBC_1
="#"
43773 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
43774 COND_MONOLITHIC_0_USE_ODBC_1
=""
43777 COND_MONOLITHIC_1
="#"
43778 if test "x$MONOLITHIC" = "x1" ; then
43779 COND_MONOLITHIC_1
=""
43782 COND_MONOLITHIC_1_SHARED_0
="#"
43783 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
43784 COND_MONOLITHIC_1_SHARED_0
=""
43787 COND_MONOLITHIC_1_SHARED_1
="#"
43788 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
43789 COND_MONOLITHIC_1_SHARED_1
=""
43792 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
43793 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
43794 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
43797 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
43798 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
43799 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
43802 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
43803 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43804 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
43807 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
43808 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
43809 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
43812 COND_PLATFORM_MACOSX_1
="#"
43813 if test "x$PLATFORM_MACOSX" = "x1" ; then
43814 COND_PLATFORM_MACOSX_1
=""
43817 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
43818 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
43819 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
43822 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
43823 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
43824 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
43827 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
43828 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
43829 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
43832 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
43833 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
43834 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
43837 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
43838 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
43839 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
43842 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
43843 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
43844 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
43847 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
43848 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
43849 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
43852 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
43853 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
43854 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
43857 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
43858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
43859 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
43862 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
43863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
43864 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
43867 COND_PLATFORM_MACOS_1
="#"
43868 if test "x$PLATFORM_MACOS" = "x1" ; then
43869 COND_PLATFORM_MACOS_1
=""
43872 COND_PLATFORM_MAC_1
="#"
43873 if test "x$PLATFORM_MAC" = "x1" ; then
43874 COND_PLATFORM_MAC_1
=""
43877 COND_PLATFORM_MSDOS_1
="#"
43878 if test "x$PLATFORM_MSDOS" = "x1" ; then
43879 COND_PLATFORM_MSDOS_1
=""
43882 COND_PLATFORM_OS2_1
="#"
43883 if test "x$PLATFORM_OS2" = "x1" ; then
43884 COND_PLATFORM_OS2_1
=""
43887 COND_PLATFORM_UNIX_0
="#"
43888 if test "x$PLATFORM_UNIX" = "x0" ; then
43889 COND_PLATFORM_UNIX_0
=""
43892 COND_PLATFORM_UNIX_1
="#"
43893 if test "x$PLATFORM_UNIX" = "x1" ; then
43894 COND_PLATFORM_UNIX_1
=""
43897 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
43898 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
43899 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
43902 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
43903 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
43904 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
43907 COND_PLATFORM_WIN32_0
="#"
43908 if test "x$PLATFORM_WIN32" = "x0" ; then
43909 COND_PLATFORM_WIN32_0
=""
43912 COND_PLATFORM_WIN32_1
="#"
43913 if test "x$PLATFORM_WIN32" = "x1" ; then
43914 COND_PLATFORM_WIN32_1
=""
43918 if test "x$SHARED" = "x0" ; then
43922 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
43923 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
43924 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
43927 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
43928 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
43929 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
43932 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
43933 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
43934 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
43937 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
43938 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43939 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
43942 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
43943 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
43944 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
43947 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
43948 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
43949 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
43952 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
43953 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
43954 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
43957 COND_SHARED_0_USE_XRC_1
="#"
43958 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
43959 COND_SHARED_0_USE_XRC_1
=""
43962 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
43963 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
43964 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
43967 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
43968 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
43969 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
43972 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
43973 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
43974 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
43977 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
43978 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
43979 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
43983 if test "x$SHARED" = "x1" ; then
43987 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
43988 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
43989 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
43992 COND_SHARED_1_USE_XRC_1
="#"
43993 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
43994 COND_SHARED_1_USE_XRC_1
=""
43998 if test "x$TOOLKIT" = "x" ; then
44002 COND_TOOLKIT_COCOA
="#"
44003 if test "x$TOOLKIT" = "xCOCOA" ; then
44004 COND_TOOLKIT_COCOA
=""
44007 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
44008 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
44009 COND_TOOLKIT_COCOA_USE_GUI_1
=""
44012 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
44013 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44014 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
44017 COND_TOOLKIT_GTK
="#"
44018 if test "x$TOOLKIT" = "xGTK" ; then
44019 COND_TOOLKIT_GTK
=""
44022 COND_TOOLKIT_GTK_USE_GUI_1
="#"
44023 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
44024 COND_TOOLKIT_GTK_USE_GUI_1
=""
44027 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
44028 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44029 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
44032 COND_TOOLKIT_MAC
="#"
44033 if test "x$TOOLKIT" = "xMAC" ; then
44034 COND_TOOLKIT_MAC
=""
44037 COND_TOOLKIT_MAC_USE_GUI_1
="#"
44038 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
44039 COND_TOOLKIT_MAC_USE_GUI_1
=""
44042 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
44043 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44044 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
44047 COND_TOOLKIT_MGL
="#"
44048 if test "x$TOOLKIT" = "xMGL" ; then
44049 COND_TOOLKIT_MGL
=""
44052 COND_TOOLKIT_MGL_USE_GUI_1
="#"
44053 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
44054 COND_TOOLKIT_MGL_USE_GUI_1
=""
44057 COND_TOOLKIT_MOTIF
="#"
44058 if test "x$TOOLKIT" = "xMOTIF" ; then
44059 COND_TOOLKIT_MOTIF
=""
44062 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
44063 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
44064 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
44067 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
44068 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44069 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
44072 COND_TOOLKIT_MSW
="#"
44073 if test "x$TOOLKIT" = "xMSW" ; then
44074 COND_TOOLKIT_MSW
=""
44077 COND_TOOLKIT_MSW_USE_GUI_1
="#"
44078 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
44079 COND_TOOLKIT_MSW_USE_GUI_1
=""
44082 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
44083 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44084 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
44087 COND_TOOLKIT_PM
="#"
44088 if test "x$TOOLKIT" = "xPM" ; then
44092 COND_TOOLKIT_PM_USE_GUI_1
="#"
44093 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
44094 COND_TOOLKIT_PM_USE_GUI_1
=""
44097 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
44098 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44099 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
44102 COND_TOOLKIT_WINCE
="#"
44103 if test "x$TOOLKIT" = "xWINCE" ; then
44104 COND_TOOLKIT_WINCE
=""
44107 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
44108 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
44109 COND_TOOLKIT_WINCE_USE_GUI_1
=""
44112 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
44113 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44114 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
44117 COND_TOOLKIT_X11
="#"
44118 if test "x$TOOLKIT" = "xX11" ; then
44119 COND_TOOLKIT_X11
=""
44122 COND_TOOLKIT_X11_USE_GUI_1
="#"
44123 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
44124 COND_TOOLKIT_X11_USE_GUI_1
=""
44128 if test "x$UNICODE" = "x1" ; then
44132 COND_USE_EXCEPTIONS_0
="#"
44133 if test "x$USE_EXCEPTIONS" = "x0" ; then
44134 COND_USE_EXCEPTIONS_0
=""
44137 COND_USE_EXCEPTIONS_1
="#"
44138 if test "x$USE_EXCEPTIONS" = "x1" ; then
44139 COND_USE_EXCEPTIONS_1
=""
44143 if test "x$USE_GUI" = "x0" ; then
44148 if test "x$USE_GUI" = "x1" ; then
44152 COND_USE_GUI_1_WXUNIV_0
="#"
44153 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44154 COND_USE_GUI_1_WXUNIV_0
=""
44157 COND_USE_GUI_1_WXUNIV_1
="#"
44158 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
44159 COND_USE_GUI_1_WXUNIV_1
=""
44162 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
44163 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44164 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
44167 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
44168 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44169 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
44172 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
44173 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44174 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
44177 COND_USE_ODBC_1
="#"
44178 if test "x$USE_ODBC" = "x1" ; then
44182 COND_USE_OPENGL_1
="#"
44183 if test "x$USE_OPENGL" = "x1" ; then
44184 COND_USE_OPENGL_1
=""
44187 COND_USE_PLUGINS_0
="#"
44188 if test "x$USE_PLUGINS" = "x0" ; then
44189 COND_USE_PLUGINS_0
=""
44192 COND_USE_RTTI_0
="#"
44193 if test "x$USE_RTTI" = "x0" ; then
44197 COND_USE_RTTI_1
="#"
44198 if test "x$USE_RTTI" = "x1" ; then
44202 COND_USE_SOSYMLINKS_1
="#"
44203 if test "x$USE_SOSYMLINKS" = "x1" ; then
44204 COND_USE_SOSYMLINKS_1
=""
44207 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
44208 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
44209 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
44212 COND_USE_SOVERLINUX_1
="#"
44213 if test "x$USE_SOVERLINUX" = "x1" ; then
44214 COND_USE_SOVERLINUX_1
=""
44217 COND_USE_SOVERSION_0
="#"
44218 if test "x$USE_SOVERSION" = "x0" ; then
44219 COND_USE_SOVERSION_0
=""
44222 COND_USE_SOVERSOLARIS_1
="#"
44223 if test "x$USE_SOVERSOLARIS" = "x1" ; then
44224 COND_USE_SOVERSOLARIS_1
=""
44227 COND_USE_THREADS_0
="#"
44228 if test "x$USE_THREADS" = "x0" ; then
44229 COND_USE_THREADS_0
=""
44232 COND_USE_THREADS_1
="#"
44233 if test "x$USE_THREADS" = "x1" ; then
44234 COND_USE_THREADS_1
=""
44238 if test "x$USE_XRC" = "x1" ; then
44242 COND_WINDOWS_IMPLIB_1
="#"
44243 if test "x$WINDOWS_IMPLIB" = "x1" ; then
44244 COND_WINDOWS_IMPLIB_1
=""
44247 COND_WITH_PLUGIN_SDL_1
="#"
44248 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
44249 COND_WITH_PLUGIN_SDL_1
=""
44253 if test "x$WXUNIV" = "x0" ; then
44258 if test "x$WXUNIV" = "x1" ; then
44262 COND_WXUSE_EXPAT_BUILTIN
="#"
44263 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
44264 COND_WXUSE_EXPAT_BUILTIN
=""
44267 COND_WXUSE_LIBJPEG_BUILTIN
="#"
44268 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
44269 COND_WXUSE_LIBJPEG_BUILTIN
=""
44272 COND_WXUSE_LIBPNG_BUILTIN
="#"
44273 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
44274 COND_WXUSE_LIBPNG_BUILTIN
=""
44277 COND_WXUSE_LIBTIFF_BUILTIN
="#"
44278 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
44279 COND_WXUSE_LIBTIFF_BUILTIN
=""
44282 COND_WXUSE_ODBC_BUILTIN
="#"
44283 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
44284 COND_WXUSE_ODBC_BUILTIN
=""
44287 COND_WXUSE_REGEX_BUILTIN
="#"
44288 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
44289 COND_WXUSE_REGEX_BUILTIN
=""
44292 COND_WXUSE_ZLIB_BUILTIN
="#"
44293 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
44294 COND_WXUSE_ZLIB_BUILTIN
=""
44299 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
44300 { { 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
44301 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;}
44302 { (exit 1); exit 1; }; }
44305 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
44306 { { 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
44307 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;}
44308 { (exit 1); exit 1; }; }
44312 if test "$wxUSE_WINE" = "yes"; then
44316 if test "$wxUSE_SHARED" = "yes"; then
44318 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
44319 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
44322 *-pc-os2_emx | *-pc-os2-emx )
44323 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44324 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
44325 cp -p ${srcdir}/src
/os
2/dllnames.sh .
44326 cp -p ${srcdir}/src
/os
2/dllar.sh .
44331 EXE_LINKER
="$CXX -o"
44334 if test "$wxUSE_OMF" = "yes"; then
44336 *-pc-os2_emx | *-pc-os2-emx )
44337 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
44338 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
44339 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
44344 GCC_PRAGMA_FLAGS
=""
44347 if test $GCC_PCH = 1 ; then
44348 PCH_FLAGS
="-DWX_PRECOMP"
44349 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44351 if test "$GCC" = yes; then
44352 echo "$as_me:$LINENO: checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA" >&5
44353 echo $ECHO_N "checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44354 cat >conftest.
$ac_ext <<_ACEOF
44357 cat confdefs.h
>>conftest.
$ac_ext
44358 cat >>conftest.
$ac_ext <<_ACEOF
44359 /* end confdefs.h. */
44365 #error "Not GCC 4.0 or greater"
44372 rm -f conftest.
$ac_objext
44373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44374 (eval $ac_compile) 2>conftest.er1
44376 grep -v '^ *+' conftest.er1
>conftest.err
44378 cat conftest.err
>&5
44379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44380 (exit $ac_status); } &&
44381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44383 (eval $ac_try) 2>&5
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); }; } &&
44387 { ac_try
='test -s conftest.$ac_objext'
44388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44389 (eval $ac_try) 2>&5
44391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44392 (exit $ac_status); }; }; then
44393 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44394 echo "$as_me:$LINENO: result: yes" >&5
44395 echo "${ECHO_T}yes" >&6
44397 echo "$as_me: failed program was:" >&5
44398 sed 's/^/| /' conftest.
$ac_ext >&5
44400 echo "$as_me:$LINENO: result: no" >&5
44401 echo "${ECHO_T}no" >&6
44403 powerpc
-*-darwin* )
44404 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44407 if test "$wxUSE_STL" = "yes" -o \
44408 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
44409 "$wxUSE_NO_RTTI" != "yes"; then
44410 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
44411 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44412 cat >conftest.
$ac_ext <<_ACEOF
44415 cat confdefs.h
>>conftest.
$ac_ext
44416 cat >>conftest.
$ac_ext <<_ACEOF
44417 /* end confdefs.h. */
44422 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44423 #error "Not GCC 3.2 or greater"
44430 rm -f conftest.
$ac_objext
44431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44432 (eval $ac_compile) 2>conftest.er1
44434 grep -v '^ *+' conftest.er1
>conftest.err
44436 cat conftest.err
>&5
44437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44438 (exit $ac_status); } &&
44439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44441 (eval $ac_try) 2>&5
44443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44444 (exit $ac_status); }; } &&
44445 { ac_try
='test -s conftest.$ac_objext'
44446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44447 (eval $ac_try) 2>&5
44449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44450 (exit $ac_status); }; }; then
44451 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44452 echo "$as_me:$LINENO: result: yes" >&5
44453 echo "${ECHO_T}yes" >&6
44455 echo "$as_me: failed program was:" >&5
44456 sed 's/^/| /' conftest.
$ac_ext >&5
44458 echo "$as_me:$LINENO: result: no" >&5
44459 echo "${ECHO_T}no" >&6
44461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44464 *-pc-os2_emx | *-pc-os2-emx )
44465 if test "$wxUSE_STL" = "yes"; then
44466 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
44467 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
44468 cat >conftest.
$ac_ext <<_ACEOF
44471 cat confdefs.h
>>conftest.
$ac_ext
44472 cat >>conftest.
$ac_ext <<_ACEOF
44473 /* end confdefs.h. */
44478 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
44479 #error "Not GCC 3.2 or greater"
44486 rm -f conftest.
$ac_objext
44487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44488 (eval $ac_compile) 2>conftest.er1
44490 grep -v '^ *+' conftest.er1
>conftest.err
44492 cat conftest.err
>&5
44493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44494 (exit $ac_status); } &&
44495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44497 (eval $ac_try) 2>&5
44499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44500 (exit $ac_status); }; } &&
44501 { ac_try
='test -s conftest.$ac_objext'
44502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44503 (eval $ac_try) 2>&5
44505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44506 (exit $ac_status); }; }; then
44507 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
44508 echo "$as_me:$LINENO: result: yes" >&5
44509 echo "${ECHO_T}yes" >&6
44511 echo "$as_me: failed program was:" >&5
44512 sed 's/^/| /' conftest.
$ac_ext >&5
44514 echo "$as_me:$LINENO: result: no" >&5
44515 echo "${ECHO_T}no" >&6
44517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44526 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
44529 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
44593 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
44594 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
44595 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
44596 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
44597 echo $ECHO_N "(cached) $ECHO_C" >&6
44599 cat >conftest.
make <<\_ACEOF
44601 @
echo 'ac_maketemp="$(MAKE)"'
44603 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
44604 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
44605 if test -n "$ac_maketemp"; then
44606 eval ac_cv_prog_make_
${ac_make}_set
=yes
44608 eval ac_cv_prog_make_
${ac_make}_set
=no
44610 rm -f conftest.
make
44612 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
44613 echo "$as_me:$LINENO: result: yes" >&5
44614 echo "${ECHO_T}yes" >&6
44617 echo "$as_me:$LINENO: result: no" >&5
44618 echo "${ECHO_T}no" >&6
44619 SET_MAKE
="MAKE=${MAKE-make}"
44624 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
44627 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
44630 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
44633 ac_config_files
="$ac_config_files version-script Makefile"
44636 ac_config_commands
="$ac_config_commands wx-config
44642 if test "$wxUSE_GUI" = "yes"; then
44643 SUBDIRS
="samples demos utils contrib"
44644 else SUBDIRS
="samples utils"
44649 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
44650 if test "${with_cppunit_prefix+set}" = set; then
44651 withval
="$with_cppunit_prefix"
44652 cppunit_config_prefix
="$withval"
44654 cppunit_config_prefix
=""
44657 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
44658 if test "${with_cppunit_exec_prefix+set}" = set; then
44659 withval
="$with_cppunit_exec_prefix"
44660 cppunit_config_exec_prefix
="$withval"
44662 cppunit_config_exec_prefix
=""
44665 if test x
$cppunit_config_exec_prefix != x
; then
44666 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
44667 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44668 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
44671 if test x
$cppunit_config_prefix != x
; then
44672 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
44673 if test x
${CPPUNIT_CONFIG+set} != xset
; then
44674 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
44678 # Extract the first word of "cppunit-config", so it can be a program name with args.
44679 set dummy cppunit
-config; ac_word
=$2
44680 echo "$as_me:$LINENO: checking for $ac_word" >&5
44681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44682 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
44683 echo $ECHO_N "(cached) $ECHO_C" >&6
44685 case $CPPUNIT_CONFIG in
44687 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
44690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44691 for as_dir
in $PATH
44694 test -z "$as_dir" && as_dir
=.
44695 for ac_exec_ext
in '' $ac_executable_extensions; do
44696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44697 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44704 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
44708 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
44710 if test -n "$CPPUNIT_CONFIG"; then
44711 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
44712 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
44714 echo "$as_me:$LINENO: result: no" >&5
44715 echo "${ECHO_T}no" >&6
44718 cppunit_version_min
=1.8.0
44720 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
44721 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
44723 if test "$CPPUNIT_CONFIG" = "no" ; then
44726 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
44727 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
44728 cppunit_version
=`$CPPUNIT_CONFIG --version`
44730 cppunit_major_version
=`echo $cppunit_version | \
44731 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44732 cppunit_minor_version
=`echo $cppunit_version | \
44733 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44734 cppunit_micro_version
=`echo $cppunit_version | \
44735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44737 cppunit_major_min
=`echo $cppunit_version_min | \
44738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44739 cppunit_minor_min
=`echo $cppunit_version_min | \
44740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44741 cppunit_micro_min
=`echo $cppunit_version_min | \
44742 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44744 cppunit_version_proper
=`expr \
44745 $cppunit_major_version \> $cppunit_major_min \| \
44746 $cppunit_major_version \= $cppunit_major_min \& \
44747 $cppunit_minor_version \> $cppunit_minor_min \| \
44748 $cppunit_major_version \= $cppunit_major_min \& \
44749 $cppunit_minor_version \= $cppunit_minor_min \& \
44750 $cppunit_micro_version \>= $cppunit_micro_min `
44752 if test "$cppunit_version_proper" = "1" ; then
44753 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
44754 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
44756 echo "$as_me:$LINENO: result: no" >&5
44757 echo "${ECHO_T}no" >&6
44762 if test "x$no_cppunit" = x
; then
44763 SUBDIRS
="$SUBDIRS tests"
44774 for subdir
in `echo $SUBDIRS`; do
44775 if test -d ${srcdir}/${subdir} ; then
44776 if test "$wxUSE_GUI" = "yes"; then
44777 if test ${subdir} = "samples"; then
44778 makefiles
="samples/Makefile.in $makefiles"
44779 for sample
in `echo $SAMPLES_SUBDIRS`; do
44780 if test -d $srcdir/samples
/$sample; then
44781 makefiles
="samples/$sample/Makefile.in $makefiles"
44785 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
44786 eval "disabled=\$$disabled_var"
44787 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
44788 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
44790 else if test ${subdir} = "samples"; then
44791 makefiles
="samples/Makefile.in samples/console/Makefile.in"
44792 elif test ${subdir} = "utils"; then
44794 for util
in HelpGen tex2rtf
; do
44795 if test -d $srcdir/utils
/$util ; then
44796 makefiles
="utils/$util/Makefile.in \
44797 utils/$util/src/Makefile.in \
44801 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
44805 for mkin
in $makefiles ; do
44806 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
44807 ac_config_files
="$ac_config_files $mk"
44814 cat >confcache
<<\_ACEOF
44815 # This file is a shell script that caches the results of configure
44816 # tests run on this system so they can be shared between configure
44817 # scripts and configure runs, see configure's option --config-cache.
44818 # It is not useful on other systems. If it contains results you don't
44819 # want to keep, you may remove or edit it.
44821 # config.status only pays attention to the cache file if you give it
44822 # the --recheck option to rerun configure.
44824 # `ac_cv_env_foo' variables (set or unset) will be overridden when
44825 # loading this file, other *unset* `ac_cv_foo' will be assigned the
44826 # following values.
44830 # The following way of writing the cache mishandles newlines in values,
44831 # but we know of no workaround that is simple, portable, and efficient.
44832 # So, don't put newlines in cache variables' values.
44833 # Ultrix sh set writes to stderr and can't be redirected directly,
44834 # and sets the high bit in the cache file unless we assign to the vars.
44837 case `(ac_space=' '; set | grep ac_space) 2>&1` in
44839 # `set' does not quote correctly, so add quotes (double-quote
44840 # substitution turns \\\\ into \\, and sed turns \\ into \).
44843 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
44846 # `set' quotes correctly as required by POSIX, so do not add quotes.
44848 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
44855 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
44857 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
44859 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
44860 if test -w $cache_file; then
44861 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
44862 cat confcache
>$cache_file
44864 echo "not updating unwritable cache $cache_file"
44869 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
44870 # Let make expand exec_prefix.
44871 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
44873 # VPATH may cause trouble with some makes, so we remove $(srcdir),
44874 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
44875 # trailing colons and then remove the whole line if VPATH becomes empty
44876 # (actually we leave an empty line to preserve line numbers).
44877 if test "x$srcdir" = x.
; then
44878 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
44879 s/:*\$(srcdir):*/:/;
44880 s/:*\${srcdir}:*/:/;
44882 s/^\([^=]*=[ ]*\):*/\1/;
44888 DEFS
=-DHAVE_CONFIG_H
44892 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
44893 # 1. Remove the extension, and $U if already installed.
44894 ac_i
=`echo "$ac_i" |
44895 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
44897 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
44898 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
44900 LIBOBJS
=$ac_libobjs
44902 LTLIBOBJS
=$ac_ltlibobjs
44906 : ${CONFIG_STATUS=./config.status}
44907 ac_clean_files_save
=$ac_clean_files
44908 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
44909 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
44910 echo "$as_me: creating $CONFIG_STATUS" >&6;}
44911 cat >$CONFIG_STATUS <<_ACEOF
44913 # Generated by $as_me.
44914 # Run this file to recreate the current configuration.
44915 # Compiler output produced by configure, useful for debugging
44916 # configure, is in config.log if it exists.
44919 ac_cs_recheck=false
44921 SHELL=\${CONFIG_SHELL-$SHELL}
44924 cat >>$CONFIG_STATUS <<\_ACEOF
44925 ## --------------------- ##
44926 ## M4sh Initialization. ##
44927 ## --------------------- ##
44929 # Be Bourne compatible
44930 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
44933 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
44934 # is contrary to our usage. Disable this feature.
44935 alias -g '${1+"$@"}'='"$@"'
44936 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
44939 DUALCASE
=1; export DUALCASE
# for MKS sh
44941 # Support unset when possible.
44942 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
44949 # Work around bugs in pre-3.0 UWIN ksh.
44950 $as_unset ENV MAIL MAILPATH
44957 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44958 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44959 LC_TELEPHONE LC_TIME
44961 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
44962 eval $as_var=C
; export $as_var
44968 # Required to use basename.
44969 if expr a
: '\(a\)' >/dev
/null
2>&1; then
44975 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
44976 as_basename
=basename
44982 # Name of the executable.
44983 as_me
=`$as_basename "$0" ||
44984 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
44985 X"$0" : 'X\(//\)$' \| \
44986 X"$0" : 'X\(/\)$' \| \
44987 . : '\(.\)' 2>/dev/null ||
44989 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
44990 /^X\/\(\/\/\)$/{ s//\1/; q; }
44991 /^X\/\(\/\).*/{ s//\1/; q; }
44995 # PATH needs CR, and LINENO needs CR and PATH.
44996 # Avoid depending upon Character Ranges.
44997 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
44998 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
44999 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
45000 as_cr_digits
='0123456789'
45001 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45003 # The user is always right.
45004 if test "${PATH_SEPARATOR+set}" != set; then
45005 echo "#! /bin/sh" >conf$$.sh
45006 echo "exit 0" >>conf$$.sh
45008 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
45017 as_lineno_1
=$LINENO
45018 as_lineno_2
=$LINENO
45019 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
45020 test "x$as_lineno_1" != "x$as_lineno_2" &&
45021 test "x$as_lineno_3" = "x$as_lineno_2" || {
45022 # Find who we are. Look in the path if we contain no path at all
45025 *[\\/]* ) as_myself
=$0 ;;
45026 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45027 for as_dir
in $PATH
45030 test -z "$as_dir" && as_dir
=.
45031 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
45036 # We did not find ourselves, most probably we were run as `sh COMMAND'
45037 # in which case we are not to be found in the path.
45038 if test "x$as_myself" = x
; then
45041 if test ! -f "$as_myself"; then
45042 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
45043 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
45044 { (exit 1); exit 1; }; }
45046 case $CONFIG_SHELL in
45048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45049 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
45052 test -z "$as_dir" && as_dir
=.
45053 for as_base
in sh bash ksh sh5
; do
45056 if ("$as_dir/$as_base" -c '
45057 as_lineno_1=$LINENO
45058 as_lineno_2=$LINENO
45059 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
45060 test "x$as_lineno_1" != "x$as_lineno_2" &&
45061 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
45062 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
45063 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
45064 CONFIG_SHELL
=$as_dir/$as_base
45065 export CONFIG_SHELL
45066 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
45074 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
45075 # uniformly replaced by the line number. The first 'sed' inserts a
45076 # line-number line before each line; the second 'sed' does the real
45077 # work. The second script uses 'N' to pair each line-number line
45078 # with the numbered line, and appends trailing '-' during
45079 # substitution so that $LINENO is not a special case at line end.
45080 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
45081 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
45082 sed '=' <$as_myself |
45087 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
45090 s,^['$as_cr_digits']*\n,,
45091 ' >$as_me.lineno
&&
45092 chmod +x
$as_me.lineno
||
45093 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
45094 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
45095 { (exit 1); exit 1; }; }
45097 # Don't try to exec as it changes $[0], causing all sort of problems
45098 # (the dirname of $[0] is not the place where we might find the
45099 # original and so on. Autoconf is especially sensible to this).
45101 # Exit status is that of the last command.
45106 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
45107 *c
*,-n*) ECHO_N
= ECHO_C
='
45109 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
45110 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
45113 if expr a
: '\(a\)' >/dev
/null
2>&1; then
45119 rm -f conf$$ conf$$.exe conf$$.
file
45121 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
45122 # We could just check for DJGPP; but this test a) works b) is more generic
45123 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45124 if test -f conf$$.exe
; then
45125 # Don't use ln at all; we don't have any links
45130 elif ln conf$$.
file conf$$
2>/dev
/null
; then
45135 rm -f conf$$ conf$$.exe conf$$.
file
45137 if mkdir -p .
2>/dev
/null
; then
45140 test -d .
/-p && rmdir .
/-p
45144 as_executable_p
="test -f"
45146 # Sed expression to map a string onto a valid CPP name.
45147 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
45149 # Sed expression to map a string onto a valid variable name.
45150 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
45154 # We need space, tab and new line, in precisely that order.
45164 # Open the log real soon, to keep \$[0] and so on meaningful, and to
45165 # report actual input values of CONFIG_FILES etc. instead of their
45166 # values after options handling. Logging --version etc. is OK.
45170 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45171 ## Running $as_me. ##
45176 This file was extended by wxWidgets $as_me 2.6.2, which was
45177 generated by GNU Autoconf 2.59. Invocation command line was
45179 CONFIG_FILES = $CONFIG_FILES
45180 CONFIG_HEADERS = $CONFIG_HEADERS
45181 CONFIG_LINKS = $CONFIG_LINKS
45182 CONFIG_COMMANDS = $CONFIG_COMMANDS
45186 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
45190 # Files that config.status was made for.
45191 if test -n "$ac_config_files"; then
45192 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
45195 if test -n "$ac_config_headers"; then
45196 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
45199 if test -n "$ac_config_links"; then
45200 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
45203 if test -n "$ac_config_commands"; then
45204 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
45207 cat >>$CONFIG_STATUS <<\_ACEOF
45210 \`$as_me' instantiates files from templates according to the
45211 current configuration.
45213 Usage: $0 [OPTIONS] [FILE]...
45215 -h, --help print this help, then exit
45216 -V, --version print version number, then exit
45217 -q, --quiet do not print progress messages
45218 -d, --debug don't remove temporary files
45219 --recheck update $as_me by reconfiguring in the same conditions
45220 --file=FILE[:TEMPLATE]
45221 instantiate the configuration file FILE
45222 --header=FILE[:TEMPLATE]
45223 instantiate the configuration header FILE
45225 Configuration files:
45228 Configuration headers:
45231 Configuration commands:
45234 Report bugs to <bug-autoconf@gnu.org>."
45237 cat >>$CONFIG_STATUS <<_ACEOF
45239 wxWidgets config.status 2.6.2
45240 configured by $0, generated by GNU Autoconf 2.59,
45241 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
45243 Copyright (C) 2003 Free Software Foundation, Inc.
45244 This config.status script is free software; the Free Software Foundation
45245 gives unlimited permission to copy, distribute and modify it."
45250 cat >>$CONFIG_STATUS <<\_ACEOF
45251 # If no file are specified by the user, then we need to provide default
45252 # value. By we need to know if files were specified by the user.
45258 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
45259 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
45267 *) # This is not an option, so the user has probably given explicit
45270 ac_need_defaults
=false
;;
45274 # Handling of the options.
45276 cat >>$CONFIG_STATUS <<\_ACEOF
45277 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45279 --version | --vers* | -V )
45280 echo "$ac_cs_version"; exit 0 ;;
45282 # Conflict between --help and --header
45283 { { echo "$as_me:$LINENO: error: ambiguous option: $1
45284 Try \`$0 --help' for more information." >&5
45285 echo "$as_me: error: ambiguous option: $1
45286 Try \`$0 --help' for more information." >&2;}
45287 { (exit 1); exit 1; }; };;
45288 --help | --hel | -h )
45289 echo "$ac_cs_usage"; exit 0 ;;
45290 --debug | --d* | -d )
45292 --file | --fil | --fi | --f )
45294 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
45295 ac_need_defaults
=false
;;
45296 --header | --heade | --head | --hea )
45298 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
45299 ac_need_defaults
=false
;;
45300 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45301 | -silent | --silent | --silen | --sile | --sil | --si | --s)
45304 # This is an error.
45305 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
45306 Try \`$0 --help' for more information." >&5
45307 echo "$as_me: error: unrecognized option: $1
45308 Try \`$0 --help' for more information." >&2;}
45309 { (exit 1); exit 1; }; } ;;
45311 *) ac_config_targets
="$ac_config_targets $1" ;;
45317 ac_configure_extra_args
=
45319 if $ac_cs_silent; then
45321 ac_configure_extra_args
="$ac_configure_extra_args --silent"
45325 cat >>$CONFIG_STATUS <<_ACEOF
45326 if \$ac_cs_recheck; then
45327 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
45328 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45333 cat >>$CONFIG_STATUS <<_ACEOF
45335 # INIT-COMMANDS section.
45338 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45339 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45340 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
45348 cat >>$CONFIG_STATUS <<\_ACEOF
45349 for ac_config_target
in $ac_config_targets
45351 case "$ac_config_target" in
45352 # Handling of arguments.
45353 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
45354 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
45355 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
45356 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
45357 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
45358 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
45359 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
45360 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
45361 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
45362 { (exit 1); exit 1; }; };;
45366 # If the user did not use the arguments to specify the items to instantiate,
45367 # then the envvar interface is used. Set only those that are not.
45368 # We use the long form for the default assignment because of an extremely
45369 # bizarre bug on SunOS 4.1.3.
45370 if $ac_need_defaults; then
45371 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
45372 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
45373 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
45376 # Have a temporary directory for convenience. Make it in the build tree
45377 # simply because there is no reason to put it here, and in addition,
45378 # creating and moving files from /tmp can sometimes cause problems.
45379 # Create a temporary directory, and hook for its removal unless debugging.
45382 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
45383 trap '{ (exit 1); exit 1; }' 1 2 13 15
45386 # Create a (secure) tmp directory for tmp files.
45389 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
45390 test -n "$tmp" && test -d "$tmp"
45393 tmp
=.
/confstat$$
-$RANDOM
45394 (umask 077 && mkdir $tmp)
45397 echo "$me: cannot create a temporary directory in ." >&2
45398 { (exit 1); exit 1; }
45403 cat >>$CONFIG_STATUS <<_ACEOF
45406 # CONFIG_FILES section.
45409 # No need to generate the scripts if there are no CONFIG_FILES.
45410 # This happens for instance when ./config.status config.h
45411 if test -n "\$CONFIG_FILES"; then
45412 # Protect against being on the right side of a sed subst in config.status.
45413 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
45414 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
45415 s,@SHELL@,$SHELL,;t t
45416 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
45417 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
45418 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
45419 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
45420 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
45421 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
45422 s,@exec_prefix@,$exec_prefix,;t t
45423 s,@prefix@,$prefix,;t t
45424 s,@program_transform_name@,$program_transform_name,;t t
45425 s,@bindir@,$bindir,;t t
45426 s,@sbindir@,$sbindir,;t t
45427 s,@libexecdir@,$libexecdir,;t t
45428 s,@datadir@,$datadir,;t t
45429 s,@sysconfdir@,$sysconfdir,;t t
45430 s,@sharedstatedir@,$sharedstatedir,;t t
45431 s,@localstatedir@,$localstatedir,;t t
45432 s,@libdir@,$libdir,;t t
45433 s,@includedir@,$includedir,;t t
45434 s,@oldincludedir@,$oldincludedir,;t t
45435 s,@infodir@,$infodir,;t t
45436 s,@mandir@,$mandir,;t t
45437 s,@build_alias@,$build_alias,;t t
45438 s,@host_alias@,$host_alias,;t t
45439 s,@target_alias@,$target_alias,;t t
45440 s,@DEFS@,$DEFS,;t t
45441 s,@ECHO_C@,$ECHO_C,;t t
45442 s,@ECHO_N@,$ECHO_N,;t t
45443 s,@ECHO_T@,$ECHO_T,;t t
45444 s,@LIBS@,$LIBS,;t t
45445 s,@build@,$build,;t t
45446 s,@build_cpu@,$build_cpu,;t t
45447 s,@build_vendor@,$build_vendor,;t t
45448 s,@build_os@,$build_os,;t t
45449 s,@host@,$host,;t t
45450 s,@host_cpu@,$host_cpu,;t t
45451 s,@host_vendor@,$host_vendor,;t t
45452 s,@host_os@,$host_os,;t t
45453 s,@target@,$target,;t t
45454 s,@target_cpu@,$target_cpu,;t t
45455 s,@target_vendor@,$target_vendor,;t t
45456 s,@target_os@,$target_os,;t t
45458 s,@CFLAGS@,$CFLAGS,;t t
45459 s,@LDFLAGS@,$LDFLAGS,;t t
45460 s,@CPPFLAGS@,$CPPFLAGS,;t t
45461 s,@ac_ct_CC@,$ac_ct_CC,;t t
45462 s,@EXEEXT@,$EXEEXT,;t t
45463 s,@OBJEXT@,$OBJEXT,;t t
45465 s,@EGREP@,$EGREP,;t t
45467 s,@CXXFLAGS@,$CXXFLAGS,;t t
45468 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
45469 s,@RANLIB@,$RANLIB,;t t
45470 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
45472 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
45473 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
45474 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
45475 s,@STRIP@,$STRIP,;t t
45476 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
45477 s,@LN_S@,$LN_S,;t t
45478 s,@CXXCPP@,$CXXCPP,;t t
45479 s,@subdirs@,$subdirs,;t t
45480 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
45481 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
45482 s,@GTK_LIBS@,$GTK_LIBS,;t t
45483 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
45484 s,@X_CFLAGS@,$X_CFLAGS,;t t
45485 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
45486 s,@X_LIBS@,$X_LIBS,;t t
45487 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
45488 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
45489 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
45490 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
45491 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
45492 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
45493 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
45494 s,@RESCOMP@,$RESCOMP,;t t
45495 s,@DEREZ@,$DEREZ,;t t
45496 s,@SETFILE@,$SETFILE,;t t
45497 s,@LIBICONV@,$LIBICONV,;t t
45498 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
45499 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
45500 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
45501 s,@SDL_LIBS@,$SDL_LIBS,;t t
45502 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
45503 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
45504 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
45505 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
45506 s,@GST_INSPECT@,$GST_INSPECT,;t t
45507 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
45508 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
45509 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
45510 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
45511 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
45512 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
45513 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
45514 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
45515 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
45516 s,@VENDOR@,$VENDOR,;t t
45517 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
45518 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
45519 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
45520 s,@WXUNIV@,$WXUNIV,;t t
45521 s,@MONOLITHIC@,$MONOLITHIC,;t t
45522 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
45523 s,@EXTRALIBS@,$EXTRALIBS,;t t
45524 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
45525 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
45526 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
45527 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
45528 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
45529 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
45530 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
45531 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
45532 s,@UNICODE@,$UNICODE,;t t
45533 s,@BUILD@,$BUILD,;t t
45534 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
45535 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
45536 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
45537 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
45538 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
45539 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
45540 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
45541 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
45542 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
45543 s,@SET_MAKE@,$SET_MAKE,;t t
45544 s,@MAKE_SET@,$MAKE_SET,;t t
45545 s,@ac_ct_AR@,$ac_ct_AR,;t t
45546 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
45548 s,@ac_ct_NM@,$ac_ct_NM,;t t
45549 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
45550 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
45551 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
45552 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
45553 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
45554 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
45555 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
45556 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
45557 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
45558 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
45559 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
45560 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
45561 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
45562 s,@LIBPREFIX@,$LIBPREFIX,;t t
45563 s,@LIBEXT@,$LIBEXT,;t t
45564 s,@DLLPREFIX@,$DLLPREFIX,;t t
45565 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
45566 s,@dlldir@,$dlldir,;t t
45567 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
45568 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
45569 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
45570 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
45571 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
45572 s,@PIC_FLAG@,$PIC_FLAG,;t t
45573 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
45574 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
45575 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
45576 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
45577 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
45578 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
45579 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
45580 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
45581 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
45582 s,@GCC_PCH@,$GCC_PCH,;t t
45583 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
45584 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
45585 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
45586 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
45587 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
45588 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
45589 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
45590 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
45591 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
45592 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
45593 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
45594 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
45595 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
45596 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
45597 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
45598 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
45599 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
45600 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
45601 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
45602 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
45603 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
45604 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
45605 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
45606 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
45607 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
45608 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
45609 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
45610 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
45611 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
45612 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
45613 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
45614 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
45615 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
45616 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
45617 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
45618 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
45619 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
45620 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
45621 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
45622 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
45623 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
45624 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
45625 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
45626 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
45627 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
45628 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
45629 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
45630 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
45631 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
45632 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
45633 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
45634 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
45635 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
45636 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
45637 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
45638 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
45639 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
45640 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
45641 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
45642 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
45643 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
45644 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
45645 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
45646 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
45647 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45648 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45649 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45650 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
45651 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
45652 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
45653 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
45654 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
45655 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
45656 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
45657 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
45658 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
45659 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
45660 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
45661 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
45662 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
45663 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
45664 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
45665 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
45666 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
45667 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
45668 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
45669 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
45670 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
45671 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
45672 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
45673 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
45674 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
45675 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
45676 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
45677 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
45678 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
45679 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
45680 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
45681 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
45682 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
45683 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
45684 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
45685 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
45686 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
45687 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
45688 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
45689 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
45690 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
45691 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
45692 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
45693 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
45694 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
45695 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
45696 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
45697 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
45698 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
45699 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
45700 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
45701 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
45702 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
45703 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
45704 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
45705 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
45706 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
45707 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
45708 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
45709 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
45710 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
45711 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
45712 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
45713 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
45714 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
45715 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
45716 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
45717 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
45718 s,@SHARED@,$SHARED,;t t
45719 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
45720 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
45721 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
45722 s,@USE_GUI@,$USE_GUI,;t t
45723 s,@AFMINSTALL@,$AFMINSTALL,;t t
45724 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
45725 s,@TOOLKIT@,$TOOLKIT,;t t
45726 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
45727 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
45728 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
45729 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
45730 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
45731 s,@cross_compiling@,$cross_compiling,;t t
45732 s,@WIDGET_SET@,$WIDGET_SET,;t t
45733 s,@WX_RELEASE@,$WX_RELEASE,;t t
45734 s,@WX_VERSION@,$WX_VERSION,;t t
45735 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
45736 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
45737 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
45738 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
45739 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
45740 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
45741 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
45742 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
45743 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
45744 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
45745 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
45746 s,@EXE_LINKER@,$EXE_LINKER,;t t
45747 s,@GUIDIST@,$GUIDIST,;t t
45748 s,@DISTDIR@,$DISTDIR,;t t
45749 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
45750 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
45751 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
45752 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
45753 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
45754 s,@RESFLAGS@,$RESFLAGS,;t t
45755 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
45756 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
45757 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
45758 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
45759 s,@MACRESCOMP@,$MACRESCOMP,;t t
45760 s,@MACSETFILE@,$MACSETFILE,;t t
45761 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
45763 s,@DLLTOOL@,$DLLTOOL,;t t
45764 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
45765 s,@LIBOBJS@,$LIBOBJS,;t t
45766 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
45771 cat >>$CONFIG_STATUS <<\_ACEOF
45772 # Split the substitutions into bite-sized pieces for seds with
45773 # small command number limits, like on Digital OSF/1 and HP-UX.
45774 ac_max_sed_lines
=48
45775 ac_sed_frag
=1 # Number of current file.
45776 ac_beg
=1 # First line for current file.
45777 ac_end
=$ac_max_sed_lines # Line after last line for current file.
45780 while $ac_more_lines; do
45781 if test $ac_beg -gt 1; then
45782 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45784 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
45786 if test ! -s $tmp/subs.frag
; then
45787 ac_more_lines
=false
45789 # The purpose of the label and of the branching condition is to
45790 # speed up the sed processing (if there are no `@' at all, there
45791 # is no need to browse any of the substitutions).
45792 # These are the two extra sed commands mentioned above.
45794 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
45795 if test -z "$ac_sed_cmds"; then
45796 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
45798 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
45800 ac_sed_frag
=`expr $ac_sed_frag + 1`
45802 ac_end
=`expr $ac_end + $ac_max_sed_lines`
45805 if test -z "$ac_sed_cmds"; then
45808 fi # test -n "$CONFIG_FILES"
45811 cat >>$CONFIG_STATUS <<\_ACEOF
45812 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
45813 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
45815 - | *:- | *:-:* ) # input from stdin
45817 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45818 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45819 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
45820 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
45821 * ) ac_file_in
=$ac_file.
in ;;
45824 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45825 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
45826 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45827 X"$ac_file" : 'X\(//\)[^/]' \| \
45828 X"$ac_file" : 'X\(//\)$' \| \
45829 X"$ac_file" : 'X\(/\)' \| \
45830 . : '\(.\)' 2>/dev/null ||
45832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45833 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45834 /^X\(\/\/\)$/{ s//\1/; q; }
45835 /^X\(\/\).*/{ s//\1/; q; }
45837 { if $as_mkdir_p; then
45842 while test ! -d "$as_dir"; do
45843 as_dirs
="$as_dir $as_dirs"
45844 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
45845 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
45846 X"$as_dir" : 'X\(//\)[^/]' \| \
45847 X"$as_dir" : 'X\(//\)$' \| \
45848 X"$as_dir" : 'X\(/\)' \| \
45849 . : '\(.\)' 2>/dev/null ||
45851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
45852 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
45853 /^X\(\/\/\)$/{ s//\1/; q; }
45854 /^X\(\/\).*/{ s//\1/; q; }
45857 test ! -n "$as_dirs" || mkdir $as_dirs
45858 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
45859 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
45860 { (exit 1); exit 1; }; }; }
45864 if test "$ac_dir" != .
; then
45865 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
45866 # A "../" for each directory in $ac_dir_suffix.
45867 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
45869 ac_dir_suffix
= ac_top_builddir
=
45873 .
) # No --srcdir option. We are building in place.
45875 if test -z "$ac_top_builddir"; then
45878 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
45880 [\\/]* | ?
:[\\/]* ) # Absolute path.
45881 ac_srcdir
=$srcdir$ac_dir_suffix;
45882 ac_top_srcdir
=$srcdir ;;
45883 *) # Relative path.
45884 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
45885 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
45888 # Do not use `cd foo && pwd` to compute absolute paths, because
45889 # the directories may not exist.
45891 .
) ac_abs_builddir
="$ac_dir";;
45894 .
) ac_abs_builddir
=`pwd`;;
45895 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
45896 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
45899 case $ac_abs_builddir in
45900 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45902 case ${ac_top_builddir}.
in
45903 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
45904 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
45905 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
45908 case $ac_abs_builddir in
45909 .
) ac_abs_srcdir
=$ac_srcdir;;
45912 .
) ac_abs_srcdir
=$ac_abs_builddir;;
45913 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
45914 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
45917 case $ac_abs_builddir in
45918 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
45920 case $ac_top_srcdir in
45921 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
45922 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
45923 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
45929 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
45930 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
45933 # Let's still pretend it is `configure' which instantiates (i.e., don't
45934 # use $as_me), people would be surprised to read:
45935 # /* config.h. Generated by config.status. */
45936 if test x
"$ac_file" = x
-; then
45939 configure_input
="$ac_file. "
45941 configure_input
=$configure_input"Generated from `echo $ac_file_in |
45942 sed 's,.*/,,'` by configure."
45944 # First look for the input files in the build tree, otherwise in the
45946 ac_file_inputs
=`IFS=:
45947 for f in $ac_file_in; do
45949 -) echo $tmp/stdin ;;
45951 # Absolute (can't be DOS-style, as IFS=:)
45952 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45953 echo "$as_me: error: cannot find input file: $f" >&2;}
45954 { (exit 1); exit 1; }; }
45957 if test -f "$f"; then
45960 elif test -f "$srcdir/$f"; then
45965 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
45966 echo "$as_me: error: cannot find input file: $f" >&2;}
45967 { (exit 1); exit 1; }; }
45970 done` || { (exit 1); exit 1; }
45972 if test x
"$ac_file" != x
-; then
45973 { echo "$as_me:$LINENO: creating $ac_file" >&5
45974 echo "$as_me: creating $ac_file" >&6;}
45978 cat >>$CONFIG_STATUS <<_ACEOF
45982 cat >>$CONFIG_STATUS <<\_ACEOF
45984 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
45985 s
,@configure_input@
,$configure_input,;t t
45986 s
,@srcdir@
,$ac_srcdir,;t t
45987 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
45988 s
,@top_srcdir@
,$ac_top_srcdir,;t t
45989 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
45990 s
,@builddir@
,$ac_builddir,;t t
45991 s
,@abs_builddir@
,$ac_abs_builddir,;t t
45992 s
,@top_builddir@
,$ac_top_builddir,;t t
45993 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
45994 s
,@INSTALL@
,$ac_INSTALL,;t t
45995 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
45997 if test x"$ac_file" != x-; then
45998 mv $tmp/out $ac_file
46004 # Run the commands associated with the file.
46006 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
46007 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
46011 cat >>$CONFIG_STATUS <<\_ACEOF
46014 # CONFIG_HEADER section.
46017 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
46018 # NAME is the cpp macro being defined and VALUE is the value it is being given.
46020 # ac_d sets the value in "#define NAME VALUE" lines.
46021 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
46022 ac_dB
='[ ].*$,\1#\2'
46025 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
46026 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
46027 ac_uB
='$,\1#\2define\3'
46031 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
46032 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46034 - | *:- | *:-:* ) # input from stdin
46036 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46037 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46038 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46039 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46040 * ) ac_file_in
=$ac_file.
in ;;
46043 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
46044 echo "$as_me: creating $ac_file" >&6;}
46046 # First look for the input files in the build tree, otherwise in the
46048 ac_file_inputs
=`IFS=:
46049 for f in $ac_file_in; do
46051 -) echo $tmp/stdin ;;
46053 # Absolute (can't be DOS-style, as IFS=:)
46054 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46055 echo "$as_me: error: cannot find input file: $f" >&2;}
46056 { (exit 1); exit 1; }; }
46057 # Do quote $f, to prevent DOS paths from being IFS'd.
46060 if test -f "$f"; then
46063 elif test -f "$srcdir/$f"; then
46068 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
46069 echo "$as_me: error: cannot find input file: $f" >&2;}
46070 { (exit 1); exit 1; }; }
46073 done` || { (exit 1); exit 1; }
46074 # Remove the trailing spaces.
46075 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
46079 # Transform confdefs.h into two sed scripts, `conftest.defines' and
46080 # `conftest.undefs', that substitutes the proper values into
46081 # config.h.in to produce config.h. The first handles `#define'
46082 # templates, and the second `#undef' templates.
46083 # And first: Protect against being on the right side of a sed subst in
46084 # config.status. Protect against being in an unquoted here document
46085 # in config.status.
46086 rm -f conftest.defines conftest.undefs
46087 # Using a here document instead of a string reduces the quoting nightmare.
46088 # Putting comments in sed scripts is not portable.
46090 # `end' is used to avoid that the second main sed command (meant for
46091 # 0-ary CPP macros) applies to n-ary macro definitions.
46092 # See the Autoconf documentation for `clear'.
46093 cat >confdef2sed.
sed <<\_ACEOF
46098 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
46100 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
46103 # If some macros were called several times there might be several times
46104 # the same #defines, which is useless. Nevertheless, we may not want to
46105 # sort them, since we want the *last* AC-DEFINE to be honored.
46106 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
46107 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
46108 rm -f confdef2sed.sed
46110 # This sed command replaces #undef with comments. This is necessary, for
46111 # example, in the case of _POSIX_SOURCE, which is predefined and required
46112 # on some systems where configure will not decide to define it.
46113 cat >>conftest.undefs <<\_ACEOF
46114 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
46117 # Break up conftest.defines because some shells have a limit on the size
46118 # of here documents, and old seds have small limits too (100 cmds).
46119 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
46120 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
46121 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
46122 echo ' :' >>$CONFIG_STATUS
46123 rm -f conftest.tail
46124 while grep . conftest.defines >/dev/null
46126 # Write a limited-size here document to $tmp/defines.sed.
46127 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
46128 # Speed up: don't consider the non `#define' lines.
46129 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
46130 # Work around the forget-to-reset-the-flag bug.
46131 echo 't clr' >>$CONFIG_STATUS
46132 echo ': clr' >>$CONFIG_STATUS
46133 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
46135 sed -f $tmp/defines.sed $tmp/in >$tmp/out
46137 mv $tmp/out $tmp/in
46139 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
46140 rm -f conftest.defines
46141 mv conftest.
tail conftest.defines
46143 rm -f conftest.defines
46144 echo ' fi # grep' >>$CONFIG_STATUS
46145 echo >>$CONFIG_STATUS
46147 # Break up conftest.undefs because some shells have a limit on the size
46148 # of here documents, and old seds have small limits too (100 cmds).
46149 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
46150 rm -f conftest.
tail
46151 while grep . conftest.undefs
>/dev
/null
46153 # Write a limited-size here document to $tmp/undefs.sed.
46154 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
46155 # Speed up: don't consider the non
`#undef'
46156 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
46157 # Work around the forget-to-reset-the-flag bug.
46158 echo 't clr' >>$CONFIG_STATUS
46159 echo ': clr' >>$CONFIG_STATUS
46160 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
46162 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
46164 mv $tmp/out $tmp/in
46166 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
46167 rm -f conftest.undefs
46168 mv conftest.tail conftest.undefs
46170 rm -f conftest.undefs
46172 cat >>$CONFIG_STATUS <<\_ACEOF
46173 # Let's still pretend it is `configure
' which instantiates (i.e., don't
46174 # use $as_me), people would be surprised to read:
46175 # /* config.h. Generated by config.status. */
46176 if test x
"$ac_file" = x
-; then
46177 echo "/* Generated by configure. */" >$tmp/config.h
46179 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
46181 cat $tmp/in >>$tmp/config.h
46183 if test x
"$ac_file" != x
-; then
46184 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
46185 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
46186 echo "$as_me: $ac_file is unchanged" >&6;}
46188 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
46189 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46190 X"$ac_file" : 'X\(//\)[^/]' \| \
46191 X"$ac_file" : 'X\(//\)$' \| \
46192 X"$ac_file" : 'X\(/\)' \| \
46193 . : '\(.\)' 2>/dev/null ||
46195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46196 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46197 /^X\(\/\/\)$/{ s//\1/; q; }
46198 /^X\(\/\).*/{ s//\1/; q; }
46200 { if $as_mkdir_p; then
46205 while test ! -d "$as_dir"; do
46206 as_dirs
="$as_dir $as_dirs"
46207 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46208 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46209 X"$as_dir" : 'X\(//\)[^/]' \| \
46210 X"$as_dir" : 'X\(//\)$' \| \
46211 X"$as_dir" : 'X\(/\)' \| \
46212 . : '\(.\)' 2>/dev/null ||
46214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46215 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46216 /^X\(\/\/\)$/{ s//\1/; q; }
46217 /^X\(\/\).*/{ s//\1/; q; }
46220 test ! -n "$as_dirs" || mkdir $as_dirs
46221 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46222 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46223 { (exit 1); exit 1; }; }; }
46226 mv $tmp/config.h
$ac_file
46230 rm -f $tmp/config.h
46234 cat >>$CONFIG_STATUS <<\_ACEOF
46237 # CONFIG_COMMANDS section.
46239 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
46240 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
46241 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46242 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
46243 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46244 X"$ac_dest" : 'X\(//\)[^/]' \| \
46245 X"$ac_dest" : 'X\(//\)$' \| \
46246 X"$ac_dest" : 'X\(/\)' \| \
46247 . : '\(.\)' 2>/dev/null ||
46249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46250 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46251 /^X\(\/\/\)$/{ s//\1/; q; }
46252 /^X\(\/\).*/{ s//\1/; q; }
46254 { if $as_mkdir_p; then
46259 while test ! -d "$as_dir"; do
46260 as_dirs
="$as_dir $as_dirs"
46261 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46262 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46263 X"$as_dir" : 'X\(//\)[^/]' \| \
46264 X"$as_dir" : 'X\(//\)$' \| \
46265 X"$as_dir" : 'X\(/\)' \| \
46266 . : '\(.\)' 2>/dev/null ||
46268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46269 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46270 /^X\(\/\/\)$/{ s//\1/; q; }
46271 /^X\(\/\).*/{ s//\1/; q; }
46274 test ! -n "$as_dirs" || mkdir $as_dirs
46275 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46276 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46277 { (exit 1); exit 1; }; }; }
46281 if test "$ac_dir" != .
; then
46282 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46283 # A "../" for each directory in $ac_dir_suffix.
46284 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46286 ac_dir_suffix
= ac_top_builddir
=
46290 .
) # No --srcdir option. We are building in place.
46292 if test -z "$ac_top_builddir"; then
46295 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46297 [\\/]* | ?
:[\\/]* ) # Absolute path.
46298 ac_srcdir
=$srcdir$ac_dir_suffix;
46299 ac_top_srcdir
=$srcdir ;;
46300 *) # Relative path.
46301 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46302 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46305 # Do not use `cd foo && pwd` to compute absolute paths, because
46306 # the directories may not exist.
46308 .
) ac_abs_builddir
="$ac_dir";;
46311 .
) ac_abs_builddir
=`pwd`;;
46312 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46313 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46316 case $ac_abs_builddir in
46317 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46319 case ${ac_top_builddir}.
in
46320 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46321 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46322 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46325 case $ac_abs_builddir in
46326 .
) ac_abs_srcdir
=$ac_srcdir;;
46329 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46330 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46331 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46334 case $ac_abs_builddir in
46335 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46337 case $ac_top_srcdir in
46338 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46339 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46340 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46345 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
46346 echo "$as_me: executing $ac_dest commands" >&6;}
46348 wx
-config ) rm -f wx
-config
46349 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
46355 cat >>$CONFIG_STATUS <<\_ACEOF
46357 { (exit 0); exit 0; }
46359 chmod +x
$CONFIG_STATUS
46360 ac_clean_files
=$ac_clean_files_save
46363 # configure is writing to config.log, and then calls config.status.
46364 # config.status does its own redirection, appending to config.log.
46365 # Unfortunately, on DOS this fails, as config.log is still kept open
46366 # by configure, so config.status won't be able to write to it; its
46367 # output is simply discarded. So we exec the FD to /dev/null,
46368 # effectively closing config.log, so it can be properly (re)opened and
46369 # appended to by config.status. When coming back to configure, we
46370 # need to make the FD available again.
46371 if test "$no_create" != yes; then
46373 ac_config_status_args
=
46374 test "$silent" = yes &&
46375 ac_config_status_args
="$ac_config_status_args --quiet"
46377 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
46379 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
46380 # would make configure fail if this is the last instruction.
46381 $ac_cs_success || { (exit 1); exit 1; }
46385 # CONFIG_SUBDIRS section.
46387 if test "$no_recursion" != yes; then
46389 # Remove --cache-file and --srcdir arguments so they do not pile up.
46390 ac_sub_configure_args
=
46392 for ac_arg
in $ac_configure_args; do
46393 if test -n "$ac_prev"; then
46398 -cache-file | --cache-file | --cache-fil | --cache-fi \
46399 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
46400 ac_prev
=cache_file
;;
46401 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
46402 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
46405 --config-cache | -C)
46407 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
46409 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
46411 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
46413 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
46415 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
46419 # Always prepend --prefix to ensure using the same prefix
46420 # in subdir configurations.
46421 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
46424 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
46426 # Do not complain, so a configure script can configure whichever
46427 # parts of a large source tree are present.
46428 test -d $srcdir/$ac_dir || continue
46430 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
46431 echo "$as_me: configuring in $ac_dir" >&6;}
46432 { if $as_mkdir_p; then
46437 while test ! -d "$as_dir"; do
46438 as_dirs
="$as_dir $as_dirs"
46439 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46441 X"$as_dir" : 'X\(//\)[^/]' \| \
46442 X"$as_dir" : 'X\(//\)$' \| \
46443 X"$as_dir" : 'X\(/\)' \| \
46444 . : '\(.\)' 2>/dev/null ||
46446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46448 /^X\(\/\/\)$/{ s//\1/; q; }
46449 /^X\(\/\).*/{ s//\1/; q; }
46452 test ! -n "$as_dirs" || mkdir $as_dirs
46453 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46454 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46455 { (exit 1); exit 1; }; }; }
46459 if test "$ac_dir" != .
; then
46460 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46461 # A "../" for each directory in $ac_dir_suffix.
46462 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
46464 ac_dir_suffix
= ac_top_builddir
=
46468 .
) # No --srcdir option. We are building in place.
46470 if test -z "$ac_top_builddir"; then
46473 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
46475 [\\/]* | ?
:[\\/]* ) # Absolute path.
46476 ac_srcdir
=$srcdir$ac_dir_suffix;
46477 ac_top_srcdir
=$srcdir ;;
46478 *) # Relative path.
46479 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
46480 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
46483 # Do not use `cd foo && pwd` to compute absolute paths, because
46484 # the directories may not exist.
46486 .
) ac_abs_builddir
="$ac_dir";;
46489 .
) ac_abs_builddir
=`pwd`;;
46490 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
46491 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
46494 case $ac_abs_builddir in
46495 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46497 case ${ac_top_builddir}.
in
46498 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
46499 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
46500 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
46503 case $ac_abs_builddir in
46504 .
) ac_abs_srcdir
=$ac_srcdir;;
46507 .
) ac_abs_srcdir
=$ac_abs_builddir;;
46508 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
46509 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
46512 case $ac_abs_builddir in
46513 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
46515 case $ac_top_srcdir in
46516 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
46517 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
46518 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
46525 # Check for guested configure; otherwise get Cygnus style configure.
46526 if test -f $ac_srcdir/configure.gnu
; then
46527 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
46528 elif test -f $ac_srcdir/configure
; then
46529 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
46530 elif test -f $ac_srcdir/configure.
in; then
46531 ac_sub_configure
=$ac_configure
46533 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
46534 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
46538 # The recursion is here.
46539 if test -n "$ac_sub_configure"; then
46540 # Make the cache file name correct relative to the subdirectory.
46541 case $cache_file in
46542 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
46543 *) # Relative path.
46544 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
46547 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
46548 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
46549 # The eval makes quoting arguments work.
46550 eval $ac_sub_configure $ac_sub_configure_args \
46551 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
46552 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
46553 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
46554 { (exit 1); exit 1; }; }
46563 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
46565 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
46566 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
46568 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
46569 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
46570 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
46572 echo " What level of wxWidgets compatibility should be enabled?"
46573 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
46574 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
46576 echo " Which libraries should wxWidgets use?"
46577 echo " jpeg ${wxUSE_LIBJPEG-none}"
46578 echo " png ${wxUSE_LIBPNG-none}"
46579 echo " regex ${wxUSE_REGEX}"
46580 echo " tiff ${wxUSE_LIBTIFF-none}"
46581 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
46582 echo " xpm ${wxUSE_LIBXPM-none}"
46584 echo " zlib ${wxUSE_ZLIB}"
46585 echo " odbc ${wxUSE_ODBC}"
46586 echo " expat ${wxUSE_EXPAT}"
46587 echo " libmspack ${wxUSE_LIBMSPACK}"
46588 echo " sdl ${wxUSE_LIBSDL}"
46589 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"