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 ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP RESCOMP ac_ct_RESCOMP DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_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 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* )
1930 DEFAULT_DEFAULT_wxUSE_MSW
=1
1937 cat >>confdefs.h
<<\_ACEOF
1942 DEFAULT_DEFAULT_wxUSE_MGL
=1
1945 *-pc-os2_emx | *-pc-os2-emx )
1946 cat >>confdefs.h
<<\_ACEOF
1951 cat >>confdefs.h
<<\_ACEOF
1956 DEFAULT_DEFAULT_wxUSE_PM
=1
1958 LDFLAGS
="$LDFLAGS -Zcrtdll"
1959 ac_executable_extensions
=".exe"
1960 export ac_executable_extensions
1964 for ac_dir
in $PATH; do
1966 if test -z "$ac_TEMP_PATH"; then
1967 ac_TEMP_PATH
="$ac_dir"
1969 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
1972 export PATH
="$ac_TEMP_PATH"
1981 cat >>confdefs.h
<<\_ACEOF
1985 cat >>confdefs.h
<<\_ACEOF
1986 #define __DARWIN__ 1
1989 cat >>confdefs.h
<<\_ACEOF
1990 #define TARGET_CARBON 1
1993 DEFAULT_DEFAULT_wxUSE_MAC
=1
1996 powerpc
-apple-macos* )
1998 ac_cv_c_bigendian
=yes
2000 DEFAULT_DEFAULT_wxUSE_MAC
=1
2006 cat >>confdefs.h
<<\_ACEOF
2013 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2014 echo "$as_me: error: unknown system type ${host}." >&2;}
2015 { (exit 1); exit 1; }; }
2021 wx_arg_cache_file
="configarg.cache"
2022 echo "loading argument cache $wx_arg_cache_file"
2023 rm -f ${wx_arg_cache_file}.tmp
2024 touch ${wx_arg_cache_file}.tmp
2025 touch ${wx_arg_cache_file}
2029 if test $DEBUG_CONFIGURE = 1; then
2030 DEFAULT_wxUSE_UNIVERSAL
=no
2031 DEFAULT_wxUSE_STL
=no
2033 DEFAULT_wxUSE_NANOX
=no
2035 DEFAULT_wxUSE_THREADS
=yes
2037 DEFAULT_wxUSE_SHARED
=yes
2038 DEFAULT_wxUSE_OPTIMISE
=no
2039 DEFAULT_wxUSE_PROFILE
=no
2040 DEFAULT_wxUSE_NO_DEPS
=no
2041 DEFAULT_wxUSE_NO_RTTI
=no
2042 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2043 DEFAULT_wxUSE_RPATH
=yes
2044 DEFAULT_wxUSE_PERMISSIVE
=no
2045 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2046 DEFAULT_wxUSE_DEBUG_INFO
=yes
2047 DEFAULT_wxUSE_DEBUG_GDB
=yes
2048 DEFAULT_wxUSE_MEM_TRACING
=no
2049 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2050 DEFAULT_wxUSE_DMALLOC
=no
2051 DEFAULT_wxUSE_APPLE_IEEE
=no
2053 DEFAULT_wxUSE_EXCEPTIONS
=no
2054 DEFAULT_wxUSE_LOG
=yes
2055 DEFAULT_wxUSE_LOGWINDOW
=no
2056 DEFAULT_wxUSE_LOGGUI
=no
2057 DEFAULT_wxUSE_LOGDIALOG
=no
2059 DEFAULT_wxUSE_GUI
=yes
2060 DEFAULT_wxUSE_CONTROLS
=no
2062 DEFAULT_wxUSE_REGEX
=no
2063 DEFAULT_wxUSE_XML
=no
2064 DEFAULT_wxUSE_EXPAT
=no
2065 DEFAULT_wxUSE_ZLIB
=no
2066 DEFAULT_wxUSE_LIBPNG
=no
2067 DEFAULT_wxUSE_LIBJPEG
=no
2068 DEFAULT_wxUSE_LIBTIFF
=no
2069 DEFAULT_wxUSE_LIBXPM
=no
2070 DEFAULT_wxUSE_LIBMSPACK
=no
2071 DEFAULT_wxUSE_LIBSDL
=no
2072 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2073 DEFAULT_wxUSE_ODBC
=no
2074 DEFAULT_wxUSE_OPENGL
=no
2076 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
2077 DEFAULT_wxUSE_STACKWALKER
=no
2078 DEFAULT_wxUSE_DEBUGREPORT
=no
2079 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
2080 DEFAULT_wxUSE_STD_IOSTREAM
=no
2081 DEFAULT_wxUSE_STD_STRING
=no
2082 DEFAULT_wxUSE_CMDLINE_PARSER
=no
2083 DEFAULT_wxUSE_DATETIME
=no
2084 DEFAULT_wxUSE_TIMER
=no
2085 DEFAULT_wxUSE_STOPWATCH
=no
2086 DEFAULT_wxUSE_FILE
=no
2087 DEFAULT_wxUSE_FFILE
=no
2088 DEFAULT_wxUSE_STDPATHS
=no
2089 DEFAULT_wxUSE_TEXTBUFFER
=no
2090 DEFAULT_wxUSE_TEXTFILE
=no
2091 DEFAULT_wxUSE_SOUND
=no
2092 DEFAULT_wxUSE_MEDIACTRL
=no
2093 DEFAULT_wxUSE_INTL
=no
2094 DEFAULT_wxUSE_CONFIG
=no
2095 DEFAULT_wxUSE_FONTMAP
=no
2096 DEFAULT_wxUSE_STREAMS
=no
2097 DEFAULT_wxUSE_SOCKETS
=no
2098 DEFAULT_wxUSE_OLE
=no
2099 DEFAULT_wxUSE_DATAOBJ
=no
2100 DEFAULT_wxUSE_DIALUP_MANAGER
=no
2101 DEFAULT_wxUSE_JOYSTICK
=no
2102 DEFAULT_wxUSE_DYNLIB_CLASS
=no
2103 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
2104 DEFAULT_wxUSE_LONGLONG
=no
2105 DEFAULT_wxUSE_GEOMETRY
=no
2107 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
2108 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
2109 DEFAULT_wxUSE_POSTSCRIPT
=no
2111 DEFAULT_wxUSE_CLIPBOARD
=no
2112 DEFAULT_wxUSE_TOOLTIPS
=no
2113 DEFAULT_wxUSE_DRAG_AND_DROP
=no
2114 DEFAULT_wxUSE_DRAGIMAGE
=no
2115 DEFAULT_wxUSE_SPLINES
=no
2116 DEFAULT_wxUSE_MOUSEWHEEL
=no
2118 DEFAULT_wxUSE_MDI
=no
2119 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
2120 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
2121 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
2123 DEFAULT_wxUSE_RESOURCES
=no
2124 DEFAULT_wxUSE_CONSTRAINTS
=no
2125 DEFAULT_wxUSE_IPC
=no
2126 DEFAULT_wxUSE_HELP
=no
2127 DEFAULT_wxUSE_MS_HTML_HELP
=no
2128 DEFAULT_wxUSE_WXHTML_HELP
=no
2129 DEFAULT_wxUSE_TREELAYOUT
=no
2130 DEFAULT_wxUSE_METAFILE
=no
2131 DEFAULT_wxUSE_MIMETYPE
=no
2132 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
2133 DEFAULT_wxUSE_PROTOCOL
=no
2134 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
2135 DEFAULT_wxUSE_PROTOCOL_FTP
=no
2136 DEFAULT_wxUSE_PROTOCOL_FILE
=no
2137 DEFAULT_wxUSE_URL
=no
2139 DEFAULT_wxUSE_COMMONDLGS
=no
2140 DEFAULT_wxUSE_CHOICEDLG
=no
2141 DEFAULT_wxUSE_COLOURDLG
=no
2142 DEFAULT_wxUSE_DIRDLG
=no
2143 DEFAULT_wxUSE_FILEDLG
=no
2144 DEFAULT_wxUSE_FINDREPLDLG
=no
2145 DEFAULT_wxUSE_FONTDLG
=no
2146 DEFAULT_wxUSE_MSGDLG
=no
2147 DEFAULT_wxUSE_NUMBERDLG
=no
2148 DEFAULT_wxUSE_TEXTDLG
=no
2149 DEFAULT_wxUSE_SPLASH
=no
2150 DEFAULT_wxUSE_STARTUP_TIPS
=no
2151 DEFAULT_wxUSE_PROGRESSDLG
=no
2152 DEFAULT_wxUSE_WIZARDDLG
=no
2154 DEFAULT_wxUSE_MENUS
=no
2155 DEFAULT_wxUSE_MINIFRAME
=no
2156 DEFAULT_wxUSE_HTML
=no
2157 DEFAULT_wxUSE_XRC
=no
2158 DEFAULT_wxUSE_WEBKIT
=no
2159 DEFAULT_wxUSE_FILESYSTEM
=no
2160 DEFAULT_wxUSE_FS_INET
=no
2161 DEFAULT_wxUSE_FS_ZIP
=no
2162 DEFAULT_wxUSE_BUSYINFO
=no
2163 DEFAULT_wxUSE_ARCHIVE_STREAMS
=no
2164 DEFAULT_wxUSE_ZIPSTREAM
=no
2165 DEFAULT_wxUSE_VALIDATORS
=no
2167 DEFAULT_wxUSE_ACCEL
=no
2168 DEFAULT_wxUSE_BUTTON
=no
2169 DEFAULT_wxUSE_BMPBUTTON
=no
2170 DEFAULT_wxUSE_CALCTRL
=no
2171 DEFAULT_wxUSE_CARET
=no
2172 DEFAULT_wxUSE_CHECKBOX
=no
2173 DEFAULT_wxUSE_CHECKLST
=no
2174 DEFAULT_wxUSE_CHOICE
=no
2175 DEFAULT_wxUSE_CHOICEBOOK
=no
2176 DEFAULT_wxUSE_COMBOBOX
=no
2177 DEFAULT_wxUSE_DATEPICKCTRL
=no
2178 DEFAULT_wxUSE_DISPLAY
=no
2179 DEFAULT_wxUSE_GAUGE
=no
2180 DEFAULT_wxUSE_GRID
=no
2181 DEFAULT_wxUSE_IMAGLIST
=no
2182 DEFAULT_wxUSE_LISTBOOK
=no
2183 DEFAULT_wxUSE_LISTBOX
=no
2184 DEFAULT_wxUSE_LISTCTRL
=no
2185 DEFAULT_wxUSE_NOTEBOOK
=no
2186 DEFAULT_wxUSE_RADIOBOX
=no
2187 DEFAULT_wxUSE_RADIOBTN
=no
2188 DEFAULT_wxUSE_SASH
=no
2189 DEFAULT_wxUSE_SCROLLBAR
=no
2190 DEFAULT_wxUSE_SLIDER
=no
2191 DEFAULT_wxUSE_SPINBTN
=no
2192 DEFAULT_wxUSE_SPINCTRL
=no
2193 DEFAULT_wxUSE_SPLITTER
=no
2194 DEFAULT_wxUSE_STATBMP
=no
2195 DEFAULT_wxUSE_STATBOX
=no
2196 DEFAULT_wxUSE_STATLINE
=no
2197 DEFAULT_wxUSE_STATTEXT
=no
2198 DEFAULT_wxUSE_STATUSBAR
=yes
2199 DEFAULT_wxUSE_TABDIALOG
=no
2200 DEFAULT_wxUSE_TEXTCTRL
=no
2201 DEFAULT_wxUSE_TOGGLEBTN
=no
2202 DEFAULT_wxUSE_TOOLBAR
=no
2203 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
2204 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
2205 DEFAULT_wxUSE_TREECTRL
=no
2206 DEFAULT_wxUSE_POPUPWIN
=no
2207 DEFAULT_wxUSE_TIPWINDOW
=no
2209 DEFAULT_wxUSE_UNICODE
=no
2210 DEFAULT_wxUSE_UNICODE_MSLU
=no
2211 DEFAULT_wxUSE_WCSRTOMBS
=no
2213 DEFAULT_wxUSE_PALETTE
=no
2214 DEFAULT_wxUSE_IMAGE
=no
2215 DEFAULT_wxUSE_GIF
=no
2216 DEFAULT_wxUSE_PCX
=no
2217 DEFAULT_wxUSE_PNM
=no
2218 DEFAULT_wxUSE_IFF
=no
2219 DEFAULT_wxUSE_XPM
=no
2220 DEFAULT_wxUSE_ICO_CUR
=no
2221 DEFAULT_wxUSE_ACCESSIBILITY
=no
2223 DEFAULT_wxUSE_MONOLITHIC
=no
2224 DEFAULT_wxUSE_PLUGINS
=no
2225 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2227 DEFAULT_wxUSE_UNIVERSAL
=no
2228 DEFAULT_wxUSE_STL
=no
2230 DEFAULT_wxUSE_NANOX
=no
2232 DEFAULT_wxUSE_THREADS
=yes
2234 DEFAULT_wxUSE_SHARED
=yes
2235 DEFAULT_wxUSE_OPTIMISE
=yes
2236 DEFAULT_wxUSE_PROFILE
=no
2237 DEFAULT_wxUSE_NO_DEPS
=no
2238 DEFAULT_wxUSE_NO_RTTI
=no
2239 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
2240 DEFAULT_wxUSE_RPATH
=yes
2241 DEFAULT_wxUSE_PERMISSIVE
=no
2242 DEFAULT_wxUSE_DEBUG_FLAG
=no
2243 DEFAULT_wxUSE_DEBUG_INFO
=no
2244 DEFAULT_wxUSE_DEBUG_GDB
=no
2245 DEFAULT_wxUSE_MEM_TRACING
=no
2246 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
2247 DEFAULT_wxUSE_DMALLOC
=no
2248 DEFAULT_wxUSE_APPLE_IEEE
=yes
2250 DEFAULT_wxUSE_EXCEPTIONS
=yes
2251 DEFAULT_wxUSE_LOG
=yes
2252 DEFAULT_wxUSE_LOGWINDOW
=yes
2253 DEFAULT_wxUSE_LOGGUI
=yes
2254 DEFAULT_wxUSE_LOGDIALOG
=yes
2256 DEFAULT_wxUSE_GUI
=yes
2258 DEFAULT_wxUSE_REGEX
=yes
2259 DEFAULT_wxUSE_XML
=yes
2260 DEFAULT_wxUSE_EXPAT
=yes
2261 DEFAULT_wxUSE_ZLIB
=yes
2262 DEFAULT_wxUSE_LIBPNG
=yes
2263 DEFAULT_wxUSE_LIBJPEG
=yes
2264 DEFAULT_wxUSE_LIBTIFF
=yes
2265 DEFAULT_wxUSE_LIBXPM
=yes
2266 DEFAULT_wxUSE_LIBMSPACK
=yes
2267 DEFAULT_wxUSE_LIBSDL
=no
2268 DEFAULT_wxUSE_LIBGNOMEPRINT
=no
2269 DEFAULT_wxUSE_ODBC
=no
2270 DEFAULT_wxUSE_OPENGL
=no
2272 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
2273 DEFAULT_wxUSE_STACKWALKER
=yes
2274 DEFAULT_wxUSE_DEBUGREPORT
=yes
2275 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
2276 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2277 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2278 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
2279 DEFAULT_wxUSE_DATETIME
=yes
2280 DEFAULT_wxUSE_TIMER
=yes
2281 DEFAULT_wxUSE_STOPWATCH
=yes
2282 DEFAULT_wxUSE_FILE
=yes
2283 DEFAULT_wxUSE_FFILE
=yes
2284 DEFAULT_wxUSE_STDPATHS
=yes
2285 DEFAULT_wxUSE_TEXTBUFFER
=yes
2286 DEFAULT_wxUSE_TEXTFILE
=yes
2287 DEFAULT_wxUSE_SOUND
=yes
2288 DEFAULT_wxUSE_MEDIACTRL
=no
2289 DEFAULT_wxUSE_INTL
=yes
2290 DEFAULT_wxUSE_CONFIG
=yes
2291 DEFAULT_wxUSE_FONTMAP
=yes
2292 DEFAULT_wxUSE_STREAMS
=yes
2293 DEFAULT_wxUSE_SOCKETS
=yes
2294 DEFAULT_wxUSE_OLE
=yes
2295 DEFAULT_wxUSE_DATAOBJ
=yes
2296 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
2297 DEFAULT_wxUSE_JOYSTICK
=yes
2298 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
2299 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
2300 DEFAULT_wxUSE_LONGLONG
=yes
2301 DEFAULT_wxUSE_GEOMETRY
=yes
2303 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
2304 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
2305 DEFAULT_wxUSE_POSTSCRIPT
=yes
2307 DEFAULT_wxUSE_CLIPBOARD
=yes
2308 DEFAULT_wxUSE_TOOLTIPS
=yes
2309 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
2310 DEFAULT_wxUSE_DRAGIMAGE
=yes
2311 DEFAULT_wxUSE_SPLINES
=yes
2312 DEFAULT_wxUSE_MOUSEWHEEL
=yes
2314 DEFAULT_wxUSE_MDI
=yes
2315 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
2316 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
2317 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
2319 DEFAULT_wxUSE_RESOURCES
=no
2320 DEFAULT_wxUSE_CONSTRAINTS
=yes
2321 DEFAULT_wxUSE_IPC
=yes
2322 DEFAULT_wxUSE_HELP
=yes
2323 DEFAULT_wxUSE_MS_HTML_HELP
=yes
2324 DEFAULT_wxUSE_WXHTML_HELP
=yes
2325 DEFAULT_wxUSE_TREELAYOUT
=yes
2326 DEFAULT_wxUSE_METAFILE
=yes
2327 DEFAULT_wxUSE_MIMETYPE
=yes
2328 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
2329 DEFAULT_wxUSE_PROTOCOL
=yes
2330 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
2331 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
2332 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
2333 DEFAULT_wxUSE_URL
=yes
2335 DEFAULT_wxUSE_COMMONDLGS
=yes
2336 DEFAULT_wxUSE_CHOICEDLG
=yes
2337 DEFAULT_wxUSE_COLOURDLG
=yes
2338 DEFAULT_wxUSE_DIRDLG
=yes
2339 DEFAULT_wxUSE_FILEDLG
=yes
2340 DEFAULT_wxUSE_FINDREPLDLG
=yes
2341 DEFAULT_wxUSE_FONTDLG
=yes
2342 DEFAULT_wxUSE_MSGDLG
=yes
2343 DEFAULT_wxUSE_NUMBERDLG
=yes
2344 DEFAULT_wxUSE_TEXTDLG
=yes
2345 DEFAULT_wxUSE_SPLASH
=yes
2346 DEFAULT_wxUSE_STARTUP_TIPS
=yes
2347 DEFAULT_wxUSE_PROGRESSDLG
=yes
2348 DEFAULT_wxUSE_WIZARDDLG
=yes
2350 DEFAULT_wxUSE_MENUS
=yes
2351 DEFAULT_wxUSE_MINIFRAME
=yes
2352 DEFAULT_wxUSE_HTML
=yes
2353 DEFAULT_wxUSE_XRC
=yes
2354 DEFAULT_wxUSE_WEBKIT
=yes
2355 DEFAULT_wxUSE_FILESYSTEM
=yes
2356 DEFAULT_wxUSE_FS_INET
=yes
2357 DEFAULT_wxUSE_FS_ZIP
=yes
2358 DEFAULT_wxUSE_BUSYINFO
=yes
2359 DEFAULT_wxUSE_ARCHIVE_STREAMS
=yes
2360 DEFAULT_wxUSE_ZIPSTREAM
=yes
2361 DEFAULT_wxUSE_VALIDATORS
=yes
2363 DEFAULT_wxUSE_ACCEL
=yes
2364 DEFAULT_wxUSE_BUTTON
=yes
2365 DEFAULT_wxUSE_BMPBUTTON
=yes
2366 DEFAULT_wxUSE_CALCTRL
=yes
2367 DEFAULT_wxUSE_CARET
=yes
2368 DEFAULT_wxUSE_CHECKBOX
=yes
2369 DEFAULT_wxUSE_CHECKLST
=yes
2370 DEFAULT_wxUSE_CHOICE
=yes
2371 DEFAULT_wxUSE_CHOICEBOOK
=yes
2372 DEFAULT_wxUSE_COMBOBOX
=yes
2373 DEFAULT_wxUSE_DATEPICKCTRL
=yes
2374 DEFAULT_wxUSE_DISPLAY
=yes
2375 DEFAULT_wxUSE_GAUGE
=yes
2376 DEFAULT_wxUSE_GRID
=yes
2377 DEFAULT_wxUSE_IMAGLIST
=yes
2378 DEFAULT_wxUSE_LISTBOOK
=yes
2379 DEFAULT_wxUSE_LISTBOX
=yes
2380 DEFAULT_wxUSE_LISTCTRL
=yes
2381 DEFAULT_wxUSE_NOTEBOOK
=yes
2382 DEFAULT_wxUSE_RADIOBOX
=yes
2383 DEFAULT_wxUSE_RADIOBTN
=yes
2384 DEFAULT_wxUSE_SASH
=yes
2385 DEFAULT_wxUSE_SCROLLBAR
=yes
2386 DEFAULT_wxUSE_SLIDER
=yes
2387 DEFAULT_wxUSE_SPINBTN
=yes
2388 DEFAULT_wxUSE_SPINCTRL
=yes
2389 DEFAULT_wxUSE_SPLITTER
=yes
2390 DEFAULT_wxUSE_STATBMP
=yes
2391 DEFAULT_wxUSE_STATBOX
=yes
2392 DEFAULT_wxUSE_STATLINE
=yes
2393 DEFAULT_wxUSE_STATTEXT
=yes
2394 DEFAULT_wxUSE_STATUSBAR
=yes
2395 DEFAULT_wxUSE_TABDIALOG
=no
2396 DEFAULT_wxUSE_TEXTCTRL
=yes
2397 DEFAULT_wxUSE_TOGGLEBTN
=yes
2398 DEFAULT_wxUSE_TOOLBAR
=yes
2399 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
2400 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
2401 DEFAULT_wxUSE_TREECTRL
=yes
2402 DEFAULT_wxUSE_POPUPWIN
=yes
2403 DEFAULT_wxUSE_TIPWINDOW
=yes
2405 DEFAULT_wxUSE_UNICODE
=no
2406 DEFAULT_wxUSE_UNICODE_MSLU
=yes
2407 DEFAULT_wxUSE_WCSRTOMBS
=no
2409 DEFAULT_wxUSE_PALETTE
=yes
2410 DEFAULT_wxUSE_IMAGE
=yes
2411 DEFAULT_wxUSE_GIF
=yes
2412 DEFAULT_wxUSE_PCX
=yes
2413 DEFAULT_wxUSE_IFF
=no
2414 DEFAULT_wxUSE_PNM
=yes
2415 DEFAULT_wxUSE_XPM
=yes
2416 DEFAULT_wxUSE_ICO_CUR
=yes
2417 DEFAULT_wxUSE_ACCESSIBILITY
=no
2419 DEFAULT_wxUSE_MONOLITHIC
=no
2420 DEFAULT_wxUSE_PLUGINS
=no
2421 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2423 DEFAULT_wxUSE_GTK2
=yes
2429 for toolkit
in `echo $ALL_TOOLKITS`; do
2430 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2431 if test "x$LINE" != "x" ; then
2432 has_toolkit_in_cache
=1
2433 eval "DEFAULT_$LINE"
2434 eval "CACHE_$toolkit=1"
2436 LINE
=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2437 if test "x$LINE" != "x" ; then
2438 eval "DEFAULT_$LINE"
2446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2447 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2449 # Check whether --enable-gui or --disable-gui was given.
2450 if test "${enable_gui+set}" = set; then
2451 enableval
="$enable_gui"
2453 if test "$enableval" = yes; then
2454 ac_cv_use_gui
='wxUSE_GUI=yes'
2456 ac_cv_use_gui
='wxUSE_GUI=no'
2461 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2462 if test "x$LINE" != x
; then
2463 eval "DEFAULT_$LINE"
2468 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2472 eval "$ac_cv_use_gui"
2473 if test "$no_cache" != 1; then
2474 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2477 if test "$wxUSE_GUI" = yes; then
2478 echo "$as_me:$LINENO: result: yes" >&5
2479 echo "${ECHO_T}yes" >&6
2481 echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2488 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2490 # Check whether --enable-monolithic or --disable-monolithic was given.
2491 if test "${enable_monolithic+set}" = set; then
2492 enableval
="$enable_monolithic"
2494 if test "$enableval" = yes; then
2495 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=yes'
2497 ac_cv_use_monolithic
='wxUSE_MONOLITHIC=no'
2502 LINE
=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x
; then
2504 eval "DEFAULT_$LINE"
2509 ac_cv_use_monolithic
='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2513 eval "$ac_cv_use_monolithic"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2518 if test "$wxUSE_MONOLITHIC" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2522 echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6
2528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2529 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2531 # Check whether --enable-plugins or --disable-plugins was given.
2532 if test "${enable_plugins+set}" = set; then
2533 enableval
="$enable_plugins"
2535 if test "$enableval" = yes; then
2536 ac_cv_use_plugins
='wxUSE_PLUGINS=yes'
2538 ac_cv_use_plugins
='wxUSE_PLUGINS=no'
2543 LINE
=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x
; then
2545 eval "DEFAULT_$LINE"
2550 ac_cv_use_plugins
='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2554 eval "$ac_cv_use_plugins"
2555 if test "$no_cache" != 1; then
2556 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2559 if test "$wxUSE_PLUGINS" = yes; then
2560 echo "$as_me:$LINENO: result: yes" >&5
2561 echo "${ECHO_T}yes" >&6
2563 echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6
2568 if test "$wxUSE_GUI" = "yes"; then
2572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2573 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2575 # Check whether --enable-universal or --disable-universal was given.
2576 if test "${enable_universal+set}" = set; then
2577 enableval
="$enable_universal"
2579 if test "$enableval" = yes; then
2580 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
2582 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
2587 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2588 if test "x$LINE" != x
; then
2589 eval "DEFAULT_$LINE"
2594 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2598 eval "$ac_cv_use_universal"
2599 if test "$no_cache" != 1; then
2600 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2603 if test "$wxUSE_UNIVERSAL" = yes; then
2604 echo "$as_me:$LINENO: result: yes" >&5
2605 echo "${ECHO_T}yes" >&6
2607 echo "$as_me:$LINENO: result: no" >&5
2608 echo "${ECHO_T}no" >&6
2612 # Check whether --with-gtk or --without-gtk was given.
2613 if test "${with_gtk+set}" = set; then
2615 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
2618 # Check whether --with-motif or --without-motif was given.
2619 if test "${with_motif+set}" = set; then
2620 withval
="$with_motif"
2621 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
2624 # Check whether --with-mac or --without-mac was given.
2625 if test "${with_mac+set}" = set; then
2627 wxUSE_MAC
="$withval" CACHE_MAC
=1 TOOLKIT_GIVEN
=1
2630 # Check whether --with-cocoa or --without-cocoa was given.
2631 if test "${with_cocoa+set}" = set; then
2632 withval
="$with_cocoa"
2633 wxUSE_COCOA
="$withval" CACHE_COCOA
=1 TOOLKIT_GIVEN
=1
2636 # Check whether --with-wine or --without-wine was given.
2637 if test "${with_wine+set}" = set; then
2638 withval
="$with_wine"
2639 wxUSE_WINE
="$withval" CACHE_WINE
=1
2642 # Check whether --with-msw or --without-msw was given.
2643 if test "${with_msw+set}" = set; then
2645 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
2648 # Check whether --with-pm or --without-pm was given.
2649 if test "${with_pm+set}" = set; then
2651 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
2654 # Check whether --with-mgl or --without-mgl was given.
2655 if test "${with_mgl+set}" = set; then
2657 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
2660 # Check whether --with-microwin or --without-microwin was given.
2661 if test "${with_microwin+set}" = set; then
2662 withval
="$with_microwin"
2663 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
2666 # Check whether --with-x11 or --without-x11 was given.
2667 if test "${with_x11+set}" = set; then
2669 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
2673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2674 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2676 # Check whether --enable-nanox or --disable-nanox was given.
2677 if test "${enable_nanox+set}" = set; then
2678 enableval
="$enable_nanox"
2680 if test "$enableval" = yes; then
2681 ac_cv_use_nanox
='wxUSE_NANOX=yes'
2683 ac_cv_use_nanox
='wxUSE_NANOX=no'
2688 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2689 if test "x$LINE" != x
; then
2690 eval "DEFAULT_$LINE"
2695 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2699 eval "$ac_cv_use_nanox"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2704 if test "$wxUSE_NANOX" = yes; then
2705 echo "$as_me:$LINENO: result: yes" >&5
2706 echo "${ECHO_T}yes" >&6
2708 echo "$as_me:$LINENO: result: no" >&5
2709 echo "${ECHO_T}no" >&6
2713 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2714 if test "${enable_gtk2+set}" = set; then
2715 enableval
="$enable_gtk2"
2716 wxUSE_GTK2
="$enableval"
2720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2721 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2723 # Check whether --enable-gpe or --disable-gpe was given.
2724 if test "${enable_gpe+set}" = set; then
2725 enableval
="$enable_gpe"
2727 if test "$enableval" = yes; then
2728 ac_cv_use_gpe
='wxUSE_GPE=yes'
2730 ac_cv_use_gpe
='wxUSE_GPE=no'
2735 LINE
=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x
; then
2737 eval "DEFAULT_$LINE"
2742 ac_cv_use_gpe
='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2746 eval "$ac_cv_use_gpe"
2747 if test "$no_cache" != 1; then
2748 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2751 if test "$wxUSE_GPE" = yes; then
2752 echo "$as_me:$LINENO: result: yes" >&5
2753 echo "${ECHO_T}yes" >&6
2755 echo "$as_me:$LINENO: result: no" >&5
2756 echo "${ECHO_T}no" >&6
2761 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2762 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2765 # Check whether --with-libpng or --without-libpng was given.
2766 if test "${with_libpng+set}" = set; then
2767 withval
="$with_libpng"
2769 if test "$withval" = yes; then
2770 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2771 elif test "$withval" = no
; then
2772 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2773 elif test "$withval" = sys
; then
2774 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2775 elif test "$withval" = builtin; then
2776 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2779 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2780 { (exit 1); exit 1; }; }
2785 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2796 eval "$ac_cv_use_libpng"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2801 if test "$wxUSE_LIBPNG" = yes; then
2802 echo "$as_me:$LINENO: result: yes" >&5
2803 echo "${ECHO_T}yes" >&6
2804 elif test "$wxUSE_LIBPNG" = no
; then
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2807 elif test "$wxUSE_LIBPNG" = sys
; then
2808 echo "$as_me:$LINENO: result: system version" >&5
2809 echo "${ECHO_T}system version" >&6
2810 elif test "$wxUSE_LIBPNG" = builtin; then
2811 echo "$as_me:$LINENO: result: builtin version" >&5
2812 echo "${ECHO_T}builtin version" >&6
2814 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2815 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2816 { (exit 1); exit 1; }; }
2820 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2821 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2824 # Check whether --with-libjpeg or --without-libjpeg was given.
2825 if test "${with_libjpeg+set}" = set; then
2826 withval
="$with_libjpeg"
2828 if test "$withval" = yes; then
2829 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2830 elif test "$withval" = no
; then
2831 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2832 elif test "$withval" = sys
; then
2833 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2834 elif test "$withval" = builtin; then
2835 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2838 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2839 { (exit 1); exit 1; }; }
2844 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x
; then
2846 eval "DEFAULT_$LINE"
2851 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2855 eval "$ac_cv_use_libjpeg"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2860 if test "$wxUSE_LIBJPEG" = yes; then
2861 echo "$as_me:$LINENO: result: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2863 elif test "$wxUSE_LIBJPEG" = no
; then
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2866 elif test "$wxUSE_LIBJPEG" = sys
; then
2867 echo "$as_me:$LINENO: result: system version" >&5
2868 echo "${ECHO_T}system version" >&6
2869 elif test "$wxUSE_LIBJPEG" = builtin; then
2870 echo "$as_me:$LINENO: result: builtin version" >&5
2871 echo "${ECHO_T}builtin version" >&6
2873 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2874 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2875 { (exit 1); exit 1; }; }
2879 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2880 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2883 # Check whether --with-libtiff or --without-libtiff was given.
2884 if test "${with_libtiff+set}" = set; then
2885 withval
="$with_libtiff"
2887 if test "$withval" = yes; then
2888 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2889 elif test "$withval" = no
; then
2890 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2891 elif test "$withval" = sys
; then
2892 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2893 elif test "$withval" = builtin; then
2894 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2896 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2897 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2898 { (exit 1); exit 1; }; }
2903 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x
; then
2905 eval "DEFAULT_$LINE"
2910 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2914 eval "$ac_cv_use_libtiff"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2919 if test "$wxUSE_LIBTIFF" = yes; then
2920 echo "$as_me:$LINENO: result: yes" >&5
2921 echo "${ECHO_T}yes" >&6
2922 elif test "$wxUSE_LIBTIFF" = no
; then
2923 echo "$as_me:$LINENO: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2925 elif test "$wxUSE_LIBTIFF" = sys
; then
2926 echo "$as_me:$LINENO: result: system version" >&5
2927 echo "${ECHO_T}system version" >&6
2928 elif test "$wxUSE_LIBTIFF" = builtin; then
2929 echo "$as_me:$LINENO: result: builtin version" >&5
2930 echo "${ECHO_T}builtin version" >&6
2932 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2933 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2934 { (exit 1); exit 1; }; }
2938 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2939 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2942 # Check whether --with-libxpm or --without-libxpm was given.
2943 if test "${with_libxpm+set}" = set; then
2944 withval
="$with_libxpm"
2946 if test "$withval" = yes; then
2947 ac_cv_use_libxpm
='wxUSE_LIBXPM=yes'
2948 elif test "$withval" = no
; then
2949 ac_cv_use_libxpm
='wxUSE_LIBXPM=no'
2950 elif test "$withval" = sys
; then
2951 ac_cv_use_libxpm
='wxUSE_LIBXPM=sys'
2952 elif test "$withval" = builtin; then
2953 ac_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
2955 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2956 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2957 { (exit 1); exit 1; }; }
2962 LINE
=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x
; then
2964 eval "DEFAULT_$LINE"
2969 ac_cv_use_libxpm
='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2973 eval "$ac_cv_use_libxpm"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2978 if test "$wxUSE_LIBXPM" = yes; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2981 elif test "$wxUSE_LIBXPM" = no
; then
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2984 elif test "$wxUSE_LIBXPM" = sys
; then
2985 echo "$as_me:$LINENO: result: system version" >&5
2986 echo "${ECHO_T}system version" >&6
2987 elif test "$wxUSE_LIBXPM" = builtin; then
2988 echo "$as_me:$LINENO: result: builtin version" >&5
2989 echo "${ECHO_T}builtin version" >&6
2991 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2992 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2993 { (exit 1); exit 1; }; }
2997 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2998 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3001 # Check whether --with-libmspack or --without-libmspack was given.
3002 if test "${with_libmspack+set}" = set; then
3003 withval
="$with_libmspack"
3005 if test "$withval" = yes; then
3006 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=yes'
3008 ac_cv_use_libmspack
='wxUSE_LIBMSPACK=no'
3013 LINE
=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x
; then
3015 eval "DEFAULT_$LINE"
3020 ac_cv_use_libmspack
='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3024 eval "$ac_cv_use_libmspack"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3029 if test "$wxUSE_LIBMSPACK" = yes; then
3030 echo "$as_me:$LINENO: result: yes" >&5
3031 echo "${ECHO_T}yes" >&6
3033 echo "$as_me:$LINENO: result: no" >&5
3034 echo "${ECHO_T}no" >&6
3038 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3039 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3042 # Check whether --with-sdl or --without-sdl was given.
3043 if test "${with_sdl+set}" = set; then
3046 if test "$withval" = yes; then
3047 ac_cv_use_sdl
='wxUSE_LIBSDL=yes'
3049 ac_cv_use_sdl
='wxUSE_LIBSDL=no'
3054 LINE
=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3055 if test "x$LINE" != x
; then
3056 eval "DEFAULT_$LINE"
3061 ac_cv_use_sdl
='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3065 eval "$ac_cv_use_sdl"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3070 if test "$wxUSE_LIBSDL" = yes; then
3071 echo "$as_me:$LINENO: result: yes" >&5
3072 echo "${ECHO_T}yes" >&6
3074 echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3079 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3080 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3083 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3084 if test "${with_gnomeprint+set}" = set; then
3085 withval
="$with_gnomeprint"
3087 if test "$withval" = yes; then
3088 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
3090 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
3095 LINE
=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3106 eval "$ac_cv_use_gnomeprint"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3120 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3121 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3124 # Check whether --with-opengl or --without-opengl was given.
3125 if test "${with_opengl+set}" = set; then
3126 withval
="$with_opengl"
3128 if test "$withval" = yes; then
3129 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
3131 ac_cv_use_opengl
='wxUSE_OPENGL=no'
3136 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x
; then
3138 eval "DEFAULT_$LINE"
3143 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3147 eval "$ac_cv_use_opengl"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3152 if test "$wxUSE_OPENGL" = yes; then
3153 echo "$as_me:$LINENO: result: yes" >&5
3154 echo "${ECHO_T}yes" >&6
3156 echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6
3164 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3165 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3168 # Check whether --with-dmalloc or --without-dmalloc was given.
3169 if test "${with_dmalloc+set}" = set; then
3170 withval
="$with_dmalloc"
3172 if test "$withval" = yes; then
3173 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
3175 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
3180 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x
; then
3182 eval "DEFAULT_$LINE"
3187 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3191 eval "$ac_cv_use_dmalloc"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_DMALLOC" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3205 echo "$as_me:$LINENO: checking for --with-regex" >&5
3206 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3209 # Check whether --with-regex or --without-regex was given.
3210 if test "${with_regex+set}" = set; then
3211 withval
="$with_regex"
3213 if test "$withval" = yes; then
3214 ac_cv_use_regex
='wxUSE_REGEX=yes'
3215 elif test "$withval" = no
; then
3216 ac_cv_use_regex
='wxUSE_REGEX=no'
3217 elif test "$withval" = sys
; then
3218 ac_cv_use_regex
='wxUSE_REGEX=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_regex
='wxUSE_REGEX=builtin'
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3223 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3229 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x
; then
3231 eval "DEFAULT_$LINE"
3236 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3240 eval "$ac_cv_use_regex"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3245 if test "$wxUSE_REGEX" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_REGEX" = no
; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_REGEX" = sys
; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253 echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_REGEX" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256 echo "${ECHO_T}builtin version" >&6
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3259 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3264 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3265 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3268 # Check whether --with-zlib or --without-zlib was given.
3269 if test "${with_zlib+set}" = set; then
3270 withval
="$with_zlib"
3272 if test "$withval" = yes; then
3273 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
3274 elif test "$withval" = no
; then
3275 ac_cv_use_zlib
='wxUSE_ZLIB=no'
3276 elif test "$withval" = sys
; then
3277 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3282 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3288 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x
; then
3290 eval "DEFAULT_$LINE"
3295 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3299 eval "$ac_cv_use_zlib"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_ZLIB" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ZLIB" = no
; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ZLIB" = sys
; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312 echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ZLIB" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315 echo "${ECHO_T}builtin version" >&6
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3318 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3323 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3324 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3327 # Check whether --with-odbc or --without-odbc was given.
3328 if test "${with_odbc+set}" = set; then
3329 withval
="$with_odbc"
3331 if test "$withval" = yes; then
3332 ac_cv_use_odbc
='wxUSE_ODBC=yes'
3333 elif test "$withval" = no
; then
3334 ac_cv_use_odbc
='wxUSE_ODBC=no'
3335 elif test "$withval" = sys
; then
3336 ac_cv_use_odbc
='wxUSE_ODBC=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3341 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3347 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x
; then
3349 eval "DEFAULT_$LINE"
3354 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3358 eval "$ac_cv_use_odbc"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3363 if test "$wxUSE_ODBC" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_ODBC" = no
; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_ODBC" = sys
; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371 echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_ODBC" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374 echo "${ECHO_T}builtin version" >&6
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3377 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3382 echo "$as_me:$LINENO: checking for --with-expat" >&5
3383 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3386 # Check whether --with-expat or --without-expat was given.
3387 if test "${with_expat+set}" = set; then
3388 withval
="$with_expat"
3390 if test "$withval" = yes; then
3391 ac_cv_use_expat
='wxUSE_EXPAT=yes'
3392 elif test "$withval" = no
; then
3393 ac_cv_use_expat
='wxUSE_EXPAT=no'
3394 elif test "$withval" = sys
; then
3395 ac_cv_use_expat
='wxUSE_EXPAT=sys'
3396 elif test "$withval" = builtin; then
3397 ac_cv_use_expat
='wxUSE_EXPAT=builtin'
3399 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3400 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3401 { (exit 1); exit 1; }; }
3406 LINE
=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x
; then
3408 eval "DEFAULT_$LINE"
3413 ac_cv_use_expat
='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3417 eval "$ac_cv_use_expat"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_EXPAT" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3425 elif test "$wxUSE_EXPAT" = no
; then
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 elif test "$wxUSE_EXPAT" = sys
; then
3429 echo "$as_me:$LINENO: result: system version" >&5
3430 echo "${ECHO_T}system version" >&6
3431 elif test "$wxUSE_EXPAT" = builtin; then
3432 echo "$as_me:$LINENO: result: builtin version" >&5
3433 echo "${ECHO_T}builtin version" >&6
3435 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3436 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3437 { (exit 1); exit 1; }; }
3444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3445 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3447 # Check whether --enable-shared or --disable-shared was given.
3448 if test "${enable_shared+set}" = set; then
3449 enableval
="$enable_shared"
3451 if test "$enableval" = yes; then
3452 ac_cv_use_shared
='wxUSE_SHARED=yes'
3454 ac_cv_use_shared
='wxUSE_SHARED=no'
3459 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x
; then
3461 eval "DEFAULT_$LINE"
3466 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3470 eval "$ac_cv_use_shared"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3475 if test "$wxUSE_SHARED" = yes; then
3476 echo "$as_me:$LINENO: result: yes" >&5
3477 echo "${ECHO_T}yes" >&6
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3486 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3488 # Check whether --enable-optimise or --disable-optimise was given.
3489 if test "${enable_optimise+set}" = set; then
3490 enableval
="$enable_optimise"
3492 if test "$enableval" = yes; then
3493 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
3495 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
3500 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3501 if test "x$LINE" != x
; then
3502 eval "DEFAULT_$LINE"
3507 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3511 eval "$ac_cv_use_optimise"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3516 if test "$wxUSE_OPTIMISE" = yes; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518 echo "${ECHO_T}yes" >&6
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3529 # Check whether --enable-debug or --disable-debug was given.
3530 if test "${enable_debug+set}" = set; then
3531 enableval
="$enable_debug"
3533 if test "$enableval" = yes; then
3534 ac_cv_use_debug
='wxUSE_DEBUG=yes'
3536 ac_cv_use_debug
='wxUSE_DEBUG=no'
3541 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x
; then
3543 eval "DEFAULT_$LINE"
3548 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3552 eval "$ac_cv_use_debug"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3557 if test "$wxUSE_DEBUG" = yes; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3568 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3570 # Check whether --enable-stl or --disable-stl was given.
3571 if test "${enable_stl+set}" = set; then
3572 enableval
="$enable_stl"
3574 if test "$enableval" = yes; then
3575 ac_cv_use_stl
='wxUSE_STL=yes'
3577 ac_cv_use_stl
='wxUSE_STL=no'
3582 LINE
=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x
; then
3584 eval "DEFAULT_$LINE"
3589 ac_cv_use_stl
='wxUSE_STL='$DEFAULT_wxUSE_STL
3593 eval "$ac_cv_use_stl"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3598 if test "$wxUSE_STL" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3606 if test "$USE_OS2" = "1"; then
3607 DEFAULT_wxUSE_OMF
=no
3610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3611 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3613 # Check whether --enable-omf or --disable-omf was given.
3614 if test "${enable_omf+set}" = set; then
3615 enableval
="$enable_omf"
3617 if test "$enableval" = yes; then
3618 ac_cv_use_omf
='wxUSE_OMF=yes'
3620 ac_cv_use_omf
='wxUSE_OMF=no'
3625 LINE
=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3626 if test "x$LINE" != x
; then
3627 eval "DEFAULT_$LINE"
3632 ac_cv_use_omf
='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3636 eval "$ac_cv_use_omf"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3641 if test "$wxUSE_OMF" = yes; then
3642 echo "$as_me:$LINENO: result: yes" >&5
3643 echo "${ECHO_T}yes" >&6
3645 echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6
3651 if test "$wxUSE_DEBUG" = "yes"; then
3652 DEFAULT_wxUSE_DEBUG_FLAG
=yes
3653 DEFAULT_wxUSE_DEBUG_INFO
=yes
3655 elif test "$wxUSE_DEBUG" = "no"; then
3656 DEFAULT_wxUSE_DEBUG_FLAG
=no
3657 DEFAULT_wxUSE_DEBUG_INFO
=no
3663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3664 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3666 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3667 if test "${enable_debug_flag+set}" = set; then
3668 enableval
="$enable_debug_flag"
3670 if test "$enableval" = yes; then
3671 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
3673 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
3678 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x
; then
3680 eval "DEFAULT_$LINE"
3685 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3689 eval "$ac_cv_use_debug_flag"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3694 if test "$wxUSE_DEBUG_FLAG" = yes; then
3695 echo "$as_me:$LINENO: result: yes" >&5
3696 echo "${ECHO_T}yes" >&6
3698 echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6
3704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3705 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3707 # Check whether --enable-debug_info or --disable-debug_info was given.
3708 if test "${enable_debug_info+set}" = set; then
3709 enableval
="$enable_debug_info"
3711 if test "$enableval" = yes; then
3712 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
3714 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
3719 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x
; then
3721 eval "DEFAULT_$LINE"
3726 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3730 eval "$ac_cv_use_debug_info"
3731 if test "$no_cache" != 1; then
3732 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3735 if test "$wxUSE_DEBUG_INFO" = yes; then
3736 echo "$as_me:$LINENO: result: yes" >&5
3737 echo "${ECHO_T}yes" >&6
3739 echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6
3745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3746 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3748 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3749 if test "${enable_debug_gdb+set}" = set; then
3750 enableval
="$enable_debug_gdb"
3752 if test "$enableval" = yes; then
3753 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
3755 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
3760 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3761 if test "x$LINE" != x
; then
3762 eval "DEFAULT_$LINE"
3767 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3771 eval "$ac_cv_use_debug_gdb"
3772 if test "$no_cache" != 1; then
3773 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3776 if test "$wxUSE_DEBUG_GDB" = yes; then
3777 echo "$as_me:$LINENO: result: yes" >&5
3778 echo "${ECHO_T}yes" >&6
3780 echo "$as_me:$LINENO: result: no" >&5
3781 echo "${ECHO_T}no" >&6
3786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3787 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3789 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3790 if test "${enable_debug_cntxt+set}" = set; then
3791 enableval
="$enable_debug_cntxt"
3793 if test "$enableval" = yes; then
3794 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
3796 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
3801 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x
; then
3803 eval "DEFAULT_$LINE"
3808 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3812 eval "$ac_cv_use_debug_cntxt"
3813 if test "$no_cache" != 1; then
3814 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3817 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3818 echo "$as_me:$LINENO: result: yes" >&5
3819 echo "${ECHO_T}yes" >&6
3821 echo "$as_me:$LINENO: result: no" >&5
3822 echo "${ECHO_T}no" >&6
3827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3828 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3830 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3831 if test "${enable_mem_tracing+set}" = set; then
3832 enableval
="$enable_mem_tracing"
3834 if test "$enableval" = yes; then
3835 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
3837 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
3842 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x
; then
3844 eval "DEFAULT_$LINE"
3849 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3853 eval "$ac_cv_use_mem_tracing"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_MEM_TRACING" = yes; then
3859 echo "$as_me:$LINENO: result: yes" >&5
3860 echo "${ECHO_T}yes" >&6
3862 echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6
3868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3869 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3871 # Check whether --enable-profile or --disable-profile was given.
3872 if test "${enable_profile+set}" = set; then
3873 enableval
="$enable_profile"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_profile
='wxUSE_PROFILE=yes'
3878 ac_cv_use_profile
='wxUSE_PROFILE=no'
3883 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x
; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3894 eval "$ac_cv_use_profile"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3899 if test "$wxUSE_PROFILE" = yes; then
3900 echo "$as_me:$LINENO: result: yes" >&5
3901 echo "${ECHO_T}yes" >&6
3903 echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6
3909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3910 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3912 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3913 if test "${enable_no_rtti+set}" = set; then
3914 enableval
="$enable_no_rtti"
3916 if test "$enableval" = yes; then
3917 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
3919 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
3924 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x
; then
3926 eval "DEFAULT_$LINE"
3931 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3935 eval "$ac_cv_use_no_rtti"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_NO_RTTI" = yes; then
3941 echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6
3944 echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6
3950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3951 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3953 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3954 if test "${enable_no_exceptions+set}" = set; then
3955 enableval
="$enable_no_exceptions"
3957 if test "$enableval" = yes; then
3958 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
3960 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
3965 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3966 if test "x$LINE" != x
; then
3967 eval "DEFAULT_$LINE"
3972 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3976 eval "$ac_cv_use_no_exceptions"
3977 if test "$no_cache" != 1; then
3978 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3981 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3982 echo "$as_me:$LINENO: result: yes" >&5
3983 echo "${ECHO_T}yes" >&6
3985 echo "$as_me:$LINENO: result: no" >&5
3986 echo "${ECHO_T}no" >&6
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3994 # Check whether --enable-permissive or --disable-permissive was given.
3995 if test "${enable_permissive+set}" = set; then
3996 enableval
="$enable_permissive"
3998 if test "$enableval" = yes; then
3999 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
4001 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
4006 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x
; then
4008 eval "DEFAULT_$LINE"
4013 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4017 eval "$ac_cv_use_permissive"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4022 if test "$wxUSE_PERMISSIVE" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4035 # Check whether --enable-no_deps or --disable-no_deps was given.
4036 if test "${enable_no_deps+set}" = set; then
4037 enableval
="$enable_no_deps"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
4042 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
4047 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4058 eval "$ac_cv_use_no_deps"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_NO_DEPS" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4075 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4077 # Check whether --enable-compat22 or --disable-compat22 was given.
4078 if test "${enable_compat22+set}" = set; then
4079 enableval
="$enable_compat22"
4081 if test "$enableval" = yes; then
4082 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
4084 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
4089 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x
; then
4091 eval "DEFAULT_$LINE"
4096 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4100 eval "$ac_cv_use_compat22"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4105 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4114 enablestring
=disable
4115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4116 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4118 # Check whether --enable-compat24 or --disable-compat24 was given.
4119 if test "${enable_compat24+set}" = set; then
4120 enableval
="$enable_compat24"
4122 if test "$enableval" = yes; then
4123 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
4125 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
4130 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x
; then
4132 eval "DEFAULT_$LINE"
4137 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4141 eval "$ac_cv_use_compat24"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4146 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4147 echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4158 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4160 # Check whether --enable-rpath or --disable-rpath was given.
4161 if test "${enable_rpath+set}" = set; then
4162 enableval
="$enable_rpath"
4164 if test "$enableval" = yes; then
4165 ac_cv_use_rpath
='wxUSE_RPATH=yes'
4167 ac_cv_use_rpath
='wxUSE_RPATH=no'
4172 LINE
=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x
; then
4174 eval "DEFAULT_$LINE"
4179 ac_cv_use_rpath
='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4183 eval "$ac_cv_use_rpath"
4184 if test "$no_cache" != 1; then
4185 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4188 if test "$wxUSE_RPATH" = yes; then
4189 echo "$as_me:$LINENO: result: yes" >&5
4190 echo "${ECHO_T}yes" >&6
4192 echo "$as_me:$LINENO: result: no" >&5
4193 echo "${ECHO_T}no" >&6
4201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4202 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4204 # Check whether --enable-intl or --disable-intl was given.
4205 if test "${enable_intl+set}" = set; then
4206 enableval
="$enable_intl"
4208 if test "$enableval" = yes; then
4209 ac_cv_use_intl
='wxUSE_INTL=yes'
4211 ac_cv_use_intl
='wxUSE_INTL=no'
4216 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x
; then
4218 eval "DEFAULT_$LINE"
4223 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4227 eval "$ac_cv_use_intl"
4228 if test "$no_cache" != 1; then
4229 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4232 if test "$wxUSE_INTL" = yes; then
4233 echo "$as_me:$LINENO: result: yes" >&5
4234 echo "${ECHO_T}yes" >&6
4236 echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6
4242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4243 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4245 # Check whether --enable-config or --disable-config was given.
4246 if test "${enable_config+set}" = set; then
4247 enableval
="$enable_config"
4249 if test "$enableval" = yes; then
4250 ac_cv_use_config
='wxUSE_CONFIG=yes'
4252 ac_cv_use_config
='wxUSE_CONFIG=no'
4257 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x
; then
4259 eval "DEFAULT_$LINE"
4264 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4268 eval "$ac_cv_use_config"
4269 if test "$no_cache" != 1; then
4270 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4273 if test "$wxUSE_CONFIG" = yes; then
4274 echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4285 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4287 # Check whether --enable-protocols or --disable-protocols was given.
4288 if test "${enable_protocols+set}" = set; then
4289 enableval
="$enable_protocols"
4291 if test "$enableval" = yes; then
4292 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
4294 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
4299 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x
; then
4301 eval "DEFAULT_$LINE"
4306 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4310 eval "$ac_cv_use_protocols"
4311 if test "$no_cache" != 1; then
4312 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4315 if test "$wxUSE_PROTOCOL" = yes; then
4316 echo "$as_me:$LINENO: result: yes" >&5
4317 echo "${ECHO_T}yes" >&6
4319 echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4326 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4328 # Check whether --enable-ftp or --disable-ftp was given.
4329 if test "${enable_ftp+set}" = set; then
4330 enableval
="$enable_ftp"
4332 if test "$enableval" = yes; then
4333 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
4335 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
4340 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4341 if test "x$LINE" != x
; then
4342 eval "DEFAULT_$LINE"
4347 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4351 eval "$ac_cv_use_ftp"
4352 if test "$no_cache" != 1; then
4353 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4356 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4357 echo "$as_me:$LINENO: result: yes" >&5
4358 echo "${ECHO_T}yes" >&6
4360 echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4367 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4369 # Check whether --enable-http or --disable-http was given.
4370 if test "${enable_http+set}" = set; then
4371 enableval
="$enable_http"
4373 if test "$enableval" = yes; then
4374 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
4376 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
4381 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x
; then
4383 eval "DEFAULT_$LINE"
4388 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4392 eval "$ac_cv_use_http"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4397 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4398 echo "$as_me:$LINENO: result: yes" >&5
4399 echo "${ECHO_T}yes" >&6
4401 echo "$as_me:$LINENO: result: no" >&5
4402 echo "${ECHO_T}no" >&6
4407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4408 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4410 # Check whether --enable-fileproto or --disable-fileproto was given.
4411 if test "${enable_fileproto+set}" = set; then
4412 enableval
="$enable_fileproto"
4414 if test "$enableval" = yes; then
4415 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
4417 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
4422 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x
; then
4424 eval "DEFAULT_$LINE"
4429 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4433 eval "$ac_cv_use_fileproto"
4434 if test "$no_cache" != 1; then
4435 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4438 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4439 echo "$as_me:$LINENO: result: yes" >&5
4440 echo "${ECHO_T}yes" >&6
4442 echo "$as_me:$LINENO: result: no" >&5
4443 echo "${ECHO_T}no" >&6
4448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4449 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4451 # Check whether --enable-sockets or --disable-sockets was given.
4452 if test "${enable_sockets+set}" = set; then
4453 enableval
="$enable_sockets"
4455 if test "$enableval" = yes; then
4456 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
4458 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
4463 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x
; then
4465 eval "DEFAULT_$LINE"
4470 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4474 eval "$ac_cv_use_sockets"
4475 if test "$no_cache" != 1; then
4476 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4479 if test "$wxUSE_SOCKETS" = yes; then
4480 echo "$as_me:$LINENO: result: yes" >&5
4481 echo "${ECHO_T}yes" >&6
4483 echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4492 # Check whether --enable-ole or --disable-ole was given.
4493 if test "${enable_ole+set}" = set; then
4494 enableval
="$enable_ole"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_ole
='wxUSE_OLE=yes'
4499 ac_cv_use_ole
='wxUSE_OLE=no'
4504 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4515 eval "$ac_cv_use_ole"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4520 if test "$wxUSE_OLE" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4533 # Check whether --enable-dataobj or --disable-dataobj was given.
4534 if test "${enable_dataobj+set}" = set; then
4535 enableval
="$enable_dataobj"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
4540 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
4545 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4556 eval "$ac_cv_use_dataobj"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_DATAOBJ" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4573 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4575 # Check whether --enable-ipc or --disable-ipc was given.
4576 if test "${enable_ipc+set}" = set; then
4577 enableval
="$enable_ipc"
4579 if test "$enableval" = yes; then
4580 ac_cv_use_ipc
='wxUSE_IPC=yes'
4582 ac_cv_use_ipc
='wxUSE_IPC=no'
4587 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x
; then
4589 eval "DEFAULT_$LINE"
4594 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4598 eval "$ac_cv_use_ipc"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4603 if test "$wxUSE_IPC" = yes; then
4604 echo "$as_me:$LINENO: result: yes" >&5
4605 echo "${ECHO_T}yes" >&6
4607 echo "$as_me:$LINENO: result: no" >&5
4608 echo "${ECHO_T}no" >&6
4614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4617 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4618 if test "${enable_apple_ieee+set}" = set; then
4619 enableval
="$enable_apple_ieee"
4621 if test "$enableval" = yes; then
4622 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
4624 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
4629 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x
; then
4631 eval "DEFAULT_$LINE"
4636 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4640 eval "$ac_cv_use_apple_ieee"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4645 if test "$wxUSE_APPLE_IEEE" = yes; then
4646 echo "$as_me:$LINENO: result: yes" >&5
4647 echo "${ECHO_T}yes" >&6
4649 echo "$as_me:$LINENO: result: no" >&5
4650 echo "${ECHO_T}no" >&6
4655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4658 # Check whether --enable-arcstream or --disable-arcstream was given.
4659 if test "${enable_arcstream+set}" = set; then
4660 enableval
="$enable_arcstream"
4662 if test "$enableval" = yes; then
4663 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
4665 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
4670 LINE
=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x
; then
4672 eval "DEFAULT_$LINE"
4677 ac_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4681 eval "$ac_cv_use_arcstream"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4686 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4687 echo "$as_me:$LINENO: result: yes" >&5
4688 echo "${ECHO_T}yes" >&6
4690 echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6
4696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4697 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4699 # Check whether --enable-backtrace or --disable-backtrace was given.
4700 if test "${enable_backtrace+set}" = set; then
4701 enableval
="$enable_backtrace"
4703 if test "$enableval" = yes; then
4704 ac_cv_use_backtrace
='wxUSE_STACKWALKER=yes'
4706 ac_cv_use_backtrace
='wxUSE_STACKWALKER=no'
4711 LINE
=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x
; then
4713 eval "DEFAULT_$LINE"
4718 ac_cv_use_backtrace
='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4722 eval "$ac_cv_use_backtrace"
4723 if test "$no_cache" != 1; then
4724 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4727 if test "$wxUSE_STACKWALKER" = yes; then
4728 echo "$as_me:$LINENO: result: yes" >&5
4729 echo "${ECHO_T}yes" >&6
4731 echo "$as_me:$LINENO: result: no" >&5
4732 echo "${ECHO_T}no" >&6
4737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4738 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4740 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4741 if test "${enable_catch_segvs+set}" = set; then
4742 enableval
="$enable_catch_segvs"
4744 if test "$enableval" = yes; then
4745 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4747 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4752 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4753 if test "x$LINE" != x
; then
4754 eval "DEFAULT_$LINE"
4759 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4763 eval "$ac_cv_use_catch_segvs"
4764 if test "$no_cache" != 1; then
4765 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4768 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4769 echo "$as_me:$LINENO: result: yes" >&5
4770 echo "${ECHO_T}yes" >&6
4772 echo "$as_me:$LINENO: result: no" >&5
4773 echo "${ECHO_T}no" >&6
4778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4779 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4781 # Check whether --enable-cmdline or --disable-cmdline was given.
4782 if test "${enable_cmdline+set}" = set; then
4783 enableval
="$enable_cmdline"
4785 if test "$enableval" = yes; then
4786 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
4788 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
4793 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4794 if test "x$LINE" != x
; then
4795 eval "DEFAULT_$LINE"
4800 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4804 eval "$ac_cv_use_cmdline"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4809 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4810 echo "$as_me:$LINENO: result: yes" >&5
4811 echo "${ECHO_T}yes" >&6
4813 echo "$as_me:$LINENO: result: no" >&5
4814 echo "${ECHO_T}no" >&6
4819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4822 # Check whether --enable-datetime or --disable-datetime was given.
4823 if test "${enable_datetime+set}" = set; then
4824 enableval
="$enable_datetime"
4826 if test "$enableval" = yes; then
4827 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
4829 ac_cv_use_datetime
='wxUSE_DATETIME=no'
4834 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4841 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4845 eval "$ac_cv_use_datetime"
4846 if test "$no_cache" != 1; then
4847 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4850 if test "$wxUSE_DATETIME" = yes; then
4851 echo "$as_me:$LINENO: result: yes" >&5
4852 echo "${ECHO_T}yes" >&6
4854 echo "$as_me:$LINENO: result: no" >&5
4855 echo "${ECHO_T}no" >&6
4860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4861 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4863 # Check whether --enable-debugreport or --disable-debugreport was given.
4864 if test "${enable_debugreport+set}" = set; then
4865 enableval
="$enable_debugreport"
4867 if test "$enableval" = yes; then
4868 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
4870 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
4875 LINE
=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x
; then
4877 eval "DEFAULT_$LINE"
4882 ac_cv_use_debugreport
='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
4886 eval "$ac_cv_use_debugreport"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_DEBUGREPORT" = yes; then
4892 echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6
4895 echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4904 # Check whether --enable-dialupman or --disable-dialupman was given.
4905 if test "${enable_dialupman+set}" = set; then
4906 enableval
="$enable_dialupman"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
4911 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
4916 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4927 eval "$ac_cv_use_dialupman"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4945 # Check whether --enable-dynlib or --disable-dynlib was given.
4946 if test "${enable_dynlib+set}" = set; then
4947 enableval
="$enable_dynlib"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
4952 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
4957 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4968 eval "$ac_cv_use_dynlib"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4973 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4984 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4986 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4987 if test "${enable_dynamicloader+set}" = set; then
4988 enableval
="$enable_dynamicloader"
4990 if test "$enableval" = yes; then
4991 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
4993 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
4998 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x
; then
5000 eval "DEFAULT_$LINE"
5005 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5009 eval "$ac_cv_use_dynamicloader"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5014 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5015 echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6
5018 echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6
5024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5025 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5027 # Check whether --enable-exceptions or --disable-exceptions was given.
5028 if test "${enable_exceptions+set}" = set; then
5029 enableval
="$enable_exceptions"
5031 if test "$enableval" = yes; then
5032 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
5034 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
5039 LINE
=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5040 if test "x$LINE" != x
; then
5041 eval "DEFAULT_$LINE"
5046 ac_cv_use_exceptions
='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5050 eval "$ac_cv_use_exceptions"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5055 if test "$wxUSE_EXCEPTIONS" = yes; then
5056 echo "$as_me:$LINENO: result: yes" >&5
5057 echo "${ECHO_T}yes" >&6
5059 echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6
5065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5068 # Check whether --enable-ffile or --disable-ffile was given.
5069 if test "${enable_ffile+set}" = set; then
5070 enableval
="$enable_ffile"
5072 if test "$enableval" = yes; then
5073 ac_cv_use_ffile
='wxUSE_FFILE=yes'
5075 ac_cv_use_ffile
='wxUSE_FFILE=no'
5080 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x
; then
5082 eval "DEFAULT_$LINE"
5087 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5091 eval "$ac_cv_use_ffile"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5096 if test "$wxUSE_FFILE" = yes; then
5097 echo "$as_me:$LINENO: result: yes" >&5
5098 echo "${ECHO_T}yes" >&6
5100 echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6
5106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5107 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5109 # Check whether --enable-file or --disable-file was given.
5110 if test "${enable_file+set}" = set; then
5111 enableval
="$enable_file"
5113 if test "$enableval" = yes; then
5114 ac_cv_use_file
='wxUSE_FILE=yes'
5116 ac_cv_use_file
='wxUSE_FILE=no'
5121 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x
; then
5123 eval "DEFAULT_$LINE"
5128 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5132 eval "$ac_cv_use_file"
5133 if test "$no_cache" != 1; then
5134 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5137 if test "$wxUSE_FILE" = yes; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5148 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5150 # Check whether --enable-filesystem or --disable-filesystem was given.
5151 if test "${enable_filesystem+set}" = set; then
5152 enableval
="$enable_filesystem"
5154 if test "$enableval" = yes; then
5155 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
5157 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
5162 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x
; then
5164 eval "DEFAULT_$LINE"
5169 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5173 eval "$ac_cv_use_filesystem"
5174 if test "$no_cache" != 1; then
5175 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5178 if test "$wxUSE_FILESYSTEM" = yes; then
5179 echo "$as_me:$LINENO: result: yes" >&5
5180 echo "${ECHO_T}yes" >&6
5182 echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6
5188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5189 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5191 # Check whether --enable-fontmap or --disable-fontmap was given.
5192 if test "${enable_fontmap+set}" = set; then
5193 enableval
="$enable_fontmap"
5195 if test "$enableval" = yes; then
5196 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
5198 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
5203 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x
; then
5205 eval "DEFAULT_$LINE"
5210 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5214 eval "$ac_cv_use_fontmap"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5219 if test "$wxUSE_FONTMAP" = yes; then
5220 echo "$as_me:$LINENO: result: yes" >&5
5221 echo "${ECHO_T}yes" >&6
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5230 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5232 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5233 if test "${enable_fs_inet+set}" = set; then
5234 enableval
="$enable_fs_inet"
5236 if test "$enableval" = yes; then
5237 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
5239 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
5244 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x
; then
5246 eval "DEFAULT_$LINE"
5251 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5255 eval "$ac_cv_use_fs_inet"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5260 if test "$wxUSE_FS_INET" = yes; then
5261 echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5273 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5274 if test "${enable_fs_zip+set}" = set; then
5275 enableval
="$enable_fs_zip"
5277 if test "$enableval" = yes; then
5278 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
5280 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
5285 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x
; then
5287 eval "DEFAULT_$LINE"
5292 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5296 eval "$ac_cv_use_fs_zip"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5301 if test "$wxUSE_FS_ZIP" = yes; then
5302 echo "$as_me:$LINENO: result: yes" >&5
5303 echo "${ECHO_T}yes" >&6
5305 echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6
5311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5314 # Check whether --enable-geometry or --disable-geometry was given.
5315 if test "${enable_geometry+set}" = set; then
5316 enableval
="$enable_geometry"
5318 if test "$enableval" = yes; then
5319 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
5321 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
5326 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5333 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5337 eval "$ac_cv_use_geometry"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5342 if test "$wxUSE_GEOMETRY" = yes; then
5343 echo "$as_me:$LINENO: result: yes" >&5
5344 echo "${ECHO_T}yes" >&6
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5353 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5355 # Check whether --enable-log or --disable-log was given.
5356 if test "${enable_log+set}" = set; then
5357 enableval
="$enable_log"
5359 if test "$enableval" = yes; then
5360 ac_cv_use_log
='wxUSE_LOG=yes'
5362 ac_cv_use_log
='wxUSE_LOG=no'
5367 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x
; then
5369 eval "DEFAULT_$LINE"
5374 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5378 eval "$ac_cv_use_log"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5383 if test "$wxUSE_LOG" = yes; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5396 # Check whether --enable-longlong or --disable-longlong was given.
5397 if test "${enable_longlong+set}" = set; then
5398 enableval
="$enable_longlong"
5400 if test "$enableval" = yes; then
5401 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
5403 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
5408 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x
; then
5410 eval "DEFAULT_$LINE"
5415 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5419 eval "$ac_cv_use_longlong"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5424 if test "$wxUSE_LONGLONG" = yes; then
5425 echo "$as_me:$LINENO: result: yes" >&5
5426 echo "${ECHO_T}yes" >&6
5428 echo "$as_me:$LINENO: result: no" >&5
5429 echo "${ECHO_T}no" >&6
5434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5437 # Check whether --enable-mimetype or --disable-mimetype was given.
5438 if test "${enable_mimetype+set}" = set; then
5439 enableval
="$enable_mimetype"
5441 if test "$enableval" = yes; then
5442 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
5444 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
5449 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x
; then
5451 eval "DEFAULT_$LINE"
5456 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5460 eval "$ac_cv_use_mimetype"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5465 if test "$wxUSE_MIMETYPE" = yes; then
5466 echo "$as_me:$LINENO: result: yes" >&5
5467 echo "${ECHO_T}yes" >&6
5469 echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6
5475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5478 # Check whether --enable-mslu or --disable-mslu was given.
5479 if test "${enable_mslu+set}" = set; then
5480 enableval
="$enable_mslu"
5482 if test "$enableval" = yes; then
5483 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
5485 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
5490 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x
; then
5492 eval "DEFAULT_$LINE"
5497 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5501 eval "$ac_cv_use_mslu"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5506 if test "$wxUSE_UNICODE_MSLU" = yes; then
5507 echo "$as_me:$LINENO: result: yes" >&5
5508 echo "${ECHO_T}yes" >&6
5510 echo "$as_me:$LINENO: result: no" >&5
5511 echo "${ECHO_T}no" >&6
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5519 # Check whether --enable-snglinst or --disable-snglinst was given.
5520 if test "${enable_snglinst+set}" = set; then
5521 enableval
="$enable_snglinst"
5523 if test "$enableval" = yes; then
5524 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
5526 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
5531 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x
; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5542 eval "$ac_cv_use_snglinst"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5547 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5548 echo "$as_me:$LINENO: result: yes" >&5
5549 echo "${ECHO_T}yes" >&6
5551 echo "$as_me:$LINENO: result: no" >&5
5552 echo "${ECHO_T}no" >&6
5557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5558 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5560 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5561 if test "${enable_std_iostreams+set}" = set; then
5562 enableval
="$enable_std_iostreams"
5564 if test "$enableval" = yes; then
5565 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5567 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5572 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x
; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5583 eval "$ac_cv_use_std_iostreams"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5588 if test "$wxUSE_STD_IOSTREAM" = yes; then
5589 echo "$as_me:$LINENO: result: yes" >&5
5590 echo "${ECHO_T}yes" >&6
5592 echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6
5598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5601 # Check whether --enable-std_string or --disable-std_string was given.
5602 if test "${enable_std_string+set}" = set; then
5603 enableval
="$enable_std_string"
5605 if test "$enableval" = yes; then
5606 ac_cv_use_std_string
='wxUSE_STD_STRING=yes'
5608 ac_cv_use_std_string
='wxUSE_STD_STRING=no'
5613 LINE
=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5614 if test "x$LINE" != x
; then
5615 eval "DEFAULT_$LINE"
5620 ac_cv_use_std_string
='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5624 eval "$ac_cv_use_std_string"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5629 if test "$wxUSE_STD_STRING" = yes; then
5630 echo "$as_me:$LINENO: result: yes" >&5
5631 echo "${ECHO_T}yes" >&6
5633 echo "$as_me:$LINENO: result: no" >&5
5634 echo "${ECHO_T}no" >&6
5639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5640 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5642 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5643 if test "${enable_stdpaths+set}" = set; then
5644 enableval
="$enable_stdpaths"
5646 if test "$enableval" = yes; then
5647 ac_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
5649 ac_cv_use_stdpaths
='wxUSE_STDPATHS=no'
5654 LINE
=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5655 if test "x$LINE" != x
; then
5656 eval "DEFAULT_$LINE"
5661 ac_cv_use_stdpaths
='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5665 eval "$ac_cv_use_stdpaths"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5670 if test "$wxUSE_STDPATHS" = yes; then
5671 echo "$as_me:$LINENO: result: yes" >&5
5672 echo "${ECHO_T}yes" >&6
5674 echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6
5680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5681 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5683 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5684 if test "${enable_stopwatch+set}" = set; then
5685 enableval
="$enable_stopwatch"
5687 if test "$enableval" = yes; then
5688 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
5690 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
5695 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x
; then
5697 eval "DEFAULT_$LINE"
5702 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5706 eval "$ac_cv_use_stopwatch"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5711 if test "$wxUSE_STOPWATCH" = yes; then
5712 echo "$as_me:$LINENO: result: yes" >&5
5713 echo "${ECHO_T}yes" >&6
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5722 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5724 # Check whether --enable-streams or --disable-streams was given.
5725 if test "${enable_streams+set}" = set; then
5726 enableval
="$enable_streams"
5728 if test "$enableval" = yes; then
5729 ac_cv_use_streams
='wxUSE_STREAMS=yes'
5731 ac_cv_use_streams
='wxUSE_STREAMS=no'
5736 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x
; then
5738 eval "DEFAULT_$LINE"
5743 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5747 eval "$ac_cv_use_streams"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5752 if test "$wxUSE_STREAMS" = yes; then
5753 echo "$as_me:$LINENO: result: yes" >&5
5754 echo "${ECHO_T}yes" >&6
5756 echo "$as_me:$LINENO: result: no" >&5
5757 echo "${ECHO_T}no" >&6
5762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5765 # Check whether --enable-system_options or --disable-system_options was given.
5766 if test "${enable_system_options+set}" = set; then
5767 enableval
="$enable_system_options"
5769 if test "$enableval" = yes; then
5770 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
5772 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
5777 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5778 if test "x$LINE" != x
; then
5779 eval "DEFAULT_$LINE"
5784 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5788 eval "$ac_cv_use_system_options"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5793 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5794 echo "$as_me:$LINENO: result: yes" >&5
5795 echo "${ECHO_T}yes" >&6
5797 echo "$as_me:$LINENO: result: no" >&5
5798 echo "${ECHO_T}no" >&6
5803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5806 # Check whether --enable-textbuf or --disable-textbuf was given.
5807 if test "${enable_textbuf+set}" = set; then
5808 enableval
="$enable_textbuf"
5810 if test "$enableval" = yes; then
5811 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
5813 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
5818 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5819 if test "x$LINE" != x
; then
5820 eval "DEFAULT_$LINE"
5825 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5829 eval "$ac_cv_use_textbuf"
5830 if test "$no_cache" != 1; then
5831 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5834 if test "$wxUSE_TEXTBUFFER" = yes; then
5835 echo "$as_me:$LINENO: result: yes" >&5
5836 echo "${ECHO_T}yes" >&6
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5847 # Check whether --enable-textfile or --disable-textfile was given.
5848 if test "${enable_textfile+set}" = set; then
5849 enableval
="$enable_textfile"
5851 if test "$enableval" = yes; then
5852 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
5854 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
5859 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x
; then
5861 eval "DEFAULT_$LINE"
5866 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5870 eval "$ac_cv_use_textfile"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5875 if test "$wxUSE_TEXTFILE" = yes; then
5876 echo "$as_me:$LINENO: result: yes" >&5
5877 echo "${ECHO_T}yes" >&6
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5888 # Check whether --enable-timer or --disable-timer was given.
5889 if test "${enable_timer+set}" = set; then
5890 enableval
="$enable_timer"
5892 if test "$enableval" = yes; then
5893 ac_cv_use_timer
='wxUSE_TIMER=yes'
5895 ac_cv_use_timer
='wxUSE_TIMER=no'
5900 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5901 if test "x$LINE" != x
; then
5902 eval "DEFAULT_$LINE"
5907 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5911 eval "$ac_cv_use_timer"
5912 if test "$no_cache" != 1; then
5913 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5916 if test "$wxUSE_TIMER" = yes; then
5917 echo "$as_me:$LINENO: result: yes" >&5
5918 echo "${ECHO_T}yes" >&6
5920 echo "$as_me:$LINENO: result: no" >&5
5921 echo "${ECHO_T}no" >&6
5926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5927 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5929 # Check whether --enable-unicode or --disable-unicode was given.
5930 if test "${enable_unicode+set}" = set; then
5931 enableval
="$enable_unicode"
5933 if test "$enableval" = yes; then
5934 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
5936 ac_cv_use_unicode
='wxUSE_UNICODE=no'
5941 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5942 if test "x$LINE" != x
; then
5943 eval "DEFAULT_$LINE"
5948 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5952 eval "$ac_cv_use_unicode"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5957 if test "$wxUSE_UNICODE" = yes; then
5958 echo "$as_me:$LINENO: result: yes" >&5
5959 echo "${ECHO_T}yes" >&6
5961 echo "$as_me:$LINENO: result: no" >&5
5962 echo "${ECHO_T}no" >&6
5967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5970 # Check whether --enable-sound or --disable-sound was given.
5971 if test "${enable_sound+set}" = set; then
5972 enableval
="$enable_sound"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_sound
='wxUSE_SOUND=yes'
5977 ac_cv_use_sound
='wxUSE_SOUND=no'
5982 LINE
=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x
; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_sound
='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5993 eval "$ac_cv_use_sound"
5994 if test "$no_cache" != 1; then
5995 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5998 if test "$wxUSE_SOUND" = yes; then
5999 echo "$as_me:$LINENO: result: yes" >&5
6000 echo "${ECHO_T}yes" >&6
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6009 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6011 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6012 if test "${enable_mediactrl+set}" = set; then
6013 enableval
="$enable_mediactrl"
6015 if test "$enableval" = yes; then
6016 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
6018 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
6023 LINE
=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x
; then
6025 eval "DEFAULT_$LINE"
6030 ac_cv_use_mediactrl
='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6034 eval "$ac_cv_use_mediactrl"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6039 if test "$wxUSE_MEDIACTRL" = yes; then
6040 echo "$as_me:$LINENO: result: yes" >&5
6041 echo "${ECHO_T}yes" >&6
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6050 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6052 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6053 if test "${enable_wxprintfv+set}" = set; then
6054 enableval
="$enable_wxprintfv"
6056 if test "$enableval" = yes; then
6057 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
6059 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
6064 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x
; then
6066 eval "DEFAULT_$LINE"
6071 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6075 eval "$ac_cv_use_wxprintfv"
6076 if test "$no_cache" != 1; then
6077 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6080 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6081 echo "$as_me:$LINENO: result: yes" >&5
6082 echo "${ECHO_T}yes" >&6
6084 echo "$as_me:$LINENO: result: no" >&5
6085 echo "${ECHO_T}no" >&6
6090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6093 # Check whether --enable-zipstream or --disable-zipstream was given.
6094 if test "${enable_zipstream+set}" = set; then
6095 enableval
="$enable_zipstream"
6097 if test "$enableval" = yes; then
6098 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
6100 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
6105 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6106 if test "x$LINE" != x
; then
6107 eval "DEFAULT_$LINE"
6112 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6116 eval "$ac_cv_use_zipstream"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6121 if test "$wxUSE_ZIPSTREAM" = yes; then
6122 echo "$as_me:$LINENO: result: yes" >&5
6123 echo "${ECHO_T}yes" >&6
6125 echo "$as_me:$LINENO: result: no" >&5
6126 echo "${ECHO_T}no" >&6
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6135 # Check whether --enable-url or --disable-url was given.
6136 if test "${enable_url+set}" = set; then
6137 enableval
="$enable_url"
6139 if test "$enableval" = yes; then
6140 ac_cv_use_url
='wxUSE_URL=yes'
6142 ac_cv_use_url
='wxUSE_URL=no'
6147 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x
; then
6149 eval "DEFAULT_$LINE"
6154 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
6158 eval "$ac_cv_use_url"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6163 if test "$wxUSE_URL" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6176 # Check whether --enable-protocol or --disable-protocol was given.
6177 if test "${enable_protocol+set}" = set; then
6178 enableval
="$enable_protocol"
6180 if test "$enableval" = yes; then
6181 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
6183 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
6188 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x
; then
6190 eval "DEFAULT_$LINE"
6195 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6199 eval "$ac_cv_use_protocol"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6204 if test "$wxUSE_PROTOCOL" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6217 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6218 if test "${enable_protocol_http+set}" = set; then
6219 enableval
="$enable_protocol_http"
6221 if test "$enableval" = yes; then
6222 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
6224 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
6229 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x
; then
6231 eval "DEFAULT_$LINE"
6236 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6240 eval "$ac_cv_use_protocol_http"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6258 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6259 if test "${enable_protocol_ftp+set}" = set; then
6260 enableval
="$enable_protocol_ftp"
6262 if test "$enableval" = yes; then
6263 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
6265 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
6270 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x
; then
6272 eval "DEFAULT_$LINE"
6277 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6281 eval "$ac_cv_use_protocol_ftp"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6286 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6299 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6300 if test "${enable_protocol_file+set}" = set; then
6301 enableval
="$enable_protocol_file"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
6306 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
6311 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6322 eval "$ac_cv_use_protocol_file"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6343 # Check whether --enable-threads or --disable-threads was given.
6344 if test "${enable_threads+set}" = set; then
6345 enableval
="$enable_threads"
6347 if test "$enableval" = yes; then
6348 ac_cv_use_threads
='wxUSE_THREADS=yes'
6350 ac_cv_use_threads
='wxUSE_THREADS=no'
6355 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x
; then
6357 eval "DEFAULT_$LINE"
6362 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6366 eval "$ac_cv_use_threads"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6371 if test "$wxUSE_THREADS" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6380 if test "$wxUSE_GUI" = "yes"; then
6385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6388 # Check whether --enable-docview or --disable-docview was given.
6389 if test "${enable_docview+set}" = set; then
6390 enableval
="$enable_docview"
6392 if test "$enableval" = yes; then
6393 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6395 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6400 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x
; then
6402 eval "DEFAULT_$LINE"
6407 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6411 eval "$ac_cv_use_docview"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6416 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6417 echo "$as_me:$LINENO: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6420 echo "$as_me:$LINENO: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6429 # Check whether --enable-help or --disable-help was given.
6430 if test "${enable_help+set}" = set; then
6431 enableval
="$enable_help"
6433 if test "$enableval" = yes; then
6434 ac_cv_use_help
='wxUSE_HELP=yes'
6436 ac_cv_use_help
='wxUSE_HELP=no'
6441 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x
; then
6443 eval "DEFAULT_$LINE"
6448 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6452 eval "$ac_cv_use_help"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6457 if test "$wxUSE_HELP" = yes; then
6458 echo "$as_me:$LINENO: result: yes" >&5
6459 echo "${ECHO_T}yes" >&6
6461 echo "$as_me:$LINENO: result: no" >&5
6462 echo "${ECHO_T}no" >&6
6467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6468 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6470 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6471 if test "${enable_mshtmlhelp+set}" = set; then
6472 enableval
="$enable_mshtmlhelp"
6474 if test "$enableval" = yes; then
6475 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
6477 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
6482 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6483 if test "x$LINE" != x
; then
6484 eval "DEFAULT_$LINE"
6489 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6493 eval "$ac_cv_use_mshtmlhelp"
6494 if test "$no_cache" != 1; then
6495 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6498 if test "$wxUSE_MS_HTML_HELP" = yes; then
6499 echo "$as_me:$LINENO: result: yes" >&5
6500 echo "${ECHO_T}yes" >&6
6502 echo "$as_me:$LINENO: result: no" >&5
6503 echo "${ECHO_T}no" >&6
6508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6511 # Check whether --enable-html or --disable-html was given.
6512 if test "${enable_html+set}" = set; then
6513 enableval
="$enable_html"
6515 if test "$enableval" = yes; then
6516 ac_cv_use_html
='wxUSE_HTML=yes'
6518 ac_cv_use_html
='wxUSE_HTML=no'
6523 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6524 if test "x$LINE" != x
; then
6525 eval "DEFAULT_$LINE"
6530 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6534 eval "$ac_cv_use_html"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6539 if test "$wxUSE_HTML" = yes; then
6540 echo "$as_me:$LINENO: result: yes" >&5
6541 echo "${ECHO_T}yes" >&6
6543 echo "$as_me:$LINENO: result: no" >&5
6544 echo "${ECHO_T}no" >&6
6549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6552 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6553 if test "${enable_htmlhelp+set}" = set; then
6554 enableval
="$enable_htmlhelp"
6556 if test "$enableval" = yes; then
6557 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
6559 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
6564 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x
; then
6566 eval "DEFAULT_$LINE"
6571 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6575 eval "$ac_cv_use_htmlhelp"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6580 if test "$wxUSE_WXHTML_HELP" = yes; then
6581 echo "$as_me:$LINENO: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6584 echo "$as_me:$LINENO: result: no" >&5
6585 echo "${ECHO_T}no" >&6
6590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6591 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6593 # Check whether --enable-xrc or --disable-xrc was given.
6594 if test "${enable_xrc+set}" = set; then
6595 enableval
="$enable_xrc"
6597 if test "$enableval" = yes; then
6598 ac_cv_use_xrc
='wxUSE_XRC=yes'
6600 ac_cv_use_xrc
='wxUSE_XRC=no'
6605 LINE
=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6606 if test "x$LINE" != x
; then
6607 eval "DEFAULT_$LINE"
6612 ac_cv_use_xrc
='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6616 eval "$ac_cv_use_xrc"
6617 if test "$no_cache" != 1; then
6618 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6621 if test "$wxUSE_XRC" = yes; then
6622 echo "$as_me:$LINENO: result: yes" >&5
6623 echo "${ECHO_T}yes" >&6
6625 echo "$as_me:$LINENO: result: no" >&5
6626 echo "${ECHO_T}no" >&6
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6634 # Check whether --enable-constraints or --disable-constraints was given.
6635 if test "${enable_constraints+set}" = set; then
6636 enableval
="$enable_constraints"
6638 if test "$enableval" = yes; then
6639 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
6641 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
6646 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x
; then
6648 eval "DEFAULT_$LINE"
6653 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6657 eval "$ac_cv_use_constraints"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6662 if test "$wxUSE_CONSTRAINTS" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6675 # Check whether --enable-printarch or --disable-printarch was given.
6676 if test "${enable_printarch+set}" = set; then
6677 enableval
="$enable_printarch"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
6682 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
6687 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6698 eval "$ac_cv_use_printarch"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6716 # Check whether --enable-mdi or --disable-mdi was given.
6717 if test "${enable_mdi+set}" = set; then
6718 enableval
="$enable_mdi"
6720 if test "$enableval" = yes; then
6721 ac_cv_use_mdi
='wxUSE_MDI=yes'
6723 ac_cv_use_mdi
='wxUSE_MDI=no'
6728 LINE
=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x
; then
6730 eval "DEFAULT_$LINE"
6735 ac_cv_use_mdi
='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6739 eval "$ac_cv_use_mdi"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6744 if test "$wxUSE_MDI" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6757 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6758 if test "${enable_mdidoc+set}" = set; then
6759 enableval
="$enable_mdidoc"
6761 if test "$enableval" = yes; then
6762 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
6764 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
6769 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x
; then
6771 eval "DEFAULT_$LINE"
6776 ac_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6780 eval "$ac_cv_use_mdidoc"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6785 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6798 # Check whether --enable-loggui or --disable-loggui was given.
6799 if test "${enable_loggui+set}" = set; then
6800 enableval
="$enable_loggui"
6802 if test "$enableval" = yes; then
6803 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
6805 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
6810 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x
; then
6812 eval "DEFAULT_$LINE"
6817 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6821 eval "$ac_cv_use_loggui"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6826 if test "$wxUSE_LOGGUI" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6839 # Check whether --enable-logwin or --disable-logwin was given.
6840 if test "${enable_logwin+set}" = set; then
6841 enableval
="$enable_logwin"
6843 if test "$enableval" = yes; then
6844 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
6846 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
6851 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x
; then
6853 eval "DEFAULT_$LINE"
6858 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6862 eval "$ac_cv_use_logwin"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6867 if test "$wxUSE_LOGWINDOW" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6880 # Check whether --enable-logdialog or --disable-logdialog was given.
6881 if test "${enable_logdialog+set}" = set; then
6882 enableval
="$enable_logdialog"
6884 if test "$enableval" = yes; then
6885 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
6887 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
6892 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x
; then
6894 eval "DEFAULT_$LINE"
6899 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6903 eval "$ac_cv_use_logdialog"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6908 if test "$wxUSE_LOGDIALOG" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6919 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6921 # Check whether --enable-webkit or --disable-webkit was given.
6922 if test "${enable_webkit+set}" = set; then
6923 enableval
="$enable_webkit"
6925 if test "$enableval" = yes; then
6926 ac_cv_use_webkit
='wxUSE_WEBKIT=yes'
6928 ac_cv_use_webkit
='wxUSE_WEBKIT=no'
6933 LINE
=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6934 if test "x$LINE" != x
; then
6935 eval "DEFAULT_$LINE"
6940 ac_cv_use_webkit
='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6944 eval "$ac_cv_use_webkit"
6945 if test "$no_cache" != 1; then
6946 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6949 if test "$wxUSE_WEBKIT" = yes; then
6950 echo "$as_me:$LINENO: result: yes" >&5
6951 echo "${ECHO_T}yes" >&6
6953 echo "$as_me:$LINENO: result: no" >&5
6954 echo "${ECHO_T}no" >&6
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6963 # Check whether --enable-postscript or --disable-postscript was given.
6964 if test "${enable_postscript+set}" = set; then
6965 enableval
="$enable_postscript"
6967 if test "$enableval" = yes; then
6968 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
6970 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
6975 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x
; then
6977 eval "DEFAULT_$LINE"
6982 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6986 eval "$ac_cv_use_postscript"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6991 if test "$wxUSE_POSTSCRIPT" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7007 # Check whether --enable-prologio or --disable-prologio was given.
7008 if test "${enable_prologio+set}" = set; then
7009 enableval
="$enable_prologio"
7011 if test "$enableval" = yes; then
7012 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
7014 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
7019 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x
; then
7021 eval "DEFAULT_$LINE"
7026 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7030 eval "$ac_cv_use_prologio"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_PROLOGIO" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7048 # Check whether --enable-resources or --disable-resources was given.
7049 if test "${enable_resources+set}" = set; then
7050 enableval
="$enable_resources"
7052 if test "$enableval" = yes; then
7053 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
7055 ac_cv_use_resources
='wxUSE_RESOURCES=no'
7060 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x
; then
7062 eval "DEFAULT_$LINE"
7067 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7071 eval "$ac_cv_use_resources"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_RESOURCES" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7091 # Check whether --enable-clipboard or --disable-clipboard was given.
7092 if test "${enable_clipboard+set}" = set; then
7093 enableval
="$enable_clipboard"
7095 if test "$enableval" = yes; then
7096 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
7098 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
7103 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x
; then
7105 eval "DEFAULT_$LINE"
7110 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7114 eval "$ac_cv_use_clipboard"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_CLIPBOARD" = yes; then
7120 echo "$as_me:$LINENO: result: yes" >&5
7121 echo "${ECHO_T}yes" >&6
7123 echo "$as_me:$LINENO: result: no" >&5
7124 echo "${ECHO_T}no" >&6
7129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7132 # Check whether --enable-dnd or --disable-dnd was given.
7133 if test "${enable_dnd+set}" = set; then
7134 enableval
="$enable_dnd"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
7139 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
7144 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7155 eval "$ac_cv_use_dnd"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7161 echo "$as_me:$LINENO: result: yes" >&5
7162 echo "${ECHO_T}yes" >&6
7164 echo "$as_me:$LINENO: result: no" >&5
7165 echo "${ECHO_T}no" >&6
7170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7171 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7173 # Check whether --enable-metafile or --disable-metafile was given.
7174 if test "${enable_metafile+set}" = set; then
7175 enableval
="$enable_metafile"
7177 if test "$enableval" = yes; then
7178 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7180 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7185 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7186 if test "x$LINE" != x
; then
7187 eval "DEFAULT_$LINE"
7192 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7196 eval "$ac_cv_use_metafile"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_METAFILE" = yes; then
7202 echo "$as_me:$LINENO: result: yes" >&5
7203 echo "${ECHO_T}yes" >&6
7205 echo "$as_me:$LINENO: result: no" >&5
7206 echo "${ECHO_T}no" >&6
7214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7215 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7217 # Check whether --enable-controls or --disable-controls was given.
7218 if test "${enable_controls+set}" = set; then
7219 enableval
="$enable_controls"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
7224 ac_cv_use_controls
='wxUSE_CONTROLS=no'
7229 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7240 eval "$ac_cv_use_controls"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_CONTROLS" = yes; then
7246 echo "$as_me:$LINENO: result: yes" >&5
7247 echo "${ECHO_T}yes" >&6
7249 echo "$as_me:$LINENO: result: no" >&5
7250 echo "${ECHO_T}no" >&6
7254 if test "$wxUSE_CONTROLS" = "yes"; then
7255 DEFAULT_wxUSE_ACCEL
=yes
7256 DEFAULT_wxUSE_BMPBUTTON
=yes
7257 DEFAULT_wxUSE_BUTTON
=yes
7258 DEFAULT_wxUSE_CALCTRL
=yes
7259 DEFAULT_wxUSE_CARET
=yes
7260 DEFAULT_wxUSE_COMBOBOX
=yes
7261 DEFAULT_wxUSE_CHECKBOX
=yes
7262 DEFAULT_wxUSE_CHECKLISTBOX
=yes
7263 DEFAULT_wxUSE_CHOICE
=yes
7264 DEFAULT_wxUSE_CHOICEBOOK
=yes
7265 DEFAULT_wxUSE_DATEPICKCTRL
=yes
7266 DEFAULT_wxUSE_GAUGE
=yes
7267 DEFAULT_wxUSE_GRID
=yes
7268 DEFAULT_wxUSE_IMAGLIST
=yes
7269 DEFAULT_wxUSE_LISTBOOK
=yes
7270 DEFAULT_wxUSE_LISTBOX
=yes
7271 DEFAULT_wxUSE_LISTCTRL
=yes
7272 DEFAULT_wxUSE_NOTEBOOK
=yes
7273 DEFAULT_wxUSE_RADIOBOX
=yes
7274 DEFAULT_wxUSE_RADIOBTN
=yes
7275 DEFAULT_wxUSE_SASH
=yes
7276 DEFAULT_wxUSE_SCROLLBAR
=yes
7277 DEFAULT_wxUSE_SLIDER
=yes
7278 DEFAULT_wxUSE_SPINBTN
=yes
7279 DEFAULT_wxUSE_SPINCTRL
=yes
7280 DEFAULT_wxUSE_SPLITTER
=yes
7281 DEFAULT_wxUSE_STATBMP
=yes
7282 DEFAULT_wxUSE_STATBOX
=yes
7283 DEFAULT_wxUSE_STATLINE
=yes
7284 DEFAULT_wxUSE_STATUSBAR
=yes
7285 DEFAULT_wxUSE_TAB_DIALOG
=yes
7286 DEFAULT_wxUSE_TOGGLEBTN
=yes
7287 DEFAULT_wxUSE_TOOLBAR
=yes
7288 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
7289 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
7290 DEFAULT_wxUSE_TOOLTIPS
=yes
7291 DEFAULT_wxUSE_TREECTRL
=yes
7292 DEFAULT_wxUSE_POPUPWIN
=yes
7293 DEFAULT_wxUSE_TIPWINDOW
=yes
7294 elif test "$wxUSE_CONTROLS" = "no"; then
7295 DEFAULT_wxUSE_ACCEL
=no
7296 DEFAULT_wxUSE_BMPBUTTON
=no
7297 DEFAULT_wxUSE_BUTTON
=no
7298 DEFAULT_wxUSE_CALCTRL
=no
7299 DEFAULT_wxUSE_CARET
=no
7300 DEFAULT_wxUSE_COMBOBOX
=no
7301 DEFAULT_wxUSE_CHECKBOX
=no
7302 DEFAULT_wxUSE_CHECKLISTBOX
=no
7303 DEFAULT_wxUSE_CHOICE
=no
7304 DEFAULT_wxUSE_CHOICEBOOK
=no
7305 DEFAULT_wxUSE_DATEPICKCTRL
=no
7306 DEFAULT_wxUSE_GAUGE
=no
7307 DEFAULT_wxUSE_GRID
=no
7308 DEFAULT_wxUSE_IMAGLIST
=no
7309 DEFAULT_wxUSE_LISTBOOK
=no
7310 DEFAULT_wxUSE_LISTBOX
=no
7311 DEFAULT_wxUSE_LISTCTRL
=no
7312 DEFAULT_wxUSE_NOTEBOOK
=no
7313 DEFAULT_wxUSE_RADIOBOX
=no
7314 DEFAULT_wxUSE_RADIOBTN
=no
7315 DEFAULT_wxUSE_SASH
=no
7316 DEFAULT_wxUSE_SCROLLBAR
=no
7317 DEFAULT_wxUSE_SLIDER
=no
7318 DEFAULT_wxUSE_SPINBTN
=no
7319 DEFAULT_wxUSE_SPINCTRL
=no
7320 DEFAULT_wxUSE_SPLITTER
=no
7321 DEFAULT_wxUSE_STATBMP
=no
7322 DEFAULT_wxUSE_STATBOX
=no
7323 DEFAULT_wxUSE_STATLINE
=no
7324 DEFAULT_wxUSE_STATUSBAR
=no
7325 DEFAULT_wxUSE_TAB_DIALOG
=no
7326 DEFAULT_wxUSE_TOGGLEBTN
=no
7327 DEFAULT_wxUSE_TOOLBAR
=no
7328 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
7329 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
7330 DEFAULT_wxUSE_TOOLTIPS
=no
7331 DEFAULT_wxUSE_TREECTRL
=no
7332 DEFAULT_wxUSE_POPUPWIN
=no
7333 DEFAULT_wxUSE_TIPWINDOW
=no
7338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7339 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7341 # Check whether --enable-accel or --disable-accel was given.
7342 if test "${enable_accel+set}" = set; then
7343 enableval
="$enable_accel"
7345 if test "$enableval" = yes; then
7346 ac_cv_use_accel
='wxUSE_ACCEL=yes'
7348 ac_cv_use_accel
='wxUSE_ACCEL=no'
7353 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x
; then
7355 eval "DEFAULT_$LINE"
7360 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7364 eval "$ac_cv_use_accel"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_ACCEL" = yes; then
7370 echo "$as_me:$LINENO: result: yes" >&5
7371 echo "${ECHO_T}yes" >&6
7373 echo "$as_me:$LINENO: result: no" >&5
7374 echo "${ECHO_T}no" >&6
7379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7382 # Check whether --enable-button or --disable-button was given.
7383 if test "${enable_button+set}" = set; then
7384 enableval
="$enable_button"
7386 if test "$enableval" = yes; then
7387 ac_cv_use_button
='wxUSE_BUTTON=yes'
7389 ac_cv_use_button
='wxUSE_BUTTON=no'
7394 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7395 if test "x$LINE" != x
; then
7396 eval "DEFAULT_$LINE"
7401 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7405 eval "$ac_cv_use_button"
7406 if test "$no_cache" != 1; then
7407 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7410 if test "$wxUSE_BUTTON" = yes; then
7411 echo "$as_me:$LINENO: result: yes" >&5
7412 echo "${ECHO_T}yes" >&6
7414 echo "$as_me:$LINENO: result: no" >&5
7415 echo "${ECHO_T}no" >&6
7420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7421 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7423 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7424 if test "${enable_bmpbutton+set}" = set; then
7425 enableval
="$enable_bmpbutton"
7427 if test "$enableval" = yes; then
7428 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
7430 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
7435 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7436 if test "x$LINE" != x
; then
7437 eval "DEFAULT_$LINE"
7442 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7446 eval "$ac_cv_use_bmpbutton"
7447 if test "$no_cache" != 1; then
7448 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7451 if test "$wxUSE_BMPBUTTON" = yes; then
7452 echo "$as_me:$LINENO: result: yes" >&5
7453 echo "${ECHO_T}yes" >&6
7455 echo "$as_me:$LINENO: result: no" >&5
7456 echo "${ECHO_T}no" >&6
7461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7462 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7464 # Check whether --enable-calendar or --disable-calendar was given.
7465 if test "${enable_calendar+set}" = set; then
7466 enableval
="$enable_calendar"
7468 if test "$enableval" = yes; then
7469 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
7471 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
7476 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7477 if test "x$LINE" != x
; then
7478 eval "DEFAULT_$LINE"
7483 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7487 eval "$ac_cv_use_calendar"
7488 if test "$no_cache" != 1; then
7489 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7492 if test "$wxUSE_CALCTRL" = yes; then
7493 echo "$as_me:$LINENO: result: yes" >&5
7494 echo "${ECHO_T}yes" >&6
7496 echo "$as_me:$LINENO: result: no" >&5
7497 echo "${ECHO_T}no" >&6
7502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7503 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7505 # Check whether --enable-caret or --disable-caret was given.
7506 if test "${enable_caret+set}" = set; then
7507 enableval
="$enable_caret"
7509 if test "$enableval" = yes; then
7510 ac_cv_use_caret
='wxUSE_CARET=yes'
7512 ac_cv_use_caret
='wxUSE_CARET=no'
7517 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x
; then
7519 eval "DEFAULT_$LINE"
7524 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7528 eval "$ac_cv_use_caret"
7529 if test "$no_cache" != 1; then
7530 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7533 if test "$wxUSE_CARET" = yes; then
7534 echo "$as_me:$LINENO: result: yes" >&5
7535 echo "${ECHO_T}yes" >&6
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7544 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7546 # Check whether --enable-checkbox or --disable-checkbox was given.
7547 if test "${enable_checkbox+set}" = set; then
7548 enableval
="$enable_checkbox"
7550 if test "$enableval" = yes; then
7551 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
7553 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
7558 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7559 if test "x$LINE" != x
; then
7560 eval "DEFAULT_$LINE"
7565 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7569 eval "$ac_cv_use_checkbox"
7570 if test "$no_cache" != 1; then
7571 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7574 if test "$wxUSE_CHECKBOX" = yes; then
7575 echo "$as_me:$LINENO: result: yes" >&5
7576 echo "${ECHO_T}yes" >&6
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7587 # Check whether --enable-checklst or --disable-checklst was given.
7588 if test "${enable_checklst+set}" = set; then
7589 enableval
="$enable_checklst"
7591 if test "$enableval" = yes; then
7592 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
7594 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
7599 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x
; then
7601 eval "DEFAULT_$LINE"
7606 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7610 eval "$ac_cv_use_checklst"
7611 if test "$no_cache" != 1; then
7612 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7615 if test "$wxUSE_CHECKLST" = yes; then
7616 echo "$as_me:$LINENO: result: yes" >&5
7617 echo "${ECHO_T}yes" >&6
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7626 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7628 # Check whether --enable-choice or --disable-choice was given.
7629 if test "${enable_choice+set}" = set; then
7630 enableval
="$enable_choice"
7632 if test "$enableval" = yes; then
7633 ac_cv_use_choice
='wxUSE_CHOICE=yes'
7635 ac_cv_use_choice
='wxUSE_CHOICE=no'
7640 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7641 if test "x$LINE" != x
; then
7642 eval "DEFAULT_$LINE"
7647 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7651 eval "$ac_cv_use_choice"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_CHOICE" = yes; then
7657 echo "$as_me:$LINENO: result: yes" >&5
7658 echo "${ECHO_T}yes" >&6
7660 echo "$as_me:$LINENO: result: no" >&5
7661 echo "${ECHO_T}no" >&6
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7669 # Check whether --enable-choicebook or --disable-choicebook was given.
7670 if test "${enable_choicebook+set}" = set; then
7671 enableval
="$enable_choicebook"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
7676 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
7681 LINE
=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_choicebook
='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7692 eval "$ac_cv_use_choicebook"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7697 if test "$wxUSE_CHOICEBOOK" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7708 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7710 # Check whether --enable-combobox or --disable-combobox was given.
7711 if test "${enable_combobox+set}" = set; then
7712 enableval
="$enable_combobox"
7714 if test "$enableval" = yes; then
7715 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
7717 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
7722 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x
; then
7724 eval "DEFAULT_$LINE"
7729 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7733 eval "$ac_cv_use_combobox"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7738 if test "$wxUSE_COMBOBOX" = yes; then
7739 echo "$as_me:$LINENO: result: yes" >&5
7740 echo "${ECHO_T}yes" >&6
7742 echo "$as_me:$LINENO: result: no" >&5
7743 echo "${ECHO_T}no" >&6
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7751 # Check whether --enable-datepick or --disable-datepick was given.
7752 if test "${enable_datepick+set}" = set; then
7753 enableval
="$enable_datepick"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
7758 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
7763 LINE
=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_datepick
='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7774 eval "$ac_cv_use_datepick"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7779 if test "$wxUSE_DATEPICKCTRL" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7792 # Check whether --enable-display or --disable-display was given.
7793 if test "${enable_display+set}" = set; then
7794 enableval
="$enable_display"
7796 if test "$enableval" = yes; then
7797 ac_cv_use_display
='wxUSE_DISPLAY=yes'
7799 ac_cv_use_display
='wxUSE_DISPLAY=no'
7804 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x
; then
7806 eval "DEFAULT_$LINE"
7811 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7815 eval "$ac_cv_use_display"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_DISPLAY" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7833 # Check whether --enable-gauge or --disable-gauge was given.
7834 if test "${enable_gauge+set}" = set; then
7835 enableval
="$enable_gauge"
7837 if test "$enableval" = yes; then
7838 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
7840 ac_cv_use_gauge
='wxUSE_GAUGE=no'
7845 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x
; then
7847 eval "DEFAULT_$LINE"
7852 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7856 eval "$ac_cv_use_gauge"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7861 if test "$wxUSE_GAUGE" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7874 # Check whether --enable-grid or --disable-grid was given.
7875 if test "${enable_grid+set}" = set; then
7876 enableval
="$enable_grid"
7878 if test "$enableval" = yes; then
7879 ac_cv_use_grid
='wxUSE_GRID=yes'
7881 ac_cv_use_grid
='wxUSE_GRID=no'
7886 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7887 if test "x$LINE" != x
; then
7888 eval "DEFAULT_$LINE"
7893 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7897 eval "$ac_cv_use_grid"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7902 if test "$wxUSE_GRID" = yes; then
7903 echo "$as_me:$LINENO: result: yes" >&5
7904 echo "${ECHO_T}yes" >&6
7906 echo "$as_me:$LINENO: result: no" >&5
7907 echo "${ECHO_T}no" >&6
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7915 # Check whether --enable-imaglist or --disable-imaglist was given.
7916 if test "${enable_imaglist+set}" = set; then
7917 enableval
="$enable_imaglist"
7919 if test "$enableval" = yes; then
7920 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
7922 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
7927 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x
; then
7929 eval "DEFAULT_$LINE"
7934 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7938 eval "$ac_cv_use_imaglist"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7943 if test "$wxUSE_IMAGLIST" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7956 # Check whether --enable-listbook or --disable-listbook was given.
7957 if test "${enable_listbook+set}" = set; then
7958 enableval
="$enable_listbook"
7960 if test "$enableval" = yes; then
7961 ac_cv_use_listbook
='wxUSE_LISTBOOK=yes'
7963 ac_cv_use_listbook
='wxUSE_LISTBOOK=no'
7968 LINE
=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x
; then
7970 eval "DEFAULT_$LINE"
7975 ac_cv_use_listbook
='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7979 eval "$ac_cv_use_listbook"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7984 if test "$wxUSE_LISTBOOK" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7997 # Check whether --enable-listbox or --disable-listbox was given.
7998 if test "${enable_listbox+set}" = set; then
7999 enableval
="$enable_listbox"
8001 if test "$enableval" = yes; then
8002 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
8004 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
8009 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x
; then
8011 eval "DEFAULT_$LINE"
8016 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8020 eval "$ac_cv_use_listbox"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8025 if test "$wxUSE_LISTBOX" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8038 # Check whether --enable-listctrl or --disable-listctrl was given.
8039 if test "${enable_listctrl+set}" = set; then
8040 enableval
="$enable_listctrl"
8042 if test "$enableval" = yes; then
8043 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
8045 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
8050 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x
; then
8052 eval "DEFAULT_$LINE"
8057 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8061 eval "$ac_cv_use_listctrl"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_LISTCTRL" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8079 # Check whether --enable-notebook or --disable-notebook was given.
8080 if test "${enable_notebook+set}" = set; then
8081 enableval
="$enable_notebook"
8083 if test "$enableval" = yes; then
8084 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
8086 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
8091 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x
; then
8093 eval "DEFAULT_$LINE"
8098 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8102 eval "$ac_cv_use_notebook"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8107 if test "$wxUSE_NOTEBOOK" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8120 # Check whether --enable-radiobox or --disable-radiobox was given.
8121 if test "${enable_radiobox+set}" = set; then
8122 enableval
="$enable_radiobox"
8124 if test "$enableval" = yes; then
8125 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
8127 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
8132 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x
; then
8134 eval "DEFAULT_$LINE"
8139 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8143 eval "$ac_cv_use_radiobox"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_RADIOBOX" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8161 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8162 if test "${enable_radiobtn+set}" = set; then
8163 enableval
="$enable_radiobtn"
8165 if test "$enableval" = yes; then
8166 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
8168 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
8173 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x
; then
8175 eval "DEFAULT_$LINE"
8180 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8184 eval "$ac_cv_use_radiobtn"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_RADIOBTN" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8202 # Check whether --enable-sash or --disable-sash was given.
8203 if test "${enable_sash+set}" = set; then
8204 enableval
="$enable_sash"
8206 if test "$enableval" = yes; then
8207 ac_cv_use_sash
='wxUSE_SASH=yes'
8209 ac_cv_use_sash
='wxUSE_SASH=no'
8214 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x
; then
8216 eval "DEFAULT_$LINE"
8221 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8225 eval "$ac_cv_use_sash"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8230 if test "$wxUSE_SASH" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8243 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8244 if test "${enable_scrollbar+set}" = set; then
8245 enableval
="$enable_scrollbar"
8247 if test "$enableval" = yes; then
8248 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
8250 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
8255 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x
; then
8257 eval "DEFAULT_$LINE"
8262 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8266 eval "$ac_cv_use_scrollbar"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8271 if test "$wxUSE_SCROLLBAR" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8284 # Check whether --enable-slider or --disable-slider was given.
8285 if test "${enable_slider+set}" = set; then
8286 enableval
="$enable_slider"
8288 if test "$enableval" = yes; then
8289 ac_cv_use_slider
='wxUSE_SLIDER=yes'
8291 ac_cv_use_slider
='wxUSE_SLIDER=no'
8296 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x
; then
8298 eval "DEFAULT_$LINE"
8303 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8307 eval "$ac_cv_use_slider"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8312 if test "$wxUSE_SLIDER" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8325 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8326 if test "${enable_spinbtn+set}" = set; then
8327 enableval
="$enable_spinbtn"
8329 if test "$enableval" = yes; then
8330 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
8332 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
8337 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x
; then
8339 eval "DEFAULT_$LINE"
8344 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8348 eval "$ac_cv_use_spinbtn"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8353 if test "$wxUSE_SPINBTN" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8366 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8367 if test "${enable_spinctrl+set}" = set; then
8368 enableval
="$enable_spinctrl"
8370 if test "$enableval" = yes; then
8371 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
8373 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
8378 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x
; then
8380 eval "DEFAULT_$LINE"
8385 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8389 eval "$ac_cv_use_spinctrl"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8394 if test "$wxUSE_SPINCTRL" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8407 # Check whether --enable-splitter or --disable-splitter was given.
8408 if test "${enable_splitter+set}" = set; then
8409 enableval
="$enable_splitter"
8411 if test "$enableval" = yes; then
8412 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
8414 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
8419 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x
; then
8421 eval "DEFAULT_$LINE"
8426 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8430 eval "$ac_cv_use_splitter"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8435 if test "$wxUSE_SPLITTER" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8448 # Check whether --enable-statbmp or --disable-statbmp was given.
8449 if test "${enable_statbmp+set}" = set; then
8450 enableval
="$enable_statbmp"
8452 if test "$enableval" = yes; then
8453 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
8455 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
8460 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x
; then
8462 eval "DEFAULT_$LINE"
8467 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8471 eval "$ac_cv_use_statbmp"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8476 if test "$wxUSE_STATBMP" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8489 # Check whether --enable-statbox or --disable-statbox was given.
8490 if test "${enable_statbox+set}" = set; then
8491 enableval
="$enable_statbox"
8493 if test "$enableval" = yes; then
8494 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
8496 ac_cv_use_statbox
='wxUSE_STATBOX=no'
8501 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x
; then
8503 eval "DEFAULT_$LINE"
8508 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8512 eval "$ac_cv_use_statbox"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8517 if test "$wxUSE_STATBOX" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8530 # Check whether --enable-statline or --disable-statline was given.
8531 if test "${enable_statline+set}" = set; then
8532 enableval
="$enable_statline"
8534 if test "$enableval" = yes; then
8535 ac_cv_use_statline
='wxUSE_STATLINE=yes'
8537 ac_cv_use_statline
='wxUSE_STATLINE=no'
8542 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x
; then
8544 eval "DEFAULT_$LINE"
8549 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8553 eval "$ac_cv_use_statline"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8558 if test "$wxUSE_STATLINE" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8571 # Check whether --enable-stattext or --disable-stattext was given.
8572 if test "${enable_stattext+set}" = set; then
8573 enableval
="$enable_stattext"
8575 if test "$enableval" = yes; then
8576 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
8578 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
8583 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x
; then
8585 eval "DEFAULT_$LINE"
8590 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8594 eval "$ac_cv_use_stattext"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8599 if test "$wxUSE_STATTEXT" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8612 # Check whether --enable-statusbar or --disable-statusbar was given.
8613 if test "${enable_statusbar+set}" = set; then
8614 enableval
="$enable_statusbar"
8616 if test "$enableval" = yes; then
8617 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
8619 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
8624 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x
; then
8626 eval "DEFAULT_$LINE"
8631 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8635 eval "$ac_cv_use_statusbar"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8640 if test "$wxUSE_STATUSBAR" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8653 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8654 if test "${enable_tabdialog+set}" = set; then
8655 enableval
="$enable_tabdialog"
8657 if test "$enableval" = yes; then
8658 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
8660 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
8665 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x
; then
8667 eval "DEFAULT_$LINE"
8672 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8676 eval "$ac_cv_use_tabdialog"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8681 if test "$wxUSE_TABDIALOG" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8694 # Check whether --enable-textctrl or --disable-textctrl was given.
8695 if test "${enable_textctrl+set}" = set; then
8696 enableval
="$enable_textctrl"
8698 if test "$enableval" = yes; then
8699 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
8701 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
8706 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x
; then
8708 eval "DEFAULT_$LINE"
8713 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8717 eval "$ac_cv_use_textctrl"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8722 if test "$wxUSE_TEXTCTRL" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8735 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8736 if test "${enable_togglebtn+set}" = set; then
8737 enableval
="$enable_togglebtn"
8739 if test "$enableval" = yes; then
8740 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
8742 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
8747 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x
; then
8749 eval "DEFAULT_$LINE"
8754 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8758 eval "$ac_cv_use_togglebtn"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8763 if test "$wxUSE_TOGGLEBTN" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8776 # Check whether --enable-toolbar or --disable-toolbar was given.
8777 if test "${enable_toolbar+set}" = set; then
8778 enableval
="$enable_toolbar"
8780 if test "$enableval" = yes; then
8781 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
8783 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
8788 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x
; then
8790 eval "DEFAULT_$LINE"
8795 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8799 eval "$ac_cv_use_toolbar"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8804 if test "$wxUSE_TOOLBAR" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8817 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8818 if test "${enable_tbarnative+set}" = set; then
8819 enableval
="$enable_tbarnative"
8821 if test "$enableval" = yes; then
8822 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
8824 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
8829 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x
; then
8831 eval "DEFAULT_$LINE"
8836 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8840 eval "$ac_cv_use_tbarnative"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8845 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8858 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8859 if test "${enable_tbarsmpl+set}" = set; then
8860 enableval
="$enable_tbarsmpl"
8862 if test "$enableval" = yes; then
8863 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
8865 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
8870 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x
; then
8872 eval "DEFAULT_$LINE"
8877 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8881 eval "$ac_cv_use_tbarsmpl"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8886 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8899 # Check whether --enable-treectrl or --disable-treectrl was given.
8900 if test "${enable_treectrl+set}" = set; then
8901 enableval
="$enable_treectrl"
8903 if test "$enableval" = yes; then
8904 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
8906 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
8911 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x
; then
8913 eval "DEFAULT_$LINE"
8918 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8922 eval "$ac_cv_use_treectrl"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8927 if test "$wxUSE_TREECTRL" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8940 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8941 if test "${enable_tipwindow+set}" = set; then
8942 enableval
="$enable_tipwindow"
8944 if test "$enableval" = yes; then
8945 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
8947 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
8952 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x
; then
8954 eval "DEFAULT_$LINE"
8959 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8963 eval "$ac_cv_use_tipwindow"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8968 if test "$wxUSE_TIPWINDOW" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8981 # Check whether --enable-popupwin or --disable-popupwin was given.
8982 if test "${enable_popupwin+set}" = set; then
8983 enableval
="$enable_popupwin"
8985 if test "$enableval" = yes; then
8986 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
8988 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
8993 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x
; then
8995 eval "DEFAULT_$LINE"
9000 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9004 eval "$ac_cv_use_popupwin"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9009 if test "$wxUSE_POPUPWIN" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9024 # Check whether --enable-commondlg or --disable-commondlg was given.
9025 if test "${enable_commondlg+set}" = set; then
9026 enableval
="$enable_commondlg"
9028 if test "$enableval" = yes; then
9029 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
9031 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
9036 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9037 if test "x$LINE" != x
; then
9038 eval "DEFAULT_$LINE"
9043 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9047 eval "$ac_cv_use_commondlg"
9048 if test "$no_cache" != 1; then
9049 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9052 if test "$wxUSE_COMMONDLGS" = yes; then
9053 echo "$as_me:$LINENO: result: yes" >&5
9054 echo "${ECHO_T}yes" >&6
9056 echo "$as_me:$LINENO: result: no" >&5
9057 echo "${ECHO_T}no" >&6
9062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9063 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9065 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9066 if test "${enable_choicedlg+set}" = set; then
9067 enableval
="$enable_choicedlg"
9069 if test "$enableval" = yes; then
9070 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
9072 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
9077 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9078 if test "x$LINE" != x
; then
9079 eval "DEFAULT_$LINE"
9084 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9088 eval "$ac_cv_use_choicedlg"
9089 if test "$no_cache" != 1; then
9090 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9093 if test "$wxUSE_CHOICEDLG" = yes; then
9094 echo "$as_me:$LINENO: result: yes" >&5
9095 echo "${ECHO_T}yes" >&6
9097 echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6
9103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9104 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9106 # Check whether --enable-coldlg or --disable-coldlg was given.
9107 if test "${enable_coldlg+set}" = set; then
9108 enableval
="$enable_coldlg"
9110 if test "$enableval" = yes; then
9111 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
9113 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
9118 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9119 if test "x$LINE" != x
; then
9120 eval "DEFAULT_$LINE"
9125 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9129 eval "$ac_cv_use_coldlg"
9130 if test "$no_cache" != 1; then
9131 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9134 if test "$wxUSE_COLOURDLG" = yes; then
9135 echo "$as_me:$LINENO: result: yes" >&5
9136 echo "${ECHO_T}yes" >&6
9138 echo "$as_me:$LINENO: result: no" >&5
9139 echo "${ECHO_T}no" >&6
9144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9145 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9147 # Check whether --enable-filedlg or --disable-filedlg was given.
9148 if test "${enable_filedlg+set}" = set; then
9149 enableval
="$enable_filedlg"
9151 if test "$enableval" = yes; then
9152 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
9154 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
9159 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x
; then
9161 eval "DEFAULT_$LINE"
9166 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9170 eval "$ac_cv_use_filedlg"
9171 if test "$no_cache" != 1; then
9172 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9175 if test "$wxUSE_FILEDLG" = yes; then
9176 echo "$as_me:$LINENO: result: yes" >&5
9177 echo "${ECHO_T}yes" >&6
9179 echo "$as_me:$LINENO: result: no" >&5
9180 echo "${ECHO_T}no" >&6
9185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9186 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9188 # Check whether --enable-finddlg or --disable-finddlg was given.
9189 if test "${enable_finddlg+set}" = set; then
9190 enableval
="$enable_finddlg"
9192 if test "$enableval" = yes; then
9193 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
9195 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
9200 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9201 if test "x$LINE" != x
; then
9202 eval "DEFAULT_$LINE"
9207 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9211 eval "$ac_cv_use_finddlg"
9212 if test "$no_cache" != 1; then
9213 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9216 if test "$wxUSE_FINDREPLDLG" = yes; then
9217 echo "$as_me:$LINENO: result: yes" >&5
9218 echo "${ECHO_T}yes" >&6
9220 echo "$as_me:$LINENO: result: no" >&5
9221 echo "${ECHO_T}no" >&6
9226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9227 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9229 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9230 if test "${enable_fontdlg+set}" = set; then
9231 enableval
="$enable_fontdlg"
9233 if test "$enableval" = yes; then
9234 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
9236 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
9241 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9242 if test "x$LINE" != x
; then
9243 eval "DEFAULT_$LINE"
9248 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9252 eval "$ac_cv_use_fontdlg"
9253 if test "$no_cache" != 1; then
9254 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9257 if test "$wxUSE_FONTDLG" = yes; then
9258 echo "$as_me:$LINENO: result: yes" >&5
9259 echo "${ECHO_T}yes" >&6
9261 echo "$as_me:$LINENO: result: no" >&5
9262 echo "${ECHO_T}no" >&6
9267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9268 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9270 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9271 if test "${enable_dirdlg+set}" = set; then
9272 enableval
="$enable_dirdlg"
9274 if test "$enableval" = yes; then
9275 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
9277 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
9282 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9283 if test "x$LINE" != x
; then
9284 eval "DEFAULT_$LINE"
9289 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9293 eval "$ac_cv_use_dirdlg"
9294 if test "$no_cache" != 1; then
9295 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9298 if test "$wxUSE_DIRDLG" = yes; then
9299 echo "$as_me:$LINENO: result: yes" >&5
9300 echo "${ECHO_T}yes" >&6
9302 echo "$as_me:$LINENO: result: no" >&5
9303 echo "${ECHO_T}no" >&6
9308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9309 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9311 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9312 if test "${enable_msgdlg+set}" = set; then
9313 enableval
="$enable_msgdlg"
9315 if test "$enableval" = yes; then
9316 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
9318 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
9323 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9324 if test "x$LINE" != x
; then
9325 eval "DEFAULT_$LINE"
9330 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9334 eval "$ac_cv_use_msgdlg"
9335 if test "$no_cache" != 1; then
9336 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9339 if test "$wxUSE_MSGDLG" = yes; then
9340 echo "$as_me:$LINENO: result: yes" >&5
9341 echo "${ECHO_T}yes" >&6
9343 echo "$as_me:$LINENO: result: no" >&5
9344 echo "${ECHO_T}no" >&6
9349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9350 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9352 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9353 if test "${enable_numberdlg+set}" = set; then
9354 enableval
="$enable_numberdlg"
9356 if test "$enableval" = yes; then
9357 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
9359 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
9364 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9365 if test "x$LINE" != x
; then
9366 eval "DEFAULT_$LINE"
9371 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9375 eval "$ac_cv_use_numberdlg"
9376 if test "$no_cache" != 1; then
9377 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9380 if test "$wxUSE_NUMBERDLG" = yes; then
9381 echo "$as_me:$LINENO: result: yes" >&5
9382 echo "${ECHO_T}yes" >&6
9384 echo "$as_me:$LINENO: result: no" >&5
9385 echo "${ECHO_T}no" >&6
9390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9393 # Check whether --enable-splash or --disable-splash was given.
9394 if test "${enable_splash+set}" = set; then
9395 enableval
="$enable_splash"
9397 if test "$enableval" = yes; then
9398 ac_cv_use_splash
='wxUSE_SPLASH=yes'
9400 ac_cv_use_splash
='wxUSE_SPLASH=no'
9405 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9406 if test "x$LINE" != x
; then
9407 eval "DEFAULT_$LINE"
9412 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9416 eval "$ac_cv_use_splash"
9417 if test "$no_cache" != 1; then
9418 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9421 if test "$wxUSE_SPLASH" = yes; then
9422 echo "$as_me:$LINENO: result: yes" >&5
9423 echo "${ECHO_T}yes" >&6
9425 echo "$as_me:$LINENO: result: no" >&5
9426 echo "${ECHO_T}no" >&6
9431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9434 # Check whether --enable-textdlg or --disable-textdlg was given.
9435 if test "${enable_textdlg+set}" = set; then
9436 enableval
="$enable_textdlg"
9438 if test "$enableval" = yes; then
9439 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
9441 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
9446 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9447 if test "x$LINE" != x
; then
9448 eval "DEFAULT_$LINE"
9453 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9457 eval "$ac_cv_use_textdlg"
9458 if test "$no_cache" != 1; then
9459 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9462 if test "$wxUSE_TEXTDLG" = yes; then
9463 echo "$as_me:$LINENO: result: yes" >&5
9464 echo "${ECHO_T}yes" >&6
9466 echo "$as_me:$LINENO: result: no" >&5
9467 echo "${ECHO_T}no" >&6
9472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9473 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9475 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9476 if test "${enable_tipdlg+set}" = set; then
9477 enableval
="$enable_tipdlg"
9479 if test "$enableval" = yes; then
9480 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
9482 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
9487 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9488 if test "x$LINE" != x
; then
9489 eval "DEFAULT_$LINE"
9494 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9498 eval "$ac_cv_use_tipdlg"
9499 if test "$no_cache" != 1; then
9500 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9503 if test "$wxUSE_STARTUP_TIPS" = yes; then
9504 echo "$as_me:$LINENO: result: yes" >&5
9505 echo "${ECHO_T}yes" >&6
9507 echo "$as_me:$LINENO: result: no" >&5
9508 echo "${ECHO_T}no" >&6
9513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9514 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9516 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9517 if test "${enable_progressdlg+set}" = set; then
9518 enableval
="$enable_progressdlg"
9520 if test "$enableval" = yes; then
9521 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
9523 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
9528 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x
; then
9530 eval "DEFAULT_$LINE"
9535 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9539 eval "$ac_cv_use_progressdlg"
9540 if test "$no_cache" != 1; then
9541 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9544 if test "$wxUSE_PROGRESSDLG" = yes; then
9545 echo "$as_me:$LINENO: result: yes" >&5
9546 echo "${ECHO_T}yes" >&6
9548 echo "$as_me:$LINENO: result: no" >&5
9549 echo "${ECHO_T}no" >&6
9554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9555 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9557 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9558 if test "${enable_wizarddlg+set}" = set; then
9559 enableval
="$enable_wizarddlg"
9561 if test "$enableval" = yes; then
9562 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
9564 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
9569 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9570 if test "x$LINE" != x
; then
9571 eval "DEFAULT_$LINE"
9576 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9580 eval "$ac_cv_use_wizarddlg"
9581 if test "$no_cache" != 1; then
9582 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9585 if test "$wxUSE_WIZARDDLG" = yes; then
9586 echo "$as_me:$LINENO: result: yes" >&5
9587 echo "${ECHO_T}yes" >&6
9589 echo "$as_me:$LINENO: result: no" >&5
9590 echo "${ECHO_T}no" >&6
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9600 # Check whether --enable-menus or --disable-menus was given.
9601 if test "${enable_menus+set}" = set; then
9602 enableval
="$enable_menus"
9604 if test "$enableval" = yes; then
9605 ac_cv_use_menus
='wxUSE_MENUS=yes'
9607 ac_cv_use_menus
='wxUSE_MENUS=no'
9612 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x
; then
9614 eval "DEFAULT_$LINE"
9619 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9623 eval "$ac_cv_use_menus"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9628 if test "$wxUSE_MENUS" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9641 # Check whether --enable-miniframe or --disable-miniframe was given.
9642 if test "${enable_miniframe+set}" = set; then
9643 enableval
="$enable_miniframe"
9645 if test "$enableval" = yes; then
9646 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
9648 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
9653 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x
; then
9655 eval "DEFAULT_$LINE"
9660 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9664 eval "$ac_cv_use_miniframe"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9669 if test "$wxUSE_MINIFRAME" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9682 # Check whether --enable-tooltips or --disable-tooltips was given.
9683 if test "${enable_tooltips+set}" = set; then
9684 enableval
="$enable_tooltips"
9686 if test "$enableval" = yes; then
9687 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
9689 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
9694 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x
; then
9696 eval "DEFAULT_$LINE"
9701 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9705 eval "$ac_cv_use_tooltips"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9710 if test "$wxUSE_TOOLTIPS" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9723 # Check whether --enable-splines or --disable-splines was given.
9724 if test "${enable_splines+set}" = set; then
9725 enableval
="$enable_splines"
9727 if test "$enableval" = yes; then
9728 ac_cv_use_splines
='wxUSE_SPLINES=yes'
9730 ac_cv_use_splines
='wxUSE_SPLINES=no'
9735 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x
; then
9737 eval "DEFAULT_$LINE"
9742 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9746 eval "$ac_cv_use_splines"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9751 if test "$wxUSE_SPLINES" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9764 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9765 if test "${enable_mousewheel+set}" = set; then
9766 enableval
="$enable_mousewheel"
9768 if test "$enableval" = yes; then
9769 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
9771 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
9776 LINE
=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x
; then
9778 eval "DEFAULT_$LINE"
9783 ac_cv_use_mousewheel
='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
9787 eval "$ac_cv_use_mousewheel"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
9792 if test "$wxUSE_MOUSEWHEEL" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9805 # Check whether --enable-validators or --disable-validators was given.
9806 if test "${enable_validators+set}" = set; then
9807 enableval
="$enable_validators"
9809 if test "$enableval" = yes; then
9810 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
9812 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
9817 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x
; then
9819 eval "DEFAULT_$LINE"
9824 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9828 eval "$ac_cv_use_validators"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9833 if test "$wxUSE_VALIDATORS" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9846 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9847 if test "${enable_busyinfo+set}" = set; then
9848 enableval
="$enable_busyinfo"
9850 if test "$enableval" = yes; then
9851 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
9853 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
9858 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x
; then
9860 eval "DEFAULT_$LINE"
9865 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9869 eval "$ac_cv_use_busyinfo"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9874 if test "$wxUSE_BUSYINFO" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9887 # Check whether --enable-joystick or --disable-joystick was given.
9888 if test "${enable_joystick+set}" = set; then
9889 enableval
="$enable_joystick"
9891 if test "$enableval" = yes; then
9892 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
9894 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
9899 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x
; then
9901 eval "DEFAULT_$LINE"
9906 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9910 eval "$ac_cv_use_joystick"
9911 if test "$no_cache" != 1; then
9912 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9915 if test "$wxUSE_JOYSTICK" = yes; then
9916 echo "$as_me:$LINENO: result: yes" >&5
9917 echo "${ECHO_T}yes" >&6
9919 echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6
9925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9928 # Check whether --enable-metafile or --disable-metafile was given.
9929 if test "${enable_metafile+set}" = set; then
9930 enableval
="$enable_metafile"
9932 if test "$enableval" = yes; then
9933 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
9935 ac_cv_use_metafile
='wxUSE_METAFILE=no'
9940 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9941 if test "x$LINE" != x
; then
9942 eval "DEFAULT_$LINE"
9947 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9951 eval "$ac_cv_use_metafile"
9952 if test "$no_cache" != 1; then
9953 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9956 if test "$wxUSE_METAFILE" = yes; then
9957 echo "$as_me:$LINENO: result: yes" >&5
9958 echo "${ECHO_T}yes" >&6
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9967 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9969 # Check whether --enable-dragimage or --disable-dragimage was given.
9970 if test "${enable_dragimage+set}" = set; then
9971 enableval
="$enable_dragimage"
9973 if test "$enableval" = yes; then
9974 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
9976 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
9981 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9982 if test "x$LINE" != x
; then
9983 eval "DEFAULT_$LINE"
9988 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9992 eval "$ac_cv_use_dragimage"
9993 if test "$no_cache" != 1; then
9994 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9997 if test "$wxUSE_DRAGIMAGE" = yes; then
9998 echo "$as_me:$LINENO: result: yes" >&5
9999 echo "${ECHO_T}yes" >&6
10001 echo "$as_me:$LINENO: result: no" >&5
10002 echo "${ECHO_T}no" >&6
10007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10010 # Check whether --enable-accessibility or --disable-accessibility was given.
10011 if test "${enable_accessibility+set}" = set; then
10012 enableval
="$enable_accessibility"
10014 if test "$enableval" = yes; then
10015 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
10017 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
10022 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10023 if test "x$LINE" != x
; then
10024 eval "DEFAULT_$LINE"
10029 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10033 eval "$ac_cv_use_accessibility"
10034 if test "$no_cache" != 1; then
10035 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10038 if test "$wxUSE_ACCESSIBILITY" = yes; then
10039 echo "$as_me:$LINENO: result: yes" >&5
10040 echo "${ECHO_T}yes" >&6
10042 echo "$as_me:$LINENO: result: no" >&5
10043 echo "${ECHO_T}no" >&6
10047 if test "$wxUSE_MSW" = "1"; then
10050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10053 # Check whether --enable-dccache or --disable-dccache was given.
10054 if test "${enable_dccache+set}" = set; then
10055 enableval
="$enable_dccache"
10057 if test "$enableval" = yes; then
10058 ac_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
10060 ac_cv_use_dccache
='wxUSE_DC_CACHEING=no'
10065 LINE
=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10066 if test "x$LINE" != x
; then
10067 eval "DEFAULT_$LINE"
10072 ac_cv_use_dccache
='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10076 eval "$ac_cv_use_dccache"
10077 if test "$no_cache" != 1; then
10078 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10081 if test "$wxUSE_DC_CACHEING" = yes; then
10082 echo "$as_me:$LINENO: result: yes" >&5
10083 echo "${ECHO_T}yes" >&6
10085 echo "$as_me:$LINENO: result: no" >&5
10086 echo "${ECHO_T}no" >&6
10094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10095 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10097 # Check whether --enable-palette or --disable-palette was given.
10098 if test "${enable_palette+set}" = set; then
10099 enableval
="$enable_palette"
10101 if test "$enableval" = yes; then
10102 ac_cv_use_palette
='wxUSE_PALETTE=yes'
10104 ac_cv_use_palette
='wxUSE_PALETTE=no'
10109 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10110 if test "x$LINE" != x
; then
10111 eval "DEFAULT_$LINE"
10116 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10120 eval "$ac_cv_use_palette"
10121 if test "$no_cache" != 1; then
10122 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10125 if test "$wxUSE_PALETTE" = yes; then
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10129 echo "$as_me:$LINENO: result: no" >&5
10130 echo "${ECHO_T}no" >&6
10135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10136 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10138 # Check whether --enable-image or --disable-image was given.
10139 if test "${enable_image+set}" = set; then
10140 enableval
="$enable_image"
10142 if test "$enableval" = yes; then
10143 ac_cv_use_image
='wxUSE_IMAGE=yes'
10145 ac_cv_use_image
='wxUSE_IMAGE=no'
10150 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10151 if test "x$LINE" != x
; then
10152 eval "DEFAULT_$LINE"
10157 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10161 eval "$ac_cv_use_image"
10162 if test "$no_cache" != 1; then
10163 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10166 if test "$wxUSE_IMAGE" = yes; then
10167 echo "$as_me:$LINENO: result: yes" >&5
10168 echo "${ECHO_T}yes" >&6
10170 echo "$as_me:$LINENO: result: no" >&5
10171 echo "${ECHO_T}no" >&6
10176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10177 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10179 # Check whether --enable-gif or --disable-gif was given.
10180 if test "${enable_gif+set}" = set; then
10181 enableval
="$enable_gif"
10183 if test "$enableval" = yes; then
10184 ac_cv_use_gif
='wxUSE_GIF=yes'
10186 ac_cv_use_gif
='wxUSE_GIF=no'
10191 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10192 if test "x$LINE" != x
; then
10193 eval "DEFAULT_$LINE"
10198 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10202 eval "$ac_cv_use_gif"
10203 if test "$no_cache" != 1; then
10204 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10207 if test "$wxUSE_GIF" = yes; then
10208 echo "$as_me:$LINENO: result: yes" >&5
10209 echo "${ECHO_T}yes" >&6
10211 echo "$as_me:$LINENO: result: no" >&5
10212 echo "${ECHO_T}no" >&6
10217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10218 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10220 # Check whether --enable-pcx or --disable-pcx was given.
10221 if test "${enable_pcx+set}" = set; then
10222 enableval
="$enable_pcx"
10224 if test "$enableval" = yes; then
10225 ac_cv_use_pcx
='wxUSE_PCX=yes'
10227 ac_cv_use_pcx
='wxUSE_PCX=no'
10232 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10233 if test "x$LINE" != x
; then
10234 eval "DEFAULT_$LINE"
10239 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10243 eval "$ac_cv_use_pcx"
10244 if test "$no_cache" != 1; then
10245 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10248 if test "$wxUSE_PCX" = yes; then
10249 echo "$as_me:$LINENO: result: yes" >&5
10250 echo "${ECHO_T}yes" >&6
10252 echo "$as_me:$LINENO: result: no" >&5
10253 echo "${ECHO_T}no" >&6
10258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10261 # Check whether --enable-iff or --disable-iff was given.
10262 if test "${enable_iff+set}" = set; then
10263 enableval
="$enable_iff"
10265 if test "$enableval" = yes; then
10266 ac_cv_use_iff
='wxUSE_IFF=yes'
10268 ac_cv_use_iff
='wxUSE_IFF=no'
10273 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10274 if test "x$LINE" != x
; then
10275 eval "DEFAULT_$LINE"
10280 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10284 eval "$ac_cv_use_iff"
10285 if test "$no_cache" != 1; then
10286 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10289 if test "$wxUSE_IFF" = yes; then
10290 echo "$as_me:$LINENO: result: yes" >&5
10291 echo "${ECHO_T}yes" >&6
10293 echo "$as_me:$LINENO: result: no" >&5
10294 echo "${ECHO_T}no" >&6
10299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10300 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10302 # Check whether --enable-pnm or --disable-pnm was given.
10303 if test "${enable_pnm+set}" = set; then
10304 enableval
="$enable_pnm"
10306 if test "$enableval" = yes; then
10307 ac_cv_use_pnm
='wxUSE_PNM=yes'
10309 ac_cv_use_pnm
='wxUSE_PNM=no'
10314 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10315 if test "x$LINE" != x
; then
10316 eval "DEFAULT_$LINE"
10321 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10325 eval "$ac_cv_use_pnm"
10326 if test "$no_cache" != 1; then
10327 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10330 if test "$wxUSE_PNM" = yes; then
10331 echo "$as_me:$LINENO: result: yes" >&5
10332 echo "${ECHO_T}yes" >&6
10334 echo "$as_me:$LINENO: result: no" >&5
10335 echo "${ECHO_T}no" >&6
10340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10341 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10343 # Check whether --enable-xpm or --disable-xpm was given.
10344 if test "${enable_xpm+set}" = set; then
10345 enableval
="$enable_xpm"
10347 if test "$enableval" = yes; then
10348 ac_cv_use_xpm
='wxUSE_XPM=yes'
10350 ac_cv_use_xpm
='wxUSE_XPM=no'
10355 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10356 if test "x$LINE" != x
; then
10357 eval "DEFAULT_$LINE"
10362 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10366 eval "$ac_cv_use_xpm"
10367 if test "$no_cache" != 1; then
10368 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10371 if test "$wxUSE_XPM" = yes; then
10372 echo "$as_me:$LINENO: result: yes" >&5
10373 echo "${ECHO_T}yes" >&6
10375 echo "$as_me:$LINENO: result: no" >&5
10376 echo "${ECHO_T}no" >&6
10381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10382 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10384 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10385 if test "${enable_ico_cur+set}" = set; then
10386 enableval
="$enable_ico_cur"
10388 if test "$enableval" = yes; then
10389 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
10391 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
10396 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10397 if test "x$LINE" != x
; then
10398 eval "DEFAULT_$LINE"
10403 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10407 eval "$ac_cv_use_ico_cur"
10408 if test "$no_cache" != 1; then
10409 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10412 if test "$wxUSE_ICO_CUR" = yes; then
10413 echo "$as_me:$LINENO: result: yes" >&5
10414 echo "${ECHO_T}yes" >&6
10416 echo "$as_me:$LINENO: result: no" >&5
10417 echo "${ECHO_T}no" >&6
10425 # Check whether --with-flavour or --without-flavour was given.
10426 if test "${with_flavour+set}" = set; then
10427 withval
="$with_flavour"
10428 WX_FLAVOUR
="$withval"
10434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10435 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10437 # Check whether --enable-official_build or --disable-official_build was given.
10438 if test "${enable_official_build+set}" = set; then
10439 enableval
="$enable_official_build"
10441 if test "$enableval" = yes; then
10442 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=yes'
10444 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD=no'
10449 LINE
=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10450 if test "x$LINE" != x
; then
10451 eval "DEFAULT_$LINE"
10456 ac_cv_use_official_build
='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10460 eval "$ac_cv_use_official_build"
10461 if test "$no_cache" != 1; then
10462 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10465 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10466 echo "$as_me:$LINENO: result: yes" >&5
10467 echo "${ECHO_T}yes" >&6
10469 echo "$as_me:$LINENO: result: no" >&5
10470 echo "${ECHO_T}no" >&6
10473 # Check whether --enable-vendor or --disable-vendor was given.
10474 if test "${enable_vendor+set}" = set; then
10475 enableval
="$enable_vendor"
10476 VENDOR
="$enableval"
10478 if test "x$VENDOR" = "x"; then
10485 echo "saving argument cache $wx_arg_cache_file"
10486 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
10490 echo "$as_me:$LINENO: checking for toolkit" >&5
10491 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10493 # In Wine, we need to default to MSW, not GTK or MOTIF
10494 if test "$wxUSE_WINE" = "yes"; then
10495 DEFAULT_DEFAULT_wxUSE_GTK
=0
10496 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
10497 DEFAULT_DEFAULT_wxUSE_MSW
=1
10502 if test "$wxUSE_GUI" = "yes"; then
10504 if test "$USE_BEOS" = 1; then
10505 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10506 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10507 { (exit 1); exit 1; }; }
10510 if test "$TOOLKIT_GIVEN" = 1; then
10511 for toolkit
in `echo $ALL_TOOLKITS`; do
10513 eval "value=\$${var}"
10514 if test "x$value" = "xno"; then
10516 elif test "x$value" != "x"; then
10520 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10521 eval "wx${toolkit}_VERSION=$value"
10525 for toolkit
in `echo $ALL_TOOLKITS`; do
10526 if test "$has_toolkit_in_cache" != 1; then
10527 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
10529 var
=DEFAULT_wxUSE_
$toolkit
10531 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10532 if test "x$version" != "x"; then
10533 eval "wx${toolkit}_VERSION=$version"
10536 eval "wxUSE_$toolkit=\$${var}"
10540 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10541 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10542 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10545 *-pc-os2_emx | *-pc-os2-emx )
10546 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10549 case "$NUM_TOOLKITS" in
10553 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10554 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10555 { (exit 1); exit 1; }; }
10558 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10559 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10560 { (exit 1); exit 1; }; }
10563 # to be removed when --disable-gtk2 isn't needed
10564 if test "x$wxUSE_GTK2" = "xyes"; then
10566 elif test "x$wxUSE_GTK2" = "xno"; then
10570 for toolkit
in `echo $ALL_TOOLKITS`; do
10572 eval "value=\$${var}"
10573 if test "x$value" != x
; then
10574 cache_var
=CACHE_
$toolkit
10575 eval "cache=\$${cache_var}"
10576 if test "$cache" = 1; then
10577 echo "$var=$value" >> ${wx_arg_cache_file}
10578 eval "version=\$wx${toolkit}_VERSION"
10579 if test "x$version" != "x"; then
10580 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10583 if test "$value" = 1; then
10584 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10585 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10586 echo "${ECHO_T}$toolkit_echo" >&6
10591 if test "x$host_alias" != "x"; then
10592 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10593 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10595 echo "$as_me:$LINENO: result: base only" >&5
10596 echo "${ECHO_T}base only" >&6
10601 doesnt_want_win32
=0
10604 if test "$wxUSE_MSW" = 1 ; then
10606 BAKEFILE_FORCE_PLATFORM
=win32
10608 doesnt_want_win32
=1
10616 if test "$wxUSE_WINE" = "yes"; then
10620 LDFLAGS_GUI
="-mwindows"
10623 if test "$wants_win32" = 1 ; then
10626 cat >>confdefs.h
<<\_ACEOF
10627 #define __WIN32__ 1
10630 cat >>confdefs.h
<<\_ACEOF
10631 #define __WIN95__ 1
10634 cat >>confdefs.h
<<\_ACEOF
10635 #define __WINDOWS__ 1
10638 cat >>confdefs.h
<<\_ACEOF
10639 #define __GNUWIN32__ 1
10642 cat >>confdefs.h
<<\_ACEOF
10646 cat >>confdefs.h
<<\_ACEOF
10647 #define WINVER 0x0400
10651 if test "$doesnt_want_win32" = 1 ; then
10656 if test "$USE_UNIX" = 1 ; then
10658 cat >>confdefs.h
<<\_ACEOF
10665 cat >confcache
<<\_ACEOF
10666 # This file is a shell script that caches the results of configure
10667 # tests run on this system so they can be shared between configure
10668 # scripts and configure runs, see configure's option --config-cache.
10669 # It is not useful on other systems. If it contains results you don't
10670 # want to keep, you may remove or edit it.
10672 # config.status only pays attention to the cache file if you give it
10673 # the --recheck option to rerun configure.
10675 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10676 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10677 # following values.
10681 # The following way of writing the cache mishandles newlines in values,
10682 # but we know of no workaround that is simple, portable, and efficient.
10683 # So, don't put newlines in cache variables' values.
10684 # Ultrix sh set writes to stderr and can't be redirected directly,
10685 # and sets the high bit in the cache file unless we assign to the vars.
10688 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10690 # `set' does not quote correctly, so add quotes (double-quote
10691 # substitution turns \\\\ into \\, and sed turns \\ into \).
10694 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10697 # `set' quotes correctly as required by POSIX, so do not add quotes.
10699 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10706 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10708 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10710 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10711 if test -w $cache_file; then
10712 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10713 cat confcache
>$cache_file
10715 echo "not updating unwritable cache $cache_file"
10724 ac_cpp
='$CPP $CPPFLAGS'
10725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10728 if test -n "$ac_tool_prefix"; then
10729 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10730 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10731 echo "$as_me:$LINENO: checking for $ac_word" >&5
10732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10733 if test "${ac_cv_prog_CC+set}" = set; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 if test -n "$CC"; then
10737 ac_cv_prog_CC
="$CC" # Let the user override the test.
10739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10740 for as_dir
in $PATH
10743 test -z "$as_dir" && as_dir
=.
10744 for ac_exec_ext
in '' $ac_executable_extensions; do
10745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10746 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10756 if test -n "$CC"; then
10757 echo "$as_me:$LINENO: result: $CC" >&5
10758 echo "${ECHO_T}$CC" >&6
10760 echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6
10765 if test -z "$ac_cv_prog_CC"; then
10767 # Extract the first word of "gcc", so it can be a program name with args.
10768 set dummy gcc
; ac_word
=$2
10769 echo "$as_me:$LINENO: checking for $ac_word" >&5
10770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10772 echo $ECHO_N "(cached) $ECHO_C" >&6
10774 if test -n "$ac_ct_CC"; then
10775 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10778 for as_dir
in $PATH
10781 test -z "$as_dir" && as_dir
=.
10782 for ac_exec_ext
in '' $ac_executable_extensions; do
10783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10784 ac_cv_prog_ac_ct_CC
="gcc"
10785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10793 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10794 if test -n "$ac_ct_CC"; then
10795 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10796 echo "${ECHO_T}$ac_ct_CC" >&6
10798 echo "$as_me:$LINENO: result: no" >&5
10799 echo "${ECHO_T}no" >&6
10804 CC
="$ac_cv_prog_CC"
10807 if test -z "$CC"; then
10808 if test -n "$ac_tool_prefix"; then
10809 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10810 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10811 echo "$as_me:$LINENO: checking for $ac_word" >&5
10812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10813 if test "${ac_cv_prog_CC+set}" = set; then
10814 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 if test -n "$CC"; then
10817 ac_cv_prog_CC
="$CC" # Let the user override the test.
10819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10820 for as_dir
in $PATH
10823 test -z "$as_dir" && as_dir
=.
10824 for ac_exec_ext
in '' $ac_executable_extensions; do
10825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10826 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10836 if test -n "$CC"; then
10837 echo "$as_me:$LINENO: result: $CC" >&5
10838 echo "${ECHO_T}$CC" >&6
10840 echo "$as_me:$LINENO: result: no" >&5
10841 echo "${ECHO_T}no" >&6
10845 if test -z "$ac_cv_prog_CC"; then
10847 # Extract the first word of "cc", so it can be a program name with args.
10848 set dummy cc
; ac_word
=$2
10849 echo "$as_me:$LINENO: checking for $ac_word" >&5
10850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10852 echo $ECHO_N "(cached) $ECHO_C" >&6
10854 if test -n "$ac_ct_CC"; then
10855 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10858 for as_dir
in $PATH
10861 test -z "$as_dir" && as_dir
=.
10862 for ac_exec_ext
in '' $ac_executable_extensions; do
10863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10864 ac_cv_prog_ac_ct_CC
="cc"
10865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10873 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10874 if test -n "$ac_ct_CC"; then
10875 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10876 echo "${ECHO_T}$ac_ct_CC" >&6
10878 echo "$as_me:$LINENO: result: no" >&5
10879 echo "${ECHO_T}no" >&6
10884 CC
="$ac_cv_prog_CC"
10888 if test -z "$CC"; then
10889 # Extract the first word of "cc", so it can be a program name with args.
10890 set dummy cc
; ac_word
=$2
10891 echo "$as_me:$LINENO: checking for $ac_word" >&5
10892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10893 if test "${ac_cv_prog_CC+set}" = set; then
10894 echo $ECHO_N "(cached) $ECHO_C" >&6
10896 if test -n "$CC"; then
10897 ac_cv_prog_CC
="$CC" # Let the user override the test.
10899 ac_prog_rejected
=no
10900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10901 for as_dir
in $PATH
10904 test -z "$as_dir" && as_dir
=.
10905 for ac_exec_ext
in '' $ac_executable_extensions; do
10906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10907 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10908 ac_prog_rejected
=yes
10912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10918 if test $ac_prog_rejected = yes; then
10919 # We found a bogon in the path, so make sure we never use it.
10920 set dummy
$ac_cv_prog_CC
10922 if test $# != 0; then
10923 # We chose a different compiler from the bogus one.
10924 # However, it has the same basename, so the bogon will be chosen
10925 # first if we set CC to just the basename; use the full file name.
10927 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10933 if test -n "$CC"; then
10934 echo "$as_me:$LINENO: result: $CC" >&5
10935 echo "${ECHO_T}$CC" >&6
10937 echo "$as_me:$LINENO: result: no" >&5
10938 echo "${ECHO_T}no" >&6
10942 if test -z "$CC"; then
10943 if test -n "$ac_tool_prefix"; then
10946 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10947 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10948 echo "$as_me:$LINENO: checking for $ac_word" >&5
10949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10950 if test "${ac_cv_prog_CC+set}" = set; then
10951 echo $ECHO_N "(cached) $ECHO_C" >&6
10953 if test -n "$CC"; then
10954 ac_cv_prog_CC
="$CC" # Let the user override the test.
10956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10957 for as_dir
in $PATH
10960 test -z "$as_dir" && as_dir
=.
10961 for ac_exec_ext
in '' $ac_executable_extensions; do
10962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10963 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10973 if test -n "$CC"; then
10974 echo "$as_me:$LINENO: result: $CC" >&5
10975 echo "${ECHO_T}$CC" >&6
10977 echo "$as_me:$LINENO: result: no" >&5
10978 echo "${ECHO_T}no" >&6
10981 test -n "$CC" && break
10984 if test -z "$CC"; then
10988 # Extract the first word of "$ac_prog", so it can be a program name with args.
10989 set dummy
$ac_prog; ac_word
=$2
10990 echo "$as_me:$LINENO: checking for $ac_word" >&5
10991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10992 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10993 echo $ECHO_N "(cached) $ECHO_C" >&6
10995 if test -n "$ac_ct_CC"; then
10996 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10999 for as_dir
in $PATH
11002 test -z "$as_dir" && as_dir
=.
11003 for ac_exec_ext
in '' $ac_executable_extensions; do
11004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11005 ac_cv_prog_ac_ct_CC
="$ac_prog"
11006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11014 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11015 if test -n "$ac_ct_CC"; then
11016 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11017 echo "${ECHO_T}$ac_ct_CC" >&6
11019 echo "$as_me:$LINENO: result: no" >&5
11020 echo "${ECHO_T}no" >&6
11023 test -n "$ac_ct_CC" && break
11032 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11033 See \`config.log' for more details." >&5
11034 echo "$as_me: error: no acceptable C compiler found in \$PATH
11035 See \`config.log' for more details." >&2;}
11036 { (exit 1); exit 1; }; }
11038 # Provide some information about the compiler.
11039 echo "$as_me:$LINENO:" \
11040 "checking for C compiler version" >&5
11041 ac_compiler
=`set X $ac_compile; echo $2`
11042 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11043 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); }
11047 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11048 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); }
11052 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11053 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); }
11058 cat >conftest.
$ac_ext <<_ACEOF
11061 cat confdefs.h
>>conftest.
$ac_ext
11062 cat >>conftest.
$ac_ext <<_ACEOF
11063 /* end confdefs.h. */
11073 ac_clean_files_save
=$ac_clean_files
11074 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11075 # Try to create an executable without -o first, disregard a.out.
11076 # It will help us diagnose broken compilers, and finding out an intuition
11078 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11079 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11080 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11081 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11082 (eval $ac_link_default) 2>&5
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); }; then
11086 # Find the output, starting from the most likely. This scheme is
11087 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11090 # Be careful to initialize this variable, since it used to be cached.
11091 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11093 # b.out is created by i960 compilers.
11094 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11096 test -f "$ac_file" || continue
11098 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11101 # This is the source file.
11104 # We found the default executable, but exeext='' is most
11108 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11109 # FIXME: I believe we export ac_cv_exeext for Libtool,
11110 # but it would be cool to find out if it's true. Does anybody
11111 # maintain Libtool? --akim.
11112 export ac_cv_exeext
11119 echo "$as_me: failed program was:" >&5
11120 sed 's/^/| /' conftest.
$ac_ext >&5
11122 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11123 See \`config.log' for more details." >&5
11124 echo "$as_me: error: C compiler cannot create executables
11125 See \`config.log' for more details." >&2;}
11126 { (exit 77); exit 77; }; }
11129 ac_exeext
=$ac_cv_exeext
11130 echo "$as_me:$LINENO: result: $ac_file" >&5
11131 echo "${ECHO_T}$ac_file" >&6
11133 # Check the compiler produces executables we can run. If not, either
11134 # the compiler is broken, or we cross compile.
11135 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11136 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11137 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11138 # If not cross compiling, check that we can run a simple program.
11139 if test "$cross_compiling" != yes; then
11140 if { ac_try
='./$ac_file'
11141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142 (eval $ac_try) 2>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }; }; then
11148 if test "$cross_compiling" = maybe
; then
11149 cross_compiling
=yes
11151 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11152 If you meant to cross compile, use \`--host'.
11153 See \`config.log' for more details." >&5
11154 echo "$as_me: error: cannot run C compiled programs.
11155 If you meant to cross compile, use \`--host'.
11156 See \`config.log' for more details." >&2;}
11157 { (exit 1); exit 1; }; }
11161 echo "$as_me:$LINENO: result: yes" >&5
11162 echo "${ECHO_T}yes" >&6
11164 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11165 ac_clean_files
=$ac_clean_files_save
11166 # Check the compiler produces executables we can run. If not, either
11167 # the compiler is broken, or we cross compile.
11168 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11169 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11170 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11171 echo "${ECHO_T}$cross_compiling" >&6
11173 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11174 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11176 (eval $ac_link) 2>&5
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); }; then
11180 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11182 # work properly (i.e., refer to `conftest.exe'), while it won't with
11184 for ac_file
in conftest.exe conftest conftest.
*; do
11185 test -f "$ac_file" || continue
11187 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11188 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11189 export ac_cv_exeext
11195 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11196 See \`config.log' for more details." >&5
11197 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11198 See \`config.log' for more details." >&2;}
11199 { (exit 1); exit 1; }; }
11202 rm -f conftest
$ac_cv_exeext
11203 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11204 echo "${ECHO_T}$ac_cv_exeext" >&6
11206 rm -f conftest.
$ac_ext
11207 EXEEXT
=$ac_cv_exeext
11209 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11210 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11211 if test "${ac_cv_objext+set}" = set; then
11212 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 cat >conftest.
$ac_ext <<_ACEOF
11217 cat confdefs.h
>>conftest.
$ac_ext
11218 cat >>conftest.
$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11229 rm -f conftest.o conftest.obj
11230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11231 (eval $ac_compile) 2>&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); }; then
11235 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11237 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11238 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11243 echo "$as_me: failed program was:" >&5
11244 sed 's/^/| /' conftest.
$ac_ext >&5
11246 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11247 See \`config.log' for more details." >&5
11248 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11249 See \`config.log' for more details." >&2;}
11250 { (exit 1); exit 1; }; }
11253 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11255 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11256 echo "${ECHO_T}$ac_cv_objext" >&6
11257 OBJEXT
=$ac_cv_objext
11259 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11260 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11261 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11262 echo $ECHO_N "(cached) $ECHO_C" >&6
11264 cat >conftest.
$ac_ext <<_ACEOF
11267 cat confdefs.h
>>conftest.
$ac_ext
11268 cat >>conftest.
$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11282 rm -f conftest.
$ac_objext
11283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11284 (eval $ac_compile) 2>conftest.er1
11286 grep -v '^ *+' conftest.er1
>conftest.err
11288 cat conftest.err
>&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); } &&
11291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11293 (eval $ac_try) 2>&5
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); }; } &&
11297 { ac_try
='test -s conftest.$ac_objext'
11298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11299 (eval $ac_try) 2>&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }; }; then
11303 ac_compiler_gnu
=yes
11305 echo "$as_me: failed program was:" >&5
11306 sed 's/^/| /' conftest.
$ac_ext >&5
11310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11311 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11314 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11315 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11316 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11317 ac_test_CFLAGS
=${CFLAGS+set}
11318 ac_save_CFLAGS
=$CFLAGS
11320 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11321 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11322 if test "${ac_cv_prog_cc_g+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11325 cat >conftest.
$ac_ext <<_ACEOF
11328 cat confdefs.h
>>conftest.
$ac_ext
11329 cat >>conftest.
$ac_ext <<_ACEOF
11330 /* end confdefs.h. */
11340 rm -f conftest.
$ac_objext
11341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11342 (eval $ac_compile) 2>conftest.er1
11344 grep -v '^ *+' conftest.er1
>conftest.err
11346 cat conftest.err
>&5
11347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11348 (exit $ac_status); } &&
11349 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11351 (eval $ac_try) 2>&5
11353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11354 (exit $ac_status); }; } &&
11355 { ac_try
='test -s conftest.$ac_objext'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; }; then
11361 ac_cv_prog_cc_g
=yes
11363 echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.
$ac_ext >&5
11368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11370 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11371 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11372 if test "$ac_test_CFLAGS" = set; then
11373 CFLAGS
=$ac_save_CFLAGS
11374 elif test $ac_cv_prog_cc_g = yes; then
11375 if test "$GCC" = yes; then
11381 if test "$GCC" = yes; then
11387 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11388 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11389 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11392 ac_cv_prog_cc_stdc
=no
11394 cat >conftest.
$ac_ext <<_ACEOF
11397 cat confdefs.h
>>conftest.
$ac_ext
11398 cat >>conftest.
$ac_ext <<_ACEOF
11399 /* end confdefs.h. */
11400 #include <stdarg.h>
11402 #include <sys/types.h>
11403 #include <sys/stat.h>
11404 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11405 struct buf { int x; };
11406 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11407 static char *e (p, i)
11413 static char *f (char * (*g) (char **, int), char **p, ...)
11418 s = g (p, va_arg (v,int));
11423 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11424 function prototypes and stuff, but not '\xHH' hex character constants.
11425 These don't provoke an error unfortunately, instead are silently treated
11426 as 'x'. The following induces an error, until -std1 is added to get
11427 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11428 array size at least. It's necessary to write '\x00'==0 to get something
11429 that's true only with -std1. */
11430 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11432 int test (int i, double x);
11433 struct s1 {int (*f) (int a);};
11434 struct s2 {int (*f) (double a);};
11435 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11441 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11446 # Don't try gcc -ansi; that turns off useful extensions and
11447 # breaks some systems' header files.
11448 # AIX -qlanglvl=ansi
11449 # Ultrix and OSF/1 -std1
11450 # HP-UX 10.20 and later -Ae
11451 # HP-UX older versions -Aa -D_HPUX_SOURCE
11452 # SVR4 -Xc -D__EXTENSIONS__
11453 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11455 CC
="$ac_save_CC $ac_arg"
11456 rm -f conftest.
$ac_objext
11457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11458 (eval $ac_compile) 2>conftest.er1
11460 grep -v '^ *+' conftest.er1
>conftest.err
11462 cat conftest.err
>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } &&
11465 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467 (eval $ac_try) 2>&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; } &&
11471 { ac_try
='test -s conftest.$ac_objext'
11472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473 (eval $ac_try) 2>&5
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); }; }; then
11477 ac_cv_prog_cc_stdc
=$ac_arg
11480 echo "$as_me: failed program was:" >&5
11481 sed 's/^/| /' conftest.
$ac_ext >&5
11484 rm -f conftest.err conftest.
$ac_objext
11486 rm -f conftest.
$ac_ext conftest.
$ac_objext
11491 case "x$ac_cv_prog_cc_stdc" in
11493 echo "$as_me:$LINENO: result: none needed" >&5
11494 echo "${ECHO_T}none needed" >&6 ;;
11496 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11497 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11498 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11501 # Some people use a C++ compiler to compile C. Since we use `exit',
11502 # in C++ we need to declare it. In case someone uses the same compiler
11503 # for both compiling C and C++ we need to have the C++ compiler decide
11504 # the declaration of exit, since it's the most demanding environment.
11505 cat >conftest.
$ac_ext <<_ACEOF
11506 #ifndef __cplusplus
11510 rm -f conftest.
$ac_objext
11511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11512 (eval $ac_compile) 2>conftest.er1
11514 grep -v '^ *+' conftest.er1
>conftest.err
11516 cat conftest.err
>&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); } &&
11519 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try
='test -s conftest.$ac_objext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 for ac_declaration
in \
11533 'extern "C" void std::exit (int) throw (); using std::exit;' \
11534 'extern "C" void std::exit (int); using std::exit;' \
11535 'extern "C" void exit (int) throw ();' \
11536 'extern "C" void exit (int);' \
11539 cat >conftest.
$ac_ext <<_ACEOF
11542 cat confdefs.h
>>conftest.
$ac_ext
11543 cat >>conftest.
$ac_ext <<_ACEOF
11544 /* end confdefs.h. */
11546 #include <stdlib.h>
11555 rm -f conftest.
$ac_objext
11556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11557 (eval $ac_compile) 2>conftest.er1
11559 grep -v '^ *+' conftest.er1
>conftest.err
11561 cat conftest.err
>&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } &&
11564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11566 (eval $ac_try) 2>&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); }; } &&
11570 { ac_try
='test -s conftest.$ac_objext'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; }; then
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.
$ac_ext >&5
11583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11584 cat >conftest.
$ac_ext <<_ACEOF
11587 cat confdefs.h
>>conftest.
$ac_ext
11588 cat >>conftest.
$ac_ext <<_ACEOF
11589 /* end confdefs.h. */
11599 rm -f conftest.
$ac_objext
11600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11601 (eval $ac_compile) 2>conftest.er1
11603 grep -v '^ *+' conftest.er1
>conftest.err
11605 cat conftest.err
>&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } &&
11608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11610 (eval $ac_try) 2>&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); }; } &&
11614 { ac_try
='test -s conftest.$ac_objext'
11615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11616 (eval $ac_try) 2>&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); }; }; then
11622 echo "$as_me: failed program was:" >&5
11623 sed 's/^/| /' conftest.
$ac_ext >&5
11626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11629 if test -n "$ac_declaration"; then
11630 echo '#ifdef __cplusplus' >>confdefs.h
11631 echo $ac_declaration >>confdefs.h
11632 echo '#endif' >>confdefs.h
11636 echo "$as_me: failed program was:" >&5
11637 sed 's/^/| /' conftest.
$ac_ext >&5
11640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11642 ac_cpp
='$CPP $CPPFLAGS'
11643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11647 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11648 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11649 if test "${wx_cv_c_exto+set}" = set; then
11650 echo $ECHO_N "(cached) $ECHO_C" >&6
11652 cat >conftest.
$ac_ext <<_ACEOF
11655 cat confdefs.h
>>conftest.
$ac_ext
11656 cat >>conftest.
$ac_ext <<_ACEOF
11657 /* end confdefs.h. */
11667 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11669 (eval $ac_compile) 2>&5
11671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11672 (exit $ac_status); }; then
11673 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11675 conftest.
$ac_ext.o
)
11676 wx_cv_c_exto
="-ext o"
11683 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11684 See \`config.log' for more details." >&5
11685 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11686 See \`config.log' for more details." >&2;}
11687 { (exit 1); exit 1; }; }
11691 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11694 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11695 echo "${ECHO_T}$wx_cv_c_exto" >&6
11696 if test "x$wx_cv_c_exto" '!=' "x"; then
11697 if test "c" = "c"; then
11698 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11700 if test "c" = "cxx"; then
11701 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11705 if test "x$wx_cv_c_exto" '!=' "x"; then
11706 unset ac_cv_prog_cc_g
11707 ac_test_CFLAGS
=${CFLAGS+set}
11708 ac_save_CFLAGS
=$CFLAGS
11710 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11711 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11712 if test "${ac_cv_prog_cc_g+set}" = set; then
11713 echo $ECHO_N "(cached) $ECHO_C" >&6
11715 cat >conftest.
$ac_ext <<_ACEOF
11718 cat confdefs.h
>>conftest.
$ac_ext
11719 cat >>conftest.
$ac_ext <<_ACEOF
11720 /* end confdefs.h. */
11730 rm -f conftest.
$ac_objext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11732 (eval $ac_compile) 2>conftest.er1
11734 grep -v '^ *+' conftest.er1
>conftest.err
11736 cat conftest.err
>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); } &&
11739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; } &&
11745 { ac_try
='test -s conftest.$ac_objext'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; }; then
11751 ac_cv_prog_cc_g
=yes
11753 echo "$as_me: failed program was:" >&5
11754 sed 's/^/| /' conftest.
$ac_ext >&5
11758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11760 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11761 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11762 if test "$ac_test_CFLAGS" = set; then
11763 CFLAGS
=$ac_save_CFLAGS
11764 elif test $ac_cv_prog_cc_g = yes; then
11765 if test "$GCC" = yes; then
11771 if test "$GCC" = yes; then
11779 ac_cpp
='$CPP $CPPFLAGS'
11780 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11781 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11782 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11784 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11785 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11786 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11787 echo $ECHO_N "(cached) $ECHO_C" >&6
11789 cat >conftest.
$ac_ext <<_ACEOF
11792 cat confdefs.h
>>conftest.
$ac_ext
11793 cat >>conftest.
$ac_ext <<_ACEOF
11794 /* end confdefs.h. */
11807 rm -f conftest.
$ac_objext
11808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11809 (eval $ac_compile) 2>conftest.er1
11811 grep -v '^ *+' conftest.er1
>conftest.err
11813 cat conftest.err
>&5
11814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11815 (exit $ac_status); } &&
11816 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11818 (eval $ac_try) 2>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); }; } &&
11822 { ac_try
='test -s conftest.$ac_objext'
11823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11824 (eval $ac_try) 2>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); }; }; then
11828 bakefile_compiler_mwerks
=yes
11830 echo "$as_me: failed program was:" >&5
11831 sed 's/^/| /' conftest.
$ac_ext >&5
11833 bakefile_compiler_mwerks
=no
11835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11836 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11839 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11840 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11842 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
11844 ac_cpp
='$CPP $CPPFLAGS'
11845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11851 ac_cpp
='$CPP $CPPFLAGS'
11852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11856 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11857 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11858 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 cat >conftest.
$ac_ext <<_ACEOF
11864 cat confdefs.h
>>conftest.
$ac_ext
11865 cat >>conftest.
$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11879 rm -f conftest.
$ac_objext
11880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11881 (eval $ac_compile) 2>conftest.er1
11883 grep -v '^ *+' conftest.er1
>conftest.err
11885 cat conftest.err
>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } &&
11888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try
='test -s conftest.$ac_objext'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 wx_compiler_xlc
=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11908 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11911 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11912 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11914 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11916 ac_cpp
='$CPP $CPPFLAGS'
11917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11925 ac_cpp
='$CPP $CPPFLAGS'
11926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11930 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
11931 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
11932 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 cat >conftest.
$ac_ext <<_ACEOF
11938 cat confdefs.h
>>conftest.
$ac_ext
11939 cat >>conftest.
$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11946 #ifndef _SGI_COMPILER_VERSION
11954 rm -f conftest.
$ac_objext
11955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11956 (eval $ac_compile) 2>conftest.er1
11958 grep -v '^ *+' conftest.er1
>conftest.err
11960 cat conftest.err
>&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); } &&
11963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11965 (eval $ac_try) 2>&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); }; } &&
11969 { ac_try
='test -s conftest.$ac_objext'
11970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11971 (eval $ac_try) 2>&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); }; }; then
11975 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
11977 echo "$as_me: failed program was:" >&5
11978 sed 's/^/| /' conftest.
$ac_ext >&5
11980 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
11983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11987 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
11988 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
11990 ac_cpp
='$CPP $CPPFLAGS'
11991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11995 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12005 ac_cpp
='$CPP $CPPFLAGS'
12006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12010 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12011 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12012 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12013 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 cat >conftest.
$ac_ext <<_ACEOF
12018 cat confdefs.h
>>conftest.
$ac_ext
12019 cat >>conftest.
$ac_ext <<_ACEOF
12020 /* end confdefs.h. */
12034 rm -f conftest.
$ac_objext
12035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12036 (eval $ac_compile) 2>conftest.er1
12038 grep -v '^ *+' conftest.er1
>conftest.err
12040 cat conftest.err
>&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); } &&
12043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12045 (eval $ac_try) 2>&5
12047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12048 (exit $ac_status); }; } &&
12049 { ac_try
='test -s conftest.$ac_objext'
12050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12051 (eval $ac_try) 2>&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); }; }; then
12055 bakefile_cv_c_compiler___SUNPRO_C
=yes
12057 echo "$as_me: failed program was:" >&5
12058 sed 's/^/| /' conftest.
$ac_ext >&5
12060 bakefile_cv_c_compiler___SUNPRO_C
=no
12063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12067 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12068 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12070 ac_cpp
='$CPP $CPPFLAGS'
12071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12075 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12085 ac_cpp
='$CPP $CPPFLAGS'
12086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12089 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12090 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12091 # On Suns, sometimes $CPP names a directory.
12092 if test -n "$CPP" && test -d "$CPP"; then
12095 if test -z "$CPP"; then
12096 if test "${ac_cv_prog_CPP+set}" = set; then
12097 echo $ECHO_N "(cached) $ECHO_C" >&6
12099 # Double quotes because CPP needs to be expanded
12100 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12102 ac_preproc_ok
=false
12103 for ac_c_preproc_warn_flag
in '' yes
12105 # Use a header file that comes with gcc, so configuring glibc
12106 # with a fresh cross-compiler works.
12107 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12108 # <limits.h> exists even on freestanding compilers.
12109 # On the NeXT, cc -E runs the code through the compiler's parser,
12110 # not just through cpp. "Syntax error" is here to catch this case.
12111 cat >conftest.
$ac_ext <<_ACEOF
12114 cat confdefs.h
>>conftest.
$ac_ext
12115 cat >>conftest.
$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12118 # include <limits.h>
12120 # include <assert.h>
12124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12125 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12127 grep -v '^ *+' conftest.er1
>conftest.err
12129 cat conftest.err
>&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } >/dev
/null
; then
12132 if test -s conftest.err
; then
12133 ac_cpp_err
=$ac_c_preproc_warn_flag
12134 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12141 if test -z "$ac_cpp_err"; then
12144 echo "$as_me: failed program was:" >&5
12145 sed 's/^/| /' conftest.
$ac_ext >&5
12147 # Broken: fails on valid input.
12150 rm -f conftest.err conftest.
$ac_ext
12152 # OK, works on sane cases. Now check whether non-existent headers
12153 # can be detected and how.
12154 cat >conftest.
$ac_ext <<_ACEOF
12157 cat confdefs.h
>>conftest.
$ac_ext
12158 cat >>conftest.
$ac_ext <<_ACEOF
12159 /* end confdefs.h. */
12160 #include <ac_nonexistent.h>
12162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12163 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12165 grep -v '^ *+' conftest.er1
>conftest.err
12167 cat conftest.err
>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } >/dev
/null
; then
12170 if test -s conftest.err
; then
12171 ac_cpp_err
=$ac_c_preproc_warn_flag
12172 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12179 if test -z "$ac_cpp_err"; then
12180 # Broken: success on invalid input.
12183 echo "$as_me: failed program was:" >&5
12184 sed 's/^/| /' conftest.
$ac_ext >&5
12186 # Passes both tests.
12190 rm -f conftest.err conftest.
$ac_ext
12193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12194 rm -f conftest.err conftest.
$ac_ext
12195 if $ac_preproc_ok; then
12200 ac_cv_prog_CPP
=$CPP
12203 CPP
=$ac_cv_prog_CPP
12205 ac_cv_prog_CPP
=$CPP
12207 echo "$as_me:$LINENO: result: $CPP" >&5
12208 echo "${ECHO_T}$CPP" >&6
12209 ac_preproc_ok
=false
12210 for ac_c_preproc_warn_flag
in '' yes
12212 # Use a header file that comes with gcc, so configuring glibc
12213 # with a fresh cross-compiler works.
12214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12215 # <limits.h> exists even on freestanding compilers.
12216 # On the NeXT, cc -E runs the code through the compiler's parser,
12217 # not just through cpp. "Syntax error" is here to catch this case.
12218 cat >conftest.
$ac_ext <<_ACEOF
12221 cat confdefs.h
>>conftest.
$ac_ext
12222 cat >>conftest.
$ac_ext <<_ACEOF
12223 /* end confdefs.h. */
12225 # include <limits.h>
12227 # include <assert.h>
12231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12232 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12234 grep -v '^ *+' conftest.er1
>conftest.err
12236 cat conftest.err
>&5
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 (exit $ac_status); } >/dev
/null
; then
12239 if test -s conftest.err
; then
12240 ac_cpp_err
=$ac_c_preproc_warn_flag
12241 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12248 if test -z "$ac_cpp_err"; then
12251 echo "$as_me: failed program was:" >&5
12252 sed 's/^/| /' conftest.
$ac_ext >&5
12254 # Broken: fails on valid input.
12257 rm -f conftest.err conftest.
$ac_ext
12259 # OK, works on sane cases. Now check whether non-existent headers
12260 # can be detected and how.
12261 cat >conftest.
$ac_ext <<_ACEOF
12264 cat confdefs.h
>>conftest.
$ac_ext
12265 cat >>conftest.
$ac_ext <<_ACEOF
12266 /* end confdefs.h. */
12267 #include <ac_nonexistent.h>
12269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12270 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12272 grep -v '^ *+' conftest.er1
>conftest.err
12274 cat conftest.err
>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); } >/dev
/null
; then
12277 if test -s conftest.err
; then
12278 ac_cpp_err
=$ac_c_preproc_warn_flag
12279 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12286 if test -z "$ac_cpp_err"; then
12287 # Broken: success on invalid input.
12290 echo "$as_me: failed program was:" >&5
12291 sed 's/^/| /' conftest.
$ac_ext >&5
12293 # Passes both tests.
12297 rm -f conftest.err conftest.
$ac_ext
12300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12301 rm -f conftest.err conftest.
$ac_ext
12302 if $ac_preproc_ok; then
12305 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12306 See \`config.log' for more details." >&5
12307 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12308 See \`config.log' for more details." >&2;}
12309 { (exit 1); exit 1; }; }
12313 ac_cpp
='$CPP $CPPFLAGS'
12314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12319 echo "$as_me:$LINENO: checking for egrep" >&5
12320 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12321 if test "${ac_cv_prog_egrep+set}" = set; then
12322 echo $ECHO_N "(cached) $ECHO_C" >&6
12324 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12325 then ac_cv_prog_egrep
='grep -E'
12326 else ac_cv_prog_egrep
='egrep'
12329 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12330 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12331 EGREP
=$ac_cv_prog_egrep
12334 if test $ac_cv_c_compiler_gnu = yes; then
12335 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12336 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12337 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12338 echo $ECHO_N "(cached) $ECHO_C" >&6
12340 ac_pattern
="Autoconf.*'x'"
12341 cat >conftest.
$ac_ext <<_ACEOF
12344 cat confdefs.h
>>conftest.
$ac_ext
12345 cat >>conftest.
$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12351 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12352 ac_cv_prog_gcc_traditional
=yes
12354 ac_cv_prog_gcc_traditional
=no
12359 if test $ac_cv_prog_gcc_traditional = no
; then
12360 cat >conftest.
$ac_ext <<_ACEOF
12363 cat confdefs.h
>>conftest.
$ac_ext
12364 cat >>conftest.
$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12366 #include <termio.h>
12369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12370 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12371 ac_cv_prog_gcc_traditional
=yes
12377 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12378 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12379 if test $ac_cv_prog_gcc_traditional = yes; then
12380 CC
="$CC -traditional"
12388 ac_cpp
='$CXXCPP $CPPFLAGS'
12389 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12390 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12391 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12394 CXXFLAGS
=${CXXFLAGS:=}
12398 ac_cpp
='$CXXCPP $CPPFLAGS'
12399 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12400 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12401 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12402 if test -n "$ac_tool_prefix"; then
12403 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12406 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12407 echo "$as_me:$LINENO: checking for $ac_word" >&5
12408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12409 if test "${ac_cv_prog_CXX+set}" = set; then
12410 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 if test -n "$CXX"; then
12413 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12416 for as_dir
in $PATH
12419 test -z "$as_dir" && as_dir
=.
12420 for ac_exec_ext
in '' $ac_executable_extensions; do
12421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12422 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12431 CXX
=$ac_cv_prog_CXX
12432 if test -n "$CXX"; then
12433 echo "$as_me:$LINENO: result: $CXX" >&5
12434 echo "${ECHO_T}$CXX" >&6
12436 echo "$as_me:$LINENO: result: no" >&5
12437 echo "${ECHO_T}no" >&6
12440 test -n "$CXX" && break
12443 if test -z "$CXX"; then
12445 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12447 # Extract the first word of "$ac_prog", so it can be a program name with args.
12448 set dummy
$ac_prog; ac_word
=$2
12449 echo "$as_me:$LINENO: checking for $ac_word" >&5
12450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12451 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12452 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 if test -n "$ac_ct_CXX"; then
12455 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12458 for as_dir
in $PATH
12461 test -z "$as_dir" && as_dir
=.
12462 for ac_exec_ext
in '' $ac_executable_extensions; do
12463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12464 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12473 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12474 if test -n "$ac_ct_CXX"; then
12475 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12476 echo "${ECHO_T}$ac_ct_CXX" >&6
12478 echo "$as_me:$LINENO: result: no" >&5
12479 echo "${ECHO_T}no" >&6
12482 test -n "$ac_ct_CXX" && break
12484 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12490 # Provide some information about the compiler.
12491 echo "$as_me:$LINENO:" \
12492 "checking for C++ compiler version" >&5
12493 ac_compiler
=`set X $ac_compile; echo $2`
12494 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12495 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12498 (exit $ac_status); }
12499 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12500 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }
12504 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12505 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }
12510 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12511 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12512 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12513 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 cat >conftest.
$ac_ext <<_ACEOF
12518 cat confdefs.h
>>conftest.
$ac_ext
12519 cat >>conftest.
$ac_ext <<_ACEOF
12520 /* end confdefs.h. */
12533 rm -f conftest.
$ac_objext
12534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12535 (eval $ac_compile) 2>conftest.er1
12537 grep -v '^ *+' conftest.er1
>conftest.err
12539 cat conftest.err
>&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } &&
12542 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12544 (eval $ac_try) 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); }; } &&
12548 { ac_try
='test -s conftest.$ac_objext'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; }; then
12554 ac_compiler_gnu
=yes
12556 echo "$as_me: failed program was:" >&5
12557 sed 's/^/| /' conftest.
$ac_ext >&5
12561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12562 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12565 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12566 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12567 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12568 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12569 ac_save_CXXFLAGS
=$CXXFLAGS
12571 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12572 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12573 if test "${ac_cv_prog_cxx_g+set}" = set; then
12574 echo $ECHO_N "(cached) $ECHO_C" >&6
12576 cat >conftest.
$ac_ext <<_ACEOF
12579 cat confdefs.h
>>conftest.
$ac_ext
12580 cat >>conftest.
$ac_ext <<_ACEOF
12581 /* end confdefs.h. */
12591 rm -f conftest.
$ac_objext
12592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12593 (eval $ac_compile) 2>conftest.er1
12595 grep -v '^ *+' conftest.er1
>conftest.err
12597 cat conftest.err
>&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); } &&
12600 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12602 (eval $ac_try) 2>&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; } &&
12606 { ac_try
='test -s conftest.$ac_objext'
12607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608 (eval $ac_try) 2>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); }; }; then
12612 ac_cv_prog_cxx_g
=yes
12614 echo "$as_me: failed program was:" >&5
12615 sed 's/^/| /' conftest.
$ac_ext >&5
12617 ac_cv_prog_cxx_g
=no
12619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12621 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12622 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12623 if test "$ac_test_CXXFLAGS" = set; then
12624 CXXFLAGS
=$ac_save_CXXFLAGS
12625 elif test $ac_cv_prog_cxx_g = yes; then
12626 if test "$GXX" = yes; then
12632 if test "$GXX" = yes; then
12638 for ac_declaration
in \
12640 'extern "C" void std::exit (int) throw (); using std::exit;' \
12641 'extern "C" void std::exit (int); using std::exit;' \
12642 'extern "C" void exit (int) throw ();' \
12643 'extern "C" void exit (int);' \
12646 cat >conftest.
$ac_ext <<_ACEOF
12649 cat confdefs.h
>>conftest.
$ac_ext
12650 cat >>conftest.
$ac_ext <<_ACEOF
12651 /* end confdefs.h. */
12653 #include <stdlib.h>
12662 rm -f conftest.
$ac_objext
12663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12664 (eval $ac_compile) 2>conftest.er1
12666 grep -v '^ *+' conftest.er1
>conftest.err
12668 cat conftest.err
>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); } &&
12671 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12673 (eval $ac_try) 2>&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; } &&
12677 { ac_try
='test -s conftest.$ac_objext'
12678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12679 (eval $ac_try) 2>&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); }; }; then
12685 echo "$as_me: failed program was:" >&5
12686 sed 's/^/| /' conftest.
$ac_ext >&5
12690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12691 cat >conftest.
$ac_ext <<_ACEOF
12694 cat confdefs.h
>>conftest.
$ac_ext
12695 cat >>conftest.
$ac_ext <<_ACEOF
12696 /* end confdefs.h. */
12706 rm -f conftest.
$ac_objext
12707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12708 (eval $ac_compile) 2>conftest.er1
12710 grep -v '^ *+' conftest.er1
>conftest.err
12712 cat conftest.err
>&5
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); } &&
12715 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; } &&
12721 { ac_try
='test -s conftest.$ac_objext'
12722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12723 (eval $ac_try) 2>&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); }; }; then
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.
$ac_ext >&5
12733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12736 if test -n "$ac_declaration"; then
12737 echo '#ifdef __cplusplus' >>confdefs.h
12738 echo $ac_declaration >>confdefs.h
12739 echo '#endif' >>confdefs.h
12743 ac_cpp
='$CXXCPP $CPPFLAGS'
12744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12748 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12749 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12750 if test "${wx_cv_cxx_exto+set}" = set; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6
12753 cat >conftest.
$ac_ext <<_ACEOF
12756 cat confdefs.h
>>conftest.
$ac_ext
12757 cat >>conftest.
$ac_ext <<_ACEOF
12758 /* end confdefs.h. */
12768 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12770 (eval $ac_compile) 2>&5
12772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773 (exit $ac_status); }; then
12774 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12776 conftest.
$ac_ext.o
)
12777 wx_cv_cxx_exto
="-ext o"
12784 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12785 See \`config.log' for more details." >&5
12786 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12787 See \`config.log' for more details." >&2;}
12788 { (exit 1); exit 1; }; }
12792 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12795 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12796 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12797 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12798 if test "cxx" = "c"; then
12799 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12801 if test "cxx" = "cxx"; then
12802 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12806 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12807 unset ac_cv_prog_cxx_g
12808 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12809 ac_save_CXXFLAGS
=$CXXFLAGS
12811 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12812 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12813 if test "${ac_cv_prog_cxx_g+set}" = set; then
12814 echo $ECHO_N "(cached) $ECHO_C" >&6
12816 cat >conftest.
$ac_ext <<_ACEOF
12819 cat confdefs.h
>>conftest.
$ac_ext
12820 cat >>conftest.
$ac_ext <<_ACEOF
12821 /* end confdefs.h. */
12831 rm -f conftest.
$ac_objext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12833 (eval $ac_compile) 2>conftest.er1
12835 grep -v '^ *+' conftest.er1
>conftest.err
12837 cat conftest.err
>&5
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); } &&
12840 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12842 (eval $ac_try) 2>&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); }; } &&
12846 { ac_try
='test -s conftest.$ac_objext'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; }; then
12852 ac_cv_prog_cxx_g
=yes
12854 echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.
$ac_ext >&5
12857 ac_cv_prog_cxx_g
=no
12859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12861 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12862 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12863 if test "$ac_test_CXXFLAGS" = set; then
12864 CXXFLAGS
=$ac_save_CXXFLAGS
12865 elif test $ac_cv_prog_cxx_g = yes; then
12866 if test "$GXX" = yes; then
12872 if test "$GXX" = yes; then
12880 ac_cpp
='$CXXCPP $CPPFLAGS'
12881 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12882 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12883 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12885 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
12886 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
12887 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
12888 echo $ECHO_N "(cached) $ECHO_C" >&6
12890 cat >conftest.
$ac_ext <<_ACEOF
12893 cat confdefs.h
>>conftest.
$ac_ext
12894 cat >>conftest.
$ac_ext <<_ACEOF
12895 /* end confdefs.h. */
12908 rm -f conftest.
$ac_objext
12909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12910 (eval $ac_compile) 2>conftest.er1
12912 grep -v '^ *+' conftest.er1
>conftest.err
12914 cat conftest.err
>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); } &&
12917 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12919 (eval $ac_try) 2>&5
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); }; } &&
12923 { ac_try
='test -s conftest.$ac_objext'
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; }; then
12929 bakefile_compiler_mwerks
=yes
12931 echo "$as_me: failed program was:" >&5
12932 sed 's/^/| /' conftest.
$ac_ext >&5
12934 bakefile_compiler_mwerks
=no
12936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12937 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
12940 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
12941 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
12943 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
12945 ac_cpp
='$CXXCPP $CPPFLAGS'
12946 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12947 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12948 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12952 ac_cpp
='$CXXCPP $CPPFLAGS'
12953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12957 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
12958 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
12959 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
12960 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 cat >conftest.
$ac_ext <<_ACEOF
12965 cat confdefs.h
>>conftest.
$ac_ext
12966 cat >>conftest.
$ac_ext <<_ACEOF
12967 /* end confdefs.h. */
12980 rm -f conftest.
$ac_objext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12982 (eval $ac_compile) 2>conftest.er1
12984 grep -v '^ *+' conftest.er1
>conftest.err
12986 cat conftest.err
>&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; } &&
12995 { ac_try
='test -s conftest.$ac_objext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 wx_compiler_xlc
=yes
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.
$ac_ext >&5
13008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13009 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
13012 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
13013 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
13015 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
13017 ac_cpp
='$CXXCPP $CPPFLAGS'
13018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13026 ac_cpp
='$CXXCPP $CPPFLAGS'
13027 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13028 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13029 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13031 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13032 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13033 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13036 cat >conftest.
$ac_ext <<_ACEOF
13039 cat confdefs.h
>>conftest.
$ac_ext
13040 cat >>conftest.
$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13047 #ifndef _SGI_COMPILER_VERSION
13055 rm -f conftest.
$ac_objext
13056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13057 (eval $ac_compile) 2>conftest.er1
13059 grep -v '^ *+' conftest.er1
>conftest.err
13061 cat conftest.err
>&5
13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); } &&
13064 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13066 (eval $ac_try) 2>&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); }; } &&
13070 { ac_try
='test -s conftest.$ac_objext'
13071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13072 (eval $ac_try) 2>&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; }; then
13076 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.
$ac_ext >&5
13081 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13088 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13089 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13091 ac_cpp
='$CXXCPP $CPPFLAGS'
13092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13096 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13106 ac_cpp
='$CXXCPP $CPPFLAGS'
13107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13111 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13112 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13113 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13114 echo $ECHO_N "(cached) $ECHO_C" >&6
13116 cat >conftest.
$ac_ext <<_ACEOF
13119 cat confdefs.h
>>conftest.
$ac_ext
13120 cat >>conftest.
$ac_ext <<_ACEOF
13121 /* end confdefs.h. */
13127 #ifndef __SUNPRO_CC
13135 rm -f conftest.
$ac_objext
13136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13137 (eval $ac_compile) 2>conftest.er1
13139 grep -v '^ *+' conftest.er1
>conftest.err
13141 cat conftest.err
>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } &&
13144 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; } &&
13150 { ac_try
='test -s conftest.$ac_objext'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; }; then
13156 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
13158 echo "$as_me: failed program was:" >&5
13159 sed 's/^/| /' conftest.
$ac_ext >&5
13161 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
13164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13168 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13169 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13171 ac_cpp
='$CXXCPP $CPPFLAGS'
13172 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13173 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13174 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13176 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13186 ac_cpp
='$CPP $CPPFLAGS'
13187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13192 if test -n "$ac_tool_prefix"; then
13193 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13194 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13195 echo "$as_me:$LINENO: checking for $ac_word" >&5
13196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13197 if test "${ac_cv_prog_RANLIB+set}" = set; then
13198 echo $ECHO_N "(cached) $ECHO_C" >&6
13200 if test -n "$RANLIB"; then
13201 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13204 for as_dir
in $PATH
13207 test -z "$as_dir" && as_dir
=.
13208 for ac_exec_ext
in '' $ac_executable_extensions; do
13209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13210 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13219 RANLIB
=$ac_cv_prog_RANLIB
13220 if test -n "$RANLIB"; then
13221 echo "$as_me:$LINENO: result: $RANLIB" >&5
13222 echo "${ECHO_T}$RANLIB" >&6
13224 echo "$as_me:$LINENO: result: no" >&5
13225 echo "${ECHO_T}no" >&6
13229 if test -z "$ac_cv_prog_RANLIB"; then
13230 ac_ct_RANLIB
=$RANLIB
13231 # Extract the first word of "ranlib", so it can be a program name with args.
13232 set dummy ranlib
; ac_word
=$2
13233 echo "$as_me:$LINENO: checking for $ac_word" >&5
13234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13235 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13236 echo $ECHO_N "(cached) $ECHO_C" >&6
13238 if test -n "$ac_ct_RANLIB"; then
13239 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13242 for as_dir
in $PATH
13245 test -z "$as_dir" && as_dir
=.
13246 for ac_exec_ext
in '' $ac_executable_extensions; do
13247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13248 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13255 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13258 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13259 if test -n "$ac_ct_RANLIB"; then
13260 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13261 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13263 echo "$as_me:$LINENO: result: no" >&5
13264 echo "${ECHO_T}no" >&6
13267 RANLIB
=$ac_ct_RANLIB
13269 RANLIB
="$ac_cv_prog_RANLIB"
13273 if test -n "$ac_tool_prefix"; then
13274 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13275 set dummy
${ac_tool_prefix}ar; 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_AR+set}" = set; then
13279 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 if test -n "$AR"; then
13282 ac_cv_prog_AR
="$AR" # 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_AR
="${ac_tool_prefix}ar"
13292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13301 if test -n "$AR"; then
13302 echo "$as_me:$LINENO: result: $AR" >&5
13303 echo "${ECHO_T}$AR" >&6
13305 echo "$as_me:$LINENO: result: no" >&5
13306 echo "${ECHO_T}no" >&6
13310 if test -z "$ac_cv_prog_AR"; then
13312 # Extract the first word of "ar", so it can be a program name with args.
13313 set dummy
ar; ac_word
=$2
13314 echo "$as_me:$LINENO: checking for $ac_word" >&5
13315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13316 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13317 echo $ECHO_N "(cached) $ECHO_C" >&6
13319 if test -n "$ac_ct_AR"; then
13320 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
13322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13323 for as_dir
in $PATH
13326 test -z "$as_dir" && as_dir
=.
13327 for ac_exec_ext
in '' $ac_executable_extensions; do
13328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13329 ac_cv_prog_ac_ct_AR
="ar"
13330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13338 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
13339 if test -n "$ac_ct_AR"; then
13340 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13341 echo "${ECHO_T}$ac_ct_AR" >&6
13343 echo "$as_me:$LINENO: result: no" >&5
13344 echo "${ECHO_T}no" >&6
13349 AR
="$ac_cv_prog_AR"
13352 if test "x$AR" = "x" ; then
13353 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13354 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13355 { (exit 1); exit 1; }; }
13358 # Find a good install program. We prefer a C program (faster),
13359 # so one script is as good as another. But avoid the broken or
13360 # incompatible versions:
13361 # SysV /etc/install, /usr/sbin/install
13362 # SunOS /usr/etc/install
13363 # IRIX /sbin/install
13365 # AmigaOS /C/install, which installs bootblocks on floppy discs
13366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13369 # OS/2's system install, which has a completely different semantic
13370 # ./install, which can be erroneously created by make from ./install.sh.
13371 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13372 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13373 if test -z "$INSTALL"; then
13374 if test "${ac_cv_path_install+set}" = set; then
13375 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13378 for as_dir
in $PATH
13381 test -z "$as_dir" && as_dir
=.
13382 # Account for people who put trailing slashes in PATH elements.
13384 .
/ | .
// | /cC
/* | \
13385 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13386 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13389 # OSF1 and SCO ODT 3.0 have their own names for install.
13390 # Don't use installbsd from OSF since it installs stuff as root
13392 for ac_prog
in ginstall scoinst
install; do
13393 for ac_exec_ext
in '' $ac_executable_extensions; do
13394 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13395 if test $ac_prog = install &&
13396 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13397 # AIX install. It has an incompatible calling convention.
13399 elif test $ac_prog = install &&
13400 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13401 # program-specific install script used by HP pwplus--don't use.
13404 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13416 if test "${ac_cv_path_install+set}" = set; then
13417 INSTALL
=$ac_cv_path_install
13419 # As a last resort, use the slow shell script. We don't cache a
13420 # path for INSTALL within a source directory, because that will
13421 # break other packages using the cache if that directory is
13422 # removed, or if the path is relative.
13423 INSTALL
=$ac_install_sh
13426 echo "$as_me:$LINENO: result: $INSTALL" >&5
13427 echo "${ECHO_T}$INSTALL" >&6
13429 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13430 # It thinks the first close brace ends the variable substitution.
13431 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13433 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13435 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13441 ?
:* ) # Drive letter, considered as absolute.
13444 INSTALL
=`pwd`/${INSTALL} ;;
13451 INSTALL_PROGRAM
="cp -fp"
13452 INSTALL_DATA
="cp -fp"
13458 if test -n "$ac_tool_prefix"; then
13459 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13460 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
13461 echo "$as_me:$LINENO: checking for $ac_word" >&5
13462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13463 if test "${ac_cv_prog_STRIP+set}" = set; then
13464 echo $ECHO_N "(cached) $ECHO_C" >&6
13466 if test -n "$STRIP"; then
13467 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
13469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13470 for as_dir
in $PATH
13473 test -z "$as_dir" && as_dir
=.
13474 for ac_exec_ext
in '' $ac_executable_extensions; do
13475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13476 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
13477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13485 STRIP
=$ac_cv_prog_STRIP
13486 if test -n "$STRIP"; then
13487 echo "$as_me:$LINENO: result: $STRIP" >&5
13488 echo "${ECHO_T}$STRIP" >&6
13490 echo "$as_me:$LINENO: result: no" >&5
13491 echo "${ECHO_T}no" >&6
13495 if test -z "$ac_cv_prog_STRIP"; then
13497 # Extract the first word of "strip", so it can be a program name with args.
13498 set dummy strip
; ac_word
=$2
13499 echo "$as_me:$LINENO: checking for $ac_word" >&5
13500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13501 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 if test -n "$ac_ct_STRIP"; then
13505 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
13507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13508 for as_dir
in $PATH
13511 test -z "$as_dir" && as_dir
=.
13512 for ac_exec_ext
in '' $ac_executable_extensions; do
13513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13514 ac_cv_prog_ac_ct_STRIP
="strip"
13515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13521 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
13524 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
13525 if test -n "$ac_ct_STRIP"; then
13526 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
13527 echo "${ECHO_T}$ac_ct_STRIP" >&6
13529 echo "$as_me:$LINENO: result: no" >&5
13530 echo "${ECHO_T}no" >&6
13535 STRIP
="$ac_cv_prog_STRIP"
13539 if test "$wxUSE_WINE" = "yes"; then
13540 if test -n "$ac_tool_prefix"; then
13541 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
13542 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
13543 echo "$as_me:$LINENO: checking for $ac_word" >&5
13544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13545 if test "${ac_cv_prog_RESCOMP+set}" = set; then
13546 echo $ECHO_N "(cached) $ECHO_C" >&6
13548 if test -n "$RESCOMP"; then
13549 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13552 for as_dir
in $PATH
13555 test -z "$as_dir" && as_dir
=.
13556 for ac_exec_ext
in '' $ac_executable_extensions; do
13557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13558 ac_cv_prog_RESCOMP
="${ac_tool_prefix}wrc"
13559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13567 RESCOMP
=$ac_cv_prog_RESCOMP
13568 if test -n "$RESCOMP"; then
13569 echo "$as_me:$LINENO: result: $RESCOMP" >&5
13570 echo "${ECHO_T}$RESCOMP" >&6
13572 echo "$as_me:$LINENO: result: no" >&5
13573 echo "${ECHO_T}no" >&6
13577 if test -z "$ac_cv_prog_RESCOMP"; then
13578 ac_ct_RESCOMP
=$RESCOMP
13579 # Extract the first word of "wrc", so it can be a program name with args.
13580 set dummy wrc
; ac_word
=$2
13581 echo "$as_me:$LINENO: checking for $ac_word" >&5
13582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13583 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
13584 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 if test -n "$ac_ct_RESCOMP"; then
13587 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
13589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13590 for as_dir
in $PATH
13593 test -z "$as_dir" && as_dir
=.
13594 for ac_exec_ext
in '' $ac_executable_extensions; do
13595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13596 ac_cv_prog_ac_ct_RESCOMP
="wrc"
13597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13605 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
13606 if test -n "$ac_ct_RESCOMP"; then
13607 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
13608 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
13610 echo "$as_me:$LINENO: result: no" >&5
13611 echo "${ECHO_T}no" >&6
13614 RESCOMP
=$ac_ct_RESCOMP
13616 RESCOMP
="$ac_cv_prog_RESCOMP"
13621 *-*-cygwin* | *-*-mingw32* )
13622 if test -n "$ac_tool_prefix"; then
13623 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13624 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
13625 echo "$as_me:$LINENO: checking for $ac_word" >&5
13626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13627 if test "${ac_cv_prog_RESCOMP+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13630 if test -n "$RESCOMP"; then
13631 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13634 for as_dir
in $PATH
13637 test -z "$as_dir" && as_dir
=.
13638 for ac_exec_ext
in '' $ac_executable_extensions; do
13639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13640 ac_cv_prog_RESCOMP
="${ac_tool_prefix}windres"
13641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13649 RESCOMP
=$ac_cv_prog_RESCOMP
13650 if test -n "$RESCOMP"; then
13651 echo "$as_me:$LINENO: result: $RESCOMP" >&5
13652 echo "${ECHO_T}$RESCOMP" >&6
13654 echo "$as_me:$LINENO: result: no" >&5
13655 echo "${ECHO_T}no" >&6
13659 if test -z "$ac_cv_prog_RESCOMP"; then
13660 ac_ct_RESCOMP
=$RESCOMP
13661 # Extract the first word of "windres", so it can be a program name with args.
13662 set dummy windres
; ac_word
=$2
13663 echo "$as_me:$LINENO: checking for $ac_word" >&5
13664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13665 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 if test -n "$ac_ct_RESCOMP"; then
13669 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
13671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13672 for as_dir
in $PATH
13675 test -z "$as_dir" && as_dir
=.
13676 for ac_exec_ext
in '' $ac_executable_extensions; do
13677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13678 ac_cv_prog_ac_ct_RESCOMP
="windres"
13679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13687 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
13688 if test -n "$ac_ct_RESCOMP"; then
13689 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
13690 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
13692 echo "$as_me:$LINENO: result: no" >&5
13693 echo "${ECHO_T}no" >&6
13696 RESCOMP
=$ac_ct_RESCOMP
13698 RESCOMP
="$ac_cv_prog_RESCOMP"
13701 if test -n "$ac_tool_prefix"; then
13702 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13703 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13704 echo "$as_me:$LINENO: checking for $ac_word" >&5
13705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13706 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13707 echo $ECHO_N "(cached) $ECHO_C" >&6
13709 if test -n "$DLLTOOL"; then
13710 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13713 for as_dir
in $PATH
13716 test -z "$as_dir" && as_dir
=.
13717 for ac_exec_ext
in '' $ac_executable_extensions; do
13718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13719 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13728 DLLTOOL
=$ac_cv_prog_DLLTOOL
13729 if test -n "$DLLTOOL"; then
13730 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13731 echo "${ECHO_T}$DLLTOOL" >&6
13733 echo "$as_me:$LINENO: result: no" >&5
13734 echo "${ECHO_T}no" >&6
13738 if test -z "$ac_cv_prog_DLLTOOL"; then
13739 ac_ct_DLLTOOL
=$DLLTOOL
13740 # Extract the first word of "dlltool", so it can be a program name with args.
13741 set dummy dlltool
; ac_word
=$2
13742 echo "$as_me:$LINENO: checking for $ac_word" >&5
13743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13744 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13745 echo $ECHO_N "(cached) $ECHO_C" >&6
13747 if test -n "$ac_ct_DLLTOOL"; then
13748 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13751 for as_dir
in $PATH
13754 test -z "$as_dir" && as_dir
=.
13755 for ac_exec_ext
in '' $ac_executable_extensions; do
13756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13757 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13766 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13767 if test -n "$ac_ct_DLLTOOL"; then
13768 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13769 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13771 echo "$as_me:$LINENO: result: no" >&5
13772 echo "${ECHO_T}no" >&6
13775 DLLTOOL
=$ac_ct_DLLTOOL
13777 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13784 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13785 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13786 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13787 echo $ECHO_N "(cached) $ECHO_C" >&6
13790 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13791 egrep -s GNU
> /dev
/null
); then
13792 wx_cv_prog_makeisgnu
="yes"
13794 wx_cv_prog_makeisgnu
="no"
13798 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13799 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13801 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13809 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13810 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13811 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13812 if test "${wx_cv_prog_makevpath+set}" = set; then
13813 echo $ECHO_N "(cached) $ECHO_C" >&6
13816 cat - << EOF > confMake
13822 if test ! -d sub
; then
13825 echo dummy
> sub
/file
13826 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13828 rm -f sub
/file check final_file confMake
13830 if test "$RESULT" = 0; then
13831 wx_cv_prog_makevpath
="yes"
13833 wx_cv_prog_makevpath
="no"
13837 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
13838 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
13840 if test "x$wx_cv_prog_makevpath" != "xyes"; then
13841 { { echo "$as_me:$LINENO: error:
13842 You need a make-utility that is able to use the variable
13844 If your version of make does not support VPATH correctly,
13845 please install GNU-make (possibly as gmake), and start
13846 configure with the following command:
13847 export MAKE=gmake; ./configure for sh-type shells
13848 setenv MAKE gmake; ./configure for csh-type shells
13849 Also please do remember to use gmake in this case every time
13850 you are trying to compile.
13852 echo "$as_me: error:
13853 You need a make-utility that is able to use the variable
13855 If your version of make does not support VPATH correctly,
13856 please install GNU-make (possibly as gmake), and start
13857 configure with the following command:
13858 export MAKE=gmake; ./configure for sh-type shells
13859 setenv MAKE gmake; ./configure for csh-type shells
13860 Also please do remember to use gmake in this case every time
13861 you are trying to compile.
13863 { (exit 1); exit 1; }; }
13865 echo "$as_me:$LINENO: checking whether ln -s works" >&5
13866 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
13868 if test "$LN_S" = "ln -s"; then
13869 echo "$as_me:$LINENO: result: yes" >&5
13870 echo "${ECHO_T}yes" >&6
13872 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
13873 echo "${ECHO_T}no, using $LN_S" >&6
13878 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
13879 CXXFLAGS
="$CXXFLAGS -qunique"
13884 powerpc
-*-darwin* )
13885 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
13886 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
13887 cat >conftest.
$ac_ext <<_ACEOF
13890 cat confdefs.h
>>conftest.
$ac_ext
13891 cat >>conftest.
$ac_ext <<_ACEOF
13892 /* end confdefs.h. */
13897 #ifndef __POWERPC__
13898 choke me for lack of PowerPC
13905 rm -f conftest.
$ac_objext
13906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13907 (eval $ac_compile) 2>conftest.er1
13909 grep -v '^ *+' conftest.er1
>conftest.err
13911 cat conftest.err
>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); } &&
13914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; } &&
13920 { ac_try
='test -s conftest.$ac_objext'
13921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922 (eval $ac_try) 2>&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); }; }; then
13926 echo "$as_me:$LINENO: result: yes" >&5
13927 echo "${ECHO_T}yes" >&6
13929 echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.
$ac_ext >&5
13932 echo "$as_me:$LINENO: result: no" >&5
13933 echo "${ECHO_T}no" >&6
13934 cat >>confdefs.h
<<\_ACEOF
13935 #define __POWERPC__ 1
13940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13946 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
13947 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
13948 cat >conftest.
$ac_ext <<_ACEOF
13951 cat confdefs.h
>>conftest.
$ac_ext
13952 cat >>conftest.
$ac_ext <<_ACEOF
13953 /* end confdefs.h. */
13954 #include <CoreFoundation/CFBase.h>
13964 rm -f conftest.
$ac_objext
13965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13966 (eval $ac_compile) 2>conftest.er1
13968 grep -v '^ *+' conftest.er1
>conftest.err
13970 cat conftest.err
>&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } &&
13973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13975 (eval $ac_try) 2>&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); }; } &&
13979 { ac_try
='test -s conftest.$ac_objext'
13980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13981 (eval $ac_try) 2>&5
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; }; then
13985 echo "$as_me:$LINENO: result: yes" >&5
13986 echo "${ECHO_T}yes" >&6
13988 echo "$as_me: failed program was:" >&5
13989 sed 's/^/| /' conftest.
$ac_ext >&5
13991 echo "$as_me:$LINENO: result: no" >&5
13992 echo "${ECHO_T}no" >&6
13993 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
13994 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
13995 cat >conftest.
$ac_ext <<_ACEOF
13998 cat confdefs.h
>>conftest.
$ac_ext
13999 cat >>conftest.
$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001 #define __CF_USE_FRAMEWORK_INCLUDES__
14002 #include <CoreFoundation/CFBase.h>
14012 rm -f conftest.
$ac_objext
14013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14014 (eval $ac_compile) 2>conftest.er1
14016 grep -v '^ *+' conftest.er1
>conftest.err
14018 cat conftest.err
>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } &&
14021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; } &&
14027 { ac_try
='test -s conftest.$ac_objext'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; }; then
14033 echo "$as_me:$LINENO: result: yes" >&5
14034 echo "${ECHO_T}yes" >&6
14035 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14037 echo "$as_me: failed program was:" >&5
14038 sed 's/^/| /' conftest.
$ac_ext >&5
14040 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14041 See \`config.log' for more details." >&5
14042 echo "$as_me: error: no. CoreFoundation not available.
14043 See \`config.log' for more details." >&2;}
14044 { (exit 1); exit 1; }; }
14047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14051 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14056 *-pc-os2_emx | *-pc-os2-emx )
14057 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14058 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14059 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14060 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 ac_check_lib_save_LIBS
=$LIBS
14064 LIBS
="-lcExt $LIBS"
14065 cat >conftest.
$ac_ext <<_ACEOF
14068 cat confdefs.h
>>conftest.
$ac_ext
14069 cat >>conftest.
$ac_ext <<_ACEOF
14070 /* end confdefs.h. */
14072 /* Override any gcc2 internal prototype to avoid an error. */
14076 /* We use char because int might match the return type of a gcc2
14077 builtin and then its argument prototype would still apply. */
14087 rm -f conftest.
$ac_objext conftest
$ac_exeext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14089 (eval $ac_link) 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_exeext'
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 ac_cv_lib_cExt_drand48
=yes
14110 echo "$as_me: failed program was:" >&5
14111 sed 's/^/| /' conftest.
$ac_ext >&5
14113 ac_cv_lib_cExt_drand48
=no
14115 rm -f conftest.err conftest.
$ac_objext \
14116 conftest
$ac_exeext conftest.
$ac_ext
14117 LIBS
=$ac_check_lib_save_LIBS
14119 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14120 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14121 if test $ac_cv_lib_cExt_drand48 = yes; then
14122 LIBS
="$LIBS -lcExt"
14126 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
14128 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14129 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14130 if test "${wx_cv_gccversion+set}" = set; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14134 if test "$cross_compiling" = yes; then
14135 wx_cv_gccversion
="EMX2"
14138 cat >conftest.
$ac_ext <<_ACEOF
14141 cat confdefs.h
>>conftest.
$ac_ext
14142 cat >>conftest.
$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14149 FILE *f=fopen("conftestval", "w");
14154 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
14156 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14166 rm -f conftest
$ac_exeext
14167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14168 (eval $ac_link) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; }; then
14177 wx_cv_gccversion
=`cat conftestval`
14179 echo "$as_me: program exited with status $ac_status" >&5
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.
$ac_ext >&5
14183 ( exit $ac_status )
14184 wx_cv_gccversion
="EMX2"
14186 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14190 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
14191 echo "${ECHO_T}$wx_cv_gccversion" >&6
14192 if test "$wx_cv_gccversion" = "EMX2"; then
14193 LIBS
="$LIBS -lstdcpp"
14194 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14196 if test "$wx_cv_gccversion" = "EMX3"; then
14197 LIBS
="$LIBS -lstdcxx -lgcc"
14198 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14200 LIBS
="$LIBS -lstdc++"
14203 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
14204 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
14205 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
14215 ac_cpp
='$CXXCPP $CPPFLAGS'
14216 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14217 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14218 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14221 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
14222 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
14223 if test "${ac_cv_string_strcasecmp+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14227 cat >conftest.
$ac_ext <<_ACEOF
14230 cat confdefs.h
>>conftest.
$ac_ext
14231 cat >>conftest.
$ac_ext <<_ACEOF
14232 /* end confdefs.h. */
14234 #include <string.h>
14240 strcasecmp("foo", "bar");
14246 rm -f conftest.
$ac_objext conftest
$ac_exeext
14247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14248 (eval $ac_link) 2>conftest.er1
14250 grep -v '^ *+' conftest.er1
>conftest.err
14252 cat conftest.err
>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); } &&
14255 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257 (eval $ac_try) 2>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); }; } &&
14261 { ac_try
='test -s conftest$ac_exeext'
14262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14263 (eval $ac_try) 2>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); }; }; then
14267 ac_cv_string_strcasecmp
=yes
14269 echo "$as_me: failed program was:" >&5
14270 sed 's/^/| /' conftest.
$ac_ext >&5
14272 ac_cv_string_strcasecmp
=no
14275 rm -f conftest.err conftest.
$ac_objext \
14276 conftest
$ac_exeext conftest.
$ac_ext
14279 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
14280 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
14282 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
14283 cat >>confdefs.h
<<\_ACEOF
14284 #define HAVE_STRCASECMP_IN_STRING_H 1
14288 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
14289 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
14290 if test "${ac_cv_strings_strcasecmp+set}" = set; then
14291 echo $ECHO_N "(cached) $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. */
14301 #include <strings.h>
14307 strcasecmp("foo", "bar");
14313 rm -f conftest.
$ac_objext conftest
$ac_exeext
14314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14315 (eval $ac_link) 2>conftest.er1
14317 grep -v '^ *+' conftest.er1
>conftest.err
14319 cat conftest.err
>&5
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); } &&
14322 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14324 (eval $ac_try) 2>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }; } &&
14328 { ac_try
='test -s conftest$ac_exeext'
14329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14330 (eval $ac_try) 2>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); }; }; then
14334 ac_cv_strings_strcasecmp
=yes
14336 echo "$as_me: failed program was:" >&5
14337 sed 's/^/| /' conftest.
$ac_ext >&5
14339 ac_cv_strings_strcasecmp
=no
14342 rm -f conftest.err conftest.
$ac_objext \
14343 conftest
$ac_exeext conftest.
$ac_ext
14346 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
14347 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
14349 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
14350 cat >>confdefs.h
<<\_ACEOF
14351 #define HAVE_STRCASECMP_IN_STRINGS_H 1
14355 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
14356 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
14357 { (exit 1); exit 1; }; }
14362 ac_cpp
='$CPP $CPPFLAGS'
14363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14371 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14372 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14373 if test "${ac_cv_header_stdc+set}" = set; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14376 cat >conftest.
$ac_ext <<_ACEOF
14379 cat confdefs.h
>>conftest.
$ac_ext
14380 cat >>conftest.
$ac_ext <<_ACEOF
14381 /* end confdefs.h. */
14382 #include <stdlib.h>
14383 #include <stdarg.h>
14384 #include <string.h>
14395 rm -f conftest.
$ac_objext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397 (eval $ac_compile) 2>conftest.er1
14399 grep -v '^ *+' conftest.er1
>conftest.err
14401 cat conftest.err
>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
14404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } &&
14410 { ac_try
='test -s conftest.$ac_objext'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; }; then
14416 ac_cv_header_stdc
=yes
14418 echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.
$ac_ext >&5
14421 ac_cv_header_stdc
=no
14423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14425 if test $ac_cv_header_stdc = yes; then
14426 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14427 cat >conftest.
$ac_ext <<_ACEOF
14430 cat confdefs.h
>>conftest.
$ac_ext
14431 cat >>conftest.
$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14433 #include <string.h>
14436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14437 $EGREP "memchr" >/dev
/null
2>&1; then
14440 ac_cv_header_stdc
=no
14446 if test $ac_cv_header_stdc = yes; then
14447 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14448 cat >conftest.
$ac_ext <<_ACEOF
14451 cat confdefs.h
>>conftest.
$ac_ext
14452 cat >>conftest.
$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 #include <stdlib.h>
14457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14458 $EGREP "free" >/dev
/null
2>&1; then
14461 ac_cv_header_stdc
=no
14467 if test $ac_cv_header_stdc = yes; then
14468 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14469 if test "$cross_compiling" = yes; then
14472 cat >conftest.
$ac_ext <<_ACEOF
14475 cat confdefs.h
>>conftest.
$ac_ext
14476 cat >>conftest.
$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14479 #if ((' ' & 0x0FF) == 0x020)
14480 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14481 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14483 # define ISLOWER(c) \
14484 (('a' <= (c) && (c) <= 'i') \
14485 || ('j' <= (c) && (c) <= 'r') \
14486 || ('s' <= (c) && (c) <= 'z'))
14487 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14490 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14495 for (i = 0; i < 256; i++)
14496 if (XOR (islower (i), ISLOWER (i))
14497 || toupper (i) != TOUPPER (i))
14502 rm -f conftest
$ac_exeext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14504 (eval $ac_link) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; }; then
14515 echo "$as_me: program exited with status $ac_status" >&5
14516 echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.
$ac_ext >&5
14519 ( exit $ac_status )
14520 ac_cv_header_stdc
=no
14522 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14526 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14527 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14528 if test $ac_cv_header_stdc = yes; then
14530 cat >>confdefs.h
<<\_ACEOF
14531 #define STDC_HEADERS 1
14536 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14546 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
14547 inttypes.h stdint.h unistd.h
14549 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14550 echo "$as_me:$LINENO: checking for $ac_header" >&5
14551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14553 echo $ECHO_N "(cached) $ECHO_C" >&6
14555 cat >conftest.
$ac_ext <<_ACEOF
14558 cat confdefs.h
>>conftest.
$ac_ext
14559 cat >>conftest.
$ac_ext <<_ACEOF
14560 /* end confdefs.h. */
14561 $ac_includes_default
14563 #include <$ac_header>
14565 rm -f conftest.
$ac_objext
14566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14567 (eval $ac_compile) 2>conftest.er1
14569 grep -v '^ *+' conftest.er1
>conftest.err
14571 cat conftest.err
>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } &&
14574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; } &&
14580 { ac_try
='test -s conftest.$ac_objext'
14581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14582 (eval $ac_try) 2>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; }; then
14586 eval "$as_ac_Header=yes"
14588 echo "$as_me: failed program was:" >&5
14589 sed 's/^/| /' conftest.
$ac_ext >&5
14591 eval "$as_ac_Header=no"
14593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14596 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14598 cat >>confdefs.h
<<_ACEOF
14599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14608 for ac_header
in stdlib.h
14610 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14612 echo "$as_me:$LINENO: checking for $ac_header" >&5
14613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14615 echo $ECHO_N "(cached) $ECHO_C" >&6
14617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14620 # Is the header compilable?
14621 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14623 cat >conftest.
$ac_ext <<_ACEOF
14626 cat confdefs.h
>>conftest.
$ac_ext
14627 cat >>conftest.
$ac_ext <<_ACEOF
14628 /* end confdefs.h. */
14629 $ac_includes_default
14630 #include <$ac_header>
14632 rm -f conftest.
$ac_objext
14633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14634 (eval $ac_compile) 2>conftest.er1
14636 grep -v '^ *+' conftest.er1
>conftest.err
14638 cat conftest.err
>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } &&
14641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643 (eval $ac_try) 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }; } &&
14647 { ac_try
='test -s conftest.$ac_objext'
14648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14649 (eval $ac_try) 2>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); }; }; then
14653 ac_header_compiler
=yes
14655 echo "$as_me: failed program was:" >&5
14656 sed 's/^/| /' conftest.
$ac_ext >&5
14658 ac_header_compiler
=no
14660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14661 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14662 echo "${ECHO_T}$ac_header_compiler" >&6
14664 # Is the header present?
14665 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14666 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14667 cat >conftest.
$ac_ext <<_ACEOF
14670 cat confdefs.h
>>conftest.
$ac_ext
14671 cat >>conftest.
$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14673 #include <$ac_header>
14675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14676 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14678 grep -v '^ *+' conftest.er1
>conftest.err
14680 cat conftest.err
>&5
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 (exit $ac_status); } >/dev
/null
; then
14683 if test -s conftest.err
; then
14684 ac_cpp_err
=$ac_c_preproc_warn_flag
14685 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14692 if test -z "$ac_cpp_err"; then
14693 ac_header_preproc
=yes
14695 echo "$as_me: failed program was:" >&5
14696 sed 's/^/| /' conftest.
$ac_ext >&5
14698 ac_header_preproc
=no
14700 rm -f conftest.err conftest.
$ac_ext
14701 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14702 echo "${ECHO_T}$ac_header_preproc" >&6
14704 # So? What about this header?
14705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14707 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14708 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14710 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14711 ac_header_preproc
=yes
14714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14718 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14719 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14720 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14721 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14723 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14724 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14725 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14728 ## ----------------------------------------- ##
14729 ## Report this to wx-dev@lists.wxwidgets.org ##
14730 ## ----------------------------------------- ##
14733 sed "s/^/$as_me: WARNING: /" >&2
14736 echo "$as_me:$LINENO: checking for $ac_header" >&5
14737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14739 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 eval "$as_ac_Header=\$ac_header_preproc"
14743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14748 cat >>confdefs.h
<<_ACEOF
14749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14757 for ac_header
in malloc.h
14759 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14761 echo "$as_me:$LINENO: checking for $ac_header" >&5
14762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14769 # Is the header compilable?
14770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14772 cat >conftest.
$ac_ext <<_ACEOF
14775 cat confdefs.h
>>conftest.
$ac_ext
14776 cat >>conftest.
$ac_ext <<_ACEOF
14777 /* end confdefs.h. */
14778 $ac_includes_default
14779 #include <$ac_header>
14781 rm -f conftest.
$ac_objext
14782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14783 (eval $ac_compile) 2>conftest.er1
14785 grep -v '^ *+' conftest.er1
>conftest.err
14787 cat conftest.err
>&5
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); } &&
14790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14792 (eval $ac_try) 2>&5
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); }; } &&
14796 { ac_try
='test -s conftest.$ac_objext'
14797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14798 (eval $ac_try) 2>&5
14800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801 (exit $ac_status); }; }; then
14802 ac_header_compiler
=yes
14804 echo "$as_me: failed program was:" >&5
14805 sed 's/^/| /' conftest.
$ac_ext >&5
14807 ac_header_compiler
=no
14809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14811 echo "${ECHO_T}$ac_header_compiler" >&6
14813 # Is the header present?
14814 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14816 cat >conftest.
$ac_ext <<_ACEOF
14819 cat confdefs.h
>>conftest.
$ac_ext
14820 cat >>conftest.
$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14822 #include <$ac_header>
14824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14825 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14827 grep -v '^ *+' conftest.er1
>conftest.err
14829 cat conftest.err
>&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); } >/dev
/null
; then
14832 if test -s conftest.err
; then
14833 ac_cpp_err
=$ac_c_preproc_warn_flag
14834 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14841 if test -z "$ac_cpp_err"; then
14842 ac_header_preproc
=yes
14844 echo "$as_me: failed program was:" >&5
14845 sed 's/^/| /' conftest.
$ac_ext >&5
14847 ac_header_preproc
=no
14849 rm -f conftest.err conftest.
$ac_ext
14850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14851 echo "${ECHO_T}$ac_header_preproc" >&6
14853 # So? What about this header?
14854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14859 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14860 ac_header_preproc
=yes
14863 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14864 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14865 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14866 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14867 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14868 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14869 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14870 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14873 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14874 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14877 ## ----------------------------------------- ##
14878 ## Report this to wx-dev@lists.wxwidgets.org ##
14879 ## ----------------------------------------- ##
14882 sed "s/^/$as_me: WARNING: /" >&2
14885 echo "$as_me:$LINENO: checking for $ac_header" >&5
14886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14888 echo $ECHO_N "(cached) $ECHO_C" >&6
14890 eval "$as_ac_Header=\$ac_header_preproc"
14892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14897 cat >>confdefs.h
<<_ACEOF
14898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14906 for ac_header
in unistd.h
14908 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14910 echo "$as_me:$LINENO: checking for $ac_header" >&5
14911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14918 # Is the header compilable?
14919 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14921 cat >conftest.
$ac_ext <<_ACEOF
14924 cat confdefs.h
>>conftest.
$ac_ext
14925 cat >>conftest.
$ac_ext <<_ACEOF
14926 /* end confdefs.h. */
14927 $ac_includes_default
14928 #include <$ac_header>
14930 rm -f conftest.
$ac_objext
14931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14932 (eval $ac_compile) 2>conftest.er1
14934 grep -v '^ *+' conftest.er1
>conftest.err
14936 cat conftest.err
>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; } &&
14945 { ac_try
='test -s conftest.$ac_objext'
14946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14947 (eval $ac_try) 2>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); }; }; then
14951 ac_header_compiler
=yes
14953 echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.
$ac_ext >&5
14956 ac_header_compiler
=no
14958 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14960 echo "${ECHO_T}$ac_header_compiler" >&6
14962 # Is the header present?
14963 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14964 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14965 cat >conftest.
$ac_ext <<_ACEOF
14968 cat confdefs.h
>>conftest.
$ac_ext
14969 cat >>conftest.
$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14971 #include <$ac_header>
14973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14974 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14976 grep -v '^ *+' conftest.er1
>conftest.err
14978 cat conftest.err
>&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } >/dev
/null
; then
14981 if test -s conftest.err
; then
14982 ac_cpp_err
=$ac_c_preproc_warn_flag
14983 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14990 if test -z "$ac_cpp_err"; then
14991 ac_header_preproc
=yes
14993 echo "$as_me: failed program was:" >&5
14994 sed 's/^/| /' conftest.
$ac_ext >&5
14996 ac_header_preproc
=no
14998 rm -f conftest.err conftest.
$ac_ext
14999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15000 echo "${ECHO_T}$ac_header_preproc" >&6
15002 # So? What about this header?
15003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15005 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15008 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15009 ac_header_preproc
=yes
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15014 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15015 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15016 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15017 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15018 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15019 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15022 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15023 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15026 ## ----------------------------------------- ##
15027 ## Report this to wx-dev@lists.wxwidgets.org ##
15028 ## ----------------------------------------- ##
15031 sed "s/^/$as_me: WARNING: /" >&2
15034 echo "$as_me:$LINENO: checking for $ac_header" >&5
15035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15037 echo $ECHO_N "(cached) $ECHO_C" >&6
15039 eval "$as_ac_Header=\$ac_header_preproc"
15041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15046 cat >>confdefs.h
<<_ACEOF
15047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15055 for ac_header
in wchar.h
15057 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15059 echo "$as_me:$LINENO: checking for $ac_header" >&5
15060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15062 echo $ECHO_N "(cached) $ECHO_C" >&6
15064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15067 # Is the header compilable?
15068 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15069 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15070 cat >conftest.
$ac_ext <<_ACEOF
15073 cat confdefs.h
>>conftest.
$ac_ext
15074 cat >>conftest.
$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 $ac_includes_default
15077 #include <$ac_header>
15079 rm -f conftest.
$ac_objext
15080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15081 (eval $ac_compile) 2>conftest.er1
15083 grep -v '^ *+' conftest.er1
>conftest.err
15085 cat conftest.err
>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); } &&
15088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; } &&
15094 { ac_try
='test -s conftest.$ac_objext'
15095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15096 (eval $ac_try) 2>&5
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; }; then
15100 ac_header_compiler
=yes
15102 echo "$as_me: failed program was:" >&5
15103 sed 's/^/| /' conftest.
$ac_ext >&5
15105 ac_header_compiler
=no
15107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15108 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15109 echo "${ECHO_T}$ac_header_compiler" >&6
15111 # Is the header present?
15112 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15113 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15114 cat >conftest.
$ac_ext <<_ACEOF
15117 cat confdefs.h
>>conftest.
$ac_ext
15118 cat >>conftest.
$ac_ext <<_ACEOF
15119 /* end confdefs.h. */
15120 #include <$ac_header>
15122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15123 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15125 grep -v '^ *+' conftest.er1
>conftest.err
15127 cat conftest.err
>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } >/dev
/null
; then
15130 if test -s conftest.err
; then
15131 ac_cpp_err
=$ac_c_preproc_warn_flag
15132 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15139 if test -z "$ac_cpp_err"; then
15140 ac_header_preproc
=yes
15142 echo "$as_me: failed program was:" >&5
15143 sed 's/^/| /' conftest.
$ac_ext >&5
15145 ac_header_preproc
=no
15147 rm -f conftest.err conftest.
$ac_ext
15148 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15149 echo "${ECHO_T}$ac_header_preproc" >&6
15151 # So? What about this header?
15152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15154 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15155 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15156 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15157 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15158 ac_header_preproc
=yes
15161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15164 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15165 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15166 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15167 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15168 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15171 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15175 ## ----------------------------------------- ##
15176 ## Report this to wx-dev@lists.wxwidgets.org ##
15177 ## ----------------------------------------- ##
15180 sed "s/^/$as_me: WARNING: /" >&2
15183 echo "$as_me:$LINENO: checking for $ac_header" >&5
15184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 eval "$as_ac_Header=\$ac_header_preproc"
15190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15195 cat >>confdefs.h
<<_ACEOF
15196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15204 if test "$ac_cv_header_wchar_h" != "yes"; then
15206 for ac_header
in wcstr.h
15208 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15210 echo "$as_me:$LINENO: checking for $ac_header" >&5
15211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15218 # Is the header compilable?
15219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15221 cat >conftest.
$ac_ext <<_ACEOF
15224 cat confdefs.h
>>conftest.
$ac_ext
15225 cat >>conftest.
$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15227 $ac_includes_default
15228 #include <$ac_header>
15230 rm -f conftest.
$ac_objext
15231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15232 (eval $ac_compile) 2>conftest.er1
15234 grep -v '^ *+' conftest.er1
>conftest.err
15236 cat conftest.err
>&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); } &&
15239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15241 (eval $ac_try) 2>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); }; } &&
15245 { ac_try
='test -s conftest.$ac_objext'
15246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15247 (eval $ac_try) 2>&5
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); }; }; then
15251 ac_header_compiler
=yes
15253 echo "$as_me: failed program was:" >&5
15254 sed 's/^/| /' conftest.
$ac_ext >&5
15256 ac_header_compiler
=no
15258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15260 echo "${ECHO_T}$ac_header_compiler" >&6
15262 # Is the header present?
15263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15265 cat >conftest.
$ac_ext <<_ACEOF
15268 cat confdefs.h
>>conftest.
$ac_ext
15269 cat >>conftest.
$ac_ext <<_ACEOF
15270 /* end confdefs.h. */
15271 #include <$ac_header>
15273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15274 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15276 grep -v '^ *+' conftest.er1
>conftest.err
15278 cat conftest.err
>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); } >/dev
/null
; then
15281 if test -s conftest.err
; then
15282 ac_cpp_err
=$ac_c_preproc_warn_flag
15283 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15290 if test -z "$ac_cpp_err"; then
15291 ac_header_preproc
=yes
15293 echo "$as_me: failed program was:" >&5
15294 sed 's/^/| /' conftest.
$ac_ext >&5
15296 ac_header_preproc
=no
15298 rm -f conftest.err conftest.
$ac_ext
15299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15300 echo "${ECHO_T}$ac_header_preproc" >&6
15302 # So? What about this header?
15303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15308 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15309 ac_header_preproc
=yes
15312 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15314 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15315 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15316 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15317 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15318 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15319 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15322 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15323 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15326 ## ----------------------------------------- ##
15327 ## Report this to wx-dev@lists.wxwidgets.org ##
15328 ## ----------------------------------------- ##
15331 sed "s/^/$as_me: WARNING: /" >&2
15334 echo "$as_me:$LINENO: checking for $ac_header" >&5
15335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15337 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 eval "$as_ac_Header=\$ac_header_preproc"
15341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15346 cat >>confdefs.h
<<_ACEOF
15347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15357 for ac_header
in fnmatch.h
15359 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15361 echo "$as_me:$LINENO: checking for $ac_header" >&5
15362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15369 # Is the header compilable?
15370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15372 cat >conftest.
$ac_ext <<_ACEOF
15375 cat confdefs.h
>>conftest.
$ac_ext
15376 cat >>conftest.
$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378 $ac_includes_default
15379 #include <$ac_header>
15381 rm -f conftest.
$ac_objext
15382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15383 (eval $ac_compile) 2>conftest.er1
15385 grep -v '^ *+' conftest.er1
>conftest.err
15387 cat conftest.err
>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); } &&
15390 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; } &&
15396 { ac_try
='test -s conftest.$ac_objext'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; }; then
15402 ac_header_compiler
=yes
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.
$ac_ext >&5
15407 ac_header_compiler
=no
15409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15411 echo "${ECHO_T}$ac_header_compiler" >&6
15413 # Is the header present?
15414 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15416 cat >conftest.
$ac_ext <<_ACEOF
15419 cat confdefs.h
>>conftest.
$ac_ext
15420 cat >>conftest.
$ac_ext <<_ACEOF
15421 /* end confdefs.h. */
15422 #include <$ac_header>
15424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15425 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15427 grep -v '^ *+' conftest.er1
>conftest.err
15429 cat conftest.err
>&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } >/dev
/null
; then
15432 if test -s conftest.err
; then
15433 ac_cpp_err
=$ac_c_preproc_warn_flag
15434 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15441 if test -z "$ac_cpp_err"; then
15442 ac_header_preproc
=yes
15444 echo "$as_me: failed program was:" >&5
15445 sed 's/^/| /' conftest.
$ac_ext >&5
15447 ac_header_preproc
=no
15449 rm -f conftest.err conftest.
$ac_ext
15450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15451 echo "${ECHO_T}$ac_header_preproc" >&6
15453 # So? What about this header?
15454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15460 ac_header_preproc
=yes
15463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15477 ## ----------------------------------------- ##
15478 ## Report this to wx-dev@lists.wxwidgets.org ##
15479 ## ----------------------------------------- ##
15482 sed "s/^/$as_me: WARNING: /" >&2
15485 echo "$as_me:$LINENO: checking for $ac_header" >&5
15486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15488 echo $ECHO_N "(cached) $ECHO_C" >&6
15490 eval "$as_ac_Header=\$ac_header_preproc"
15492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15497 cat >>confdefs.h
<<_ACEOF
15498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15507 for ac_header
in langinfo.h
15509 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15511 echo "$as_me:$LINENO: checking for $ac_header" >&5
15512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15514 echo $ECHO_N "(cached) $ECHO_C" >&6
15516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15519 # Is the header compilable?
15520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15522 cat >conftest.
$ac_ext <<_ACEOF
15525 cat confdefs.h
>>conftest.
$ac_ext
15526 cat >>conftest.
$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15528 $ac_includes_default
15529 #include <$ac_header>
15531 rm -f conftest.
$ac_objext
15532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15533 (eval $ac_compile) 2>conftest.er1
15535 grep -v '^ *+' conftest.er1
>conftest.err
15537 cat conftest.err
>&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); } &&
15540 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; } &&
15546 { ac_try
='test -s conftest.$ac_objext'
15547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548 (eval $ac_try) 2>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); }; }; then
15552 ac_header_compiler
=yes
15554 echo "$as_me: failed program was:" >&5
15555 sed 's/^/| /' conftest.
$ac_ext >&5
15557 ac_header_compiler
=no
15559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15561 echo "${ECHO_T}$ac_header_compiler" >&6
15563 # Is the header present?
15564 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15566 cat >conftest.
$ac_ext <<_ACEOF
15569 cat confdefs.h
>>conftest.
$ac_ext
15570 cat >>conftest.
$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15572 #include <$ac_header>
15574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15575 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15577 grep -v '^ *+' conftest.er1
>conftest.err
15579 cat conftest.err
>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } >/dev
/null
; then
15582 if test -s conftest.err
; then
15583 ac_cpp_err
=$ac_c_preproc_warn_flag
15584 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15591 if test -z "$ac_cpp_err"; then
15592 ac_header_preproc
=yes
15594 echo "$as_me: failed program was:" >&5
15595 sed 's/^/| /' conftest.
$ac_ext >&5
15597 ac_header_preproc
=no
15599 rm -f conftest.err conftest.
$ac_ext
15600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15601 echo "${ECHO_T}$ac_header_preproc" >&6
15603 # So? What about this header?
15604 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15606 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15607 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15609 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15610 ac_header_preproc
=yes
15613 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15614 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15615 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15616 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15617 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15618 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15619 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15620 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15623 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15624 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15627 ## ----------------------------------------- ##
15628 ## Report this to wx-dev@lists.wxwidgets.org ##
15629 ## ----------------------------------------- ##
15632 sed "s/^/$as_me: WARNING: /" >&2
15635 echo "$as_me:$LINENO: checking for $ac_header" >&5
15636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15640 eval "$as_ac_Header=\$ac_header_preproc"
15642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15647 cat >>confdefs.h
<<_ACEOF
15648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15657 *-pc-os2_emx | *-pc-os2-emx )
15658 if test $ac_cv_header_langinfo_h = "yes" \
15659 -a \
( "$wx_cv_gccversion" = "EMX2" \
15660 -o "$wx_cv_gccversion" = "EMX3" \
15661 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15662 LIBS
="$LIBS -lintl"
15668 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15669 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15670 if test "${ac_cv_c_const+set}" = set; then
15671 echo $ECHO_N "(cached) $ECHO_C" >&6
15673 cat >conftest.
$ac_ext <<_ACEOF
15676 cat confdefs.h
>>conftest.
$ac_ext
15677 cat >>conftest.
$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15683 /* FIXME: Include the comments suggested by Paul. */
15684 #ifndef __cplusplus
15685 /* Ultrix mips cc rejects this. */
15686 typedef int charset[2];
15688 /* SunOS 4.1.1 cc rejects this. */
15689 char const *const *ccp;
15691 /* NEC SVR4.0.2 mips cc rejects this. */
15692 struct point {int x, y;};
15693 static struct point const zero = {0,0};
15694 /* AIX XL C 1.02.0.0 rejects this.
15695 It does not let you subtract one const X* pointer from another in
15696 an arm of an if-expression whose if-part is not a constant
15698 const char *g = "string";
15699 ccp = &g + (g ? g-g : 0);
15700 /* HPUX 7.0 cc rejects these. */
15703 ccp = (char const *const *) p;
15704 { /* SCO 3.2v4 cc rejects this. */
15706 char const *s = 0 ? (char *) 0 : (char const *) 0;
15710 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15711 int x[] = {25, 17};
15712 const int *foo = &x[0];
15715 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15716 typedef const int *iptr;
15720 { /* AIX XL C 1.02.0.0 rejects this saying
15721 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15722 struct s { int j; const int *ap[3]; };
15723 struct s *b; b->j = 5;
15725 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15726 const int foo = 10;
15734 rm -f conftest.
$ac_objext
15735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15736 (eval $ac_compile) 2>conftest.er1
15738 grep -v '^ *+' conftest.er1
>conftest.err
15740 cat conftest.err
>&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); } &&
15743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15745 (eval $ac_try) 2>&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); }; } &&
15749 { ac_try
='test -s conftest.$ac_objext'
15750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15751 (eval $ac_try) 2>&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); }; }; then
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.
$ac_ext >&5
15762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15764 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15765 echo "${ECHO_T}$ac_cv_c_const" >&6
15766 if test $ac_cv_c_const = no
; then
15768 cat >>confdefs.h
<<\_ACEOF
15774 echo "$as_me:$LINENO: checking for inline" >&5
15775 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15776 if test "${ac_cv_c_inline+set}" = set; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6
15780 for ac_kw
in inline __inline__ __inline
; do
15781 cat >conftest.
$ac_ext <<_ACEOF
15784 cat confdefs.h
>>conftest.
$ac_ext
15785 cat >>conftest.
$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787 #ifndef __cplusplus
15789 static $ac_kw foo_t static_foo () {return 0; }
15790 $ac_kw foo_t foo () {return 0; }
15794 rm -f conftest.
$ac_objext
15795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15796 (eval $ac_compile) 2>conftest.er1
15798 grep -v '^ *+' conftest.er1
>conftest.err
15800 cat conftest.err
>&5
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); } &&
15803 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15805 (eval $ac_try) 2>&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); }; } &&
15809 { ac_try
='test -s conftest.$ac_objext'
15810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15811 (eval $ac_try) 2>&5
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); }; }; then
15815 ac_cv_c_inline
=$ac_kw; break
15817 echo "$as_me: failed program was:" >&5
15818 sed 's/^/| /' conftest.
$ac_ext >&5
15821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15825 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15826 echo "${ECHO_T}$ac_cv_c_inline" >&6
15829 case $ac_cv_c_inline in
15832 case $ac_cv_c_inline in
15834 *) ac_val
=$ac_cv_c_inline;;
15836 cat >>confdefs.h
<<_ACEOF
15837 #ifndef __cplusplus
15838 #define inline $ac_val
15845 echo "$as_me:$LINENO: checking for char" >&5
15846 echo $ECHO_N "checking for char... $ECHO_C" >&6
15847 if test "${ac_cv_type_char+set}" = set; then
15848 echo $ECHO_N "(cached) $ECHO_C" >&6
15850 cat >conftest.
$ac_ext <<_ACEOF
15853 cat confdefs.h
>>conftest.
$ac_ext
15854 cat >>conftest.
$ac_ext <<_ACEOF
15855 /* end confdefs.h. */
15856 $ac_includes_default
15868 rm -f conftest.
$ac_objext
15869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15870 (eval $ac_compile) 2>conftest.er1
15872 grep -v '^ *+' conftest.er1
>conftest.err
15874 cat conftest.err
>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); } &&
15877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15879 (eval $ac_try) 2>&5
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); }; } &&
15883 { ac_try
='test -s conftest.$ac_objext'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; }; then
15889 ac_cv_type_char
=yes
15891 echo "$as_me: failed program was:" >&5
15892 sed 's/^/| /' conftest.
$ac_ext >&5
15896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15898 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
15899 echo "${ECHO_T}$ac_cv_type_char" >&6
15901 echo "$as_me:$LINENO: checking size of char" >&5
15902 echo $ECHO_N "checking size of char... $ECHO_C" >&6
15903 if test "${ac_cv_sizeof_char+set}" = set; then
15904 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 if test "$ac_cv_type_char" = yes; then
15907 # The cast to unsigned long works around a bug in the HP C Compiler
15908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15910 # This bug is HP SR number 8606223364.
15911 if test "$cross_compiling" = yes; then
15912 # Depending upon the size, compute the lo and hi bounds.
15913 cat >conftest.
$ac_ext <<_ACEOF
15916 cat confdefs.h
>>conftest.
$ac_ext
15917 cat >>conftest.
$ac_ext <<_ACEOF
15918 /* end confdefs.h. */
15919 $ac_includes_default
15923 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
15930 rm -f conftest.
$ac_objext
15931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15932 (eval $ac_compile) 2>conftest.er1
15934 grep -v '^ *+' conftest.er1
>conftest.err
15936 cat conftest.err
>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } &&
15939 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15941 (eval $ac_try) 2>&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; } &&
15945 { ac_try
='test -s conftest.$ac_objext'
15946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15947 (eval $ac_try) 2>&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); }; }; then
15953 cat >conftest.
$ac_ext <<_ACEOF
15956 cat confdefs.h
>>conftest.
$ac_ext
15957 cat >>conftest.
$ac_ext <<_ACEOF
15958 /* end confdefs.h. */
15959 $ac_includes_default
15963 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
15970 rm -f conftest.
$ac_objext
15971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15972 (eval $ac_compile) 2>conftest.er1
15974 grep -v '^ *+' conftest.er1
>conftest.err
15976 cat conftest.err
>&5
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); } &&
15979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; } &&
15985 { ac_try
='test -s conftest.$ac_objext'
15986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15987 (eval $ac_try) 2>&5
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); }; }; then
15991 ac_hi
=$ac_mid; break
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.
$ac_ext >&5
15996 ac_lo
=`expr $ac_mid + 1`
15997 if test $ac_lo -le $ac_mid; then
16001 ac_mid
=`expr 2 '*' $ac_mid + 1`
16003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16006 echo "$as_me: failed program was:" >&5
16007 sed 's/^/| /' conftest.
$ac_ext >&5
16009 cat >conftest.
$ac_ext <<_ACEOF
16012 cat confdefs.h
>>conftest.
$ac_ext
16013 cat >>conftest.
$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16015 $ac_includes_default
16019 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16026 rm -f conftest.
$ac_objext
16027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16028 (eval $ac_compile) 2>conftest.er1
16030 grep -v '^ *+' conftest.er1
>conftest.err
16032 cat conftest.err
>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); } &&
16035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; } &&
16041 { ac_try
='test -s conftest.$ac_objext'
16042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16043 (eval $ac_try) 2>&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); }; }; then
16049 cat >conftest.
$ac_ext <<_ACEOF
16052 cat confdefs.h
>>conftest.
$ac_ext
16053 cat >>conftest.
$ac_ext <<_ACEOF
16054 /* end confdefs.h. */
16055 $ac_includes_default
16059 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16066 rm -f conftest.
$ac_objext
16067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16068 (eval $ac_compile) 2>conftest.er1
16070 grep -v '^ *+' conftest.er1
>conftest.err
16072 cat conftest.err
>&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); } &&
16075 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16077 (eval $ac_try) 2>&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); }; } &&
16081 { ac_try
='test -s conftest.$ac_objext'
16082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16083 (eval $ac_try) 2>&5
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); }; }; then
16087 ac_lo
=$ac_mid; break
16089 echo "$as_me: failed program was:" >&5
16090 sed 's/^/| /' conftest.
$ac_ext >&5
16092 ac_hi
=`expr '(' $ac_mid ')' - 1`
16093 if test $ac_mid -le $ac_hi; then
16097 ac_mid
=`expr 2 '*' $ac_mid`
16099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16102 echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.
$ac_ext >&5
16107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16110 # Binary search between lo and hi bounds.
16111 while test "x$ac_lo" != "x$ac_hi"; do
16112 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16113 cat >conftest.
$ac_ext <<_ACEOF
16116 cat confdefs.h
>>conftest.
$ac_ext
16117 cat >>conftest.
$ac_ext <<_ACEOF
16118 /* end confdefs.h. */
16119 $ac_includes_default
16123 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16130 rm -f conftest.
$ac_objext
16131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16132 (eval $ac_compile) 2>conftest.er1
16134 grep -v '^ *+' conftest.er1
>conftest.err
16136 cat conftest.err
>&5
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); } &&
16139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16141 (eval $ac_try) 2>&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); }; } &&
16145 { ac_try
='test -s conftest.$ac_objext'
16146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16147 (eval $ac_try) 2>&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); }; }; then
16153 echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.
$ac_ext >&5
16156 ac_lo
=`expr '(' $ac_mid ')' + 1`
16158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16161 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16162 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16163 See \`config.log' for more details." >&5
16164 echo "$as_me: error: cannot compute sizeof (char), 77
16165 See \`config.log' for more details." >&2;}
16166 { (exit 1); exit 1; }; } ;;
16169 if test "$cross_compiling" = yes; then
16170 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16171 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16172 { (exit 1); exit 1; }; }
16174 cat >conftest.
$ac_ext <<_ACEOF
16177 cat confdefs.h
>>conftest.
$ac_ext
16178 cat >>conftest.
$ac_ext <<_ACEOF
16179 /* end confdefs.h. */
16180 $ac_includes_default
16181 long longval () { return (long) (sizeof (char)); }
16182 unsigned long ulongval () { return (long) (sizeof (char)); }
16184 #include <stdlib.h>
16189 FILE *f = fopen ("conftest.val", "w");
16192 if (((long) (sizeof (char))) < 0)
16194 long i = longval ();
16195 if (i != ((long) (sizeof (char))))
16197 fprintf (f, "%ld\n", i);
16201 unsigned long i = ulongval ();
16202 if (i != ((long) (sizeof (char))))
16204 fprintf (f, "%lu\n", i);
16206 exit (ferror (f) || fclose (f) != 0);
16212 rm -f conftest
$ac_exeext
16213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16214 (eval $ac_link) 2>&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16219 (eval $ac_try) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }; }; then
16223 ac_cv_sizeof_char
=`cat conftest.val`
16225 echo "$as_me: program exited with status $ac_status" >&5
16226 echo "$as_me: failed program was:" >&5
16227 sed 's/^/| /' conftest.
$ac_ext >&5
16229 ( exit $ac_status )
16230 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16231 See \`config.log' for more details." >&5
16232 echo "$as_me: error: cannot compute sizeof (char), 77
16233 See \`config.log' for more details." >&2;}
16234 { (exit 1); exit 1; }; }
16236 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16241 ac_cv_sizeof_char
=0
16244 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16245 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16246 cat >>confdefs.h
<<_ACEOF
16247 #define SIZEOF_CHAR $ac_cv_sizeof_char
16251 echo "$as_me:$LINENO: checking for short" >&5
16252 echo $ECHO_N "checking for short... $ECHO_C" >&6
16253 if test "${ac_cv_type_short+set}" = set; then
16254 echo $ECHO_N "(cached) $ECHO_C" >&6
16256 cat >conftest.
$ac_ext <<_ACEOF
16259 cat confdefs.h
>>conftest.
$ac_ext
16260 cat >>conftest.
$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16262 $ac_includes_default
16268 if (sizeof (short))
16274 rm -f conftest.
$ac_objext
16275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16276 (eval $ac_compile) 2>conftest.er1
16278 grep -v '^ *+' conftest.er1
>conftest.err
16280 cat conftest.err
>&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); } &&
16283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16285 (eval $ac_try) 2>&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); }; } &&
16289 { ac_try
='test -s conftest.$ac_objext'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; }; then
16295 ac_cv_type_short
=yes
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.
$ac_ext >&5
16300 ac_cv_type_short
=no
16302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16304 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16305 echo "${ECHO_T}$ac_cv_type_short" >&6
16307 echo "$as_me:$LINENO: checking size of short" >&5
16308 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16309 if test "${ac_cv_sizeof_short+set}" = set; then
16310 echo $ECHO_N "(cached) $ECHO_C" >&6
16312 if test "$ac_cv_type_short" = yes; then
16313 # The cast to unsigned long works around a bug in the HP C Compiler
16314 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16315 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16316 # This bug is HP SR number 8606223364.
16317 if test "$cross_compiling" = yes; then
16318 # Depending upon the size, compute the lo and hi bounds.
16319 cat >conftest.
$ac_ext <<_ACEOF
16322 cat confdefs.h
>>conftest.
$ac_ext
16323 cat >>conftest.
$ac_ext <<_ACEOF
16324 /* end confdefs.h. */
16325 $ac_includes_default
16329 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16336 rm -f conftest.
$ac_objext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16338 (eval $ac_compile) 2>conftest.er1
16340 grep -v '^ *+' conftest.er1
>conftest.err
16342 cat conftest.err
>&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; } &&
16351 { ac_try
='test -s conftest.$ac_objext'
16352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16353 (eval $ac_try) 2>&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); }; }; then
16359 cat >conftest.
$ac_ext <<_ACEOF
16362 cat confdefs.h
>>conftest.
$ac_ext
16363 cat >>conftest.
$ac_ext <<_ACEOF
16364 /* end confdefs.h. */
16365 $ac_includes_default
16369 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16376 rm -f conftest.
$ac_objext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378 (eval $ac_compile) 2>conftest.er1
16380 grep -v '^ *+' conftest.er1
>conftest.err
16382 cat conftest.err
>&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); } &&
16385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; } &&
16391 { ac_try
='test -s conftest.$ac_objext'
16392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393 (eval $ac_try) 2>&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); }; }; then
16397 ac_hi
=$ac_mid; break
16399 echo "$as_me: failed program was:" >&5
16400 sed 's/^/| /' conftest.
$ac_ext >&5
16402 ac_lo
=`expr $ac_mid + 1`
16403 if test $ac_lo -le $ac_mid; then
16407 ac_mid
=`expr 2 '*' $ac_mid + 1`
16409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.
$ac_ext >&5
16415 cat >conftest.
$ac_ext <<_ACEOF
16418 cat confdefs.h
>>conftest.
$ac_ext
16419 cat >>conftest.
$ac_ext <<_ACEOF
16420 /* end confdefs.h. */
16421 $ac_includes_default
16425 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16432 rm -f conftest.
$ac_objext
16433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16434 (eval $ac_compile) 2>conftest.er1
16436 grep -v '^ *+' conftest.er1
>conftest.err
16438 cat conftest.err
>&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } &&
16441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16443 (eval $ac_try) 2>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); }; } &&
16447 { ac_try
='test -s conftest.$ac_objext'
16448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449 (eval $ac_try) 2>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }; }; then
16455 cat >conftest.
$ac_ext <<_ACEOF
16458 cat confdefs.h
>>conftest.
$ac_ext
16459 cat >>conftest.
$ac_ext <<_ACEOF
16460 /* end confdefs.h. */
16461 $ac_includes_default
16465 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16472 rm -f conftest.
$ac_objext
16473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16474 (eval $ac_compile) 2>conftest.er1
16476 grep -v '^ *+' conftest.er1
>conftest.err
16478 cat conftest.err
>&5
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); } &&
16481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16483 (eval $ac_try) 2>&5
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); }; } &&
16487 { ac_try
='test -s conftest.$ac_objext'
16488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16489 (eval $ac_try) 2>&5
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); }; }; then
16493 ac_lo
=$ac_mid; break
16495 echo "$as_me: failed program was:" >&5
16496 sed 's/^/| /' conftest.
$ac_ext >&5
16498 ac_hi
=`expr '(' $ac_mid ')' - 1`
16499 if test $ac_mid -le $ac_hi; then
16503 ac_mid
=`expr 2 '*' $ac_mid`
16505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16508 echo "$as_me: failed program was:" >&5
16509 sed 's/^/| /' conftest.
$ac_ext >&5
16513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16516 # Binary search between lo and hi bounds.
16517 while test "x$ac_lo" != "x$ac_hi"; do
16518 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16519 cat >conftest.
$ac_ext <<_ACEOF
16522 cat confdefs.h
>>conftest.
$ac_ext
16523 cat >>conftest.
$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16525 $ac_includes_default
16529 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16536 rm -f conftest.
$ac_objext
16537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16538 (eval $ac_compile) 2>conftest.er1
16540 grep -v '^ *+' conftest.er1
>conftest.err
16542 cat conftest.err
>&5
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); } &&
16545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16547 (eval $ac_try) 2>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; } &&
16551 { ac_try
='test -s conftest.$ac_objext'
16552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16553 (eval $ac_try) 2>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); }; }; then
16559 echo "$as_me: failed program was:" >&5
16560 sed 's/^/| /' conftest.
$ac_ext >&5
16562 ac_lo
=`expr '(' $ac_mid ')' + 1`
16564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16567 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16568 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16569 See \`config.log' for more details." >&5
16570 echo "$as_me: error: cannot compute sizeof (short), 77
16571 See \`config.log' for more details." >&2;}
16572 { (exit 1); exit 1; }; } ;;
16575 if test "$cross_compiling" = yes; then
16576 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16577 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16578 { (exit 1); exit 1; }; }
16580 cat >conftest.
$ac_ext <<_ACEOF
16583 cat confdefs.h
>>conftest.
$ac_ext
16584 cat >>conftest.
$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16587 long longval () { return (long) (sizeof (short)); }
16588 unsigned long ulongval () { return (long) (sizeof (short)); }
16590 #include <stdlib.h>
16595 FILE *f = fopen ("conftest.val", "w");
16598 if (((long) (sizeof (short))) < 0)
16600 long i = longval ();
16601 if (i != ((long) (sizeof (short))))
16603 fprintf (f, "%ld\n", i);
16607 unsigned long i = ulongval ();
16608 if (i != ((long) (sizeof (short))))
16610 fprintf (f, "%lu\n", i);
16612 exit (ferror (f) || fclose (f) != 0);
16618 rm -f conftest
$ac_exeext
16619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16620 (eval $ac_link) 2>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625 (eval $ac_try) 2>&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; }; then
16629 ac_cv_sizeof_short
=`cat conftest.val`
16631 echo "$as_me: program exited with status $ac_status" >&5
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.
$ac_ext >&5
16635 ( exit $ac_status )
16636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16637 See \`config.log' for more details." >&5
16638 echo "$as_me: error: cannot compute sizeof (short), 77
16639 See \`config.log' for more details." >&2;}
16640 { (exit 1); exit 1; }; }
16642 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16647 ac_cv_sizeof_short
=0
16650 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16651 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16652 cat >>confdefs.h
<<_ACEOF
16653 #define SIZEOF_SHORT $ac_cv_sizeof_short
16657 echo "$as_me:$LINENO: checking for void *" >&5
16658 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16659 if test "${ac_cv_type_void_p+set}" = set; then
16660 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 cat >conftest.
$ac_ext <<_ACEOF
16665 cat confdefs.h
>>conftest.
$ac_ext
16666 cat >>conftest.
$ac_ext <<_ACEOF
16667 /* end confdefs.h. */
16668 $ac_includes_default
16674 if (sizeof (void *))
16680 rm -f conftest.
$ac_objext
16681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16682 (eval $ac_compile) 2>conftest.er1
16684 grep -v '^ *+' conftest.er1
>conftest.err
16686 cat conftest.err
>&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); } &&
16689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; } &&
16695 { ac_try
='test -s conftest.$ac_objext'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; }; then
16701 ac_cv_type_void_p
=yes
16703 echo "$as_me: failed program was:" >&5
16704 sed 's/^/| /' conftest.
$ac_ext >&5
16706 ac_cv_type_void_p
=no
16708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16710 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16711 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16713 echo "$as_me:$LINENO: checking size of void *" >&5
16714 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16715 if test "${ac_cv_sizeof_void_p+set}" = set; then
16716 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 if test "$ac_cv_type_void_p" = yes; then
16719 # The cast to unsigned long works around a bug in the HP C Compiler
16720 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16721 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16722 # This bug is HP SR number 8606223364.
16723 if test "$cross_compiling" = yes; then
16724 # Depending upon the size, compute the lo and hi bounds.
16725 cat >conftest.
$ac_ext <<_ACEOF
16728 cat confdefs.h
>>conftest.
$ac_ext
16729 cat >>conftest.
$ac_ext <<_ACEOF
16730 /* end confdefs.h. */
16731 $ac_includes_default
16735 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16742 rm -f conftest.
$ac_objext
16743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16744 (eval $ac_compile) 2>conftest.er1
16746 grep -v '^ *+' conftest.er1
>conftest.err
16748 cat conftest.err
>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } &&
16751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16753 (eval $ac_try) 2>&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); }; } &&
16757 { ac_try
='test -s conftest.$ac_objext'
16758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16759 (eval $ac_try) 2>&5
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); }; }; then
16765 cat >conftest.
$ac_ext <<_ACEOF
16768 cat confdefs.h
>>conftest.
$ac_ext
16769 cat >>conftest.
$ac_ext <<_ACEOF
16770 /* end confdefs.h. */
16771 $ac_includes_default
16775 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16782 rm -f conftest.
$ac_objext
16783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16784 (eval $ac_compile) 2>conftest.er1
16786 grep -v '^ *+' conftest.er1
>conftest.err
16788 cat conftest.err
>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } &&
16791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; } &&
16797 { ac_try
='test -s conftest.$ac_objext'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; }; then
16803 ac_hi
=$ac_mid; break
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.
$ac_ext >&5
16808 ac_lo
=`expr $ac_mid + 1`
16809 if test $ac_lo -le $ac_mid; then
16813 ac_mid
=`expr 2 '*' $ac_mid + 1`
16815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.
$ac_ext >&5
16821 cat >conftest.
$ac_ext <<_ACEOF
16824 cat confdefs.h
>>conftest.
$ac_ext
16825 cat >>conftest.
$ac_ext <<_ACEOF
16826 /* end confdefs.h. */
16827 $ac_includes_default
16831 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16838 rm -f conftest.
$ac_objext
16839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16840 (eval $ac_compile) 2>conftest.er1
16842 grep -v '^ *+' conftest.er1
>conftest.err
16844 cat conftest.err
>&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } &&
16847 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; } &&
16853 { ac_try
='test -s conftest.$ac_objext'
16854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16855 (eval $ac_try) 2>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); }; }; then
16861 cat >conftest.
$ac_ext <<_ACEOF
16864 cat confdefs.h
>>conftest.
$ac_ext
16865 cat >>conftest.
$ac_ext <<_ACEOF
16866 /* end confdefs.h. */
16867 $ac_includes_default
16871 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16878 rm -f conftest.
$ac_objext
16879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16880 (eval $ac_compile) 2>conftest.er1
16882 grep -v '^ *+' conftest.er1
>conftest.err
16884 cat conftest.err
>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); } &&
16887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16889 (eval $ac_try) 2>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); }; } &&
16893 { ac_try
='test -s conftest.$ac_objext'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; }; then
16899 ac_lo
=$ac_mid; break
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.
$ac_ext >&5
16904 ac_hi
=`expr '(' $ac_mid ')' - 1`
16905 if test $ac_mid -le $ac_hi; then
16909 ac_mid
=`expr 2 '*' $ac_mid`
16911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16914 echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.
$ac_ext >&5
16919 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16922 # Binary search between lo and hi bounds.
16923 while test "x$ac_lo" != "x$ac_hi"; do
16924 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16925 cat >conftest.
$ac_ext <<_ACEOF
16928 cat confdefs.h
>>conftest.
$ac_ext
16929 cat >>conftest.
$ac_ext <<_ACEOF
16930 /* end confdefs.h. */
16931 $ac_includes_default
16935 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16942 rm -f conftest.
$ac_objext
16943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16944 (eval $ac_compile) 2>conftest.er1
16946 grep -v '^ *+' conftest.er1
>conftest.err
16948 cat conftest.err
>&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); } &&
16951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; } &&
16957 { ac_try
='test -s conftest.$ac_objext'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; }; then
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.
$ac_ext >&5
16968 ac_lo
=`expr '(' $ac_mid ')' + 1`
16970 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16973 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16974 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16975 See \`config.log' for more details." >&5
16976 echo "$as_me: error: cannot compute sizeof (void *), 77
16977 See \`config.log' for more details." >&2;}
16978 { (exit 1); exit 1; }; } ;;
16981 if test "$cross_compiling" = yes; then
16982 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16983 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16984 { (exit 1); exit 1; }; }
16986 cat >conftest.
$ac_ext <<_ACEOF
16989 cat confdefs.h
>>conftest.
$ac_ext
16990 cat >>conftest.
$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16993 long longval () { return (long) (sizeof (void *)); }
16994 unsigned long ulongval () { return (long) (sizeof (void *)); }
16996 #include <stdlib.h>
17001 FILE *f = fopen ("conftest.val", "w");
17004 if (((long) (sizeof (void *))) < 0)
17006 long i = longval ();
17007 if (i != ((long) (sizeof (void *))))
17009 fprintf (f, "%ld\n", i);
17013 unsigned long i = ulongval ();
17014 if (i != ((long) (sizeof (void *))))
17016 fprintf (f, "%lu\n", i);
17018 exit (ferror (f) || fclose (f) != 0);
17024 rm -f conftest
$ac_exeext
17025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17026 (eval $ac_link) 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17031 (eval $ac_try) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); }; }; then
17035 ac_cv_sizeof_void_p
=`cat conftest.val`
17037 echo "$as_me: program exited with status $ac_status" >&5
17038 echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.
$ac_ext >&5
17041 ( exit $ac_status )
17042 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17043 See \`config.log' for more details." >&5
17044 echo "$as_me: error: cannot compute sizeof (void *), 77
17045 See \`config.log' for more details." >&2;}
17046 { (exit 1); exit 1; }; }
17048 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17053 ac_cv_sizeof_void_p
=0
17056 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17057 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17058 cat >>confdefs.h
<<_ACEOF
17059 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17063 echo "$as_me:$LINENO: checking for int" >&5
17064 echo $ECHO_N "checking for int... $ECHO_C" >&6
17065 if test "${ac_cv_type_int+set}" = set; then
17066 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 cat >conftest.
$ac_ext <<_ACEOF
17071 cat confdefs.h
>>conftest.
$ac_ext
17072 cat >>conftest.
$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17074 $ac_includes_default
17086 rm -f conftest.
$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>conftest.er1
17090 grep -v '^ *+' conftest.er1
>conftest.err
17092 cat conftest.err
>&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; } &&
17101 { ac_try
='test -s conftest.$ac_objext'
17102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103 (eval $ac_try) 2>&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); }; }; then
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.
$ac_ext >&5
17114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17116 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17117 echo "${ECHO_T}$ac_cv_type_int" >&6
17119 echo "$as_me:$LINENO: checking size of int" >&5
17120 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17121 if test "${ac_cv_sizeof_int+set}" = set; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 if test "$ac_cv_type_int" = yes; then
17125 # The cast to unsigned long works around a bug in the HP C Compiler
17126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17128 # This bug is HP SR number 8606223364.
17129 if test "$cross_compiling" = yes; then
17130 # Depending upon the size, compute the lo and hi bounds.
17131 cat >conftest.
$ac_ext <<_ACEOF
17134 cat confdefs.h
>>conftest.
$ac_ext
17135 cat >>conftest.
$ac_ext <<_ACEOF
17136 /* end confdefs.h. */
17137 $ac_includes_default
17141 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17148 rm -f conftest.
$ac_objext
17149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17150 (eval $ac_compile) 2>conftest.er1
17152 grep -v '^ *+' conftest.er1
>conftest.err
17154 cat conftest.err
>&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } &&
17157 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159 (eval $ac_try) 2>&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; } &&
17163 { ac_try
='test -s conftest.$ac_objext'
17164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165 (eval $ac_try) 2>&5
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; }; then
17171 cat >conftest.
$ac_ext <<_ACEOF
17174 cat confdefs.h
>>conftest.
$ac_ext
17175 cat >>conftest.
$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17177 $ac_includes_default
17181 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17188 rm -f conftest.
$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>conftest.er1
17192 grep -v '^ *+' conftest.er1
>conftest.err
17194 cat conftest.err
>&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; } &&
17203 { ac_try
='test -s conftest.$ac_objext'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; }; then
17209 ac_hi
=$ac_mid; break
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.
$ac_ext >&5
17214 ac_lo
=`expr $ac_mid + 1`
17215 if test $ac_lo -le $ac_mid; then
17219 ac_mid
=`expr 2 '*' $ac_mid + 1`
17221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.
$ac_ext >&5
17227 cat >conftest.
$ac_ext <<_ACEOF
17230 cat confdefs.h
>>conftest.
$ac_ext
17231 cat >>conftest.
$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17233 $ac_includes_default
17237 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17244 rm -f conftest.
$ac_objext
17245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17246 (eval $ac_compile) 2>conftest.er1
17248 grep -v '^ *+' conftest.er1
>conftest.err
17250 cat conftest.err
>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } &&
17253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17255 (eval $ac_try) 2>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); }; } &&
17259 { ac_try
='test -s conftest.$ac_objext'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; }; then
17267 cat >conftest.
$ac_ext <<_ACEOF
17270 cat confdefs.h
>>conftest.
$ac_ext
17271 cat >>conftest.
$ac_ext <<_ACEOF
17272 /* end confdefs.h. */
17273 $ac_includes_default
17277 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17284 rm -f conftest.
$ac_objext
17285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17286 (eval $ac_compile) 2>conftest.er1
17288 grep -v '^ *+' conftest.er1
>conftest.err
17290 cat conftest.err
>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); } &&
17293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17295 (eval $ac_try) 2>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); }; } &&
17299 { ac_try
='test -s conftest.$ac_objext'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; }; then
17305 ac_lo
=$ac_mid; break
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.
$ac_ext >&5
17310 ac_hi
=`expr '(' $ac_mid ')' - 1`
17311 if test $ac_mid -le $ac_hi; then
17315 ac_mid
=`expr 2 '*' $ac_mid`
17317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17320 echo "$as_me: failed program was:" >&5
17321 sed 's/^/| /' conftest.
$ac_ext >&5
17325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17328 # Binary search between lo and hi bounds.
17329 while test "x$ac_lo" != "x$ac_hi"; do
17330 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17331 cat >conftest.
$ac_ext <<_ACEOF
17334 cat confdefs.h
>>conftest.
$ac_ext
17335 cat >>conftest.
$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17337 $ac_includes_default
17341 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17348 rm -f conftest.
$ac_objext
17349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17350 (eval $ac_compile) 2>conftest.er1
17352 grep -v '^ *+' conftest.er1
>conftest.err
17354 cat conftest.err
>&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); } &&
17357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; } &&
17363 { ac_try
='test -s conftest.$ac_objext'
17364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17365 (eval $ac_try) 2>&5
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }; }; then
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.
$ac_ext >&5
17374 ac_lo
=`expr '(' $ac_mid ')' + 1`
17376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17379 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17380 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17381 See \`config.log' for more details." >&5
17382 echo "$as_me: error: cannot compute sizeof (int), 77
17383 See \`config.log' for more details." >&2;}
17384 { (exit 1); exit 1; }; } ;;
17387 if test "$cross_compiling" = yes; then
17388 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17389 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17390 { (exit 1); exit 1; }; }
17392 cat >conftest.
$ac_ext <<_ACEOF
17395 cat confdefs.h
>>conftest.
$ac_ext
17396 cat >>conftest.
$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17398 $ac_includes_default
17399 long longval () { return (long) (sizeof (int)); }
17400 unsigned long ulongval () { return (long) (sizeof (int)); }
17402 #include <stdlib.h>
17407 FILE *f = fopen ("conftest.val", "w");
17410 if (((long) (sizeof (int))) < 0)
17412 long i = longval ();
17413 if (i != ((long) (sizeof (int))))
17415 fprintf (f, "%ld\n", i);
17419 unsigned long i = ulongval ();
17420 if (i != ((long) (sizeof (int))))
17422 fprintf (f, "%lu\n", i);
17424 exit (ferror (f) || fclose (f) != 0);
17430 rm -f conftest
$ac_exeext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17432 (eval $ac_link) 2>&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; }; then
17441 ac_cv_sizeof_int
=`cat conftest.val`
17443 echo "$as_me: program exited with status $ac_status" >&5
17444 echo "$as_me: failed program was:" >&5
17445 sed 's/^/| /' conftest.
$ac_ext >&5
17447 ( exit $ac_status )
17448 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17449 See \`config.log' for more details." >&5
17450 echo "$as_me: error: cannot compute sizeof (int), 77
17451 See \`config.log' for more details." >&2;}
17452 { (exit 1); exit 1; }; }
17454 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17462 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17463 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17464 cat >>confdefs.h
<<_ACEOF
17465 #define SIZEOF_INT $ac_cv_sizeof_int
17469 echo "$as_me:$LINENO: checking for long" >&5
17470 echo $ECHO_N "checking for long... $ECHO_C" >&6
17471 if test "${ac_cv_type_long+set}" = set; then
17472 echo $ECHO_N "(cached) $ECHO_C" >&6
17474 cat >conftest.
$ac_ext <<_ACEOF
17477 cat confdefs.h
>>conftest.
$ac_ext
17478 cat >>conftest.
$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17492 rm -f conftest.
$ac_objext
17493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17494 (eval $ac_compile) 2>conftest.er1
17496 grep -v '^ *+' conftest.er1
>conftest.err
17498 cat conftest.err
>&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); } &&
17501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try
='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17513 ac_cv_type_long
=yes
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.
$ac_ext >&5
17520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17522 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17523 echo "${ECHO_T}$ac_cv_type_long" >&6
17525 echo "$as_me:$LINENO: checking size of long" >&5
17526 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17527 if test "${ac_cv_sizeof_long+set}" = set; then
17528 echo $ECHO_N "(cached) $ECHO_C" >&6
17530 if test "$ac_cv_type_long" = yes; then
17531 # The cast to unsigned long works around a bug in the HP C Compiler
17532 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17533 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17534 # This bug is HP SR number 8606223364.
17535 if test "$cross_compiling" = yes; then
17536 # Depending upon the size, compute the lo and hi bounds.
17537 cat >conftest.
$ac_ext <<_ACEOF
17540 cat confdefs.h
>>conftest.
$ac_ext
17541 cat >>conftest.
$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17543 $ac_includes_default
17547 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17554 rm -f conftest.
$ac_objext
17555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17556 (eval $ac_compile) 2>conftest.er1
17558 grep -v '^ *+' conftest.er1
>conftest.err
17560 cat conftest.err
>&5
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); } &&
17563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17565 (eval $ac_try) 2>&5
17567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17568 (exit $ac_status); }; } &&
17569 { ac_try
='test -s conftest.$ac_objext'
17570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17571 (eval $ac_try) 2>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); }; }; then
17577 cat >conftest.
$ac_ext <<_ACEOF
17580 cat confdefs.h
>>conftest.
$ac_ext
17581 cat >>conftest.
$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583 $ac_includes_default
17587 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17594 rm -f conftest.
$ac_objext
17595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17596 (eval $ac_compile) 2>conftest.er1
17598 grep -v '^ *+' conftest.er1
>conftest.err
17600 cat conftest.err
>&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } &&
17603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; } &&
17609 { ac_try
='test -s conftest.$ac_objext'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; }; then
17615 ac_hi
=$ac_mid; break
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.
$ac_ext >&5
17620 ac_lo
=`expr $ac_mid + 1`
17621 if test $ac_lo -le $ac_mid; then
17625 ac_mid
=`expr 2 '*' $ac_mid + 1`
17627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17630 echo "$as_me: failed program was:" >&5
17631 sed 's/^/| /' conftest.
$ac_ext >&5
17633 cat >conftest.
$ac_ext <<_ACEOF
17636 cat confdefs.h
>>conftest.
$ac_ext
17637 cat >>conftest.
$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17639 $ac_includes_default
17643 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17650 rm -f conftest.
$ac_objext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652 (eval $ac_compile) 2>conftest.er1
17654 grep -v '^ *+' conftest.er1
>conftest.err
17656 cat conftest.err
>&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } &&
17659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; } &&
17665 { ac_try
='test -s conftest.$ac_objext'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17673 cat >conftest.
$ac_ext <<_ACEOF
17676 cat confdefs.h
>>conftest.
$ac_ext
17677 cat >>conftest.
$ac_ext <<_ACEOF
17678 /* end confdefs.h. */
17679 $ac_includes_default
17683 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17690 rm -f conftest.
$ac_objext
17691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17692 (eval $ac_compile) 2>conftest.er1
17694 grep -v '^ *+' conftest.er1
>conftest.err
17696 cat conftest.err
>&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } &&
17699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; } &&
17705 { ac_try
='test -s conftest.$ac_objext'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; }; then
17711 ac_lo
=$ac_mid; break
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.
$ac_ext >&5
17716 ac_hi
=`expr '(' $ac_mid ')' - 1`
17717 if test $ac_mid -le $ac_hi; then
17721 ac_mid
=`expr 2 '*' $ac_mid`
17723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.
$ac_ext >&5
17731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17734 # Binary search between lo and hi bounds.
17735 while test "x$ac_lo" != "x$ac_hi"; do
17736 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17737 cat >conftest.
$ac_ext <<_ACEOF
17740 cat confdefs.h
>>conftest.
$ac_ext
17741 cat >>conftest.
$ac_ext <<_ACEOF
17742 /* end confdefs.h. */
17743 $ac_includes_default
17747 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17754 rm -f conftest.
$ac_objext
17755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17756 (eval $ac_compile) 2>conftest.er1
17758 grep -v '^ *+' conftest.er1
>conftest.err
17760 cat conftest.err
>&5
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } &&
17763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; } &&
17769 { ac_try
='test -s conftest.$ac_objext'
17770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771 (eval $ac_try) 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; }; then
17777 echo "$as_me: failed program was:" >&5
17778 sed 's/^/| /' conftest.
$ac_ext >&5
17780 ac_lo
=`expr '(' $ac_mid ')' + 1`
17782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17785 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17786 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17787 See \`config.log' for more details." >&5
17788 echo "$as_me: error: cannot compute sizeof (long), 77
17789 See \`config.log' for more details." >&2;}
17790 { (exit 1); exit 1; }; } ;;
17793 if test "$cross_compiling" = yes; then
17794 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17795 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17796 { (exit 1); exit 1; }; }
17798 cat >conftest.
$ac_ext <<_ACEOF
17801 cat confdefs.h
>>conftest.
$ac_ext
17802 cat >>conftest.
$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17804 $ac_includes_default
17805 long longval () { return (long) (sizeof (long)); }
17806 unsigned long ulongval () { return (long) (sizeof (long)); }
17808 #include <stdlib.h>
17813 FILE *f = fopen ("conftest.val", "w");
17816 if (((long) (sizeof (long))) < 0)
17818 long i = longval ();
17819 if (i != ((long) (sizeof (long))))
17821 fprintf (f, "%ld\n", i);
17825 unsigned long i = ulongval ();
17826 if (i != ((long) (sizeof (long))))
17828 fprintf (f, "%lu\n", i);
17830 exit (ferror (f) || fclose (f) != 0);
17836 rm -f conftest
$ac_exeext
17837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17838 (eval $ac_link) 2>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17843 (eval $ac_try) 2>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; }; then
17847 ac_cv_sizeof_long
=`cat conftest.val`
17849 echo "$as_me: program exited with status $ac_status" >&5
17850 echo "$as_me: failed program was:" >&5
17851 sed 's/^/| /' conftest.
$ac_ext >&5
17853 ( exit $ac_status )
17854 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17855 See \`config.log' for more details." >&5
17856 echo "$as_me: error: cannot compute sizeof (long), 77
17857 See \`config.log' for more details." >&2;}
17858 { (exit 1); exit 1; }; }
17860 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17865 ac_cv_sizeof_long
=0
17868 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17869 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17870 cat >>confdefs.h
<<_ACEOF
17871 #define SIZEOF_LONG $ac_cv_sizeof_long
17875 echo "$as_me:$LINENO: checking for size_t" >&5
17876 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17877 if test "${ac_cv_type_size_t+set}" = set; then
17878 echo $ECHO_N "(cached) $ECHO_C" >&6
17880 cat >conftest.
$ac_ext <<_ACEOF
17883 cat confdefs.h
>>conftest.
$ac_ext
17884 cat >>conftest.
$ac_ext <<_ACEOF
17885 /* end confdefs.h. */
17886 $ac_includes_default
17892 if (sizeof (size_t))
17898 rm -f conftest.
$ac_objext
17899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17900 (eval $ac_compile) 2>conftest.er1
17902 grep -v '^ *+' conftest.er1
>conftest.err
17904 cat conftest.err
>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } &&
17907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; } &&
17913 { ac_try
='test -s conftest.$ac_objext'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; }; then
17919 ac_cv_type_size_t
=yes
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.
$ac_ext >&5
17924 ac_cv_type_size_t
=no
17926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17928 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17929 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17931 echo "$as_me:$LINENO: checking size of size_t" >&5
17932 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
17933 if test "${ac_cv_sizeof_size_t+set}" = set; then
17934 echo $ECHO_N "(cached) $ECHO_C" >&6
17936 if test "$ac_cv_type_size_t" = yes; then
17937 # The cast to unsigned long works around a bug in the HP C Compiler
17938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17940 # This bug is HP SR number 8606223364.
17941 if test "$cross_compiling" = yes; then
17942 # Depending upon the size, compute the lo and hi bounds.
17943 cat >conftest.
$ac_ext <<_ACEOF
17946 cat confdefs.h
>>conftest.
$ac_ext
17947 cat >>conftest.
$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949 $ac_includes_default
17953 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
17960 rm -f conftest.
$ac_objext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17962 (eval $ac_compile) 2>conftest.er1
17964 grep -v '^ *+' conftest.er1
>conftest.err
17966 cat conftest.err
>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; } &&
17975 { ac_try
='test -s conftest.$ac_objext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17983 cat >conftest.
$ac_ext <<_ACEOF
17986 cat confdefs.h
>>conftest.
$ac_ext
17987 cat >>conftest.
$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 $ac_includes_default
17993 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18000 rm -f conftest.
$ac_objext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18002 (eval $ac_compile) 2>conftest.er1
18004 grep -v '^ *+' conftest.er1
>conftest.err
18006 cat conftest.err
>&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); } &&
18009 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18011 (eval $ac_try) 2>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); }; } &&
18015 { ac_try
='test -s conftest.$ac_objext'
18016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18017 (eval $ac_try) 2>&5
18019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); }; }; then
18021 ac_hi
=$ac_mid; break
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.
$ac_ext >&5
18026 ac_lo
=`expr $ac_mid + 1`
18027 if test $ac_lo -le $ac_mid; then
18031 ac_mid
=`expr 2 '*' $ac_mid + 1`
18033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18036 echo "$as_me: failed program was:" >&5
18037 sed 's/^/| /' conftest.
$ac_ext >&5
18039 cat >conftest.
$ac_ext <<_ACEOF
18042 cat confdefs.h
>>conftest.
$ac_ext
18043 cat >>conftest.
$ac_ext <<_ACEOF
18044 /* end confdefs.h. */
18045 $ac_includes_default
18049 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18056 rm -f conftest.
$ac_objext
18057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18058 (eval $ac_compile) 2>conftest.er1
18060 grep -v '^ *+' conftest.er1
>conftest.err
18062 cat conftest.err
>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } &&
18065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; } &&
18071 { ac_try
='test -s conftest.$ac_objext'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; }; then
18079 cat >conftest.
$ac_ext <<_ACEOF
18082 cat confdefs.h
>>conftest.
$ac_ext
18083 cat >>conftest.
$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085 $ac_includes_default
18089 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18096 rm -f conftest.
$ac_objext
18097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18098 (eval $ac_compile) 2>conftest.er1
18100 grep -v '^ *+' conftest.er1
>conftest.err
18102 cat conftest.err
>&5
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); } &&
18105 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18107 (eval $ac_try) 2>&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); }; } &&
18111 { ac_try
='test -s conftest.$ac_objext'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; }; then
18117 ac_lo
=$ac_mid; break
18119 echo "$as_me: failed program was:" >&5
18120 sed 's/^/| /' conftest.
$ac_ext >&5
18122 ac_hi
=`expr '(' $ac_mid ')' - 1`
18123 if test $ac_mid -le $ac_hi; then
18127 ac_mid
=`expr 2 '*' $ac_mid`
18129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18132 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.
$ac_ext >&5
18137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18140 # Binary search between lo and hi bounds.
18141 while test "x$ac_lo" != "x$ac_hi"; do
18142 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18143 cat >conftest.
$ac_ext <<_ACEOF
18146 cat confdefs.h
>>conftest.
$ac_ext
18147 cat >>conftest.
$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18149 $ac_includes_default
18153 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18160 rm -f conftest.
$ac_objext
18161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18162 (eval $ac_compile) 2>conftest.er1
18164 grep -v '^ *+' conftest.er1
>conftest.err
18166 cat conftest.err
>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } &&
18169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 (eval $ac_try) 2>&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); }; } &&
18175 { ac_try
='test -s conftest.$ac_objext'
18176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18177 (eval $ac_try) 2>&5
18179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180 (exit $ac_status); }; }; then
18183 echo "$as_me: failed program was:" >&5
18184 sed 's/^/| /' conftest.
$ac_ext >&5
18186 ac_lo
=`expr '(' $ac_mid ')' + 1`
18188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18191 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
18192 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18193 See \`config.log' for more details." >&5
18194 echo "$as_me: error: cannot compute sizeof (size_t), 77
18195 See \`config.log' for more details." >&2;}
18196 { (exit 1); exit 1; }; } ;;
18199 if test "$cross_compiling" = yes; then
18200 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18201 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18202 { (exit 1); exit 1; }; }
18204 cat >conftest.
$ac_ext <<_ACEOF
18207 cat confdefs.h
>>conftest.
$ac_ext
18208 cat >>conftest.
$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18210 $ac_includes_default
18211 long longval () { return (long) (sizeof (size_t)); }
18212 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18214 #include <stdlib.h>
18219 FILE *f = fopen ("conftest.val", "w");
18222 if (((long) (sizeof (size_t))) < 0)
18224 long i = longval ();
18225 if (i != ((long) (sizeof (size_t))))
18227 fprintf (f, "%ld\n", i);
18231 unsigned long i = ulongval ();
18232 if (i != ((long) (sizeof (size_t))))
18234 fprintf (f, "%lu\n", i);
18236 exit (ferror (f) || fclose (f) != 0);
18242 rm -f conftest
$ac_exeext
18243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18244 (eval $ac_link) 2>&5
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; }; then
18253 ac_cv_sizeof_size_t
=`cat conftest.val`
18255 echo "$as_me: program exited with status $ac_status" >&5
18256 echo "$as_me: failed program was:" >&5
18257 sed 's/^/| /' conftest.
$ac_ext >&5
18259 ( exit $ac_status )
18260 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18261 See \`config.log' for more details." >&5
18262 echo "$as_me: error: cannot compute sizeof (size_t), 77
18263 See \`config.log' for more details." >&2;}
18264 { (exit 1); exit 1; }; }
18266 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18271 ac_cv_sizeof_size_t
=0
18274 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18275 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18276 cat >>confdefs.h
<<_ACEOF
18277 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18284 echo "$as_me:$LINENO: checking for long long" >&5
18285 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18286 if test "${ac_cv_type_long_long+set}" = set; then
18287 echo $ECHO_N "(cached) $ECHO_C" >&6
18289 cat >conftest.
$ac_ext <<_ACEOF
18292 cat confdefs.h
>>conftest.
$ac_ext
18293 cat >>conftest.
$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 $ac_includes_default
18299 if ((long long *) 0)
18301 if (sizeof (long long))
18307 rm -f conftest.
$ac_objext
18308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18309 (eval $ac_compile) 2>conftest.er1
18311 grep -v '^ *+' conftest.er1
>conftest.err
18313 cat conftest.err
>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } &&
18316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; } &&
18322 { ac_try
='test -s conftest.$ac_objext'
18323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324 (eval $ac_try) 2>&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); }; }; then
18328 ac_cv_type_long_long
=yes
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.
$ac_ext >&5
18333 ac_cv_type_long_long
=no
18335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18337 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18338 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18340 echo "$as_me:$LINENO: checking size of long long" >&5
18341 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18342 if test "${ac_cv_sizeof_long_long+set}" = set; then
18343 echo $ECHO_N "(cached) $ECHO_C" >&6
18345 if test "$ac_cv_type_long_long" = yes; then
18346 # The cast to unsigned long works around a bug in the HP C Compiler
18347 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18348 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18349 # This bug is HP SR number 8606223364.
18350 if test "$cross_compiling" = yes; then
18351 # Depending upon the size, compute the lo and hi bounds.
18352 cat >conftest.
$ac_ext <<_ACEOF
18355 cat confdefs.h
>>conftest.
$ac_ext
18356 cat >>conftest.
$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358 $ac_includes_default
18362 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18369 rm -f conftest.
$ac_objext
18370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18371 (eval $ac_compile) 2>conftest.er1
18373 grep -v '^ *+' conftest.er1
>conftest.err
18375 cat conftest.err
>&5
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); } &&
18378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; } &&
18384 { ac_try
='test -s conftest.$ac_objext'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; }; then
18392 cat >conftest.
$ac_ext <<_ACEOF
18395 cat confdefs.h
>>conftest.
$ac_ext
18396 cat >>conftest.
$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 $ac_includes_default
18402 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18409 rm -f conftest.
$ac_objext
18410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18411 (eval $ac_compile) 2>conftest.er1
18413 grep -v '^ *+' conftest.er1
>conftest.err
18415 cat conftest.err
>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } &&
18418 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; } &&
18424 { ac_try
='test -s conftest.$ac_objext'
18425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18426 (eval $ac_try) 2>&5
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); }; }; then
18430 ac_hi
=$ac_mid; break
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.
$ac_ext >&5
18435 ac_lo
=`expr $ac_mid + 1`
18436 if test $ac_lo -le $ac_mid; then
18440 ac_mid
=`expr 2 '*' $ac_mid + 1`
18442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18445 echo "$as_me: failed program was:" >&5
18446 sed 's/^/| /' conftest.
$ac_ext >&5
18448 cat >conftest.
$ac_ext <<_ACEOF
18451 cat confdefs.h
>>conftest.
$ac_ext
18452 cat >>conftest.
$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18454 $ac_includes_default
18458 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18465 rm -f conftest.
$ac_objext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18467 (eval $ac_compile) 2>conftest.er1
18469 grep -v '^ *+' conftest.er1
>conftest.err
18471 cat conftest.err
>&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); } &&
18474 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18476 (eval $ac_try) 2>&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); }; } &&
18480 { ac_try
='test -s conftest.$ac_objext'
18481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18482 (eval $ac_try) 2>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); }; }; then
18488 cat >conftest.
$ac_ext <<_ACEOF
18491 cat confdefs.h
>>conftest.
$ac_ext
18492 cat >>conftest.
$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494 $ac_includes_default
18498 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18505 rm -f conftest.
$ac_objext
18506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18507 (eval $ac_compile) 2>conftest.er1
18509 grep -v '^ *+' conftest.er1
>conftest.err
18511 cat conftest.err
>&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; } &&
18520 { ac_try
='test -s conftest.$ac_objext'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; }; then
18526 ac_lo
=$ac_mid; break
18528 echo "$as_me: failed program was:" >&5
18529 sed 's/^/| /' conftest.
$ac_ext >&5
18531 ac_hi
=`expr '(' $ac_mid ')' - 1`
18532 if test $ac_mid -le $ac_hi; then
18536 ac_mid
=`expr 2 '*' $ac_mid`
18538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18541 echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.
$ac_ext >&5
18546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18549 # Binary search between lo and hi bounds.
18550 while test "x$ac_lo" != "x$ac_hi"; do
18551 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18552 cat >conftest.
$ac_ext <<_ACEOF
18555 cat confdefs.h
>>conftest.
$ac_ext
18556 cat >>conftest.
$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 $ac_includes_default
18562 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18569 rm -f conftest.
$ac_objext
18570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18571 (eval $ac_compile) 2>conftest.er1
18573 grep -v '^ *+' conftest.er1
>conftest.err
18575 cat conftest.err
>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); } &&
18578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18580 (eval $ac_try) 2>&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); }; } &&
18584 { ac_try
='test -s conftest.$ac_objext'
18585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18586 (eval $ac_try) 2>&5
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); }; }; then
18592 echo "$as_me: failed program was:" >&5
18593 sed 's/^/| /' conftest.
$ac_ext >&5
18595 ac_lo
=`expr '(' $ac_mid ')' + 1`
18597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18600 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18601 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18602 See \`config.log' for more details." >&5
18603 echo "$as_me: error: cannot compute sizeof (long long), 77
18604 See \`config.log' for more details." >&2;}
18605 { (exit 1); exit 1; }; } ;;
18608 if test "$cross_compiling" = yes; then
18609 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18610 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18611 { (exit 1); exit 1; }; }
18613 cat >conftest.
$ac_ext <<_ACEOF
18616 cat confdefs.h
>>conftest.
$ac_ext
18617 cat >>conftest.
$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18619 $ac_includes_default
18620 long longval () { return (long) (sizeof (long long)); }
18621 unsigned long ulongval () { return (long) (sizeof (long long)); }
18623 #include <stdlib.h>
18628 FILE *f = fopen ("conftest.val", "w");
18631 if (((long) (sizeof (long long))) < 0)
18633 long i = longval ();
18634 if (i != ((long) (sizeof (long long))))
18636 fprintf (f, "%ld\n", i);
18640 unsigned long i = ulongval ();
18641 if (i != ((long) (sizeof (long long))))
18643 fprintf (f, "%lu\n", i);
18645 exit (ferror (f) || fclose (f) != 0);
18651 rm -f conftest
$ac_exeext
18652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18653 (eval $ac_link) 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18658 (eval $ac_try) 2>&5
18660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661 (exit $ac_status); }; }; then
18662 ac_cv_sizeof_long_long
=`cat conftest.val`
18664 echo "$as_me: program exited with status $ac_status" >&5
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.
$ac_ext >&5
18668 ( exit $ac_status )
18669 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18670 See \`config.log' for more details." >&5
18671 echo "$as_me: error: cannot compute sizeof (long long), 77
18672 See \`config.log' for more details." >&2;}
18673 { (exit 1); exit 1; }; }
18675 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18680 ac_cv_sizeof_long_long
=0
18683 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18684 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18685 cat >>confdefs.h
<<_ACEOF
18686 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18692 echo "$as_me:$LINENO: checking for long long" >&5
18693 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18694 if test "${ac_cv_type_long_long+set}" = set; then
18695 echo $ECHO_N "(cached) $ECHO_C" >&6
18697 cat >conftest.
$ac_ext <<_ACEOF
18700 cat confdefs.h
>>conftest.
$ac_ext
18701 cat >>conftest.
$ac_ext <<_ACEOF
18702 /* end confdefs.h. */
18703 $ac_includes_default
18707 if ((long long *) 0)
18709 if (sizeof (long long))
18715 rm -f conftest.
$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18719 grep -v '^ *+' conftest.er1
>conftest.err
18721 cat conftest.err
>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18726 (eval $ac_try) 2>&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); }; } &&
18730 { ac_try
='test -s conftest.$ac_objext'
18731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732 (eval $ac_try) 2>&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); }; }; then
18736 ac_cv_type_long_long
=yes
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.
$ac_ext >&5
18741 ac_cv_type_long_long
=no
18743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18745 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18746 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18748 echo "$as_me:$LINENO: checking size of long long" >&5
18749 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18750 if test "${ac_cv_sizeof_long_long+set}" = set; then
18751 echo $ECHO_N "(cached) $ECHO_C" >&6
18753 if test "$ac_cv_type_long_long" = yes; then
18754 # The cast to unsigned long works around a bug in the HP C Compiler
18755 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18756 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18757 # This bug is HP SR number 8606223364.
18758 if test "$cross_compiling" = yes; then
18759 # Depending upon the size, compute the lo and hi bounds.
18760 cat >conftest.
$ac_ext <<_ACEOF
18763 cat confdefs.h
>>conftest.
$ac_ext
18764 cat >>conftest.
$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18766 $ac_includes_default
18770 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18777 rm -f conftest.
$ac_objext
18778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18779 (eval $ac_compile) 2>conftest.er1
18781 grep -v '^ *+' conftest.er1
>conftest.err
18783 cat conftest.err
>&5
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); } &&
18786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; } &&
18792 { ac_try
='test -s conftest.$ac_objext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18800 cat >conftest.
$ac_ext <<_ACEOF
18803 cat confdefs.h
>>conftest.
$ac_ext
18804 cat >>conftest.
$ac_ext <<_ACEOF
18805 /* end confdefs.h. */
18806 $ac_includes_default
18810 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18817 rm -f conftest.
$ac_objext
18818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18819 (eval $ac_compile) 2>conftest.er1
18821 grep -v '^ *+' conftest.er1
>conftest.err
18823 cat conftest.err
>&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } &&
18826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; } &&
18832 { ac_try
='test -s conftest.$ac_objext'
18833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18834 (eval $ac_try) 2>&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); }; }; then
18838 ac_hi
=$ac_mid; break
18840 echo "$as_me: failed program was:" >&5
18841 sed 's/^/| /' conftest.
$ac_ext >&5
18843 ac_lo
=`expr $ac_mid + 1`
18844 if test $ac_lo -le $ac_mid; then
18848 ac_mid
=`expr 2 '*' $ac_mid + 1`
18850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18853 echo "$as_me: failed program was:" >&5
18854 sed 's/^/| /' conftest.
$ac_ext >&5
18856 cat >conftest.
$ac_ext <<_ACEOF
18859 cat confdefs.h
>>conftest.
$ac_ext
18860 cat >>conftest.
$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 $ac_includes_default
18866 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18873 rm -f conftest.
$ac_objext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18875 (eval $ac_compile) 2>conftest.er1
18877 grep -v '^ *+' conftest.er1
>conftest.err
18879 cat conftest.err
>&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } &&
18882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; } &&
18888 { ac_try
='test -s conftest.$ac_objext'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; }; then
18896 cat >conftest.
$ac_ext <<_ACEOF
18899 cat confdefs.h
>>conftest.
$ac_ext
18900 cat >>conftest.
$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902 $ac_includes_default
18906 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18913 rm -f conftest.
$ac_objext
18914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18915 (eval $ac_compile) 2>conftest.er1
18917 grep -v '^ *+' conftest.er1
>conftest.err
18919 cat conftest.err
>&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); } &&
18922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18924 (eval $ac_try) 2>&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); }; } &&
18928 { ac_try
='test -s conftest.$ac_objext'
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18930 (eval $ac_try) 2>&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); }; }; then
18934 ac_lo
=$ac_mid; break
18936 echo "$as_me: failed program was:" >&5
18937 sed 's/^/| /' conftest.
$ac_ext >&5
18939 ac_hi
=`expr '(' $ac_mid ')' - 1`
18940 if test $ac_mid -le $ac_hi; then
18944 ac_mid
=`expr 2 '*' $ac_mid`
18946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.
$ac_ext >&5
18954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18957 # Binary search between lo and hi bounds.
18958 while test "x$ac_lo" != "x$ac_hi"; do
18959 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18960 cat >conftest.
$ac_ext <<_ACEOF
18963 cat confdefs.h
>>conftest.
$ac_ext
18964 cat >>conftest.
$ac_ext <<_ACEOF
18965 /* end confdefs.h. */
18966 $ac_includes_default
18970 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18977 rm -f conftest.
$ac_objext
18978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18979 (eval $ac_compile) 2>conftest.er1
18981 grep -v '^ *+' conftest.er1
>conftest.err
18983 cat conftest.err
>&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } &&
18986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18988 (eval $ac_try) 2>&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); }; } &&
18992 { ac_try
='test -s conftest.$ac_objext'
18993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18994 (eval $ac_try) 2>&5
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); }; }; then
19000 echo "$as_me: failed program was:" >&5
19001 sed 's/^/| /' conftest.
$ac_ext >&5
19003 ac_lo
=`expr '(' $ac_mid ')' + 1`
19005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19008 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19009 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19010 See \`config.log' for more details." >&5
19011 echo "$as_me: error: cannot compute sizeof (long long), 77
19012 See \`config.log' for more details." >&2;}
19013 { (exit 1); exit 1; }; } ;;
19016 if test "$cross_compiling" = yes; then
19017 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19018 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19019 { (exit 1); exit 1; }; }
19021 cat >conftest.
$ac_ext <<_ACEOF
19024 cat confdefs.h
>>conftest.
$ac_ext
19025 cat >>conftest.
$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 $ac_includes_default
19028 long longval () { return (long) (sizeof (long long)); }
19029 unsigned long ulongval () { return (long) (sizeof (long long)); }
19031 #include <stdlib.h>
19036 FILE *f = fopen ("conftest.val", "w");
19039 if (((long) (sizeof (long long))) < 0)
19041 long i = longval ();
19042 if (i != ((long) (sizeof (long long))))
19044 fprintf (f, "%ld\n", i);
19048 unsigned long i = ulongval ();
19049 if (i != ((long) (sizeof (long long))))
19051 fprintf (f, "%lu\n", i);
19053 exit (ferror (f) || fclose (f) != 0);
19059 rm -f conftest
$ac_exeext
19060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19061 (eval $ac_link) 2>&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19066 (eval $ac_try) 2>&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); }; }; then
19070 ac_cv_sizeof_long_long
=`cat conftest.val`
19072 echo "$as_me: program exited with status $ac_status" >&5
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.
$ac_ext >&5
19076 ( exit $ac_status )
19077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19078 See \`config.log' for more details." >&5
19079 echo "$as_me: error: cannot compute sizeof (long long), 77
19080 See \`config.log' for more details." >&2;}
19081 { (exit 1); exit 1; }; }
19083 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19088 ac_cv_sizeof_long_long
=0
19091 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19092 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19093 cat >>confdefs.h
<<_ACEOF
19094 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19098 if test "$ac_cv_sizeof_long_long" != "0"; then
19099 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
19103 echo "$as_me:$LINENO: checking for long long" >&5
19104 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19105 if test "${ac_cv_type_long_long+set}" = set; then
19106 echo $ECHO_N "(cached) $ECHO_C" >&6
19108 cat >conftest.
$ac_ext <<_ACEOF
19111 cat confdefs.h
>>conftest.
$ac_ext
19112 cat >>conftest.
$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114 $ac_includes_default
19118 if ((long long *) 0)
19120 if (sizeof (long long))
19126 rm -f conftest.
$ac_objext
19127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19128 (eval $ac_compile) 2>conftest.er1
19130 grep -v '^ *+' conftest.er1
>conftest.err
19132 cat conftest.err
>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } &&
19135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; } &&
19141 { ac_try
='test -s conftest.$ac_objext'
19142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19143 (eval $ac_try) 2>&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); }; }; then
19147 ac_cv_type_long_long
=yes
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.
$ac_ext >&5
19152 ac_cv_type_long_long
=no
19154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19156 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19157 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19159 echo "$as_me:$LINENO: checking size of long long" >&5
19160 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19161 if test "${ac_cv_sizeof_long_long+set}" = set; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19164 if test "$ac_cv_type_long_long" = yes; then
19165 # The cast to unsigned long works around a bug in the HP C Compiler
19166 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19167 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19168 # This bug is HP SR number 8606223364.
19169 if test "$cross_compiling" = yes; then
19170 # Depending upon the size, compute the lo and hi bounds.
19171 cat >conftest.
$ac_ext <<_ACEOF
19174 cat confdefs.h
>>conftest.
$ac_ext
19175 cat >>conftest.
$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 $ac_includes_default
19181 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19188 rm -f conftest.
$ac_objext
19189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19190 (eval $ac_compile) 2>conftest.er1
19192 grep -v '^ *+' conftest.er1
>conftest.err
19194 cat conftest.err
>&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } &&
19197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; } &&
19203 { ac_try
='test -s conftest.$ac_objext'
19204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19205 (eval $ac_try) 2>&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); }; }; then
19211 cat >conftest.
$ac_ext <<_ACEOF
19214 cat confdefs.h
>>conftest.
$ac_ext
19215 cat >>conftest.
$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217 $ac_includes_default
19221 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19228 rm -f conftest.
$ac_objext
19229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19230 (eval $ac_compile) 2>conftest.er1
19232 grep -v '^ *+' conftest.er1
>conftest.err
19234 cat conftest.err
>&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } &&
19237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; } &&
19243 { ac_try
='test -s conftest.$ac_objext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 ac_hi
=$ac_mid; break
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.
$ac_ext >&5
19254 ac_lo
=`expr $ac_mid + 1`
19255 if test $ac_lo -le $ac_mid; then
19259 ac_mid
=`expr 2 '*' $ac_mid + 1`
19261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19264 echo "$as_me: failed program was:" >&5
19265 sed 's/^/| /' conftest.
$ac_ext >&5
19267 cat >conftest.
$ac_ext <<_ACEOF
19270 cat confdefs.h
>>conftest.
$ac_ext
19271 cat >>conftest.
$ac_ext <<_ACEOF
19272 /* end confdefs.h. */
19273 $ac_includes_default
19277 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19284 rm -f conftest.
$ac_objext
19285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19286 (eval $ac_compile) 2>conftest.er1
19288 grep -v '^ *+' conftest.er1
>conftest.err
19290 cat conftest.err
>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } &&
19293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295 (eval $ac_try) 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; } &&
19299 { ac_try
='test -s conftest.$ac_objext'
19300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19301 (eval $ac_try) 2>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); }; }; then
19307 cat >conftest.
$ac_ext <<_ACEOF
19310 cat confdefs.h
>>conftest.
$ac_ext
19311 cat >>conftest.
$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 $ac_includes_default
19317 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19324 rm -f conftest.
$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19328 grep -v '^ *+' conftest.er1
>conftest.err
19330 cat conftest.err
>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; } &&
19339 { ac_try
='test -s conftest.$ac_objext'
19340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19341 (eval $ac_try) 2>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); }; }; then
19345 ac_lo
=$ac_mid; break
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.
$ac_ext >&5
19350 ac_hi
=`expr '(' $ac_mid ')' - 1`
19351 if test $ac_mid -le $ac_hi; then
19355 ac_mid
=`expr 2 '*' $ac_mid`
19357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19360 echo "$as_me: failed program was:" >&5
19361 sed 's/^/| /' conftest.
$ac_ext >&5
19365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19368 # Binary search between lo and hi bounds.
19369 while test "x$ac_lo" != "x$ac_hi"; do
19370 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19371 cat >conftest.
$ac_ext <<_ACEOF
19374 cat confdefs.h
>>conftest.
$ac_ext
19375 cat >>conftest.
$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19377 $ac_includes_default
19381 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19388 rm -f conftest.
$ac_objext
19389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19390 (eval $ac_compile) 2>conftest.er1
19392 grep -v '^ *+' conftest.er1
>conftest.err
19394 cat conftest.err
>&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); } &&
19397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; } &&
19403 { ac_try
='test -s conftest.$ac_objext'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; }; then
19411 echo "$as_me: failed program was:" >&5
19412 sed 's/^/| /' conftest.
$ac_ext >&5
19414 ac_lo
=`expr '(' $ac_mid ')' + 1`
19416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19419 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19420 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19421 See \`config.log' for more details." >&5
19422 echo "$as_me: error: cannot compute sizeof (long long), 77
19423 See \`config.log' for more details." >&2;}
19424 { (exit 1); exit 1; }; } ;;
19427 if test "$cross_compiling" = yes; then
19428 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19429 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19430 { (exit 1); exit 1; }; }
19432 cat >conftest.
$ac_ext <<_ACEOF
19435 cat confdefs.h
>>conftest.
$ac_ext
19436 cat >>conftest.
$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19438 $ac_includes_default
19439 long longval () { return (long) (sizeof (long long)); }
19440 unsigned long ulongval () { return (long) (sizeof (long long)); }
19442 #include <stdlib.h>
19447 FILE *f = fopen ("conftest.val", "w");
19450 if (((long) (sizeof (long long))) < 0)
19452 long i = longval ();
19453 if (i != ((long) (sizeof (long long))))
19455 fprintf (f, "%ld\n", i);
19459 unsigned long i = ulongval ();
19460 if (i != ((long) (sizeof (long long))))
19462 fprintf (f, "%lu\n", i);
19464 exit (ferror (f) || fclose (f) != 0);
19470 rm -f conftest
$ac_exeext
19471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19472 (eval $ac_link) 2>&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19477 (eval $ac_try) 2>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); }; }; then
19481 ac_cv_sizeof_long_long
=`cat conftest.val`
19483 echo "$as_me: program exited with status $ac_status" >&5
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.
$ac_ext >&5
19487 ( exit $ac_status )
19488 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19489 See \`config.log' for more details." >&5
19490 echo "$as_me: error: cannot compute sizeof (long long), 77
19491 See \`config.log' for more details." >&2;}
19492 { (exit 1); exit 1; }; }
19494 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19499 ac_cv_sizeof_long_long
=0
19502 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19503 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19504 cat >>confdefs.h
<<_ACEOF
19505 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19511 echo "$as_me:$LINENO: checking for wchar_t" >&5
19512 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19513 if test "${ac_cv_type_wchar_t+set}" = set; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19516 cat >conftest.
$ac_ext <<_ACEOF
19519 cat confdefs.h
>>conftest.
$ac_ext
19520 cat >>conftest.
$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19523 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19524 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19525 # error "fake wchar_t"
19527 #ifdef HAVE_WCHAR_H
19529 # include <stddef.h>
19531 # include <wchar.h>
19533 #ifdef HAVE_STDLIB_H
19534 # include <stdlib.h>
19545 if (sizeof (wchar_t))
19551 rm -f conftest.
$ac_objext
19552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19553 (eval $ac_compile) 2>conftest.er1
19555 grep -v '^ *+' conftest.er1
>conftest.err
19557 cat conftest.err
>&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } &&
19560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19562 (eval $ac_try) 2>&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); }; } &&
19566 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19572 ac_cv_type_wchar_t
=yes
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.
$ac_ext >&5
19577 ac_cv_type_wchar_t
=no
19579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19581 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19582 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19584 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19585 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19586 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19589 if test "$ac_cv_type_wchar_t" = yes; then
19590 # The cast to unsigned long works around a bug in the HP C Compiler
19591 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19592 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19593 # This bug is HP SR number 8606223364.
19594 if test "$cross_compiling" = yes; then
19595 # Depending upon the size, compute the lo and hi bounds.
19596 cat >conftest.
$ac_ext <<_ACEOF
19599 cat confdefs.h
>>conftest.
$ac_ext
19600 cat >>conftest.
$ac_ext <<_ACEOF
19601 /* end confdefs.h. */
19603 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19604 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19605 # error "fake wchar_t"
19607 #ifdef HAVE_WCHAR_H
19609 # include <stddef.h>
19611 # include <wchar.h>
19613 #ifdef HAVE_STDLIB_H
19614 # include <stdlib.h>
19623 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19630 rm -f conftest.
$ac_objext
19631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19632 (eval $ac_compile) 2>conftest.er1
19634 grep -v '^ *+' conftest.er1
>conftest.err
19636 cat conftest.err
>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } &&
19639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19641 (eval $ac_try) 2>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }; } &&
19645 { ac_try
='test -s conftest.$ac_objext'
19646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19647 (eval $ac_try) 2>&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); }; }; then
19653 cat >conftest.
$ac_ext <<_ACEOF
19656 cat confdefs.h
>>conftest.
$ac_ext
19657 cat >>conftest.
$ac_ext <<_ACEOF
19658 /* end confdefs.h. */
19660 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19661 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19662 # error "fake wchar_t"
19664 #ifdef HAVE_WCHAR_H
19666 # include <stddef.h>
19668 # include <wchar.h>
19670 #ifdef HAVE_STDLIB_H
19671 # include <stdlib.h>
19680 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19687 rm -f conftest.
$ac_objext
19688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19689 (eval $ac_compile) 2>conftest.er1
19691 grep -v '^ *+' conftest.er1
>conftest.err
19693 cat conftest.err
>&5
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } &&
19696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698 (eval $ac_try) 2>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; } &&
19702 { ac_try
='test -s conftest.$ac_objext'
19703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19704 (eval $ac_try) 2>&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); }; }; then
19708 ac_hi
=$ac_mid; break
19710 echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.
$ac_ext >&5
19713 ac_lo
=`expr $ac_mid + 1`
19714 if test $ac_lo -le $ac_mid; then
19718 ac_mid
=`expr 2 '*' $ac_mid + 1`
19720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.
$ac_ext >&5
19726 cat >conftest.
$ac_ext <<_ACEOF
19729 cat confdefs.h
>>conftest.
$ac_ext
19730 cat >>conftest.
$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19733 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19734 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19735 # error "fake wchar_t"
19737 #ifdef HAVE_WCHAR_H
19739 # include <stddef.h>
19741 # include <wchar.h>
19743 #ifdef HAVE_STDLIB_H
19744 # include <stdlib.h>
19753 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19760 rm -f conftest.
$ac_objext
19761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19762 (eval $ac_compile) 2>conftest.er1
19764 grep -v '^ *+' conftest.er1
>conftest.err
19766 cat conftest.err
>&5
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); } &&
19769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; } &&
19775 { ac_try
='test -s conftest.$ac_objext'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; }; then
19783 cat >conftest.
$ac_ext <<_ACEOF
19786 cat confdefs.h
>>conftest.
$ac_ext
19787 cat >>conftest.
$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19790 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19791 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19792 # error "fake wchar_t"
19794 #ifdef HAVE_WCHAR_H
19796 # include <stddef.h>
19798 # include <wchar.h>
19800 #ifdef HAVE_STDLIB_H
19801 # include <stdlib.h>
19810 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19817 rm -f conftest.
$ac_objext
19818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19819 (eval $ac_compile) 2>conftest.er1
19821 grep -v '^ *+' conftest.er1
>conftest.err
19823 cat conftest.err
>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); } &&
19826 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19828 (eval $ac_try) 2>&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); }; } &&
19832 { ac_try
='test -s conftest.$ac_objext'
19833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19834 (eval $ac_try) 2>&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); }; }; then
19838 ac_lo
=$ac_mid; break
19840 echo "$as_me: failed program was:" >&5
19841 sed 's/^/| /' conftest.
$ac_ext >&5
19843 ac_hi
=`expr '(' $ac_mid ')' - 1`
19844 if test $ac_mid -le $ac_hi; then
19848 ac_mid
=`expr 2 '*' $ac_mid`
19850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19853 echo "$as_me: failed program was:" >&5
19854 sed 's/^/| /' conftest.
$ac_ext >&5
19858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19861 # Binary search between lo and hi bounds.
19862 while test "x$ac_lo" != "x$ac_hi"; do
19863 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19864 cat >conftest.
$ac_ext <<_ACEOF
19867 cat confdefs.h
>>conftest.
$ac_ext
19868 cat >>conftest.
$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19871 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19872 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19873 # error "fake wchar_t"
19875 #ifdef HAVE_WCHAR_H
19877 # include <stddef.h>
19879 # include <wchar.h>
19881 #ifdef HAVE_STDLIB_H
19882 # include <stdlib.h>
19891 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19898 rm -f conftest.
$ac_objext
19899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19900 (eval $ac_compile) 2>conftest.er1
19902 grep -v '^ *+' conftest.er1
>conftest.err
19904 cat conftest.err
>&5
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); } &&
19907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19909 (eval $ac_try) 2>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); }; } &&
19913 { ac_try
='test -s conftest.$ac_objext'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; }; then
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.
$ac_ext >&5
19924 ac_lo
=`expr '(' $ac_mid ')' + 1`
19926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19929 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
19930 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
19931 See \`config.log' for more details." >&5
19932 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
19933 See \`config.log' for more details." >&2;}
19934 { (exit 1); exit 1; }; } ;;
19937 if test "$cross_compiling" = yes; then
19938 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19939 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19940 { (exit 1); exit 1; }; }
19942 cat >conftest.
$ac_ext <<_ACEOF
19945 cat confdefs.h
>>conftest.
$ac_ext
19946 cat >>conftest.
$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19949 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19950 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19951 # error "fake wchar_t"
19953 #ifdef HAVE_WCHAR_H
19955 # include <stddef.h>
19957 # include <wchar.h>
19959 #ifdef HAVE_STDLIB_H
19960 # include <stdlib.h>
19966 long longval () { return (long) (sizeof (wchar_t)); }
19967 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
19969 #include <stdlib.h>
19974 FILE *f = fopen ("conftest.val", "w");
19977 if (((long) (sizeof (wchar_t))) < 0)
19979 long i = longval ();
19980 if (i != ((long) (sizeof (wchar_t))))
19982 fprintf (f, "%ld\n", i);
19986 unsigned long i = ulongval ();
19987 if (i != ((long) (sizeof (wchar_t))))
19989 fprintf (f, "%lu\n", i);
19991 exit (ferror (f) || fclose (f) != 0);
19997 rm -f conftest
$ac_exeext
19998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19999 (eval $ac_link) 2>&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20004 (eval $ac_try) 2>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); }; }; then
20008 ac_cv_sizeof_wchar_t
=`cat conftest.val`
20010 echo "$as_me: program exited with status $ac_status" >&5
20011 echo "$as_me: failed program was:" >&5
20012 sed 's/^/| /' conftest.
$ac_ext >&5
20014 ( exit $ac_status )
20015 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20016 See \`config.log' for more details." >&5
20017 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20018 See \`config.log' for more details." >&2;}
20019 { (exit 1); exit 1; }; }
20021 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20026 ac_cv_sizeof_wchar_t
=0
20029 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20030 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20031 cat >>confdefs.h
<<_ACEOF
20032 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20036 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20042 echo "$as_me:$LINENO: checking for va_copy" >&5
20043 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20044 if test "${wx_cv_func_va_copy+set}" = set; then
20045 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 cat >conftest.
$ac_ext <<_ACEOF
20050 #include <stdarg.h>
20051 void foo(char *f, ...)
20065 rm -f conftest.
$ac_objext conftest
$ac_exeext
20066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20067 (eval $ac_link) 2>conftest.er1
20069 grep -v '^ *+' conftest.er1
>conftest.err
20071 cat conftest.err
>&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); } &&
20074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20076 (eval $ac_try) 2>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); }; } &&
20080 { ac_try
='test -s conftest$ac_exeext'
20081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20082 (eval $ac_try) 2>&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); }; }; then
20086 wx_cv_func_va_copy
=yes
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.
$ac_ext >&5
20091 wx_cv_func_va_copy
=no
20094 rm -f conftest.err conftest.
$ac_objext \
20095 conftest
$ac_exeext conftest.
$ac_ext
20099 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20100 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20102 if test $wx_cv_func_va_copy = "yes"; then
20103 cat >>confdefs.h
<<\_ACEOF
20104 #define HAVE_VA_COPY 1
20108 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20109 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20110 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20114 if test "$cross_compiling" = yes; then
20115 wx_cv_type_va_list_lvalue
=yes
20118 cat >conftest.
$ac_ext <<_ACEOF
20120 #include <stdarg.h>
20121 int foo(char *f, ...)
20126 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20134 return foo("hi", 17);
20137 rm -f conftest
$ac_exeext
20138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20139 (eval $ac_link) 2>&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144 (eval $ac_try) 2>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); }; }; then
20148 wx_cv_type_va_list_lvalue
=yes
20150 echo "$as_me: program exited with status $ac_status" >&5
20151 echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.
$ac_ext >&5
20154 ( exit $ac_status )
20155 wx_cv_type_va_list_lvalue
=no
20157 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20162 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20163 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20165 if test $wx_cv_type_va_list_lvalue != "yes"; then
20166 cat >>confdefs.h
<<\_ACEOF
20167 #define VA_LIST_IS_ARRAY 1
20173 # Check whether --enable-largefile or --disable-largefile was given.
20174 if test "${enable_largefile+set}" = set; then
20175 enableval
="$enable_largefile"
20178 if test "$enable_largefile" != no
; then
20181 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20182 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20183 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20184 echo $ECHO_N "(cached) $ECHO_C" >&6
20187 cat >conftest.
$ac_ext <<_ACEOF
20190 cat confdefs.h
>>conftest.
$ac_ext
20191 cat >>conftest.
$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20193 #define _FILE_OFFSET_BITS 64
20194 #include <sys/types.h>
20199 unsigned int field: sizeof(off_t) == 8;
20206 rm -f conftest.
$ac_objext
20207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20208 (eval $ac_compile) 2>conftest.er1
20210 grep -v '^ *+' conftest.er1
>conftest.err
20212 cat conftest.err
>&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } &&
20215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; } &&
20221 { ac_try
='test -s conftest.$ac_objext'
20222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223 (eval $ac_try) 2>&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); }; }; then
20227 ac_cv_sys_file_offset_bits
=64
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.
$ac_ext >&5
20232 ac_cv_sys_file_offset_bits
=no
20234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20238 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20239 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20241 if test "$ac_cv_sys_file_offset_bits" != no
; then
20243 cat >>confdefs.h
<<_ACEOF
20244 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20249 if test "x$wx_largefile" != "xyes"; then
20251 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20252 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20253 if test "${ac_cv_sys_large_files+set}" = set; then
20254 echo $ECHO_N "(cached) $ECHO_C" >&6
20257 cat >conftest.
$ac_ext <<_ACEOF
20260 cat confdefs.h
>>conftest.
$ac_ext
20261 cat >>conftest.
$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 #define _LARGE_FILES 1
20264 #include <sys/types.h>
20269 unsigned int field: sizeof(off_t) == 8;
20276 rm -f conftest.
$ac_objext
20277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20278 (eval $ac_compile) 2>conftest.er1
20280 grep -v '^ *+' conftest.er1
>conftest.err
20282 cat conftest.err
>&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); } &&
20285 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20287 (eval $ac_try) 2>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); }; } &&
20291 { ac_try
='test -s conftest.$ac_objext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20297 ac_cv_sys_large_files
=1
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.
$ac_ext >&5
20302 ac_cv_sys_large_files
=no
20304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20308 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20309 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20311 if test "$ac_cv_sys_large_files" != no
; then
20313 cat >>confdefs.h
<<_ACEOF
20314 #define _LARGE_FILES $ac_cv_sys_large_files
20321 echo "$as_me:$LINENO: checking if large file support is available" >&5
20322 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20323 if test "x$wx_largefile" = "xyes"; then
20324 cat >>confdefs.h
<<\_ACEOF
20325 #define HAVE_LARGEFILE_SUPPORT 1
20329 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20330 echo "${ECHO_T}$wx_largefile" >&6
20334 if test "x$wx_largefile" = "xyes"; then
20335 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20336 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20338 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20339 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
20340 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
20341 if test "${wx_cv_STDC_EXT_required+set}" = set; then
20342 echo $ECHO_N "(cached) $ECHO_C" >&6
20348 ac_cpp
='$CXXCPP $CPPFLAGS'
20349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20353 cat >conftest.
$ac_ext <<_ACEOF
20356 cat confdefs.h
>>conftest.
$ac_ext
20357 cat >>conftest.
$ac_ext <<_ACEOF
20358 /* end confdefs.h. */
20364 #ifndef __STDC_EXT__
20372 rm -f conftest.
$ac_objext
20373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20374 (eval $ac_compile) 2>conftest.er1
20376 grep -v '^ *+' conftest.er1
>conftest.err
20378 cat conftest.err
>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } &&
20381 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20383 (eval $ac_try) 2>&5
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; } &&
20387 { ac_try
='test -s conftest.$ac_objext'
20388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 (eval $ac_try) 2>&5
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); }; }; then
20393 wx_cv_STDC_EXT_required
=no
20395 echo "$as_me: failed program was:" >&5
20396 sed 's/^/| /' conftest.
$ac_ext >&5
20398 wx_cv_STDC_EXT_required
=yes
20401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20403 ac_cpp
='$CPP $CPPFLAGS'
20404 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20405 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20406 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20411 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
20412 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
20413 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20414 CXXFLAGS
="$CXXFLAGS -D__STDC_EXT__"
20418 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20420 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20421 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20422 if test "${ac_cv_sys_largefile_source+set}" = set; then
20423 echo $ECHO_N "(cached) $ECHO_C" >&6
20426 ac_cv_sys_largefile_source
=no
20427 cat >conftest.
$ac_ext <<_ACEOF
20430 cat confdefs.h
>>conftest.
$ac_ext
20431 cat >>conftest.
$ac_ext <<_ACEOF
20432 /* end confdefs.h. */
20442 rm -f conftest.
$ac_objext
20443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20444 (eval $ac_compile) 2>conftest.er1
20446 grep -v '^ *+' conftest.er1
>conftest.err
20448 cat conftest.err
>&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } &&
20451 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; } &&
20457 { ac_try
='test -s conftest.$ac_objext'
20458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459 (eval $ac_try) 2>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); }; }; then
20465 echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.
$ac_ext >&5
20469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20470 cat >conftest.
$ac_ext <<_ACEOF
20473 cat confdefs.h
>>conftest.
$ac_ext
20474 cat >>conftest.
$ac_ext <<_ACEOF
20475 /* end confdefs.h. */
20476 #define _LARGEFILE_SOURCE 1
20486 rm -f conftest.
$ac_objext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20488 (eval $ac_compile) 2>conftest.er1
20490 grep -v '^ *+' conftest.er1
>conftest.err
20492 cat conftest.err
>&5
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); } &&
20495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20497 (eval $ac_try) 2>&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); }; } &&
20501 { ac_try
='test -s conftest.$ac_objext'
20502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20503 (eval $ac_try) 2>&5
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); }; }; then
20507 ac_cv_sys_largefile_source
=1; break
20509 echo "$as_me: failed program was:" >&5
20510 sed 's/^/| /' conftest.
$ac_ext >&5
20513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20517 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20518 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20519 if test "$ac_cv_sys_largefile_source" != no
; then
20521 cat >>confdefs.h
<<_ACEOF
20522 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20528 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20529 # in glibc 2.1.3, but that breaks too many other things.
20530 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20531 echo "$as_me:$LINENO: checking for fseeko" >&5
20532 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20533 if test "${ac_cv_func_fseeko+set}" = set; then
20534 echo $ECHO_N "(cached) $ECHO_C" >&6
20536 cat >conftest.
$ac_ext <<_ACEOF
20539 cat confdefs.h
>>conftest.
$ac_ext
20540 cat >>conftest.
$ac_ext <<_ACEOF
20541 /* end confdefs.h. */
20546 return fseeko && fseeko (stdin, 0, 0);
20551 rm -f conftest.
$ac_objext conftest
$ac_exeext
20552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20553 (eval $ac_link) 2>conftest.er1
20555 grep -v '^ *+' conftest.er1
>conftest.err
20557 cat conftest.err
>&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); } &&
20560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; } &&
20566 { ac_try
='test -s conftest$ac_exeext'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; }; then
20572 ac_cv_func_fseeko
=yes
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.
$ac_ext >&5
20577 ac_cv_func_fseeko
=no
20579 rm -f conftest.err conftest.
$ac_objext \
20580 conftest
$ac_exeext conftest.
$ac_ext
20582 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20583 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20584 if test $ac_cv_func_fseeko = yes; then
20586 cat >>confdefs.h
<<\_ACEOF
20587 #define HAVE_FSEEKO 1
20592 if test "$ac_cv_sys_largefile_source" != no
; then
20593 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20595 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20598 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20599 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20600 if test "${ac_cv_c_bigendian+set}" = set; then
20601 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 ac_cv_c_bigendian
=unknown
20604 # See if sys/param.h defines the BYTE_ORDER macro.
20605 cat >conftest.
$ac_ext <<_ACEOF
20608 cat confdefs.h
>>conftest.
$ac_ext
20609 cat >>conftest.
$ac_ext <<_ACEOF
20610 /* end confdefs.h. */
20611 #include <sys/types.h>
20612 #include <sys/param.h>
20617 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20618 bogus endian macros
20624 rm -f conftest.
$ac_objext
20625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20626 (eval $ac_compile) 2>conftest.er1
20628 grep -v '^ *+' conftest.er1
>conftest.err
20630 cat conftest.err
>&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } &&
20633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20635 (eval $ac_try) 2>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); }; } &&
20639 { ac_try
='test -s conftest.$ac_objext'
20640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20641 (eval $ac_try) 2>&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); }; }; then
20645 # It does; now see whether it defined to BIG_ENDIAN or not.
20646 cat >conftest.
$ac_ext <<_ACEOF
20649 cat confdefs.h
>>conftest.
$ac_ext
20650 cat >>conftest.
$ac_ext <<_ACEOF
20651 /* end confdefs.h. */
20652 #include <sys/types.h>
20653 #include <sys/param.h>
20658 #if BYTE_ORDER != BIG_ENDIAN
20665 rm -f conftest.
$ac_objext
20666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20667 (eval $ac_compile) 2>conftest.er1
20669 grep -v '^ *+' conftest.er1
>conftest.err
20671 cat conftest.err
>&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); } &&
20674 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20676 (eval $ac_try) 2>&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); }; } &&
20680 { ac_try
='test -s conftest.$ac_objext'
20681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20682 (eval $ac_try) 2>&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); }; }; then
20686 ac_cv_c_bigendian
=yes
20688 echo "$as_me: failed program was:" >&5
20689 sed 's/^/| /' conftest.
$ac_ext >&5
20691 ac_cv_c_bigendian
=no
20693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20695 echo "$as_me: failed program was:" >&5
20696 sed 's/^/| /' conftest.
$ac_ext >&5
20699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20700 if test $ac_cv_c_bigendian = unknown
; then
20701 if test "$cross_compiling" = yes; then
20702 ac_cv_c_bigendian
=unknown
20704 cat >conftest.
$ac_ext <<_ACEOF
20707 cat confdefs.h
>>conftest.
$ac_ext
20708 cat >>conftest.
$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20711 /* Are we little or big endian? From Harbison&Steele. */
20715 char c[sizeof (long)];
20718 exit (u.c[sizeof (long) - 1] == 1);
20721 rm -f conftest
$ac_exeext
20722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20723 (eval $ac_link) 2>&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; }; then
20732 ac_cv_c_bigendian
=no
20734 echo "$as_me: program exited with status $ac_status" >&5
20735 echo "$as_me: failed program was:" >&5
20736 sed 's/^/| /' conftest.
$ac_ext >&5
20738 ( exit $ac_status )
20739 ac_cv_c_bigendian
=yes
20741 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20745 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20746 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20747 if test $ac_cv_c_bigendian = unknown
; then
20748 { 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
20749 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;}
20751 if test $ac_cv_c_bigendian = yes; then
20752 cat >>confdefs.h
<<\_ACEOF
20753 #define WORDS_BIGENDIAN 1
20760 ac_cpp
='$CXXCPP $CPPFLAGS'
20761 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20762 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20764 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20765 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20766 if test -z "$CXXCPP"; then
20767 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20768 echo $ECHO_N "(cached) $ECHO_C" >&6
20770 # Double quotes because CXXCPP needs to be expanded
20771 for CXXCPP
in "$CXX -E" "/lib/cpp"
20773 ac_preproc_ok
=false
20774 for ac_cxx_preproc_warn_flag
in '' yes
20776 # Use a header file that comes with gcc, so configuring glibc
20777 # with a fresh cross-compiler works.
20778 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20779 # <limits.h> exists even on freestanding compilers.
20780 # On the NeXT, cc -E runs the code through the compiler's parser,
20781 # not just through cpp. "Syntax error" is here to catch this case.
20782 cat >conftest.
$ac_ext <<_ACEOF
20785 cat confdefs.h
>>conftest.
$ac_ext
20786 cat >>conftest.
$ac_ext <<_ACEOF
20787 /* end confdefs.h. */
20789 # include <limits.h>
20791 # include <assert.h>
20795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20796 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20798 grep -v '^ *+' conftest.er1
>conftest.err
20800 cat conftest.err
>&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } >/dev
/null
; then
20803 if test -s conftest.err
; then
20804 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20805 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20812 if test -z "$ac_cpp_err"; then
20815 echo "$as_me: failed program was:" >&5
20816 sed 's/^/| /' conftest.
$ac_ext >&5
20818 # Broken: fails on valid input.
20821 rm -f conftest.err conftest.
$ac_ext
20823 # OK, works on sane cases. Now check whether non-existent headers
20824 # can be detected and how.
20825 cat >conftest.
$ac_ext <<_ACEOF
20828 cat confdefs.h
>>conftest.
$ac_ext
20829 cat >>conftest.
$ac_ext <<_ACEOF
20830 /* end confdefs.h. */
20831 #include <ac_nonexistent.h>
20833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20836 grep -v '^ *+' conftest.er1
>conftest.err
20838 cat conftest.err
>&5
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); } >/dev
/null
; then
20841 if test -s conftest.err
; then
20842 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20843 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20850 if test -z "$ac_cpp_err"; then
20851 # Broken: success on invalid input.
20854 echo "$as_me: failed program was:" >&5
20855 sed 's/^/| /' conftest.
$ac_ext >&5
20857 # Passes both tests.
20861 rm -f conftest.err conftest.
$ac_ext
20864 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20865 rm -f conftest.err conftest.
$ac_ext
20866 if $ac_preproc_ok; then
20871 ac_cv_prog_CXXCPP
=$CXXCPP
20874 CXXCPP
=$ac_cv_prog_CXXCPP
20876 ac_cv_prog_CXXCPP
=$CXXCPP
20878 echo "$as_me:$LINENO: result: $CXXCPP" >&5
20879 echo "${ECHO_T}$CXXCPP" >&6
20880 ac_preproc_ok
=false
20881 for ac_cxx_preproc_warn_flag
in '' yes
20883 # Use a header file that comes with gcc, so configuring glibc
20884 # with a fresh cross-compiler works.
20885 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20886 # <limits.h> exists even on freestanding compilers.
20887 # On the NeXT, cc -E runs the code through the compiler's parser,
20888 # not just through cpp. "Syntax error" is here to catch this case.
20889 cat >conftest.
$ac_ext <<_ACEOF
20892 cat confdefs.h
>>conftest.
$ac_ext
20893 cat >>conftest.
$ac_ext <<_ACEOF
20894 /* end confdefs.h. */
20896 # include <limits.h>
20898 # include <assert.h>
20902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20903 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20905 grep -v '^ *+' conftest.er1
>conftest.err
20907 cat conftest.err
>&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); } >/dev
/null
; then
20910 if test -s conftest.err
; then
20911 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20912 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20919 if test -z "$ac_cpp_err"; then
20922 echo "$as_me: failed program was:" >&5
20923 sed 's/^/| /' conftest.
$ac_ext >&5
20925 # Broken: fails on valid input.
20928 rm -f conftest.err conftest.
$ac_ext
20930 # OK, works on sane cases. Now check whether non-existent headers
20931 # can be detected and how.
20932 cat >conftest.
$ac_ext <<_ACEOF
20935 cat confdefs.h
>>conftest.
$ac_ext
20936 cat >>conftest.
$ac_ext <<_ACEOF
20937 /* end confdefs.h. */
20938 #include <ac_nonexistent.h>
20940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20941 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20943 grep -v '^ *+' conftest.er1
>conftest.err
20945 cat conftest.err
>&5
20946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20947 (exit $ac_status); } >/dev
/null
; then
20948 if test -s conftest.err
; then
20949 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20950 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20957 if test -z "$ac_cpp_err"; then
20958 # Broken: success on invalid input.
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.
$ac_ext >&5
20964 # Passes both tests.
20968 rm -f conftest.err conftest.
$ac_ext
20971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20972 rm -f conftest.err conftest.
$ac_ext
20973 if $ac_preproc_ok; then
20976 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20977 See \`config.log' for more details." >&5
20978 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
20979 See \`config.log' for more details." >&2;}
20980 { (exit 1); exit 1; }; }
20984 ac_cpp
='$CXXCPP $CPPFLAGS'
20985 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20994 ac_cpp
='$CXXCPP $CPPFLAGS'
20995 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20996 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20997 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21001 for ac_header
in iostream
21003 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21005 echo "$as_me:$LINENO: checking for $ac_header" >&5
21006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21008 echo $ECHO_N "(cached) $ECHO_C" >&6
21010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21013 # Is the header compilable?
21014 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21015 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21016 cat >conftest.
$ac_ext <<_ACEOF
21019 cat confdefs.h
>>conftest.
$ac_ext
21020 cat >>conftest.
$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21022 $ac_includes_default
21023 #include <$ac_header>
21025 rm -f conftest.
$ac_objext
21026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21027 (eval $ac_compile) 2>conftest.er1
21029 grep -v '^ *+' conftest.er1
>conftest.err
21031 cat conftest.err
>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } &&
21034 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21036 (eval $ac_try) 2>&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); }; } &&
21040 { ac_try
='test -s conftest.$ac_objext'
21041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042 (eval $ac_try) 2>&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); }; }; then
21046 ac_header_compiler
=yes
21048 echo "$as_me: failed program was:" >&5
21049 sed 's/^/| /' conftest.
$ac_ext >&5
21051 ac_header_compiler
=no
21053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21054 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21055 echo "${ECHO_T}$ac_header_compiler" >&6
21057 # Is the header present?
21058 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21059 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21060 cat >conftest.
$ac_ext <<_ACEOF
21063 cat confdefs.h
>>conftest.
$ac_ext
21064 cat >>conftest.
$ac_ext <<_ACEOF
21065 /* end confdefs.h. */
21066 #include <$ac_header>
21068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21069 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21071 grep -v '^ *+' conftest.er1
>conftest.err
21073 cat conftest.err
>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } >/dev
/null
; then
21076 if test -s conftest.err
; then
21077 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21078 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21085 if test -z "$ac_cpp_err"; then
21086 ac_header_preproc
=yes
21088 echo "$as_me: failed program was:" >&5
21089 sed 's/^/| /' conftest.
$ac_ext >&5
21091 ac_header_preproc
=no
21093 rm -f conftest.err conftest.
$ac_ext
21094 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21095 echo "${ECHO_T}$ac_header_preproc" >&6
21097 # So? What about this header?
21098 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21100 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21101 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21103 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21104 ac_header_preproc
=yes
21107 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21108 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21109 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21110 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21111 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21112 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21113 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21114 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21116 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21117 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21118 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21121 ## ----------------------------------------- ##
21122 ## Report this to wx-dev@lists.wxwidgets.org ##
21123 ## ----------------------------------------- ##
21126 sed "s/^/$as_me: WARNING: /" >&2
21129 echo "$as_me:$LINENO: checking for $ac_header" >&5
21130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21132 echo $ECHO_N "(cached) $ECHO_C" >&6
21134 eval "$as_ac_Header=\$ac_header_preproc"
21136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21141 cat >>confdefs.h
<<_ACEOF
21142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21150 if test "$ac_cv_header_iostream" = "yes" ; then
21153 cat >>confdefs.h
<<\_ACEOF
21154 #define wxUSE_IOSTREAMH 1
21160 ac_cpp
='$CPP $CPPFLAGS'
21161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21168 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21169 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21170 if test "${wx_cv_cpp_bool+set}" = set; then
21171 echo $ECHO_N "(cached) $ECHO_C" >&6
21177 ac_cpp
='$CXXCPP $CPPFLAGS'
21178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21183 cat >conftest.
$ac_ext <<_ACEOF
21186 cat confdefs.h
>>conftest.
$ac_ext
21187 cat >>conftest.
$ac_ext <<_ACEOF
21188 /* end confdefs.h. */
21203 rm -f conftest.
$ac_objext
21204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21205 (eval $ac_compile) 2>conftest.er1
21207 grep -v '^ *+' conftest.er1
>conftest.err
21209 cat conftest.err
>&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); } &&
21212 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21214 (eval $ac_try) 2>&5
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); }; } &&
21218 { ac_try
='test -s conftest.$ac_objext'
21219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21220 (eval $ac_try) 2>&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); }; }; then
21228 echo "$as_me: failed program was:" >&5
21229 sed 's/^/| /' conftest.
$ac_ext >&5
21236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21239 ac_cpp
='$CPP $CPPFLAGS'
21240 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21241 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21242 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21246 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21247 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21249 if test "$wx_cv_cpp_bool" = "yes"; then
21250 cat >>confdefs.h
<<\_ACEOF
21251 #define HAVE_BOOL 1
21258 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21259 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21260 if test "${wx_cv_explicit+set}" = set; then
21261 echo $ECHO_N "(cached) $ECHO_C" >&6
21267 ac_cpp
='$CXXCPP $CPPFLAGS'
21268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21273 cat >conftest.
$ac_ext <<_ACEOF
21276 cat confdefs.h
>>conftest.
$ac_ext
21277 cat >>conftest.
$ac_ext <<_ACEOF
21278 /* end confdefs.h. */
21280 class Foo { public: explicit Foo(int) {} };
21292 rm -f conftest.
$ac_objext
21293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21294 (eval $ac_compile) 2>conftest.er1
21296 grep -v '^ *+' conftest.er1
>conftest.err
21298 cat conftest.err
>&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); } &&
21301 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; } &&
21307 { ac_try
='test -s conftest.$ac_objext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21314 cat >conftest.
$ac_ext <<_ACEOF
21317 cat confdefs.h
>>conftest.
$ac_ext
21318 cat >>conftest.
$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21321 class Foo { public: explicit Foo(int) {} };
21322 static void TakeFoo(const Foo& foo) { }
21335 rm -f conftest.
$ac_objext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21337 (eval $ac_compile) 2>conftest.er1
21339 grep -v '^ *+' conftest.er1
>conftest.err
21341 cat conftest.err
>&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } &&
21344 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21346 (eval $ac_try) 2>&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; } &&
21350 { ac_try
='test -s conftest.$ac_objext'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; }; then
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.
$ac_ext >&5
21364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.
$ac_ext >&5
21373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21376 ac_cpp
='$CPP $CPPFLAGS'
21377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21383 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21384 echo "${ECHO_T}$wx_cv_explicit" >&6
21386 if test "$wx_cv_explicit" = "yes"; then
21387 cat >>confdefs.h
<<\_ACEOF
21388 #define HAVE_EXPLICIT 1
21394 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21395 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21396 if test "${ac_cv_cxx_const_cast+set}" = set; then
21397 echo $ECHO_N "(cached) $ECHO_C" >&6
21402 ac_cpp
='$CXXCPP $CPPFLAGS'
21403 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21404 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21405 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21407 cat >conftest.
$ac_ext <<_ACEOF
21410 cat confdefs.h
>>conftest.
$ac_ext
21411 cat >>conftest.
$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21417 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21422 rm -f conftest.
$ac_objext
21423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21424 (eval $ac_compile) 2>conftest.er1
21426 grep -v '^ *+' conftest.er1
>conftest.err
21428 cat conftest.err
>&5
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); } &&
21431 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21433 (eval $ac_try) 2>&5
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); }; } &&
21437 { ac_try
='test -s conftest.$ac_objext'
21438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21439 (eval $ac_try) 2>&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); }; }; then
21443 ac_cv_cxx_const_cast
=yes
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.
$ac_ext >&5
21448 ac_cv_cxx_const_cast
=no
21450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21452 ac_cpp
='$CPP $CPPFLAGS'
21453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21459 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21460 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21461 if test "$ac_cv_cxx_const_cast" = yes; then
21463 cat >>confdefs.h
<<\_ACEOF
21464 #define HAVE_CONST_CAST
21469 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21470 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21471 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21477 ac_cpp
='$CXXCPP $CPPFLAGS'
21478 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21479 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21480 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21482 cat >conftest.
$ac_ext <<_ACEOF
21485 cat confdefs.h
>>conftest.
$ac_ext
21486 cat >>conftest.
$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 #include <typeinfo>
21489 class Base { public : Base () {} virtual void f () = 0;};
21490 class Derived : public Base { public : Derived () {} virtual void f () {} };
21491 class Unrelated { public : Unrelated () {} };
21492 int g (Unrelated&) { return 0; }
21497 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21502 rm -f conftest.
$ac_objext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21504 (eval $ac_compile) 2>conftest.er1
21506 grep -v '^ *+' conftest.er1
>conftest.err
21508 cat conftest.err
>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } &&
21511 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; } &&
21517 { ac_try
='test -s conftest.$ac_objext'
21518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21519 (eval $ac_try) 2>&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); }; }; then
21523 ac_cv_cxx_reinterpret_cast
=yes
21525 echo "$as_me: failed program was:" >&5
21526 sed 's/^/| /' conftest.
$ac_ext >&5
21528 ac_cv_cxx_reinterpret_cast
=no
21530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21532 ac_cpp
='$CPP $CPPFLAGS'
21533 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21534 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21535 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21539 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21540 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21541 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21543 cat >>confdefs.h
<<\_ACEOF
21544 #define HAVE_REINTERPRET_CAST
21549 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21550 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21551 if test "${ac_cv_cxx_static_cast+set}" = set; then
21552 echo $ECHO_N "(cached) $ECHO_C" >&6
21557 ac_cpp
='$CXXCPP $CPPFLAGS'
21558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21562 cat >conftest.
$ac_ext <<_ACEOF
21565 cat confdefs.h
>>conftest.
$ac_ext
21566 cat >>conftest.
$ac_ext <<_ACEOF
21567 /* end confdefs.h. */
21568 #include <typeinfo>
21569 class Base { public : Base () {} virtual void f () = 0; };
21570 class Derived : public Base { public : Derived () {} virtual void f () {} };
21571 int g (Derived&) { return 0; }
21576 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21581 rm -f conftest.
$ac_objext
21582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21583 (eval $ac_compile) 2>conftest.er1
21585 grep -v '^ *+' conftest.er1
>conftest.err
21587 cat conftest.err
>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } &&
21590 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; } &&
21596 { ac_try
='test -s conftest.$ac_objext'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; }; then
21602 ac_cv_cxx_static_cast
=yes
21604 echo "$as_me: failed program was:" >&5
21605 sed 's/^/| /' conftest.
$ac_ext >&5
21607 ac_cv_cxx_static_cast
=no
21609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21611 ac_cpp
='$CPP $CPPFLAGS'
21612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21618 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21619 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21620 if test "$ac_cv_cxx_static_cast" = yes; then
21622 cat >>confdefs.h
<<\_ACEOF
21623 #define HAVE_STATIC_CAST
21629 if test "x$SUNCXX" = xyes
; then
21630 CXXFLAGS
="$CXXFLAGS -features=tmplife"
21633 if test "x$SUNCC" = xyes
; then
21634 CFLAGS
="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
21637 if test "x$SGICC" = "xyes"; then
21638 CFLAGS
="$CFLAGS -woff 3970"
21640 if test "x$SGICXX" = "xyes"; then
21641 CXXFLAGS
="$CXXFLAGS -woff 3970"
21644 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21646 ac_cpp
='$CXXCPP $CPPFLAGS'
21647 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21648 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21649 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21652 if test "$wxUSE_UNICODE" = "yes"; then
21653 std_string
="std::wstring"
21654 char_type
="wchar_t"
21656 std_string
="std::string"
21660 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21661 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21662 cat >conftest.
$ac_ext <<_ACEOF
21665 cat confdefs.h
>>conftest.
$ac_ext
21666 cat >>conftest.
$ac_ext <<_ACEOF
21667 /* end confdefs.h. */
21677 rm -f conftest.
$ac_objext
21678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21679 (eval $ac_compile) 2>conftest.er1
21681 grep -v '^ *+' conftest.er1
>conftest.err
21683 cat conftest.err
>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); } &&
21686 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21688 (eval $ac_try) 2>&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); }; } &&
21692 { ac_try
='test -s conftest.$ac_objext'
21693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21694 (eval $ac_try) 2>&5
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); }; }; then
21698 echo "$as_me:$LINENO: result: yes" >&5
21699 echo "${ECHO_T}yes" >&6
21700 cat >>confdefs.h
<<\_ACEOF
21701 #define HAVE_STD_WSTRING 1
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.
$ac_ext >&5
21708 echo "$as_me:$LINENO: result: no" >&5
21709 echo "${ECHO_T}no" >&6
21710 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21711 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21712 cat >conftest.
$ac_ext <<_ACEOF
21715 cat confdefs.h
>>conftest.
$ac_ext
21716 cat >>conftest.
$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21719 #ifdef HAVE_WCHAR_H
21721 # include <stddef.h>
21723 # include <wchar.h>
21725 #ifdef HAVE_STDLIB_H
21726 # include <stdlib.h>
21734 std::basic_string<$char_type> foo;
21735 const $char_type* dummy = foo.c_str();
21740 rm -f conftest.
$ac_objext
21741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21742 (eval $ac_compile) 2>conftest.er1
21744 grep -v '^ *+' conftest.er1
>conftest.err
21746 cat conftest.err
>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } &&
21749 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; } &&
21755 { ac_try
='test -s conftest.$ac_objext'
21756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757 (eval $ac_try) 2>&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); }; }; then
21761 echo "$as_me:$LINENO: result: yes" >&5
21762 echo "${ECHO_T}yes" >&6
21764 echo "$as_me: failed program was:" >&5
21765 sed 's/^/| /' conftest.
$ac_ext >&5
21767 echo "$as_me:$LINENO: result: no" >&5
21768 echo "${ECHO_T}no" >&6
21769 if test "$wxUSE_STL" = "yes"; then
21770 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21771 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21772 { (exit 1); exit 1; }; }
21773 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21774 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21775 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21776 { (exit 1); exit 1; }; }
21778 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21779 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21780 wxUSE_STD_STRING
=no
21785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21791 ac_cpp
='$CPP $CPPFLAGS'
21792 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21798 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21800 ac_cpp
='$CXXCPP $CPPFLAGS'
21801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21806 echo "$as_me:$LINENO: checking for std::istream" >&5
21807 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21808 if test "${ac_cv_type_std__istream+set}" = set; then
21809 echo $ECHO_N "(cached) $ECHO_C" >&6
21811 cat >conftest.
$ac_ext <<_ACEOF
21814 cat confdefs.h
>>conftest.
$ac_ext
21815 cat >>conftest.
$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21817 #include <iostream>
21822 if ((std::istream *) 0)
21824 if (sizeof (std::istream))
21830 rm -f conftest.
$ac_objext
21831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21832 (eval $ac_compile) 2>conftest.er1
21834 grep -v '^ *+' conftest.er1
>conftest.err
21836 cat conftest.err
>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } &&
21839 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; } &&
21845 { ac_try
='test -s conftest.$ac_objext'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; }; then
21851 ac_cv_type_std__istream
=yes
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.
$ac_ext >&5
21856 ac_cv_type_std__istream
=no
21858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21860 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
21861 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
21862 if test $ac_cv_type_std__istream = yes; then
21864 cat >>confdefs.h
<<_ACEOF
21865 #define HAVE_STD__ISTREAM 1
21870 wxUSE_STD_IOSTREAM
=no
21872 echo "$as_me:$LINENO: checking for std::ostream" >&5
21873 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
21874 if test "${ac_cv_type_std__ostream+set}" = set; then
21875 echo $ECHO_N "(cached) $ECHO_C" >&6
21877 cat >conftest.
$ac_ext <<_ACEOF
21880 cat confdefs.h
>>conftest.
$ac_ext
21881 cat >>conftest.
$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 #include <iostream>
21888 if ((std::ostream *) 0)
21890 if (sizeof (std::ostream))
21896 rm -f conftest.
$ac_objext
21897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21898 (eval $ac_compile) 2>conftest.er1
21900 grep -v '^ *+' conftest.er1
>conftest.err
21902 cat conftest.err
>&5
21903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); } &&
21905 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21907 (eval $ac_try) 2>&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); }; } &&
21911 { ac_try
='test -s conftest.$ac_objext'
21912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21913 (eval $ac_try) 2>&5
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); }; }; then
21917 ac_cv_type_std__ostream
=yes
21919 echo "$as_me: failed program was:" >&5
21920 sed 's/^/| /' conftest.
$ac_ext >&5
21922 ac_cv_type_std__ostream
=no
21924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21926 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
21927 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
21928 if test $ac_cv_type_std__ostream = yes; then
21930 cat >>confdefs.h
<<_ACEOF
21931 #define HAVE_STD__OSTREAM 1
21936 wxUSE_STD_IOSTREAM
=no
21940 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21941 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
21942 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
21943 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
21944 { (exit 1); exit 1; }; }
21946 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21947 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21952 ac_cpp
='$CPP $CPPFLAGS'
21953 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21959 if test "$wxUSE_STL" = "yes"; then
21961 ac_cpp
='$CXXCPP $CPPFLAGS'
21962 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21963 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21964 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21967 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
21968 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
21969 cat >conftest.
$ac_ext <<_ACEOF
21972 cat confdefs.h
>>conftest.
$ac_ext
21973 cat >>conftest.
$ac_ext <<_ACEOF
21974 /* end confdefs.h. */
21976 #include <functional>
21977 #include <algorithm>
21983 std::vector<int> moo;
21984 std::list<int> foo;
21985 std::vector<int>::iterator it =
21986 std::find_if(moo.begin(), moo.end(),
21987 std::bind2nd(std::less<int>(), 3));
21992 rm -f conftest.
$ac_objext
21993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21994 (eval $ac_compile) 2>conftest.er1
21996 grep -v '^ *+' conftest.er1
>conftest.err
21998 cat conftest.err
>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); } &&
22001 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003 (eval $ac_try) 2>&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); }; } &&
22007 { ac_try
='test -s conftest.$ac_objext'
22008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22009 (eval $ac_try) 2>&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); }; }; then
22013 echo "$as_me:$LINENO: result: yes" >&5
22014 echo "${ECHO_T}yes" >&6
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.
$ac_ext >&5
22019 echo "$as_me:$LINENO: result: no" >&5
22020 echo "${ECHO_T}no" >&6
22021 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22022 echo "$as_me: error: Basic STL functionality missing" >&2;}
22023 { (exit 1); exit 1; }; }
22025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22027 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22028 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22029 cat >conftest.
$ac_ext <<_ACEOF
22032 cat confdefs.h
>>conftest.
$ac_ext
22033 cat >>conftest.
$ac_ext <<_ACEOF
22034 /* end confdefs.h. */
22039 std::string foo, bar;
22041 foo.compare(1, 1, bar);
22042 foo.compare(1, 1, bar, 1, 1);
22044 foo.compare(1, 1, "");
22045 foo.compare(1, 1, "", 2);
22050 rm -f conftest.
$ac_objext
22051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22052 (eval $ac_compile) 2>conftest.er1
22054 grep -v '^ *+' conftest.er1
>conftest.err
22056 cat conftest.err
>&5
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); } &&
22059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22061 (eval $ac_try) 2>&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; } &&
22065 { ac_try
='test -s conftest.$ac_objext'
22066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22067 (eval $ac_try) 2>&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); }; }; then
22071 echo "$as_me:$LINENO: result: yes" >&5
22072 echo "${ECHO_T}yes" >&6
22073 cat >>confdefs.h
<<\_ACEOF
22074 #define HAVE_STD_STRING_COMPARE 1
22078 echo "$as_me: failed program was:" >&5
22079 sed 's/^/| /' conftest.
$ac_ext >&5
22081 echo "$as_me:$LINENO: result: no" >&5
22082 echo "${ECHO_T}no" >&6
22084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22086 if test "${ac_cv_header_hash_map+set}" = set; then
22087 echo "$as_me:$LINENO: checking for hash_map" >&5
22088 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22089 if test "${ac_cv_header_hash_map+set}" = set; then
22090 echo $ECHO_N "(cached) $ECHO_C" >&6
22092 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22093 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22095 # Is the header compilable?
22096 echo "$as_me:$LINENO: checking hash_map usability" >&5
22097 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22098 cat >conftest.
$ac_ext <<_ACEOF
22101 cat confdefs.h
>>conftest.
$ac_ext
22102 cat >>conftest.
$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22104 $ac_includes_default
22105 #include <hash_map>
22107 rm -f conftest.
$ac_objext
22108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22109 (eval $ac_compile) 2>conftest.er1
22111 grep -v '^ *+' conftest.er1
>conftest.err
22113 cat conftest.err
>&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); } &&
22116 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22118 (eval $ac_try) 2>&5
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); }; } &&
22122 { ac_try
='test -s conftest.$ac_objext'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 ac_header_compiler
=yes
22130 echo "$as_me: failed program was:" >&5
22131 sed 's/^/| /' conftest.
$ac_ext >&5
22133 ac_header_compiler
=no
22135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22137 echo "${ECHO_T}$ac_header_compiler" >&6
22139 # Is the header present?
22140 echo "$as_me:$LINENO: checking hash_map presence" >&5
22141 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
22142 cat >conftest.
$ac_ext <<_ACEOF
22145 cat confdefs.h
>>conftest.
$ac_ext
22146 cat >>conftest.
$ac_ext <<_ACEOF
22147 /* end confdefs.h. */
22148 #include <hash_map>
22150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22151 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22153 grep -v '^ *+' conftest.er1
>conftest.err
22155 cat conftest.err
>&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } >/dev
/null
; then
22158 if test -s conftest.err
; then
22159 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22160 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22167 if test -z "$ac_cpp_err"; then
22168 ac_header_preproc
=yes
22170 echo "$as_me: failed program was:" >&5
22171 sed 's/^/| /' conftest.
$ac_ext >&5
22173 ac_header_preproc
=no
22175 rm -f conftest.err conftest.
$ac_ext
22176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22177 echo "${ECHO_T}$ac_header_preproc" >&6
22179 # So? What about this header?
22180 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22182 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22183 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22184 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22185 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22186 ac_header_preproc
=yes
22189 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22190 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22191 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22192 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22193 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22194 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22195 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22196 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22197 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22198 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22199 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22200 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22203 ## ----------------------------------------- ##
22204 ## Report this to wx-dev@lists.wxwidgets.org ##
22205 ## ----------------------------------------- ##
22208 sed "s/^/$as_me: WARNING: /" >&2
22211 echo "$as_me:$LINENO: checking for hash_map" >&5
22212 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22213 if test "${ac_cv_header_hash_map+set}" = set; then
22214 echo $ECHO_N "(cached) $ECHO_C" >&6
22216 ac_cv_header_hash_map
=$ac_header_preproc
22218 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22219 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22222 if test $ac_cv_header_hash_map = yes; then
22223 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22224 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22225 cat >conftest.
$ac_ext <<_ACEOF
22228 cat confdefs.h
>>conftest.
$ac_ext
22229 cat >>conftest.
$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 #include <hash_map>
22232 #include <hash_set>
22236 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22237 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22242 rm -f conftest.
$ac_objext
22243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22244 (eval $ac_compile) 2>conftest.er1
22246 grep -v '^ *+' conftest.er1
>conftest.err
22248 cat conftest.err
>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); } &&
22251 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; } &&
22257 { ac_try
='test -s conftest.$ac_objext'
22258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22259 (eval $ac_try) 2>&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); }; }; then
22263 echo "$as_me:$LINENO: result: yes" >&5
22264 echo "${ECHO_T}yes" >&6
22265 cat >>confdefs.h
<<\_ACEOF
22266 #define HAVE_HASH_MAP 1
22269 cat >>confdefs.h
<<\_ACEOF
22270 #define HAVE_STD_HASH_MAP 1
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.
$ac_ext >&5
22277 echo "$as_me:$LINENO: result: no" >&5
22278 echo "${ECHO_T}no" >&6
22280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22286 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22287 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22288 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22289 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22290 echo $ECHO_N "(cached) $ECHO_C" >&6
22292 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22293 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22295 # Is the header compilable?
22296 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22297 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22298 cat >conftest.
$ac_ext <<_ACEOF
22301 cat confdefs.h
>>conftest.
$ac_ext
22302 cat >>conftest.
$ac_ext <<_ACEOF
22303 /* end confdefs.h. */
22304 $ac_includes_default
22305 #include <ext/hash_map>
22307 rm -f conftest.
$ac_objext
22308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22309 (eval $ac_compile) 2>conftest.er1
22311 grep -v '^ *+' conftest.er1
>conftest.err
22313 cat conftest.err
>&5
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); } &&
22316 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22318 (eval $ac_try) 2>&5
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); }; } &&
22322 { ac_try
='test -s conftest.$ac_objext'
22323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22324 (eval $ac_try) 2>&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); }; }; then
22328 ac_header_compiler
=yes
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.
$ac_ext >&5
22333 ac_header_compiler
=no
22335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22337 echo "${ECHO_T}$ac_header_compiler" >&6
22339 # Is the header present?
22340 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22341 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22342 cat >conftest.
$ac_ext <<_ACEOF
22345 cat confdefs.h
>>conftest.
$ac_ext
22346 cat >>conftest.
$ac_ext <<_ACEOF
22347 /* end confdefs.h. */
22348 #include <ext/hash_map>
22350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22353 grep -v '^ *+' conftest.er1
>conftest.err
22355 cat conftest.err
>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } >/dev
/null
; then
22358 if test -s conftest.err
; then
22359 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22360 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22367 if test -z "$ac_cpp_err"; then
22368 ac_header_preproc
=yes
22370 echo "$as_me: failed program was:" >&5
22371 sed 's/^/| /' conftest.
$ac_ext >&5
22373 ac_header_preproc
=no
22375 rm -f conftest.err conftest.
$ac_ext
22376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22377 echo "${ECHO_T}$ac_header_preproc" >&6
22379 # So? What about this header?
22380 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22382 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22383 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22384 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22385 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22386 ac_header_preproc
=yes
22389 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22390 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22391 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22392 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22393 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22394 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22395 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22396 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22397 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22398 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22399 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22400 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22403 ## ----------------------------------------- ##
22404 ## Report this to wx-dev@lists.wxwidgets.org ##
22405 ## ----------------------------------------- ##
22408 sed "s/^/$as_me: WARNING: /" >&2
22411 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22412 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22413 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22414 echo $ECHO_N "(cached) $ECHO_C" >&6
22416 ac_cv_header_ext_hash_map
=$ac_header_preproc
22418 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22419 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22422 if test $ac_cv_header_ext_hash_map = yes; then
22423 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22424 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22425 cat >conftest.
$ac_ext <<_ACEOF
22428 cat confdefs.h
>>conftest.
$ac_ext
22429 cat >>conftest.
$ac_ext <<_ACEOF
22430 /* end confdefs.h. */
22431 #include <ext/hash_map>
22432 #include <ext/hash_set>
22436 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22437 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22442 rm -f conftest.
$ac_objext
22443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22444 (eval $ac_compile) 2>conftest.er1
22446 grep -v '^ *+' conftest.er1
>conftest.err
22448 cat conftest.err
>&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } &&
22451 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22453 (eval $ac_try) 2>&5
22455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22456 (exit $ac_status); }; } &&
22457 { ac_try
='test -s conftest.$ac_objext'
22458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22459 (eval $ac_try) 2>&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); }; }; then
22463 echo "$as_me:$LINENO: result: yes" >&5
22464 echo "${ECHO_T}yes" >&6
22465 cat >>confdefs.h
<<\_ACEOF
22466 #define HAVE_EXT_HASH_MAP 1
22469 cat >>confdefs.h
<<\_ACEOF
22470 #define HAVE_GNU_CXX_HASH_MAP 1
22474 echo "$as_me: failed program was:" >&5
22475 sed 's/^/| /' conftest.
$ac_ext >&5
22477 echo "$as_me:$LINENO: result: no" >&5
22478 echo "${ECHO_T}no" >&6
22480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22487 ac_cpp
='$CPP $CPPFLAGS'
22488 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22489 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22490 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22496 /usr/local/include \
22498 /usr/Motif-2.1/include \
22499 /usr/Motif-1.2/include \
22500 /usr/include/Motif1.2 \
22503 /usr/openwin/include \
22507 /usr/X11R6/include \
22508 /usr/X11R6.4/include \
22509 /usr/X11R5/include \
22510 /usr/X11R4/include \
22512 /usr/include/X11R6 \
22513 /usr/include/X11R5 \
22514 /usr/include/X11R4 \
22516 /usr/local/X11R6/include \
22517 /usr/local/X11R5/include \
22518 /usr/local/X11R4/include \
22520 /usr/local/include/X11R6 \
22521 /usr/local/include/X11R5 \
22522 /usr/local/include/X11R4 \
22526 /usr/local/X11/include \
22527 /usr/local/include/X11 \
22529 /usr/XFree86/include/X11 \
22532 /usr/openwin/share/include"
22535 *-*-linux* | *-*-irix6* | *-*-solaris2* )
22536 echo "$as_me:$LINENO: checking for libraries directory" >&5
22537 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
22538 if test "${wx_cv_std_libpath+set}" = set; then
22539 echo $ECHO_N "(cached) $ECHO_C" >&6
22542 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
22543 for e
in a so sl dylib dll.a
; do
22545 if test -f $libc; then
22548 cat >conftest.
$ac_ext <<_ACEOF
22549 int main() { return 0; }
22551 rm -f conftest.
$ac_objext conftest
$ac_exeext
22552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22553 (eval $ac_link) 2>conftest.er1
22555 grep -v '^ *+' conftest.er1
>conftest.err
22557 cat conftest.err
>&5
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); } &&
22560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22562 (eval $ac_try) 2>&5
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); }; } &&
22566 { ac_try
='test -s conftest$ac_exeext'
22567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22568 (eval $ac_try) 2>&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); }; }; then
22572 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
22574 echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.
$ac_ext >&5
22578 rm -f conftest.err conftest.
$ac_objext \
22579 conftest
$ac_exeext conftest.
$ac_ext
22581 if test "x$wx_cv_std_libpath" != "x"; then
22587 if test "x$wx_cv_std_libpath" = "x"; then
22588 wx_cv_std_libpath
="lib"
22593 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
22594 echo "${ECHO_T}$wx_cv_std_libpath" >&6
22598 wx_cv_std_libpath
="lib";
22602 SEARCH_LIB
=`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g`
22604 if test "$build" != "$host" -a "$GCC" = yes; then
22605 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22606 cross_root
=`dirname $cross_root`
22607 cross_root
=`dirname $cross_root`
22609 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22610 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22612 if test -z "$PKG_CONFIG_PATH"; then
22613 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22614 export PKG_CONFIG_PATH
22617 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22620 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
22622 if test -f "$ac_dir/X11/Intrinsic.h"; then
22623 ac_find_includes
=$ac_dir
22628 x_includes
=$ac_find_includes
22630 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22634 for ac_dir
in $SEARCH_LIB;
22636 for ac_extension
in a so sl dylib dll.a
; do
22637 if test -f "$ac_dir/libXt.$ac_extension"; then
22638 ac_find_libraries
=$ac_dir
22644 if test "x$ac_find_libraries" = "x" ; then
22647 for ac_dir
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
;
22649 for ac_extension
in a so sl dylib dll.a
; do
22650 if test -f "$ac_dir/libXt.$ac_extension"; then
22651 ac_find_libraries
=$ac_dir
22657 if test "x$ac_find_libraries" != "x" ; then
22658 ac_find_libraries
="default location"
22662 x_libraries
=$ac_find_libraries
22668 cat >confcache
<<\_ACEOF
22669 # This file is a shell script that caches the results of configure
22670 # tests run on this system so they can be shared between configure
22671 # scripts and configure runs, see configure's option --config-cache.
22672 # It is not useful on other systems. If it contains results you don't
22673 # want to keep, you may remove or edit it.
22675 # config.status only pays attention to the cache file if you give it
22676 # the --recheck option to rerun configure.
22678 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22679 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22680 # following values.
22684 # The following way of writing the cache mishandles newlines in values,
22685 # but we know of no workaround that is simple, portable, and efficient.
22686 # So, don't put newlines in cache variables' values.
22687 # Ultrix sh set writes to stderr and can't be redirected directly,
22688 # and sets the high bit in the cache file unless we assign to the vars.
22691 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22693 # `set' does not quote correctly, so add quotes (double-quote
22694 # substitution turns \\\\ into \\, and sed turns \\ into \).
22697 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22700 # `set' quotes correctly as required by POSIX, so do not add quotes.
22702 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22709 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22711 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22713 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22714 if test -w $cache_file; then
22715 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22716 cat confcache
>$cache_file
22718 echo "not updating unwritable cache $cache_file"
22723 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22724 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22725 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22726 if test "${wx_cv_lib_glibc21+set}" = set; then
22727 echo $ECHO_N "(cached) $ECHO_C" >&6
22730 cat >conftest.
$ac_ext <<_ACEOF
22733 cat confdefs.h
>>conftest.
$ac_ext
22734 cat >>conftest.
$ac_ext <<_ACEOF
22735 /* end confdefs.h. */
22736 #include <features.h>
22741 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22749 rm -f conftest.
$ac_objext
22750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22751 (eval $ac_compile) 2>conftest.er1
22753 grep -v '^ *+' conftest.er1
>conftest.err
22755 cat conftest.err
>&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } &&
22758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22760 (eval $ac_try) 2>&5
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; } &&
22764 { ac_try
='test -s conftest.$ac_objext'
22765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22766 (eval $ac_try) 2>&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); }; }; then
22771 wx_cv_lib_glibc21
=yes
22774 echo "$as_me: failed program was:" >&5
22775 sed 's/^/| /' conftest.
$ac_ext >&5
22778 wx_cv_lib_glibc21
=no
22782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22785 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22786 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22787 if test "$wx_cv_lib_glibc21" = "yes"; then
22788 cat >>confdefs.h
<<\_ACEOF
22789 #define wxHAVE_GLIBC2 1
22795 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22796 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22797 cat >>confdefs.h
<<\_ACEOF
22798 #define _GNU_SOURCE 1
22806 if test "$wxUSE_REGEX" != "no"; then
22807 cat >>confdefs.h
<<\_ACEOF
22808 #define wxUSE_REGEX 1
22812 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22813 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22814 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22815 wxUSE_REGEX
=builtin
22818 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22819 if test "${ac_cv_header_regex_h+set}" = set; then
22820 echo "$as_me:$LINENO: checking for regex.h" >&5
22821 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22822 if test "${ac_cv_header_regex_h+set}" = set; then
22823 echo $ECHO_N "(cached) $ECHO_C" >&6
22825 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22826 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22828 # Is the header compilable?
22829 echo "$as_me:$LINENO: checking regex.h usability" >&5
22830 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22831 cat >conftest.
$ac_ext <<_ACEOF
22834 cat confdefs.h
>>conftest.
$ac_ext
22835 cat >>conftest.
$ac_ext <<_ACEOF
22836 /* end confdefs.h. */
22837 $ac_includes_default
22840 rm -f conftest.
$ac_objext
22841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22842 (eval $ac_compile) 2>conftest.er1
22844 grep -v '^ *+' conftest.er1
>conftest.err
22846 cat conftest.err
>&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); } &&
22849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22851 (eval $ac_try) 2>&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); }; } &&
22855 { ac_try
='test -s conftest.$ac_objext'
22856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22857 (eval $ac_try) 2>&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); }; }; then
22861 ac_header_compiler
=yes
22863 echo "$as_me: failed program was:" >&5
22864 sed 's/^/| /' conftest.
$ac_ext >&5
22866 ac_header_compiler
=no
22868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22869 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22870 echo "${ECHO_T}$ac_header_compiler" >&6
22872 # Is the header present?
22873 echo "$as_me:$LINENO: checking regex.h presence" >&5
22874 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
22875 cat >conftest.
$ac_ext <<_ACEOF
22878 cat confdefs.h
>>conftest.
$ac_ext
22879 cat >>conftest.
$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22884 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22886 grep -v '^ *+' conftest.er1
>conftest.err
22888 cat conftest.err
>&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); } >/dev
/null
; then
22891 if test -s conftest.err
; then
22892 ac_cpp_err
=$ac_c_preproc_warn_flag
22893 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22900 if test -z "$ac_cpp_err"; then
22901 ac_header_preproc
=yes
22903 echo "$as_me: failed program was:" >&5
22904 sed 's/^/| /' conftest.
$ac_ext >&5
22906 ac_header_preproc
=no
22908 rm -f conftest.err conftest.
$ac_ext
22909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22910 echo "${ECHO_T}$ac_header_preproc" >&6
22912 # So? What about this header?
22913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22915 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
22916 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22917 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
22918 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
22919 ac_header_preproc
=yes
22922 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
22923 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
22924 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
22925 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
22926 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
22927 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
22928 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
22929 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
22930 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
22931 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
22932 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
22933 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
22936 ## ----------------------------------------- ##
22937 ## Report this to wx-dev@lists.wxwidgets.org ##
22938 ## ----------------------------------------- ##
22941 sed "s/^/$as_me: WARNING: /" >&2
22944 echo "$as_me:$LINENO: checking for regex.h" >&5
22945 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22946 if test "${ac_cv_header_regex_h+set}" = set; then
22947 echo $ECHO_N "(cached) $ECHO_C" >&6
22949 ac_cv_header_regex_h
=$ac_header_preproc
22951 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22952 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22955 if test $ac_cv_header_regex_h = yes; then
22957 for ac_func
in regcomp
22959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22960 echo "$as_me:$LINENO: checking for $ac_func" >&5
22961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22962 if eval "test \"\${$as_ac_var+set}\" = set"; then
22963 echo $ECHO_N "(cached) $ECHO_C" >&6
22965 cat >conftest.
$ac_ext <<_ACEOF
22968 cat confdefs.h
>>conftest.
$ac_ext
22969 cat >>conftest.
$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22973 #define $ac_func innocuous_$ac_func
22975 /* System header to define __stub macros and hopefully few prototypes,
22976 which can conflict with char $ac_func (); below.
22977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22978 <limits.h> exists even on freestanding compilers. */
22981 # include <limits.h>
22983 # include <assert.h>
22988 /* Override any gcc2 internal prototype to avoid an error. */
22993 /* We use char because int might match the return type of a gcc2
22994 builtin and then its argument prototype would still apply. */
22996 /* The GNU C library defines this for functions which it implements
22997 to always fail with ENOSYS. Some functions are actually named
22998 something starting with __ and the normal name is an alias. */
22999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23002 char (*f) () = $ac_func;
23011 return f != $ac_func;
23016 rm -f conftest.
$ac_objext conftest
$ac_exeext
23017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23018 (eval $ac_link) 2>conftest.er1
23020 grep -v '^ *+' conftest.er1
>conftest.err
23022 cat conftest.err
>&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } &&
23025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23027 (eval $ac_try) 2>&5
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); }; } &&
23031 { ac_try
='test -s conftest$ac_exeext'
23032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23033 (eval $ac_try) 2>&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); }; }; then
23037 eval "$as_ac_var=yes"
23039 echo "$as_me: failed program was:" >&5
23040 sed 's/^/| /' conftest.
$ac_ext >&5
23042 eval "$as_ac_var=no"
23044 rm -f conftest.err conftest.
$ac_objext \
23045 conftest
$ac_exeext conftest.
$ac_ext
23047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23049 if test `eval echo '${'$as_ac_var'}'` = yes; then
23050 cat >>confdefs.h
<<_ACEOF
23051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23061 if test "x$ac_cv_func_regcomp" != "xyes"; then
23062 if test "$wxUSE_REGEX" = "sys" ; then
23063 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23064 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23065 { (exit 1); exit 1; }; }
23067 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23068 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23069 wxUSE_REGEX
=builtin
23073 cat >>confdefs.h
<<\_ACEOF
23074 #define WX_NO_REGEX_ADVANCED 1
23083 if test "$wxUSE_ZLIB" != "no" ; then
23084 cat >>confdefs.h
<<\_ACEOF
23085 #define wxUSE_ZLIB 1
23089 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23090 if test "$USE_DARWIN" = 1; then
23091 system_zlib_h_ok
="yes"
23093 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23094 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23095 if test "${ac_cv_header_zlib_h+set}" = set; then
23096 echo $ECHO_N "(cached) $ECHO_C" >&6
23098 if test "$cross_compiling" = yes; then
23099 unset ac_cv_header_zlib_h
23102 cat >conftest.
$ac_ext <<_ACEOF
23105 cat confdefs.h
>>conftest.
$ac_ext
23106 cat >>conftest.
$ac_ext <<_ACEOF
23107 /* end confdefs.h. */
23114 FILE *f=fopen("conftestval", "w");
23117 ZLIB_VERSION[0] == '1' &&
23118 (ZLIB_VERSION[2] > '1' ||
23119 (ZLIB_VERSION[2] == '1' &&
23120 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23125 rm -f conftest
$ac_exeext
23126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23127 (eval $ac_link) 2>&5
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; }; then
23136 ac_cv_header_zlib_h
=`cat conftestval`
23138 echo "$as_me: program exited with status $ac_status" >&5
23139 echo "$as_me: failed program was:" >&5
23140 sed 's/^/| /' conftest.
$ac_ext >&5
23142 ( exit $ac_status )
23143 ac_cv_header_zlib_h
=no
23145 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23149 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23150 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23151 if test "${ac_cv_header_zlib_h+set}" = set; then
23152 echo "$as_me:$LINENO: checking for zlib.h" >&5
23153 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23154 if test "${ac_cv_header_zlib_h+set}" = set; then
23155 echo $ECHO_N "(cached) $ECHO_C" >&6
23157 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23158 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23160 # Is the header compilable?
23161 echo "$as_me:$LINENO: checking zlib.h usability" >&5
23162 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
23163 cat >conftest.
$ac_ext <<_ACEOF
23166 cat confdefs.h
>>conftest.
$ac_ext
23167 cat >>conftest.
$ac_ext <<_ACEOF
23168 /* end confdefs.h. */
23169 $ac_includes_default
23172 rm -f conftest.
$ac_objext
23173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23174 (eval $ac_compile) 2>conftest.er1
23176 grep -v '^ *+' conftest.er1
>conftest.err
23178 cat conftest.err
>&5
23179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23180 (exit $ac_status); } &&
23181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23183 (eval $ac_try) 2>&5
23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23186 (exit $ac_status); }; } &&
23187 { ac_try
='test -s conftest.$ac_objext'
23188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23189 (eval $ac_try) 2>&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); }; }; then
23193 ac_header_compiler
=yes
23195 echo "$as_me: failed program was:" >&5
23196 sed 's/^/| /' conftest.
$ac_ext >&5
23198 ac_header_compiler
=no
23200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23202 echo "${ECHO_T}$ac_header_compiler" >&6
23204 # Is the header present?
23205 echo "$as_me:$LINENO: checking zlib.h presence" >&5
23206 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
23207 cat >conftest.
$ac_ext <<_ACEOF
23210 cat confdefs.h
>>conftest.
$ac_ext
23211 cat >>conftest.
$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23216 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23218 grep -v '^ *+' conftest.er1
>conftest.err
23220 cat conftest.err
>&5
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); } >/dev
/null
; then
23223 if test -s conftest.err
; then
23224 ac_cpp_err
=$ac_c_preproc_warn_flag
23225 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23232 if test -z "$ac_cpp_err"; then
23233 ac_header_preproc
=yes
23235 echo "$as_me: failed program was:" >&5
23236 sed 's/^/| /' conftest.
$ac_ext >&5
23238 ac_header_preproc
=no
23240 rm -f conftest.err conftest.
$ac_ext
23241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23242 echo "${ECHO_T}$ac_header_preproc" >&6
23244 # So? What about this header?
23245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23247 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23248 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23249 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
23250 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23251 ac_header_preproc
=yes
23254 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23255 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23256 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23257 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23258 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23259 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23260 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23261 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23262 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23263 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23264 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23265 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23268 ## ----------------------------------------- ##
23269 ## Report this to wx-dev@lists.wxwidgets.org ##
23270 ## ----------------------------------------- ##
23273 sed "s/^/$as_me: WARNING: /" >&2
23276 echo "$as_me:$LINENO: checking for zlib.h" >&5
23277 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23278 if test "${ac_cv_header_zlib_h+set}" = set; then
23279 echo $ECHO_N "(cached) $ECHO_C" >&6
23281 ac_cv_header_zlib_h
=$ac_header_preproc
23283 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23284 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23290 system_zlib_h_ok
=$ac_cv_header_zlib_h
23293 if test "$system_zlib_h_ok" = "yes"; then
23294 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
23295 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
23296 if test "${ac_cv_lib_z_deflate+set}" = set; then
23297 echo $ECHO_N "(cached) $ECHO_C" >&6
23299 ac_check_lib_save_LIBS
=$LIBS
23301 cat >conftest.
$ac_ext <<_ACEOF
23304 cat confdefs.h
>>conftest.
$ac_ext
23305 cat >>conftest.
$ac_ext <<_ACEOF
23306 /* end confdefs.h. */
23308 /* Override any gcc2 internal prototype to avoid an error. */
23312 /* We use char because int might match the return type of a gcc2
23313 builtin and then its argument prototype would still apply. */
23323 rm -f conftest.
$ac_objext conftest
$ac_exeext
23324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23325 (eval $ac_link) 2>conftest.er1
23327 grep -v '^ *+' conftest.er1
>conftest.err
23329 cat conftest.err
>&5
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); } &&
23332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334 (eval $ac_try) 2>&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); }; } &&
23338 { ac_try
='test -s conftest$ac_exeext'
23339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23340 (eval $ac_try) 2>&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); }; }; then
23344 ac_cv_lib_z_deflate
=yes
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.
$ac_ext >&5
23349 ac_cv_lib_z_deflate
=no
23351 rm -f conftest.err conftest.
$ac_objext \
23352 conftest
$ac_exeext conftest.
$ac_ext
23353 LIBS
=$ac_check_lib_save_LIBS
23355 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
23356 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
23357 if test $ac_cv_lib_z_deflate = yes; then
23363 if test "x$ZLIB_LINK" = "x" ; then
23364 if test "$wxUSE_ZLIB" = "sys" ; then
23365 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
23366 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
23367 { (exit 1); exit 1; }; }
23369 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
23370 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
23381 if test "$wxUSE_LIBPNG" != "no" ; then
23382 cat >>confdefs.h
<<\_ACEOF
23383 #define wxUSE_LIBPNG 1
23387 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
23388 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
23389 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
23393 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
23394 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
23395 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
23396 wxUSE_LIBPNG
=builtin
23399 if test "$wxUSE_MGL" != 1 ; then
23400 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23401 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23402 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23403 if test "${ac_cv_header_png_h+set}" = set; then
23404 echo $ECHO_N "(cached) $ECHO_C" >&6
23406 if test "$cross_compiling" = yes; then
23407 unset ac_cv_header_png_h
23410 cat >conftest.
$ac_ext <<_ACEOF
23413 cat confdefs.h
>>conftest.
$ac_ext
23414 cat >>conftest.
$ac_ext <<_ACEOF
23415 /* end confdefs.h. */
23422 FILE *f=fopen("conftestval", "w");
23425 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23430 rm -f conftest
$ac_exeext
23431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23432 (eval $ac_link) 2>&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23437 (eval $ac_try) 2>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); }; }; then
23441 ac_cv_header_png_h
=`cat conftestval`
23443 echo "$as_me: program exited with status $ac_status" >&5
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.
$ac_ext >&5
23447 ( exit $ac_status )
23448 ac_cv_header_png_h
=no
23450 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23454 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23455 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23456 if test "${ac_cv_header_png_h+set}" = set; then
23457 echo "$as_me:$LINENO: checking for png.h" >&5
23458 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23459 if test "${ac_cv_header_png_h+set}" = set; then
23460 echo $ECHO_N "(cached) $ECHO_C" >&6
23462 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23463 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23465 # Is the header compilable?
23466 echo "$as_me:$LINENO: checking png.h usability" >&5
23467 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23468 cat >conftest.
$ac_ext <<_ACEOF
23471 cat confdefs.h
>>conftest.
$ac_ext
23472 cat >>conftest.
$ac_ext <<_ACEOF
23473 /* end confdefs.h. */
23474 $ac_includes_default
23477 rm -f conftest.
$ac_objext
23478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23479 (eval $ac_compile) 2>conftest.er1
23481 grep -v '^ *+' conftest.er1
>conftest.err
23483 cat conftest.err
>&5
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); } &&
23486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23488 (eval $ac_try) 2>&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); }; } &&
23492 { ac_try
='test -s conftest.$ac_objext'
23493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23494 (eval $ac_try) 2>&5
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); }; }; then
23498 ac_header_compiler
=yes
23500 echo "$as_me: failed program was:" >&5
23501 sed 's/^/| /' conftest.
$ac_ext >&5
23503 ac_header_compiler
=no
23505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23507 echo "${ECHO_T}$ac_header_compiler" >&6
23509 # Is the header present?
23510 echo "$as_me:$LINENO: checking png.h presence" >&5
23511 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23512 cat >conftest.
$ac_ext <<_ACEOF
23515 cat confdefs.h
>>conftest.
$ac_ext
23516 cat >>conftest.
$ac_ext <<_ACEOF
23517 /* end confdefs.h. */
23520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23521 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23523 grep -v '^ *+' conftest.er1
>conftest.err
23525 cat conftest.err
>&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } >/dev
/null
; then
23528 if test -s conftest.err
; then
23529 ac_cpp_err
=$ac_c_preproc_warn_flag
23530 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23537 if test -z "$ac_cpp_err"; then
23538 ac_header_preproc
=yes
23540 echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.
$ac_ext >&5
23543 ac_header_preproc
=no
23545 rm -f conftest.err conftest.
$ac_ext
23546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23547 echo "${ECHO_T}$ac_header_preproc" >&6
23549 # So? What about this header?
23550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23552 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23553 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23554 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23555 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23556 ac_header_preproc
=yes
23559 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23560 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23561 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23562 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23563 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23564 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23565 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23566 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23567 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23568 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23569 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23570 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23573 ## ----------------------------------------- ##
23574 ## Report this to wx-dev@lists.wxwidgets.org ##
23575 ## ----------------------------------------- ##
23578 sed "s/^/$as_me: WARNING: /" >&2
23581 echo "$as_me:$LINENO: checking for png.h" >&5
23582 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23583 if test "${ac_cv_header_png_h+set}" = set; then
23584 echo $ECHO_N "(cached) $ECHO_C" >&6
23586 ac_cv_header_png_h
=$ac_header_preproc
23588 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23589 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23595 if test "$ac_cv_header_png_h" = "yes"; then
23596 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23597 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23598 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23601 ac_check_lib_save_LIBS
=$LIBS
23602 LIBS
="-lpng -lz -lm $LIBS"
23603 cat >conftest.
$ac_ext <<_ACEOF
23606 cat confdefs.h
>>conftest.
$ac_ext
23607 cat >>conftest.
$ac_ext <<_ACEOF
23608 /* end confdefs.h. */
23610 /* Override any gcc2 internal prototype to avoid an error. */
23614 /* We use char because int might match the return type of a gcc2
23615 builtin and then its argument prototype would still apply. */
23616 char png_check_sig ();
23625 rm -f conftest.
$ac_objext conftest
$ac_exeext
23626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23627 (eval $ac_link) 2>conftest.er1
23629 grep -v '^ *+' conftest.er1
>conftest.err
23631 cat conftest.err
>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
23640 { ac_try
='test -s conftest$ac_exeext'
23641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642 (eval $ac_try) 2>&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; }; then
23646 ac_cv_lib_png_png_check_sig
=yes
23648 echo "$as_me: failed program was:" >&5
23649 sed 's/^/| /' conftest.
$ac_ext >&5
23651 ac_cv_lib_png_png_check_sig
=no
23653 rm -f conftest.err conftest.
$ac_objext \
23654 conftest
$ac_exeext conftest.
$ac_ext
23655 LIBS
=$ac_check_lib_save_LIBS
23657 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23658 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23659 if test $ac_cv_lib_png_png_check_sig = yes; then
23660 PNG_LINK
=" -lpng -lz"
23665 if test "x$PNG_LINK" = "x" ; then
23666 if test "$wxUSE_LIBPNG" = "sys" ; then
23667 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23668 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23669 { (exit 1); exit 1; }; }
23671 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23672 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23673 wxUSE_LIBPNG
=builtin
23681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23686 if test "$wxUSE_LIBJPEG" != "no" ; then
23687 cat >>confdefs.h
<<\_ACEOF
23688 #define wxUSE_LIBJPEG 1
23692 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23693 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23694 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23698 if test "$wxUSE_MGL" != 1 ; then
23699 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23700 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23701 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23702 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23703 echo $ECHO_N "(cached) $ECHO_C" >&6
23705 cat >conftest.
$ac_ext <<_ACEOF
23708 cat confdefs.h
>>conftest.
$ac_ext
23709 cat >>conftest.
$ac_ext <<_ACEOF
23710 /* end confdefs.h. */
23712 #undef HAVE_STDLIB_H
23714 #include <jpeglib.h>
23725 rm -f conftest.
$ac_objext
23726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23727 (eval $ac_compile) 2>conftest.er1
23729 grep -v '^ *+' conftest.er1
>conftest.err
23731 cat conftest.err
>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); } &&
23734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23736 (eval $ac_try) 2>&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); }; } &&
23740 { ac_try
='test -s conftest.$ac_objext'
23741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742 (eval $ac_try) 2>&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); }; }; then
23746 ac_cv_header_jpeglib_h
=yes
23748 echo "$as_me: failed program was:" >&5
23749 sed 's/^/| /' conftest.
$ac_ext >&5
23751 ac_cv_header_jpeglib_h
=no
23754 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23758 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23759 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23761 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23762 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23763 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23764 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23765 echo $ECHO_N "(cached) $ECHO_C" >&6
23767 ac_check_lib_save_LIBS
=$LIBS
23768 LIBS
="-ljpeg $LIBS"
23769 cat >conftest.
$ac_ext <<_ACEOF
23772 cat confdefs.h
>>conftest.
$ac_ext
23773 cat >>conftest.
$ac_ext <<_ACEOF
23774 /* end confdefs.h. */
23776 /* Override any gcc2 internal prototype to avoid an error. */
23780 /* We use char because int might match the return type of a gcc2
23781 builtin and then its argument prototype would still apply. */
23782 char jpeg_read_header ();
23786 jpeg_read_header ();
23791 rm -f conftest.
$ac_objext conftest
$ac_exeext
23792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23793 (eval $ac_link) 2>conftest.er1
23795 grep -v '^ *+' conftest.er1
>conftest.err
23797 cat conftest.err
>&5
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); } &&
23800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802 (eval $ac_try) 2>&5
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); }; } &&
23806 { ac_try
='test -s conftest$ac_exeext'
23807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23808 (eval $ac_try) 2>&5
23810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811 (exit $ac_status); }; }; then
23812 ac_cv_lib_jpeg_jpeg_read_header
=yes
23814 echo "$as_me: failed program was:" >&5
23815 sed 's/^/| /' conftest.
$ac_ext >&5
23817 ac_cv_lib_jpeg_jpeg_read_header
=no
23819 rm -f conftest.err conftest.
$ac_objext \
23820 conftest
$ac_exeext conftest.
$ac_ext
23821 LIBS
=$ac_check_lib_save_LIBS
23823 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23824 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23825 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23826 JPEG_LINK
=" -ljpeg"
23831 if test "x$JPEG_LINK" = "x" ; then
23832 if test "$wxUSE_LIBJPEG" = "sys" ; then
23833 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23834 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23835 { (exit 1); exit 1; }; }
23837 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
23838 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
23839 wxUSE_LIBJPEG
=builtin
23850 TIFF_PREREQ_LINKS
=-lm
23851 if test "$wxUSE_LIBTIFF" != "no" ; then
23852 cat >>confdefs.h
<<\_ACEOF
23853 #define wxUSE_LIBTIFF 1
23857 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
23858 if test "$wxUSE_LIBJPEG" = "sys"; then
23859 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
23861 if test "$wxUSE_ZLIB" = "sys"; then
23862 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
23864 if test "${ac_cv_header_tiffio_h+set}" = set; then
23865 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23866 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23867 if test "${ac_cv_header_tiffio_h+set}" = set; then
23868 echo $ECHO_N "(cached) $ECHO_C" >&6
23870 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23871 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
23873 # Is the header compilable?
23874 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
23875 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
23876 cat >conftest.
$ac_ext <<_ACEOF
23879 cat confdefs.h
>>conftest.
$ac_ext
23880 cat >>conftest.
$ac_ext <<_ACEOF
23881 /* end confdefs.h. */
23882 $ac_includes_default
23883 #include <tiffio.h>
23885 rm -f conftest.
$ac_objext
23886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23887 (eval $ac_compile) 2>conftest.er1
23889 grep -v '^ *+' conftest.er1
>conftest.err
23891 cat conftest.err
>&5
23892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893 (exit $ac_status); } &&
23894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23896 (eval $ac_try) 2>&5
23898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899 (exit $ac_status); }; } &&
23900 { ac_try
='test -s conftest.$ac_objext'
23901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23902 (eval $ac_try) 2>&5
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); }; }; then
23906 ac_header_compiler
=yes
23908 echo "$as_me: failed program was:" >&5
23909 sed 's/^/| /' conftest.
$ac_ext >&5
23911 ac_header_compiler
=no
23913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23914 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23915 echo "${ECHO_T}$ac_header_compiler" >&6
23917 # Is the header present?
23918 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
23919 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
23920 cat >conftest.
$ac_ext <<_ACEOF
23923 cat confdefs.h
>>conftest.
$ac_ext
23924 cat >>conftest.
$ac_ext <<_ACEOF
23925 /* end confdefs.h. */
23926 #include <tiffio.h>
23928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23931 grep -v '^ *+' conftest.er1
>conftest.err
23933 cat conftest.err
>&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); } >/dev
/null
; then
23936 if test -s conftest.err
; then
23937 ac_cpp_err
=$ac_c_preproc_warn_flag
23938 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23945 if test -z "$ac_cpp_err"; then
23946 ac_header_preproc
=yes
23948 echo "$as_me: failed program was:" >&5
23949 sed 's/^/| /' conftest.
$ac_ext >&5
23951 ac_header_preproc
=no
23953 rm -f conftest.err conftest.
$ac_ext
23954 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23955 echo "${ECHO_T}$ac_header_preproc" >&6
23957 # So? What about this header?
23958 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23960 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23961 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23962 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
23963 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
23964 ac_header_preproc
=yes
23967 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
23968 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
23969 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
23970 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
23971 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
23972 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
23973 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
23974 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23975 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
23976 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
23977 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
23978 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
23981 ## ----------------------------------------- ##
23982 ## Report this to wx-dev@lists.wxwidgets.org ##
23983 ## ----------------------------------------- ##
23986 sed "s/^/$as_me: WARNING: /" >&2
23989 echo "$as_me:$LINENO: checking for tiffio.h" >&5
23990 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
23991 if test "${ac_cv_header_tiffio_h+set}" = set; then
23992 echo $ECHO_N "(cached) $ECHO_C" >&6
23994 ac_cv_header_tiffio_h
=$ac_header_preproc
23996 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
23997 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24000 if test $ac_cv_header_tiffio_h = yes; then
24002 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24003 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24004 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24005 echo $ECHO_N "(cached) $ECHO_C" >&6
24007 ac_check_lib_save_LIBS
=$LIBS
24008 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24009 cat >conftest.
$ac_ext <<_ACEOF
24012 cat confdefs.h
>>conftest.
$ac_ext
24013 cat >>conftest.
$ac_ext <<_ACEOF
24014 /* end confdefs.h. */
24016 /* Override any gcc2 internal prototype to avoid an error. */
24020 /* We use char because int might match the return type of a gcc2
24021 builtin and then its argument prototype would still apply. */
24031 rm -f conftest.
$ac_objext conftest
$ac_exeext
24032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24033 (eval $ac_link) 2>conftest.er1
24035 grep -v '^ *+' conftest.er1
>conftest.err
24037 cat conftest.err
>&5
24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039 (exit $ac_status); } &&
24040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24042 (eval $ac_try) 2>&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); }; } &&
24046 { ac_try
='test -s conftest$ac_exeext'
24047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24048 (eval $ac_try) 2>&5
24050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051 (exit $ac_status); }; }; then
24052 ac_cv_lib_tiff_TIFFError
=yes
24054 echo "$as_me: failed program was:" >&5
24055 sed 's/^/| /' conftest.
$ac_ext >&5
24057 ac_cv_lib_tiff_TIFFError
=no
24059 rm -f conftest.err conftest.
$ac_objext \
24060 conftest
$ac_exeext conftest.
$ac_ext
24061 LIBS
=$ac_check_lib_save_LIBS
24063 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
24064 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24065 if test $ac_cv_lib_tiff_TIFFError = yes; then
24066 TIFF_LINK
=" -ltiff"
24075 if test "x$TIFF_LINK" = "x" ; then
24076 if test "$wxUSE_LIBTIFF" = "sys" ; then
24077 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24078 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24079 { (exit 1); exit 1; }; }
24081 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24082 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24083 wxUSE_LIBTIFF
=builtin
24092 if test "$wxUSE_WCHAR_T" != "yes"; then
24093 if test "$wxUSE_EXPAT" != "no"; then
24094 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24095 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24098 if test "$wxUSE_XML" != "no"; then
24099 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24100 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24105 if test "$wxUSE_EXPAT" != "no"; then
24107 cat >>confdefs.h
<<\_ACEOF
24108 #define wxUSE_EXPAT 1
24111 cat >>confdefs.h
<<\_ACEOF
24112 #define wxUSE_XML 1
24116 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24117 if test "${ac_cv_header_expat_h+set}" = set; then
24118 echo "$as_me:$LINENO: checking for expat.h" >&5
24119 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24120 if test "${ac_cv_header_expat_h+set}" = set; then
24121 echo $ECHO_N "(cached) $ECHO_C" >&6
24123 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24124 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24126 # Is the header compilable?
24127 echo "$as_me:$LINENO: checking expat.h usability" >&5
24128 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
24129 cat >conftest.
$ac_ext <<_ACEOF
24132 cat confdefs.h
>>conftest.
$ac_ext
24133 cat >>conftest.
$ac_ext <<_ACEOF
24134 /* end confdefs.h. */
24135 $ac_includes_default
24138 rm -f conftest.
$ac_objext
24139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24140 (eval $ac_compile) 2>conftest.er1
24142 grep -v '^ *+' conftest.er1
>conftest.err
24144 cat conftest.err
>&5
24145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24146 (exit $ac_status); } &&
24147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24149 (eval $ac_try) 2>&5
24151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24152 (exit $ac_status); }; } &&
24153 { ac_try
='test -s conftest.$ac_objext'
24154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24155 (eval $ac_try) 2>&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); }; }; then
24159 ac_header_compiler
=yes
24161 echo "$as_me: failed program was:" >&5
24162 sed 's/^/| /' conftest.
$ac_ext >&5
24164 ac_header_compiler
=no
24166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24168 echo "${ECHO_T}$ac_header_compiler" >&6
24170 # Is the header present?
24171 echo "$as_me:$LINENO: checking expat.h presence" >&5
24172 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
24173 cat >conftest.
$ac_ext <<_ACEOF
24176 cat confdefs.h
>>conftest.
$ac_ext
24177 cat >>conftest.
$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24184 grep -v '^ *+' conftest.er1
>conftest.err
24186 cat conftest.err
>&5
24187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24188 (exit $ac_status); } >/dev
/null
; then
24189 if test -s conftest.err
; then
24190 ac_cpp_err
=$ac_c_preproc_warn_flag
24191 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24198 if test -z "$ac_cpp_err"; then
24199 ac_header_preproc
=yes
24201 echo "$as_me: failed program was:" >&5
24202 sed 's/^/| /' conftest.
$ac_ext >&5
24204 ac_header_preproc
=no
24206 rm -f conftest.err conftest.
$ac_ext
24207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24208 echo "${ECHO_T}$ac_header_preproc" >&6
24210 # So? What about this header?
24211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24213 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
24214 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24215 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
24216 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
24217 ac_header_preproc
=yes
24220 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
24221 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
24222 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
24223 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
24224 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
24225 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
24226 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
24227 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
24228 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
24229 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
24230 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
24231 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
24234 ## ----------------------------------------- ##
24235 ## Report this to wx-dev@lists.wxwidgets.org ##
24236 ## ----------------------------------------- ##
24239 sed "s/^/$as_me: WARNING: /" >&2
24242 echo "$as_me:$LINENO: checking for expat.h" >&5
24243 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24244 if test "${ac_cv_header_expat_h+set}" = set; then
24245 echo $ECHO_N "(cached) $ECHO_C" >&6
24247 ac_cv_header_expat_h
=$ac_header_preproc
24249 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24250 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24253 if test $ac_cv_header_expat_h = yes; then
24258 if test "x$found_expat_h" = "x1"; then
24259 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24260 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24261 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24262 echo $ECHO_N "(cached) $ECHO_C" >&6
24268 ac_cpp
='$CXXCPP $CPPFLAGS'
24269 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24270 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24271 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24273 cat >conftest.
$ac_ext <<_ACEOF
24276 cat confdefs.h
>>conftest.
$ac_ext
24277 cat >>conftest.
$ac_ext <<_ACEOF
24278 /* end confdefs.h. */
24288 rm -f conftest.
$ac_objext
24289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24290 (eval $ac_compile) 2>conftest.er1
24292 grep -v '^ *+' conftest.er1
>conftest.err
24294 cat conftest.err
>&5
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); } &&
24297 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24299 (eval $ac_try) 2>&5
24301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24302 (exit $ac_status); }; } &&
24303 { ac_try
='test -s conftest.$ac_objext'
24304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305 (eval $ac_try) 2>&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; }; then
24309 wx_cv_expat_is_not_broken
=yes
24311 echo "$as_me: failed program was:" >&5
24312 sed 's/^/| /' conftest.
$ac_ext >&5
24314 wx_cv_expat_is_not_broken
=no
24317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24319 ac_cpp
='$CPP $CPPFLAGS'
24320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24327 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
24328 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
24329 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
24330 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
24331 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
24332 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
24333 echo $ECHO_N "(cached) $ECHO_C" >&6
24335 ac_check_lib_save_LIBS
=$LIBS
24336 LIBS
="-lexpat $LIBS"
24337 cat >conftest.
$ac_ext <<_ACEOF
24340 cat confdefs.h
>>conftest.
$ac_ext
24341 cat >>conftest.
$ac_ext <<_ACEOF
24342 /* end confdefs.h. */
24344 /* Override any gcc2 internal prototype to avoid an error. */
24348 /* We use char because int might match the return type of a gcc2
24349 builtin and then its argument prototype would still apply. */
24350 char XML_ParserCreate ();
24354 XML_ParserCreate ();
24359 rm -f conftest.
$ac_objext conftest
$ac_exeext
24360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24361 (eval $ac_link) 2>conftest.er1
24363 grep -v '^ *+' conftest.er1
>conftest.err
24365 cat conftest.err
>&5
24366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24367 (exit $ac_status); } &&
24368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24370 (eval $ac_try) 2>&5
24372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373 (exit $ac_status); }; } &&
24374 { ac_try
='test -s conftest$ac_exeext'
24375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24376 (eval $ac_try) 2>&5
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); }; }; then
24380 ac_cv_lib_expat_XML_ParserCreate
=yes
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.
$ac_ext >&5
24385 ac_cv_lib_expat_XML_ParserCreate
=no
24387 rm -f conftest.err conftest.
$ac_objext \
24388 conftest
$ac_exeext conftest.
$ac_ext
24389 LIBS
=$ac_check_lib_save_LIBS
24391 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
24392 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
24393 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
24394 EXPAT_LINK
=" -lexpat"
24399 if test "x$EXPAT_LINK" = "x" ; then
24400 if test "$wxUSE_EXPAT" = "sys" ; then
24401 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24402 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24403 { (exit 1); exit 1; }; }
24405 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24406 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24407 wxUSE_EXPAT
=builtin
24413 if test "$wxUSE_EXPAT" = "builtin" ; then
24416 subdirs
="$subdirs src/expat"
24423 if test "$wxUSE_LIBMSPACK" != "no"; then
24424 if test "${ac_cv_header_mspack_h+set}" = set; then
24425 echo "$as_me:$LINENO: checking for mspack.h" >&5
24426 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24427 if test "${ac_cv_header_mspack_h+set}" = set; then
24428 echo $ECHO_N "(cached) $ECHO_C" >&6
24430 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24431 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24433 # Is the header compilable?
24434 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24435 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24436 cat >conftest.
$ac_ext <<_ACEOF
24439 cat confdefs.h
>>conftest.
$ac_ext
24440 cat >>conftest.
$ac_ext <<_ACEOF
24441 /* end confdefs.h. */
24442 $ac_includes_default
24443 #include <mspack.h>
24445 rm -f conftest.
$ac_objext
24446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24447 (eval $ac_compile) 2>conftest.er1
24449 grep -v '^ *+' conftest.er1
>conftest.err
24451 cat conftest.err
>&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } &&
24454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24456 (eval $ac_try) 2>&5
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); }; } &&
24460 { ac_try
='test -s conftest.$ac_objext'
24461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24462 (eval $ac_try) 2>&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); }; }; then
24466 ac_header_compiler
=yes
24468 echo "$as_me: failed program was:" >&5
24469 sed 's/^/| /' conftest.
$ac_ext >&5
24471 ac_header_compiler
=no
24473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24475 echo "${ECHO_T}$ac_header_compiler" >&6
24477 # Is the header present?
24478 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24479 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24480 cat >conftest.
$ac_ext <<_ACEOF
24483 cat confdefs.h
>>conftest.
$ac_ext
24484 cat >>conftest.
$ac_ext <<_ACEOF
24485 /* end confdefs.h. */
24486 #include <mspack.h>
24488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24489 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24491 grep -v '^ *+' conftest.er1
>conftest.err
24493 cat conftest.err
>&5
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); } >/dev
/null
; then
24496 if test -s conftest.err
; then
24497 ac_cpp_err
=$ac_c_preproc_warn_flag
24498 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24505 if test -z "$ac_cpp_err"; then
24506 ac_header_preproc
=yes
24508 echo "$as_me: failed program was:" >&5
24509 sed 's/^/| /' conftest.
$ac_ext >&5
24511 ac_header_preproc
=no
24513 rm -f conftest.err conftest.
$ac_ext
24514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24515 echo "${ECHO_T}$ac_header_preproc" >&6
24517 # So? What about this header?
24518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24520 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24521 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24522 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24523 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24524 ac_header_preproc
=yes
24527 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24528 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24529 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24530 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24531 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24532 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24533 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24534 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24535 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24536 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24537 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24538 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24541 ## ----------------------------------------- ##
24542 ## Report this to wx-dev@lists.wxwidgets.org ##
24543 ## ----------------------------------------- ##
24546 sed "s/^/$as_me: WARNING: /" >&2
24549 echo "$as_me:$LINENO: checking for mspack.h" >&5
24550 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24551 if test "${ac_cv_header_mspack_h+set}" = set; then
24552 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 ac_cv_header_mspack_h
=$ac_header_preproc
24556 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24557 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24560 if test $ac_cv_header_mspack_h = yes; then
24565 if test "x$found_mspack_h" = "x1"; then
24566 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24567 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24568 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24569 echo $ECHO_N "(cached) $ECHO_C" >&6
24571 ac_check_lib_save_LIBS
=$LIBS
24572 LIBS
="-lmspack $LIBS"
24573 cat >conftest.
$ac_ext <<_ACEOF
24576 cat confdefs.h
>>conftest.
$ac_ext
24577 cat >>conftest.
$ac_ext <<_ACEOF
24578 /* end confdefs.h. */
24580 /* Override any gcc2 internal prototype to avoid an error. */
24584 /* We use char because int might match the return type of a gcc2
24585 builtin and then its argument prototype would still apply. */
24586 char mspack_create_chm_decompressor ();
24590 mspack_create_chm_decompressor ();
24595 rm -f conftest.
$ac_objext conftest
$ac_exeext
24596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24597 (eval $ac_link) 2>conftest.er1
24599 grep -v '^ *+' conftest.er1
>conftest.err
24601 cat conftest.err
>&5
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); } &&
24604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24606 (eval $ac_try) 2>&5
24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609 (exit $ac_status); }; } &&
24610 { ac_try
='test -s conftest$ac_exeext'
24611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24612 (eval $ac_try) 2>&5
24614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24615 (exit $ac_status); }; }; then
24616 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24618 echo "$as_me: failed program was:" >&5
24619 sed 's/^/| /' conftest.
$ac_ext >&5
24621 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24623 rm -f conftest.err conftest.
$ac_objext \
24624 conftest
$ac_exeext conftest.
$ac_ext
24625 LIBS
=$ac_check_lib_save_LIBS
24627 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24628 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24629 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24630 MSPACK_LINK
=" -lmspack"
24634 if test "x$MSPACK_LINK" = "x" ; then
24639 if test "$wxUSE_LIBMSPACK" != "no"; then
24640 cat >>confdefs.h
<<\_ACEOF
24641 #define wxUSE_LIBMSPACK 1
24655 if test "$USE_WIN32" = 1 ; then
24657 for ac_header
in w32api.h
24659 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24661 echo "$as_me:$LINENO: checking for $ac_header" >&5
24662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24664 echo $ECHO_N "(cached) $ECHO_C" >&6
24666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24669 # Is the header compilable?
24670 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24671 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24672 cat >conftest.
$ac_ext <<_ACEOF
24675 cat confdefs.h
>>conftest.
$ac_ext
24676 cat >>conftest.
$ac_ext <<_ACEOF
24677 /* end confdefs.h. */
24678 $ac_includes_default
24679 #include <$ac_header>
24681 rm -f conftest.
$ac_objext
24682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24683 (eval $ac_compile) 2>conftest.er1
24685 grep -v '^ *+' conftest.er1
>conftest.err
24687 cat conftest.err
>&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); } &&
24690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24692 (eval $ac_try) 2>&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); }; } &&
24696 { ac_try
='test -s conftest.$ac_objext'
24697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24698 (eval $ac_try) 2>&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); }; }; then
24702 ac_header_compiler
=yes
24704 echo "$as_me: failed program was:" >&5
24705 sed 's/^/| /' conftest.
$ac_ext >&5
24707 ac_header_compiler
=no
24709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24711 echo "${ECHO_T}$ac_header_compiler" >&6
24713 # Is the header present?
24714 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24715 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24716 cat >conftest.
$ac_ext <<_ACEOF
24719 cat confdefs.h
>>conftest.
$ac_ext
24720 cat >>conftest.
$ac_ext <<_ACEOF
24721 /* end confdefs.h. */
24722 #include <$ac_header>
24724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24725 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24727 grep -v '^ *+' conftest.er1
>conftest.err
24729 cat conftest.err
>&5
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); } >/dev
/null
; then
24732 if test -s conftest.err
; then
24733 ac_cpp_err
=$ac_c_preproc_warn_flag
24734 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24741 if test -z "$ac_cpp_err"; then
24742 ac_header_preproc
=yes
24744 echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.
$ac_ext >&5
24747 ac_header_preproc
=no
24749 rm -f conftest.err conftest.
$ac_ext
24750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24751 echo "${ECHO_T}$ac_header_preproc" >&6
24753 # So? What about this header?
24754 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24756 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24757 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24759 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24760 ac_header_preproc
=yes
24763 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24764 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24765 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24766 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24767 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24768 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24769 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24770 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24772 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24773 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24774 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24777 ## ----------------------------------------- ##
24778 ## Report this to wx-dev@lists.wxwidgets.org ##
24779 ## ----------------------------------------- ##
24782 sed "s/^/$as_me: WARNING: /" >&2
24785 echo "$as_me:$LINENO: checking for $ac_header" >&5
24786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24788 echo $ECHO_N "(cached) $ECHO_C" >&6
24790 eval "$as_ac_Header=\$ac_header_preproc"
24792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24797 cat >>confdefs.h
<<_ACEOF
24798 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24805 if test "${ac_cv_header_windows_h+set}" = set; then
24806 echo "$as_me:$LINENO: checking for windows.h" >&5
24807 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24808 if test "${ac_cv_header_windows_h+set}" = set; then
24809 echo $ECHO_N "(cached) $ECHO_C" >&6
24811 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24812 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24814 # Is the header compilable?
24815 echo "$as_me:$LINENO: checking windows.h usability" >&5
24816 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24817 cat >conftest.
$ac_ext <<_ACEOF
24820 cat confdefs.h
>>conftest.
$ac_ext
24821 cat >>conftest.
$ac_ext <<_ACEOF
24822 /* end confdefs.h. */
24823 $ac_includes_default
24824 #include <windows.h>
24826 rm -f conftest.
$ac_objext
24827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24828 (eval $ac_compile) 2>conftest.er1
24830 grep -v '^ *+' conftest.er1
>conftest.err
24832 cat conftest.err
>&5
24833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834 (exit $ac_status); } &&
24835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24837 (eval $ac_try) 2>&5
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); }; } &&
24841 { ac_try
='test -s conftest.$ac_objext'
24842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24843 (eval $ac_try) 2>&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); }; }; then
24847 ac_header_compiler
=yes
24849 echo "$as_me: failed program was:" >&5
24850 sed 's/^/| /' conftest.
$ac_ext >&5
24852 ac_header_compiler
=no
24854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24855 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24856 echo "${ECHO_T}$ac_header_compiler" >&6
24858 # Is the header present?
24859 echo "$as_me:$LINENO: checking windows.h presence" >&5
24860 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
24861 cat >conftest.
$ac_ext <<_ACEOF
24864 cat confdefs.h
>>conftest.
$ac_ext
24865 cat >>conftest.
$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24867 #include <windows.h>
24869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24870 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24872 grep -v '^ *+' conftest.er1
>conftest.err
24874 cat conftest.err
>&5
24875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876 (exit $ac_status); } >/dev
/null
; then
24877 if test -s conftest.err
; then
24878 ac_cpp_err
=$ac_c_preproc_warn_flag
24879 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24886 if test -z "$ac_cpp_err"; then
24887 ac_header_preproc
=yes
24889 echo "$as_me: failed program was:" >&5
24890 sed 's/^/| /' conftest.
$ac_ext >&5
24892 ac_header_preproc
=no
24894 rm -f conftest.err conftest.
$ac_ext
24895 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24896 echo "${ECHO_T}$ac_header_preproc" >&6
24898 # So? What about this header?
24899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24901 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
24902 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24903 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
24904 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
24905 ac_header_preproc
=yes
24908 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
24909 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
24910 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
24911 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
24912 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
24913 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
24914 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
24915 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
24916 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
24917 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
24918 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
24919 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
24922 ## ----------------------------------------- ##
24923 ## Report this to wx-dev@lists.wxwidgets.org ##
24924 ## ----------------------------------------- ##
24927 sed "s/^/$as_me: WARNING: /" >&2
24930 echo "$as_me:$LINENO: checking for windows.h" >&5
24931 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24932 if test "${ac_cv_header_windows_h+set}" = set; then
24933 echo $ECHO_N "(cached) $ECHO_C" >&6
24935 ac_cv_header_windows_h
=$ac_header_preproc
24937 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24938 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24941 if test $ac_cv_header_windows_h = yes; then
24945 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
24946 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
24947 { (exit 1); exit 1; }; }
24953 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
24955 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
24956 LIBS
="$LIBS -loleacc"
24961 LIBS
="$LIBS -lkernel32 -luser32"
24962 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
24965 if test "$wxUSE_ODBC" = "sys" ; then
24968 if test "$wxUSE_ODBC" = "yes" ; then
24969 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
24970 cat >>confdefs.h
<<\_ACEOF
24971 #define wxUSE_ODBC 1
24976 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
24977 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
24979 WIN32INSTALL
=win32install
24982 if test "$wxUSE_GUI" = "yes"; then
24992 if test "$wxUSE_COCOA" = 1 ; then
24993 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
24994 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
24995 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
24996 wxUSE_PRINTING_ARCHITECTURE
=no
24998 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
24999 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25000 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25001 wxUSE_DRAG_AND_DROP
=no
25003 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25004 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25005 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25010 if test "$wxUSE_MSW" = 1 ; then
25016 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25020 if test "$wxUSE_GTK" = 1; then
25021 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25022 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25024 gtk_version_cached
=1
25025 if test "${wx_cv_lib_gtk+set}" = set; then
25026 echo $ECHO_N "(cached) $ECHO_C" >&6
25029 gtk_version_cached
=0
25030 echo "$as_me:$LINENO: result: " >&5
25031 echo "${ECHO_T}" >&6
25034 if test "$wxUSE_THREADS" = "yes"; then
25035 GTK_MODULES
=gthread
25039 if test "x$wxGTK_VERSION" != "x1"; then
25040 # Check whether --enable-gtktest or --disable-gtktest was given.
25041 if test "${enable_gtktest+set}" = set; then
25042 enableval
="$enable_gtktest"
25048 pkg_config_args
=gtk
+-2.0
25049 for module
in .
$GTK_MODULES
25053 pkg_config_args
="$pkg_config_args gthread-2.0"
25060 # Extract the first word of "pkg-config", so it can be a program name with args.
25061 set dummy pkg
-config; ac_word
=$2
25062 echo "$as_me:$LINENO: checking for $ac_word" >&5
25063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25064 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25065 echo $ECHO_N "(cached) $ECHO_C" >&6
25067 case $PKG_CONFIG in
25069 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25073 for as_dir
in $PATH
25076 test -z "$as_dir" && as_dir
=.
25077 for ac_exec_ext
in '' $ac_executable_extensions; do
25078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25079 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25086 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25090 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25092 if test -n "$PKG_CONFIG"; then
25093 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25094 echo "${ECHO_T}$PKG_CONFIG" >&6
25096 echo "$as_me:$LINENO: result: no" >&5
25097 echo "${ECHO_T}no" >&6
25101 if test x
$PKG_CONFIG != xno
; then
25102 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
25105 echo "*** pkg-config too old; version 0.7 or better required."
25113 min_gtk_version
=2.0.0
25114 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25115 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25117 if test x
$PKG_CONFIG != xno
; then
25118 ## don't try to run the test against uninstalled libtool libs
25119 if $PKG_CONFIG --uninstalled $pkg_config_args; then
25120 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
25124 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
25131 if test x
"$no_gtk" = x
; then
25132 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
25133 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
25134 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25136 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25138 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25140 if test "x$enable_gtktest" = "xyes" ; then
25141 ac_save_CFLAGS
="$CFLAGS"
25142 ac_save_LIBS
="$LIBS"
25143 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25144 LIBS
="$GTK_LIBS $LIBS"
25146 if test "$cross_compiling" = yes; then
25147 echo $ac_n "cross compiling; assumed OK... $ac_c"
25149 cat >conftest.
$ac_ext <<_ACEOF
25152 cat confdefs.h
>>conftest.
$ac_ext
25153 cat >>conftest.
$ac_ext <<_ACEOF
25154 /* end confdefs.h. */
25156 #include <gtk/gtk.h>
25158 #include <stdlib.h>
25163 int major, minor, micro;
25166 system ("touch conf.gtktest");
25168 /* HP/UX 9 (%@#!) writes to sscanf strings */
25169 tmp_version = g_strdup("$min_gtk_version");
25170 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25171 printf("%s, bad version string\n", "$min_gtk_version");
25175 if ((gtk_major_version != $gtk_config_major_version) ||
25176 (gtk_minor_version != $gtk_config_minor_version) ||
25177 (gtk_micro_version != $gtk_config_micro_version))
25179 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25180 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25181 gtk_major_version, gtk_minor_version, gtk_micro_version);
25182 printf ("*** was found! If pkg-config was correct, then it is best\n");
25183 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25184 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25185 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25186 printf("*** required on your system.\n");
25187 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
25188 printf("*** to point to the correct configuration files\n");
25190 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25191 (gtk_minor_version != GTK_MINOR_VERSION) ||
25192 (gtk_micro_version != GTK_MICRO_VERSION))
25194 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25195 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25196 printf("*** library (version %d.%d.%d)\n",
25197 gtk_major_version, gtk_minor_version, gtk_micro_version);
25201 if ((gtk_major_version > major) ||
25202 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25203 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25209 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25210 gtk_major_version, gtk_minor_version, gtk_micro_version);
25211 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25212 major, minor, micro);
25213 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25215 printf("*** If you have already installed a sufficiently new version, this error\n");
25216 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
25217 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25218 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
25219 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
25220 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25221 printf("*** so that the correct libraries are found at run-time))\n");
25228 rm -f conftest
$ac_exeext
25229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25230 (eval $ac_link) 2>&5
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25235 (eval $ac_try) 2>&5
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); }; }; then
25241 echo "$as_me: program exited with status $ac_status" >&5
25242 echo "$as_me: failed program was:" >&5
25243 sed 's/^/| /' conftest.
$ac_ext >&5
25245 ( exit $ac_status )
25248 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25250 CFLAGS
="$ac_save_CFLAGS"
25251 LIBS
="$ac_save_LIBS"
25254 if test "x$no_gtk" = x
; then
25255 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25256 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25259 echo "$as_me:$LINENO: result: no" >&5
25260 echo "${ECHO_T}no" >&6
25261 if test "$PKG_CONFIG" = "no" ; then
25262 echo "*** A new enough version of pkg-config was not found."
25263 echo "*** See http://pkgconfig.sourceforge.net"
25265 if test -f conf.gtktest
; then
25268 echo "*** Could not run GTK+ test program, checking why..."
25269 ac_save_CFLAGS
="$CFLAGS"
25270 ac_save_LIBS
="$LIBS"
25271 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25272 LIBS
="$LIBS $GTK_LIBS"
25273 cat >conftest.
$ac_ext <<_ACEOF
25276 cat confdefs.h
>>conftest.
$ac_ext
25277 cat >>conftest.
$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25280 #include <gtk/gtk.h>
25286 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25291 rm -f conftest.
$ac_objext conftest
$ac_exeext
25292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25293 (eval $ac_link) 2>conftest.er1
25295 grep -v '^ *+' conftest.er1
>conftest.err
25297 cat conftest.err
>&5
25298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299 (exit $ac_status); } &&
25300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25302 (eval $ac_try) 2>&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); }; } &&
25306 { ac_try
='test -s conftest$ac_exeext'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312 echo "*** The test program compiled, but did not run. This usually means"
25313 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
25314 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
25315 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25316 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25317 echo "*** is required on your system"
25319 echo "*** If you have an old version installed, it is best to remove it, although"
25320 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25322 echo "$as_me: failed program was:" >&5
25323 sed 's/^/| /' conftest.
$ac_ext >&5
25325 echo "*** The test program failed to compile or link. See the file config.log for the"
25326 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
25328 rm -f conftest.err conftest.
$ac_objext \
25329 conftest
$ac_exeext conftest.
$ac_ext
25330 CFLAGS
="$ac_save_CFLAGS"
25331 LIBS
="$ac_save_LIBS"
25344 if test -z "$wx_cv_lib_gtk"; then
25345 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
25347 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25348 if test "${with_gtk_prefix+set}" = set; then
25349 withval
="$with_gtk_prefix"
25350 gtk_config_prefix
="$withval"
25352 gtk_config_prefix
=""
25355 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25356 if test "${with_gtk_exec_prefix+set}" = set; then
25357 withval
="$with_gtk_exec_prefix"
25358 gtk_config_exec_prefix
="$withval"
25360 gtk_config_exec_prefix
=""
25362 # Check whether --enable-gtktest or --disable-gtktest was given.
25363 if test "${enable_gtktest+set}" = set; then
25364 enableval
="$enable_gtktest"
25370 for module
in .
$GTK_MODULES
25374 gtk_config_args
="$gtk_config_args gthread"
25379 if test x
$gtk_config_exec_prefix != x
; then
25380 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25381 if test x
${GTK_CONFIG+set} != xset
; then
25382 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25385 if test x
$gtk_config_prefix != x
; then
25386 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25387 if test x
${GTK_CONFIG+set} != xset
; then
25388 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25392 # Extract the first word of "gtk-config", so it can be a program name with args.
25393 set dummy gtk
-config; ac_word
=$2
25394 echo "$as_me:$LINENO: checking for $ac_word" >&5
25395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25396 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25397 echo $ECHO_N "(cached) $ECHO_C" >&6
25399 case $GTK_CONFIG in
25401 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25405 for as_dir
in $PATH
25408 test -z "$as_dir" && as_dir
=.
25409 for ac_exec_ext
in '' $ac_executable_extensions; do
25410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25411 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25418 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25422 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25424 if test -n "$GTK_CONFIG"; then
25425 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25426 echo "${ECHO_T}$GTK_CONFIG" >&6
25428 echo "$as_me:$LINENO: result: no" >&5
25429 echo "${ECHO_T}no" >&6
25432 min_gtk_version
=1.2.7
25433 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25434 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25436 if test "$GTK_CONFIG" = "no" ; then
25439 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25440 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25441 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25443 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25445 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25447 if test "x$enable_gtktest" = "xyes" ; then
25448 ac_save_CFLAGS
="$CFLAGS"
25449 ac_save_LIBS
="$LIBS"
25450 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25451 LIBS
="$GTK_LIBS $LIBS"
25453 if test "$cross_compiling" = yes; then
25454 echo $ac_n "cross compiling; assumed OK... $ac_c"
25456 cat >conftest.
$ac_ext <<_ACEOF
25459 cat confdefs.h
>>conftest.
$ac_ext
25460 cat >>conftest.
$ac_ext <<_ACEOF
25461 /* end confdefs.h. */
25463 #include <gtk/gtk.h>
25465 #include <stdlib.h>
25470 int major, minor, micro;
25473 system ("touch conf.gtktest");
25475 /* HP/UX 9 (%@#!) writes to sscanf strings */
25476 tmp_version = g_strdup("$min_gtk_version");
25477 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25478 printf("%s, bad version string\n", "$min_gtk_version");
25482 if ((gtk_major_version != $gtk_config_major_version) ||
25483 (gtk_minor_version != $gtk_config_minor_version) ||
25484 (gtk_micro_version != $gtk_config_micro_version))
25486 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25487 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25488 gtk_major_version, gtk_minor_version, gtk_micro_version);
25489 printf ("*** was found! If gtk-config was correct, then it is best\n");
25490 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25491 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25492 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25493 printf("*** required on your system.\n");
25494 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25495 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25496 printf("*** before re-running configure\n");
25498 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25499 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25500 (gtk_minor_version != GTK_MINOR_VERSION) ||
25501 (gtk_micro_version != GTK_MICRO_VERSION))
25503 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25504 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25505 printf("*** library (version %d.%d.%d)\n",
25506 gtk_major_version, gtk_minor_version, gtk_micro_version);
25508 #endif /* defined (GTK_MAJOR_VERSION) ... */
25511 if ((gtk_major_version > major) ||
25512 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25513 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25519 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25520 gtk_major_version, gtk_minor_version, gtk_micro_version);
25521 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25522 major, minor, micro);
25523 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25525 printf("*** If you have already installed a sufficiently new version, this error\n");
25526 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25527 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25528 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25529 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25530 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25531 printf("*** so that the correct libraries are found at run-time))\n");
25538 rm -f conftest
$ac_exeext
25539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25540 (eval $ac_link) 2>&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25545 (eval $ac_try) 2>&5
25547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548 (exit $ac_status); }; }; then
25551 echo "$as_me: program exited with status $ac_status" >&5
25552 echo "$as_me: failed program was:" >&5
25553 sed 's/^/| /' conftest.
$ac_ext >&5
25555 ( exit $ac_status )
25558 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25560 CFLAGS
="$ac_save_CFLAGS"
25561 LIBS
="$ac_save_LIBS"
25564 if test "x$no_gtk" = x
; then
25565 echo "$as_me:$LINENO: result: yes" >&5
25566 echo "${ECHO_T}yes" >&6
25567 wx_cv_lib_gtk
=1.2.7
25569 echo "$as_me:$LINENO: result: no" >&5
25570 echo "${ECHO_T}no" >&6
25571 if test "$GTK_CONFIG" = "no" ; then
25572 echo "*** The gtk-config script installed by GTK could not be found"
25573 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25574 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25575 echo "*** full path to gtk-config."
25577 if test -f conf.gtktest
; then
25580 echo "*** Could not run GTK test program, checking why..."
25581 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25582 LIBS
="$LIBS $GTK_LIBS"
25583 cat >conftest.
$ac_ext <<_ACEOF
25586 cat confdefs.h
>>conftest.
$ac_ext
25587 cat >>conftest.
$ac_ext <<_ACEOF
25588 /* end confdefs.h. */
25590 #include <gtk/gtk.h>
25596 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25601 rm -f conftest.
$ac_objext conftest
$ac_exeext
25602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25603 (eval $ac_link) 2>conftest.er1
25605 grep -v '^ *+' conftest.er1
>conftest.err
25607 cat conftest.err
>&5
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); } &&
25610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25612 (eval $ac_try) 2>&5
25614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25615 (exit $ac_status); }; } &&
25616 { ac_try
='test -s conftest$ac_exeext'
25617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25618 (eval $ac_try) 2>&5
25620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25621 (exit $ac_status); }; }; then
25622 echo "*** The test program compiled, but did not run. This usually means"
25623 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25624 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25625 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25626 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25627 echo "*** is required on your system"
25629 echo "*** If you have an old version installed, it is best to remove it, although"
25630 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25632 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25633 echo "*** came with the system with the command"
25635 echo "*** rpm --erase --nodeps gtk gtk-devel"
25637 echo "$as_me: failed program was:" >&5
25638 sed 's/^/| /' conftest.
$ac_ext >&5
25640 echo "*** The test program failed to compile or link. See the file config.log for the"
25641 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25642 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25643 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25645 rm -f conftest.err conftest.
$ac_objext \
25646 conftest
$ac_exeext conftest.
$ac_ext
25647 CFLAGS
="$ac_save_CFLAGS"
25648 LIBS
="$ac_save_LIBS"
25660 if test -z "$wx_cv_lib_gtk"; then
25662 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25663 if test "${with_gtk_prefix+set}" = set; then
25664 withval
="$with_gtk_prefix"
25665 gtk_config_prefix
="$withval"
25667 gtk_config_prefix
=""
25670 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25671 if test "${with_gtk_exec_prefix+set}" = set; then
25672 withval
="$with_gtk_exec_prefix"
25673 gtk_config_exec_prefix
="$withval"
25675 gtk_config_exec_prefix
=""
25677 # Check whether --enable-gtktest or --disable-gtktest was given.
25678 if test "${enable_gtktest+set}" = set; then
25679 enableval
="$enable_gtktest"
25685 for module
in .
$GTK_MODULES
25689 gtk_config_args
="$gtk_config_args gthread"
25694 if test x
$gtk_config_exec_prefix != x
; then
25695 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25696 if test x
${GTK_CONFIG+set} != xset
; then
25697 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25700 if test x
$gtk_config_prefix != x
; then
25701 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25702 if test x
${GTK_CONFIG+set} != xset
; then
25703 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25707 # Extract the first word of "gtk-config", so it can be a program name with args.
25708 set dummy gtk
-config; ac_word
=$2
25709 echo "$as_me:$LINENO: checking for $ac_word" >&5
25710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25711 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25712 echo $ECHO_N "(cached) $ECHO_C" >&6
25714 case $GTK_CONFIG in
25716 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25720 for as_dir
in $PATH
25723 test -z "$as_dir" && as_dir
=.
25724 for ac_exec_ext
in '' $ac_executable_extensions; do
25725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25726 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25733 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25737 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25739 if test -n "$GTK_CONFIG"; then
25740 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25741 echo "${ECHO_T}$GTK_CONFIG" >&6
25743 echo "$as_me:$LINENO: result: no" >&5
25744 echo "${ECHO_T}no" >&6
25747 min_gtk_version
=1.2.3
25748 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25749 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25751 if test "$GTK_CONFIG" = "no" ; then
25754 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25755 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25756 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25757 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25758 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25759 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25760 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25762 if test "x$enable_gtktest" = "xyes" ; then
25763 ac_save_CFLAGS
="$CFLAGS"
25764 ac_save_LIBS
="$LIBS"
25765 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25766 LIBS
="$GTK_LIBS $LIBS"
25768 if test "$cross_compiling" = yes; then
25769 echo $ac_n "cross compiling; assumed OK... $ac_c"
25771 cat >conftest.
$ac_ext <<_ACEOF
25774 cat confdefs.h
>>conftest.
$ac_ext
25775 cat >>conftest.
$ac_ext <<_ACEOF
25776 /* end confdefs.h. */
25778 #include <gtk/gtk.h>
25780 #include <stdlib.h>
25785 int major, minor, micro;
25788 system ("touch conf.gtktest");
25790 /* HP/UX 9 (%@#!) writes to sscanf strings */
25791 tmp_version = g_strdup("$min_gtk_version");
25792 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25793 printf("%s, bad version string\n", "$min_gtk_version");
25797 if ((gtk_major_version != $gtk_config_major_version) ||
25798 (gtk_minor_version != $gtk_config_minor_version) ||
25799 (gtk_micro_version != $gtk_config_micro_version))
25801 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25802 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25803 gtk_major_version, gtk_minor_version, gtk_micro_version);
25804 printf ("*** was found! If gtk-config was correct, then it is best\n");
25805 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25806 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25807 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25808 printf("*** required on your system.\n");
25809 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25810 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25811 printf("*** before re-running configure\n");
25813 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25814 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25815 (gtk_minor_version != GTK_MINOR_VERSION) ||
25816 (gtk_micro_version != GTK_MICRO_VERSION))
25818 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25819 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25820 printf("*** library (version %d.%d.%d)\n",
25821 gtk_major_version, gtk_minor_version, gtk_micro_version);
25823 #endif /* defined (GTK_MAJOR_VERSION) ... */
25826 if ((gtk_major_version > major) ||
25827 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25828 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25834 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25835 gtk_major_version, gtk_minor_version, gtk_micro_version);
25836 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25837 major, minor, micro);
25838 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25840 printf("*** If you have already installed a sufficiently new version, this error\n");
25841 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25842 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25843 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25844 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25845 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25846 printf("*** so that the correct libraries are found at run-time))\n");
25853 rm -f conftest
$ac_exeext
25854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25855 (eval $ac_link) 2>&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25860 (eval $ac_try) 2>&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); }; }; then
25866 echo "$as_me: program exited with status $ac_status" >&5
25867 echo "$as_me: failed program was:" >&5
25868 sed 's/^/| /' conftest.
$ac_ext >&5
25870 ( exit $ac_status )
25873 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25875 CFLAGS
="$ac_save_CFLAGS"
25876 LIBS
="$ac_save_LIBS"
25879 if test "x$no_gtk" = x
; then
25880 echo "$as_me:$LINENO: result: yes" >&5
25881 echo "${ECHO_T}yes" >&6
25882 wx_cv_lib_gtk
=1.2.3
25884 echo "$as_me:$LINENO: result: no" >&5
25885 echo "${ECHO_T}no" >&6
25886 if test "$GTK_CONFIG" = "no" ; then
25887 echo "*** The gtk-config script installed by GTK could not be found"
25888 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25889 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25890 echo "*** full path to gtk-config."
25892 if test -f conf.gtktest
; then
25895 echo "*** Could not run GTK test program, checking why..."
25896 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25897 LIBS
="$LIBS $GTK_LIBS"
25898 cat >conftest.
$ac_ext <<_ACEOF
25901 cat confdefs.h
>>conftest.
$ac_ext
25902 cat >>conftest.
$ac_ext <<_ACEOF
25903 /* end confdefs.h. */
25905 #include <gtk/gtk.h>
25911 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25916 rm -f conftest.
$ac_objext conftest
$ac_exeext
25917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25918 (eval $ac_link) 2>conftest.er1
25920 grep -v '^ *+' conftest.er1
>conftest.err
25922 cat conftest.err
>&5
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); } &&
25925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25927 (eval $ac_try) 2>&5
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); }; } &&
25931 { ac_try
='test -s conftest$ac_exeext'
25932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25933 (eval $ac_try) 2>&5
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); }; }; then
25937 echo "*** The test program compiled, but did not run. This usually means"
25938 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25939 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25940 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25941 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25942 echo "*** is required on your system"
25944 echo "*** If you have an old version installed, it is best to remove it, although"
25945 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25947 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25948 echo "*** came with the system with the command"
25950 echo "*** rpm --erase --nodeps gtk gtk-devel"
25952 echo "$as_me: failed program was:" >&5
25953 sed 's/^/| /' conftest.
$ac_ext >&5
25955 echo "*** The test program failed to compile or link. See the file config.log for the"
25956 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25957 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25958 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25960 rm -f conftest.err conftest.
$ac_objext \
25961 conftest
$ac_exeext conftest.
$ac_ext
25962 CFLAGS
="$ac_save_CFLAGS"
25963 LIBS
="$ac_save_LIBS"
25978 if test -z "$wx_cv_lib_gtk"; then
25981 wx_cv_cflags_gtk
=$GTK_CFLAGS
25982 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
25989 if test "$gtk_version_cached" = 1; then
25990 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
25991 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
25994 case "$wx_cv_lib_gtk" in
26003 *) { { echo "$as_me:$LINENO: error:
26004 The development files for GTK+ were not found. For GTK+ 2, please
26005 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26006 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26007 and that the version is 1.2.3 or above. Also check that the
26008 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26009 --libs' are in the LD_LIBRARY_PATH or equivalent.
26011 echo "$as_me: error:
26012 The development files for GTK+ were not found. For GTK+ 2, please
26013 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26014 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26015 and that the version is 1.2.3 or above. Also check that the
26016 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26017 --libs' are in the LD_LIBRARY_PATH or equivalent.
26019 { (exit 1); exit 1; }; }
26023 if test "$WXGTK20" = 1; then
26024 save_CFLAGS
="$CFLAGS"
26026 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
26027 LIBS
="$LIBS $wx_cv_libs_gtk"
26029 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26030 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26031 cat >conftest.
$ac_ext <<_ACEOF
26034 cat confdefs.h
>>conftest.
$ac_ext
26035 cat >>conftest.
$ac_ext <<_ACEOF
26036 /* end confdefs.h. */
26038 #include <gtk/gtk.h>
26044 void *f = gtk_icon_size_lookup;
26050 rm -f conftest.
$ac_objext
26051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26052 (eval $ac_compile) 2>conftest.er1
26054 grep -v '^ *+' conftest.er1
>conftest.err
26056 cat conftest.err
>&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } &&
26059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26061 (eval $ac_try) 2>&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); }; } &&
26065 { ac_try
='test -s conftest.$ac_objext'
26066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26067 (eval $ac_try) 2>&5
26069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26070 (exit $ac_status); }; }; then
26072 echo "$as_me:$LINENO: result: no" >&5
26073 echo "${ECHO_T}no" >&6
26076 echo "$as_me: failed program was:" >&5
26077 sed 's/^/| /' conftest.
$ac_ext >&5
26080 cat >>confdefs.h
<<\_ACEOF
26081 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26084 echo "$as_me:$LINENO: result: yes" >&5
26085 echo "${ECHO_T}yes" >&6
26088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26090 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26091 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26092 cat >conftest.
$ac_ext <<_ACEOF
26095 cat confdefs.h
>>conftest.
$ac_ext
26096 cat >>conftest.
$ac_ext <<_ACEOF
26097 /* end confdefs.h. */
26099 #include <gtk/gtk.h>
26105 #if !GTK_CHECK_VERSION(2,4,0)
26113 rm -f conftest.
$ac_objext
26114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26115 (eval $ac_compile) 2>conftest.er1
26117 grep -v '^ *+' conftest.er1
>conftest.err
26119 cat conftest.err
>&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); } &&
26122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26124 (eval $ac_try) 2>&5
26126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127 (exit $ac_status); }; } &&
26128 { ac_try
='test -s conftest.$ac_objext'
26129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26130 (eval $ac_try) 2>&5
26132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133 (exit $ac_status); }; }; then
26135 cat >>confdefs.h
<<\_ACEOF
26136 #define __WXGTK24__ 1
26139 echo "$as_me:$LINENO: result: yes" >&5
26140 echo "${ECHO_T}yes" >&6
26143 echo "$as_me: failed program was:" >&5
26144 sed 's/^/| /' conftest.
$ac_ext >&5
26147 echo "$as_me:$LINENO: result: no" >&5
26148 echo "${ECHO_T}no" >&6
26151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26153 CFLAGS
="$save_CFLAGS"
26156 if test "$wxUSE_UNICODE" = "yes"; then
26157 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26158 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26163 if test "$USE_DARWIN" != 1; then
26165 for ac_func
in poll
26167 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26168 echo "$as_me:$LINENO: checking for $ac_func" >&5
26169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26170 if eval "test \"\${$as_ac_var+set}\" = set"; then
26171 echo $ECHO_N "(cached) $ECHO_C" >&6
26173 cat >conftest.
$ac_ext <<_ACEOF
26176 cat confdefs.h
>>conftest.
$ac_ext
26177 cat >>conftest.
$ac_ext <<_ACEOF
26178 /* end confdefs.h. */
26179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26181 #define $ac_func innocuous_$ac_func
26183 /* System header to define __stub macros and hopefully few prototypes,
26184 which can conflict with char $ac_func (); below.
26185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26186 <limits.h> exists even on freestanding compilers. */
26189 # include <limits.h>
26191 # include <assert.h>
26196 /* Override any gcc2 internal prototype to avoid an error. */
26201 /* We use char because int might match the return type of a gcc2
26202 builtin and then its argument prototype would still apply. */
26204 /* The GNU C library defines this for functions which it implements
26205 to always fail with ENOSYS. Some functions are actually named
26206 something starting with __ and the normal name is an alias. */
26207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26210 char (*f) () = $ac_func;
26219 return f != $ac_func;
26224 rm -f conftest.
$ac_objext conftest
$ac_exeext
26225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26226 (eval $ac_link) 2>conftest.er1
26228 grep -v '^ *+' conftest.er1
>conftest.err
26230 cat conftest.err
>&5
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); } &&
26233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26235 (eval $ac_try) 2>&5
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); }; } &&
26239 { ac_try
='test -s conftest$ac_exeext'
26240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26241 (eval $ac_try) 2>&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); }; }; then
26245 eval "$as_ac_var=yes"
26247 echo "$as_me: failed program was:" >&5
26248 sed 's/^/| /' conftest.
$ac_ext >&5
26250 eval "$as_ac_var=no"
26252 rm -f conftest.err conftest.
$ac_objext \
26253 conftest
$ac_exeext conftest.
$ac_ext
26255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26257 if test `eval echo '${'$as_ac_var'}'` = yes; then
26258 cat >>confdefs.h
<<_ACEOF
26259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26267 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
26268 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
26270 AFMINSTALL
=afminstall
26274 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
26275 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
26276 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
26277 echo $ECHO_N "(cached) $ECHO_C" >&6
26279 ac_check_lib_save_LIBS
=$LIBS
26281 cat >conftest.
$ac_ext <<_ACEOF
26284 cat confdefs.h
>>conftest.
$ac_ext
26285 cat >>conftest.
$ac_ext <<_ACEOF
26286 /* end confdefs.h. */
26288 /* Override any gcc2 internal prototype to avoid an error. */
26292 /* We use char because int might match the return type of a gcc2
26293 builtin and then its argument prototype would still apply. */
26294 char gdk_im_open ();
26303 rm -f conftest.
$ac_objext conftest
$ac_exeext
26304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26305 (eval $ac_link) 2>conftest.er1
26307 grep -v '^ *+' conftest.er1
>conftest.err
26309 cat conftest.err
>&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } &&
26312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314 (eval $ac_try) 2>&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); }; } &&
26318 { ac_try
='test -s conftest$ac_exeext'
26319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26320 (eval $ac_try) 2>&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; }; then
26324 ac_cv_lib_gdk_gdk_im_open
=yes
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.
$ac_ext >&5
26329 ac_cv_lib_gdk_gdk_im_open
=no
26331 rm -f conftest.err conftest.
$ac_objext \
26332 conftest
$ac_exeext conftest.
$ac_ext
26333 LIBS
=$ac_check_lib_save_LIBS
26335 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26336 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26337 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26338 cat >>confdefs.h
<<\_ACEOF
26346 if test "$wxUSE_GPE" = "yes"; then
26347 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26348 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26352 for ac_dir
in $SEARCH_LIB;
26354 for ac_extension
in a so sl dylib dll.a
; do
26355 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26356 ac_find_libraries
=$ac_dir
26362 if test "x$ac_find_libraries" = "x" ; then
26365 for ac_dir
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
;
26367 for ac_extension
in a so sl dylib dll.a
; do
26368 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26369 ac_find_libraries
=$ac_dir
26375 if test "x$ac_find_libraries" != "x" ; then
26376 ac_find_libraries
="default location"
26380 if test "$ac_find_libraries" != "" ; then
26382 if test "$ac_find_libraries" = "default location"; then
26385 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26387 if test $result = 0; then
26390 ac_path_to_link
=" -L$ac_find_libraries"
26394 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26396 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
26397 echo "${ECHO_T}found in $ac_find_libraries" >&6
26399 echo "$as_me:$LINENO: result: not found" >&5
26400 echo "${ECHO_T}not found" >&6
26406 if test "$wxUSE_MGL" = 1; then
26407 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26408 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26409 if test "x$MGL_ROOT" = x
; then
26410 echo "$as_me:$LINENO: result: not found" >&5
26411 echo "${ECHO_T}not found" >&6
26412 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26413 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26414 { (exit 1); exit 1; }; }
26416 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26417 echo "${ECHO_T}$MGL_ROOT" >&6
26420 echo "$as_me:$LINENO: checking for libmgl location" >&5
26421 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26424 if test "x$wxUSE_SHARED" = xyes
; then
26425 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26427 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26431 mgl_os_candidates
="dos32/dj2"
26434 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26435 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26436 { (exit 1); exit 1; }; }
26442 for mgl_os_i
in $mgl_os_candidates ; do
26443 if test "x$mgl_os" = x
; then
26444 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26445 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
26446 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
26451 if test "x$mgl_lib_type" = x
; then
26452 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
26453 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
26454 mgl_lib_type
=release
26461 if test "x$mgl_os" = x
; then
26462 echo "$as_me:$LINENO: result: not found" >&5
26463 echo "${ECHO_T}not found" >&6
26464 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26465 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26466 { (exit 1); exit 1; }; }
26468 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26469 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26471 wxUSE_UNIVERSAL
="yes"
26473 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
26474 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26476 AFMINSTALL
=afminstall
26481 if test "$wxUSE_MICROWIN" = 1; then
26482 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26483 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26484 if test "x$MICROWINDOWS" = x
; then
26485 echo "$as_me:$LINENO: result: not found" >&5
26486 echo "${ECHO_T}not found" >&6
26487 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26488 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26489 { (exit 1); exit 1; }; }
26491 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26492 echo "${ECHO_T}$MICROWINDOWS" >&6
26495 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
26496 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26497 echo "${ECHO_T}MicroWindows' libraries found." >&6
26499 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26500 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26501 { (exit 1); exit 1; }; }
26504 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
26505 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26507 wxUSE_UNIVERSAL
="yes"
26509 AFMINSTALL
=afminstall
26511 GUIDIST
=MICROWIN_DIST
26513 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26516 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26518 if test "x$ac_path_x_has_been_run" != xyes
; then
26519 echo "$as_me:$LINENO: checking for X" >&5
26520 echo $ECHO_N "checking for X... $ECHO_C" >&6
26522 ac_path_x_has_been_run
=yes
26524 # Check whether --with-x or --without-x was given.
26525 if test "${with_x+set}" = set; then
26529 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26530 if test "x$with_x" = xno
; then
26531 # The user explicitly disabled X.
26534 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
26535 # Both variables are already set.
26538 if test "${ac_cv_have_x+set}" = set; then
26539 echo $ECHO_N "(cached) $ECHO_C" >&6
26541 # One or both of the vars are not set, and there is no cached value.
26542 ac_x_includes
=no ac_x_libraries
=no
26543 rm -fr conftest.dir
26544 if mkdir conftest.dir
; then
26546 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26547 cat >Imakefile
<<'_ACEOF'
26549 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26551 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
26552 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26553 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26554 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26555 for ac_extension
in a so sl
; do
26556 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
26557 test -f $ac_im_libdir/libX11.
$ac_extension; then
26558 ac_im_usrlibdir
=$ac_im_libdir; break
26561 # Screen out bogus values from the imake configuration. They are
26562 # bogus both because they are the default anyway, and because
26563 # using them would break gcc on systems where it needs fixed includes.
26564 case $ac_im_incroot in
26566 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26568 case $ac_im_usrlibdir in
26569 /usr
/lib
| /lib
) ;;
26570 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26574 rm -fr conftest.dir
26577 # Standard set of common directories for X headers.
26578 # Check X11 before X11Rn because it is often a symlink to the current release.
26590 /usr/local/X11/include
26591 /usr/local/X11R6/include
26592 /usr/local/X11R5/include
26593 /usr/local/X11R4/include
26595 /usr/local/include/X11
26596 /usr/local/include/X11R6
26597 /usr/local/include/X11R5
26598 /usr/local/include/X11R4
26602 /usr/XFree86/include/X11
26606 /usr/unsupported/include
26607 /usr/athena/include
26608 /usr/local/x11r5/include
26609 /usr/lpp/Xamples/include
26611 /usr/openwin/include
26612 /usr/openwin/share/include'
26614 if test "$ac_x_includes" = no
; then
26615 # Guess where to find include files, by looking for a specified header file.
26616 # First, try using that file with no special directory specified.
26617 cat >conftest.
$ac_ext <<_ACEOF
26620 cat confdefs.h
>>conftest.
$ac_ext
26621 cat >>conftest.
$ac_ext <<_ACEOF
26622 /* end confdefs.h. */
26623 #include <X11/Intrinsic.h>
26625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26626 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26628 grep -v '^ *+' conftest.er1
>conftest.err
26630 cat conftest.err
>&5
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); } >/dev
/null
; then
26633 if test -s conftest.err
; then
26634 ac_cpp_err
=$ac_c_preproc_warn_flag
26635 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26642 if test -z "$ac_cpp_err"; then
26643 # We can compile using X headers with no special include directory.
26646 echo "$as_me: failed program was:" >&5
26647 sed 's/^/| /' conftest.
$ac_ext >&5
26649 for ac_dir
in $ac_x_header_dirs; do
26650 if test -r "$ac_dir/X11/Intrinsic.h"; then
26651 ac_x_includes
=$ac_dir
26656 rm -f conftest.err conftest.
$ac_ext
26657 fi # $ac_x_includes = no
26659 if test "$ac_x_libraries" = no
; then
26660 # Check for the libraries.
26661 # See if we find them without any special options.
26662 # Don't add to $LIBS permanently.
26665 cat >conftest.
$ac_ext <<_ACEOF
26668 cat confdefs.h
>>conftest.
$ac_ext
26669 cat >>conftest.
$ac_ext <<_ACEOF
26670 /* end confdefs.h. */
26671 #include <X11/Intrinsic.h>
26680 rm -f conftest.
$ac_objext conftest
$ac_exeext
26681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26682 (eval $ac_link) 2>conftest.er1
26684 grep -v '^ *+' conftest.er1
>conftest.err
26686 cat conftest.err
>&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } &&
26689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26691 (eval $ac_try) 2>&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); }; } &&
26695 { ac_try
='test -s conftest$ac_exeext'
26696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26697 (eval $ac_try) 2>&5
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); }; }; then
26702 # We can link X programs with no special library path.
26705 echo "$as_me: failed program was:" >&5
26706 sed 's/^/| /' conftest.
$ac_ext >&5
26709 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26711 # Don't even attempt the hair of trying to link an X program!
26712 for ac_extension
in a so sl
; do
26713 if test -r $ac_dir/libXt.
$ac_extension; then
26714 ac_x_libraries
=$ac_dir
26720 rm -f conftest.err conftest.
$ac_objext \
26721 conftest
$ac_exeext conftest.
$ac_ext
26722 fi # $ac_x_libraries = no
26724 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26725 # Didn't find X anywhere. Cache the known absence of X.
26726 ac_cv_have_x
="have_x=no"
26728 # Record where we found X for the cache.
26729 ac_cv_have_x
="have_x=yes \
26730 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26735 eval "$ac_cv_have_x"
26738 if test "$have_x" != yes; then
26739 echo "$as_me:$LINENO: result: $have_x" >&5
26740 echo "${ECHO_T}$have_x" >&6
26743 # If each of the values was on the command line, it overrides each guess.
26744 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26745 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26746 # Update the cache value to reflect the command line values.
26747 ac_cv_have_x
="have_x=yes \
26748 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26749 # It might be that x_includes is empty (headers are found in the
26750 # standard search path. Then output the corresponding message
26751 ac_out_x_includes
=$x_includes
26752 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
26753 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26754 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26758 if test "$no_x" = yes; then
26759 # Not all programs may use this symbol, but it does not hurt to define it.
26761 cat >>confdefs.h
<<\_ACEOF
26762 #define X_DISPLAY_MISSING 1
26765 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26767 if test -n "$x_includes"; then
26768 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26771 # It would also be nice to do this for all -L options, not just this one.
26772 if test -n "$x_libraries"; then
26773 X_LIBS
="$X_LIBS -L$x_libraries"
26774 # For Solaris; some versions of Sun CC require a space after -R and
26775 # others require no space. Words are not sufficient . . . .
26776 case `(uname -sr) 2>/dev/null` in
26778 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26779 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26780 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26781 cat >conftest.
$ac_ext <<_ACEOF
26784 cat confdefs.h
>>conftest.
$ac_ext
26785 cat >>conftest.
$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26796 rm -f conftest.
$ac_objext conftest
$ac_exeext
26797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26798 (eval $ac_link) 2>conftest.er1
26800 grep -v '^ *+' conftest.er1
>conftest.err
26802 cat conftest.err
>&5
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 (exit $ac_status); } &&
26805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26807 (eval $ac_try) 2>&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); }; } &&
26811 { ac_try
='test -s conftest$ac_exeext'
26812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26813 (eval $ac_try) 2>&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); }; }; then
26819 echo "$as_me: failed program was:" >&5
26820 sed 's/^/| /' conftest.
$ac_ext >&5
26824 rm -f conftest.err conftest.
$ac_objext \
26825 conftest
$ac_exeext conftest.
$ac_ext
26826 if test $ac_R_nospace = yes; then
26827 echo "$as_me:$LINENO: result: no" >&5
26828 echo "${ECHO_T}no" >&6
26829 X_LIBS
="$X_LIBS -R$x_libraries"
26831 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26832 cat >conftest.
$ac_ext <<_ACEOF
26835 cat confdefs.h
>>conftest.
$ac_ext
26836 cat >>conftest.
$ac_ext <<_ACEOF
26837 /* end confdefs.h. */
26847 rm -f conftest.
$ac_objext conftest
$ac_exeext
26848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26849 (eval $ac_link) 2>conftest.er1
26851 grep -v '^ *+' conftest.er1
>conftest.err
26853 cat conftest.err
>&5
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); } &&
26856 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26858 (eval $ac_try) 2>&5
26860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26861 (exit $ac_status); }; } &&
26862 { ac_try
='test -s conftest$ac_exeext'
26863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26864 (eval $ac_try) 2>&5
26866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 (exit $ac_status); }; }; then
26870 echo "$as_me: failed program was:" >&5
26871 sed 's/^/| /' conftest.
$ac_ext >&5
26875 rm -f conftest.err conftest.
$ac_objext \
26876 conftest
$ac_exeext conftest.
$ac_ext
26877 if test $ac_R_space = yes; then
26878 echo "$as_me:$LINENO: result: yes" >&5
26879 echo "${ECHO_T}yes" >&6
26880 X_LIBS
="$X_LIBS -R $x_libraries"
26882 echo "$as_me:$LINENO: result: neither works" >&5
26883 echo "${ECHO_T}neither works" >&6
26886 LIBS
=$ac_xsave_LIBS
26890 # Check for system-dependent libraries X programs must link with.
26891 # Do this before checking for the system-independent R6 libraries
26892 # (-lICE), since we may need -lsocket or whatever for X linking.
26894 if test "$ISC" = yes; then
26895 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
26897 # Martyn Johnson says this is needed for Ultrix, if the X
26898 # libraries were built with DECnet support. And Karl Berry says
26899 # the Alpha needs dnet_stub (dnet does not exist).
26900 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
26901 cat >conftest.
$ac_ext <<_ACEOF
26904 cat confdefs.h
>>conftest.
$ac_ext
26905 cat >>conftest.
$ac_ext <<_ACEOF
26906 /* end confdefs.h. */
26908 /* Override any gcc2 internal prototype to avoid an error. */
26912 /* We use char because int might match the return type of a gcc2
26913 builtin and then its argument prototype would still apply. */
26914 char XOpenDisplay ();
26923 rm -f conftest.
$ac_objext conftest
$ac_exeext
26924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26925 (eval $ac_link) 2>conftest.er1
26927 grep -v '^ *+' conftest.er1
>conftest.err
26929 cat conftest.err
>&5
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); } &&
26932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26934 (eval $ac_try) 2>&5
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); }; } &&
26938 { ac_try
='test -s conftest$ac_exeext'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; }; then
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.
$ac_ext >&5
26949 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
26950 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
26951 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
26952 echo $ECHO_N "(cached) $ECHO_C" >&6
26954 ac_check_lib_save_LIBS
=$LIBS
26955 LIBS
="-ldnet $LIBS"
26956 cat >conftest.
$ac_ext <<_ACEOF
26959 cat confdefs.h
>>conftest.
$ac_ext
26960 cat >>conftest.
$ac_ext <<_ACEOF
26961 /* end confdefs.h. */
26963 /* Override any gcc2 internal prototype to avoid an error. */
26967 /* We use char because int might match the return type of a gcc2
26968 builtin and then its argument prototype would still apply. */
26978 rm -f conftest.
$ac_objext conftest
$ac_exeext
26979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26980 (eval $ac_link) 2>conftest.er1
26982 grep -v '^ *+' conftest.er1
>conftest.err
26984 cat conftest.err
>&5
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); } &&
26987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try
='test -s conftest$ac_exeext'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
26999 ac_cv_lib_dnet_dnet_ntoa
=yes
27001 echo "$as_me: failed program was:" >&5
27002 sed 's/^/| /' conftest.
$ac_ext >&5
27004 ac_cv_lib_dnet_dnet_ntoa
=no
27006 rm -f conftest.err conftest.
$ac_objext \
27007 conftest
$ac_exeext conftest.
$ac_ext
27008 LIBS
=$ac_check_lib_save_LIBS
27010 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27011 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27012 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27013 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
27016 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
27017 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27018 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27019 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27020 echo $ECHO_N "(cached) $ECHO_C" >&6
27022 ac_check_lib_save_LIBS
=$LIBS
27023 LIBS
="-ldnet_stub $LIBS"
27024 cat >conftest.
$ac_ext <<_ACEOF
27027 cat confdefs.h
>>conftest.
$ac_ext
27028 cat >>conftest.
$ac_ext <<_ACEOF
27029 /* end confdefs.h. */
27031 /* Override any gcc2 internal prototype to avoid an error. */
27035 /* We use char because int might match the return type of a gcc2
27036 builtin and then its argument prototype would still apply. */
27046 rm -f conftest.
$ac_objext conftest
$ac_exeext
27047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27048 (eval $ac_link) 2>conftest.er1
27050 grep -v '^ *+' conftest.er1
>conftest.err
27052 cat conftest.err
>&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); } &&
27055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27057 (eval $ac_try) 2>&5
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); }; } &&
27061 { ac_try
='test -s conftest$ac_exeext'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; }; then
27067 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.
$ac_ext >&5
27072 ac_cv_lib_dnet_stub_dnet_ntoa
=no
27074 rm -f conftest.err conftest.
$ac_objext \
27075 conftest
$ac_exeext conftest.
$ac_ext
27076 LIBS
=$ac_check_lib_save_LIBS
27078 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27079 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27080 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27081 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
27086 rm -f conftest.err conftest.
$ac_objext \
27087 conftest
$ac_exeext conftest.
$ac_ext
27088 LIBS
="$ac_xsave_LIBS"
27090 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27091 # to get the SysV transport functions.
27092 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27094 # The nsl library prevents programs from opening the X display
27095 # on Irix 5.2, according to T.E. Dickey.
27096 # The functions gethostbyname, getservbyname, and inet_addr are
27097 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27098 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27099 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27100 if test "${ac_cv_func_gethostbyname+set}" = set; then
27101 echo $ECHO_N "(cached) $ECHO_C" >&6
27103 cat >conftest.
$ac_ext <<_ACEOF
27106 cat confdefs.h
>>conftest.
$ac_ext
27107 cat >>conftest.
$ac_ext <<_ACEOF
27108 /* end confdefs.h. */
27109 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27111 #define gethostbyname innocuous_gethostbyname
27113 /* System header to define __stub macros and hopefully few prototypes,
27114 which can conflict with char gethostbyname (); below.
27115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27116 <limits.h> exists even on freestanding compilers. */
27119 # include <limits.h>
27121 # include <assert.h>
27124 #undef gethostbyname
27126 /* Override any gcc2 internal prototype to avoid an error. */
27131 /* We use char because int might match the return type of a gcc2
27132 builtin and then its argument prototype would still apply. */
27133 char gethostbyname ();
27134 /* The GNU C library defines this for functions which it implements
27135 to always fail with ENOSYS. Some functions are actually named
27136 something starting with __ and the normal name is an alias. */
27137 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27140 char (*f) () = gethostbyname;
27149 return f != gethostbyname;
27154 rm -f conftest.
$ac_objext conftest
$ac_exeext
27155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27156 (eval $ac_link) 2>conftest.er1
27158 grep -v '^ *+' conftest.er1
>conftest.err
27160 cat conftest.err
>&5
27161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162 (exit $ac_status); } &&
27163 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27165 (eval $ac_try) 2>&5
27167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27168 (exit $ac_status); }; } &&
27169 { ac_try
='test -s conftest$ac_exeext'
27170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27171 (eval $ac_try) 2>&5
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); }; }; then
27175 ac_cv_func_gethostbyname
=yes
27177 echo "$as_me: failed program was:" >&5
27178 sed 's/^/| /' conftest.
$ac_ext >&5
27180 ac_cv_func_gethostbyname
=no
27182 rm -f conftest.err conftest.
$ac_objext \
27183 conftest
$ac_exeext conftest.
$ac_ext
27185 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27186 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27188 if test $ac_cv_func_gethostbyname = no
; then
27189 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27190 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27191 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27192 echo $ECHO_N "(cached) $ECHO_C" >&6
27194 ac_check_lib_save_LIBS
=$LIBS
27196 cat >conftest.
$ac_ext <<_ACEOF
27199 cat confdefs.h
>>conftest.
$ac_ext
27200 cat >>conftest.
$ac_ext <<_ACEOF
27201 /* end confdefs.h. */
27203 /* Override any gcc2 internal prototype to avoid an error. */
27207 /* We use char because int might match the return type of a gcc2
27208 builtin and then its argument prototype would still apply. */
27209 char gethostbyname ();
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_lib_nsl_gethostbyname
=yes
27241 echo "$as_me: failed program was:" >&5
27242 sed 's/^/| /' conftest.
$ac_ext >&5
27244 ac_cv_lib_nsl_gethostbyname
=no
27246 rm -f conftest.err conftest.
$ac_objext \
27247 conftest
$ac_exeext conftest.
$ac_ext
27248 LIBS
=$ac_check_lib_save_LIBS
27250 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27251 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27252 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27253 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
27256 if test $ac_cv_lib_nsl_gethostbyname = no
; then
27257 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27258 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27259 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27260 echo $ECHO_N "(cached) $ECHO_C" >&6
27262 ac_check_lib_save_LIBS
=$LIBS
27264 cat >conftest.
$ac_ext <<_ACEOF
27267 cat confdefs.h
>>conftest.
$ac_ext
27268 cat >>conftest.
$ac_ext <<_ACEOF
27269 /* end confdefs.h. */
27271 /* Override any gcc2 internal prototype to avoid an error. */
27275 /* We use char because int might match the return type of a gcc2
27276 builtin and then its argument prototype would still apply. */
27277 char gethostbyname ();
27286 rm -f conftest.
$ac_objext conftest
$ac_exeext
27287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27288 (eval $ac_link) 2>conftest.er1
27290 grep -v '^ *+' conftest.er1
>conftest.err
27292 cat conftest.err
>&5
27293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27294 (exit $ac_status); } &&
27295 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27297 (eval $ac_try) 2>&5
27299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27300 (exit $ac_status); }; } &&
27301 { ac_try
='test -s conftest$ac_exeext'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; }; then
27307 ac_cv_lib_bsd_gethostbyname
=yes
27309 echo "$as_me: failed program was:" >&5
27310 sed 's/^/| /' conftest.
$ac_ext >&5
27312 ac_cv_lib_bsd_gethostbyname
=no
27314 rm -f conftest.err conftest.
$ac_objext \
27315 conftest
$ac_exeext conftest.
$ac_ext
27316 LIBS
=$ac_check_lib_save_LIBS
27318 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
27319 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27320 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27321 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
27327 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27328 # socket/setsockopt and other routines are undefined under SCO ODT
27329 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27330 # on later versions), says Simon Leinen: it contains gethostby*
27331 # variants that don't use the name server (or something). -lsocket
27332 # must be given before -lnsl if both are needed. We assume that
27333 # if connect needs -lnsl, so does gethostbyname.
27334 echo "$as_me:$LINENO: checking for connect" >&5
27335 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27336 if test "${ac_cv_func_connect+set}" = set; then
27337 echo $ECHO_N "(cached) $ECHO_C" >&6
27339 cat >conftest.
$ac_ext <<_ACEOF
27342 cat confdefs.h
>>conftest.
$ac_ext
27343 cat >>conftest.
$ac_ext <<_ACEOF
27344 /* end confdefs.h. */
27345 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27347 #define connect innocuous_connect
27349 /* System header to define __stub macros and hopefully few prototypes,
27350 which can conflict with char connect (); below.
27351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27352 <limits.h> exists even on freestanding compilers. */
27355 # include <limits.h>
27357 # include <assert.h>
27362 /* Override any gcc2 internal prototype to avoid an error. */
27367 /* We use char because int might match the return type of a gcc2
27368 builtin and then its argument prototype would still apply. */
27370 /* The GNU C library defines this for functions which it implements
27371 to always fail with ENOSYS. Some functions are actually named
27372 something starting with __ and the normal name is an alias. */
27373 #if defined (__stub_connect) || defined (__stub___connect)
27376 char (*f) () = connect;
27385 return f != connect;
27390 rm -f conftest.
$ac_objext conftest
$ac_exeext
27391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27392 (eval $ac_link) 2>conftest.er1
27394 grep -v '^ *+' conftest.er1
>conftest.err
27396 cat conftest.err
>&5
27397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27398 (exit $ac_status); } &&
27399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27401 (eval $ac_try) 2>&5
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); }; } &&
27405 { ac_try
='test -s conftest$ac_exeext'
27406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27407 (eval $ac_try) 2>&5
27409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27410 (exit $ac_status); }; }; then
27411 ac_cv_func_connect
=yes
27413 echo "$as_me: failed program was:" >&5
27414 sed 's/^/| /' conftest.
$ac_ext >&5
27416 ac_cv_func_connect
=no
27418 rm -f conftest.err conftest.
$ac_objext \
27419 conftest
$ac_exeext conftest.
$ac_ext
27421 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27422 echo "${ECHO_T}$ac_cv_func_connect" >&6
27424 if test $ac_cv_func_connect = no
; then
27425 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27426 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27427 if test "${ac_cv_lib_socket_connect+set}" = set; then
27428 echo $ECHO_N "(cached) $ECHO_C" >&6
27430 ac_check_lib_save_LIBS
=$LIBS
27431 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
27432 cat >conftest.
$ac_ext <<_ACEOF
27435 cat confdefs.h
>>conftest.
$ac_ext
27436 cat >>conftest.
$ac_ext <<_ACEOF
27437 /* end confdefs.h. */
27439 /* Override any gcc2 internal prototype to avoid an error. */
27443 /* We use char because int might match the return type of a gcc2
27444 builtin and then its argument prototype would still apply. */
27454 rm -f conftest.
$ac_objext conftest
$ac_exeext
27455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27456 (eval $ac_link) 2>conftest.er1
27458 grep -v '^ *+' conftest.er1
>conftest.err
27460 cat conftest.err
>&5
27461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27462 (exit $ac_status); } &&
27463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27465 (eval $ac_try) 2>&5
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); }; } &&
27469 { ac_try
='test -s conftest$ac_exeext'
27470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27471 (eval $ac_try) 2>&5
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); }; }; then
27475 ac_cv_lib_socket_connect
=yes
27477 echo "$as_me: failed program was:" >&5
27478 sed 's/^/| /' conftest.
$ac_ext >&5
27480 ac_cv_lib_socket_connect
=no
27482 rm -f conftest.err conftest.
$ac_objext \
27483 conftest
$ac_exeext conftest.
$ac_ext
27484 LIBS
=$ac_check_lib_save_LIBS
27486 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27487 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27488 if test $ac_cv_lib_socket_connect = yes; then
27489 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
27494 # Guillermo Gomez says -lposix is necessary on A/UX.
27495 echo "$as_me:$LINENO: checking for remove" >&5
27496 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27497 if test "${ac_cv_func_remove+set}" = set; then
27498 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 cat >conftest.
$ac_ext <<_ACEOF
27503 cat confdefs.h
>>conftest.
$ac_ext
27504 cat >>conftest.
$ac_ext <<_ACEOF
27505 /* end confdefs.h. */
27506 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27508 #define remove innocuous_remove
27510 /* System header to define __stub macros and hopefully few prototypes,
27511 which can conflict with char remove (); below.
27512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27513 <limits.h> exists even on freestanding compilers. */
27516 # include <limits.h>
27518 # include <assert.h>
27523 /* Override any gcc2 internal prototype to avoid an error. */
27528 /* We use char because int might match the return type of a gcc2
27529 builtin and then its argument prototype would still apply. */
27531 /* The GNU C library defines this for functions which it implements
27532 to always fail with ENOSYS. Some functions are actually named
27533 something starting with __ and the normal name is an alias. */
27534 #if defined (__stub_remove) || defined (__stub___remove)
27537 char (*f) () = remove;
27546 return f != remove;
27551 rm -f conftest.
$ac_objext conftest
$ac_exeext
27552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27553 (eval $ac_link) 2>conftest.er1
27555 grep -v '^ *+' conftest.er1
>conftest.err
27557 cat conftest.err
>&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); } &&
27560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27562 (eval $ac_try) 2>&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); }; } &&
27566 { ac_try
='test -s conftest$ac_exeext'
27567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27568 (eval $ac_try) 2>&5
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); }; }; then
27572 ac_cv_func_remove
=yes
27574 echo "$as_me: failed program was:" >&5
27575 sed 's/^/| /' conftest.
$ac_ext >&5
27577 ac_cv_func_remove
=no
27579 rm -f conftest.err conftest.
$ac_objext \
27580 conftest
$ac_exeext conftest.
$ac_ext
27582 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27583 echo "${ECHO_T}$ac_cv_func_remove" >&6
27585 if test $ac_cv_func_remove = no
; then
27586 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27587 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27588 if test "${ac_cv_lib_posix_remove+set}" = set; then
27589 echo $ECHO_N "(cached) $ECHO_C" >&6
27591 ac_check_lib_save_LIBS
=$LIBS
27592 LIBS
="-lposix $LIBS"
27593 cat >conftest.
$ac_ext <<_ACEOF
27596 cat confdefs.h
>>conftest.
$ac_ext
27597 cat >>conftest.
$ac_ext <<_ACEOF
27598 /* end confdefs.h. */
27600 /* Override any gcc2 internal prototype to avoid an error. */
27604 /* We use char because int might match the return type of a gcc2
27605 builtin and then its argument prototype would still apply. */
27615 rm -f conftest.
$ac_objext conftest
$ac_exeext
27616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27617 (eval $ac_link) 2>conftest.er1
27619 grep -v '^ *+' conftest.er1
>conftest.err
27621 cat conftest.err
>&5
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); } &&
27624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27626 (eval $ac_try) 2>&5
27628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629 (exit $ac_status); }; } &&
27630 { ac_try
='test -s conftest$ac_exeext'
27631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27632 (eval $ac_try) 2>&5
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); }; }; then
27636 ac_cv_lib_posix_remove
=yes
27638 echo "$as_me: failed program was:" >&5
27639 sed 's/^/| /' conftest.
$ac_ext >&5
27641 ac_cv_lib_posix_remove
=no
27643 rm -f conftest.err conftest.
$ac_objext \
27644 conftest
$ac_exeext conftest.
$ac_ext
27645 LIBS
=$ac_check_lib_save_LIBS
27647 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27648 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27649 if test $ac_cv_lib_posix_remove = yes; then
27650 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27655 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27656 echo "$as_me:$LINENO: checking for shmat" >&5
27657 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27658 if test "${ac_cv_func_shmat+set}" = set; then
27659 echo $ECHO_N "(cached) $ECHO_C" >&6
27661 cat >conftest.
$ac_ext <<_ACEOF
27664 cat confdefs.h
>>conftest.
$ac_ext
27665 cat >>conftest.
$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27667 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27669 #define shmat innocuous_shmat
27671 /* System header to define __stub macros and hopefully few prototypes,
27672 which can conflict with char shmat (); below.
27673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27674 <limits.h> exists even on freestanding compilers. */
27677 # include <limits.h>
27679 # include <assert.h>
27684 /* Override any gcc2 internal prototype to avoid an error. */
27689 /* We use char because int might match the return type of a gcc2
27690 builtin and then its argument prototype would still apply. */
27692 /* The GNU C library defines this for functions which it implements
27693 to always fail with ENOSYS. Some functions are actually named
27694 something starting with __ and the normal name is an alias. */
27695 #if defined (__stub_shmat) || defined (__stub___shmat)
27698 char (*f) () = shmat;
27712 rm -f conftest.
$ac_objext conftest
$ac_exeext
27713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27714 (eval $ac_link) 2>conftest.er1
27716 grep -v '^ *+' conftest.er1
>conftest.err
27718 cat conftest.err
>&5
27719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720 (exit $ac_status); } &&
27721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27723 (eval $ac_try) 2>&5
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); }; } &&
27727 { ac_try
='test -s conftest$ac_exeext'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; }; then
27733 ac_cv_func_shmat
=yes
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.
$ac_ext >&5
27738 ac_cv_func_shmat
=no
27740 rm -f conftest.err conftest.
$ac_objext \
27741 conftest
$ac_exeext conftest.
$ac_ext
27743 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27744 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27746 if test $ac_cv_func_shmat = no
; then
27747 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27748 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27749 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27750 echo $ECHO_N "(cached) $ECHO_C" >&6
27752 ac_check_lib_save_LIBS
=$LIBS
27754 cat >conftest.
$ac_ext <<_ACEOF
27757 cat confdefs.h
>>conftest.
$ac_ext
27758 cat >>conftest.
$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27761 /* Override any gcc2 internal prototype to avoid an error. */
27765 /* We use char because int might match the return type of a gcc2
27766 builtin and then its argument prototype would still apply. */
27776 rm -f conftest.
$ac_objext conftest
$ac_exeext
27777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27778 (eval $ac_link) 2>conftest.er1
27780 grep -v '^ *+' conftest.er1
>conftest.err
27782 cat conftest.err
>&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); } &&
27785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27787 (eval $ac_try) 2>&5
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); }; } &&
27791 { ac_try
='test -s conftest$ac_exeext'
27792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27793 (eval $ac_try) 2>&5
27795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27796 (exit $ac_status); }; }; then
27797 ac_cv_lib_ipc_shmat
=yes
27799 echo "$as_me: failed program was:" >&5
27800 sed 's/^/| /' conftest.
$ac_ext >&5
27802 ac_cv_lib_ipc_shmat
=no
27804 rm -f conftest.err conftest.
$ac_objext \
27805 conftest
$ac_exeext conftest.
$ac_ext
27806 LIBS
=$ac_check_lib_save_LIBS
27808 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27809 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27810 if test $ac_cv_lib_ipc_shmat = yes; then
27811 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27817 # Check for libraries that X11R6 Xt/Xaw programs need.
27818 ac_save_LDFLAGS
=$LDFLAGS
27819 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27820 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27821 # check for ICE first), but we must link in the order -lSM -lICE or
27822 # we get undefined symbols. So assume we have SM if we have ICE.
27823 # These have to be linked with before -lX11, unlike the other
27824 # libraries we check for below, so use a different variable.
27825 # John Interrante, Karl Berry
27826 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27827 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27828 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27829 echo $ECHO_N "(cached) $ECHO_C" >&6
27831 ac_check_lib_save_LIBS
=$LIBS
27832 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27833 cat >conftest.
$ac_ext <<_ACEOF
27836 cat confdefs.h
>>conftest.
$ac_ext
27837 cat >>conftest.
$ac_ext <<_ACEOF
27838 /* end confdefs.h. */
27840 /* Override any gcc2 internal prototype to avoid an error. */
27844 /* We use char because int might match the return type of a gcc2
27845 builtin and then its argument prototype would still apply. */
27846 char IceConnectionNumber ();
27850 IceConnectionNumber ();
27855 rm -f conftest.
$ac_objext conftest
$ac_exeext
27856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27857 (eval $ac_link) 2>conftest.er1
27859 grep -v '^ *+' conftest.er1
>conftest.err
27861 cat conftest.err
>&5
27862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); } &&
27864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27866 (eval $ac_try) 2>&5
27868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27869 (exit $ac_status); }; } &&
27870 { ac_try
='test -s conftest$ac_exeext'
27871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27872 (eval $ac_try) 2>&5
27874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27875 (exit $ac_status); }; }; then
27876 ac_cv_lib_ICE_IceConnectionNumber
=yes
27878 echo "$as_me: failed program was:" >&5
27879 sed 's/^/| /' conftest.
$ac_ext >&5
27881 ac_cv_lib_ICE_IceConnectionNumber
=no
27883 rm -f conftest.err conftest.
$ac_objext \
27884 conftest
$ac_exeext conftest.
$ac_ext
27885 LIBS
=$ac_check_lib_save_LIBS
27887 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27888 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27889 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27890 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
27893 LDFLAGS
=$ac_save_LDFLAGS
27898 if test "$no_x" = "yes"; then
27899 { { echo "$as_me:$LINENO: error: X11 not found" >&5
27900 echo "$as_me: error: X11 not found" >&2;}
27901 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
27904 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
27905 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
27906 AFMINSTALL
=afminstall
27907 COMPILED_X_PROGRAM
=0
27911 if test "$wxUSE_X11" = 1; then
27912 if test "$wxUSE_NANOX" = "yes"; then
27913 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
27914 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
27915 if test "x$MICROWIN" = x
; then
27916 echo "$as_me:$LINENO: result: not found" >&5
27917 echo "${ECHO_T}not found" >&6
27918 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
27919 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
27920 { (exit 1); exit 1; }; }
27922 echo "$as_me:$LINENO: result: $MICROWIN" >&5
27923 echo "${ECHO_T}$MICROWIN" >&6
27924 cat >>confdefs.h
<<\_ACEOF
27925 #define wxUSE_NANOX 1
27931 if test "$wxUSE_UNICODE" = "yes"; then
27935 if test -z "$PKG_CONFIG"; then
27936 # Extract the first word of "pkg-config", so it can be a program name with args.
27937 set dummy pkg
-config; ac_word
=$2
27938 echo "$as_me:$LINENO: checking for $ac_word" >&5
27939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27940 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27941 echo $ECHO_N "(cached) $ECHO_C" >&6
27943 case $PKG_CONFIG in
27945 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27949 for as_dir
in $PATH
27952 test -z "$as_dir" && as_dir
=.
27953 for ac_exec_ext
in '' $ac_executable_extensions; do
27954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27955 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27962 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
27966 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27968 if test -n "$PKG_CONFIG"; then
27969 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27970 echo "${ECHO_T}$PKG_CONFIG" >&6
27972 echo "$as_me:$LINENO: result: no" >&5
27973 echo "${ECHO_T}no" >&6
27978 if test "$PKG_CONFIG" = "no" ; then
27979 echo "*** The pkg-config script could not be found. Make sure it is"
27980 echo "*** in your path, or set the PKG_CONFIG environment variable"
27981 echo "*** to the full path to pkg-config."
27982 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
27984 PKG_CONFIG_MIN_VERSION
=0.9.0
27985 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
27986 echo "$as_me:$LINENO: checking for pangox" >&5
27987 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
27989 if $PKG_CONFIG --exists "pangox" ; then
27990 echo "$as_me:$LINENO: result: yes" >&5
27991 echo "${ECHO_T}yes" >&6
27994 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
27995 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
27996 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
27997 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
27998 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28000 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28001 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28002 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
28003 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28004 echo "${ECHO_T}$PANGOX_LIBS" >&6
28008 ## If we have a custom action on failure, don't print errors, but
28009 ## do set a variable so people can do so.
28010 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28017 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28018 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28022 if test $succeeded = yes; then
28024 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
28025 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
28029 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28030 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28031 { (exit 1); exit 1; }; }
28039 if test -z "$PKG_CONFIG"; then
28040 # Extract the first word of "pkg-config", so it can be a program name with args.
28041 set dummy pkg
-config; ac_word
=$2
28042 echo "$as_me:$LINENO: checking for $ac_word" >&5
28043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28044 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28045 echo $ECHO_N "(cached) $ECHO_C" >&6
28047 case $PKG_CONFIG in
28049 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28053 for as_dir
in $PATH
28056 test -z "$as_dir" && as_dir
=.
28057 for ac_exec_ext
in '' $ac_executable_extensions; do
28058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28059 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28066 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28070 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28072 if test -n "$PKG_CONFIG"; then
28073 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28074 echo "${ECHO_T}$PKG_CONFIG" >&6
28076 echo "$as_me:$LINENO: result: no" >&5
28077 echo "${ECHO_T}no" >&6
28082 if test "$PKG_CONFIG" = "no" ; then
28083 echo "*** The pkg-config script could not be found. Make sure it is"
28084 echo "*** in your path, or set the PKG_CONFIG environment variable"
28085 echo "*** to the full path to pkg-config."
28086 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28088 PKG_CONFIG_MIN_VERSION
=0.9.0
28089 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28090 echo "$as_me:$LINENO: checking for pangoft2" >&5
28091 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28093 if $PKG_CONFIG --exists "pangoft2" ; then
28094 echo "$as_me:$LINENO: result: yes" >&5
28095 echo "${ECHO_T}yes" >&6
28098 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28099 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28100 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
28101 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28102 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28104 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28105 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28106 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
28107 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28108 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28112 ## If we have a custom action on failure, don't print errors, but
28113 ## do set a variable so people can do so.
28114 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28121 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28122 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28126 if test $succeeded = yes; then
28128 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
28129 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28133 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28134 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28135 wxUSE_PRINTING_ARCHITECTURE
="no"
28143 if test -z "$PKG_CONFIG"; then
28144 # Extract the first word of "pkg-config", so it can be a program name with args.
28145 set dummy pkg
-config; ac_word
=$2
28146 echo "$as_me:$LINENO: checking for $ac_word" >&5
28147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28148 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28149 echo $ECHO_N "(cached) $ECHO_C" >&6
28151 case $PKG_CONFIG in
28153 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28157 for as_dir
in $PATH
28160 test -z "$as_dir" && as_dir
=.
28161 for ac_exec_ext
in '' $ac_executable_extensions; do
28162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28163 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28170 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28174 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28176 if test -n "$PKG_CONFIG"; then
28177 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28178 echo "${ECHO_T}$PKG_CONFIG" >&6
28180 echo "$as_me:$LINENO: result: no" >&5
28181 echo "${ECHO_T}no" >&6
28186 if test "$PKG_CONFIG" = "no" ; then
28187 echo "*** The pkg-config script could not be found. Make sure it is"
28188 echo "*** in your path, or set the PKG_CONFIG environment variable"
28189 echo "*** to the full path to pkg-config."
28190 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28192 PKG_CONFIG_MIN_VERSION
=0.9.0
28193 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28194 echo "$as_me:$LINENO: checking for pangoxft" >&5
28195 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28197 if $PKG_CONFIG --exists "pangoxft" ; then
28198 echo "$as_me:$LINENO: result: yes" >&5
28199 echo "${ECHO_T}yes" >&6
28202 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28203 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28204 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
28205 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28206 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28208 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28209 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28210 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
28211 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28212 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28216 ## If we have a custom action on failure, don't print errors, but
28217 ## do set a variable so people can do so.
28218 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28225 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28226 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28230 if test $succeeded = yes; then
28232 cat >>confdefs.h
<<\_ACEOF
28233 #define HAVE_PANGO_XFT 1
28236 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
28237 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28241 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28242 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28247 save_CFLAGS
="$CFLAGS"
28249 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
28250 LIBS
="$LIBS $PANGOX_LIBS"
28252 for ac_func
in pango_font_family_is_monospace
28254 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28255 echo "$as_me:$LINENO: checking for $ac_func" >&5
28256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28257 if eval "test \"\${$as_ac_var+set}\" = set"; then
28258 echo $ECHO_N "(cached) $ECHO_C" >&6
28260 cat >conftest.
$ac_ext <<_ACEOF
28263 cat confdefs.h
>>conftest.
$ac_ext
28264 cat >>conftest.
$ac_ext <<_ACEOF
28265 /* end confdefs.h. */
28266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28268 #define $ac_func innocuous_$ac_func
28270 /* System header to define __stub macros and hopefully few prototypes,
28271 which can conflict with char $ac_func (); below.
28272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28273 <limits.h> exists even on freestanding compilers. */
28276 # include <limits.h>
28278 # include <assert.h>
28283 /* Override any gcc2 internal prototype to avoid an error. */
28288 /* We use char because int might match the return type of a gcc2
28289 builtin and then its argument prototype would still apply. */
28291 /* The GNU C library defines this for functions which it implements
28292 to always fail with ENOSYS. Some functions are actually named
28293 something starting with __ and the normal name is an alias. */
28294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28297 char (*f) () = $ac_func;
28306 return f != $ac_func;
28311 rm -f conftest.
$ac_objext conftest
$ac_exeext
28312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28313 (eval $ac_link) 2>conftest.er1
28315 grep -v '^ *+' conftest.er1
>conftest.err
28317 cat conftest.err
>&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); } &&
28320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28322 (eval $ac_try) 2>&5
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); }; } &&
28326 { ac_try
='test -s conftest$ac_exeext'
28327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28328 (eval $ac_try) 2>&5
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 (exit $ac_status); }; }; then
28332 eval "$as_ac_var=yes"
28334 echo "$as_me: failed program was:" >&5
28335 sed 's/^/| /' conftest.
$ac_ext >&5
28337 eval "$as_ac_var=no"
28339 rm -f conftest.err conftest.
$ac_objext \
28340 conftest
$ac_exeext conftest.
$ac_ext
28342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28344 if test `eval echo '${'$as_ac_var'}'` = yes; then
28345 cat >>confdefs.h
<<_ACEOF
28346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28352 CFLAGS
="$save_CFLAGS"
28356 wxUSE_UNIVERSAL
="yes"
28358 if test "$wxUSE_NANOX" = "yes"; then
28359 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28360 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"
28361 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28363 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
28370 if test "$wxUSE_MOTIF" = 1; then
28371 if test "$wxUSE_UNICODE" = "yes"; then
28372 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28373 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28374 { (exit 1); exit 1; }; }
28377 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28378 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28381 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28383 if test -f "$ac_dir/Xm/Xm.h"; then
28384 ac_find_includes
=$ac_dir
28389 if test "$ac_find_includes" != "" ; then
28390 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28391 echo "${ECHO_T}found in $ac_find_includes" >&6
28393 if test "x$ac_find_includes" = "x/usr/include"; then
28394 ac_path_to_include
=""
28396 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
28398 if test $result = 0; then
28399 ac_path_to_include
=""
28401 ac_path_to_include
=" -I$ac_find_includes"
28405 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
28407 save_CFLAGS
=$CFLAGS
28408 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28410 cat >conftest.
$ac_ext <<_ACEOF
28413 cat confdefs.h
>>conftest.
$ac_ext
28414 cat >>conftest.
$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28424 version = xmUseVersion;
28430 rm -f conftest.
$ac_objext
28431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28432 (eval $ac_compile) 2>conftest.er1
28434 grep -v '^ *+' conftest.er1
>conftest.err
28436 cat conftest.err
>&5
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); } &&
28439 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28441 (eval $ac_try) 2>&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); }; } &&
28445 { ac_try
='test -s conftest.$ac_objext'
28446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28447 (eval $ac_try) 2>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; }; then
28452 echo "$as_me:$LINENO: result: found in default search path" >&5
28453 echo "${ECHO_T}found in default search path" >&6
28454 COMPILED_X_PROGRAM
=1
28457 echo "$as_me: failed program was:" >&5
28458 sed 's/^/| /' conftest.
$ac_ext >&5
28461 echo "$as_me:$LINENO: result: no" >&5
28462 echo "${ECHO_T}no" >&6
28463 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
28464 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
28465 { (exit 1); exit 1; }; }
28469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28471 CFLAGS
=$save_CFLAGS
28475 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28476 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28480 for ac_dir
in $SEARCH_LIB;
28482 for ac_extension
in a so sl dylib dll.a
; do
28483 if test -f "$ac_dir/libXm.$ac_extension"; then
28484 ac_find_libraries
=$ac_dir
28490 if test "x$ac_find_libraries" = "x" ; then
28493 for ac_dir
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
;
28495 for ac_extension
in a so sl dylib dll.a
; do
28496 if test -f "$ac_dir/libXm.$ac_extension"; then
28497 ac_find_libraries
=$ac_dir
28503 if test "x$ac_find_libraries" != "x" ; then
28504 ac_find_libraries
="default location"
28509 if test "x$ac_find_libraries" != "x" ; then
28510 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28511 echo "${ECHO_T}found in $ac_find_libraries" >&6
28514 if test "$ac_find_libraries" = "default location"; then
28517 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28519 if test $result = 0; then
28522 ac_path_to_link
=" -L$ac_find_libraries"
28526 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28528 save_CFLAGS
=$CFLAGS
28529 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28531 cat >conftest.
$ac_ext <<_ACEOF
28534 cat confdefs.h
>>conftest.
$ac_ext
28535 cat >>conftest.
$ac_ext <<_ACEOF
28536 /* end confdefs.h. */
28545 version = xmUseVersion;
28551 rm -f conftest.
$ac_objext conftest
$ac_exeext
28552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28553 (eval $ac_link) 2>conftest.er1
28555 grep -v '^ *+' conftest.er1
>conftest.err
28557 cat conftest.err
>&5
28558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28559 (exit $ac_status); } &&
28560 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28562 (eval $ac_try) 2>&5
28564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28565 (exit $ac_status); }; } &&
28566 { ac_try
='test -s conftest$ac_exeext'
28567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28568 (eval $ac_try) 2>&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); }; }; then
28573 echo "$as_me:$LINENO: result: found in default search path" >&5
28574 echo "${ECHO_T}found in default search path" >&6
28575 COMPILED_X_PROGRAM
=1
28578 echo "$as_me: failed program was:" >&5
28579 sed 's/^/| /' conftest.
$ac_ext >&5
28582 echo "$as_me:$LINENO: result: no" >&5
28583 echo "${ECHO_T}no" >&6
28584 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28585 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28586 { (exit 1); exit 1; }; }
28590 rm -f conftest.err conftest.
$ac_objext \
28591 conftest
$ac_exeext conftest.
$ac_ext
28593 CFLAGS
=$save_CFLAGS
28596 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28597 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28601 for libp
in "" " -lXp"; do
28602 if test "$libs_found" = "0"; then
28603 for libsm_ice
in "" " -lSM -lICE"; do
28604 if test "$libs_found" = "0"; then
28606 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28607 save_CFLAGS
=$CFLAGS
28608 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28610 cat >conftest.
$ac_ext <<_ACEOF
28613 cat confdefs.h
>>conftest.
$ac_ext
28614 cat >>conftest.
$ac_ext <<_ACEOF
28615 /* end confdefs.h. */
28618 #include <Xm/List.h>
28624 XmString string = NULL;
28627 XmListAddItem(w, string, position);
28633 rm -f conftest.
$ac_objext conftest
$ac_exeext
28634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28635 (eval $ac_link) 2>conftest.er1
28637 grep -v '^ *+' conftest.er1
>conftest.err
28639 cat conftest.err
>&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); } &&
28642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28644 (eval $ac_try) 2>&5
28646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28647 (exit $ac_status); }; } &&
28648 { ac_try
='test -s conftest$ac_exeext'
28649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28650 (eval $ac_try) 2>&5
28652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28653 (exit $ac_status); }; }; then
28656 libsm_ice_link
="$libsm_ice"
28657 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28658 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28662 echo "$as_me: failed program was:" >&5
28663 sed 's/^/| /' conftest.
$ac_ext >&5
28668 rm -f conftest.err conftest.
$ac_objext \
28669 conftest
$ac_exeext conftest.
$ac_ext
28672 CFLAGS
=$save_CFLAGS
28678 if test "$libs_found" = "0"; then
28679 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28680 echo "${ECHO_T}can't find the right libraries" >&6
28681 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28682 echo "$as_me: error: can't link a simple motif program" >&2;}
28683 { (exit 1); exit 1; }; }
28686 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
28687 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
28688 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
28689 echo $ECHO_N "(cached) $ECHO_C" >&6
28691 ac_check_lib_save_LIBS
=$LIBS
28693 cat >conftest.
$ac_ext <<_ACEOF
28696 cat confdefs.h
>>conftest.
$ac_ext
28697 cat >>conftest.
$ac_ext <<_ACEOF
28698 /* end confdefs.h. */
28700 /* Override any gcc2 internal prototype to avoid an error. */
28704 /* We use char because int might match the return type of a gcc2
28705 builtin and then its argument prototype would still apply. */
28706 char SgCreateList ();
28715 rm -f conftest.
$ac_objext conftest
$ac_exeext
28716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28717 (eval $ac_link) 2>conftest.er1
28719 grep -v '^ *+' conftest.er1
>conftest.err
28721 cat conftest.err
>&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } &&
28724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28726 (eval $ac_try) 2>&5
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); }; } &&
28730 { ac_try
='test -s conftest$ac_exeext'
28731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28732 (eval $ac_try) 2>&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); }; }; then
28736 ac_cv_lib_Sgm_SgCreateList
=yes
28738 echo "$as_me: failed program was:" >&5
28739 sed 's/^/| /' conftest.
$ac_ext >&5
28741 ac_cv_lib_Sgm_SgCreateList
=no
28743 rm -f conftest.err conftest.
$ac_objext \
28744 conftest
$ac_exeext conftest.
$ac_ext
28745 LIBS
=$ac_check_lib_save_LIBS
28747 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
28748 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
28749 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
28750 libsgm_link
=" -lSgm"
28754 save_CFLAGS
=$CFLAGS
28755 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28757 echo "$as_me:$LINENO: checking for Motif 2" >&5
28758 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28759 if test "${wx_cv_lib_motif2+set}" = set; then
28760 echo $ECHO_N "(cached) $ECHO_C" >&6
28762 cat >conftest.
$ac_ext <<_ACEOF
28765 cat confdefs.h
>>conftest.
$ac_ext
28766 cat >>conftest.
$ac_ext <<_ACEOF
28767 /* end confdefs.h. */
28775 #if XmVersion < 2000
28783 rm -f conftest.
$ac_objext
28784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28785 (eval $ac_compile) 2>conftest.er1
28787 grep -v '^ *+' conftest.er1
>conftest.err
28789 cat conftest.err
>&5
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); } &&
28792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28794 (eval $ac_try) 2>&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); }; } &&
28798 { ac_try
='test -s conftest.$ac_objext'
28799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28800 (eval $ac_try) 2>&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); }; }; then
28804 wx_cv_lib_motif2
="yes"
28806 echo "$as_me: failed program was:" >&5
28807 sed 's/^/| /' conftest.
$ac_ext >&5
28809 wx_cv_lib_motif2
="no"
28811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28813 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
28814 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
28815 if test "$wx_cv_lib_motif2" = "yes"; then
28816 cat >>confdefs.h
<<\_ACEOF
28817 #define __WXMOTIF20__ 1
28821 cat >>confdefs.h
<<\_ACEOF
28822 #define __WXMOTIF20__ 0
28827 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
28828 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
28829 if test "${wx_cv_lib_lesstif+set}" = set; then
28830 echo $ECHO_N "(cached) $ECHO_C" >&6
28832 cat >conftest.
$ac_ext <<_ACEOF
28835 cat confdefs.h
>>conftest.
$ac_ext
28836 cat >>conftest.
$ac_ext <<_ACEOF
28837 /* end confdefs.h. */
28845 #if !defined(LesstifVersion) || LesstifVersion <= 0
28853 rm -f conftest.
$ac_objext
28854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28855 (eval $ac_compile) 2>conftest.er1
28857 grep -v '^ *+' conftest.er1
>conftest.err
28859 cat conftest.err
>&5
28860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861 (exit $ac_status); } &&
28862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28864 (eval $ac_try) 2>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; } &&
28868 { ac_try
='test -s conftest.$ac_objext'
28869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28870 (eval $ac_try) 2>&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); }; }; then
28874 wx_cv_lib_lesstif
="yes"
28876 echo "$as_me: failed program was:" >&5
28877 sed 's/^/| /' conftest.
$ac_ext >&5
28879 wx_cv_lib_lesstif
="no"
28881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28884 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
28885 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
28886 if test "$wx_cv_lib_lesstif" = "yes"; then
28887 cat >>confdefs.h
<<\_ACEOF
28888 #define __WXLESSTIF__ 1
28892 cat >>confdefs.h
<<\_ACEOF
28893 #define __WXLESSTIF__ 0
28898 CFLAGS
=$save_CFLAGS
28900 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
28905 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28906 if test "$wxUSE_LIBXPM" = "sys"; then
28907 echo "$as_me:$LINENO: checking for Xpm library" >&5
28908 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
28912 for ac_dir
in $SEARCH_LIB;
28914 for ac_extension
in a so sl dylib dll.a
; do
28915 if test -f "$ac_dir/libXpm.$ac_extension"; then
28916 ac_find_libraries
=$ac_dir
28922 if test "x$ac_find_libraries" = "x" ; then
28925 for ac_dir
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
;
28927 for ac_extension
in a so sl dylib dll.a
; do
28928 if test -f "$ac_dir/libXpm.$ac_extension"; then
28929 ac_find_libraries
=$ac_dir
28935 if test "x$ac_find_libraries" != "x" ; then
28936 ac_find_libraries
="default location"
28940 if test "$ac_find_libraries" != "" ; then
28942 if test "$ac_find_libraries" = "default location"; then
28945 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28947 if test $result = 0; then
28950 ac_path_to_link
=" -L$ac_find_libraries"
28954 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28955 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28956 echo "${ECHO_T}found in $ac_find_libraries" >&6
28958 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
28959 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
28960 if test "${wx_cv_x11_xpm_h+set}" = set; then
28961 echo $ECHO_N "(cached) $ECHO_C" >&6
28964 save_CFLAGS
=$CFLAGS
28965 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28967 cat >conftest.
$ac_ext <<_ACEOF
28970 cat confdefs.h
>>conftest.
$ac_ext
28971 cat >>conftest.
$ac_ext <<_ACEOF
28972 /* end confdefs.h. */
28974 #include <X11/xpm.h>
28981 version = XpmLibraryVersion();
28987 rm -f conftest.
$ac_objext
28988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28989 (eval $ac_compile) 2>conftest.er1
28991 grep -v '^ *+' conftest.er1
>conftest.err
28993 cat conftest.err
>&5
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } &&
28996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28998 (eval $ac_try) 2>&5
29000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001 (exit $ac_status); }; } &&
29002 { ac_try
='test -s conftest.$ac_objext'
29003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29004 (eval $ac_try) 2>&5
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); }; }; then
29008 wx_cv_x11_xpm_h
=yes
29010 echo "$as_me: failed program was:" >&5
29011 sed 's/^/| /' conftest.
$ac_ext >&5
29016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29018 CFLAGS
=$save_CFLAGS
29022 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29023 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29025 if test $wx_cv_x11_xpm_h = "yes"; then
29026 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
29027 cat >>confdefs.h
<<\_ACEOF
29028 #define wxHAVE_LIB_XPM 1
29032 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29033 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29039 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29040 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29041 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29042 echo $ECHO_N "(cached) $ECHO_C" >&6
29044 ac_check_lib_save_LIBS
=$LIBS
29045 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29046 cat >conftest.
$ac_ext <<_ACEOF
29049 cat confdefs.h
>>conftest.
$ac_ext
29050 cat >>conftest.
$ac_ext <<_ACEOF
29051 /* end confdefs.h. */
29053 /* Override any gcc2 internal prototype to avoid an error. */
29057 /* We use char because int might match the return type of a gcc2
29058 builtin and then its argument prototype would still apply. */
29059 char XShapeQueryExtension ();
29063 XShapeQueryExtension ();
29068 rm -f conftest.
$ac_objext conftest
$ac_exeext
29069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29070 (eval $ac_link) 2>conftest.er1
29072 grep -v '^ *+' conftest.er1
>conftest.err
29074 cat conftest.err
>&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } &&
29077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29079 (eval $ac_try) 2>&5
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); }; } &&
29083 { ac_try
='test -s conftest$ac_exeext'
29084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29085 (eval $ac_try) 2>&5
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); }; }; then
29089 ac_cv_lib_Xext_XShapeQueryExtension
=yes
29091 echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.
$ac_ext >&5
29094 ac_cv_lib_Xext_XShapeQueryExtension
=no
29096 rm -f conftest.err conftest.
$ac_objext \
29097 conftest
$ac_exeext conftest.
$ac_ext
29098 LIBS
=$ac_check_lib_save_LIBS
29100 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29101 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29102 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29104 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
29110 if test "$wxHAVE_XEXT_LIB" = 1; then
29111 save_CFLAGS
="$CFLAGS"
29112 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29114 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29115 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29116 cat >conftest.
$ac_ext <<_ACEOF
29119 cat confdefs.h
>>conftest.
$ac_ext
29120 cat >>conftest.
$ac_ext <<_ACEOF
29121 /* end confdefs.h. */
29123 #include <X11/Xlib.h>
29124 #include <X11/extensions/shape.h>
29130 int dummy1, dummy2;
29131 XShapeQueryExtension((Display*)NULL,
29132 (int*)NULL, (int*)NULL);
29138 rm -f conftest.
$ac_objext
29139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29140 (eval $ac_compile) 2>conftest.er1
29142 grep -v '^ *+' conftest.er1
>conftest.err
29144 cat conftest.err
>&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } &&
29147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29149 (eval $ac_try) 2>&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); }; } &&
29153 { ac_try
='test -s conftest.$ac_objext'
29154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155 (eval $ac_try) 2>&5
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; }; then
29160 cat >>confdefs.h
<<\_ACEOF
29161 #define HAVE_XSHAPE 1
29164 echo "$as_me:$LINENO: result: found" >&5
29165 echo "${ECHO_T}found" >&6
29168 echo "$as_me: failed program was:" >&5
29169 sed 's/^/| /' conftest.
$ac_ext >&5
29172 echo "$as_me:$LINENO: result: not found" >&5
29173 echo "${ECHO_T}not found" >&6
29176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29177 CFLAGS
="$save_CFLAGS"
29182 if test "$wxUSE_MAC" = 1; then
29183 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
29184 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
29185 if test "$GCC" = yes; then
29186 echo "$as_me:$LINENO: result: gcc" >&5
29187 echo "${ECHO_T}gcc" >&6
29188 CPPFLAGS_PASCAL
="-fpascal-strings"
29189 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
29190 echo "$as_me:$LINENO: result: xlc" >&5
29191 echo "${ECHO_T}xlc" >&6
29192 CPPFLAGS_PASCAL
="-qmacpstr"
29194 echo "$as_me:$LINENO: result: none" >&5
29195 echo "${ECHO_T}none" >&6
29198 if test "x$wxUSE_UNIX" = "xyes"; then
29199 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
29201 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
29206 WXBASEPORT
="_carbon"
29209 if test "$wxUSE_COCOA" = 1; then
29214 if test "$wxUSE_PM" = 1; then
29217 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
29218 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
29219 if test "${wx_cv_spbcdata+set}" = set; then
29220 echo $ECHO_N "(cached) $ECHO_C" >&6
29223 cat >conftest.
$ac_ext <<_ACEOF
29226 cat confdefs.h
>>conftest.
$ac_ext
29227 cat >>conftest.
$ac_ext <<_ACEOF
29228 /* end confdefs.h. */
29243 rm -f conftest.
$ac_objext
29244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29245 (eval $ac_compile) 2>conftest.er1
29247 grep -v '^ *+' conftest.er1
>conftest.err
29249 cat conftest.err
>&5
29250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251 (exit $ac_status); } &&
29252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29254 (eval $ac_try) 2>&5
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); }; } &&
29258 { ac_try
='test -s conftest.$ac_objext'
29259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29260 (eval $ac_try) 2>&5
29262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263 (exit $ac_status); }; }; then
29266 echo "$as_me: failed program was:" >&5
29267 sed 's/^/| /' conftest.
$ac_ext >&5
29272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29276 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
29277 echo "${ECHO_T}$wx_cv_spbcdata" >&6
29279 if test $wx_cv_spbcdata = "yes"; then
29280 cat >>confdefs.h
<<\_ACEOF
29281 #define HAVE_SPBCDATA 1
29287 if test "$TOOLKIT" = "PM" ; then
29290 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
29293 if test "$wxUSE_UNIVERSAL" = "yes"; then
29294 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
29298 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
29299 DISTDIR
="wx\$(TOOLKIT)"
29305 if test "$USE_WIN32" = 1 ; then
29309 GUIDIST
="BASE_DIST"
29314 if test "$wxUSE_GUI" = "yes"; then
29315 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
29317 for ac_header
in X
11/Xlib.h
29319 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29321 echo "$as_me:$LINENO: checking for $ac_header" >&5
29322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29324 echo $ECHO_N "(cached) $ECHO_C" >&6
29326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29329 # Is the header compilable?
29330 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29331 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29332 cat >conftest.
$ac_ext <<_ACEOF
29335 cat confdefs.h
>>conftest.
$ac_ext
29336 cat >>conftest.
$ac_ext <<_ACEOF
29337 /* end confdefs.h. */
29338 $ac_includes_default
29339 #include <$ac_header>
29341 rm -f conftest.
$ac_objext
29342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29343 (eval $ac_compile) 2>conftest.er1
29345 grep -v '^ *+' conftest.er1
>conftest.err
29347 cat conftest.err
>&5
29348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29349 (exit $ac_status); } &&
29350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29352 (eval $ac_try) 2>&5
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; } &&
29356 { ac_try
='test -s conftest.$ac_objext'
29357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29358 (eval $ac_try) 2>&5
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); }; }; then
29362 ac_header_compiler
=yes
29364 echo "$as_me: failed program was:" >&5
29365 sed 's/^/| /' conftest.
$ac_ext >&5
29367 ac_header_compiler
=no
29369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29371 echo "${ECHO_T}$ac_header_compiler" >&6
29373 # Is the header present?
29374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29376 cat >conftest.
$ac_ext <<_ACEOF
29379 cat confdefs.h
>>conftest.
$ac_ext
29380 cat >>conftest.
$ac_ext <<_ACEOF
29381 /* end confdefs.h. */
29382 #include <$ac_header>
29384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29385 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29387 grep -v '^ *+' conftest.er1
>conftest.err
29389 cat conftest.err
>&5
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); } >/dev
/null
; then
29392 if test -s conftest.err
; then
29393 ac_cpp_err
=$ac_c_preproc_warn_flag
29394 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29401 if test -z "$ac_cpp_err"; then
29402 ac_header_preproc
=yes
29404 echo "$as_me: failed program was:" >&5
29405 sed 's/^/| /' conftest.
$ac_ext >&5
29407 ac_header_preproc
=no
29409 rm -f conftest.err conftest.
$ac_ext
29410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29411 echo "${ECHO_T}$ac_header_preproc" >&6
29413 # So? What about this header?
29414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29419 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29420 ac_header_preproc
=yes
29423 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29425 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29426 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29427 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29428 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29429 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29430 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29433 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29434 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29437 ## ----------------------------------------- ##
29438 ## Report this to wx-dev@lists.wxwidgets.org ##
29439 ## ----------------------------------------- ##
29442 sed "s/^/$as_me: WARNING: /" >&2
29445 echo "$as_me:$LINENO: checking for $ac_header" >&5
29446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29448 echo $ECHO_N "(cached) $ECHO_C" >&6
29450 eval "$as_ac_Header=\$ac_header_preproc"
29452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29457 cat >>confdefs.h
<<_ACEOF
29458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29466 for ac_header
in X
11/XKBlib.h
29468 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29469 echo "$as_me:$LINENO: checking for $ac_header" >&5
29470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29472 echo $ECHO_N "(cached) $ECHO_C" >&6
29474 cat >conftest.
$ac_ext <<_ACEOF
29477 cat confdefs.h
>>conftest.
$ac_ext
29478 cat >>conftest.
$ac_ext <<_ACEOF
29479 /* end confdefs.h. */
29481 #if HAVE_X11_XLIB_H
29482 #include <X11/Xlib.h>
29486 #include <$ac_header>
29488 rm -f conftest.
$ac_objext
29489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29490 (eval $ac_compile) 2>conftest.er1
29492 grep -v '^ *+' conftest.er1
>conftest.err
29494 cat conftest.err
>&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); } &&
29497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29499 (eval $ac_try) 2>&5
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); }; } &&
29503 { ac_try
='test -s conftest.$ac_objext'
29504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29505 (eval $ac_try) 2>&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); }; }; then
29509 eval "$as_ac_Header=yes"
29511 echo "$as_me: failed program was:" >&5
29512 sed 's/^/| /' conftest.
$ac_ext >&5
29514 eval "$as_ac_Header=no"
29516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29521 cat >>confdefs.h
<<_ACEOF
29522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29537 if test "$TOOLKIT" != "MSW" ; then
29539 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
29541 if test "${ac_cv_header_sql_h+set}" = set; then
29542 echo "$as_me:$LINENO: checking for sql.h" >&5
29543 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29544 if test "${ac_cv_header_sql_h+set}" = set; then
29545 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29548 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29550 # Is the header compilable?
29551 echo "$as_me:$LINENO: checking sql.h usability" >&5
29552 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
29553 cat >conftest.
$ac_ext <<_ACEOF
29556 cat confdefs.h
>>conftest.
$ac_ext
29557 cat >>conftest.
$ac_ext <<_ACEOF
29558 /* end confdefs.h. */
29559 $ac_includes_default
29562 rm -f conftest.
$ac_objext
29563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29564 (eval $ac_compile) 2>conftest.er1
29566 grep -v '^ *+' conftest.er1
>conftest.err
29568 cat conftest.err
>&5
29569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29570 (exit $ac_status); } &&
29571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29573 (eval $ac_try) 2>&5
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); }; } &&
29577 { ac_try
='test -s conftest.$ac_objext'
29578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29579 (eval $ac_try) 2>&5
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); }; }; then
29583 ac_header_compiler
=yes
29585 echo "$as_me: failed program was:" >&5
29586 sed 's/^/| /' conftest.
$ac_ext >&5
29588 ac_header_compiler
=no
29590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29591 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29592 echo "${ECHO_T}$ac_header_compiler" >&6
29594 # Is the header present?
29595 echo "$as_me:$LINENO: checking sql.h presence" >&5
29596 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
29597 cat >conftest.
$ac_ext <<_ACEOF
29600 cat confdefs.h
>>conftest.
$ac_ext
29601 cat >>conftest.
$ac_ext <<_ACEOF
29602 /* end confdefs.h. */
29605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29606 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29608 grep -v '^ *+' conftest.er1
>conftest.err
29610 cat conftest.err
>&5
29611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29612 (exit $ac_status); } >/dev
/null
; then
29613 if test -s conftest.err
; then
29614 ac_cpp_err
=$ac_c_preproc_warn_flag
29615 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29622 if test -z "$ac_cpp_err"; then
29623 ac_header_preproc
=yes
29625 echo "$as_me: failed program was:" >&5
29626 sed 's/^/| /' conftest.
$ac_ext >&5
29628 ac_header_preproc
=no
29630 rm -f conftest.err conftest.
$ac_ext
29631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29632 echo "${ECHO_T}$ac_header_preproc" >&6
29634 # So? What about this header?
29635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29637 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29638 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29639 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
29640 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
29641 ac_header_preproc
=yes
29644 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
29645 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
29646 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
29647 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
29648 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
29649 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
29650 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
29651 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29652 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
29653 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
29654 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
29655 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
29658 ## ----------------------------------------- ##
29659 ## Report this to wx-dev@lists.wxwidgets.org ##
29660 ## ----------------------------------------- ##
29663 sed "s/^/$as_me: WARNING: /" >&2
29666 echo "$as_me:$LINENO: checking for sql.h" >&5
29667 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29668 if test "${ac_cv_header_sql_h+set}" = set; then
29669 echo $ECHO_N "(cached) $ECHO_C" >&6
29671 ac_cv_header_sql_h
=$ac_header_preproc
29673 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29674 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29677 if test $ac_cv_header_sql_h = yes; then
29682 if test "x$found_sql_h" = "x1" ; then
29683 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29684 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29685 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29686 echo $ECHO_N "(cached) $ECHO_C" >&6
29688 ac_check_lib_save_LIBS
=$LIBS
29689 LIBS
="-liodbc $LIBS"
29690 cat >conftest.
$ac_ext <<_ACEOF
29693 cat confdefs.h
>>conftest.
$ac_ext
29694 cat >>conftest.
$ac_ext <<_ACEOF
29695 /* end confdefs.h. */
29697 /* Override any gcc2 internal prototype to avoid an error. */
29701 /* We use char because int might match the return type of a gcc2
29702 builtin and then its argument prototype would still apply. */
29703 char SQLAllocEnv ();
29712 rm -f conftest.
$ac_objext conftest
$ac_exeext
29713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29714 (eval $ac_link) 2>conftest.er1
29716 grep -v '^ *+' conftest.er1
>conftest.err
29718 cat conftest.err
>&5
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); } &&
29721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29723 (eval $ac_try) 2>&5
29725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29726 (exit $ac_status); }; } &&
29727 { ac_try
='test -s conftest$ac_exeext'
29728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29729 (eval $ac_try) 2>&5
29731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29732 (exit $ac_status); }; }; then
29733 ac_cv_lib_iodbc_SQLAllocEnv
=yes
29735 echo "$as_me: failed program was:" >&5
29736 sed 's/^/| /' conftest.
$ac_ext >&5
29738 ac_cv_lib_iodbc_SQLAllocEnv
=no
29740 rm -f conftest.err conftest.
$ac_objext \
29741 conftest
$ac_exeext conftest.
$ac_ext
29742 LIBS
=$ac_check_lib_save_LIBS
29744 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29745 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29746 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29747 ODBC_LINK
=" -liodbc"
29750 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29751 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29752 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29755 ac_check_lib_save_LIBS
=$LIBS
29756 LIBS
="-lunixodbc $LIBS"
29757 cat >conftest.
$ac_ext <<_ACEOF
29760 cat confdefs.h
>>conftest.
$ac_ext
29761 cat >>conftest.
$ac_ext <<_ACEOF
29762 /* end confdefs.h. */
29764 /* Override any gcc2 internal prototype to avoid an error. */
29768 /* We use char because int might match the return type of a gcc2
29769 builtin and then its argument prototype would still apply. */
29770 char SQLAllocEnv ();
29779 rm -f conftest.
$ac_objext conftest
$ac_exeext
29780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29781 (eval $ac_link) 2>conftest.er1
29783 grep -v '^ *+' conftest.er1
>conftest.err
29785 cat conftest.err
>&5
29786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787 (exit $ac_status); } &&
29788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29790 (eval $ac_try) 2>&5
29792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29793 (exit $ac_status); }; } &&
29794 { ac_try
='test -s conftest$ac_exeext'
29795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29796 (eval $ac_try) 2>&5
29798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29799 (exit $ac_status); }; }; then
29800 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29802 echo "$as_me: failed program was:" >&5
29803 sed 's/^/| /' conftest.
$ac_ext >&5
29805 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29807 rm -f conftest.err conftest.
$ac_objext \
29808 conftest
$ac_exeext conftest.
$ac_ext
29809 LIBS
=$ac_check_lib_save_LIBS
29811 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29812 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29813 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29814 ODBC_LINK
=" -lunixodbc"
29817 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29818 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29819 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29820 echo $ECHO_N "(cached) $ECHO_C" >&6
29822 ac_check_lib_save_LIBS
=$LIBS
29823 LIBS
="-lodbc $LIBS"
29824 cat >conftest.
$ac_ext <<_ACEOF
29827 cat confdefs.h
>>conftest.
$ac_ext
29828 cat >>conftest.
$ac_ext <<_ACEOF
29829 /* end confdefs.h. */
29831 /* Override any gcc2 internal prototype to avoid an error. */
29835 /* We use char because int might match the return type of a gcc2
29836 builtin and then its argument prototype would still apply. */
29837 char SQLAllocEnv ();
29846 rm -f conftest.
$ac_objext conftest
$ac_exeext
29847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29848 (eval $ac_link) 2>conftest.er1
29850 grep -v '^ *+' conftest.er1
>conftest.err
29852 cat conftest.err
>&5
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); } &&
29855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29857 (eval $ac_try) 2>&5
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); }; } &&
29861 { ac_try
='test -s conftest$ac_exeext'
29862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29863 (eval $ac_try) 2>&5
29865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866 (exit $ac_status); }; }; then
29867 ac_cv_lib_odbc_SQLAllocEnv
=yes
29869 echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.
$ac_ext >&5
29872 ac_cv_lib_odbc_SQLAllocEnv
=no
29874 rm -f conftest.err conftest.
$ac_objext \
29875 conftest
$ac_exeext conftest.
$ac_ext
29876 LIBS
=$ac_check_lib_save_LIBS
29878 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
29879 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
29880 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
29881 ODBC_LINK
=" -lodbc"
29891 if test "x$ODBC_LINK" = "x" ; then
29892 if test "$wxUSE_ODBC" = "sys" ; then
29893 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
29894 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
29895 { (exit 1); exit 1; }; }
29897 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
29898 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
29906 if test "$wxUSE_ODBC" = "builtin" ; then
29907 cat >>confdefs.h
<<\_ACEOF
29908 #define wxUSE_BUILTIN_IODBC 1
29914 if test "$wxUSE_ODBC" != "no" ; then
29915 cat >>confdefs.h
<<\_ACEOF
29916 #define wxUSE_ODBC 1
29919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
29921 WXODBCFLAG
="-D_IODBC_"
29925 if test "$wxUSE_DISPLAY" = "yes"; then
29926 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
29927 echo "$as_me:$LINENO: checking for Xinerama" >&5
29928 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
29932 for ac_dir
in $SEARCH_LIB;
29934 for ac_extension
in a so sl dylib dll.a
; do
29935 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29936 ac_find_libraries
=$ac_dir
29942 if test "x$ac_find_libraries" = "x" ; then
29945 for ac_dir
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
;
29947 for ac_extension
in a so sl dylib dll.a
; do
29948 if test -f "$ac_dir/libXinerama.$ac_extension"; then
29949 ac_find_libraries
=$ac_dir
29955 if test "x$ac_find_libraries" != "x" ; then
29956 ac_find_libraries
="default location"
29960 if test "$ac_find_libraries" != "" ; then
29962 if test "$ac_find_libraries" = "default location"; then
29965 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
29967 if test $result = 0; then
29970 ac_path_to_link
=" -L$ac_find_libraries"
29974 if test "$ac_path_to_link" != " -L/usr/lib" ; then
29975 LDFLAGS
="$LDFLAGS $ac_path_to_link"
29977 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
29978 echo "$as_me:$LINENO: result: yes" >&5
29979 echo "${ECHO_T}yes" >&6
29981 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
29982 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
29986 for ac_dir
in $SEARCH_LIB;
29988 for ac_extension
in a so sl dylib dll.a
; do
29989 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
29990 ac_find_libraries
=$ac_dir
29996 if test "x$ac_find_libraries" = "x" ; then
29999 for ac_dir
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
;
30001 for ac_extension
in a so sl dylib dll.a
; do
30002 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30003 ac_find_libraries
=$ac_dir
30009 if test "x$ac_find_libraries" != "x" ; then
30010 ac_find_libraries
="default location"
30014 if test "$ac_find_libraries" != "" ; then
30015 echo "$as_me:$LINENO: result: yes" >&5
30016 echo "${ECHO_T}yes" >&6
30018 for ac_header
in X
11/extensions
/xf86vmode.h
30020 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30021 echo "$as_me:$LINENO: checking for $ac_header" >&5
30022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30024 echo $ECHO_N "(cached) $ECHO_C" >&6
30026 cat >conftest.
$ac_ext <<_ACEOF
30029 cat confdefs.h
>>conftest.
$ac_ext
30030 cat >>conftest.
$ac_ext <<_ACEOF
30031 /* end confdefs.h. */
30033 #if HAVE_X11_XLIB_H
30034 #include <X11/Xlib.h>
30038 #include <$ac_header>
30040 rm -f conftest.
$ac_objext
30041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30042 (eval $ac_compile) 2>conftest.er1
30044 grep -v '^ *+' conftest.er1
>conftest.err
30046 cat conftest.err
>&5
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); } &&
30049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30051 (eval $ac_try) 2>&5
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); }; } &&
30055 { ac_try
='test -s conftest.$ac_objext'
30056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057 (eval $ac_try) 2>&5
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); }; }; then
30061 eval "$as_ac_Header=yes"
30063 echo "$as_me: failed program was:" >&5
30064 sed 's/^/| /' conftest.
$ac_ext >&5
30066 eval "$as_ac_Header=no"
30068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30073 cat >>confdefs.h
<<_ACEOF
30074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30077 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
30084 echo "$as_me:$LINENO: result: no" >&5
30085 echo "${ECHO_T}no" >&6
30089 echo "$as_me:$LINENO: result: no" >&5
30090 echo "${ECHO_T}no" >&6
30091 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30092 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30095 elif test "$wxUSE_MSW" = 1; then
30098 for ac_header
in multimon.h ddraw.h
30100 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30101 echo "$as_me:$LINENO: checking for $ac_header" >&5
30102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30104 echo $ECHO_N "(cached) $ECHO_C" >&6
30106 cat >conftest.
$ac_ext <<_ACEOF
30109 cat confdefs.h
>>conftest.
$ac_ext
30110 cat >>conftest.
$ac_ext <<_ACEOF
30111 /* end confdefs.h. */
30112 #include <windows.h>
30114 #include <$ac_header>
30116 rm -f conftest.
$ac_objext
30117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30118 (eval $ac_compile) 2>conftest.er1
30120 grep -v '^ *+' conftest.er1
>conftest.err
30122 cat conftest.err
>&5
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); } &&
30125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30127 (eval $ac_try) 2>&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); }; } &&
30131 { ac_try
='test -s conftest.$ac_objext'
30132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30133 (eval $ac_try) 2>&5
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); }; }; then
30137 eval "$as_ac_Header=yes"
30139 echo "$as_me: failed program was:" >&5
30140 sed 's/^/| /' conftest.
$ac_ext >&5
30142 eval "$as_ac_Header=no"
30144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30149 cat >>confdefs.h
<<_ACEOF
30150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30156 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30157 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30168 if test "$wxUSE_OPENGL" = "yes"; then
30169 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30170 OPENGL_LIBS
="-framework OpenGL -framework AGL"
30171 elif test "$wxUSE_MSW" = 1; then
30172 OPENGL_LIBS
="-lopengl32 -lglu32"
30177 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30179 if test -f "$ac_dir/GL/gl.h"; then
30180 ac_find_includes
=$ac_dir
30185 if test "$ac_find_includes" != "" ; then
30186 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30187 echo "${ECHO_T}found in $ac_find_includes" >&6
30189 if test "x$ac_find_includes" = "x/usr/include"; then
30190 ac_path_to_include
=""
30192 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
30194 if test $result = 0; then
30195 ac_path_to_include
=""
30197 ac_path_to_include
=" -I$ac_find_includes"
30201 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
30204 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30205 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30206 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30207 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30208 echo $ECHO_N "(cached) $ECHO_C" >&6
30210 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30211 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30213 # Is the header compilable?
30214 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
30215 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
30216 cat >conftest.
$ac_ext <<_ACEOF
30219 cat confdefs.h
>>conftest.
$ac_ext
30220 cat >>conftest.
$ac_ext <<_ACEOF
30221 /* end confdefs.h. */
30222 $ac_includes_default
30225 rm -f conftest.
$ac_objext
30226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30227 (eval $ac_compile) 2>conftest.er1
30229 grep -v '^ *+' conftest.er1
>conftest.err
30231 cat conftest.err
>&5
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); } &&
30234 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30236 (eval $ac_try) 2>&5
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); }; } &&
30240 { ac_try
='test -s conftest.$ac_objext'
30241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30242 (eval $ac_try) 2>&5
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); }; }; then
30246 ac_header_compiler
=yes
30248 echo "$as_me: failed program was:" >&5
30249 sed 's/^/| /' conftest.
$ac_ext >&5
30251 ac_header_compiler
=no
30253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30255 echo "${ECHO_T}$ac_header_compiler" >&6
30257 # Is the header present?
30258 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
30259 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
30260 cat >conftest.
$ac_ext <<_ACEOF
30263 cat confdefs.h
>>conftest.
$ac_ext
30264 cat >>conftest.
$ac_ext <<_ACEOF
30265 /* end confdefs.h. */
30268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30269 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30271 grep -v '^ *+' conftest.er1
>conftest.err
30273 cat conftest.err
>&5
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); } >/dev
/null
; then
30276 if test -s conftest.err
; then
30277 ac_cpp_err
=$ac_c_preproc_warn_flag
30278 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30285 if test -z "$ac_cpp_err"; then
30286 ac_header_preproc
=yes
30288 echo "$as_me: failed program was:" >&5
30289 sed 's/^/| /' conftest.
$ac_ext >&5
30291 ac_header_preproc
=no
30293 rm -f conftest.err conftest.
$ac_ext
30294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30295 echo "${ECHO_T}$ac_header_preproc" >&6
30297 # So? What about this header?
30298 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30300 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
30301 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30302 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
30303 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
30304 ac_header_preproc
=yes
30307 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
30308 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
30309 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
30310 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
30311 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
30312 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
30313 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
30314 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
30315 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
30316 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
30317 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
30318 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
30321 ## ----------------------------------------- ##
30322 ## Report this to wx-dev@lists.wxwidgets.org ##
30323 ## ----------------------------------------- ##
30326 sed "s/^/$as_me: WARNING: /" >&2
30329 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30330 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30331 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30332 echo $ECHO_N "(cached) $ECHO_C" >&6
30334 ac_cv_header_GL_gl_h
=$ac_header_preproc
30336 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30337 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30340 if test $ac_cv_header_GL_gl_h = yes; then
30344 echo "$as_me:$LINENO: checking for -lGL" >&5
30345 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
30349 for ac_dir
in $SEARCH_LIB;
30351 for ac_extension
in a so sl dylib dll.a
; do
30352 if test -f "$ac_dir/libGL.$ac_extension"; then
30353 ac_find_libraries
=$ac_dir
30359 if test "x$ac_find_libraries" = "x" ; then
30362 for ac_dir
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
;
30364 for ac_extension
in a so sl dylib dll.a
; do
30365 if test -f "$ac_dir/libGL.$ac_extension"; then
30366 ac_find_libraries
=$ac_dir
30372 if test "x$ac_find_libraries" != "x" ; then
30373 ac_find_libraries
="default location"
30377 if test "$ac_find_libraries" != "" ; then
30378 echo "$as_me:$LINENO: result: yes" >&5
30379 echo "${ECHO_T}yes" >&6
30382 if test "$ac_find_libraries" = "default location"; then
30385 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30387 if test $result = 0; then
30390 ac_path_to_link
=" -L$ac_find_libraries"
30394 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30395 LDFLAGS_GL
="$ac_path_to_link"
30398 echo "$as_me:$LINENO: checking for -lGLU" >&5
30399 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
30403 for ac_dir
in $SEARCH_LIB;
30405 for ac_extension
in a so sl dylib dll.a
; do
30406 if test -f "$ac_dir/libGLU.$ac_extension"; then
30407 ac_find_libraries
=$ac_dir
30413 if test "x$ac_find_libraries" = "x" ; then
30416 for ac_dir
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
;
30418 for ac_extension
in a so sl dylib dll.a
; do
30419 if test -f "$ac_dir/libGLU.$ac_extension"; then
30420 ac_find_libraries
=$ac_dir
30426 if test "x$ac_find_libraries" != "x" ; then
30427 ac_find_libraries
="default location"
30431 if test "$ac_find_libraries" != "" ; then
30433 if test "$ac_find_libraries" = "default location"; then
30436 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30438 if test $result = 0; then
30441 ac_path_to_link
=" -L$ac_find_libraries"
30445 if test "$ac_path_to_link" != " -L/usr/lib" -a \
30446 "$ac_path_to_link" != "$LDFLAGS_GL"; then
30447 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
30451 OPENGL_LIBS
="-lGL -lGLU"
30452 echo "$as_me:$LINENO: result: yes" >&5
30453 echo "${ECHO_T}yes" >&6
30455 echo "$as_me:$LINENO: result: no" >&5
30456 echo "${ECHO_T}no" >&6
30459 echo "$as_me:$LINENO: result: no" >&5
30460 echo "${ECHO_T}no" >&6
30463 if test "$found_gl" != 1; then
30464 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
30465 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
30469 for ac_dir
in $SEARCH_LIB;
30471 for ac_extension
in a so sl dylib dll.a
; do
30472 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
30473 ac_find_libraries
=$ac_dir
30479 if test "x$ac_find_libraries" = "x" ; then
30482 for ac_dir
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
;
30484 for ac_extension
in a so sl dylib dll.a
; do
30485 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
30486 ac_find_libraries
=$ac_dir
30492 if test "x$ac_find_libraries" != "x" ; then
30493 ac_find_libraries
="default location"
30497 if test "$ac_find_libraries" != "" ; then
30499 if test "$ac_find_libraries" = "default location"; then
30502 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30504 if test $result = 0; then
30507 ac_path_to_link
=" -L$ac_find_libraries"
30511 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
30512 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
30513 echo "$as_me:$LINENO: result: yes" >&5
30514 echo "${ECHO_T}yes" >&6
30516 echo "$as_me:$LINENO: result: no" >&5
30517 echo "${ECHO_T}no" >&6
30525 if test "x$OPENGL_LIBS" = "x"; then
30526 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
30527 echo "$as_me: error: OpenGL libraries not available" >&2;}
30528 { (exit 1); exit 1; }; }
30532 if test "$wxUSE_OPENGL" = "yes"; then
30534 cat >>confdefs.h
<<\_ACEOF
30535 #define wxUSE_OPENGL 1
30538 cat >>confdefs.h
<<\_ACEOF
30539 #define wxUSE_GLCANVAS 1
30542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
30547 if test -n "$TOOLKIT" ; then
30548 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
30553 if test "$wxUSE_SHARED" = "yes"; then
30557 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
30558 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
30563 if test "$wxUSE_SHARED" = "yes"; then
30566 found_versioning
=no
30569 if test $found_versioning = no
; then
30570 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
30571 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
30572 if test "${wx_cv_version_script+set}" = set; then
30573 echo $ECHO_N "(cached) $ECHO_C" >&6
30576 echo "VER_1 { *; };" >conftest.sym
30577 echo "int main() { return 0; }" >conftest.cpp
30580 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30581 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
30582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30583 (eval $ac_try) 2>&5
30585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586 (exit $ac_status); }; } ; then
30587 if test -s conftest.stderr
; then
30588 wx_cv_version_script
=no
30590 wx_cv_version_script
=yes
30593 wx_cv_version_script
=no
30596 if test $wx_cv_version_script = yes
30598 echo "struct B { virtual ~B() { } }; \
30599 struct D : public B { }; \
30600 void F() { D d; }" > conftest.cpp
30603 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30604 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
30605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30606 (eval $ac_try) 2>&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); }; } &&
30611 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30612 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
30613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30614 (eval $ac_try) 2>&5
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); }; }
30620 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30621 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
30622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30623 (eval $ac_try) 2>&5
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); }; }
30628 wx_cv_version_script
=yes
30630 wx_cv_version_script
=no
30635 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
30636 rm -f conftest1.output conftest2.output conftest3.output
30639 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
30640 echo "${ECHO_T}$wx_cv_version_script" >&6
30641 if test $wx_cv_version_script = yes ; then
30642 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
30648 *-*-linux* | *-*-gnu* )
30649 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
30650 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30654 if test "$GCC" = yes ; then
30655 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
30657 saveLdflags
="$LDFLAGS"
30658 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
30659 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
30660 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
30661 cat >conftest.
$ac_ext <<_ACEOF
30664 cat confdefs.h
>>conftest.
$ac_ext
30665 cat >>conftest.
$ac_ext <<_ACEOF
30666 /* end confdefs.h. */
30676 rm -f conftest.
$ac_objext conftest
$ac_exeext
30677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30678 (eval $ac_link) 2>conftest.er1
30680 grep -v '^ *+' conftest.er1
>conftest.err
30682 cat conftest.err
>&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); } &&
30685 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30687 (eval $ac_try) 2>&5
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); }; } &&
30691 { ac_try
='test -s conftest$ac_exeext'
30692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30693 (eval $ac_try) 2>&5
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); }; }; then
30698 echo "$as_me:$LINENO: result: yes" >&5
30699 echo "${ECHO_T}yes" >&6
30700 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
30701 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30704 echo "$as_me: failed program was:" >&5
30705 sed 's/^/| /' conftest.
$ac_ext >&5
30708 echo "$as_me:$LINENO: result: no" >&5
30709 echo "${ECHO_T}no" >&6
30710 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
30711 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
30712 LDFLAGS
="$saveLdflags -Wl,-R,/"
30713 cat >conftest.
$ac_ext <<_ACEOF
30716 cat confdefs.h
>>conftest.
$ac_ext
30717 cat >>conftest.
$ac_ext <<_ACEOF
30718 /* end confdefs.h. */
30728 rm -f conftest.
$ac_objext conftest
$ac_exeext
30729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30730 (eval $ac_link) 2>conftest.er1
30732 grep -v '^ *+' conftest.er1
>conftest.err
30734 cat conftest.err
>&5
30735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30736 (exit $ac_status); } &&
30737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30739 (eval $ac_try) 2>&5
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); }; } &&
30743 { ac_try
='test -s conftest$ac_exeext'
30744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745 (eval $ac_try) 2>&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); }; }; then
30750 echo "$as_me:$LINENO: result: yes" >&5
30751 echo "${ECHO_T}yes" >&6
30752 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
30753 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
30756 echo "$as_me: failed program was:" >&5
30757 sed 's/^/| /' conftest.
$ac_ext >&5
30760 echo "$as_me:$LINENO: result: no" >&5
30761 echo "${ECHO_T}no" >&6
30764 rm -f conftest.err conftest.
$ac_objext \
30765 conftest
$ac_exeext conftest.
$ac_ext
30768 rm -f conftest.err conftest.
$ac_objext \
30769 conftest
$ac_exeext conftest.
$ac_ext
30770 LDFLAGS
="$saveLdflags"
30772 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
30773 WXCONFIG_RPATH
="-R\$libdir"
30778 install_name_tool
=`which install_name_tool`
30779 if test "$install_name_tool" -a -x "$install_name_tool"; then
30780 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
30781 cat <<EOF >change-install-names
30783 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
30784 inst_cmd="install_name_tool "
30785 for i in \${libnames} ; do
30786 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
30790 chmod +x change
-install-names
30794 *-*-cygwin* | *-*-mingw32* )
30795 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30799 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
30800 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
30805 if test $wxUSE_RPATH = "no"; then
30806 SAMPLES_RPATH_FLAG
=''
30807 SAMPLES_RPATH_POSTLINK
=''
30815 config_linkage_component
="-static"
30822 lib_unicode_suffix
=
30824 if test "$wxUSE_UNICODE" = "yes"; then
30825 lib_unicode_suffix
=u
30826 WX_CHARTYPE
="unicode"
30831 WX_DEBUGTYPE
="release"
30833 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30835 WX_DEBUGTYPE
="debug"
30839 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
30840 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
30843 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30847 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30849 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30851 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30853 if test "$cross_compiling" = "yes"; then
30854 HOST_SUFFIX
="-$host_alias"
30855 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
30856 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
30859 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30860 if test "${TOOLKIT_DIR}" = "os2"; then
30861 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30863 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30868 if test "$wxUSE_COCOA" = 1; then
30872 ac_cpp
='$CPP $CPPFLAGS'
30873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30879 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30880 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30881 cat >conftest.
$ac_ext <<_ACEOF
30884 cat confdefs.h
>>conftest.
$ac_ext
30885 cat >>conftest.
$ac_ext <<_ACEOF
30886 /* end confdefs.h. */
30887 #include <AppKit/NSEvent.h>
30888 #include <CoreFoundation/CoreFoundation.h>
30898 rm -f conftest.
$ac_objext
30899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30900 (eval $ac_compile) 2>conftest.er1
30902 grep -v '^ *+' conftest.er1
>conftest.err
30904 cat conftest.err
>&5
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); } &&
30907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30909 (eval $ac_try) 2>&5
30911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30912 (exit $ac_status); }; } &&
30913 { ac_try
='test -s conftest.$ac_objext'
30914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30915 (eval $ac_try) 2>&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); }; }; then
30919 echo "$as_me:$LINENO: result: no" >&5
30920 echo "${ECHO_T}no" >&6
30922 echo "$as_me: failed program was:" >&5
30923 sed 's/^/| /' conftest.
$ac_ext >&5
30925 echo "$as_me:$LINENO: result: yes" >&5
30926 echo "${ECHO_T}yes" >&6
30927 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30928 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30929 cat >conftest.
$ac_ext <<_ACEOF
30932 cat confdefs.h
>>conftest.
$ac_ext
30933 cat >>conftest.
$ac_ext <<_ACEOF
30934 /* end confdefs.h. */
30935 #define __Point__ 1
30936 #include <AppKit/NSEvent.h>
30937 #include <CoreFoundation/CoreFoundation.h>
30947 rm -f conftest.
$ac_objext
30948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30949 (eval $ac_compile) 2>conftest.er1
30951 grep -v '^ *+' conftest.er1
>conftest.err
30953 cat conftest.err
>&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); } &&
30956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30958 (eval $ac_try) 2>&5
30960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961 (exit $ac_status); }; } &&
30962 { ac_try
='test -s conftest.$ac_objext'
30963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30964 (eval $ac_try) 2>&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); }; }; then
30968 echo "$as_me:$LINENO: result: yes" >&5
30969 echo "${ECHO_T}yes" >&6
30970 cat >>confdefs.h
<<\_ACEOF
30971 #define __Point__ 1
30976 echo "$as_me: failed program was:" >&5
30977 sed 's/^/| /' conftest.
$ac_ext >&5
30979 { { echo "$as_me:$LINENO: error: no
30980 See \`config.log' for more details." >&5
30981 echo "$as_me: error: no
30982 See \`config.log' for more details." >&2;}
30983 { (exit 1); exit 1; }; }
30986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30991 ac_cpp
='$CPP $CPPFLAGS'
30992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30998 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
30999 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31000 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31002 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31004 # Extract the first word of "Rez", so it can be a program name with args.
31005 set dummy Rez
; ac_word
=$2
31006 echo "$as_me:$LINENO: checking for $ac_word" >&5
31007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31008 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31009 echo $ECHO_N "(cached) $ECHO_C" >&6
31011 if test -n "$RESCOMP"; then
31012 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
31014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31015 for as_dir
in $PATH
31018 test -z "$as_dir" && as_dir
=.
31019 for ac_exec_ext
in '' $ac_executable_extensions; do
31020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31021 ac_cv_prog_RESCOMP
="Rez"
31022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31028 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
31031 RESCOMP
=$ac_cv_prog_RESCOMP
31032 if test -n "$RESCOMP"; then
31033 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31034 echo "${ECHO_T}$RESCOMP" >&6
31036 echo "$as_me:$LINENO: result: no" >&5
31037 echo "${ECHO_T}no" >&6
31040 # Extract the first word of "DeRez", so it can be a program name with args.
31041 set dummy DeRez
; ac_word
=$2
31042 echo "$as_me:$LINENO: checking for $ac_word" >&5
31043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31044 if test "${ac_cv_prog_DEREZ+set}" = set; then
31045 echo $ECHO_N "(cached) $ECHO_C" >&6
31047 if test -n "$DEREZ"; then
31048 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
31050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31051 for as_dir
in $PATH
31054 test -z "$as_dir" && as_dir
=.
31055 for ac_exec_ext
in '' $ac_executable_extensions; do
31056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31057 ac_cv_prog_DEREZ
="DeRez"
31058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31064 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
31067 DEREZ
=$ac_cv_prog_DEREZ
31068 if test -n "$DEREZ"; then
31069 echo "$as_me:$LINENO: result: $DEREZ" >&5
31070 echo "${ECHO_T}$DEREZ" >&6
31072 echo "$as_me:$LINENO: result: no" >&5
31073 echo "${ECHO_T}no" >&6
31076 # Extract the first word of "SetFile", so it can be a program name with args.
31077 set dummy SetFile
; ac_word
=$2
31078 echo "$as_me:$LINENO: checking for $ac_word" >&5
31079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31080 if test "${ac_cv_prog_SETFILE+set}" = set; then
31081 echo $ECHO_N "(cached) $ECHO_C" >&6
31083 if test -n "$SETFILE"; then
31084 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
31086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31087 for as_dir
in $PATH
31090 test -z "$as_dir" && as_dir
=.
31091 for ac_exec_ext
in '' $ac_executable_extensions; do
31092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31093 ac_cv_prog_SETFILE
="SetFile"
31094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31100 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
31103 SETFILE
=$ac_cv_prog_SETFILE
31104 if test -n "$SETFILE"; then
31105 echo "$as_me:$LINENO: result: $SETFILE" >&5
31106 echo "${ECHO_T}$SETFILE" >&6
31108 echo "$as_me:$LINENO: result: no" >&5
31109 echo "${ECHO_T}no" >&6
31113 MACSETFILE
="\$(SETFILE)"
31115 if test "$wxUSE_MAC" = 1; then
31116 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
31118 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
31120 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31121 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31125 MACRESWXCONFIG
="@true"
31127 if test "$wxUSE_PM" = 1; then
31128 MACRESCOMP
="emxbind -ep"
31136 echo "$as_me:$LINENO: checking for mode_t" >&5
31137 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31138 if test "${ac_cv_type_mode_t+set}" = set; then
31139 echo $ECHO_N "(cached) $ECHO_C" >&6
31141 cat >conftest.
$ac_ext <<_ACEOF
31144 cat confdefs.h
>>conftest.
$ac_ext
31145 cat >>conftest.
$ac_ext <<_ACEOF
31146 /* end confdefs.h. */
31147 $ac_includes_default
31153 if (sizeof (mode_t))
31159 rm -f conftest.
$ac_objext
31160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31161 (eval $ac_compile) 2>conftest.er1
31163 grep -v '^ *+' conftest.er1
>conftest.err
31165 cat conftest.err
>&5
31166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31167 (exit $ac_status); } &&
31168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31170 (eval $ac_try) 2>&5
31172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 (exit $ac_status); }; } &&
31174 { ac_try
='test -s conftest.$ac_objext'
31175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31176 (eval $ac_try) 2>&5
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); }; }; then
31180 ac_cv_type_mode_t
=yes
31182 echo "$as_me: failed program was:" >&5
31183 sed 's/^/| /' conftest.
$ac_ext >&5
31185 ac_cv_type_mode_t
=no
31187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31189 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31190 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31191 if test $ac_cv_type_mode_t = yes; then
31195 cat >>confdefs.h
<<_ACEOF
31201 echo "$as_me:$LINENO: checking for off_t" >&5
31202 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31203 if test "${ac_cv_type_off_t+set}" = set; then
31204 echo $ECHO_N "(cached) $ECHO_C" >&6
31206 cat >conftest.
$ac_ext <<_ACEOF
31209 cat confdefs.h
>>conftest.
$ac_ext
31210 cat >>conftest.
$ac_ext <<_ACEOF
31211 /* end confdefs.h. */
31212 $ac_includes_default
31218 if (sizeof (off_t))
31224 rm -f conftest.
$ac_objext
31225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31226 (eval $ac_compile) 2>conftest.er1
31228 grep -v '^ *+' conftest.er1
>conftest.err
31230 cat conftest.err
>&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); } &&
31233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31235 (eval $ac_try) 2>&5
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); }; } &&
31239 { ac_try
='test -s conftest.$ac_objext'
31240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241 (eval $ac_try) 2>&5
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); }; }; then
31245 ac_cv_type_off_t
=yes
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.
$ac_ext >&5
31250 ac_cv_type_off_t
=no
31252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31254 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31255 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31256 if test $ac_cv_type_off_t = yes; then
31260 cat >>confdefs.h
<<_ACEOF
31266 echo "$as_me:$LINENO: checking for pid_t" >&5
31267 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
31268 if test "${ac_cv_type_pid_t+set}" = set; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31271 cat >conftest.
$ac_ext <<_ACEOF
31274 cat confdefs.h
>>conftest.
$ac_ext
31275 cat >>conftest.
$ac_ext <<_ACEOF
31276 /* end confdefs.h. */
31277 $ac_includes_default
31283 if (sizeof (pid_t))
31289 rm -f conftest.
$ac_objext
31290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31291 (eval $ac_compile) 2>conftest.er1
31293 grep -v '^ *+' conftest.er1
>conftest.err
31295 cat conftest.err
>&5
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); } &&
31298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; } &&
31304 { ac_try
='test -s conftest.$ac_objext'
31305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31306 (eval $ac_try) 2>&5
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); }; }; then
31310 ac_cv_type_pid_t
=yes
31312 echo "$as_me: failed program was:" >&5
31313 sed 's/^/| /' conftest.
$ac_ext >&5
31315 ac_cv_type_pid_t
=no
31317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31319 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31320 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
31321 if test $ac_cv_type_pid_t = yes; then
31325 cat >>confdefs.h
<<_ACEOF
31331 echo "$as_me:$LINENO: checking for size_t" >&5
31332 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
31333 if test "${ac_cv_type_size_t+set}" = set; then
31334 echo $ECHO_N "(cached) $ECHO_C" >&6
31336 cat >conftest.
$ac_ext <<_ACEOF
31339 cat confdefs.h
>>conftest.
$ac_ext
31340 cat >>conftest.
$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31342 $ac_includes_default
31348 if (sizeof (size_t))
31354 rm -f conftest.
$ac_objext
31355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31356 (eval $ac_compile) 2>conftest.er1
31358 grep -v '^ *+' conftest.er1
>conftest.err
31360 cat conftest.err
>&5
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); } &&
31363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31365 (eval $ac_try) 2>&5
31367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368 (exit $ac_status); }; } &&
31369 { ac_try
='test -s conftest.$ac_objext'
31370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31371 (eval $ac_try) 2>&5
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); }; }; then
31375 ac_cv_type_size_t
=yes
31377 echo "$as_me: failed program was:" >&5
31378 sed 's/^/| /' conftest.
$ac_ext >&5
31380 ac_cv_type_size_t
=no
31382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31384 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
31385 echo "${ECHO_T}$ac_cv_type_size_t" >&6
31386 if test $ac_cv_type_size_t = yes; then
31390 cat >>confdefs.h
<<_ACEOF
31391 #define size_t unsigned
31396 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
31397 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
31398 if test "${ac_cv_type_uid_t+set}" = set; then
31399 echo $ECHO_N "(cached) $ECHO_C" >&6
31401 cat >conftest.
$ac_ext <<_ACEOF
31404 cat confdefs.h
>>conftest.
$ac_ext
31405 cat >>conftest.
$ac_ext <<_ACEOF
31406 /* end confdefs.h. */
31407 #include <sys/types.h>
31410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31411 $EGREP "uid_t" >/dev
/null
2>&1; then
31412 ac_cv_type_uid_t
=yes
31414 ac_cv_type_uid_t
=no
31419 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
31420 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
31421 if test $ac_cv_type_uid_t = no
; then
31423 cat >>confdefs.h
<<\_ACEOF
31428 cat >>confdefs.h
<<\_ACEOF
31435 echo "$as_me:$LINENO: checking for ssize_t" >&5
31436 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
31437 if test "${ac_cv_type_ssize_t+set}" = set; then
31438 echo $ECHO_N "(cached) $ECHO_C" >&6
31440 cat >conftest.
$ac_ext <<_ACEOF
31443 cat confdefs.h
>>conftest.
$ac_ext
31444 cat >>conftest.
$ac_ext <<_ACEOF
31445 /* end confdefs.h. */
31446 $ac_includes_default
31452 if (sizeof (ssize_t))
31458 rm -f conftest.
$ac_objext
31459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31460 (eval $ac_compile) 2>conftest.er1
31462 grep -v '^ *+' conftest.er1
>conftest.err
31464 cat conftest.err
>&5
31465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31466 (exit $ac_status); } &&
31467 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31469 (eval $ac_try) 2>&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); }; } &&
31473 { ac_try
='test -s conftest.$ac_objext'
31474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31475 (eval $ac_try) 2>&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); }; }; then
31479 ac_cv_type_ssize_t
=yes
31481 echo "$as_me: failed program was:" >&5
31482 sed 's/^/| /' conftest.
$ac_ext >&5
31484 ac_cv_type_ssize_t
=no
31486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31488 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
31489 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
31490 if test $ac_cv_type_ssize_t = yes; then
31492 cat >>confdefs.h
<<_ACEOF
31493 #define HAVE_SSIZE_T 1
31503 ac_cpp
='$CXXCPP $CPPFLAGS'
31504 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31508 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
31509 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
31510 if test "${wx_cv_size_t_is_uint+set}" = set; then
31511 echo $ECHO_N "(cached) $ECHO_C" >&6
31514 cat >conftest.
$ac_ext <<_ACEOF
31517 cat confdefs.h
>>conftest.
$ac_ext
31518 cat >>conftest.
$ac_ext <<_ACEOF
31519 /* end confdefs.h. */
31520 #include <stddef.h>
31527 struct Foo { void foo(size_t); void foo(unsigned int); };
31535 rm -f conftest.
$ac_objext
31536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31537 (eval $ac_compile) 2>conftest.er1
31539 grep -v '^ *+' conftest.er1
>conftest.err
31541 cat conftest.err
>&5
31542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31543 (exit $ac_status); } &&
31544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31546 (eval $ac_try) 2>&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); }; } &&
31550 { ac_try
='test -s conftest.$ac_objext'
31551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31552 (eval $ac_try) 2>&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); }; }; then
31556 wx_cv_size_t_is_uint
=no
31558 echo "$as_me: failed program was:" >&5
31559 sed 's/^/| /' conftest.
$ac_ext >&5
31561 wx_cv_size_t_is_uint
=yes
31564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31568 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
31569 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
31571 if test "$wx_cv_size_t_is_uint" = "yes"; then
31572 cat >>confdefs.h
<<\_ACEOF
31573 #define wxSIZE_T_IS_UINT 1
31577 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
31578 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
31579 if test "${wx_cv_size_t_is_ulong+set}" = set; then
31580 echo $ECHO_N "(cached) $ECHO_C" >&6
31582 cat >conftest.
$ac_ext <<_ACEOF
31585 cat confdefs.h
>>conftest.
$ac_ext
31586 cat >>conftest.
$ac_ext <<_ACEOF
31587 /* end confdefs.h. */
31588 #include <stddef.h>
31595 struct Foo { void foo(size_t); void foo(unsigned long); };
31603 rm -f conftest.
$ac_objext
31604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31605 (eval $ac_compile) 2>conftest.er1
31607 grep -v '^ *+' conftest.er1
>conftest.err
31609 cat conftest.err
>&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); } &&
31612 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31614 (eval $ac_try) 2>&5
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; } &&
31618 { ac_try
='test -s conftest.$ac_objext'
31619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620 (eval $ac_try) 2>&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); }; }; then
31624 wx_cv_size_t_is_ulong
=no
31626 echo "$as_me: failed program was:" >&5
31627 sed 's/^/| /' conftest.
$ac_ext >&5
31629 wx_cv_size_t_is_ulong
=yes
31632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31635 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
31636 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
31638 if test "$wx_cv_size_t_is_ulong" = "yes"; then
31639 cat >>confdefs.h
<<\_ACEOF
31640 #define wxSIZE_T_IS_ULONG 1
31647 ac_cpp
='$CPP $CPPFLAGS'
31648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31654 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
31655 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
31656 if test "${wx_cv_struct_pw_gecos+set}" = set; then
31657 echo $ECHO_N "(cached) $ECHO_C" >&6
31660 cat >conftest.
$ac_ext <<_ACEOF
31663 cat confdefs.h
>>conftest.
$ac_ext
31664 cat >>conftest.
$ac_ext <<_ACEOF
31665 /* end confdefs.h. */
31679 rm -f conftest.
$ac_objext
31680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31681 (eval $ac_compile) 2>conftest.er1
31683 grep -v '^ *+' conftest.er1
>conftest.err
31685 cat conftest.err
>&5
31686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31687 (exit $ac_status); } &&
31688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31690 (eval $ac_try) 2>&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); }; } &&
31694 { ac_try
='test -s conftest.$ac_objext'
31695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31696 (eval $ac_try) 2>&5
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); }; }; then
31701 wx_cv_struct_pw_gecos
=yes
31704 echo "$as_me: failed program was:" >&5
31705 sed 's/^/| /' conftest.
$ac_ext >&5
31708 wx_cv_struct_pw_gecos
=no
31712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31716 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
31717 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
31719 if test "$wx_cv_struct_pw_gecos" = "yes"; then
31720 cat >>confdefs.h
<<\_ACEOF
31721 #define HAVE_PW_GECOS 1
31727 if test "$wxUSE_WCHAR_T" = "yes"; then
31728 cat >>confdefs.h
<<\_ACEOF
31729 #define wxUSE_WCHAR_T 1
31736 for ac_func
in wcslen
31738 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31739 echo "$as_me:$LINENO: checking for $ac_func" >&5
31740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31741 if eval "test \"\${$as_ac_var+set}\" = set"; then
31742 echo $ECHO_N "(cached) $ECHO_C" >&6
31744 cat >conftest.
$ac_ext <<_ACEOF
31747 cat confdefs.h
>>conftest.
$ac_ext
31748 cat >>conftest.
$ac_ext <<_ACEOF
31749 /* end confdefs.h. */
31750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31752 #define $ac_func innocuous_$ac_func
31754 /* System header to define __stub macros and hopefully few prototypes,
31755 which can conflict with char $ac_func (); below.
31756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31757 <limits.h> exists even on freestanding compilers. */
31760 # include <limits.h>
31762 # include <assert.h>
31767 /* Override any gcc2 internal prototype to avoid an error. */
31772 /* We use char because int might match the return type of a gcc2
31773 builtin and then its argument prototype would still apply. */
31775 /* The GNU C library defines this for functions which it implements
31776 to always fail with ENOSYS. Some functions are actually named
31777 something starting with __ and the normal name is an alias. */
31778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31781 char (*f) () = $ac_func;
31790 return f != $ac_func;
31795 rm -f conftest.
$ac_objext conftest
$ac_exeext
31796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31797 (eval $ac_link) 2>conftest.er1
31799 grep -v '^ *+' conftest.er1
>conftest.err
31801 cat conftest.err
>&5
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); } &&
31804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; } &&
31810 { ac_try
='test -s conftest$ac_exeext'
31811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31812 (eval $ac_try) 2>&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); }; }; then
31816 eval "$as_ac_var=yes"
31818 echo "$as_me: failed program was:" >&5
31819 sed 's/^/| /' conftest.
$ac_ext >&5
31821 eval "$as_ac_var=no"
31823 rm -f conftest.err conftest.
$ac_objext \
31824 conftest
$ac_exeext conftest.
$ac_ext
31826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31828 if test `eval echo '${'$as_ac_var'}'` = yes; then
31829 cat >>confdefs.h
<<_ACEOF
31830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31837 if test "$WCSLEN_FOUND" = 0; then
31838 if test "$TOOLKIT" = "MSW"; then
31839 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31840 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31841 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31842 echo $ECHO_N "(cached) $ECHO_C" >&6
31844 ac_check_lib_save_LIBS
=$LIBS
31845 LIBS
="-lmsvcrt $LIBS"
31846 cat >conftest.
$ac_ext <<_ACEOF
31849 cat confdefs.h
>>conftest.
$ac_ext
31850 cat >>conftest.
$ac_ext <<_ACEOF
31851 /* end confdefs.h. */
31853 /* Override any gcc2 internal prototype to avoid an error. */
31857 /* We use char because int might match the return type of a gcc2
31858 builtin and then its argument prototype would still apply. */
31868 rm -f conftest.
$ac_objext conftest
$ac_exeext
31869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31870 (eval $ac_link) 2>conftest.er1
31872 grep -v '^ *+' conftest.er1
>conftest.err
31874 cat conftest.err
>&5
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); } &&
31877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31879 (eval $ac_try) 2>&5
31881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882 (exit $ac_status); }; } &&
31883 { ac_try
='test -s conftest$ac_exeext'
31884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31885 (eval $ac_try) 2>&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); }; }; then
31889 ac_cv_lib_msvcrt_wcslen
=yes
31891 echo "$as_me: failed program was:" >&5
31892 sed 's/^/| /' conftest.
$ac_ext >&5
31894 ac_cv_lib_msvcrt_wcslen
=no
31896 rm -f conftest.err conftest.
$ac_objext \
31897 conftest
$ac_exeext conftest.
$ac_ext
31898 LIBS
=$ac_check_lib_save_LIBS
31900 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31901 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31902 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31907 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31908 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31909 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31910 echo $ECHO_N "(cached) $ECHO_C" >&6
31912 ac_check_lib_save_LIBS
=$LIBS
31914 cat >conftest.
$ac_ext <<_ACEOF
31917 cat confdefs.h
>>conftest.
$ac_ext
31918 cat >>conftest.
$ac_ext <<_ACEOF
31919 /* end confdefs.h. */
31921 /* Override any gcc2 internal prototype to avoid an error. */
31925 /* We use char because int might match the return type of a gcc2
31926 builtin and then its argument prototype would still apply. */
31936 rm -f conftest.
$ac_objext conftest
$ac_exeext
31937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31938 (eval $ac_link) 2>conftest.er1
31940 grep -v '^ *+' conftest.er1
>conftest.err
31942 cat conftest.err
>&5
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); } &&
31945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31947 (eval $ac_try) 2>&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); }; } &&
31951 { ac_try
='test -s conftest$ac_exeext'
31952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31953 (eval $ac_try) 2>&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); }; }; then
31957 ac_cv_lib_w_wcslen
=yes
31959 echo "$as_me: failed program was:" >&5
31960 sed 's/^/| /' conftest.
$ac_ext >&5
31962 ac_cv_lib_w_wcslen
=no
31964 rm -f conftest.err conftest.
$ac_objext \
31965 conftest
$ac_exeext conftest.
$ac_ext
31966 LIBS
=$ac_check_lib_save_LIBS
31968 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
31969 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
31970 if test $ac_cv_lib_w_wcslen = yes; then
31980 if test "$WCSLEN_FOUND" = 1; then
31981 cat >>confdefs.h
<<\_ACEOF
31982 #define HAVE_WCSLEN 1
31987 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
31988 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
31991 echo "$as_me:$LINENO: checking for mbstate_t" >&5
31992 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
31993 if test "${ac_cv_type_mbstate_t+set}" = set; then
31994 echo $ECHO_N "(cached) $ECHO_C" >&6
31996 cat >conftest.
$ac_ext <<_ACEOF
31999 cat confdefs.h
>>conftest.
$ac_ext
32000 cat >>conftest.
$ac_ext <<_ACEOF
32001 /* end confdefs.h. */
32007 if ((mbstate_t *) 0)
32009 if (sizeof (mbstate_t))
32015 rm -f conftest.
$ac_objext
32016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32017 (eval $ac_compile) 2>conftest.er1
32019 grep -v '^ *+' conftest.er1
>conftest.err
32021 cat conftest.err
>&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); } &&
32024 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32026 (eval $ac_try) 2>&5
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 (exit $ac_status); }; } &&
32030 { ac_try
='test -s conftest.$ac_objext'
32031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32032 (eval $ac_try) 2>&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); }; }; then
32036 ac_cv_type_mbstate_t
=yes
32038 echo "$as_me: failed program was:" >&5
32039 sed 's/^/| /' conftest.
$ac_ext >&5
32041 ac_cv_type_mbstate_t
=no
32043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32045 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32046 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32047 if test $ac_cv_type_mbstate_t = yes; then
32049 cat >>confdefs.h
<<_ACEOF
32050 #define HAVE_MBSTATE_T 1
32054 for ac_func
in wcsrtombs
32056 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32057 echo "$as_me:$LINENO: checking for $ac_func" >&5
32058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32059 if eval "test \"\${$as_ac_var+set}\" = set"; then
32060 echo $ECHO_N "(cached) $ECHO_C" >&6
32062 cat >conftest.
$ac_ext <<_ACEOF
32065 cat confdefs.h
>>conftest.
$ac_ext
32066 cat >>conftest.
$ac_ext <<_ACEOF
32067 /* end confdefs.h. */
32068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32070 #define $ac_func innocuous_$ac_func
32072 /* System header to define __stub macros and hopefully few prototypes,
32073 which can conflict with char $ac_func (); below.
32074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32075 <limits.h> exists even on freestanding compilers. */
32078 # include <limits.h>
32080 # include <assert.h>
32085 /* Override any gcc2 internal prototype to avoid an error. */
32090 /* We use char because int might match the return type of a gcc2
32091 builtin and then its argument prototype would still apply. */
32093 /* The GNU C library defines this for functions which it implements
32094 to always fail with ENOSYS. Some functions are actually named
32095 something starting with __ and the normal name is an alias. */
32096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32099 char (*f) () = $ac_func;
32108 return f != $ac_func;
32113 rm -f conftest.
$ac_objext conftest
$ac_exeext
32114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32115 (eval $ac_link) 2>conftest.er1
32117 grep -v '^ *+' conftest.er1
>conftest.err
32119 cat conftest.err
>&5
32120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121 (exit $ac_status); } &&
32122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32124 (eval $ac_try) 2>&5
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); }; } &&
32128 { ac_try
='test -s conftest$ac_exeext'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; }; then
32134 eval "$as_ac_var=yes"
32136 echo "$as_me: failed program was:" >&5
32137 sed 's/^/| /' conftest.
$ac_ext >&5
32139 eval "$as_ac_var=no"
32141 rm -f conftest.err conftest.
$ac_objext \
32142 conftest
$ac_exeext conftest.
$ac_ext
32144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32146 if test `eval echo '${'$as_ac_var'}'` = yes; then
32147 cat >>confdefs.h
<<_ACEOF
32148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32157 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32158 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32164 ac_cpp
='$CXXCPP $CPPFLAGS'
32165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32172 for ac_func
in snprintf vsnprintf
32174 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32175 echo "$as_me:$LINENO: checking for $ac_func" >&5
32176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32177 if eval "test \"\${$as_ac_var+set}\" = set"; then
32178 echo $ECHO_N "(cached) $ECHO_C" >&6
32180 cat >conftest.
$ac_ext <<_ACEOF
32183 cat confdefs.h
>>conftest.
$ac_ext
32184 cat >>conftest.
$ac_ext <<_ACEOF
32185 /* end confdefs.h. */
32186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32188 #define $ac_func innocuous_$ac_func
32190 /* System header to define __stub macros and hopefully few prototypes,
32191 which can conflict with char $ac_func (); below.
32192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32193 <limits.h> exists even on freestanding compilers. */
32196 # include <limits.h>
32198 # include <assert.h>
32203 /* Override any gcc2 internal prototype to avoid an error. */
32208 /* We use char because int might match the return type of a gcc2
32209 builtin and then its argument prototype would still apply. */
32211 /* The GNU C library defines this for functions which it implements
32212 to always fail with ENOSYS. Some functions are actually named
32213 something starting with __ and the normal name is an alias. */
32214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32217 char (*f) () = $ac_func;
32226 return f != $ac_func;
32231 rm -f conftest.
$ac_objext conftest
$ac_exeext
32232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32233 (eval $ac_link) 2>conftest.er1
32235 grep -v '^ *+' conftest.er1
>conftest.err
32237 cat conftest.err
>&5
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); } &&
32240 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32242 (eval $ac_try) 2>&5
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); }; } &&
32246 { ac_try
='test -s conftest$ac_exeext'
32247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32248 (eval $ac_try) 2>&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); }; }; then
32252 eval "$as_ac_var=yes"
32254 echo "$as_me: failed program was:" >&5
32255 sed 's/^/| /' conftest.
$ac_ext >&5
32257 eval "$as_ac_var=no"
32259 rm -f conftest.err conftest.
$ac_objext \
32260 conftest
$ac_exeext conftest.
$ac_ext
32262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32264 if test `eval echo '${'$as_ac_var'}'` = yes; then
32265 cat >>confdefs.h
<<_ACEOF
32266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32273 if test "$ac_cv_func_vsnprintf" = "yes"; then
32274 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
32275 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
32276 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
32277 echo $ECHO_N "(cached) $ECHO_C" >&6
32280 cat >conftest.
$ac_ext <<_ACEOF
32283 cat confdefs.h
>>conftest.
$ac_ext
32284 cat >>conftest.
$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32288 #include <stdarg.h>
32290 #if __MSL__ >= 0x6000
32292 using namespace std;
32302 vsnprintf(buf, 10u, "%s", ap);
32308 rm -f conftest.
$ac_objext
32309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32310 (eval $ac_compile) 2>conftest.er1
32312 grep -v '^ *+' conftest.er1
>conftest.err
32314 cat conftest.err
>&5
32315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316 (exit $ac_status); } &&
32317 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
32323 { ac_try
='test -s conftest.$ac_objext'
32324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32325 (eval $ac_try) 2>&5
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); }; }; then
32329 wx_cv_func_vsnprintf_decl
=yes
32331 echo "$as_me: failed program was:" >&5
32332 sed 's/^/| /' conftest.
$ac_ext >&5
32334 wx_cv_func_vsnprintf_decl
=no
32337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32341 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
32342 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
32344 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
32345 cat >>confdefs.h
<<\_ACEOF
32346 #define HAVE_VSNPRINTF_DECL 1
32350 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
32351 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
32352 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
32353 echo $ECHO_N "(cached) $ECHO_C" >&6
32356 cat >conftest.
$ac_ext <<_ACEOF
32359 cat confdefs.h
>>conftest.
$ac_ext
32360 cat >>conftest.
$ac_ext <<_ACEOF
32361 /* end confdefs.h. */
32364 #include <stdarg.h>
32366 #if __MSL__ >= 0x6000
32368 using namespace std;
32378 const char *fmt = "%s";
32379 vsnprintf(buf, 10u, fmt, ap);
32385 rm -f conftest.
$ac_objext
32386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32387 (eval $ac_compile) 2>conftest.er1
32389 grep -v '^ *+' conftest.er1
>conftest.err
32391 cat conftest.err
>&5
32392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32393 (exit $ac_status); } &&
32394 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32396 (eval $ac_try) 2>&5
32398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32399 (exit $ac_status); }; } &&
32400 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
32406 wx_cv_func_broken_vsnprintf_decl
=no
32408 echo "$as_me: failed program was:" >&5
32409 sed 's/^/| /' conftest.
$ac_ext >&5
32411 wx_cv_func_broken_vsnprintf_decl
=yes
32414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32418 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
32419 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
32421 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
32422 cat >>confdefs.h
<<\_ACEOF
32423 #define HAVE_BROKEN_VSNPRINTF_DECL 1
32430 if test "$ac_cv_func_snprintf" = "yes"; then
32431 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
32432 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
32433 if test "${wx_cv_func_snprintf_decl+set}" = set; then
32434 echo $ECHO_N "(cached) $ECHO_C" >&6
32437 cat >conftest.
$ac_ext <<_ACEOF
32440 cat confdefs.h
>>conftest.
$ac_ext
32441 cat >>conftest.
$ac_ext <<_ACEOF
32442 /* end confdefs.h. */
32445 #include <stdarg.h>
32447 #if __MSL__ >= 0x6000
32449 using namespace std;
32458 snprintf(buf, 10u, "%s", "wx");
32464 rm -f conftest.
$ac_objext
32465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32466 (eval $ac_compile) 2>conftest.er1
32468 grep -v '^ *+' conftest.er1
>conftest.err
32470 cat conftest.err
>&5
32471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472 (exit $ac_status); } &&
32473 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475 (eval $ac_try) 2>&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); }; } &&
32479 { ac_try
='test -s conftest.$ac_objext'
32480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32481 (eval $ac_try) 2>&5
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); }; }; then
32485 wx_cv_func_snprintf_decl
=yes
32487 echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.
$ac_ext >&5
32490 wx_cv_func_snprintf_decl
=no
32493 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32497 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
32498 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
32500 if test "$wx_cv_func_snprintf_decl" = "yes"; then
32501 cat >>confdefs.h
<<\_ACEOF
32502 #define HAVE_SNPRINTF_DECL 1
32506 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
32507 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
32508 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
32509 echo $ECHO_N "(cached) $ECHO_C" >&6
32512 cat >conftest.
$ac_ext <<_ACEOF
32515 cat confdefs.h
>>conftest.
$ac_ext
32516 cat >>conftest.
$ac_ext <<_ACEOF
32517 /* end confdefs.h. */
32520 #include <stdarg.h>
32522 #if __MSL__ >= 0x6000
32524 using namespace std;
32533 const char *fmt = "%s";
32534 snprintf(buf, 10u, fmt, "wx");
32540 rm -f conftest.
$ac_objext
32541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32542 (eval $ac_compile) 2>conftest.er1
32544 grep -v '^ *+' conftest.er1
>conftest.err
32546 cat conftest.err
>&5
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); } &&
32549 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32551 (eval $ac_try) 2>&5
32553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32554 (exit $ac_status); }; } &&
32555 { ac_try
='test -s conftest.$ac_objext'
32556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32557 (eval $ac_try) 2>&5
32559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32560 (exit $ac_status); }; }; then
32561 wx_cv_func_broken_snprintf_decl
=no
32563 echo "$as_me: failed program was:" >&5
32564 sed 's/^/| /' conftest.
$ac_ext >&5
32566 wx_cv_func_broken_snprintf_decl
=yes
32569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32573 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
32574 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
32576 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
32577 cat >>confdefs.h
<<\_ACEOF
32578 #define HAVE_BROKEN_SNPRINTF_DECL 1
32585 if test "$wxUSE_UNICODE" = yes; then
32592 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
32594 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32595 echo "$as_me:$LINENO: checking for $ac_func" >&5
32596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32597 if eval "test \"\${$as_ac_var+set}\" = set"; then
32598 echo $ECHO_N "(cached) $ECHO_C" >&6
32600 cat >conftest.
$ac_ext <<_ACEOF
32603 cat confdefs.h
>>conftest.
$ac_ext
32604 cat >>conftest.
$ac_ext <<_ACEOF
32605 /* end confdefs.h. */
32606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32608 #define $ac_func innocuous_$ac_func
32610 /* System header to define __stub macros and hopefully few prototypes,
32611 which can conflict with char $ac_func (); below.
32612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32613 <limits.h> exists even on freestanding compilers. */
32616 # include <limits.h>
32618 # include <assert.h>
32623 /* Override any gcc2 internal prototype to avoid an error. */
32628 /* We use char because int might match the return type of a gcc2
32629 builtin and then its argument prototype would still apply. */
32631 /* The GNU C library defines this for functions which it implements
32632 to always fail with ENOSYS. Some functions are actually named
32633 something starting with __ and the normal name is an alias. */
32634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32637 char (*f) () = $ac_func;
32646 return f != $ac_func;
32651 rm -f conftest.
$ac_objext conftest
$ac_exeext
32652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32653 (eval $ac_link) 2>conftest.er1
32655 grep -v '^ *+' conftest.er1
>conftest.err
32657 cat conftest.err
>&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); } &&
32660 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32662 (eval $ac_try) 2>&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); }; } &&
32666 { ac_try
='test -s conftest$ac_exeext'
32667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32668 (eval $ac_try) 2>&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); }; }; then
32672 eval "$as_ac_var=yes"
32674 echo "$as_me: failed program was:" >&5
32675 sed 's/^/| /' conftest.
$ac_ext >&5
32677 eval "$as_ac_var=no"
32679 rm -f conftest.err conftest.
$ac_objext \
32680 conftest
$ac_exeext conftest.
$ac_ext
32682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32684 if test `eval echo '${'$as_ac_var'}'` = yes; then
32685 cat >>confdefs.h
<<_ACEOF
32686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32693 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
32694 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
32695 cat >conftest.
$ac_ext <<_ACEOF
32698 cat confdefs.h
>>conftest.
$ac_ext
32699 cat >>conftest.
$ac_ext <<_ACEOF
32700 /* end confdefs.h. */
32710 rm -f conftest.
$ac_objext
32711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32712 (eval $ac_compile) 2>conftest.er1
32714 grep -v '^ *+' conftest.er1
>conftest.err
32716 cat conftest.err
>&5
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); } &&
32719 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32721 (eval $ac_try) 2>&5
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); }; } &&
32725 { ac_try
='test -s conftest.$ac_objext'
32726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32727 (eval $ac_try) 2>&5
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); }; }; then
32731 echo "$as_me:$LINENO: result: yes" >&5
32732 echo "${ECHO_T}yes" >&6
32733 cat >>confdefs.h
<<\_ACEOF
32734 #define HAVE__VSNWPRINTF 1
32738 echo "$as_me: failed program was:" >&5
32739 sed 's/^/| /' conftest.
$ac_ext >&5
32741 echo "$as_me:$LINENO: result: no" >&5
32742 echo "${ECHO_T}no" >&6
32744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
32748 ac_cpp
='$CPP $CPPFLAGS'
32749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32754 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
32756 for ac_func
in fnmatch
32758 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32759 echo "$as_me:$LINENO: checking for $ac_func" >&5
32760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32761 if eval "test \"\${$as_ac_var+set}\" = set"; then
32762 echo $ECHO_N "(cached) $ECHO_C" >&6
32764 cat >conftest.
$ac_ext <<_ACEOF
32767 cat confdefs.h
>>conftest.
$ac_ext
32768 cat >>conftest.
$ac_ext <<_ACEOF
32769 /* end confdefs.h. */
32770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32772 #define $ac_func innocuous_$ac_func
32774 /* System header to define __stub macros and hopefully few prototypes,
32775 which can conflict with char $ac_func (); below.
32776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32777 <limits.h> exists even on freestanding compilers. */
32780 # include <limits.h>
32782 # include <assert.h>
32787 /* Override any gcc2 internal prototype to avoid an error. */
32792 /* We use char because int might match the return type of a gcc2
32793 builtin and then its argument prototype would still apply. */
32795 /* The GNU C library defines this for functions which it implements
32796 to always fail with ENOSYS. Some functions are actually named
32797 something starting with __ and the normal name is an alias. */
32798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32801 char (*f) () = $ac_func;
32810 return f != $ac_func;
32815 rm -f conftest.
$ac_objext conftest
$ac_exeext
32816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32817 (eval $ac_link) 2>conftest.er1
32819 grep -v '^ *+' conftest.er1
>conftest.err
32821 cat conftest.err
>&5
32822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32823 (exit $ac_status); } &&
32824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32826 (eval $ac_try) 2>&5
32828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32829 (exit $ac_status); }; } &&
32830 { ac_try
='test -s conftest$ac_exeext'
32831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32832 (eval $ac_try) 2>&5
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); }; }; then
32836 eval "$as_ac_var=yes"
32838 echo "$as_me: failed program was:" >&5
32839 sed 's/^/| /' conftest.
$ac_ext >&5
32841 eval "$as_ac_var=no"
32843 rm -f conftest.err conftest.
$ac_objext \
32844 conftest
$ac_exeext conftest.
$ac_ext
32846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32848 if test `eval echo '${'$as_ac_var'}'` = yes; then
32849 cat >>confdefs.h
<<_ACEOF
32850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32858 if test "$wxUSE_FILE" = "yes"; then
32860 for ac_func
in fsync
32862 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32863 echo "$as_me:$LINENO: checking for $ac_func" >&5
32864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32865 if eval "test \"\${$as_ac_var+set}\" = set"; then
32866 echo $ECHO_N "(cached) $ECHO_C" >&6
32868 cat >conftest.
$ac_ext <<_ACEOF
32871 cat confdefs.h
>>conftest.
$ac_ext
32872 cat >>conftest.
$ac_ext <<_ACEOF
32873 /* end confdefs.h. */
32874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32876 #define $ac_func innocuous_$ac_func
32878 /* System header to define __stub macros and hopefully few prototypes,
32879 which can conflict with char $ac_func (); below.
32880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32881 <limits.h> exists even on freestanding compilers. */
32884 # include <limits.h>
32886 # include <assert.h>
32891 /* Override any gcc2 internal prototype to avoid an error. */
32896 /* We use char because int might match the return type of a gcc2
32897 builtin and then its argument prototype would still apply. */
32899 /* The GNU C library defines this for functions which it implements
32900 to always fail with ENOSYS. Some functions are actually named
32901 something starting with __ and the normal name is an alias. */
32902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32905 char (*f) () = $ac_func;
32914 return f != $ac_func;
32919 rm -f conftest.
$ac_objext conftest
$ac_exeext
32920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32921 (eval $ac_link) 2>conftest.er1
32923 grep -v '^ *+' conftest.er1
>conftest.err
32925 cat conftest.err
>&5
32926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927 (exit $ac_status); } &&
32928 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930 (eval $ac_try) 2>&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); }; } &&
32934 { ac_try
='test -s conftest$ac_exeext'
32935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32936 (eval $ac_try) 2>&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); }; }; then
32940 eval "$as_ac_var=yes"
32942 echo "$as_me: failed program was:" >&5
32943 sed 's/^/| /' conftest.
$ac_ext >&5
32945 eval "$as_ac_var=no"
32947 rm -f conftest.err conftest.
$ac_objext \
32948 conftest
$ac_exeext conftest.
$ac_ext
32950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32952 if test `eval echo '${'$as_ac_var'}'` = yes; then
32953 cat >>confdefs.h
<<_ACEOF
32954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32963 if test "$TOOLKIT" != "MSW"; then
32969 ac_cpp
='$CXXCPP $CPPFLAGS'
32970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32977 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
32978 if test "${with_libiconv_prefix+set}" = set; then
32979 withval
="$with_libiconv_prefix"
32981 for dir
in `echo "$withval" | tr : ' '`; do
32982 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
32983 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
32988 echo "$as_me:$LINENO: checking for iconv" >&5
32989 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
32990 if test "${am_cv_func_iconv+set}" = set; then
32991 echo $ECHO_N "(cached) $ECHO_C" >&6
32994 am_cv_func_iconv
="no, consider installing GNU libiconv"
32996 cat >conftest.
$ac_ext <<_ACEOF
32999 cat confdefs.h
>>conftest.
$ac_ext
33000 cat >>conftest.
$ac_ext <<_ACEOF
33001 /* end confdefs.h. */
33002 #include <stdlib.h>
33007 iconv_t cd = iconv_open("","");
33008 iconv(cd,NULL,NULL,NULL,NULL);
33014 rm -f conftest.
$ac_objext conftest
$ac_exeext
33015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33016 (eval $ac_link) 2>conftest.er1
33018 grep -v '^ *+' conftest.er1
>conftest.err
33020 cat conftest.err
>&5
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); } &&
33023 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33025 (eval $ac_try) 2>&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); }; } &&
33029 { ac_try
='test -s conftest$ac_exeext'
33030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33031 (eval $ac_try) 2>&5
33033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33034 (exit $ac_status); }; }; then
33035 am_cv_func_iconv
=yes
33037 echo "$as_me: failed program was:" >&5
33038 sed 's/^/| /' conftest.
$ac_ext >&5
33041 rm -f conftest.err conftest.
$ac_objext \
33042 conftest
$ac_exeext conftest.
$ac_ext
33043 if test "$am_cv_func_iconv" != yes; then
33044 am_save_LIBS
="$LIBS"
33045 LIBS
="$LIBS -liconv"
33046 cat >conftest.
$ac_ext <<_ACEOF
33049 cat confdefs.h
>>conftest.
$ac_ext
33050 cat >>conftest.
$ac_ext <<_ACEOF
33051 /* end confdefs.h. */
33052 #include <stdlib.h>
33057 iconv_t cd = iconv_open("","");
33058 iconv(cd,NULL,NULL,NULL,NULL);
33064 rm -f conftest.
$ac_objext conftest
$ac_exeext
33065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33066 (eval $ac_link) 2>conftest.er1
33068 grep -v '^ *+' conftest.er1
>conftest.err
33070 cat conftest.err
>&5
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); } &&
33073 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33075 (eval $ac_try) 2>&5
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); }; } &&
33079 { ac_try
='test -s conftest$ac_exeext'
33080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33081 (eval $ac_try) 2>&5
33083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084 (exit $ac_status); }; }; then
33085 am_cv_lib_iconv
=yes
33086 am_cv_func_iconv
=yes
33088 echo "$as_me: failed program was:" >&5
33089 sed 's/^/| /' conftest.
$ac_ext >&5
33092 rm -f conftest.err conftest.
$ac_objext \
33093 conftest
$ac_exeext conftest.
$ac_ext
33094 LIBS
="$am_save_LIBS"
33098 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33099 echo "${ECHO_T}$am_cv_func_iconv" >&6
33100 if test "$am_cv_func_iconv" = yes; then
33102 cat >>confdefs.h
<<\_ACEOF
33103 #define HAVE_ICONV 1
33106 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33107 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33108 if test "${wx_cv_func_iconv_const+set}" = set; then
33109 echo $ECHO_N "(cached) $ECHO_C" >&6
33111 cat >conftest.
$ac_ext <<_ACEOF
33114 cat confdefs.h
>>conftest.
$ac_ext
33115 cat >>conftest.
$ac_ext <<_ACEOF
33116 /* end confdefs.h. */
33118 #include <stdlib.h>
33124 #if defined(__STDC__) || defined(__cplusplus)
33125 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33138 rm -f conftest.
$ac_objext
33139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33140 (eval $ac_compile) 2>conftest.er1
33142 grep -v '^ *+' conftest.er1
>conftest.err
33144 cat conftest.err
>&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); } &&
33147 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33149 (eval $ac_try) 2>&5
33151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152 (exit $ac_status); }; } &&
33153 { ac_try
='test -s conftest.$ac_objext'
33154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33155 (eval $ac_try) 2>&5
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); }; }; then
33159 wx_cv_func_iconv_const
="no"
33161 echo "$as_me: failed program was:" >&5
33162 sed 's/^/| /' conftest.
$ac_ext >&5
33164 wx_cv_func_iconv_const
="yes"
33167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33170 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33171 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33174 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33175 iconv_const
="const"
33179 cat >>confdefs.h
<<_ACEOF
33180 #define ICONV_CONST $iconv_const
33185 if test "$am_cv_lib_iconv" = yes; then
33190 LIBS
="$LIBICONV $LIBS"
33192 ac_cpp
='$CPP $CPPFLAGS'
33193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33198 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33200 for ac_func
in sigaction
33202 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33203 echo "$as_me:$LINENO: checking for $ac_func" >&5
33204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33205 if eval "test \"\${$as_ac_var+set}\" = set"; then
33206 echo $ECHO_N "(cached) $ECHO_C" >&6
33208 cat >conftest.
$ac_ext <<_ACEOF
33211 cat confdefs.h
>>conftest.
$ac_ext
33212 cat >>conftest.
$ac_ext <<_ACEOF
33213 /* end confdefs.h. */
33214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33216 #define $ac_func innocuous_$ac_func
33218 /* System header to define __stub macros and hopefully few prototypes,
33219 which can conflict with char $ac_func (); below.
33220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33221 <limits.h> exists even on freestanding compilers. */
33224 # include <limits.h>
33226 # include <assert.h>
33231 /* Override any gcc2 internal prototype to avoid an error. */
33236 /* We use char because int might match the return type of a gcc2
33237 builtin and then its argument prototype would still apply. */
33239 /* The GNU C library defines this for functions which it implements
33240 to always fail with ENOSYS. Some functions are actually named
33241 something starting with __ and the normal name is an alias. */
33242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33245 char (*f) () = $ac_func;
33254 return f != $ac_func;
33259 rm -f conftest.
$ac_objext conftest
$ac_exeext
33260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33261 (eval $ac_link) 2>conftest.er1
33263 grep -v '^ *+' conftest.er1
>conftest.err
33265 cat conftest.err
>&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); } &&
33268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33270 (eval $ac_try) 2>&5
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); }; } &&
33274 { ac_try
='test -s conftest$ac_exeext'
33275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33276 (eval $ac_try) 2>&5
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); }; }; then
33280 eval "$as_ac_var=yes"
33282 echo "$as_me: failed program was:" >&5
33283 sed 's/^/| /' conftest.
$ac_ext >&5
33285 eval "$as_ac_var=no"
33287 rm -f conftest.err conftest.
$ac_objext \
33288 conftest
$ac_exeext conftest.
$ac_ext
33290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33292 if test `eval echo '${'$as_ac_var'}'` = yes; then
33293 cat >>confdefs.h
<<_ACEOF
33294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33301 if test "$ac_cv_func_sigaction" = "no"; then
33302 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
33303 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
33304 wxUSE_ON_FATAL_EXCEPTION
=no
33307 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
33311 ac_cpp
='$CXXCPP $CPPFLAGS'
33312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33317 echo "$as_me:$LINENO: checking for sa_handler type" >&5
33318 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
33319 if test "${wx_cv_type_sa_handler+set}" = set; then
33320 echo $ECHO_N "(cached) $ECHO_C" >&6
33323 cat >conftest.
$ac_ext <<_ACEOF
33326 cat confdefs.h
>>conftest.
$ac_ext
33327 cat >>conftest.
$ac_ext <<_ACEOF
33328 /* end confdefs.h. */
33329 #include <signal.h>
33334 extern void testSigHandler(int);
33336 struct sigaction sa;
33337 sa.sa_handler = testSigHandler;
33343 rm -f conftest.
$ac_objext
33344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33345 (eval $ac_compile) 2>conftest.er1
33347 grep -v '^ *+' conftest.er1
>conftest.err
33349 cat conftest.err
>&5
33350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33351 (exit $ac_status); } &&
33352 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33354 (eval $ac_try) 2>&5
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); }; } &&
33358 { ac_try
='test -s conftest.$ac_objext'
33359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33360 (eval $ac_try) 2>&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); }; }; then
33365 wx_cv_type_sa_handler
=int
33368 echo "$as_me: failed program was:" >&5
33369 sed 's/^/| /' conftest.
$ac_ext >&5
33372 wx_cv_type_sa_handler
=void
33375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33378 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
33379 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
33382 ac_cpp
='$CPP $CPPFLAGS'
33383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33388 cat >>confdefs.h
<<_ACEOF
33389 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
33395 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33399 ac_cpp
='$CXXCPP $CPPFLAGS'
33400 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33401 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33402 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33405 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
33406 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
33407 if test "${wx_cv_func_backtrace+set}" = set; then
33408 echo $ECHO_N "(cached) $ECHO_C" >&6
33411 cat >conftest.
$ac_ext <<_ACEOF
33414 cat confdefs.h
>>conftest.
$ac_ext
33415 cat >>conftest.
$ac_ext <<_ACEOF
33416 /* end confdefs.h. */
33417 #include <execinfo.h>
33425 backtrace(trace, 1);
33426 messages = backtrace_symbols(trace, 1);
33432 rm -f conftest.
$ac_objext
33433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33434 (eval $ac_compile) 2>conftest.er1
33436 grep -v '^ *+' conftest.er1
>conftest.err
33438 cat conftest.err
>&5
33439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33440 (exit $ac_status); } &&
33441 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33443 (eval $ac_try) 2>&5
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); }; } &&
33447 { ac_try
='test -s conftest.$ac_objext'
33448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33449 (eval $ac_try) 2>&5
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; }; then
33453 wx_cv_func_backtrace
=yes
33455 echo "$as_me: failed program was:" >&5
33456 sed 's/^/| /' conftest.
$ac_ext >&5
33458 wx_cv_func_backtrace
=no
33461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33465 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
33466 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
33469 if test "$wx_cv_func_backtrace" = "no"; then
33470 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
33471 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
33472 wxUSE_STACKWALKER
=no
33474 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
33475 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
33476 if test "${wx_cv_func_cxa_demangle+set}" = set; then
33477 echo $ECHO_N "(cached) $ECHO_C" >&6
33480 cat >conftest.
$ac_ext <<_ACEOF
33483 cat confdefs.h
>>conftest.
$ac_ext
33484 cat >>conftest.
$ac_ext <<_ACEOF
33485 /* end confdefs.h. */
33486 #include <cxxabi.h>
33492 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
33498 rm -f conftest.
$ac_objext conftest
$ac_exeext
33499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33500 (eval $ac_link) 2>conftest.er1
33502 grep -v '^ *+' conftest.er1
>conftest.err
33504 cat conftest.err
>&5
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); } &&
33507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33509 (eval $ac_try) 2>&5
33511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 (exit $ac_status); }; } &&
33513 { ac_try
='test -s conftest$ac_exeext'
33514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33515 (eval $ac_try) 2>&5
33517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33518 (exit $ac_status); }; }; then
33519 wx_cv_func_cxa_demangle
=yes
33521 echo "$as_me: failed program was:" >&5
33522 sed 's/^/| /' conftest.
$ac_ext >&5
33524 wx_cv_func_cxa_demangle
=no
33527 rm -f conftest.err conftest.
$ac_objext \
33528 conftest
$ac_exeext conftest.
$ac_ext
33532 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
33533 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
33535 if test "$wx_cv_func_cxa_demangle" = "yes"; then
33536 cat >>confdefs.h
<<\_ACEOF
33537 #define HAVE_CXA_DEMANGLE 1
33544 ac_cpp
='$CPP $CPPFLAGS'
33545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33551 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
33552 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
33553 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
33554 wxUSE_STACKWALKER
=no
33560 for ac_func
in mkstemp mktemp
33562 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33563 echo "$as_me:$LINENO: checking for $ac_func" >&5
33564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33565 if eval "test \"\${$as_ac_var+set}\" = set"; then
33566 echo $ECHO_N "(cached) $ECHO_C" >&6
33568 cat >conftest.
$ac_ext <<_ACEOF
33571 cat confdefs.h
>>conftest.
$ac_ext
33572 cat >>conftest.
$ac_ext <<_ACEOF
33573 /* end confdefs.h. */
33574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33576 #define $ac_func innocuous_$ac_func
33578 /* System header to define __stub macros and hopefully few prototypes,
33579 which can conflict with char $ac_func (); below.
33580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33581 <limits.h> exists even on freestanding compilers. */
33584 # include <limits.h>
33586 # include <assert.h>
33591 /* Override any gcc2 internal prototype to avoid an error. */
33596 /* We use char because int might match the return type of a gcc2
33597 builtin and then its argument prototype would still apply. */
33599 /* The GNU C library defines this for functions which it implements
33600 to always fail with ENOSYS. Some functions are actually named
33601 something starting with __ and the normal name is an alias. */
33602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33605 char (*f) () = $ac_func;
33614 return f != $ac_func;
33619 rm -f conftest.
$ac_objext conftest
$ac_exeext
33620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33621 (eval $ac_link) 2>conftest.er1
33623 grep -v '^ *+' conftest.er1
>conftest.err
33625 cat conftest.err
>&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); } &&
33628 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33630 (eval $ac_try) 2>&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); }; } &&
33634 { ac_try
='test -s conftest$ac_exeext'
33635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33636 (eval $ac_try) 2>&5
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); }; }; then
33640 eval "$as_ac_var=yes"
33642 echo "$as_me: failed program was:" >&5
33643 sed 's/^/| /' conftest.
$ac_ext >&5
33645 eval "$as_ac_var=no"
33647 rm -f conftest.err conftest.
$ac_objext \
33648 conftest
$ac_exeext conftest.
$ac_ext
33650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33652 if test `eval echo '${'$as_ac_var'}'` = yes; then
33653 cat >>confdefs.h
<<_ACEOF
33654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33661 echo "$as_me:$LINENO: checking for statfs" >&5
33662 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
33663 if test "${wx_cv_func_statfs+set}" = set; then
33664 echo $ECHO_N "(cached) $ECHO_C" >&6
33666 cat >conftest.
$ac_ext <<_ACEOF
33669 cat confdefs.h
>>conftest.
$ac_ext
33670 cat >>conftest.
$ac_ext <<_ACEOF
33671 /* end confdefs.h. */
33673 #if defined(__BSD__)
33674 #include <sys/param.h>
33675 #include <sys/mount.h>
33677 #include <sys/vfs.h>
33695 rm -f conftest.
$ac_objext
33696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33697 (eval $ac_compile) 2>conftest.er1
33699 grep -v '^ *+' conftest.er1
>conftest.err
33701 cat conftest.err
>&5
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); } &&
33704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33706 (eval $ac_try) 2>&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); }; } &&
33710 { ac_try
='test -s conftest.$ac_objext'
33711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33712 (eval $ac_try) 2>&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); }; }; then
33716 wx_cv_func_statfs
=yes
33718 echo "$as_me: failed program was:" >&5
33719 sed 's/^/| /' conftest.
$ac_ext >&5
33721 wx_cv_func_statfs
=no
33724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33727 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
33728 echo "${ECHO_T}$wx_cv_func_statfs" >&6
33730 if test "$wx_cv_func_statfs" = "yes"; then
33734 ac_cpp
='$CXXCPP $CPPFLAGS'
33735 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33736 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33737 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33739 echo "$as_me:$LINENO: checking for statfs declaration" >&5
33740 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
33741 if test "${wx_cv_func_statfs_decl+set}" = set; then
33742 echo $ECHO_N "(cached) $ECHO_C" >&6
33744 cat >conftest.
$ac_ext <<_ACEOF
33747 cat confdefs.h
>>conftest.
$ac_ext
33748 cat >>conftest.
$ac_ext <<_ACEOF
33749 /* end confdefs.h. */
33751 #if defined(__BSD__)
33752 #include <sys/param.h>
33753 #include <sys/mount.h>
33755 #include <sys/vfs.h>
33769 rm -f conftest.
$ac_objext
33770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33771 (eval $ac_compile) 2>conftest.er1
33773 grep -v '^ *+' conftest.er1
>conftest.err
33775 cat conftest.err
>&5
33776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33777 (exit $ac_status); } &&
33778 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33780 (eval $ac_try) 2>&5
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); }; } &&
33784 { ac_try
='test -s conftest.$ac_objext'
33785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786 (eval $ac_try) 2>&5
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); }; }; then
33790 wx_cv_func_statfs_decl
=yes
33792 echo "$as_me: failed program was:" >&5
33793 sed 's/^/| /' conftest.
$ac_ext >&5
33795 wx_cv_func_statfs_decl
=no
33798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33801 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
33802 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
33804 ac_cpp
='$CPP $CPPFLAGS'
33805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33810 if test "$wx_cv_func_statfs_decl" = "yes"; then
33811 cat >>confdefs.h
<<\_ACEOF
33812 #define HAVE_STATFS_DECL 1
33817 wx_cv_type_statvfs_t
="struct statfs"
33818 cat >>confdefs.h
<<\_ACEOF
33819 #define HAVE_STATFS 1
33823 echo "$as_me:$LINENO: checking for statvfs" >&5
33824 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
33825 if test "${wx_cv_func_statvfs+set}" = set; then
33826 echo $ECHO_N "(cached) $ECHO_C" >&6
33828 cat >conftest.
$ac_ext <<_ACEOF
33831 cat confdefs.h
>>conftest.
$ac_ext
33832 cat >>conftest.
$ac_ext <<_ACEOF
33833 /* end confdefs.h. */
33835 #include <stddef.h>
33836 #include <sys/statvfs.h>
33842 statvfs("/", NULL);
33848 rm -f conftest.
$ac_objext
33849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33850 (eval $ac_compile) 2>conftest.er1
33852 grep -v '^ *+' conftest.er1
>conftest.err
33854 cat conftest.err
>&5
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); } &&
33857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33859 (eval $ac_try) 2>&5
33861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862 (exit $ac_status); }; } &&
33863 { ac_try
='test -s conftest.$ac_objext'
33864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33865 (eval $ac_try) 2>&5
33867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33868 (exit $ac_status); }; }; then
33869 wx_cv_func_statvfs
=yes
33871 echo "$as_me: failed program was:" >&5
33872 sed 's/^/| /' conftest.
$ac_ext >&5
33874 wx_cv_func_statvfs
=no
33877 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33880 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
33881 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
33883 if test "$wx_cv_func_statvfs" = "yes"; then
33887 ac_cpp
='$CXXCPP $CPPFLAGS'
33888 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33889 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33890 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33893 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
33894 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
33895 if test "${wx_cv_type_statvfs_t+set}" = set; then
33896 echo $ECHO_N "(cached) $ECHO_C" >&6
33898 cat >conftest.
$ac_ext <<_ACEOF
33901 cat confdefs.h
>>conftest.
$ac_ext
33902 cat >>conftest.
$ac_ext <<_ACEOF
33903 /* end confdefs.h. */
33905 #include <sys/statvfs.h>
33922 rm -f conftest.
$ac_objext
33923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33924 (eval $ac_compile) 2>conftest.er1
33926 grep -v '^ *+' conftest.er1
>conftest.err
33928 cat conftest.err
>&5
33929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33930 (exit $ac_status); } &&
33931 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33933 (eval $ac_try) 2>&5
33935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33936 (exit $ac_status); }; } &&
33937 { ac_try
='test -s conftest.$ac_objext'
33938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939 (eval $ac_try) 2>&5
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; }; then
33943 wx_cv_type_statvfs_t
=statvfs_t
33945 echo "$as_me: failed program was:" >&5
33946 sed 's/^/| /' conftest.
$ac_ext >&5
33949 cat >conftest.
$ac_ext <<_ACEOF
33952 cat confdefs.h
>>conftest.
$ac_ext
33953 cat >>conftest.
$ac_ext <<_ACEOF
33954 /* end confdefs.h. */
33956 #include <sys/statvfs.h>
33973 rm -f conftest.
$ac_objext
33974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33975 (eval $ac_compile) 2>conftest.er1
33977 grep -v '^ *+' conftest.er1
>conftest.err
33979 cat conftest.err
>&5
33980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33981 (exit $ac_status); } &&
33982 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33984 (eval $ac_try) 2>&5
33986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33987 (exit $ac_status); }; } &&
33988 { ac_try
='test -s conftest.$ac_objext'
33989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33990 (eval $ac_try) 2>&5
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); }; }; then
33994 wx_cv_type_statvfs_t
="struct statvfs"
33996 echo "$as_me: failed program was:" >&5
33997 sed 's/^/| /' conftest.
$ac_ext >&5
33999 wx_cv_type_statvfs_t
="unknown"
34002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34009 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34010 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34013 ac_cpp
='$CPP $CPPFLAGS'
34014 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34015 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34016 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34019 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34020 cat >>confdefs.h
<<\_ACEOF
34021 #define HAVE_STATVFS 1
34026 wx_cv_type_statvfs_t
="unknown"
34030 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34031 cat >>confdefs.h
<<_ACEOF
34032 #define WX_STATFS_T $wx_cv_type_statvfs_t
34036 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34037 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34040 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34043 for ac_func
in fcntl flock
34045 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34046 echo "$as_me:$LINENO: checking for $ac_func" >&5
34047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34048 if eval "test \"\${$as_ac_var+set}\" = set"; then
34049 echo $ECHO_N "(cached) $ECHO_C" >&6
34051 cat >conftest.
$ac_ext <<_ACEOF
34054 cat confdefs.h
>>conftest.
$ac_ext
34055 cat >>conftest.
$ac_ext <<_ACEOF
34056 /* end confdefs.h. */
34057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34059 #define $ac_func innocuous_$ac_func
34061 /* System header to define __stub macros and hopefully few prototypes,
34062 which can conflict with char $ac_func (); below.
34063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34064 <limits.h> exists even on freestanding compilers. */
34067 # include <limits.h>
34069 # include <assert.h>
34074 /* Override any gcc2 internal prototype to avoid an error. */
34079 /* We use char because int might match the return type of a gcc2
34080 builtin and then its argument prototype would still apply. */
34082 /* The GNU C library defines this for functions which it implements
34083 to always fail with ENOSYS. Some functions are actually named
34084 something starting with __ and the normal name is an alias. */
34085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34088 char (*f) () = $ac_func;
34097 return f != $ac_func;
34102 rm -f conftest.
$ac_objext conftest
$ac_exeext
34103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34104 (eval $ac_link) 2>conftest.er1
34106 grep -v '^ *+' conftest.er1
>conftest.err
34108 cat conftest.err
>&5
34109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110 (exit $ac_status); } &&
34111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34113 (eval $ac_try) 2>&5
34115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34116 (exit $ac_status); }; } &&
34117 { ac_try
='test -s conftest$ac_exeext'
34118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34119 (eval $ac_try) 2>&5
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); }; }; then
34123 eval "$as_ac_var=yes"
34125 echo "$as_me: failed program was:" >&5
34126 sed 's/^/| /' conftest.
$ac_ext >&5
34128 eval "$as_ac_var=no"
34130 rm -f conftest.err conftest.
$ac_objext \
34131 conftest
$ac_exeext conftest.
$ac_ext
34133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34135 if test `eval echo '${'$as_ac_var'}'` = yes; then
34136 cat >>confdefs.h
<<_ACEOF
34137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34144 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34145 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34146 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34147 wxUSE_SNGLINST_CHECKER
=no
34152 for ac_func
in timegm
34154 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34155 echo "$as_me:$LINENO: checking for $ac_func" >&5
34156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34157 if eval "test \"\${$as_ac_var+set}\" = set"; then
34158 echo $ECHO_N "(cached) $ECHO_C" >&6
34160 cat >conftest.
$ac_ext <<_ACEOF
34163 cat confdefs.h
>>conftest.
$ac_ext
34164 cat >>conftest.
$ac_ext <<_ACEOF
34165 /* end confdefs.h. */
34166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34168 #define $ac_func innocuous_$ac_func
34170 /* System header to define __stub macros and hopefully few prototypes,
34171 which can conflict with char $ac_func (); below.
34172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34173 <limits.h> exists even on freestanding compilers. */
34176 # include <limits.h>
34178 # include <assert.h>
34183 /* Override any gcc2 internal prototype to avoid an error. */
34188 /* We use char because int might match the return type of a gcc2
34189 builtin and then its argument prototype would still apply. */
34191 /* The GNU C library defines this for functions which it implements
34192 to always fail with ENOSYS. Some functions are actually named
34193 something starting with __ and the normal name is an alias. */
34194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34197 char (*f) () = $ac_func;
34206 return f != $ac_func;
34211 rm -f conftest.
$ac_objext conftest
$ac_exeext
34212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34213 (eval $ac_link) 2>conftest.er1
34215 grep -v '^ *+' conftest.er1
>conftest.err
34217 cat conftest.err
>&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); } &&
34220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34222 (eval $ac_try) 2>&5
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); }; } &&
34226 { ac_try
='test -s conftest$ac_exeext'
34227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34228 (eval $ac_try) 2>&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); }; }; then
34232 eval "$as_ac_var=yes"
34234 echo "$as_me: failed program was:" >&5
34235 sed 's/^/| /' conftest.
$ac_ext >&5
34237 eval "$as_ac_var=no"
34239 rm -f conftest.err conftest.
$ac_objext \
34240 conftest
$ac_exeext conftest.
$ac_ext
34242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34244 if test `eval echo '${'$as_ac_var'}'` = yes; then
34245 cat >>confdefs.h
<<_ACEOF
34246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34255 for ac_func
in putenv setenv
34257 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34258 echo "$as_me:$LINENO: checking for $ac_func" >&5
34259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34260 if eval "test \"\${$as_ac_var+set}\" = set"; then
34261 echo $ECHO_N "(cached) $ECHO_C" >&6
34263 cat >conftest.
$ac_ext <<_ACEOF
34266 cat confdefs.h
>>conftest.
$ac_ext
34267 cat >>conftest.
$ac_ext <<_ACEOF
34268 /* end confdefs.h. */
34269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34271 #define $ac_func innocuous_$ac_func
34273 /* System header to define __stub macros and hopefully few prototypes,
34274 which can conflict with char $ac_func (); below.
34275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34276 <limits.h> exists even on freestanding compilers. */
34279 # include <limits.h>
34281 # include <assert.h>
34286 /* Override any gcc2 internal prototype to avoid an error. */
34291 /* We use char because int might match the return type of a gcc2
34292 builtin and then its argument prototype would still apply. */
34294 /* The GNU C library defines this for functions which it implements
34295 to always fail with ENOSYS. Some functions are actually named
34296 something starting with __ and the normal name is an alias. */
34297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34300 char (*f) () = $ac_func;
34309 return f != $ac_func;
34314 rm -f conftest.
$ac_objext conftest
$ac_exeext
34315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34316 (eval $ac_link) 2>conftest.er1
34318 grep -v '^ *+' conftest.er1
>conftest.err
34320 cat conftest.err
>&5
34321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34322 (exit $ac_status); } &&
34323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34325 (eval $ac_try) 2>&5
34327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34328 (exit $ac_status); }; } &&
34329 { ac_try
='test -s conftest$ac_exeext'
34330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34331 (eval $ac_try) 2>&5
34333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34334 (exit $ac_status); }; }; then
34335 eval "$as_ac_var=yes"
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.
$ac_ext >&5
34340 eval "$as_ac_var=no"
34342 rm -f conftest.err conftest.
$ac_objext \
34343 conftest
$ac_exeext conftest.
$ac_ext
34345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34347 if test `eval echo '${'$as_ac_var'}'` = yes; then
34348 cat >>confdefs.h
<<_ACEOF
34349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34356 HAVE_SOME_SLEEP_FUNC
=0
34357 if test "$USE_BEOS" = 1; then
34358 cat >>confdefs.h
<<\_ACEOF
34359 #define HAVE_SLEEP 1
34362 HAVE_SOME_SLEEP_FUNC
=1
34365 if test "$USE_DARWIN" = 1; then
34366 cat >>confdefs.h
<<\_ACEOF
34367 #define HAVE_USLEEP 1
34370 HAVE_SOME_SLEEP_FUNC
=1
34373 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
34376 for ac_func
in nanosleep
34378 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34379 echo "$as_me:$LINENO: checking for $ac_func" >&5
34380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34381 if eval "test \"\${$as_ac_var+set}\" = set"; then
34382 echo $ECHO_N "(cached) $ECHO_C" >&6
34384 cat >conftest.
$ac_ext <<_ACEOF
34387 cat confdefs.h
>>conftest.
$ac_ext
34388 cat >>conftest.
$ac_ext <<_ACEOF
34389 /* end confdefs.h. */
34390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34392 #define $ac_func innocuous_$ac_func
34394 /* System header to define __stub macros and hopefully few prototypes,
34395 which can conflict with char $ac_func (); below.
34396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34397 <limits.h> exists even on freestanding compilers. */
34400 # include <limits.h>
34402 # include <assert.h>
34407 /* Override any gcc2 internal prototype to avoid an error. */
34412 /* We use char because int might match the return type of a gcc2
34413 builtin and then its argument prototype would still apply. */
34415 /* The GNU C library defines this for functions which it implements
34416 to always fail with ENOSYS. Some functions are actually named
34417 something starting with __ and the normal name is an alias. */
34418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34421 char (*f) () = $ac_func;
34430 return f != $ac_func;
34435 rm -f conftest.
$ac_objext conftest
$ac_exeext
34436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34437 (eval $ac_link) 2>conftest.er1
34439 grep -v '^ *+' conftest.er1
>conftest.err
34441 cat conftest.err
>&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); } &&
34444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34446 (eval $ac_try) 2>&5
34448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449 (exit $ac_status); }; } &&
34450 { ac_try
='test -s conftest$ac_exeext'
34451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34452 (eval $ac_try) 2>&5
34454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455 (exit $ac_status); }; }; then
34456 eval "$as_ac_var=yes"
34458 echo "$as_me: failed program was:" >&5
34459 sed 's/^/| /' conftest.
$ac_ext >&5
34461 eval "$as_ac_var=no"
34463 rm -f conftest.err conftest.
$ac_objext \
34464 conftest
$ac_exeext conftest.
$ac_ext
34466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34468 if test `eval echo '${'$as_ac_var'}'` = yes; then
34469 cat >>confdefs.h
<<_ACEOF
34470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34472 cat >>confdefs.h
<<\_ACEOF
34473 #define HAVE_NANOSLEEP 1
34478 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
34479 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
34480 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
34481 echo $ECHO_N "(cached) $ECHO_C" >&6
34483 ac_check_lib_save_LIBS
=$LIBS
34484 LIBS
="-lposix4 $LIBS"
34485 cat >conftest.
$ac_ext <<_ACEOF
34488 cat confdefs.h
>>conftest.
$ac_ext
34489 cat >>conftest.
$ac_ext <<_ACEOF
34490 /* end confdefs.h. */
34492 /* Override any gcc2 internal prototype to avoid an error. */
34496 /* We use char because int might match the return type of a gcc2
34497 builtin and then its argument prototype would still apply. */
34507 rm -f conftest.
$ac_objext conftest
$ac_exeext
34508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34509 (eval $ac_link) 2>conftest.er1
34511 grep -v '^ *+' conftest.er1
>conftest.err
34513 cat conftest.err
>&5
34514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515 (exit $ac_status); } &&
34516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34518 (eval $ac_try) 2>&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); }; } &&
34522 { ac_try
='test -s conftest$ac_exeext'
34523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34524 (eval $ac_try) 2>&5
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); }; }; then
34528 ac_cv_lib_posix4_nanosleep
=yes
34530 echo "$as_me: failed program was:" >&5
34531 sed 's/^/| /' conftest.
$ac_ext >&5
34533 ac_cv_lib_posix4_nanosleep
=no
34535 rm -f conftest.err conftest.
$ac_objext \
34536 conftest
$ac_exeext conftest.
$ac_ext
34537 LIBS
=$ac_check_lib_save_LIBS
34539 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
34540 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
34541 if test $ac_cv_lib_posix4_nanosleep = yes; then
34543 cat >>confdefs.h
<<\_ACEOF
34544 #define HAVE_NANOSLEEP 1
34547 POSIX4_LINK
=" -lposix4"
34552 for ac_func
in usleep
34554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34555 echo "$as_me:$LINENO: checking for $ac_func" >&5
34556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34557 if eval "test \"\${$as_ac_var+set}\" = set"; then
34558 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 cat >conftest.
$ac_ext <<_ACEOF
34563 cat confdefs.h
>>conftest.
$ac_ext
34564 cat >>conftest.
$ac_ext <<_ACEOF
34565 /* end confdefs.h. */
34566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34568 #define $ac_func innocuous_$ac_func
34570 /* System header to define __stub macros and hopefully few prototypes,
34571 which can conflict with char $ac_func (); below.
34572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34573 <limits.h> exists even on freestanding compilers. */
34576 # include <limits.h>
34578 # include <assert.h>
34583 /* Override any gcc2 internal prototype to avoid an error. */
34588 /* We use char because int might match the return type of a gcc2
34589 builtin and then its argument prototype would still apply. */
34591 /* The GNU C library defines this for functions which it implements
34592 to always fail with ENOSYS. Some functions are actually named
34593 something starting with __ and the normal name is an alias. */
34594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34597 char (*f) () = $ac_func;
34606 return f != $ac_func;
34611 rm -f conftest.
$ac_objext conftest
$ac_exeext
34612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34613 (eval $ac_link) 2>conftest.er1
34615 grep -v '^ *+' conftest.er1
>conftest.err
34617 cat conftest.err
>&5
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); } &&
34620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34622 (eval $ac_try) 2>&5
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); }; } &&
34626 { ac_try
='test -s conftest$ac_exeext'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; }; then
34632 eval "$as_ac_var=yes"
34634 echo "$as_me: failed program was:" >&5
34635 sed 's/^/| /' conftest.
$ac_ext >&5
34637 eval "$as_ac_var=no"
34639 rm -f conftest.err conftest.
$ac_objext \
34640 conftest
$ac_exeext conftest.
$ac_ext
34642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34644 if test `eval echo '${'$as_ac_var'}'` = yes; then
34645 cat >>confdefs.h
<<_ACEOF
34646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34648 cat >>confdefs.h
<<\_ACEOF
34649 #define HAVE_USLEEP 1
34653 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
34654 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
34672 for ac_func
in uname gethostname
34674 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34675 echo "$as_me:$LINENO: checking for $ac_func" >&5
34676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34677 if eval "test \"\${$as_ac_var+set}\" = set"; then
34678 echo $ECHO_N "(cached) $ECHO_C" >&6
34680 cat >conftest.
$ac_ext <<_ACEOF
34683 cat confdefs.h
>>conftest.
$ac_ext
34684 cat >>conftest.
$ac_ext <<_ACEOF
34685 /* end confdefs.h. */
34686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34688 #define $ac_func innocuous_$ac_func
34690 /* System header to define __stub macros and hopefully few prototypes,
34691 which can conflict with char $ac_func (); below.
34692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34693 <limits.h> exists even on freestanding compilers. */
34696 # include <limits.h>
34698 # include <assert.h>
34703 /* Override any gcc2 internal prototype to avoid an error. */
34708 /* We use char because int might match the return type of a gcc2
34709 builtin and then its argument prototype would still apply. */
34711 /* The GNU C library defines this for functions which it implements
34712 to always fail with ENOSYS. Some functions are actually named
34713 something starting with __ and the normal name is an alias. */
34714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34717 char (*f) () = $ac_func;
34726 return f != $ac_func;
34731 rm -f conftest.
$ac_objext conftest
$ac_exeext
34732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34733 (eval $ac_link) 2>conftest.er1
34735 grep -v '^ *+' conftest.er1
>conftest.err
34737 cat conftest.err
>&5
34738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34739 (exit $ac_status); } &&
34740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34742 (eval $ac_try) 2>&5
34744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34745 (exit $ac_status); }; } &&
34746 { ac_try
='test -s conftest$ac_exeext'
34747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34748 (eval $ac_try) 2>&5
34750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34751 (exit $ac_status); }; }; then
34752 eval "$as_ac_var=yes"
34754 echo "$as_me: failed program was:" >&5
34755 sed 's/^/| /' conftest.
$ac_ext >&5
34757 eval "$as_ac_var=no"
34759 rm -f conftest.err conftest.
$ac_objext \
34760 conftest
$ac_exeext conftest.
$ac_ext
34762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34764 if test `eval echo '${'$as_ac_var'}'` = yes; then
34765 cat >>confdefs.h
<<_ACEOF
34766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34776 ac_cpp
='$CXXCPP $CPPFLAGS'
34777 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34778 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34779 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34783 for ac_func
in strtok_r
34785 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34786 echo "$as_me:$LINENO: checking for $ac_func" >&5
34787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34788 if eval "test \"\${$as_ac_var+set}\" = set"; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34791 cat >conftest.
$ac_ext <<_ACEOF
34794 cat confdefs.h
>>conftest.
$ac_ext
34795 cat >>conftest.
$ac_ext <<_ACEOF
34796 /* end confdefs.h. */
34797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34799 #define $ac_func innocuous_$ac_func
34801 /* System header to define __stub macros and hopefully few prototypes,
34802 which can conflict with char $ac_func (); below.
34803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34804 <limits.h> exists even on freestanding compilers. */
34807 # include <limits.h>
34809 # include <assert.h>
34814 /* Override any gcc2 internal prototype to avoid an error. */
34819 /* We use char because int might match the return type of a gcc2
34820 builtin and then its argument prototype would still apply. */
34822 /* The GNU C library defines this for functions which it implements
34823 to always fail with ENOSYS. Some functions are actually named
34824 something starting with __ and the normal name is an alias. */
34825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34828 char (*f) () = $ac_func;
34837 return f != $ac_func;
34842 rm -f conftest.
$ac_objext conftest
$ac_exeext
34843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34844 (eval $ac_link) 2>conftest.er1
34846 grep -v '^ *+' conftest.er1
>conftest.err
34848 cat conftest.err
>&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } &&
34851 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34853 (eval $ac_try) 2>&5
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); }; } &&
34857 { ac_try
='test -s conftest$ac_exeext'
34858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34859 (eval $ac_try) 2>&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); }; }; then
34863 eval "$as_ac_var=yes"
34865 echo "$as_me: failed program was:" >&5
34866 sed 's/^/| /' conftest.
$ac_ext >&5
34868 eval "$as_ac_var=no"
34870 rm -f conftest.err conftest.
$ac_objext \
34871 conftest
$ac_exeext conftest.
$ac_ext
34873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34875 if test `eval echo '${'$as_ac_var'}'` = yes; then
34876 cat >>confdefs.h
<<_ACEOF
34877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34885 ac_cpp
='$CPP $CPPFLAGS'
34886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34893 for ac_func
in inet_addr
34895 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34896 echo "$as_me:$LINENO: checking for $ac_func" >&5
34897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34898 if eval "test \"\${$as_ac_var+set}\" = set"; then
34899 echo $ECHO_N "(cached) $ECHO_C" >&6
34901 cat >conftest.
$ac_ext <<_ACEOF
34904 cat confdefs.h
>>conftest.
$ac_ext
34905 cat >>conftest.
$ac_ext <<_ACEOF
34906 /* end confdefs.h. */
34907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34909 #define $ac_func innocuous_$ac_func
34911 /* System header to define __stub macros and hopefully few prototypes,
34912 which can conflict with char $ac_func (); below.
34913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34914 <limits.h> exists even on freestanding compilers. */
34917 # include <limits.h>
34919 # include <assert.h>
34924 /* Override any gcc2 internal prototype to avoid an error. */
34929 /* We use char because int might match the return type of a gcc2
34930 builtin and then its argument prototype would still apply. */
34932 /* The GNU C library defines this for functions which it implements
34933 to always fail with ENOSYS. Some functions are actually named
34934 something starting with __ and the normal name is an alias. */
34935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34938 char (*f) () = $ac_func;
34947 return f != $ac_func;
34952 rm -f conftest.
$ac_objext conftest
$ac_exeext
34953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34954 (eval $ac_link) 2>conftest.er1
34956 grep -v '^ *+' conftest.er1
>conftest.err
34958 cat conftest.err
>&5
34959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34960 (exit $ac_status); } &&
34961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34963 (eval $ac_try) 2>&5
34965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 (exit $ac_status); }; } &&
34967 { ac_try
='test -s conftest$ac_exeext'
34968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34969 (eval $ac_try) 2>&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); }; }; then
34973 eval "$as_ac_var=yes"
34975 echo "$as_me: failed program was:" >&5
34976 sed 's/^/| /' conftest.
$ac_ext >&5
34978 eval "$as_ac_var=no"
34980 rm -f conftest.err conftest.
$ac_objext \
34981 conftest
$ac_exeext conftest.
$ac_ext
34983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34985 if test `eval echo '${'$as_ac_var'}'` = yes; then
34986 cat >>confdefs.h
<<_ACEOF
34987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34989 cat >>confdefs.h
<<\_ACEOF
34990 #define HAVE_INET_ADDR 1
34995 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
34996 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
34997 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
34998 echo $ECHO_N "(cached) $ECHO_C" >&6
35000 ac_check_lib_save_LIBS
=$LIBS
35002 cat >conftest.
$ac_ext <<_ACEOF
35005 cat confdefs.h
>>conftest.
$ac_ext
35006 cat >>conftest.
$ac_ext <<_ACEOF
35007 /* end confdefs.h. */
35009 /* Override any gcc2 internal prototype to avoid an error. */
35013 /* We use char because int might match the return type of a gcc2
35014 builtin and then its argument prototype would still apply. */
35024 rm -f conftest.
$ac_objext conftest
$ac_exeext
35025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35026 (eval $ac_link) 2>conftest.er1
35028 grep -v '^ *+' conftest.er1
>conftest.err
35030 cat conftest.err
>&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); } &&
35033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35035 (eval $ac_try) 2>&5
35037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038 (exit $ac_status); }; } &&
35039 { ac_try
='test -s conftest$ac_exeext'
35040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35041 (eval $ac_try) 2>&5
35043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044 (exit $ac_status); }; }; then
35045 ac_cv_lib_nsl_inet_addr
=yes
35047 echo "$as_me: failed program was:" >&5
35048 sed 's/^/| /' conftest.
$ac_ext >&5
35050 ac_cv_lib_nsl_inet_addr
=no
35052 rm -f conftest.err conftest.
$ac_objext \
35053 conftest
$ac_exeext conftest.
$ac_ext
35054 LIBS
=$ac_check_lib_save_LIBS
35056 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35057 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35058 if test $ac_cv_lib_nsl_inet_addr = yes; then
35062 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35063 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35064 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35065 echo $ECHO_N "(cached) $ECHO_C" >&6
35067 ac_check_lib_save_LIBS
=$LIBS
35068 LIBS
="-lresolv $LIBS"
35069 cat >conftest.
$ac_ext <<_ACEOF
35072 cat confdefs.h
>>conftest.
$ac_ext
35073 cat >>conftest.
$ac_ext <<_ACEOF
35074 /* end confdefs.h. */
35076 /* Override any gcc2 internal prototype to avoid an error. */
35080 /* We use char because int might match the return type of a gcc2
35081 builtin and then its argument prototype would still apply. */
35091 rm -f conftest.
$ac_objext conftest
$ac_exeext
35092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35093 (eval $ac_link) 2>conftest.er1
35095 grep -v '^ *+' conftest.er1
>conftest.err
35097 cat conftest.err
>&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } &&
35100 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35102 (eval $ac_try) 2>&5
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; } &&
35106 { ac_try
='test -s conftest$ac_exeext'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; }; then
35112 ac_cv_lib_resolv_inet_addr
=yes
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.
$ac_ext >&5
35117 ac_cv_lib_resolv_inet_addr
=no
35119 rm -f conftest.err conftest.
$ac_objext \
35120 conftest
$ac_exeext conftest.
$ac_ext
35121 LIBS
=$ac_check_lib_save_LIBS
35123 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35124 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35125 if test $ac_cv_lib_resolv_inet_addr = yes; then
35129 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35130 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35131 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35132 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 ac_check_lib_save_LIBS
=$LIBS
35135 LIBS
="-lsocket $LIBS"
35136 cat >conftest.
$ac_ext <<_ACEOF
35139 cat confdefs.h
>>conftest.
$ac_ext
35140 cat >>conftest.
$ac_ext <<_ACEOF
35141 /* end confdefs.h. */
35143 /* Override any gcc2 internal prototype to avoid an error. */
35147 /* We use char because int might match the return type of a gcc2
35148 builtin and then its argument prototype would still apply. */
35158 rm -f conftest.
$ac_objext conftest
$ac_exeext
35159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35160 (eval $ac_link) 2>conftest.er1
35162 grep -v '^ *+' conftest.er1
>conftest.err
35164 cat conftest.err
>&5
35165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35166 (exit $ac_status); } &&
35167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35169 (eval $ac_try) 2>&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); }; } &&
35173 { ac_try
='test -s conftest$ac_exeext'
35174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35175 (eval $ac_try) 2>&5
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); }; }; then
35179 ac_cv_lib_socket_inet_addr
=yes
35181 echo "$as_me: failed program was:" >&5
35182 sed 's/^/| /' conftest.
$ac_ext >&5
35184 ac_cv_lib_socket_inet_addr
=no
35186 rm -f conftest.err conftest.
$ac_objext \
35187 conftest
$ac_exeext conftest.
$ac_ext
35188 LIBS
=$ac_check_lib_save_LIBS
35190 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35191 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35192 if test $ac_cv_lib_socket_inet_addr = yes; then
35212 for ac_func
in inet_aton
35214 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35215 echo "$as_me:$LINENO: checking for $ac_func" >&5
35216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35217 if eval "test \"\${$as_ac_var+set}\" = set"; then
35218 echo $ECHO_N "(cached) $ECHO_C" >&6
35220 cat >conftest.
$ac_ext <<_ACEOF
35223 cat confdefs.h
>>conftest.
$ac_ext
35224 cat >>conftest.
$ac_ext <<_ACEOF
35225 /* end confdefs.h. */
35226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35228 #define $ac_func innocuous_$ac_func
35230 /* System header to define __stub macros and hopefully few prototypes,
35231 which can conflict with char $ac_func (); below.
35232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35233 <limits.h> exists even on freestanding compilers. */
35236 # include <limits.h>
35238 # include <assert.h>
35243 /* Override any gcc2 internal prototype to avoid an error. */
35248 /* We use char because int might match the return type of a gcc2
35249 builtin and then its argument prototype would still apply. */
35251 /* The GNU C library defines this for functions which it implements
35252 to always fail with ENOSYS. Some functions are actually named
35253 something starting with __ and the normal name is an alias. */
35254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35257 char (*f) () = $ac_func;
35266 return f != $ac_func;
35271 rm -f conftest.
$ac_objext conftest
$ac_exeext
35272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35273 (eval $ac_link) 2>conftest.er1
35275 grep -v '^ *+' conftest.er1
>conftest.err
35277 cat conftest.err
>&5
35278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 (exit $ac_status); } &&
35280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35282 (eval $ac_try) 2>&5
35284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35285 (exit $ac_status); }; } &&
35286 { ac_try
='test -s conftest$ac_exeext'
35287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35288 (eval $ac_try) 2>&5
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); }; }; then
35292 eval "$as_ac_var=yes"
35294 echo "$as_me: failed program was:" >&5
35295 sed 's/^/| /' conftest.
$ac_ext >&5
35297 eval "$as_ac_var=no"
35299 rm -f conftest.err conftest.
$ac_objext \
35300 conftest
$ac_exeext conftest.
$ac_ext
35302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35304 if test `eval echo '${'$as_ac_var'}'` = yes; then
35305 cat >>confdefs.h
<<_ACEOF
35306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35308 cat >>confdefs.h
<<\_ACEOF
35309 #define HAVE_INET_ATON 1
35314 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
35315 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
35316 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
35317 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
35318 echo $ECHO_N "(cached) $ECHO_C" >&6
35320 ac_check_lib_save_LIBS
=$LIBS
35321 LIBS
="-l$INET_LINK $LIBS"
35322 cat >conftest.
$ac_ext <<_ACEOF
35325 cat confdefs.h
>>conftest.
$ac_ext
35326 cat >>conftest.
$ac_ext <<_ACEOF
35327 /* end confdefs.h. */
35329 /* Override any gcc2 internal prototype to avoid an error. */
35333 /* We use char because int might match the return type of a gcc2
35334 builtin and then its argument prototype would still apply. */
35344 rm -f conftest.
$ac_objext conftest
$ac_exeext
35345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35346 (eval $ac_link) 2>conftest.er1
35348 grep -v '^ *+' conftest.er1
>conftest.err
35350 cat conftest.err
>&5
35351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35352 (exit $ac_status); } &&
35353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35355 (eval $ac_try) 2>&5
35357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35358 (exit $ac_status); }; } &&
35359 { ac_try
='test -s conftest$ac_exeext'
35360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35361 (eval $ac_try) 2>&5
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); }; }; then
35365 eval "$as_ac_Lib=yes"
35367 echo "$as_me: failed program was:" >&5
35368 sed 's/^/| /' conftest.
$ac_ext >&5
35370 eval "$as_ac_Lib=no"
35372 rm -f conftest.err conftest.
$ac_objext \
35373 conftest
$ac_exeext conftest.
$ac_ext
35374 LIBS
=$ac_check_lib_save_LIBS
35376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
35377 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
35378 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
35379 cat >>confdefs.h
<<\_ACEOF
35380 #define HAVE_INET_ATON 1
35390 if test "x$INET_LINK" != "x"; then
35391 cat >>confdefs.h
<<\_ACEOF
35392 #define HAVE_INET_ADDR 1
35395 INET_LINK
=" -l$INET_LINK"
35403 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
35404 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
35405 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35408 ac_check_lib_save_LIBS
=$LIBS
35410 cat >conftest.
$ac_ext <<_ACEOF
35413 cat confdefs.h
>>conftest.
$ac_ext
35414 cat >>conftest.
$ac_ext <<_ACEOF
35415 /* end confdefs.h. */
35417 /* Override any gcc2 internal prototype to avoid an error. */
35421 /* We use char because int might match the return type of a gcc2
35422 builtin and then its argument prototype would still apply. */
35432 rm -f conftest.
$ac_objext conftest
$ac_exeext
35433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35434 (eval $ac_link) 2>conftest.er1
35436 grep -v '^ *+' conftest.er1
>conftest.err
35438 cat conftest.err
>&5
35439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35440 (exit $ac_status); } &&
35441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35443 (eval $ac_try) 2>&5
35445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35446 (exit $ac_status); }; } &&
35447 { ac_try
='test -s conftest$ac_exeext'
35448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35449 (eval $ac_try) 2>&5
35451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35452 (exit $ac_status); }; }; then
35453 ac_cv_lib_esd_esd_close
=yes
35455 echo "$as_me: failed program was:" >&5
35456 sed 's/^/| /' conftest.
$ac_ext >&5
35458 ac_cv_lib_esd_esd_close
=no
35460 rm -f conftest.err conftest.
$ac_objext \
35461 conftest
$ac_exeext conftest.
$ac_ext
35462 LIBS
=$ac_check_lib_save_LIBS
35464 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
35465 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
35466 if test $ac_cv_lib_esd_esd_close = yes; then
35469 for ac_header
in esd.h
35471 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35473 echo "$as_me:$LINENO: checking for $ac_header" >&5
35474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35476 echo $ECHO_N "(cached) $ECHO_C" >&6
35478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35481 # Is the header compilable?
35482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35484 cat >conftest.
$ac_ext <<_ACEOF
35487 cat confdefs.h
>>conftest.
$ac_ext
35488 cat >>conftest.
$ac_ext <<_ACEOF
35489 /* end confdefs.h. */
35490 $ac_includes_default
35491 #include <$ac_header>
35493 rm -f conftest.
$ac_objext
35494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35495 (eval $ac_compile) 2>conftest.er1
35497 grep -v '^ *+' conftest.er1
>conftest.err
35499 cat conftest.err
>&5
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); } &&
35502 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35504 (eval $ac_try) 2>&5
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); }; } &&
35508 { ac_try
='test -s conftest.$ac_objext'
35509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35510 (eval $ac_try) 2>&5
35512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35513 (exit $ac_status); }; }; then
35514 ac_header_compiler
=yes
35516 echo "$as_me: failed program was:" >&5
35517 sed 's/^/| /' conftest.
$ac_ext >&5
35519 ac_header_compiler
=no
35521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35523 echo "${ECHO_T}$ac_header_compiler" >&6
35525 # Is the header present?
35526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35528 cat >conftest.
$ac_ext <<_ACEOF
35531 cat confdefs.h
>>conftest.
$ac_ext
35532 cat >>conftest.
$ac_ext <<_ACEOF
35533 /* end confdefs.h. */
35534 #include <$ac_header>
35536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35537 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35539 grep -v '^ *+' conftest.er1
>conftest.err
35541 cat conftest.err
>&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } >/dev
/null
; then
35544 if test -s conftest.err
; then
35545 ac_cpp_err
=$ac_c_preproc_warn_flag
35546 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35553 if test -z "$ac_cpp_err"; then
35554 ac_header_preproc
=yes
35556 echo "$as_me: failed program was:" >&5
35557 sed 's/^/| /' conftest.
$ac_ext >&5
35559 ac_header_preproc
=no
35561 rm -f conftest.err conftest.
$ac_ext
35562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35563 echo "${ECHO_T}$ac_header_preproc" >&6
35565 # So? What about this header?
35566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35572 ac_header_preproc
=yes
35575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35589 ## ----------------------------------------- ##
35590 ## Report this to wx-dev@lists.wxwidgets.org ##
35591 ## ----------------------------------------- ##
35594 sed "s/^/$as_me: WARNING: /" >&2
35597 echo "$as_me:$LINENO: checking for $ac_header" >&5
35598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35600 echo $ECHO_N "(cached) $ECHO_C" >&6
35602 eval "$as_ac_Header=\$ac_header_preproc"
35604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35609 cat >>confdefs.h
<<_ACEOF
35610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35613 EXTRALIBS_ESD
="-lesd"
35624 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
35625 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
35626 cat >conftest.
$ac_ext <<_ACEOF
35629 cat confdefs.h
>>conftest.
$ac_ext
35630 cat >>conftest.
$ac_ext <<_ACEOF
35631 /* end confdefs.h. */
35633 #include <linux/cdrom.h>
35636 #include <sys/cdio.h>
35642 struct cdrom_tocentry entry, old_entry;
35647 rm -f conftest.
$ac_objext
35648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35649 (eval $ac_compile) 2>conftest.er1
35651 grep -v '^ *+' conftest.er1
>conftest.err
35653 cat conftest.err
>&5
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); } &&
35656 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35658 (eval $ac_try) 2>&5
35660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35661 (exit $ac_status); }; } &&
35662 { ac_try
='test -s conftest.$ac_objext'
35663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35664 (eval $ac_try) 2>&5
35666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35667 (exit $ac_status); }; }; then
35668 echo "$as_me:$LINENO: result: yes" >&5
35669 echo "${ECHO_T}yes" >&6
35670 cat >>confdefs.h
<<\_ACEOF
35671 #define HAVE_KNOWN_CDROM_INTERFACE 1
35675 echo "$as_me: failed program was:" >&5
35676 sed 's/^/| /' conftest.
$ac_ext >&5
35678 echo "$as_me:$LINENO: result: no" >&5
35679 echo "${ECHO_T}no" >&6
35681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35684 cat >confcache
<<\_ACEOF
35685 # This file is a shell script that caches the results of configure
35686 # tests run on this system so they can be shared between configure
35687 # scripts and configure runs, see configure's option --config-cache.
35688 # It is not useful on other systems. If it contains results you don't
35689 # want to keep, you may remove or edit it.
35691 # config.status only pays attention to the cache file if you give it
35692 # the --recheck option to rerun configure.
35694 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35695 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35696 # following values.
35700 # The following way of writing the cache mishandles newlines in values,
35701 # but we know of no workaround that is simple, portable, and efficient.
35702 # So, don't put newlines in cache variables' values.
35703 # Ultrix sh set writes to stderr and can't be redirected directly,
35704 # and sets the high bit in the cache file unless we assign to the vars.
35707 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35709 # `set' does not quote correctly, so add quotes (double-quote
35710 # substitution turns \\\\ into \\, and sed turns \\ into \).
35713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35716 # `set' quotes correctly as required by POSIX, so do not add quotes.
35718 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35727 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35729 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35730 if test -w $cache_file; then
35731 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35732 cat confcache
>$cache_file
35734 echo "not updating unwritable cache $cache_file"
35741 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35747 if test "$wxUSE_THREADS" = "yes" ; then
35748 if test "$USE_BEOS" = 1; then
35749 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
35750 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
35755 if test "$wxUSE_THREADS" = "yes" ; then
35758 THREAD_OPTS
="-pthread"
35760 *-*-solaris2* | *-*-sunos4* )
35761 if test "x$GCC" = "xyes"; then
35762 THREAD_OPTS
="-pthreads $THREAD_OPTS"
35764 THREAD_OPTS
="-mt $THREAD_OPTS"
35768 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
35770 *-*-darwin* | *-*-cygwin* )
35774 THREAD_OPTS
="pthreads"
35777 if test "x$GCC" = "xyes"; then
35778 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
35786 if test "x$GCC" = "xyes"; then
35792 if test "x$GCC" != "xyes"; then
35793 THREAD_OPTS
="-Ethread"
35798 THREAD_OPTS
="$THREAD_OPTS pthread none"
35801 for flag
in $THREAD_OPTS; do
35804 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
35805 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
35809 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
35810 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
35811 THREADS_CFLAGS
="$flag"
35815 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
35816 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
35817 THREADS_LINK
="-l$flag"
35822 save_CFLAGS
="$CFLAGS"
35823 LIBS
="$THREADS_LINK $LIBS"
35824 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
35826 cat >conftest.
$ac_ext <<_ACEOF
35829 cat confdefs.h
>>conftest.
$ac_ext
35830 cat >>conftest.
$ac_ext <<_ACEOF
35831 /* end confdefs.h. */
35832 #include <pthread.h>
35836 pthread_create(0,0,0,0);
35841 rm -f conftest.
$ac_objext conftest
$ac_exeext
35842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35843 (eval $ac_link) 2>conftest.er1
35845 grep -v '^ *+' conftest.er1
>conftest.err
35847 cat conftest.err
>&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); } &&
35850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35852 (eval $ac_try) 2>&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); }; } &&
35856 { ac_try
='test -s conftest$ac_exeext'
35857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35858 (eval $ac_try) 2>&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); }; }; then
35864 echo "$as_me: failed program was:" >&5
35865 sed 's/^/| /' conftest.
$ac_ext >&5
35868 rm -f conftest.err conftest.
$ac_objext \
35869 conftest
$ac_exeext conftest.
$ac_ext
35872 CFLAGS
="$save_CFLAGS"
35874 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
35875 echo "${ECHO_T}$THREADS_OK" >&6
35876 if test "x$THREADS_OK" = "xyes"; then
35884 if test "x$THREADS_OK" != "xyes"; then
35886 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
35887 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
35889 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
35890 LIBS
="$THREADS_LINK $LIBS"
35892 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
35893 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
35897 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
35898 flag
="-D_THREAD_SAFE"
35901 flag
="-D_THREAD_SAFE"
35904 flag
="-D_REENTRANT"
35905 if test "x$GCC" != "xyes"; then
35906 flag
="$flag -D_RWSTD_MULTI_THREAD"
35909 *solaris
* | alpha
*-osf*)
35910 flag
="-D_REENTRANT"
35913 echo "$as_me:$LINENO: result: ${flag}" >&5
35914 echo "${ECHO_T}${flag}" >&6
35915 if test "x$flag" != xno
; then
35916 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
35919 if test "x$THREADS_CFLAGS" != "x"; then
35920 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
35921 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
35926 if test "$wxUSE_THREADS" = "yes" ; then
35928 for ac_func
in thr_setconcurrency
35930 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35931 echo "$as_me:$LINENO: checking for $ac_func" >&5
35932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35933 if eval "test \"\${$as_ac_var+set}\" = set"; then
35934 echo $ECHO_N "(cached) $ECHO_C" >&6
35936 cat >conftest.
$ac_ext <<_ACEOF
35939 cat confdefs.h
>>conftest.
$ac_ext
35940 cat >>conftest.
$ac_ext <<_ACEOF
35941 /* end confdefs.h. */
35942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35944 #define $ac_func innocuous_$ac_func
35946 /* System header to define __stub macros and hopefully few prototypes,
35947 which can conflict with char $ac_func (); below.
35948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35949 <limits.h> exists even on freestanding compilers. */
35952 # include <limits.h>
35954 # include <assert.h>
35959 /* Override any gcc2 internal prototype to avoid an error. */
35964 /* We use char because int might match the return type of a gcc2
35965 builtin and then its argument prototype would still apply. */
35967 /* The GNU C library defines this for functions which it implements
35968 to always fail with ENOSYS. Some functions are actually named
35969 something starting with __ and the normal name is an alias. */
35970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35973 char (*f) () = $ac_func;
35982 return f != $ac_func;
35987 rm -f conftest.
$ac_objext conftest
$ac_exeext
35988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35989 (eval $ac_link) 2>conftest.er1
35991 grep -v '^ *+' conftest.er1
>conftest.err
35993 cat conftest.err
>&5
35994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35995 (exit $ac_status); } &&
35996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35998 (eval $ac_try) 2>&5
36000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36001 (exit $ac_status); }; } &&
36002 { ac_try
='test -s conftest$ac_exeext'
36003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36004 (eval $ac_try) 2>&5
36006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36007 (exit $ac_status); }; }; then
36008 eval "$as_ac_var=yes"
36010 echo "$as_me: failed program was:" >&5
36011 sed 's/^/| /' conftest.
$ac_ext >&5
36013 eval "$as_ac_var=no"
36015 rm -f conftest.err conftest.
$ac_objext \
36016 conftest
$ac_exeext conftest.
$ac_ext
36018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36020 if test `eval echo '${'$as_ac_var'}'` = yes; then
36021 cat >>confdefs.h
<<_ACEOF
36022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36029 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36030 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36031 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36032 echo $ECHO_N "(cached) $ECHO_C" >&6
36035 cat >conftest.
$ac_ext <<_ACEOF
36038 cat confdefs.h
>>conftest.
$ac_ext
36039 cat >>conftest.
$ac_ext <<_ACEOF
36040 /* end confdefs.h. */
36041 #include <pthread.h>
36042 void ThreadCleanupFunc(void *p);
36049 pthread_cleanup_push(ThreadCleanupFunc, p);
36050 pthread_cleanup_pop(0);
36056 rm -f conftest.
$ac_objext
36057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36058 (eval $ac_compile) 2>conftest.er1
36060 grep -v '^ *+' conftest.er1
>conftest.err
36062 cat conftest.err
>&5
36063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36064 (exit $ac_status); } &&
36065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36067 (eval $ac_try) 2>&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); }; } &&
36071 { ac_try
='test -s conftest.$ac_objext'
36072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36073 (eval $ac_try) 2>&5
36075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36076 (exit $ac_status); }; }; then
36078 wx_cv_func_pthread_cleanup
=yes
36081 echo "$as_me: failed program was:" >&5
36082 sed 's/^/| /' conftest.
$ac_ext >&5
36085 wx_cv_func_pthread_cleanup
=no
36089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36092 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36093 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36094 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36095 cat >>confdefs.h
<<\_ACEOF
36096 #define wxHAVE_PTHREAD_CLEANUP 1
36102 for ac_header
in sched.h
36104 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36106 echo "$as_me:$LINENO: checking for $ac_header" >&5
36107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36109 echo $ECHO_N "(cached) $ECHO_C" >&6
36111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36114 # Is the header compilable?
36115 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36116 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36117 cat >conftest.
$ac_ext <<_ACEOF
36120 cat confdefs.h
>>conftest.
$ac_ext
36121 cat >>conftest.
$ac_ext <<_ACEOF
36122 /* end confdefs.h. */
36123 $ac_includes_default
36124 #include <$ac_header>
36126 rm -f conftest.
$ac_objext
36127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36128 (eval $ac_compile) 2>conftest.er1
36130 grep -v '^ *+' conftest.er1
>conftest.err
36132 cat conftest.err
>&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); } &&
36135 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36137 (eval $ac_try) 2>&5
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); }; } &&
36141 { ac_try
='test -s conftest.$ac_objext'
36142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36143 (eval $ac_try) 2>&5
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); }; }; then
36147 ac_header_compiler
=yes
36149 echo "$as_me: failed program was:" >&5
36150 sed 's/^/| /' conftest.
$ac_ext >&5
36152 ac_header_compiler
=no
36154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36156 echo "${ECHO_T}$ac_header_compiler" >&6
36158 # Is the header present?
36159 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36161 cat >conftest.
$ac_ext <<_ACEOF
36164 cat confdefs.h
>>conftest.
$ac_ext
36165 cat >>conftest.
$ac_ext <<_ACEOF
36166 /* end confdefs.h. */
36167 #include <$ac_header>
36169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36170 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36172 grep -v '^ *+' conftest.er1
>conftest.err
36174 cat conftest.err
>&5
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); } >/dev
/null
; then
36177 if test -s conftest.err
; then
36178 ac_cpp_err
=$ac_c_preproc_warn_flag
36179 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36186 if test -z "$ac_cpp_err"; then
36187 ac_header_preproc
=yes
36189 echo "$as_me: failed program was:" >&5
36190 sed 's/^/| /' conftest.
$ac_ext >&5
36192 ac_header_preproc
=no
36194 rm -f conftest.err conftest.
$ac_ext
36195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36196 echo "${ECHO_T}$ac_header_preproc" >&6
36198 # So? What about this header?
36199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36201 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36202 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36204 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36205 ac_header_preproc
=yes
36208 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36209 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36210 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36211 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36212 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36213 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36214 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36215 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36218 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36219 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36222 ## ----------------------------------------- ##
36223 ## Report this to wx-dev@lists.wxwidgets.org ##
36224 ## ----------------------------------------- ##
36227 sed "s/^/$as_me: WARNING: /" >&2
36230 echo "$as_me:$LINENO: checking for $ac_header" >&5
36231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36233 echo $ECHO_N "(cached) $ECHO_C" >&6
36235 eval "$as_ac_Header=\$ac_header_preproc"
36237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36242 cat >>confdefs.h
<<_ACEOF
36243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36250 if test "$ac_cv_header_sched_h" = "yes"; then
36251 echo "$as_me:$LINENO: checking for sched_yield" >&5
36252 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36253 if test "${ac_cv_func_sched_yield+set}" = set; then
36254 echo $ECHO_N "(cached) $ECHO_C" >&6
36256 cat >conftest.
$ac_ext <<_ACEOF
36259 cat confdefs.h
>>conftest.
$ac_ext
36260 cat >>conftest.
$ac_ext <<_ACEOF
36261 /* end confdefs.h. */
36262 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
36263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36264 #define sched_yield innocuous_sched_yield
36266 /* System header to define __stub macros and hopefully few prototypes,
36267 which can conflict with char sched_yield (); below.
36268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36269 <limits.h> exists even on freestanding compilers. */
36272 # include <limits.h>
36274 # include <assert.h>
36279 /* Override any gcc2 internal prototype to avoid an error. */
36284 /* We use char because int might match the return type of a gcc2
36285 builtin and then its argument prototype would still apply. */
36286 char sched_yield ();
36287 /* The GNU C library defines this for functions which it implements
36288 to always fail with ENOSYS. Some functions are actually named
36289 something starting with __ and the normal name is an alias. */
36290 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
36293 char (*f) () = sched_yield;
36302 return f != sched_yield;
36307 rm -f conftest.
$ac_objext conftest
$ac_exeext
36308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36309 (eval $ac_link) 2>conftest.er1
36311 grep -v '^ *+' conftest.er1
>conftest.err
36313 cat conftest.err
>&5
36314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36315 (exit $ac_status); } &&
36316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36318 (eval $ac_try) 2>&5
36320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321 (exit $ac_status); }; } &&
36322 { ac_try
='test -s conftest$ac_exeext'
36323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36324 (eval $ac_try) 2>&5
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); }; }; then
36328 ac_cv_func_sched_yield
=yes
36330 echo "$as_me: failed program was:" >&5
36331 sed 's/^/| /' conftest.
$ac_ext >&5
36333 ac_cv_func_sched_yield
=no
36335 rm -f conftest.err conftest.
$ac_objext \
36336 conftest
$ac_exeext conftest.
$ac_ext
36338 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
36339 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
36340 if test $ac_cv_func_sched_yield = yes; then
36341 cat >>confdefs.h
<<\_ACEOF
36342 #define HAVE_SCHED_YIELD 1
36347 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
36348 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
36349 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
36350 echo $ECHO_N "(cached) $ECHO_C" >&6
36352 ac_check_lib_save_LIBS
=$LIBS
36353 LIBS
="-lposix4 $LIBS"
36354 cat >conftest.
$ac_ext <<_ACEOF
36357 cat confdefs.h
>>conftest.
$ac_ext
36358 cat >>conftest.
$ac_ext <<_ACEOF
36359 /* end confdefs.h. */
36361 /* Override any gcc2 internal prototype to avoid an error. */
36365 /* We use char because int might match the return type of a gcc2
36366 builtin and then its argument prototype would still apply. */
36367 char sched_yield ();
36376 rm -f conftest.
$ac_objext conftest
$ac_exeext
36377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36378 (eval $ac_link) 2>conftest.er1
36380 grep -v '^ *+' conftest.er1
>conftest.err
36382 cat conftest.err
>&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); } &&
36385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; } &&
36391 { ac_try
='test -s conftest$ac_exeext'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; }; then
36397 ac_cv_lib_posix4_sched_yield
=yes
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.
$ac_ext >&5
36402 ac_cv_lib_posix4_sched_yield
=no
36404 rm -f conftest.err conftest.
$ac_objext \
36405 conftest
$ac_exeext conftest.
$ac_ext
36406 LIBS
=$ac_check_lib_save_LIBS
36408 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
36409 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
36410 if test $ac_cv_lib_posix4_sched_yield = yes; then
36411 cat >>confdefs.h
<<\_ACEOF
36412 #define HAVE_SCHED_YIELD 1
36414 POSIX4_LINK
=" -lposix4"
36416 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
36417 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
36428 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
36429 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
36430 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
36431 echo $ECHO_N "(cached) $ECHO_C" >&6
36433 cat >conftest.
$ac_ext <<_ACEOF
36436 cat confdefs.h
>>conftest.
$ac_ext
36437 cat >>conftest.
$ac_ext <<_ACEOF
36438 /* end confdefs.h. */
36439 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
36440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36441 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
36443 /* System header to define __stub macros and hopefully few prototypes,
36444 which can conflict with char pthread_attr_getschedpolicy (); below.
36445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36446 <limits.h> exists even on freestanding compilers. */
36449 # include <limits.h>
36451 # include <assert.h>
36454 #undef pthread_attr_getschedpolicy
36456 /* Override any gcc2 internal prototype to avoid an error. */
36461 /* We use char because int might match the return type of a gcc2
36462 builtin and then its argument prototype would still apply. */
36463 char pthread_attr_getschedpolicy ();
36464 /* The GNU C library defines this for functions which it implements
36465 to always fail with ENOSYS. Some functions are actually named
36466 something starting with __ and the normal name is an alias. */
36467 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
36470 char (*f) () = pthread_attr_getschedpolicy;
36479 return f != pthread_attr_getschedpolicy;
36484 rm -f conftest.
$ac_objext conftest
$ac_exeext
36485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36486 (eval $ac_link) 2>conftest.er1
36488 grep -v '^ *+' conftest.er1
>conftest.err
36490 cat conftest.err
>&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); } &&
36493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36495 (eval $ac_try) 2>&5
36497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36498 (exit $ac_status); }; } &&
36499 { ac_try
='test -s conftest$ac_exeext'
36500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36501 (eval $ac_try) 2>&5
36503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36504 (exit $ac_status); }; }; then
36505 ac_cv_func_pthread_attr_getschedpolicy
=yes
36507 echo "$as_me: failed program was:" >&5
36508 sed 's/^/| /' conftest.
$ac_ext >&5
36510 ac_cv_func_pthread_attr_getschedpolicy
=no
36512 rm -f conftest.err conftest.
$ac_objext \
36513 conftest
$ac_exeext conftest.
$ac_ext
36515 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
36516 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
36517 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
36518 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
36519 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
36520 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
36521 echo $ECHO_N "(cached) $ECHO_C" >&6
36523 cat >conftest.
$ac_ext <<_ACEOF
36526 cat confdefs.h
>>conftest.
$ac_ext
36527 cat >>conftest.
$ac_ext <<_ACEOF
36528 /* end confdefs.h. */
36529 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
36530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36531 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
36533 /* System header to define __stub macros and hopefully few prototypes,
36534 which can conflict with char pthread_attr_setschedparam (); below.
36535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36536 <limits.h> exists even on freestanding compilers. */
36539 # include <limits.h>
36541 # include <assert.h>
36544 #undef pthread_attr_setschedparam
36546 /* Override any gcc2 internal prototype to avoid an error. */
36551 /* We use char because int might match the return type of a gcc2
36552 builtin and then its argument prototype would still apply. */
36553 char pthread_attr_setschedparam ();
36554 /* The GNU C library defines this for functions which it implements
36555 to always fail with ENOSYS. Some functions are actually named
36556 something starting with __ and the normal name is an alias. */
36557 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
36560 char (*f) () = pthread_attr_setschedparam;
36569 return f != pthread_attr_setschedparam;
36574 rm -f conftest.
$ac_objext conftest
$ac_exeext
36575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36576 (eval $ac_link) 2>conftest.er1
36578 grep -v '^ *+' conftest.er1
>conftest.err
36580 cat conftest.err
>&5
36581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36582 (exit $ac_status); } &&
36583 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36585 (eval $ac_try) 2>&5
36587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588 (exit $ac_status); }; } &&
36589 { ac_try
='test -s conftest$ac_exeext'
36590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591 (eval $ac_try) 2>&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); }; }; then
36595 ac_cv_func_pthread_attr_setschedparam
=yes
36597 echo "$as_me: failed program was:" >&5
36598 sed 's/^/| /' conftest.
$ac_ext >&5
36600 ac_cv_func_pthread_attr_setschedparam
=no
36602 rm -f conftest.err conftest.
$ac_objext \
36603 conftest
$ac_exeext conftest.
$ac_ext
36605 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
36606 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
36607 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
36608 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
36609 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
36610 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
36611 echo $ECHO_N "(cached) $ECHO_C" >&6
36613 cat >conftest.
$ac_ext <<_ACEOF
36616 cat confdefs.h
>>conftest.
$ac_ext
36617 cat >>conftest.
$ac_ext <<_ACEOF
36618 /* end confdefs.h. */
36619 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
36620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36621 #define sched_get_priority_max innocuous_sched_get_priority_max
36623 /* System header to define __stub macros and hopefully few prototypes,
36624 which can conflict with char sched_get_priority_max (); below.
36625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36626 <limits.h> exists even on freestanding compilers. */
36629 # include <limits.h>
36631 # include <assert.h>
36634 #undef sched_get_priority_max
36636 /* Override any gcc2 internal prototype to avoid an error. */
36641 /* We use char because int might match the return type of a gcc2
36642 builtin and then its argument prototype would still apply. */
36643 char sched_get_priority_max ();
36644 /* The GNU C library defines this for functions which it implements
36645 to always fail with ENOSYS. Some functions are actually named
36646 something starting with __ and the normal name is an alias. */
36647 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
36650 char (*f) () = sched_get_priority_max;
36659 return f != sched_get_priority_max;
36664 rm -f conftest.
$ac_objext conftest
$ac_exeext
36665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36666 (eval $ac_link) 2>conftest.er1
36668 grep -v '^ *+' conftest.er1
>conftest.err
36670 cat conftest.err
>&5
36671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36672 (exit $ac_status); } &&
36673 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36675 (eval $ac_try) 2>&5
36677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36678 (exit $ac_status); }; } &&
36679 { ac_try
='test -s conftest$ac_exeext'
36680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36681 (eval $ac_try) 2>&5
36683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36684 (exit $ac_status); }; }; then
36685 ac_cv_func_sched_get_priority_max
=yes
36687 echo "$as_me: failed program was:" >&5
36688 sed 's/^/| /' conftest.
$ac_ext >&5
36690 ac_cv_func_sched_get_priority_max
=no
36692 rm -f conftest.err conftest.
$ac_objext \
36693 conftest
$ac_exeext conftest.
$ac_ext
36695 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
36696 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
36697 if test $ac_cv_func_sched_get_priority_max = yes; then
36700 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
36701 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
36702 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
36703 echo $ECHO_N "(cached) $ECHO_C" >&6
36705 ac_check_lib_save_LIBS
=$LIBS
36706 LIBS
="-lposix4 $LIBS"
36707 cat >conftest.
$ac_ext <<_ACEOF
36710 cat confdefs.h
>>conftest.
$ac_ext
36711 cat >>conftest.
$ac_ext <<_ACEOF
36712 /* end confdefs.h. */
36714 /* Override any gcc2 internal prototype to avoid an error. */
36718 /* We use char because int might match the return type of a gcc2
36719 builtin and then its argument prototype would still apply. */
36720 char sched_get_priority_max ();
36724 sched_get_priority_max ();
36729 rm -f conftest.
$ac_objext conftest
$ac_exeext
36730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36731 (eval $ac_link) 2>conftest.er1
36733 grep -v '^ *+' conftest.er1
>conftest.err
36735 cat conftest.err
>&5
36736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36737 (exit $ac_status); } &&
36738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36740 (eval $ac_try) 2>&5
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); }; } &&
36744 { ac_try
='test -s conftest$ac_exeext'
36745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36746 (eval $ac_try) 2>&5
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); }; }; then
36750 ac_cv_lib_posix4_sched_get_priority_max
=yes
36752 echo "$as_me: failed program was:" >&5
36753 sed 's/^/| /' conftest.
$ac_ext >&5
36755 ac_cv_lib_posix4_sched_get_priority_max
=no
36757 rm -f conftest.err conftest.
$ac_objext \
36758 conftest
$ac_exeext conftest.
$ac_ext
36759 LIBS
=$ac_check_lib_save_LIBS
36761 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
36762 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
36763 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
36766 POSIX4_LINK
=" -lposix4"
36780 if test "$HAVE_PRIOR_FUNCS" = 1; then
36781 cat >>confdefs.h
<<\_ACEOF
36782 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
36786 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
36787 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
36790 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
36791 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
36792 if test "${ac_cv_func_pthread_cancel+set}" = set; then
36793 echo $ECHO_N "(cached) $ECHO_C" >&6
36795 cat >conftest.
$ac_ext <<_ACEOF
36798 cat confdefs.h
>>conftest.
$ac_ext
36799 cat >>conftest.
$ac_ext <<_ACEOF
36800 /* end confdefs.h. */
36801 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
36802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36803 #define pthread_cancel innocuous_pthread_cancel
36805 /* System header to define __stub macros and hopefully few prototypes,
36806 which can conflict with char pthread_cancel (); below.
36807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36808 <limits.h> exists even on freestanding compilers. */
36811 # include <limits.h>
36813 # include <assert.h>
36816 #undef pthread_cancel
36818 /* Override any gcc2 internal prototype to avoid an error. */
36823 /* We use char because int might match the return type of a gcc2
36824 builtin and then its argument prototype would still apply. */
36825 char pthread_cancel ();
36826 /* The GNU C library defines this for functions which it implements
36827 to always fail with ENOSYS. Some functions are actually named
36828 something starting with __ and the normal name is an alias. */
36829 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
36832 char (*f) () = pthread_cancel;
36841 return f != pthread_cancel;
36846 rm -f conftest.
$ac_objext conftest
$ac_exeext
36847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36848 (eval $ac_link) 2>conftest.er1
36850 grep -v '^ *+' conftest.er1
>conftest.err
36852 cat conftest.err
>&5
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); } &&
36855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36857 (eval $ac_try) 2>&5
36859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36860 (exit $ac_status); }; } &&
36861 { ac_try
='test -s conftest$ac_exeext'
36862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36863 (eval $ac_try) 2>&5
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); }; }; then
36867 ac_cv_func_pthread_cancel
=yes
36869 echo "$as_me: failed program was:" >&5
36870 sed 's/^/| /' conftest.
$ac_ext >&5
36872 ac_cv_func_pthread_cancel
=no
36874 rm -f conftest.err conftest.
$ac_objext \
36875 conftest
$ac_exeext conftest.
$ac_ext
36877 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
36878 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
36879 if test $ac_cv_func_pthread_cancel = yes; then
36880 cat >>confdefs.h
<<\_ACEOF
36881 #define HAVE_PTHREAD_CANCEL 1
36885 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
36886 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
36890 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
36891 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
36892 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
36893 echo $ECHO_N "(cached) $ECHO_C" >&6
36895 cat >conftest.
$ac_ext <<_ACEOF
36898 cat confdefs.h
>>conftest.
$ac_ext
36899 cat >>conftest.
$ac_ext <<_ACEOF
36900 /* end confdefs.h. */
36901 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
36902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36903 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
36905 /* System header to define __stub macros and hopefully few prototypes,
36906 which can conflict with char pthread_attr_setstacksize (); below.
36907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36908 <limits.h> exists even on freestanding compilers. */
36911 # include <limits.h>
36913 # include <assert.h>
36916 #undef pthread_attr_setstacksize
36918 /* Override any gcc2 internal prototype to avoid an error. */
36923 /* We use char because int might match the return type of a gcc2
36924 builtin and then its argument prototype would still apply. */
36925 char pthread_attr_setstacksize ();
36926 /* The GNU C library defines this for functions which it implements
36927 to always fail with ENOSYS. Some functions are actually named
36928 something starting with __ and the normal name is an alias. */
36929 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
36932 char (*f) () = pthread_attr_setstacksize;
36941 return f != pthread_attr_setstacksize;
36946 rm -f conftest.
$ac_objext conftest
$ac_exeext
36947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36948 (eval $ac_link) 2>conftest.er1
36950 grep -v '^ *+' conftest.er1
>conftest.err
36952 cat conftest.err
>&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } &&
36955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36957 (eval $ac_try) 2>&5
36959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960 (exit $ac_status); }; } &&
36961 { ac_try
='test -s conftest$ac_exeext'
36962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36963 (eval $ac_try) 2>&5
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); }; }; then
36967 ac_cv_func_pthread_attr_setstacksize
=yes
36969 echo "$as_me: failed program was:" >&5
36970 sed 's/^/| /' conftest.
$ac_ext >&5
36972 ac_cv_func_pthread_attr_setstacksize
=no
36974 rm -f conftest.err conftest.
$ac_objext \
36975 conftest
$ac_exeext conftest.
$ac_ext
36977 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
36978 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
36979 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
36980 cat >>confdefs.h
<<\_ACEOF
36981 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
36988 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
36989 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
36990 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
36991 echo $ECHO_N "(cached) $ECHO_C" >&6
36994 cat >conftest.
$ac_ext <<_ACEOF
36997 cat confdefs.h
>>conftest.
$ac_ext
36998 cat >>conftest.
$ac_ext <<_ACEOF
36999 /* end confdefs.h. */
37000 #include <pthread.h>
37005 pthread_mutexattr_t attr;
37006 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37012 rm -f conftest.
$ac_objext
37013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37014 (eval $ac_compile) 2>conftest.er1
37016 grep -v '^ *+' conftest.er1
>conftest.err
37018 cat conftest.err
>&5
37019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37020 (exit $ac_status); } &&
37021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37023 (eval $ac_try) 2>&5
37025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026 (exit $ac_status); }; } &&
37027 { ac_try
='test -s conftest.$ac_objext'
37028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37029 (eval $ac_try) 2>&5
37031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37032 (exit $ac_status); }; }; then
37034 wx_cv_type_pthread_mutexattr_t
=yes
37037 echo "$as_me: failed program was:" >&5
37038 sed 's/^/| /' conftest.
$ac_ext >&5
37041 wx_cv_type_pthread_mutexattr_t
=no
37045 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37048 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37049 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37051 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37052 cat >>confdefs.h
<<\_ACEOF
37053 #define HAVE_PTHREAD_MUTEXATTR_T 1
37057 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37058 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37059 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37060 echo $ECHO_N "(cached) $ECHO_C" >&6
37063 cat >conftest.
$ac_ext <<_ACEOF
37066 cat confdefs.h
>>conftest.
$ac_ext
37067 cat >>conftest.
$ac_ext <<_ACEOF
37068 /* end confdefs.h. */
37069 #include <pthread.h>
37074 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37080 rm -f conftest.
$ac_objext
37081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37082 (eval $ac_compile) 2>conftest.er1
37084 grep -v '^ *+' conftest.er1
>conftest.err
37086 cat conftest.err
>&5
37087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37088 (exit $ac_status); } &&
37089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37091 (eval $ac_try) 2>&5
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); }; } &&
37095 { ac_try
='test -s conftest.$ac_objext'
37096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37097 (eval $ac_try) 2>&5
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); }; }; then
37102 wx_cv_type_pthread_rec_mutex_init
=yes
37105 echo "$as_me: failed program was:" >&5
37106 sed 's/^/| /' conftest.
$ac_ext >&5
37109 wx_cv_type_pthread_rec_mutex_init
=no
37113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37116 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37117 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37118 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37119 cat >>confdefs.h
<<\_ACEOF
37120 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37124 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37125 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37131 if test "$wxUSE_THREADS" = "yes" ; then
37134 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37135 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37136 if test "${wx_cv_cflags_mthread+set}" = set; then
37137 echo $ECHO_N "(cached) $ECHO_C" >&6
37140 CFLAGS_OLD
="$CFLAGS"
37141 CFLAGS
="$CFLAGS -mthreads"
37142 cat >conftest.
$ac_ext <<_ACEOF
37145 cat confdefs.h
>>conftest.
$ac_ext
37146 cat >>conftest.
$ac_ext <<_ACEOF
37147 /* end confdefs.h. */
37157 rm -f conftest.
$ac_objext
37158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37159 (eval $ac_compile) 2>conftest.er1
37161 grep -v '^ *+' conftest.er1
>conftest.err
37163 cat conftest.err
>&5
37164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165 (exit $ac_status); } &&
37166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37168 (eval $ac_try) 2>&5
37170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37171 (exit $ac_status); }; } &&
37172 { ac_try
='test -s conftest.$ac_objext'
37173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37174 (eval $ac_try) 2>&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); }; }; then
37178 wx_cv_cflags_mthread
=yes
37180 echo "$as_me: failed program was:" >&5
37181 sed 's/^/| /' conftest.
$ac_ext >&5
37183 wx_cv_cflags_mthread
=no
37186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37190 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37191 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37193 if test "$wx_cv_cflags_mthread" = "yes"; then
37194 CXXFLAGS
="$CXXFLAGS -mthreads"
37195 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
37196 LDFLAGS
="$LDFLAGS -mthreads"
37198 CFLAGS
="$CFLAGS_OLD"
37202 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
37203 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
37204 LDFLAGS
="$LDFLAGS -Zmt"
37210 if test "$wxUSE_THREADS" = "yes"; then
37211 cat >>confdefs.h
<<\_ACEOF
37212 #define wxUSE_THREADS 1
37216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
37218 if test "$ac_cv_func_strtok_r" = "yes"; then
37219 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
37220 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
37221 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
37222 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
37223 echo "$as_me:$LINENO: result: yes" >&5
37224 echo "${ECHO_T}yes" >&6
37226 echo "$as_me:$LINENO: result: no" >&5
37227 echo "${ECHO_T}no" >&6
37232 if test "$WXGTK20" = 1 ; then
37233 cat >>confdefs.h
<<_ACEOF
37234 #define __WXGTK20__ $WXGTK20
37240 if test "$WXGTK12" = 1 ; then
37241 cat >>confdefs.h
<<_ACEOF
37242 #define __WXGTK12__ $WXGTK12
37247 if test "$WXGTK127" = 1 ; then
37248 cat >>confdefs.h
<<_ACEOF
37249 #define __WXGTK127__ $WXGTK127
37254 if test "$WXGPE" = 1 ; then
37255 cat >>confdefs.h
<<_ACEOF
37256 #define __WXGPE__ $WXGPE
37263 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
37268 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
37269 wxUSE_DEBUG_INFO
=yes
37270 if test "$GCC" = yes; then
37275 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
37276 cat >>confdefs.h
<<\_ACEOF
37280 WXDEBUG_DEFINE
="-D__WXDEBUG__"
37282 if test "$wxUSE_GTK" = 1 ; then
37283 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
37287 if test "$wxUSE_MEM_TRACING" = "yes" ; then
37288 cat >>confdefs.h
<<\_ACEOF
37289 #define wxUSE_MEMORY_TRACING 1
37292 cat >>confdefs.h
<<\_ACEOF
37293 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
37296 cat >>confdefs.h
<<\_ACEOF
37297 #define wxUSE_DEBUG_NEW_ALWAYS 1
37300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
37303 if test "$wxUSE_DMALLOC" = "yes" ; then
37304 DMALLOC_LIBS
="-ldmallocthcxx"
37308 if test "$wxUSE_PROFILE" = "yes" ; then
37313 CODE_GEN_FLAGS_CXX
=
37314 if test "$GCC" = "yes" ; then
37315 if test "$wxUSE_NO_RTTI" = "yes" ; then
37316 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
37318 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37319 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
37321 if test "$wxUSE_PERMISSIVE" = "yes" ; then
37322 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
37327 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
37330 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
37336 if test "$wxUSE_OPTIMISE" = "no" ; then
37337 if test "$GCC" = yes ; then
37341 if test "$GCC" = yes ; then
37345 i586
-*-*|i686
-*-* )
37346 OPTIMISE
="${OPTIMISE} "
37355 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
37356 cat >>confdefs.h
<<\_ACEOF
37357 #define WXWIN_COMPATIBILITY_2_2 1
37361 WXWIN_COMPATIBILITY_2_4
="yes"
37364 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
37365 cat >>confdefs.h
<<\_ACEOF
37366 #define WXWIN_COMPATIBILITY_2_4 1
37372 if test "$wxUSE_GUI" = "yes"; then
37373 cat >>confdefs.h
<<\_ACEOF
37374 #define wxUSE_GUI 1
37381 if test "$wxUSE_UNIX" = "yes"; then
37382 cat >>confdefs.h
<<\_ACEOF
37383 #define wxUSE_UNIX 1
37389 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37393 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
37394 if test "$USE_DARWIN" = 1; then
37396 elif test "$USE_DOS" = 1; then
37400 for ac_func
in dlopen
37402 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37403 echo "$as_me:$LINENO: checking for $ac_func" >&5
37404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37405 if eval "test \"\${$as_ac_var+set}\" = set"; then
37406 echo $ECHO_N "(cached) $ECHO_C" >&6
37408 cat >conftest.
$ac_ext <<_ACEOF
37411 cat confdefs.h
>>conftest.
$ac_ext
37412 cat >>conftest.
$ac_ext <<_ACEOF
37413 /* end confdefs.h. */
37414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37416 #define $ac_func innocuous_$ac_func
37418 /* System header to define __stub macros and hopefully few prototypes,
37419 which can conflict with char $ac_func (); below.
37420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37421 <limits.h> exists even on freestanding compilers. */
37424 # include <limits.h>
37426 # include <assert.h>
37431 /* Override any gcc2 internal prototype to avoid an error. */
37436 /* We use char because int might match the return type of a gcc2
37437 builtin and then its argument prototype would still apply. */
37439 /* The GNU C library defines this for functions which it implements
37440 to always fail with ENOSYS. Some functions are actually named
37441 something starting with __ and the normal name is an alias. */
37442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37445 char (*f) () = $ac_func;
37454 return f != $ac_func;
37459 rm -f conftest.
$ac_objext conftest
$ac_exeext
37460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37461 (eval $ac_link) 2>conftest.er1
37463 grep -v '^ *+' conftest.er1
>conftest.err
37465 cat conftest.err
>&5
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); } &&
37468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37470 (eval $ac_try) 2>&5
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); }; } &&
37474 { ac_try
='test -s conftest$ac_exeext'
37475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37476 (eval $ac_try) 2>&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); }; }; then
37480 eval "$as_ac_var=yes"
37482 echo "$as_me: failed program was:" >&5
37483 sed 's/^/| /' conftest.
$ac_ext >&5
37485 eval "$as_ac_var=no"
37487 rm -f conftest.err conftest.
$ac_objext \
37488 conftest
$ac_exeext conftest.
$ac_ext
37490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37492 if test `eval echo '${'$as_ac_var'}'` = yes; then
37493 cat >>confdefs.h
<<_ACEOF
37494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37497 cat >>confdefs.h
<<\_ACEOF
37498 #define HAVE_DLOPEN 1
37505 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
37506 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
37507 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
37508 echo $ECHO_N "(cached) $ECHO_C" >&6
37510 ac_check_lib_save_LIBS
=$LIBS
37512 cat >conftest.
$ac_ext <<_ACEOF
37515 cat confdefs.h
>>conftest.
$ac_ext
37516 cat >>conftest.
$ac_ext <<_ACEOF
37517 /* end confdefs.h. */
37519 /* Override any gcc2 internal prototype to avoid an error. */
37523 /* We use char because int might match the return type of a gcc2
37524 builtin and then its argument prototype would still apply. */
37534 rm -f conftest.
$ac_objext conftest
$ac_exeext
37535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37536 (eval $ac_link) 2>conftest.er1
37538 grep -v '^ *+' conftest.er1
>conftest.err
37540 cat conftest.err
>&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } &&
37543 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37545 (eval $ac_try) 2>&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); }; } &&
37549 { ac_try
='test -s conftest$ac_exeext'
37550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37551 (eval $ac_try) 2>&5
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); }; }; then
37555 ac_cv_lib_dl_dlopen
=yes
37557 echo "$as_me: failed program was:" >&5
37558 sed 's/^/| /' conftest.
$ac_ext >&5
37560 ac_cv_lib_dl_dlopen
=no
37562 rm -f conftest.err conftest.
$ac_objext \
37563 conftest
$ac_exeext conftest.
$ac_ext
37564 LIBS
=$ac_check_lib_save_LIBS
37566 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
37567 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
37568 if test $ac_cv_lib_dl_dlopen = yes; then
37570 cat >>confdefs.h
<<\_ACEOF
37571 #define HAVE_DLOPEN 1
37575 DL_LINK
=" -ldl$DL_LINK"
37580 for ac_func
in shl_load
37582 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37583 echo "$as_me:$LINENO: checking for $ac_func" >&5
37584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37585 if eval "test \"\${$as_ac_var+set}\" = set"; then
37586 echo $ECHO_N "(cached) $ECHO_C" >&6
37588 cat >conftest.
$ac_ext <<_ACEOF
37591 cat confdefs.h
>>conftest.
$ac_ext
37592 cat >>conftest.
$ac_ext <<_ACEOF
37593 /* end confdefs.h. */
37594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37596 #define $ac_func innocuous_$ac_func
37598 /* System header to define __stub macros and hopefully few prototypes,
37599 which can conflict with char $ac_func (); below.
37600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37601 <limits.h> exists even on freestanding compilers. */
37604 # include <limits.h>
37606 # include <assert.h>
37611 /* Override any gcc2 internal prototype to avoid an error. */
37616 /* We use char because int might match the return type of a gcc2
37617 builtin and then its argument prototype would still apply. */
37619 /* The GNU C library defines this for functions which it implements
37620 to always fail with ENOSYS. Some functions are actually named
37621 something starting with __ and the normal name is an alias. */
37622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37625 char (*f) () = $ac_func;
37634 return f != $ac_func;
37639 rm -f conftest.
$ac_objext conftest
$ac_exeext
37640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37641 (eval $ac_link) 2>conftest.er1
37643 grep -v '^ *+' conftest.er1
>conftest.err
37645 cat conftest.err
>&5
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); } &&
37648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37650 (eval $ac_try) 2>&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); }; } &&
37654 { ac_try
='test -s conftest$ac_exeext'
37655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37656 (eval $ac_try) 2>&5
37658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659 (exit $ac_status); }; }; then
37660 eval "$as_ac_var=yes"
37662 echo "$as_me: failed program was:" >&5
37663 sed 's/^/| /' conftest.
$ac_ext >&5
37665 eval "$as_ac_var=no"
37667 rm -f conftest.err conftest.
$ac_objext \
37668 conftest
$ac_exeext conftest.
$ac_ext
37670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37672 if test `eval echo '${'$as_ac_var'}'` = yes; then
37673 cat >>confdefs.h
<<_ACEOF
37674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37677 cat >>confdefs.h
<<\_ACEOF
37678 #define HAVE_SHL_LOAD 1
37685 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
37686 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
37687 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
37688 echo $ECHO_N "(cached) $ECHO_C" >&6
37690 ac_check_lib_save_LIBS
=$LIBS
37691 LIBS
="-lshl_load $LIBS"
37692 cat >conftest.
$ac_ext <<_ACEOF
37695 cat confdefs.h
>>conftest.
$ac_ext
37696 cat >>conftest.
$ac_ext <<_ACEOF
37697 /* end confdefs.h. */
37699 /* Override any gcc2 internal prototype to avoid an error. */
37703 /* We use char because int might match the return type of a gcc2
37704 builtin and then its argument prototype would still apply. */
37714 rm -f conftest.
$ac_objext conftest
$ac_exeext
37715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37716 (eval $ac_link) 2>conftest.er1
37718 grep -v '^ *+' conftest.er1
>conftest.err
37720 cat conftest.err
>&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); } &&
37723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37725 (eval $ac_try) 2>&5
37727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37728 (exit $ac_status); }; } &&
37729 { ac_try
='test -s conftest$ac_exeext'
37730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37731 (eval $ac_try) 2>&5
37733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37734 (exit $ac_status); }; }; then
37735 ac_cv_lib_shl_load_dld
=yes
37737 echo "$as_me: failed program was:" >&5
37738 sed 's/^/| /' conftest.
$ac_ext >&5
37740 ac_cv_lib_shl_load_dld
=no
37742 rm -f conftest.err conftest.
$ac_objext \
37743 conftest
$ac_exeext conftest.
$ac_ext
37744 LIBS
=$ac_check_lib_save_LIBS
37746 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
37747 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
37748 if test $ac_cv_lib_shl_load_dld = yes; then
37751 DL_LINK
=" -ldld$DL_LINK"
37767 if test "$HAVE_DL_FUNCS" = 1; then
37769 for ac_func
in dlerror
37771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37772 echo "$as_me:$LINENO: checking for $ac_func" >&5
37773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37774 if eval "test \"\${$as_ac_var+set}\" = set"; then
37775 echo $ECHO_N "(cached) $ECHO_C" >&6
37777 cat >conftest.
$ac_ext <<_ACEOF
37780 cat confdefs.h
>>conftest.
$ac_ext
37781 cat >>conftest.
$ac_ext <<_ACEOF
37782 /* end confdefs.h. */
37783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37785 #define $ac_func innocuous_$ac_func
37787 /* System header to define __stub macros and hopefully few prototypes,
37788 which can conflict with char $ac_func (); below.
37789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37790 <limits.h> exists even on freestanding compilers. */
37793 # include <limits.h>
37795 # include <assert.h>
37800 /* Override any gcc2 internal prototype to avoid an error. */
37805 /* We use char because int might match the return type of a gcc2
37806 builtin and then its argument prototype would still apply. */
37808 /* The GNU C library defines this for functions which it implements
37809 to always fail with ENOSYS. Some functions are actually named
37810 something starting with __ and the normal name is an alias. */
37811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37814 char (*f) () = $ac_func;
37823 return f != $ac_func;
37828 rm -f conftest.
$ac_objext conftest
$ac_exeext
37829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37830 (eval $ac_link) 2>conftest.er1
37832 grep -v '^ *+' conftest.er1
>conftest.err
37834 cat conftest.err
>&5
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); } &&
37837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37839 (eval $ac_try) 2>&5
37841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37842 (exit $ac_status); }; } &&
37843 { ac_try
='test -s conftest$ac_exeext'
37844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37845 (eval $ac_try) 2>&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); }; }; then
37849 eval "$as_ac_var=yes"
37851 echo "$as_me: failed program was:" >&5
37852 sed 's/^/| /' conftest.
$ac_ext >&5
37854 eval "$as_ac_var=no"
37856 rm -f conftest.err conftest.
$ac_objext \
37857 conftest
$ac_exeext conftest.
$ac_ext
37859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37861 if test `eval echo '${'$as_ac_var'}'` = yes; then
37862 cat >>confdefs.h
<<_ACEOF
37863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37865 cat >>confdefs.h
<<\_ACEOF
37866 #define HAVE_DLERROR 1
37871 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
37872 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
37873 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
37874 echo $ECHO_N "(cached) $ECHO_C" >&6
37876 ac_check_lib_save_LIBS
=$LIBS
37878 cat >conftest.
$ac_ext <<_ACEOF
37881 cat confdefs.h
>>conftest.
$ac_ext
37882 cat >>conftest.
$ac_ext <<_ACEOF
37883 /* end confdefs.h. */
37885 /* Override any gcc2 internal prototype to avoid an error. */
37889 /* We use char because int might match the return type of a gcc2
37890 builtin and then its argument prototype would still apply. */
37900 rm -f conftest.
$ac_objext conftest
$ac_exeext
37901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37902 (eval $ac_link) 2>conftest.er1
37904 grep -v '^ *+' conftest.er1
>conftest.err
37906 cat conftest.err
>&5
37907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37908 (exit $ac_status); } &&
37909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37911 (eval $ac_try) 2>&5
37913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914 (exit $ac_status); }; } &&
37915 { ac_try
='test -s conftest$ac_exeext'
37916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37917 (eval $ac_try) 2>&5
37919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37920 (exit $ac_status); }; }; then
37921 ac_cv_lib_dl_dlerror
=yes
37923 echo "$as_me: failed program was:" >&5
37924 sed 's/^/| /' conftest.
$ac_ext >&5
37926 ac_cv_lib_dl_dlerror
=no
37928 rm -f conftest.err conftest.
$ac_objext \
37929 conftest
$ac_exeext conftest.
$ac_ext
37930 LIBS
=$ac_check_lib_save_LIBS
37932 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
37933 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
37934 if test $ac_cv_lib_dl_dlerror = yes; then
37935 cat >>confdefs.h
<<\_ACEOF
37936 #define HAVE_DLERROR 1
37949 if test "$HAVE_DL_FUNCS" = 0; then
37950 if test "$HAVE_SHL_FUNCS" = 0; then
37951 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
37952 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
37953 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
37954 wxUSE_DYNAMIC_LOADER
=no
37955 wxUSE_DYNLIB_CLASS
=no
37957 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
37958 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
37965 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
37966 cat >>confdefs.h
<<\_ACEOF
37967 #define wxUSE_DYNAMIC_LOADER 1
37971 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
37972 cat >>confdefs.h
<<\_ACEOF
37973 #define wxUSE_DYNLIB_CLASS 1
37980 if test "$wxUSE_PLUGINS" = "yes" ; then
37981 if test "$wxUSE_SHARED" = "no" ; then
37982 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
37983 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
37986 if test "$wxUSE_MONOLITHIC" = "yes" ; then
37987 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
37988 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
37991 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
37992 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
37993 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
37996 if test "$wxUSE_PLUGINS" = "yes" ; then
37997 cat >>confdefs.h
<<\_ACEOF
37998 #define wxUSE_PLUGINS 1
38005 if test "$wxUSE_STL" = "yes"; then
38006 cat >>confdefs.h
<<\_ACEOF
38007 #define wxUSE_STL 1
38012 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38013 cat >>confdefs.h
<<\_ACEOF
38014 #define wxUSE_APPLE_IEEE 1
38019 if test "$wxUSE_TIMER" = "yes"; then
38020 cat >>confdefs.h
<<\_ACEOF
38021 #define wxUSE_TIMER 1
38026 if test "$USE_UNIX" = "1" ; then
38027 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38028 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38029 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38030 echo $ECHO_N "(cached) $ECHO_C" >&6
38033 cat >conftest.
$ac_ext <<_ACEOF
38036 cat confdefs.h
>>conftest.
$ac_ext
38037 cat >>conftest.
$ac_ext <<_ACEOF
38038 /* end confdefs.h. */
38040 #include <sys/soundcard.h>
38046 ioctl(0, SNDCTL_DSP_SYNC, 0);
38052 rm -f conftest.
$ac_objext conftest
$ac_exeext
38053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38054 (eval $ac_link) 2>conftest.er1
38056 grep -v '^ *+' conftest.er1
>conftest.err
38058 cat conftest.err
>&5
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); } &&
38061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38063 (eval $ac_try) 2>&5
38065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38066 (exit $ac_status); }; } &&
38067 { ac_try
='test -s conftest$ac_exeext'
38068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38069 (eval $ac_try) 2>&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); }; }; then
38073 ac_cv_header_sys_soundcard
=yes
38075 echo "$as_me: failed program was:" >&5
38076 sed 's/^/| /' conftest.
$ac_ext >&5
38080 LIBS
="$saveLibs -lossaudio"
38081 cat >conftest.
$ac_ext <<_ACEOF
38084 cat confdefs.h
>>conftest.
$ac_ext
38085 cat >>conftest.
$ac_ext <<_ACEOF
38086 /* end confdefs.h. */
38088 #include <sys/soundcard.h>
38094 ioctl(0, SNDCTL_DSP_SYNC, 0);
38100 rm -f conftest.
$ac_objext conftest
$ac_exeext
38101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38102 (eval $ac_link) 2>conftest.er1
38104 grep -v '^ *+' conftest.er1
>conftest.err
38106 cat conftest.err
>&5
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); } &&
38109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38111 (eval $ac_try) 2>&5
38113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38114 (exit $ac_status); }; } &&
38115 { ac_try
='test -s conftest$ac_exeext'
38116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38117 (eval $ac_try) 2>&5
38119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38120 (exit $ac_status); }; }; then
38121 ac_cv_header_sys_soundcard
=yes
38123 echo "$as_me: failed program was:" >&5
38124 sed 's/^/| /' conftest.
$ac_ext >&5
38128 ac_cv_header_sys_soundcard
=no
38132 rm -f conftest.err conftest.
$ac_objext \
38133 conftest
$ac_exeext conftest.
$ac_ext
38137 rm -f conftest.err conftest.
$ac_objext \
38138 conftest
$ac_exeext conftest.
$ac_ext
38141 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38142 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38144 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38145 cat >>confdefs.h
<<\_ACEOF
38146 #define HAVE_SYS_SOUNDCARD_H 1
38150 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
38154 if test "$wxUSE_SOUND" = "yes"; then
38155 if test "$USE_UNIX" = "1" ; then
38156 if test "$wxUSE_LIBSDL" != "no"; then
38158 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38159 if test "${with_sdl_prefix+set}" = set; then
38160 withval
="$with_sdl_prefix"
38161 sdl_prefix
="$withval"
38166 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38167 if test "${with_sdl_exec_prefix+set}" = set; then
38168 withval
="$with_sdl_exec_prefix"
38169 sdl_exec_prefix
="$withval"
38173 # Check whether --enable-sdltest or --disable-sdltest was given.
38174 if test "${enable_sdltest+set}" = set; then
38175 enableval
="$enable_sdltest"
38181 if test x
$sdl_exec_prefix != x
; then
38182 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
38183 if test x
${SDL_CONFIG+set} != xset
; then
38184 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
38187 if test x
$sdl_prefix != x
; then
38188 sdl_args
="$sdl_args --prefix=$sdl_prefix"
38189 if test x
${SDL_CONFIG+set} != xset
; then
38190 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
38195 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
38196 # Extract the first word of "sdl-config", so it can be a program name with args.
38197 set dummy sdl
-config; ac_word
=$2
38198 echo "$as_me:$LINENO: checking for $ac_word" >&5
38199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38200 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38201 echo $ECHO_N "(cached) $ECHO_C" >&6
38203 case $SDL_CONFIG in
38205 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
38208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38209 for as_dir
in $PATH
38212 test -z "$as_dir" && as_dir
=.
38213 for ac_exec_ext
in '' $ac_executable_extensions; do
38214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38215 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38222 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
38226 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
38228 if test -n "$SDL_CONFIG"; then
38229 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
38230 echo "${ECHO_T}$SDL_CONFIG" >&6
38232 echo "$as_me:$LINENO: result: no" >&5
38233 echo "${ECHO_T}no" >&6
38236 min_sdl_version
=1.2.0
38237 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
38238 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
38240 if test "$SDL_CONFIG" = "no" ; then
38243 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
38244 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
38246 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
38247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
38248 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
38249 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
38250 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
38251 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
38252 if test "x$enable_sdltest" = "xyes" ; then
38253 ac_save_CFLAGS
="$CFLAGS"
38254 ac_save_CXXFLAGS
="$CXXFLAGS"
38255 ac_save_LIBS
="$LIBS"
38256 CFLAGS
="$CFLAGS $SDL_CFLAGS"
38257 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
38258 LIBS
="$LIBS $SDL_LIBS"
38260 if test "$cross_compiling" = yes; then
38261 echo $ac_n "cross compiling; assumed OK... $ac_c"
38263 cat >conftest.
$ac_ext <<_ACEOF
38266 cat confdefs.h
>>conftest.
$ac_ext
38267 cat >>conftest.
$ac_ext <<_ACEOF
38268 /* end confdefs.h. */
38271 #include <stdlib.h>
38272 #include <string.h>
38276 my_strdup (char *str)
38282 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
38283 strcpy (new_str, str);
38291 int main (int argc, char *argv[])
38293 int major, minor, micro;
38296 /* This hangs on some systems (?)
38297 system ("touch conf.sdltest");
38299 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
38301 /* HP/UX 9 (%@#!) writes to sscanf strings */
38302 tmp_version = my_strdup("$min_sdl_version");
38303 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
38304 printf("%s, bad version string\n", "$min_sdl_version");
38308 if (($sdl_major_version > major) ||
38309 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
38310 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
38316 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
38317 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
38318 printf("*** best to upgrade to the required version.\n");
38319 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
38320 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
38321 printf("*** config.cache before re-running configure\n");
38328 rm -f conftest
$ac_exeext
38329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38330 (eval $ac_link) 2>&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38335 (eval $ac_try) 2>&5
38337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338 (exit $ac_status); }; }; then
38341 echo "$as_me: program exited with status $ac_status" >&5
38342 echo "$as_me: failed program was:" >&5
38343 sed 's/^/| /' conftest.
$ac_ext >&5
38345 ( exit $ac_status )
38348 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
38350 CFLAGS
="$ac_save_CFLAGS"
38351 CXXFLAGS
="$ac_save_CXXFLAGS"
38352 LIBS
="$ac_save_LIBS"
38355 if test "x$no_sdl" = x
; then
38356 echo "$as_me:$LINENO: result: yes" >&5
38357 echo "${ECHO_T}yes" >&6
38359 EXTRALIBS_SDL
="$SDL_LIBS"
38360 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
38361 cat >>confdefs.h
<<\_ACEOF
38362 #define wxUSE_LIBSDL 1
38367 echo "$as_me:$LINENO: result: no" >&5
38368 echo "${ECHO_T}no" >&6
38369 if test "$SDL_CONFIG" = "no" ; then
38370 echo "*** The sdl-config script installed by SDL could not be found"
38371 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
38372 echo "*** your path, or set the SDL_CONFIG environment variable to the"
38373 echo "*** full path to sdl-config."
38375 if test -f conf.sdltest
; then
38378 echo "*** Could not run SDL test program, checking why..."
38379 CFLAGS
="$CFLAGS $SDL_CFLAGS"
38380 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
38381 LIBS
="$LIBS $SDL_LIBS"
38382 cat >conftest.
$ac_ext <<_ACEOF
38385 cat confdefs.h
>>conftest.
$ac_ext
38386 cat >>conftest.
$ac_ext <<_ACEOF
38387 /* end confdefs.h. */
38392 int main(int argc, char *argv[])
38395 #define main K_and_R_C_main
38405 rm -f conftest.
$ac_objext conftest
$ac_exeext
38406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38407 (eval $ac_link) 2>conftest.er1
38409 grep -v '^ *+' conftest.er1
>conftest.err
38411 cat conftest.err
>&5
38412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413 (exit $ac_status); } &&
38414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38416 (eval $ac_try) 2>&5
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); }; } &&
38420 { ac_try
='test -s conftest$ac_exeext'
38421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38422 (eval $ac_try) 2>&5
38424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38425 (exit $ac_status); }; }; then
38426 echo "*** The test program compiled, but did not run. This usually means"
38427 echo "*** that the run-time linker is not finding SDL or finding the wrong"
38428 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
38429 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
38430 echo "*** to the installed location Also, make sure you have run ldconfig if that"
38431 echo "*** is required on your system"
38433 echo "*** If you have an old version installed, it is best to remove it, although"
38434 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
38436 echo "$as_me: failed program was:" >&5
38437 sed 's/^/| /' conftest.
$ac_ext >&5
38439 echo "*** The test program failed to compile or link. See the file config.log for the"
38440 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
38441 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
38442 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
38444 rm -f conftest.err conftest.
$ac_objext \
38445 conftest
$ac_exeext conftest.
$ac_ext
38446 CFLAGS
="$ac_save_CFLAGS"
38447 CXXFLAGS
="$ac_save_CXXFLAGS"
38448 LIBS
="$ac_save_LIBS"
38459 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
38465 cat >>confdefs.h
<<\_ACEOF
38466 #define wxUSE_SOUND 1
38469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
38472 if test "$WXGTK20" = 1; then
38473 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38474 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38479 if test -z "$PKG_CONFIG"; then
38480 # Extract the first word of "pkg-config", so it can be a program name with args.
38481 set dummy pkg
-config; ac_word
=$2
38482 echo "$as_me:$LINENO: checking for $ac_word" >&5
38483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38484 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
38485 echo $ECHO_N "(cached) $ECHO_C" >&6
38487 case $PKG_CONFIG in
38489 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
38492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38493 for as_dir
in $PATH
38496 test -z "$as_dir" && as_dir
=.
38497 for ac_exec_ext
in '' $ac_executable_extensions; do
38498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38499 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38506 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
38510 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
38512 if test -n "$PKG_CONFIG"; then
38513 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
38514 echo "${ECHO_T}$PKG_CONFIG" >&6
38516 echo "$as_me:$LINENO: result: no" >&5
38517 echo "${ECHO_T}no" >&6
38522 if test "$PKG_CONFIG" = "no" ; then
38523 echo "*** The pkg-config script could not be found. Make sure it is"
38524 echo "*** in your path, or set the PKG_CONFIG environment variable"
38525 echo "*** to the full path to pkg-config."
38526 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
38528 PKG_CONFIG_MIN_VERSION
=0.9.0
38529 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
38530 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
38531 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
38533 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
38534 echo "$as_me:$LINENO: result: yes" >&5
38535 echo "${ECHO_T}yes" >&6
38538 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
38539 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
38540 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
38541 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
38542 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
38544 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
38545 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
38546 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
38547 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
38548 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
38550 LIBGNOMEPRINTUI_CFLAGS
=""
38551 LIBGNOMEPRINTUI_LIBS
=""
38552 ## If we have a custom action on failure, don't print errors, but
38553 ## do set a variable so people can do so.
38554 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
38561 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
38562 echo "*** See http://www.freedesktop.org/software/pkgconfig"
38566 if test $succeeded = yes; then
38568 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
38569 cat >>confdefs.h
<<\_ACEOF
38570 #define wxUSE_LIBGNOMEPRINT 1
38576 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
38577 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
38578 wxUSE_LIBGNOMEPRINT
="no"
38588 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
38589 cat >>confdefs.h
<<\_ACEOF
38590 #define wxUSE_CMDLINE_PARSER 1
38595 if test "$wxUSE_STOPWATCH" = "yes"; then
38596 cat >>confdefs.h
<<\_ACEOF
38597 #define wxUSE_STOPWATCH 1
38602 if test "$wxUSE_DATETIME" = "yes"; then
38603 cat >>confdefs.h
<<\_ACEOF
38604 #define wxUSE_DATETIME 1
38609 if test "$wxUSE_FILE" = "yes"; then
38610 cat >>confdefs.h
<<\_ACEOF
38611 #define wxUSE_FILE 1
38616 if test "$wxUSE_FFILE" = "yes"; then
38617 cat >>confdefs.h
<<\_ACEOF
38618 #define wxUSE_FFILE 1
38623 if test "$wxUSE_FILESYSTEM" = "yes"; then
38624 cat >>confdefs.h
<<\_ACEOF
38625 #define wxUSE_FILESYSTEM 1
38630 if test "$wxUSE_FS_ZIP" = "yes"; then
38631 cat >>confdefs.h
<<\_ACEOF
38632 #define wxUSE_FS_ZIP 1
38637 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
38638 cat >>confdefs.h
<<\_ACEOF
38639 #define wxUSE_ARCHIVE_STREAMS 1
38644 if test "$wxUSE_ZIPSTREAM" = "yes"; then
38645 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
38646 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
38647 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
38648 elif test "$wxUSE_ZLIB" = "no"; then
38649 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
38650 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
38652 cat >>confdefs.h
<<\_ACEOF
38653 #define wxUSE_ZIPSTREAM 1
38659 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38660 if test "$USE_UNIX" != 1; then
38661 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
38662 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
38663 wxUSE_ON_FATAL_EXCEPTION
=no
38665 cat >>confdefs.h
<<\_ACEOF
38666 #define wxUSE_ON_FATAL_EXCEPTION 1
38672 if test "$wxUSE_STACKWALKER" = "yes"; then
38673 cat >>confdefs.h
<<\_ACEOF
38674 #define wxUSE_STACKWALKER 1
38679 if test "$wxUSE_DEBUGREPORT" = "yes"; then
38680 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
38681 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
38682 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
38683 wxUSE_DEBUGREPORT
=no
38685 cat >>confdefs.h
<<\_ACEOF
38686 #define wxUSE_DEBUGREPORT 1
38689 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
38695 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38696 cat >>confdefs.h
<<\_ACEOF
38697 #define wxUSE_SNGLINST_CHECKER 1
38702 if test "$wxUSE_BUSYINFO" = "yes"; then
38703 cat >>confdefs.h
<<\_ACEOF
38704 #define wxUSE_BUSYINFO 1
38709 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
38710 cat >>confdefs.h
<<\_ACEOF
38711 #define wxUSE_STD_IOSTREAM 1
38716 if test "$wxUSE_STD_STRING" = "yes"; then
38717 cat >>confdefs.h
<<\_ACEOF
38718 #define wxUSE_STD_STRING 1
38723 if test "$wxUSE_STDPATHS" = "yes"; then
38724 cat >>confdefs.h
<<\_ACEOF
38725 #define wxUSE_STDPATHS 1
38730 if test "$wxUSE_TEXTBUFFER" = "yes"; then
38731 cat >>confdefs.h
<<\_ACEOF
38732 #define wxUSE_TEXTBUFFER 1
38737 if test "$wxUSE_TEXTFILE" = "yes"; then
38738 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
38739 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
38740 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
38742 cat >>confdefs.h
<<\_ACEOF
38743 #define wxUSE_TEXTFILE 1
38749 if test "$wxUSE_CONFIG" = "yes" ; then
38750 if test "$wxUSE_TEXTFILE" != "yes"; then
38751 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
38752 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
38754 cat >>confdefs.h
<<\_ACEOF
38755 #define wxUSE_CONFIG 1
38758 cat >>confdefs.h
<<\_ACEOF
38759 #define wxUSE_CONFIG_NATIVE 1
38762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
38766 if test "$wxUSE_INTL" = "yes" ; then
38767 if test "$wxUSE_FILE" != "yes"; then
38768 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
38769 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
38771 cat >>confdefs.h
<<\_ACEOF
38772 #define wxUSE_INTL 1
38775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
38776 GUIDIST
="$GUIDIST INTL_DIST"
38780 if test "$wxUSE_LOG" = "yes"; then
38781 cat >>confdefs.h
<<\_ACEOF
38782 #define wxUSE_LOG 1
38786 if test "$wxUSE_LOGGUI" = "yes"; then
38787 cat >>confdefs.h
<<\_ACEOF
38788 #define wxUSE_LOGGUI 1
38793 if test "$wxUSE_LOGWINDOW" = "yes"; then
38794 cat >>confdefs.h
<<\_ACEOF
38795 #define wxUSE_LOGWINDOW 1
38800 if test "$wxUSE_LOGDIALOG" = "yes"; then
38801 cat >>confdefs.h
<<\_ACEOF
38802 #define wxUSE_LOG_DIALOG 1
38807 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
38810 if test "$wxUSE_LONGLONG" = "yes"; then
38811 cat >>confdefs.h
<<\_ACEOF
38812 #define wxUSE_LONGLONG 1
38817 if test "$wxUSE_GEOMETRY" = "yes"; then
38818 cat >>confdefs.h
<<\_ACEOF
38819 #define wxUSE_GEOMETRY 1
38824 if test "$wxUSE_STREAMS" = "yes" ; then
38825 cat >>confdefs.h
<<\_ACEOF
38826 #define wxUSE_STREAMS 1
38832 if test "$wxUSE_DATETIME" = "yes"; then
38834 for ac_func
in strptime
38836 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38837 echo "$as_me:$LINENO: checking for $ac_func" >&5
38838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38839 if eval "test \"\${$as_ac_var+set}\" = set"; then
38840 echo $ECHO_N "(cached) $ECHO_C" >&6
38842 cat >conftest.
$ac_ext <<_ACEOF
38845 cat confdefs.h
>>conftest.
$ac_ext
38846 cat >>conftest.
$ac_ext <<_ACEOF
38847 /* end confdefs.h. */
38848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38850 #define $ac_func innocuous_$ac_func
38852 /* System header to define __stub macros and hopefully few prototypes,
38853 which can conflict with char $ac_func (); below.
38854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38855 <limits.h> exists even on freestanding compilers. */
38858 # include <limits.h>
38860 # include <assert.h>
38865 /* Override any gcc2 internal prototype to avoid an error. */
38870 /* We use char because int might match the return type of a gcc2
38871 builtin and then its argument prototype would still apply. */
38873 /* The GNU C library defines this for functions which it implements
38874 to always fail with ENOSYS. Some functions are actually named
38875 something starting with __ and the normal name is an alias. */
38876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38879 char (*f) () = $ac_func;
38888 return f != $ac_func;
38893 rm -f conftest.
$ac_objext conftest
$ac_exeext
38894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38895 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
38916 echo "$as_me: failed program was:" >&5
38917 sed 's/^/| /' conftest.
$ac_ext >&5
38919 eval "$as_ac_var=no"
38921 rm -f conftest.err conftest.
$ac_objext \
38922 conftest
$ac_exeext conftest.
$ac_ext
38924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38926 if test `eval echo '${'$as_ac_var'}'` = yes; then
38927 cat >>confdefs.h
<<_ACEOF
38928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38935 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
38936 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
38937 if test "${wx_cv_var_timezone+set}" = set; then
38938 echo $ECHO_N "(cached) $ECHO_C" >&6
38941 cat >conftest.
$ac_ext <<_ACEOF
38944 cat confdefs.h
>>conftest.
$ac_ext
38945 cat >>conftest.
$ac_ext <<_ACEOF
38946 /* end confdefs.h. */
38961 rm -f conftest.
$ac_objext
38962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38963 (eval $ac_compile) 2>conftest.er1
38965 grep -v '^ *+' conftest.er1
>conftest.err
38967 cat conftest.err
>&5
38968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38969 (exit $ac_status); } &&
38970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38972 (eval $ac_try) 2>&5
38974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38975 (exit $ac_status); }; } &&
38976 { ac_try
='test -s conftest.$ac_objext'
38977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38978 (eval $ac_try) 2>&5
38980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38981 (exit $ac_status); }; }; then
38983 wx_cv_var_timezone
=timezone
38986 echo "$as_me: failed program was:" >&5
38987 sed 's/^/| /' conftest.
$ac_ext >&5
38990 cat >conftest.
$ac_ext <<_ACEOF
38993 cat confdefs.h
>>conftest.
$ac_ext
38994 cat >>conftest.
$ac_ext <<_ACEOF
38995 /* end confdefs.h. */
39010 rm -f conftest.
$ac_objext
39011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39012 (eval $ac_compile) 2>conftest.er1
39014 grep -v '^ *+' conftest.er1
>conftest.err
39016 cat conftest.err
>&5
39017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018 (exit $ac_status); } &&
39019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39021 (eval $ac_try) 2>&5
39023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39024 (exit $ac_status); }; } &&
39025 { ac_try
='test -s conftest.$ac_objext'
39026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39027 (eval $ac_try) 2>&5
39029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030 (exit $ac_status); }; }; then
39032 wx_cv_var_timezone
=_timezone
39035 echo "$as_me: failed program was:" >&5
39036 sed 's/^/| /' conftest.
$ac_ext >&5
39039 cat >conftest.
$ac_ext <<_ACEOF
39042 cat confdefs.h
>>conftest.
$ac_ext
39043 cat >>conftest.
$ac_ext <<_ACEOF
39044 /* end confdefs.h. */
39059 rm -f conftest.
$ac_objext
39060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39061 (eval $ac_compile) 2>conftest.er1
39063 grep -v '^ *+' conftest.er1
>conftest.err
39065 cat conftest.err
>&5
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); } &&
39068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39070 (eval $ac_try) 2>&5
39072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39073 (exit $ac_status); }; } &&
39074 { ac_try
='test -s conftest.$ac_objext'
39075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39076 (eval $ac_try) 2>&5
39078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39079 (exit $ac_status); }; }; then
39081 wx_cv_var_timezone
=__timezone
39084 echo "$as_me: failed program was:" >&5
39085 sed 's/^/| /' conftest.
$ac_ext >&5
39088 if test "$USE_DOS" = 0 ; then
39089 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39090 echo "$as_me: WARNING: no timezone variable" >&2;}
39095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39107 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39108 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39110 if test "x$wx_cv_var_timezone" != x
; then
39111 cat >>confdefs.h
<<_ACEOF
39112 #define WX_TIMEZONE $wx_cv_var_timezone
39118 for ac_func
in localtime
39120 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39121 echo "$as_me:$LINENO: checking for $ac_func" >&5
39122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39123 if eval "test \"\${$as_ac_var+set}\" = set"; then
39124 echo $ECHO_N "(cached) $ECHO_C" >&6
39126 cat >conftest.
$ac_ext <<_ACEOF
39129 cat confdefs.h
>>conftest.
$ac_ext
39130 cat >>conftest.
$ac_ext <<_ACEOF
39131 /* end confdefs.h. */
39132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39134 #define $ac_func innocuous_$ac_func
39136 /* System header to define __stub macros and hopefully few prototypes,
39137 which can conflict with char $ac_func (); below.
39138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39139 <limits.h> exists even on freestanding compilers. */
39142 # include <limits.h>
39144 # include <assert.h>
39149 /* Override any gcc2 internal prototype to avoid an error. */
39154 /* We use char because int might match the return type of a gcc2
39155 builtin and then its argument prototype would still apply. */
39157 /* The GNU C library defines this for functions which it implements
39158 to always fail with ENOSYS. Some functions are actually named
39159 something starting with __ and the normal name is an alias. */
39160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39163 char (*f) () = $ac_func;
39172 return f != $ac_func;
39177 rm -f conftest.
$ac_objext conftest
$ac_exeext
39178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39179 (eval $ac_link) 2>conftest.er1
39181 grep -v '^ *+' conftest.er1
>conftest.err
39183 cat conftest.err
>&5
39184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39185 (exit $ac_status); } &&
39186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
39192 { ac_try
='test -s conftest$ac_exeext'
39193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39194 (eval $ac_try) 2>&5
39196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39197 (exit $ac_status); }; }; then
39198 eval "$as_ac_var=yes"
39200 echo "$as_me: failed program was:" >&5
39201 sed 's/^/| /' conftest.
$ac_ext >&5
39203 eval "$as_ac_var=no"
39205 rm -f conftest.err conftest.
$ac_objext \
39206 conftest
$ac_exeext conftest.
$ac_ext
39208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39210 if test `eval echo '${'$as_ac_var'}'` = yes; then
39211 cat >>confdefs.h
<<_ACEOF
39212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39219 if test "$ac_cv_func_localtime" = "yes"; then
39220 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
39221 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
39222 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
39223 echo $ECHO_N "(cached) $ECHO_C" >&6
39226 cat >conftest.
$ac_ext <<_ACEOF
39229 cat confdefs.h
>>conftest.
$ac_ext
39230 cat >>conftest.
$ac_ext <<_ACEOF
39231 /* end confdefs.h. */
39246 rm -f conftest.
$ac_objext
39247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39248 (eval $ac_compile) 2>conftest.er1
39250 grep -v '^ *+' conftest.er1
>conftest.err
39252 cat conftest.err
>&5
39253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39254 (exit $ac_status); } &&
39255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39257 (eval $ac_try) 2>&5
39259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39260 (exit $ac_status); }; } &&
39261 { ac_try
='test -s conftest.$ac_objext'
39262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39263 (eval $ac_try) 2>&5
39265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39266 (exit $ac_status); }; }; then
39268 wx_cv_struct_tm_has_gmtoff
=yes
39271 echo "$as_me: failed program was:" >&5
39272 sed 's/^/| /' conftest.
$ac_ext >&5
39274 wx_cv_struct_tm_has_gmtoff
=no
39277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39280 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
39281 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
39284 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
39285 cat >>confdefs.h
<<\_ACEOF
39286 #define WX_GMTOFF_IN_TM 1
39293 for ac_func
in gettimeofday ftime
39295 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39296 echo "$as_me:$LINENO: checking for $ac_func" >&5
39297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39298 if eval "test \"\${$as_ac_var+set}\" = set"; then
39299 echo $ECHO_N "(cached) $ECHO_C" >&6
39301 cat >conftest.
$ac_ext <<_ACEOF
39304 cat confdefs.h
>>conftest.
$ac_ext
39305 cat >>conftest.
$ac_ext <<_ACEOF
39306 /* end confdefs.h. */
39307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39309 #define $ac_func innocuous_$ac_func
39311 /* System header to define __stub macros and hopefully few prototypes,
39312 which can conflict with char $ac_func (); below.
39313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39314 <limits.h> exists even on freestanding compilers. */
39317 # include <limits.h>
39319 # include <assert.h>
39324 /* Override any gcc2 internal prototype to avoid an error. */
39329 /* We use char because int might match the return type of a gcc2
39330 builtin and then its argument prototype would still apply. */
39332 /* The GNU C library defines this for functions which it implements
39333 to always fail with ENOSYS. Some functions are actually named
39334 something starting with __ and the normal name is an alias. */
39335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39338 char (*f) () = $ac_func;
39347 return f != $ac_func;
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 eval "$as_ac_var=yes"
39375 echo "$as_me: failed program was:" >&5
39376 sed 's/^/| /' conftest.
$ac_ext >&5
39378 eval "$as_ac_var=no"
39380 rm -f conftest.err conftest.
$ac_objext \
39381 conftest
$ac_exeext conftest.
$ac_ext
39383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39385 if test `eval echo '${'$as_ac_var'}'` = yes; then
39386 cat >>confdefs.h
<<_ACEOF
39387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39394 if test "$ac_cv_func_gettimeofday" = "yes"; then
39395 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
39396 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
39397 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
39398 echo $ECHO_N "(cached) $ECHO_C" >&6
39404 ac_cpp
='$CXXCPP $CPPFLAGS'
39405 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39406 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39407 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39410 cat >conftest.
$ac_ext <<_ACEOF
39413 cat confdefs.h
>>conftest.
$ac_ext
39414 cat >>conftest.
$ac_ext <<_ACEOF
39415 /* end confdefs.h. */
39417 #include <sys/time.h>
39418 #include <unistd.h>
39425 gettimeofday(&tv, NULL);
39431 rm -f conftest.
$ac_objext
39432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39433 (eval $ac_compile) 2>conftest.er1
39435 grep -v '^ *+' conftest.er1
>conftest.err
39437 cat conftest.err
>&5
39438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39439 (exit $ac_status); } &&
39440 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39442 (eval $ac_try) 2>&5
39444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39445 (exit $ac_status); }; } &&
39446 { ac_try
='test -s conftest.$ac_objext'
39447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39448 (eval $ac_try) 2>&5
39450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39451 (exit $ac_status); }; }; then
39452 wx_cv_func_gettimeofday_has_2_args
=yes
39454 echo "$as_me: failed program was:" >&5
39455 sed 's/^/| /' conftest.
$ac_ext >&5
39457 cat >conftest.
$ac_ext <<_ACEOF
39460 cat confdefs.h
>>conftest.
$ac_ext
39461 cat >>conftest.
$ac_ext <<_ACEOF
39462 /* end confdefs.h. */
39464 #include <sys/time.h>
39465 #include <unistd.h>
39478 rm -f conftest.
$ac_objext
39479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39480 (eval $ac_compile) 2>conftest.er1
39482 grep -v '^ *+' conftest.er1
>conftest.err
39484 cat conftest.err
>&5
39485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39486 (exit $ac_status); } &&
39487 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39489 (eval $ac_try) 2>&5
39491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39492 (exit $ac_status); }; } &&
39493 { ac_try
='test -s conftest.$ac_objext'
39494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39495 (eval $ac_try) 2>&5
39497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39498 (exit $ac_status); }; }; then
39499 wx_cv_func_gettimeofday_has_2_args
=no
39501 echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.
$ac_ext >&5
39505 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
39506 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
39507 wx_cv_func_gettimeofday_has_2_args
=unknown
39511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39516 ac_cpp
='$CPP $CPPFLAGS'
39517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39523 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
39524 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
39526 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
39527 cat >>confdefs.h
<<\_ACEOF
39528 #define WX_GETTIMEOFDAY_NO_TZ 1
39534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
39538 if test "$wxUSE_SOCKETS" = "yes"; then
39539 if test "$wxUSE_MGL" = "1"; then
39540 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
39541 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
39546 if test "$wxUSE_SOCKETS" = "yes"; then
39547 if test "$TOOLKIT" != "MSW"; then
39548 echo "$as_me:$LINENO: checking for socket" >&5
39549 echo $ECHO_N "checking for socket... $ECHO_C" >&6
39550 if test "${ac_cv_func_socket+set}" = set; then
39551 echo $ECHO_N "(cached) $ECHO_C" >&6
39553 cat >conftest.
$ac_ext <<_ACEOF
39556 cat confdefs.h
>>conftest.
$ac_ext
39557 cat >>conftest.
$ac_ext <<_ACEOF
39558 /* end confdefs.h. */
39559 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
39560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39561 #define socket innocuous_socket
39563 /* System header to define __stub macros and hopefully few prototypes,
39564 which can conflict with char socket (); below.
39565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39566 <limits.h> exists even on freestanding compilers. */
39569 # include <limits.h>
39571 # include <assert.h>
39576 /* Override any gcc2 internal prototype to avoid an error. */
39581 /* We use char because int might match the return type of a gcc2
39582 builtin and then its argument prototype would still apply. */
39584 /* The GNU C library defines this for functions which it implements
39585 to always fail with ENOSYS. Some functions are actually named
39586 something starting with __ and the normal name is an alias. */
39587 #if defined (__stub_socket) || defined (__stub___socket)
39590 char (*f) () = socket;
39599 return f != socket;
39604 rm -f conftest.
$ac_objext conftest
$ac_exeext
39605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39606 (eval $ac_link) 2>conftest.er1
39608 grep -v '^ *+' conftest.er1
>conftest.err
39610 cat conftest.err
>&5
39611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612 (exit $ac_status); } &&
39613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39615 (eval $ac_try) 2>&5
39617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39618 (exit $ac_status); }; } &&
39619 { ac_try
='test -s conftest$ac_exeext'
39620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39621 (eval $ac_try) 2>&5
39623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39624 (exit $ac_status); }; }; then
39625 ac_cv_func_socket
=yes
39627 echo "$as_me: failed program was:" >&5
39628 sed 's/^/| /' conftest.
$ac_ext >&5
39630 ac_cv_func_socket
=no
39632 rm -f conftest.err conftest.
$ac_objext \
39633 conftest
$ac_exeext conftest.
$ac_ext
39635 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
39636 echo "${ECHO_T}$ac_cv_func_socket" >&6
39637 if test $ac_cv_func_socket = yes; then
39641 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
39642 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
39643 if test "${ac_cv_lib_socket_socket+set}" = set; then
39644 echo $ECHO_N "(cached) $ECHO_C" >&6
39646 ac_check_lib_save_LIBS
=$LIBS
39647 LIBS
="-lsocket $LIBS"
39648 cat >conftest.
$ac_ext <<_ACEOF
39651 cat confdefs.h
>>conftest.
$ac_ext
39652 cat >>conftest.
$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39655 /* Override any gcc2 internal prototype to avoid an error. */
39659 /* We use char because int might match the return type of a gcc2
39660 builtin and then its argument prototype would still apply. */
39670 rm -f conftest.
$ac_objext conftest
$ac_exeext
39671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39672 (eval $ac_link) 2>conftest.er1
39674 grep -v '^ *+' conftest.er1
>conftest.err
39676 cat conftest.err
>&5
39677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678 (exit $ac_status); } &&
39679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39681 (eval $ac_try) 2>&5
39683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684 (exit $ac_status); }; } &&
39685 { ac_try
='test -s conftest$ac_exeext'
39686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39687 (eval $ac_try) 2>&5
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); }; }; then
39691 ac_cv_lib_socket_socket
=yes
39693 echo "$as_me: failed program was:" >&5
39694 sed 's/^/| /' conftest.
$ac_ext >&5
39696 ac_cv_lib_socket_socket
=no
39698 rm -f conftest.err conftest.
$ac_objext \
39699 conftest
$ac_exeext conftest.
$ac_ext
39700 LIBS
=$ac_check_lib_save_LIBS
39702 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
39703 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
39704 if test $ac_cv_lib_socket_socket = yes; then
39705 if test "$INET_LINK" != " -lsocket"; then
39706 INET_LINK
="$INET_LINK -lsocket"
39710 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
39711 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
39724 if test "$wxUSE_SOCKETS" = "yes" ; then
39725 if test "$TOOLKIT" != "MSW"; then
39727 ac_cpp
='$CXXCPP $CPPFLAGS'
39728 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39729 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39730 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39732 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
39733 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
39734 if test "${wx_cv_type_getsockname3+set}" = set; then
39735 echo $ECHO_N "(cached) $ECHO_C" >&6
39738 cat >conftest.
$ac_ext <<_ACEOF
39741 cat confdefs.h
>>conftest.
$ac_ext
39742 cat >>conftest.
$ac_ext <<_ACEOF
39743 /* end confdefs.h. */
39745 #include <sys/types.h>
39746 #include <sys/socket.h>
39753 getsockname(0, 0, &len);
39759 rm -f conftest.
$ac_objext
39760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39761 (eval $ac_compile) 2>conftest.er1
39763 grep -v '^ *+' conftest.er1
>conftest.err
39765 cat conftest.err
>&5
39766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39767 (exit $ac_status); } &&
39768 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39770 (eval $ac_try) 2>&5
39772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39773 (exit $ac_status); }; } &&
39774 { ac_try
='test -s conftest.$ac_objext'
39775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39776 (eval $ac_try) 2>&5
39778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39779 (exit $ac_status); }; }; then
39780 wx_cv_type_getsockname3
=socklen_t
39782 echo "$as_me: failed program was:" >&5
39783 sed 's/^/| /' conftest.
$ac_ext >&5
39786 CFLAGS_OLD
="$CFLAGS"
39787 if test "$GCC" = yes ; then
39788 CFLAGS
="$CFLAGS -Werror"
39791 cat >conftest.
$ac_ext <<_ACEOF
39794 cat confdefs.h
>>conftest.
$ac_ext
39795 cat >>conftest.
$ac_ext <<_ACEOF
39796 /* end confdefs.h. */
39798 #include <sys/types.h>
39799 #include <sys/socket.h>
39806 getsockname(0, 0, &len);
39812 rm -f conftest.
$ac_objext
39813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39814 (eval $ac_compile) 2>conftest.er1
39816 grep -v '^ *+' conftest.er1
>conftest.err
39818 cat conftest.err
>&5
39819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39820 (exit $ac_status); } &&
39821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39823 (eval $ac_try) 2>&5
39825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39826 (exit $ac_status); }; } &&
39827 { ac_try
='test -s conftest.$ac_objext'
39828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39829 (eval $ac_try) 2>&5
39831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39832 (exit $ac_status); }; }; then
39833 wx_cv_type_getsockname3
=size_t
39835 echo "$as_me: failed program was:" >&5
39836 sed 's/^/| /' conftest.
$ac_ext >&5
39838 cat >conftest.
$ac_ext <<_ACEOF
39841 cat confdefs.h
>>conftest.
$ac_ext
39842 cat >>conftest.
$ac_ext <<_ACEOF
39843 /* end confdefs.h. */
39845 #include <sys/types.h>
39846 #include <sys/socket.h>
39853 getsockname(0, 0, &len);
39859 rm -f conftest.
$ac_objext
39860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39861 (eval $ac_compile) 2>conftest.er1
39863 grep -v '^ *+' conftest.er1
>conftest.err
39865 cat conftest.err
>&5
39866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39867 (exit $ac_status); } &&
39868 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39870 (eval $ac_try) 2>&5
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); }; } &&
39874 { ac_try
='test -s conftest.$ac_objext'
39875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39876 (eval $ac_try) 2>&5
39878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39879 (exit $ac_status); }; }; then
39880 wx_cv_type_getsockname3
=int
39882 echo "$as_me: failed program was:" >&5
39883 sed 's/^/| /' conftest.
$ac_ext >&5
39885 wx_cv_type_getsockname3
=unknown
39888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39893 CFLAGS
="$CFLAGS_OLD"
39897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39900 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
39901 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
39903 if test "$wx_cv_type_getsockname3" = "unknown"; then
39905 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
39906 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
39908 cat >>confdefs.h
<<_ACEOF
39909 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
39913 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
39914 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
39915 if test "${wx_cv_type_getsockopt5+set}" = set; then
39916 echo $ECHO_N "(cached) $ECHO_C" >&6
39919 cat >conftest.
$ac_ext <<_ACEOF
39922 cat confdefs.h
>>conftest.
$ac_ext
39923 cat >>conftest.
$ac_ext <<_ACEOF
39924 /* end confdefs.h. */
39926 #include <sys/types.h>
39927 #include <sys/socket.h>
39934 getsockopt(0, 0, 0, 0, &len);
39940 rm -f conftest.
$ac_objext
39941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39942 (eval $ac_compile) 2>conftest.er1
39944 grep -v '^ *+' conftest.er1
>conftest.err
39946 cat conftest.err
>&5
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); } &&
39949 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39951 (eval $ac_try) 2>&5
39953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39954 (exit $ac_status); }; } &&
39955 { ac_try
='test -s conftest.$ac_objext'
39956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39957 (eval $ac_try) 2>&5
39959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39960 (exit $ac_status); }; }; then
39961 wx_cv_type_getsockopt5
=socklen_t
39963 echo "$as_me: failed program was:" >&5
39964 sed 's/^/| /' conftest.
$ac_ext >&5
39967 CFLAGS_OLD
="$CFLAGS"
39968 if test "$GCC" = yes ; then
39969 CFLAGS
="$CFLAGS -Werror"
39972 cat >conftest.
$ac_ext <<_ACEOF
39975 cat confdefs.h
>>conftest.
$ac_ext
39976 cat >>conftest.
$ac_ext <<_ACEOF
39977 /* end confdefs.h. */
39979 #include <sys/types.h>
39980 #include <sys/socket.h>
39987 getsockopt(0, 0, 0, 0, &len);
39993 rm -f conftest.
$ac_objext
39994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39995 (eval $ac_compile) 2>conftest.er1
39997 grep -v '^ *+' conftest.er1
>conftest.err
39999 cat conftest.err
>&5
40000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40001 (exit $ac_status); } &&
40002 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40004 (eval $ac_try) 2>&5
40006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40007 (exit $ac_status); }; } &&
40008 { ac_try
='test -s conftest.$ac_objext'
40009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40010 (eval $ac_try) 2>&5
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); }; }; then
40014 wx_cv_type_getsockopt5
=size_t
40016 echo "$as_me: failed program was:" >&5
40017 sed 's/^/| /' conftest.
$ac_ext >&5
40019 cat >conftest.
$ac_ext <<_ACEOF
40022 cat confdefs.h
>>conftest.
$ac_ext
40023 cat >>conftest.
$ac_ext <<_ACEOF
40024 /* end confdefs.h. */
40026 #include <sys/types.h>
40027 #include <sys/socket.h>
40034 getsockopt(0, 0, 0, 0, &len);
40040 rm -f conftest.
$ac_objext
40041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40042 (eval $ac_compile) 2>conftest.er1
40044 grep -v '^ *+' conftest.er1
>conftest.err
40046 cat conftest.err
>&5
40047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40048 (exit $ac_status); } &&
40049 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40051 (eval $ac_try) 2>&5
40053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40054 (exit $ac_status); }; } &&
40055 { ac_try
='test -s conftest.$ac_objext'
40056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40057 (eval $ac_try) 2>&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); }; }; then
40061 wx_cv_type_getsockopt5
=int
40063 echo "$as_me: failed program was:" >&5
40064 sed 's/^/| /' conftest.
$ac_ext >&5
40066 wx_cv_type_getsockopt5
=unknown
40069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40074 CFLAGS
="$CFLAGS_OLD"
40078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40081 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40082 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40084 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40086 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40087 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40089 cat >>confdefs.h
<<_ACEOF
40090 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40095 ac_cpp
='$CPP $CPPFLAGS'
40096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40103 if test "$wxUSE_SOCKETS" = "yes" ; then
40104 cat >>confdefs.h
<<\_ACEOF
40105 #define wxUSE_SOCKETS 1
40108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
40111 if test "$wxUSE_PROTOCOL" = "yes"; then
40112 if test "$wxUSE_SOCKETS" != "yes"; then
40113 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
40114 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
40119 if test "$wxUSE_PROTOCOL" = "yes"; then
40120 cat >>confdefs.h
<<\_ACEOF
40121 #define wxUSE_PROTOCOL 1
40125 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
40126 cat >>confdefs.h
<<\_ACEOF
40127 #define wxUSE_PROTOCOL_HTTP 1
40131 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
40132 cat >>confdefs.h
<<\_ACEOF
40133 #define wxUSE_PROTOCOL_FTP 1
40137 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
40138 cat >>confdefs.h
<<\_ACEOF
40139 #define wxUSE_PROTOCOL_FILE 1
40144 if test "$wxUSE_FS_INET" = "yes"; then
40145 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
40146 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
40151 if test "$wxUSE_URL" = "yes"; then
40152 if test "$wxUSE_PROTOCOL" != "yes"; then
40153 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
40154 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
40157 if test "$wxUSE_URL" = "yes"; then
40158 cat >>confdefs.h
<<\_ACEOF
40159 #define wxUSE_URL 1
40165 if test "$wxUSE_FS_INET" = "yes"; then
40166 cat >>confdefs.h
<<\_ACEOF
40167 #define wxUSE_FS_INET 1
40173 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
40176 if test "$TOOLKIT" = "MSW"; then
40179 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
40180 if test "$USE_DARWIN" = 1; then
40181 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
40182 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
40184 ac_cpp
='$CXXCPP $CPPFLAGS'
40185 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40186 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40187 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40189 cat >conftest.
$ac_ext <<_ACEOF
40192 cat confdefs.h
>>conftest.
$ac_ext
40193 cat >>conftest.
$ac_ext <<_ACEOF
40194 /* end confdefs.h. */
40195 #include <IOKit/hid/IOHIDLib.h>
40199 IOHIDQueueInterface *qi = NULL;
40200 IOHIDCallbackFunction cb = NULL;
40201 qi->setEventCallout(NULL, cb, NULL, NULL);
40206 rm -f conftest.
$ac_objext
40207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40208 (eval $ac_compile) 2>conftest.er1
40210 grep -v '^ *+' conftest.er1
>conftest.err
40212 cat conftest.err
>&5
40213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40214 (exit $ac_status); } &&
40215 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40217 (eval $ac_try) 2>&5
40219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40220 (exit $ac_status); }; } &&
40221 { ac_try
='test -s conftest.$ac_objext'
40222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40223 (eval $ac_try) 2>&5
40225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40226 (exit $ac_status); }; }; then
40230 echo "$as_me: failed program was:" >&5
40231 sed 's/^/| /' conftest.
$ac_ext >&5
40234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40236 ac_cpp
='$CPP $CPPFLAGS'
40237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40241 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
40242 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
40247 for ac_header
in linux
/joystick.h
40249 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40251 echo "$as_me:$LINENO: checking for $ac_header" >&5
40252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40254 echo $ECHO_N "(cached) $ECHO_C" >&6
40256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40259 # Is the header compilable?
40260 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40262 cat >conftest.
$ac_ext <<_ACEOF
40265 cat confdefs.h
>>conftest.
$ac_ext
40266 cat >>conftest.
$ac_ext <<_ACEOF
40267 /* end confdefs.h. */
40268 $ac_includes_default
40269 #include <$ac_header>
40271 rm -f conftest.
$ac_objext
40272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40273 (eval $ac_compile) 2>conftest.er1
40275 grep -v '^ *+' conftest.er1
>conftest.err
40277 cat conftest.err
>&5
40278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40279 (exit $ac_status); } &&
40280 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40282 (eval $ac_try) 2>&5
40284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40285 (exit $ac_status); }; } &&
40286 { ac_try
='test -s conftest.$ac_objext'
40287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40288 (eval $ac_try) 2>&5
40290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40291 (exit $ac_status); }; }; then
40292 ac_header_compiler
=yes
40294 echo "$as_me: failed program was:" >&5
40295 sed 's/^/| /' conftest.
$ac_ext >&5
40297 ac_header_compiler
=no
40299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40301 echo "${ECHO_T}$ac_header_compiler" >&6
40303 # Is the header present?
40304 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40305 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40306 cat >conftest.
$ac_ext <<_ACEOF
40309 cat confdefs.h
>>conftest.
$ac_ext
40310 cat >>conftest.
$ac_ext <<_ACEOF
40311 /* end confdefs.h. */
40312 #include <$ac_header>
40314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40315 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
40317 grep -v '^ *+' conftest.er1
>conftest.err
40319 cat conftest.err
>&5
40320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40321 (exit $ac_status); } >/dev
/null
; then
40322 if test -s conftest.err
; then
40323 ac_cpp_err
=$ac_c_preproc_warn_flag
40324 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
40331 if test -z "$ac_cpp_err"; then
40332 ac_header_preproc
=yes
40334 echo "$as_me: failed program was:" >&5
40335 sed 's/^/| /' conftest.
$ac_ext >&5
40337 ac_header_preproc
=no
40339 rm -f conftest.err conftest.
$ac_ext
40340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40341 echo "${ECHO_T}$ac_header_preproc" >&6
40343 # So? What about this header?
40344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40346 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40347 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40349 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40350 ac_header_preproc
=yes
40353 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40354 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40355 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40356 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40357 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40358 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40359 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40360 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40362 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40363 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40364 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40367 ## ----------------------------------------- ##
40368 ## Report this to wx-dev@lists.wxwidgets.org ##
40369 ## ----------------------------------------- ##
40372 sed "s/^/$as_me: WARNING: /" >&2
40375 echo "$as_me:$LINENO: checking for $ac_header" >&5
40376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40378 echo $ECHO_N "(cached) $ECHO_C" >&6
40380 eval "$as_ac_Header=\$ac_header_preproc"
40382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40387 cat >>confdefs.h
<<_ACEOF
40388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40397 if test "$wxUSE_JOYSTICK" = "yes"; then
40398 cat >>confdefs.h
<<\_ACEOF
40399 #define wxUSE_JOYSTICK 1
40402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
40404 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
40405 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
40411 if test "$wxUSE_FONTMAP" = "yes" ; then
40412 cat >>confdefs.h
<<\_ACEOF
40413 #define wxUSE_FONTMAP 1
40418 if test "$wxUSE_UNICODE" = "yes" ; then
40419 cat >>confdefs.h
<<\_ACEOF
40420 #define wxUSE_UNICODE 1
40424 if test "$USE_WIN32" != 1; then
40425 wxUSE_UNICODE_MSLU
=no
40428 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
40429 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
40430 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
40431 if test "${ac_cv_lib_unicows_main+set}" = set; then
40432 echo $ECHO_N "(cached) $ECHO_C" >&6
40434 ac_check_lib_save_LIBS
=$LIBS
40435 LIBS
="-lunicows $LIBS"
40436 cat >conftest.
$ac_ext <<_ACEOF
40439 cat confdefs.h
>>conftest.
$ac_ext
40440 cat >>conftest.
$ac_ext <<_ACEOF
40441 /* end confdefs.h. */
40452 rm -f conftest.
$ac_objext conftest
$ac_exeext
40453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40454 (eval $ac_link) 2>conftest.er1
40456 grep -v '^ *+' conftest.er1
>conftest.err
40458 cat conftest.err
>&5
40459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40460 (exit $ac_status); } &&
40461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40463 (eval $ac_try) 2>&5
40465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40466 (exit $ac_status); }; } &&
40467 { ac_try
='test -s conftest$ac_exeext'
40468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40469 (eval $ac_try) 2>&5
40471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472 (exit $ac_status); }; }; then
40473 ac_cv_lib_unicows_main
=yes
40475 echo "$as_me: failed program was:" >&5
40476 sed 's/^/| /' conftest.
$ac_ext >&5
40478 ac_cv_lib_unicows_main
=no
40480 rm -f conftest.err conftest.
$ac_objext \
40481 conftest
$ac_exeext conftest.
$ac_ext
40482 LIBS
=$ac_check_lib_save_LIBS
40484 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
40485 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
40486 if test $ac_cv_lib_unicows_main = yes; then
40488 cat >>confdefs.h
<<\_ACEOF
40489 #define wxUSE_UNICODE_MSLU 1
40495 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
40496 Applications will only run on Windows NT/2000/XP!" >&5
40497 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
40498 Applications will only run on Windows NT/2000/XP!" >&2;}
40499 wxUSE_UNICODE_MSLU
=no
40506 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
40507 cat >>confdefs.h
<<\_ACEOF
40508 #define wxUSE_EXPERIMENTAL_PRINTF 1
40514 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
40515 cat >>confdefs.h
<<\_ACEOF
40516 #define wxUSE_POSTSCRIPT 1
40521 cat >>confdefs.h
<<\_ACEOF
40522 #define wxUSE_AFM_FOR_POSTSCRIPT 1
40526 cat >>confdefs.h
<<\_ACEOF
40527 #define wxUSE_NORMALIZED_PS_FONTS 1
40532 if test "$wxUSE_CONSTRAINTS" = "yes"; then
40533 cat >>confdefs.h
<<\_ACEOF
40534 #define wxUSE_CONSTRAINTS 1
40537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
40540 if test "$wxUSE_MDI" = "yes"; then
40541 cat >>confdefs.h
<<\_ACEOF
40542 #define wxUSE_MDI 1
40546 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
40547 cat >>confdefs.h
<<\_ACEOF
40548 #define wxUSE_MDI_ARCHITECTURE 1
40551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
40555 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
40556 cat >>confdefs.h
<<\_ACEOF
40557 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
40560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
40561 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
40562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
40566 if test "$wxUSE_HELP" = "yes"; then
40567 cat >>confdefs.h
<<\_ACEOF
40568 #define wxUSE_HELP 1
40571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
40573 if test "$wxUSE_MSW" = 1; then
40574 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
40575 cat >>confdefs.h
<<\_ACEOF
40576 #define wxUSE_MS_HTML_HELP 1
40582 if test "$wxUSE_WXHTML_HELP" = "yes"; then
40583 if test "$wxUSE_HTML" = "yes"; then
40584 cat >>confdefs.h
<<\_ACEOF
40585 #define wxUSE_WXHTML_HELP 1
40589 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
40590 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
40591 wxUSE_WXHTML_HELP
=no
40596 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40597 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40598 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
40599 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
40601 cat >>confdefs.h
<<\_ACEOF
40602 #define wxUSE_PRINTING_ARCHITECTURE 1
40606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
40609 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
40610 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
40611 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
40612 { (exit 1); exit 1; }; }
40616 if test "$wxUSE_METAFILE" = "yes"; then
40617 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
40618 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
40619 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
40625 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
40626 -o "$wxUSE_CLIPBOARD" = "yes" \
40627 -o "$wxUSE_OLE" = "yes" \
40628 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
40630 for ac_header
in ole2.h
40632 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40634 echo "$as_me:$LINENO: checking for $ac_header" >&5
40635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40637 echo $ECHO_N "(cached) $ECHO_C" >&6
40639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40642 # Is the header compilable?
40643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40645 cat >conftest.
$ac_ext <<_ACEOF
40648 cat confdefs.h
>>conftest.
$ac_ext
40649 cat >>conftest.
$ac_ext <<_ACEOF
40650 /* end confdefs.h. */
40651 $ac_includes_default
40652 #include <$ac_header>
40654 rm -f conftest.
$ac_objext
40655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40656 (eval $ac_compile) 2>conftest.er1
40658 grep -v '^ *+' conftest.er1
>conftest.err
40660 cat conftest.err
>&5
40661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40662 (exit $ac_status); } &&
40663 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40665 (eval $ac_try) 2>&5
40667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40668 (exit $ac_status); }; } &&
40669 { ac_try
='test -s conftest.$ac_objext'
40670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40671 (eval $ac_try) 2>&5
40673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40674 (exit $ac_status); }; }; then
40675 ac_header_compiler
=yes
40677 echo "$as_me: failed program was:" >&5
40678 sed 's/^/| /' conftest.
$ac_ext >&5
40680 ac_header_compiler
=no
40682 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40684 echo "${ECHO_T}$ac_header_compiler" >&6
40686 # Is the header present?
40687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40689 cat >conftest.
$ac_ext <<_ACEOF
40692 cat confdefs.h
>>conftest.
$ac_ext
40693 cat >>conftest.
$ac_ext <<_ACEOF
40694 /* end confdefs.h. */
40695 #include <$ac_header>
40697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40698 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
40700 grep -v '^ *+' conftest.er1
>conftest.err
40702 cat conftest.err
>&5
40703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40704 (exit $ac_status); } >/dev
/null
; then
40705 if test -s conftest.err
; then
40706 ac_cpp_err
=$ac_c_preproc_warn_flag
40707 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
40714 if test -z "$ac_cpp_err"; then
40715 ac_header_preproc
=yes
40717 echo "$as_me: failed program was:" >&5
40718 sed 's/^/| /' conftest.
$ac_ext >&5
40720 ac_header_preproc
=no
40722 rm -f conftest.err conftest.
$ac_ext
40723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40724 echo "${ECHO_T}$ac_header_preproc" >&6
40726 # So? What about this header?
40727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40733 ac_header_preproc
=yes
40736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40750 ## ----------------------------------------- ##
40751 ## Report this to wx-dev@lists.wxwidgets.org ##
40752 ## ----------------------------------------- ##
40755 sed "s/^/$as_me: WARNING: /" >&2
40758 echo "$as_me:$LINENO: checking for $ac_header" >&5
40759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40761 echo $ECHO_N "(cached) $ECHO_C" >&6
40763 eval "$as_ac_Header=\$ac_header_preproc"
40765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40770 cat >>confdefs.h
<<_ACEOF
40771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40779 if test "$ac_cv_header_ole2_h" = "yes" ; then
40780 if test "$GCC" = yes ; then
40784 ac_cpp
='$CXXCPP $CPPFLAGS'
40785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40790 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
40791 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
40792 cat >conftest.
$ac_ext <<_ACEOF
40795 cat confdefs.h
>>conftest.
$ac_ext
40796 cat >>conftest.
$ac_ext <<_ACEOF
40797 /* end confdefs.h. */
40798 #include <windows.h>
40808 rm -f conftest.
$ac_objext
40809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40810 (eval $ac_compile) 2>conftest.er1
40812 grep -v '^ *+' conftest.er1
>conftest.err
40814 cat conftest.err
>&5
40815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40816 (exit $ac_status); } &&
40817 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40819 (eval $ac_try) 2>&5
40821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822 (exit $ac_status); }; } &&
40823 { ac_try
='test -s conftest.$ac_objext'
40824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40825 (eval $ac_try) 2>&5
40827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40828 (exit $ac_status); }; }; then
40829 echo "$as_me:$LINENO: result: no" >&5
40830 echo "${ECHO_T}no" >&6
40832 echo "$as_me: failed program was:" >&5
40833 sed 's/^/| /' conftest.
$ac_ext >&5
40835 echo "$as_me:$LINENO: result: yes" >&5
40836 echo "${ECHO_T}yes" >&6
40837 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
40839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40841 ac_cpp
='$CPP $CPPFLAGS'
40842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40846 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
40847 if test "$wxUSE_OLE" = "yes" ; then
40848 cat >>confdefs.h
<<\_ACEOF
40849 #define wxUSE_OLE 1
40852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
40856 if test "$wxUSE_DATAOBJ" = "yes" ; then
40857 cat >>confdefs.h
<<\_ACEOF
40858 #define wxUSE_DATAOBJ 1
40863 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
40864 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
40867 wxUSE_DRAG_AND_DROP
=no
40872 if test "$wxUSE_METAFILE" = "yes"; then
40873 cat >>confdefs.h
<<\_ACEOF
40874 #define wxUSE_METAFILE 1
40878 cat >>confdefs.h
<<\_ACEOF
40879 #define wxUSE_ENH_METAFILE 1
40885 if test "$wxUSE_IPC" = "yes"; then
40886 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
40887 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
40888 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
40892 if test "$wxUSE_IPC" = "yes"; then
40893 cat >>confdefs.h
<<\_ACEOF
40894 #define wxUSE_IPC 1
40897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
40901 if test "$wxUSE_DATAOBJ" = "yes"; then
40902 if test "$wxUSE_MGL" = 1; then
40903 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
40904 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
40907 cat >>confdefs.h
<<\_ACEOF
40908 #define wxUSE_DATAOBJ 1
40913 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
40914 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
40916 wxUSE_DRAG_AND_DROP
=no
40919 if test "$wxUSE_CLIPBOARD" = "yes"; then
40920 if test "$wxUSE_MGL" = 1; then
40921 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
40922 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
40926 if test "$wxUSE_CLIPBOARD" = "yes"; then
40927 cat >>confdefs.h
<<\_ACEOF
40928 #define wxUSE_CLIPBOARD 1
40934 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
40935 if test "$wxUSE_GTK" = 1; then
40936 if test "$WXGTK12" != 1; then
40937 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
40938 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
40939 wxUSE_DRAG_AND_DROP
=no
40943 if test "$wxUSE_MOTIF" = 1; then
40944 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
40945 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
40946 wxUSE_DRAG_AND_DROP
=no
40949 if test "$wxUSE_X11" = 1; then
40950 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
40951 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
40952 wxUSE_DRAG_AND_DROP
=no
40955 if test "$wxUSE_MGL" = 1; then
40956 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
40957 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
40958 wxUSE_DRAG_AND_DROP
=no
40961 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
40962 cat >>confdefs.h
<<\_ACEOF
40963 #define wxUSE_DRAG_AND_DROP 1
40970 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
40971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
40974 if test "$wxUSE_SPLINES" = "yes" ; then
40975 cat >>confdefs.h
<<\_ACEOF
40976 #define wxUSE_SPLINES 1
40981 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
40982 cat >>confdefs.h
<<\_ACEOF
40983 #define wxUSE_MOUSEWHEEL 1
40990 if test "$wxUSE_CONTROLS" = "yes"; then
40994 if test "$wxUSE_ACCEL" = "yes"; then
40995 cat >>confdefs.h
<<\_ACEOF
40996 #define wxUSE_ACCEL 1
41002 if test "$wxUSE_BUTTON" = "yes"; then
41003 cat >>confdefs.h
<<\_ACEOF
41004 #define wxUSE_BUTTON 1
41010 if test "$wxUSE_BMPBUTTON" = "yes"; then
41011 cat >>confdefs.h
<<\_ACEOF
41012 #define wxUSE_BMPBUTTON 1
41018 if test "$wxUSE_CALCTRL" = "yes"; then
41019 cat >>confdefs.h
<<\_ACEOF
41020 #define wxUSE_CALENDARCTRL 1
41024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
41027 if test "$wxUSE_CARET" = "yes"; then
41028 cat >>confdefs.h
<<\_ACEOF
41029 #define wxUSE_CARET 1
41033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
41036 if test "$wxUSE_COMBOBOX" = "yes"; then
41037 cat >>confdefs.h
<<\_ACEOF
41038 #define wxUSE_COMBOBOX 1
41044 if test "$wxUSE_CHOICE" = "yes"; then
41045 cat >>confdefs.h
<<\_ACEOF
41046 #define wxUSE_CHOICE 1
41052 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41053 cat >>confdefs.h
<<\_ACEOF
41054 #define wxUSE_CHOICEBOOK 1
41060 if test "$wxUSE_CHECKBOX" = "yes"; then
41061 cat >>confdefs.h
<<\_ACEOF
41062 #define wxUSE_CHECKBOX 1
41068 if test "$wxUSE_CHECKLST" = "yes"; then
41069 cat >>confdefs.h
<<\_ACEOF
41070 #define wxUSE_CHECKLISTBOX 1
41074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
41077 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41078 cat >>confdefs.h
<<\_ACEOF
41079 #define wxUSE_DATEPICKCTRL 1
41085 if test "$wxUSE_DISPLAY" = "yes"; then
41086 cat >>confdefs.h
<<\_ACEOF
41087 #define wxUSE_DISPLAY 1
41090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
41093 if test "$wxUSE_GAUGE" = "yes"; then
41094 cat >>confdefs.h
<<\_ACEOF
41095 #define wxUSE_GAUGE 1
41101 if test "$wxUSE_GRID" = "yes"; then
41102 cat >>confdefs.h
<<\_ACEOF
41103 #define wxUSE_GRID 1
41107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
41110 if test "$wxUSE_IMAGLIST" = "yes"; then
41111 cat >>confdefs.h
<<\_ACEOF
41112 #define wxUSE_IMAGLIST 1
41117 if test "$wxUSE_LISTBOOK" = "yes"; then
41118 cat >>confdefs.h
<<\_ACEOF
41119 #define wxUSE_LISTBOOK 1
41125 if test "$wxUSE_LISTBOX" = "yes"; then
41126 cat >>confdefs.h
<<\_ACEOF
41127 #define wxUSE_LISTBOX 1
41131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
41134 if test "$wxUSE_LISTCTRL" = "yes"; then
41135 if test "$wxUSE_IMAGLIST" = "yes"; then
41136 cat >>confdefs.h
<<\_ACEOF
41137 #define wxUSE_LISTCTRL 1
41141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
41143 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
41144 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
41148 if test "$wxUSE_NOTEBOOK" = "yes"; then
41149 cat >>confdefs.h
<<\_ACEOF
41150 #define wxUSE_NOTEBOOK 1
41154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
41158 if test "$wxUSE_RADIOBOX" = "yes"; then
41159 cat >>confdefs.h
<<\_ACEOF
41160 #define wxUSE_RADIOBOX 1
41166 if test "$wxUSE_RADIOBTN" = "yes"; then
41167 cat >>confdefs.h
<<\_ACEOF
41168 #define wxUSE_RADIOBTN 1
41174 if test "$wxUSE_SASH" = "yes"; then
41175 cat >>confdefs.h
<<\_ACEOF
41176 #define wxUSE_SASH 1
41179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
41182 if test "$wxUSE_SCROLLBAR" = "yes"; then
41183 cat >>confdefs.h
<<\_ACEOF
41184 #define wxUSE_SCROLLBAR 1
41188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
41191 if test "$wxUSE_SLIDER" = "yes"; then
41192 cat >>confdefs.h
<<\_ACEOF
41193 #define wxUSE_SLIDER 1
41199 if test "$wxUSE_SPINBTN" = "yes"; then
41200 cat >>confdefs.h
<<\_ACEOF
41201 #define wxUSE_SPINBTN 1
41207 if test "$wxUSE_SPINCTRL" = "yes"; then
41208 cat >>confdefs.h
<<\_ACEOF
41209 #define wxUSE_SPINCTRL 1
41215 if test "$wxUSE_SPLITTER" = "yes"; then
41216 cat >>confdefs.h
<<\_ACEOF
41217 #define wxUSE_SPLITTER 1
41220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
41223 if test "$wxUSE_STATBMP" = "yes"; then
41224 cat >>confdefs.h
<<\_ACEOF
41225 #define wxUSE_STATBMP 1
41231 if test "$wxUSE_STATBOX" = "yes"; then
41232 cat >>confdefs.h
<<\_ACEOF
41233 #define wxUSE_STATBOX 1
41239 if test "$wxUSE_STATTEXT" = "yes"; then
41240 cat >>confdefs.h
<<\_ACEOF
41241 #define wxUSE_STATTEXT 1
41247 if test "$wxUSE_STATLINE" = "yes"; then
41248 cat >>confdefs.h
<<\_ACEOF
41249 #define wxUSE_STATLINE 1
41255 if test "$wxUSE_STATUSBAR" = "yes"; then
41256 cat >>confdefs.h
<<\_ACEOF
41257 #define wxUSE_NATIVE_STATUSBAR 1
41260 cat >>confdefs.h
<<\_ACEOF
41261 #define wxUSE_STATUSBAR 1
41266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
41269 if test "$wxUSE_TABDIALOG" = "yes"; then
41270 cat >>confdefs.h
<<\_ACEOF
41271 #define wxUSE_TAB_DIALOG 1
41276 if test "$wxUSE_TEXTCTRL" = "yes"; then
41277 cat >>confdefs.h
<<\_ACEOF
41278 #define wxUSE_TEXTCTRL 1
41282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
41285 if test "$wxUSE_TOGGLEBTN" = "yes"; then
41286 if test "$wxUSE_COCOA" = 1 ; then
41287 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
41288 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
41291 if test "$wxUSE_UNIVERSAL" = "yes"; then
41292 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
41293 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
41297 if test "$wxUSE_TOGGLEBTN" = "yes"; then
41298 cat >>confdefs.h
<<\_ACEOF
41299 #define wxUSE_TOGGLEBTN 1
41306 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
41307 cat >>confdefs.h
<<\_ACEOF
41308 #define wxUSE_TOOLBAR_SIMPLE 1
41311 wxUSE_TOOLBAR
="yes"
41315 if test "$wxUSE_TOOLBAR" = "yes"; then
41316 cat >>confdefs.h
<<\_ACEOF
41317 #define wxUSE_TOOLBAR 1
41322 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
41323 wxUSE_TOOLBAR_NATIVE
="yes"
41326 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
41327 cat >>confdefs.h
<<\_ACEOF
41328 #define wxUSE_TOOLBAR_NATIVE 1
41334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
41337 if test "$wxUSE_TOOLTIPS" = "yes"; then
41338 if test "$wxUSE_MOTIF" = 1; then
41339 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
41340 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
41342 if test "$wxUSE_UNIVERSAL" = "yes"; then
41343 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
41344 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
41346 cat >>confdefs.h
<<\_ACEOF
41347 #define wxUSE_TOOLTIPS 1
41354 if test "$wxUSE_TREECTRL" = "yes"; then
41355 if test "$wxUSE_IMAGLIST" = "yes"; then
41356 cat >>confdefs.h
<<\_ACEOF
41357 #define wxUSE_TREECTRL 1
41361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
41363 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
41364 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
41368 if test "$wxUSE_POPUPWIN" = "yes"; then
41369 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
41370 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
41371 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
41373 if test "$wxUSE_PM" = 1; then
41374 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
41375 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
41377 cat >>confdefs.h
<<\_ACEOF
41378 #define wxUSE_POPUPWIN 1
41381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
41388 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
41389 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
41390 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
41391 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
41393 cat >>confdefs.h
<<\_ACEOF
41394 #define wxUSE_DIALUP_MANAGER 1
41397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
41401 if test "$wxUSE_TIPWINDOW" = "yes"; then
41402 if test "$wxUSE_PM" = 1; then
41403 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
41404 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
41406 cat >>confdefs.h
<<\_ACEOF
41407 #define wxUSE_TIPWINDOW 1
41413 if test "$USES_CONTROLS" = 1; then
41414 cat >>confdefs.h
<<\_ACEOF
41415 #define wxUSE_CONTROLS 1
41421 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
41422 cat >>confdefs.h
<<\_ACEOF
41423 #define wxUSE_ACCESSIBILITY 1
41426 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
41429 if test "$wxUSE_DC_CACHEING" = "yes"; then
41430 cat >>confdefs.h
<<\_ACEOF
41431 #define wxUSE_DC_CACHEING 1
41436 if test "$wxUSE_DRAGIMAGE" = "yes"; then
41437 cat >>confdefs.h
<<\_ACEOF
41438 #define wxUSE_DRAGIMAGE 1
41441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
41444 if test "$wxUSE_EXCEPTIONS" = "yes"; then
41445 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41446 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
41447 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
41449 cat >>confdefs.h
<<\_ACEOF
41450 #define wxUSE_EXCEPTIONS 1
41453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
41458 if test "$wxUSE_HTML" = "yes"; then
41459 cat >>confdefs.h
<<\_ACEOF
41460 #define wxUSE_HTML 1
41464 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
41465 if test "$wxUSE_MAC" = 1; then
41466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
41469 if test "$wxUSE_WEBKIT" = "yes"; then
41470 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
41471 old_CPPFLAGS
="$CPPFLAGS"
41472 CPPFLAGS
="$CPPFLAGS -x objective-c++"
41473 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
41474 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
41475 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
41476 echo $ECHO_N "(cached) $ECHO_C" >&6
41478 cat >conftest.
$ac_ext <<_ACEOF
41481 cat confdefs.h
>>conftest.
$ac_ext
41482 cat >>conftest.
$ac_ext <<_ACEOF
41483 /* end confdefs.h. */
41484 #include <Carbon/Carbon.h>
41486 #include <WebKit/HIWebView.h>
41488 rm -f conftest.
$ac_objext
41489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41490 (eval $ac_compile) 2>conftest.er1
41492 grep -v '^ *+' conftest.er1
>conftest.err
41494 cat conftest.err
>&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); } &&
41497 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41499 (eval $ac_try) 2>&5
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); }; } &&
41503 { ac_try
='test -s conftest.$ac_objext'
41504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41505 (eval $ac_try) 2>&5
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); }; }; then
41509 ac_cv_header_WebKit_HIWebView_h
=yes
41511 echo "$as_me: failed program was:" >&5
41512 sed 's/^/| /' conftest.
$ac_ext >&5
41514 ac_cv_header_WebKit_HIWebView_h
=no
41516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41518 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
41519 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
41520 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
41522 cat >>confdefs.h
<<\_ACEOF
41523 #define wxUSE_WEBKIT 1
41526 WEBKIT_LINK
="-framework WebKit"
41530 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
41531 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
41537 CPPFLAGS
="$old_CPPFLAGS"
41538 elif test "$wxUSE_COCOA" = 1; then
41539 cat >>confdefs.h
<<\_ACEOF
41540 #define wxUSE_WEBKIT 1
41549 if test "$wxUSE_XRC" = "yes"; then
41550 if test "$wxUSE_XML" != "yes"; then
41551 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
41552 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
41555 cat >>confdefs.h
<<\_ACEOF
41556 #define wxUSE_XRC 1
41560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
41564 if test "$wxUSE_MENUS" = "yes"; then
41565 cat >>confdefs.h
<<\_ACEOF
41566 #define wxUSE_MENUS 1
41569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
41572 if test "$wxUSE_METAFILE" = "yes"; then
41573 cat >>confdefs.h
<<\_ACEOF
41574 #define wxUSE_METAFILE 1
41579 if test "$wxUSE_MIMETYPE" = "yes"; then
41580 cat >>confdefs.h
<<\_ACEOF
41581 #define wxUSE_MIMETYPE 1
41586 if test "$wxUSE_MINIFRAME" = "yes"; then
41587 cat >>confdefs.h
<<\_ACEOF
41588 #define wxUSE_MINIFRAME 1
41591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
41594 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
41595 cat >>confdefs.h
<<\_ACEOF
41596 #define wxUSE_SYSTEM_OPTIONS 1
41599 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
41600 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
41601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
41606 if test "$wxUSE_VALIDATORS" = "yes"; then
41607 cat >>confdefs.h
<<\_ACEOF
41608 #define wxUSE_VALIDATORS 1
41611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
41614 if test "$wxUSE_PALETTE" = "yes" ; then
41615 cat >>confdefs.h
<<\_ACEOF
41616 #define wxUSE_PALETTE 1
41621 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
41622 LIBS
=" -lunicows $LIBS"
41626 if test "$wxUSE_IMAGE" = "yes" ; then
41627 cat >>confdefs.h
<<\_ACEOF
41628 #define wxUSE_IMAGE 1
41632 if test "$wxUSE_GIF" = "yes" ; then
41633 cat >>confdefs.h
<<\_ACEOF
41634 #define wxUSE_GIF 1
41639 if test "$wxUSE_PCX" = "yes" ; then
41640 cat >>confdefs.h
<<\_ACEOF
41641 #define wxUSE_PCX 1
41646 if test "$wxUSE_IFF" = "yes" ; then
41647 cat >>confdefs.h
<<\_ACEOF
41648 #define wxUSE_IFF 1
41653 if test "$wxUSE_PNM" = "yes" ; then
41654 cat >>confdefs.h
<<\_ACEOF
41655 #define wxUSE_PNM 1
41660 if test "$wxUSE_XPM" = "yes" ; then
41661 cat >>confdefs.h
<<\_ACEOF
41662 #define wxUSE_XPM 1
41667 if test "$wxUSE_ICO_CUR" = "yes" ; then
41668 cat >>confdefs.h
<<\_ACEOF
41669 #define wxUSE_ICO_CUR 1
41676 if test "$wxUSE_CHOICEDLG" = "yes"; then
41677 cat >>confdefs.h
<<\_ACEOF
41678 #define wxUSE_CHOICEDLG 1
41683 if test "$wxUSE_COLOURDLG" = "yes"; then
41684 cat >>confdefs.h
<<\_ACEOF
41685 #define wxUSE_COLOURDLG 1
41690 if test "$wxUSE_FILEDLG" = "yes"; then
41691 cat >>confdefs.h
<<\_ACEOF
41692 #define wxUSE_FILEDLG 1
41697 if test "$wxUSE_FINDREPLDLG" = "yes"; then
41698 cat >>confdefs.h
<<\_ACEOF
41699 #define wxUSE_FINDREPLDLG 1
41704 if test "$wxUSE_FONTDLG" = "yes"; then
41705 cat >>confdefs.h
<<\_ACEOF
41706 #define wxUSE_FONTDLG 1
41711 if test "$wxUSE_DIRDLG" = "yes"; then
41712 if test "$wxUSE_TREECTRL" != "yes"; then
41713 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
41714 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
41716 cat >>confdefs.h
<<\_ACEOF
41717 #define wxUSE_DIRDLG 1
41723 if test "$wxUSE_MSGDLG" = "yes"; then
41724 cat >>confdefs.h
<<\_ACEOF
41725 #define wxUSE_MSGDLG 1
41730 if test "$wxUSE_NUMBERDLG" = "yes"; then
41731 cat >>confdefs.h
<<\_ACEOF
41732 #define wxUSE_NUMBERDLG 1
41737 if test "$wxUSE_PROGRESSDLG" = "yes"; then
41738 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41739 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
41740 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
41742 cat >>confdefs.h
<<\_ACEOF
41743 #define wxUSE_PROGRESSDLG 1
41749 if test "$wxUSE_SPLASH" = "yes"; then
41750 cat >>confdefs.h
<<\_ACEOF
41751 #define wxUSE_SPLASH 1
41754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
41757 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
41758 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41759 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
41760 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
41762 cat >>confdefs.h
<<\_ACEOF
41763 #define wxUSE_STARTUP_TIPS 1
41769 if test "$wxUSE_TEXTDLG" = "yes"; then
41770 cat >>confdefs.h
<<\_ACEOF
41771 #define wxUSE_TEXTDLG 1
41776 if test "$wxUSE_WIZARDDLG" = "yes"; then
41777 cat >>confdefs.h
<<\_ACEOF
41778 #define wxUSE_WIZARDDLG 1
41781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
41785 if test "$wxUSE_MEDIACTRL" = "yes"; then
41786 if test "$wxUSE_GTK" = 1; then
41787 wxUSE_GSTREAMER
="yes"
41792 if test -z "$PKG_CONFIG"; then
41793 # Extract the first word of "pkg-config", so it can be a program name with args.
41794 set dummy pkg
-config; ac_word
=$2
41795 echo "$as_me:$LINENO: checking for $ac_word" >&5
41796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41797 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41798 echo $ECHO_N "(cached) $ECHO_C" >&6
41800 case $PKG_CONFIG in
41802 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41806 for as_dir
in $PATH
41809 test -z "$as_dir" && as_dir
=.
41810 for ac_exec_ext
in '' $ac_executable_extensions; do
41811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41812 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41819 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41823 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41825 if test -n "$PKG_CONFIG"; then
41826 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41827 echo "${ECHO_T}$PKG_CONFIG" >&6
41829 echo "$as_me:$LINENO: result: no" >&5
41830 echo "${ECHO_T}no" >&6
41835 if test "$PKG_CONFIG" = "no" ; then
41836 echo "*** The pkg-config script could not be found. Make sure it is"
41837 echo "*** in your path, or set the PKG_CONFIG environment variable"
41838 echo "*** to the full path to pkg-config."
41839 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41841 PKG_CONFIG_MIN_VERSION
=0.9.0
41842 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41843 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
41844 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
41846 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
41847 echo "$as_me:$LINENO: result: yes" >&5
41848 echo "${ECHO_T}yes" >&6
41851 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
41852 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
41853 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
41854 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
41855 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
41857 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
41858 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
41859 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
41860 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
41861 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
41863 GSTREAMER_CFLAGS
=""
41865 ## If we have a custom action on failure, don't print errors, but
41866 ## do set a variable so people can do so.
41867 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
41874 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41875 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41879 if test $succeeded = yes; then
41881 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
41882 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
41886 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
41887 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
41888 wxUSE_GSTREAMER
="no"
41896 if test "x$GST_INSPECT" == "x"; then
41897 # Extract the first word of "gst-inspect", so it can be a program name with args.
41898 set dummy gst
-inspect; ac_word
=$2
41899 echo "$as_me:$LINENO: checking for $ac_word" >&5
41900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41901 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
41902 echo $ECHO_N "(cached) $ECHO_C" >&6
41904 if test -n "$GST_INSPECT"; then
41905 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
41907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41908 for as_dir
in $PATH
41911 test -z "$as_dir" && as_dir
=.
41912 for ac_exec_ext
in '' $ac_executable_extensions; do
41913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41914 ac_cv_prog_GST_INSPECT
="gst-inspect"
41915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41923 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
41924 if test -n "$GST_INSPECT"; then
41925 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
41926 echo "${ECHO_T}$GST_INSPECT" >&6
41928 echo "$as_me:$LINENO: result: no" >&5
41929 echo "${ECHO_T}no" >&6
41934 if test "x$GST_INSPECT" != "x"; then
41935 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
41936 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
41937 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
41938 echo "$as_me:$LINENO: result: found." >&5
41939 echo "${ECHO_T}found." >&6
41942 echo "$as_me:$LINENO: result: not found." >&5
41943 echo "${ECHO_T}not found." >&6
41945 wxUSE_GSTREAMER
="no"
41946 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
41947 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
41953 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
41954 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
41955 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
41956 echo $ECHO_N "(cached) $ECHO_C" >&6
41958 cat >conftest.
$ac_ext <<_ACEOF
41961 cat confdefs.h
>>conftest.
$ac_ext
41962 cat >>conftest.
$ac_ext <<_ACEOF
41963 /* end confdefs.h. */
41964 #include <gst/gst.h>
41966 #include <gst/xoverlay/xoverlay.h>
41968 rm -f conftest.
$ac_objext
41969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41970 (eval $ac_compile) 2>conftest.er1
41972 grep -v '^ *+' conftest.er1
>conftest.err
41974 cat conftest.err
>&5
41975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41976 (exit $ac_status); } &&
41977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41979 (eval $ac_try) 2>&5
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); }; } &&
41983 { ac_try
='test -s conftest.$ac_objext'
41984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41985 (eval $ac_try) 2>&5
41987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41988 (exit $ac_status); }; }; then
41989 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
41991 echo "$as_me: failed program was:" >&5
41992 sed 's/^/| /' conftest.
$ac_ext >&5
41994 ac_cv_header_gst_xoverlay_xoverlay_h
=no
41996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41998 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
41999 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42000 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42004 wxUSE_GSTREAMER
="no"
42005 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42006 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42012 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42013 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42017 for ac_dir
in $SEARCH_LIB;
42019 for ac_extension
in a so sl dylib dll.a
; do
42020 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42021 ac_find_libraries
=$ac_dir
42027 if test "x$ac_find_libraries" = "x" ; then
42030 for ac_dir
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
;
42032 for ac_extension
in a so sl dylib dll.a
; do
42033 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42034 ac_find_libraries
=$ac_dir
42040 if test "x$ac_find_libraries" != "x" ; then
42041 ac_find_libraries
="default location"
42046 if test "$ac_find_libraries" = "" ; then
42047 echo "$as_me:$LINENO: result: no" >&5
42048 echo "${ECHO_T}no" >&6
42049 wxUSE_GSTREAMER
="no"
42051 echo "$as_me:$LINENO: result: yes" >&5
42052 echo "${ECHO_T}yes" >&6
42055 if test "$wxUSE_GSTREAMER" = "yes"; then
42056 cat >>confdefs.h
<<\_ACEOF
42057 #define wxUSE_GSTREAMER 1
42060 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42061 echo "${ECHO_T}GStreamer detection successful" >&6
42064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
42065 cat >>confdefs.h
<<\_ACEOF
42066 #define wxUSE_MEDIACTRL 1
42072 if test "$cross_compiling" = "yes"; then
42075 OSINFO
=`uname -s -r -m`
42076 OSINFO
="\"$OSINFO\""
42079 cat >>confdefs.h
<<_ACEOF
42080 #define WXWIN_OS_DESCRIPTION $OSINFO
42085 if test "x$prefix" != "xNONE"; then
42088 wxPREFIX
=$ac_default_prefix
42091 cat >>confdefs.h
<<_ACEOF
42092 #define wxINSTALL_PREFIX "$wxPREFIX"
42098 CORE_BASE_LIBS
="net base"
42099 CORE_GUI_LIBS
="adv core"
42101 if test "$wxUSE_XML" = "yes" ; then
42102 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
42104 if test "$wxUSE_ODBC" != "no" ; then
42105 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
42106 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
42108 if test "$wxUSE_HTML" = "yes" ; then
42109 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
42111 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42112 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
42114 if test "$wxUSE_XRC" = "yes" ; then
42115 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
42118 if test "$wxUSE_GUI" != "yes"; then
42129 if test "$wxUSE_MAC" = 1 ; then
42130 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
42131 if test "$USE_DARWIN" = 1; then
42132 LDFLAGS
="$LDFLAGS -framework QuickTime"
42134 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
42137 if test "$USE_DARWIN" = 1; then
42138 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
42140 LDFLAGS
="$LDFLAGS -lCarbonLib"
42143 if test "$wxUSE_COCOA" = 1 ; then
42144 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
42145 if test "$wxUSE_MEDIACTRL" = "yes"; then
42146 LDFLAGS
="$LDFLAGS -framework QuickTime"
42149 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
42150 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
42154 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
42161 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42162 echo "$as_me:$LINENO: checking for $ac_func" >&5
42163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42164 if eval "test \"\${$as_ac_var+set}\" = set"; then
42165 echo $ECHO_N "(cached) $ECHO_C" >&6
42167 cat >conftest.
$ac_ext <<_ACEOF
42170 cat confdefs.h
>>conftest.
$ac_ext
42171 cat >>conftest.
$ac_ext <<_ACEOF
42172 /* end confdefs.h. */
42173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42175 #define $ac_func innocuous_$ac_func
42177 /* System header to define __stub macros and hopefully few prototypes,
42178 which can conflict with char $ac_func (); below.
42179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42180 <limits.h> exists even on freestanding compilers. */
42183 # include <limits.h>
42185 # include <assert.h>
42190 /* Override any gcc2 internal prototype to avoid an error. */
42195 /* We use char because int might match the return type of a gcc2
42196 builtin and then its argument prototype would still apply. */
42198 /* The GNU C library defines this for functions which it implements
42199 to always fail with ENOSYS. Some functions are actually named
42200 something starting with __ and the normal name is an alias. */
42201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42204 char (*f) () = $ac_func;
42213 return f != $ac_func;
42218 rm -f conftest.
$ac_objext conftest
$ac_exeext
42219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42220 (eval $ac_link) 2>conftest.er1
42222 grep -v '^ *+' conftest.er1
>conftest.err
42224 cat conftest.err
>&5
42225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42226 (exit $ac_status); } &&
42227 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42229 (eval $ac_try) 2>&5
42231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42232 (exit $ac_status); }; } &&
42233 { ac_try
='test -s conftest$ac_exeext'
42234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42235 (eval $ac_try) 2>&5
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); }; }; then
42239 eval "$as_ac_var=yes"
42241 echo "$as_me: failed program was:" >&5
42242 sed 's/^/| /' conftest.
$ac_ext >&5
42244 eval "$as_ac_var=no"
42246 rm -f conftest.err conftest.
$ac_objext \
42247 conftest
$ac_exeext conftest.
$ac_ext
42249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42251 if test `eval echo '${'$as_ac_var'}'` = yes; then
42252 cat >>confdefs.h
<<_ACEOF
42253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42260 for ac_func
in floor
42262 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42263 echo "$as_me:$LINENO: checking for $ac_func" >&5
42264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42265 if eval "test \"\${$as_ac_var+set}\" = set"; then
42266 echo $ECHO_N "(cached) $ECHO_C" >&6
42268 cat >conftest.
$ac_ext <<_ACEOF
42271 cat confdefs.h
>>conftest.
$ac_ext
42272 cat >>conftest.
$ac_ext <<_ACEOF
42273 /* end confdefs.h. */
42274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42276 #define $ac_func innocuous_$ac_func
42278 /* System header to define __stub macros and hopefully few prototypes,
42279 which can conflict with char $ac_func (); below.
42280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42281 <limits.h> exists even on freestanding compilers. */
42284 # include <limits.h>
42286 # include <assert.h>
42291 /* Override any gcc2 internal prototype to avoid an error. */
42296 /* We use char because int might match the return type of a gcc2
42297 builtin and then its argument prototype would still apply. */
42299 /* The GNU C library defines this for functions which it implements
42300 to always fail with ENOSYS. Some functions are actually named
42301 something starting with __ and the normal name is an alias. */
42302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42305 char (*f) () = $ac_func;
42314 return f != $ac_func;
42319 rm -f conftest.
$ac_objext conftest
$ac_exeext
42320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42321 (eval $ac_link) 2>conftest.er1
42323 grep -v '^ *+' conftest.er1
>conftest.err
42325 cat conftest.err
>&5
42326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327 (exit $ac_status); } &&
42328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42330 (eval $ac_try) 2>&5
42332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42333 (exit $ac_status); }; } &&
42334 { ac_try
='test -s conftest$ac_exeext'
42335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42336 (eval $ac_try) 2>&5
42338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42339 (exit $ac_status); }; }; then
42340 eval "$as_ac_var=yes"
42342 echo "$as_me: failed program was:" >&5
42343 sed 's/^/| /' conftest.
$ac_ext >&5
42345 eval "$as_ac_var=no"
42347 rm -f conftest.err conftest.
$ac_objext \
42348 conftest
$ac_exeext conftest.
$ac_ext
42350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42352 if test `eval echo '${'$as_ac_var'}'` = yes; then
42353 cat >>confdefs.h
<<_ACEOF
42354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42360 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
42361 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
42362 if test "$have_cos" = 1 -a "$have_floor" = 1; then
42363 echo "$as_me:$LINENO: result: yes" >&5
42364 echo "${ECHO_T}yes" >&6
42366 echo "$as_me:$LINENO: result: no" >&5
42367 echo "${ECHO_T}no" >&6
42369 # use different functions to avoid configure caching
42375 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42376 echo "$as_me:$LINENO: checking for $ac_func" >&5
42377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42378 if eval "test \"\${$as_ac_var+set}\" = set"; then
42379 echo $ECHO_N "(cached) $ECHO_C" >&6
42381 cat >conftest.
$ac_ext <<_ACEOF
42384 cat confdefs.h
>>conftest.
$ac_ext
42385 cat >>conftest.
$ac_ext <<_ACEOF
42386 /* end confdefs.h. */
42387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42389 #define $ac_func innocuous_$ac_func
42391 /* System header to define __stub macros and hopefully few prototypes,
42392 which can conflict with char $ac_func (); below.
42393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42394 <limits.h> exists even on freestanding compilers. */
42397 # include <limits.h>
42399 # include <assert.h>
42404 /* Override any gcc2 internal prototype to avoid an error. */
42409 /* We use char because int might match the return type of a gcc2
42410 builtin and then its argument prototype would still apply. */
42412 /* The GNU C library defines this for functions which it implements
42413 to always fail with ENOSYS. Some functions are actually named
42414 something starting with __ and the normal name is an alias. */
42415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42418 char (*f) () = $ac_func;
42427 return f != $ac_func;
42432 rm -f conftest.
$ac_objext conftest
$ac_exeext
42433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42434 (eval $ac_link) 2>conftest.er1
42436 grep -v '^ *+' conftest.er1
>conftest.err
42438 cat conftest.err
>&5
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); } &&
42441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42443 (eval $ac_try) 2>&5
42445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42446 (exit $ac_status); }; } &&
42447 { ac_try
='test -s conftest$ac_exeext'
42448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42449 (eval $ac_try) 2>&5
42451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42452 (exit $ac_status); }; }; then
42453 eval "$as_ac_var=yes"
42455 echo "$as_me: failed program was:" >&5
42456 sed 's/^/| /' conftest.
$ac_ext >&5
42458 eval "$as_ac_var=no"
42460 rm -f conftest.err conftest.
$ac_objext \
42461 conftest
$ac_exeext conftest.
$ac_ext
42463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42465 if test `eval echo '${'$as_ac_var'}'` = yes; then
42466 cat >>confdefs.h
<<_ACEOF
42467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42474 for ac_func
in ceil
42476 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42477 echo "$as_me:$LINENO: checking for $ac_func" >&5
42478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42479 if eval "test \"\${$as_ac_var+set}\" = set"; then
42480 echo $ECHO_N "(cached) $ECHO_C" >&6
42482 cat >conftest.
$ac_ext <<_ACEOF
42485 cat confdefs.h
>>conftest.
$ac_ext
42486 cat >>conftest.
$ac_ext <<_ACEOF
42487 /* end confdefs.h. */
42488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42490 #define $ac_func innocuous_$ac_func
42492 /* System header to define __stub macros and hopefully few prototypes,
42493 which can conflict with char $ac_func (); below.
42494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42495 <limits.h> exists even on freestanding compilers. */
42498 # include <limits.h>
42500 # include <assert.h>
42505 /* Override any gcc2 internal prototype to avoid an error. */
42510 /* We use char because int might match the return type of a gcc2
42511 builtin and then its argument prototype would still apply. */
42513 /* The GNU C library defines this for functions which it implements
42514 to always fail with ENOSYS. Some functions are actually named
42515 something starting with __ and the normal name is an alias. */
42516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42519 char (*f) () = $ac_func;
42528 return f != $ac_func;
42533 rm -f conftest.
$ac_objext conftest
$ac_exeext
42534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42535 (eval $ac_link) 2>conftest.er1
42537 grep -v '^ *+' conftest.er1
>conftest.err
42539 cat conftest.err
>&5
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); } &&
42542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42544 (eval $ac_try) 2>&5
42546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42547 (exit $ac_status); }; } &&
42548 { ac_try
='test -s conftest$ac_exeext'
42549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42550 (eval $ac_try) 2>&5
42552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42553 (exit $ac_status); }; }; then
42554 eval "$as_ac_var=yes"
42556 echo "$as_me: failed program was:" >&5
42557 sed 's/^/| /' conftest.
$ac_ext >&5
42559 eval "$as_ac_var=no"
42561 rm -f conftest.err conftest.
$ac_objext \
42562 conftest
$ac_exeext conftest.
$ac_ext
42564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42566 if test `eval echo '${'$as_ac_var'}'` = yes; then
42567 cat >>confdefs.h
<<_ACEOF
42568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42574 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
42575 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
42576 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
42577 echo "$as_me:$LINENO: result: yes" >&5
42578 echo "${ECHO_T}yes" >&6
42580 echo "$as_me:$LINENO: result: no" >&5
42581 echo "${ECHO_T}no" >&6
42582 # not sure we should warn the user, crash, etc.
42586 if test "$wxUSE_GUI" = "yes"; then
42589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
42590 dynamic erase event exec font image minimal mobile \
42591 mobile/wxedit mobile/styles propsize render \
42592 richedit rotate shaped vscroll widgets"
42594 if test "$wxUSE_MONOLITHIC" != "yes"; then
42595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
42597 if test "$TOOLKIT" = "MSW"; then
42598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
42599 if test "$wxUSE_UNIVERSAL" != "yes"; then
42600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
42603 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
42604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
42607 SAMPLES_SUBDIRS
="console"
42611 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
42612 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
42614 if test "$GXX" = yes ; then
42615 CWARNINGS
="-Wall -Wundef"
42616 CXXWARNINGS
="$CWARNINGS -Wno-ctor-dtor-privacy"
42619 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
42621 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
42622 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
42623 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
42625 if test "x$MWCC" = "xyes"; then
42627 CC
="$CC -cwd source -I-"
42628 CXX
="$CXX -cwd source -I-"
42633 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
42634 EXTRALIBS_XML
="$EXPAT_LINK"
42635 EXTRALIBS_HTML
="$MSPACK_LINK"
42636 EXTRALIBS_ODBC
="$ODBC_LINK"
42637 if test "$wxUSE_GUI" = "yes"; then
42638 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
42640 if test "$wxUSE_OPENGL" = "yes"; then
42641 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
42644 LDFLAGS
="$LDFLAGS $PROFILE"
42646 if test "$wxUSE_GTK" = 1; then
42649 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
42652 WXCONFIG_EXTRALIBS
="$LIBS"
42654 if test "$wxUSE_REGEX" = "builtin" ; then
42655 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
42657 if test "$wxUSE_EXPAT" = "builtin" ; then
42658 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
42660 if test "$wxUSE_ODBC" = "builtin" ; then
42661 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
42663 if test "$wxUSE_LIBTIFF" = "builtin" ; then
42664 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
42666 if test "$wxUSE_LIBJPEG" = "builtin" ; then
42667 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
42669 if test "$wxUSE_LIBPNG" = "builtin" ; then
42670 wxconfig_3rdparty
="png $wxconfig_3rdparty"
42672 if test "$wxUSE_ZLIB" = "builtin" ; then
42673 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
42676 for i
in $wxconfig_3rdparty ; do
42677 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
42681 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
42695 if test $wxUSE_MONOLITHIC = "yes" ; then
42701 if test $wxUSE_PLUGINS = "yes" ; then
42707 if test $wxUSE_ODBC != "no" ; then
42713 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42719 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
42747 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
42758 TOOLKIT_USER
="GTK+"
42759 if test "$WXGTK20" = 1; then
42760 TOOLKIT_USER
="$TOOLKIT_USER 2"
42765 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
42769 if test "$wxUSE_WINE" = "yes"; then
42770 BAKEFILE_FORCE_PLATFORM
=win32
42776 if test "x$BAKEFILE_HOST" = "x"; then
42777 BAKEFILE_HOST
="${host}"
42780 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
42782 if test -n "$ac_tool_prefix"; then
42783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
42784 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
42785 echo "$as_me:$LINENO: checking for $ac_word" >&5
42786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42787 if test "${ac_cv_prog_RANLIB+set}" = set; then
42788 echo $ECHO_N "(cached) $ECHO_C" >&6
42790 if test -n "$RANLIB"; then
42791 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
42793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42794 for as_dir
in $PATH
42797 test -z "$as_dir" && as_dir
=.
42798 for ac_exec_ext
in '' $ac_executable_extensions; do
42799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42800 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
42801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42809 RANLIB
=$ac_cv_prog_RANLIB
42810 if test -n "$RANLIB"; then
42811 echo "$as_me:$LINENO: result: $RANLIB" >&5
42812 echo "${ECHO_T}$RANLIB" >&6
42814 echo "$as_me:$LINENO: result: no" >&5
42815 echo "${ECHO_T}no" >&6
42819 if test -z "$ac_cv_prog_RANLIB"; then
42820 ac_ct_RANLIB
=$RANLIB
42821 # Extract the first word of "ranlib", so it can be a program name with args.
42822 set dummy ranlib
; ac_word
=$2
42823 echo "$as_me:$LINENO: checking for $ac_word" >&5
42824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42825 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
42826 echo $ECHO_N "(cached) $ECHO_C" >&6
42828 if test -n "$ac_ct_RANLIB"; then
42829 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
42831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42832 for as_dir
in $PATH
42835 test -z "$as_dir" && as_dir
=.
42836 for ac_exec_ext
in '' $ac_executable_extensions; do
42837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42838 ac_cv_prog_ac_ct_RANLIB
="ranlib"
42839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42845 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
42848 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
42849 if test -n "$ac_ct_RANLIB"; then
42850 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
42851 echo "${ECHO_T}$ac_ct_RANLIB" >&6
42853 echo "$as_me:$LINENO: result: no" >&5
42854 echo "${ECHO_T}no" >&6
42857 RANLIB
=$ac_ct_RANLIB
42859 RANLIB
="$ac_cv_prog_RANLIB"
42862 # Find a good install program. We prefer a C program (faster),
42863 # so one script is as good as another. But avoid the broken or
42864 # incompatible versions:
42865 # SysV /etc/install, /usr/sbin/install
42866 # SunOS /usr/etc/install
42867 # IRIX /sbin/install
42869 # AmigaOS /C/install, which installs bootblocks on floppy discs
42870 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
42871 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
42872 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
42873 # OS/2's system install, which has a completely different semantic
42874 # ./install, which can be erroneously created by make from ./install.sh.
42875 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
42876 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
42877 if test -z "$INSTALL"; then
42878 if test "${ac_cv_path_install+set}" = set; then
42879 echo $ECHO_N "(cached) $ECHO_C" >&6
42881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42882 for as_dir
in $PATH
42885 test -z "$as_dir" && as_dir
=.
42886 # Account for people who put trailing slashes in PATH elements.
42888 .
/ | .
// | /cC
/* | \
42889 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
42890 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
42893 # OSF1 and SCO ODT 3.0 have their own names for install.
42894 # Don't use installbsd from OSF since it installs stuff as root
42896 for ac_prog
in ginstall scoinst
install; do
42897 for ac_exec_ext
in '' $ac_executable_extensions; do
42898 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
42899 if test $ac_prog = install &&
42900 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
42901 # AIX install. It has an incompatible calling convention.
42903 elif test $ac_prog = install &&
42904 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
42905 # program-specific install script used by HP pwplus--don't use.
42908 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
42920 if test "${ac_cv_path_install+set}" = set; then
42921 INSTALL
=$ac_cv_path_install
42923 # As a last resort, use the slow shell script. We don't cache a
42924 # path for INSTALL within a source directory, because that will
42925 # break other packages using the cache if that directory is
42926 # removed, or if the path is relative.
42927 INSTALL
=$ac_install_sh
42930 echo "$as_me:$LINENO: result: $INSTALL" >&5
42931 echo "${ECHO_T}$INSTALL" >&6
42933 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
42934 # It thinks the first close brace ends the variable substitution.
42935 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
42937 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
42939 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
42941 echo "$as_me:$LINENO: checking whether ln -s works" >&5
42942 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
42944 if test "$LN_S" = "ln -s"; then
42945 echo "$as_me:$LINENO: result: yes" >&5
42946 echo "${ECHO_T}yes" >&6
42948 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
42949 echo "${ECHO_T}no, using $LN_S" >&6
42953 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
42954 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
42955 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
42956 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42957 echo $ECHO_N "(cached) $ECHO_C" >&6
42959 cat >conftest.
make <<\_ACEOF
42961 @
echo 'ac_maketemp="$(MAKE)"'
42963 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42964 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42965 if test -n "$ac_maketemp"; then
42966 eval ac_cv_prog_make_
${ac_make}_set
=yes
42968 eval ac_cv_prog_make_
${ac_make}_set
=no
42970 rm -f conftest.
make
42972 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42973 echo "$as_me:$LINENO: result: yes" >&5
42974 echo "${ECHO_T}yes" >&6
42977 echo "$as_me:$LINENO: result: no" >&5
42978 echo "${ECHO_T}no" >&6
42979 SET_MAKE
="MAKE=${MAKE-make}"
42984 if test -n "$ac_tool_prefix"; then
42985 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
42986 set dummy
${ac_tool_prefix}ar; ac_word
=$2
42987 echo "$as_me:$LINENO: checking for $ac_word" >&5
42988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42989 if test "${ac_cv_prog_AR+set}" = set; then
42990 echo $ECHO_N "(cached) $ECHO_C" >&6
42992 if test -n "$AR"; then
42993 ac_cv_prog_AR
="$AR" # Let the user override the test.
42995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42996 for as_dir
in $PATH
42999 test -z "$as_dir" && as_dir
=.
43000 for ac_exec_ext
in '' $ac_executable_extensions; do
43001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43002 ac_cv_prog_AR
="${ac_tool_prefix}ar"
43003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43012 if test -n "$AR"; then
43013 echo "$as_me:$LINENO: result: $AR" >&5
43014 echo "${ECHO_T}$AR" >&6
43016 echo "$as_me:$LINENO: result: no" >&5
43017 echo "${ECHO_T}no" >&6
43021 if test -z "$ac_cv_prog_AR"; then
43023 # Extract the first word of "ar", so it can be a program name with args.
43024 set dummy
ar; ac_word
=$2
43025 echo "$as_me:$LINENO: checking for $ac_word" >&5
43026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43027 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43028 echo $ECHO_N "(cached) $ECHO_C" >&6
43030 if test -n "$ac_ct_AR"; then
43031 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
43033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43034 for as_dir
in $PATH
43037 test -z "$as_dir" && as_dir
=.
43038 for ac_exec_ext
in '' $ac_executable_extensions; do
43039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43040 ac_cv_prog_ac_ct_AR
="ar"
43041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43047 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
43050 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
43051 if test -n "$ac_ct_AR"; then
43052 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43053 echo "${ECHO_T}$ac_ct_AR" >&6
43055 echo "$as_me:$LINENO: result: no" >&5
43056 echo "${ECHO_T}no" >&6
43061 AR
="$ac_cv_prog_AR"
43064 if test -n "$ac_tool_prefix"; then
43065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43066 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
43067 echo "$as_me:$LINENO: checking for $ac_word" >&5
43068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43069 if test "${ac_cv_prog_STRIP+set}" = set; then
43070 echo $ECHO_N "(cached) $ECHO_C" >&6
43072 if test -n "$STRIP"; then
43073 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
43075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43076 for as_dir
in $PATH
43079 test -z "$as_dir" && as_dir
=.
43080 for ac_exec_ext
in '' $ac_executable_extensions; do
43081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43082 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
43083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43091 STRIP
=$ac_cv_prog_STRIP
43092 if test -n "$STRIP"; then
43093 echo "$as_me:$LINENO: result: $STRIP" >&5
43094 echo "${ECHO_T}$STRIP" >&6
43096 echo "$as_me:$LINENO: result: no" >&5
43097 echo "${ECHO_T}no" >&6
43101 if test -z "$ac_cv_prog_STRIP"; then
43103 # Extract the first word of "strip", so it can be a program name with args.
43104 set dummy strip
; ac_word
=$2
43105 echo "$as_me:$LINENO: checking for $ac_word" >&5
43106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43107 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43108 echo $ECHO_N "(cached) $ECHO_C" >&6
43110 if test -n "$ac_ct_STRIP"; then
43111 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
43113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43114 for as_dir
in $PATH
43117 test -z "$as_dir" && as_dir
=.
43118 for ac_exec_ext
in '' $ac_executable_extensions; do
43119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43120 ac_cv_prog_ac_ct_STRIP
="strip"
43121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43127 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
43130 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
43131 if test -n "$ac_ct_STRIP"; then
43132 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
43133 echo "${ECHO_T}$ac_ct_STRIP" >&6
43135 echo "$as_me:$LINENO: result: no" >&5
43136 echo "${ECHO_T}no" >&6
43141 STRIP
="$ac_cv_prog_STRIP"
43144 if test -n "$ac_tool_prefix"; then
43145 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
43146 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
43147 echo "$as_me:$LINENO: checking for $ac_word" >&5
43148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43149 if test "${ac_cv_prog_NM+set}" = set; then
43150 echo $ECHO_N "(cached) $ECHO_C" >&6
43152 if test -n "$NM"; then
43153 ac_cv_prog_NM
="$NM" # Let the user override the test.
43155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43156 for as_dir
in $PATH
43159 test -z "$as_dir" && as_dir
=.
43160 for ac_exec_ext
in '' $ac_executable_extensions; do
43161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43162 ac_cv_prog_NM
="${ac_tool_prefix}nm"
43163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43172 if test -n "$NM"; then
43173 echo "$as_me:$LINENO: result: $NM" >&5
43174 echo "${ECHO_T}$NM" >&6
43176 echo "$as_me:$LINENO: result: no" >&5
43177 echo "${ECHO_T}no" >&6
43181 if test -z "$ac_cv_prog_NM"; then
43183 # Extract the first word of "nm", so it can be a program name with args.
43184 set dummy nm
; ac_word
=$2
43185 echo "$as_me:$LINENO: checking for $ac_word" >&5
43186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43187 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
43188 echo $ECHO_N "(cached) $ECHO_C" >&6
43190 if test -n "$ac_ct_NM"; then
43191 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
43193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43194 for as_dir
in $PATH
43197 test -z "$as_dir" && as_dir
=.
43198 for ac_exec_ext
in '' $ac_executable_extensions; do
43199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43200 ac_cv_prog_ac_ct_NM
="nm"
43201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43207 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
43210 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
43211 if test -n "$ac_ct_NM"; then
43212 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
43213 echo "${ECHO_T}$ac_ct_NM" >&6
43215 echo "$as_me:$LINENO: result: no" >&5
43216 echo "${ECHO_T}no" >&6
43221 NM
="$ac_cv_prog_NM"
43225 case ${BAKEFILE_HOST} in
43227 INSTALL_DIR
="mkdir -p"
43229 *) INSTALL_DIR
="$INSTALL -d"
43235 case ${BAKEFILE_HOST} in
43236 *-*-cygwin* | *-*-mingw32* )
43237 LDFLAGS_GUI
="-mwindows"
43243 echo "$as_me:$LINENO: checking if make is GNU make" >&5
43244 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
43245 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
43246 echo $ECHO_N "(cached) $ECHO_C" >&6
43249 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
43250 egrep -s GNU
> /dev
/null
); then
43251 bakefile_cv_prog_makeisgnu
="yes"
43253 bakefile_cv_prog_makeisgnu
="no"
43257 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
43258 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
43260 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
43277 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
43278 case "${BAKEFILE_HOST}" in
43285 *-pc-os2_emx | *-pc-os2-emx )
43295 powerpc
-apple-macos* )
43304 case "$BAKEFILE_FORCE_PLATFORM" in
43325 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
43326 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
43327 { (exit 1); exit 1; }; }
43342 # Check whether --enable-omf or --disable-omf was given.
43343 if test "${enable_omf+set}" = set; then
43344 enableval
="$enable_omf"
43345 bk_os2_use_omf
="$enableval"
43348 case "${BAKEFILE_HOST}" in
43350 if test "x$GCC" = "xyes"; then
43351 CFLAGS
="$CFLAGS -fno-common"
43352 CXXFLAGS
="$CXXFLAGS -fno-common"
43354 if test "x$XLCC" = "xyes"; then
43355 CFLAGS
="$CFLAGS -qnocommon"
43356 CXXFLAGS
="$CXXFLAGS -qnocommon"
43360 *-pc-os2_emx | *-pc-os2-emx )
43361 if test "x$bk_os2_use_omf" = "xyes" ; then
43364 LDFLAGS
="-Zomf $LDFLAGS"
43365 CFLAGS
="-Zomf $CFLAGS"
43366 CXXFLAGS
="-Zomf $CXXFLAGS"
43374 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
43380 SO_SUFFIX_MODULE
="so"
43385 DLLPREFIX_MODULE
=""
43389 case "${BAKEFILE_HOST}" in
43392 SO_SUFFIX_MODULE
="sl"
43396 SO_SUFFIX_MODULE
="a"
43400 SO_SUFFIX_MODULE
="dll"
43401 DLLIMP_SUFFIX
="dll.a"
43408 SO_SUFFIX_MODULE
="dll"
43409 DLLIMP_SUFFIX
="dll.a"
43419 *-pc-os2_emx | *-pc-os2-emx )
43421 SO_SUFFIX_MODULE
="dll"
43422 DLLIMP_SUFFIX
=$OS2_LIBEXT
43426 LIBEXT
=".$OS2_LIBEXT"
43431 SO_SUFFIX_MODULE
="bundle"
43435 if test "x$DLLIMP_SUFFIX" = "x" ; then
43436 DLLIMP_SUFFIX
="$SO_SUFFIX"
43451 if test "x$GCC" = "xyes"; then
43455 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
43456 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
43459 case "${BAKEFILE_HOST}" in
43461 if test "x$GCC" != "xyes"; then
43462 LDFLAGS
="$LDFLAGS -L/usr/lib"
43464 SHARED_LD_CC
="${CC} -b -o"
43465 SHARED_LD_CXX
="${CXX} -b -o"
43471 if test "x$GCC" != "xyes"; then
43472 echo "$as_me:$LINENO: checking for Intel compiler" >&5
43473 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
43474 if test "${bakefile_cv_prog_icc+set}" = set; then
43475 echo $ECHO_N "(cached) $ECHO_C" >&6
43478 cat >conftest.
$ac_ext <<_ACEOF
43481 cat confdefs.h
>>conftest.
$ac_ext
43482 cat >>conftest.
$ac_ext <<_ACEOF
43483 /* end confdefs.h. */
43489 #ifndef __INTEL_COMPILER
43497 rm -f conftest.
$ac_objext
43498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43499 (eval $ac_compile) 2>conftest.er1
43501 grep -v '^ *+' conftest.er1
>conftest.err
43503 cat conftest.err
>&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); } &&
43506 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43508 (eval $ac_try) 2>&5
43510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511 (exit $ac_status); }; } &&
43512 { ac_try
='test -s conftest.$ac_objext'
43513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43514 (eval $ac_try) 2>&5
43516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43517 (exit $ac_status); }; }; then
43518 bakefile_cv_prog_icc
=yes
43520 echo "$as_me: failed program was:" >&5
43521 sed 's/^/| /' conftest.
$ac_ext >&5
43523 bakefile_cv_prog_icc
=no
43526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43529 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
43530 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
43531 if test "$bakefile_cv_prog_icc" = "yes"; then
43538 if test "x$GCC" != xyes
; then
43539 SHARED_LD_CC
="${CC} -G -o"
43540 SHARED_LD_CXX
="${CXX} -G -o"
43547 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
43548 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
43549 if test "${wx_cv_gcc31+set}" = set; then
43550 echo $ECHO_N "(cached) $ECHO_C" >&6
43553 cat >conftest.
$ac_ext <<_ACEOF
43556 cat confdefs.h
>>conftest.
$ac_ext
43557 cat >>conftest.
$ac_ext <<_ACEOF
43558 /* end confdefs.h. */
43564 #if (__GNUC__ < 3) || \
43565 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
43573 rm -f conftest.
$ac_objext
43574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43575 (eval $ac_compile) 2>conftest.er1
43577 grep -v '^ *+' conftest.er1
>conftest.err
43579 cat conftest.err
>&5
43580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43581 (exit $ac_status); } &&
43582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43584 (eval $ac_try) 2>&5
43586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43587 (exit $ac_status); }; } &&
43588 { ac_try
='test -s conftest.$ac_objext'
43589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43590 (eval $ac_try) 2>&5
43592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43593 (exit $ac_status); }; }; then
43598 echo "$as_me: failed program was:" >&5
43599 sed 's/^/| /' conftest.
$ac_ext >&5
43606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43609 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
43610 echo "${ECHO_T}$wx_cv_gcc31" >&6
43611 if test "$wx_cv_gcc31" = "no"; then
43614 cat <<EOF >shared-ld-sh
43616 #-----------------------------------------------------------------------------
43617 #-- Name: distrib/mac/shared-ld-sh
43618 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
43619 #-- Author: Gilles Depeyrot
43620 #-- Copyright: (c) 2002 Gilles Depeyrot
43621 #-- Licence: any use permitted
43622 #-----------------------------------------------------------------------------
43627 linking_flag="-dynamiclib"
43628 ldargs="-r -keep_private_externs -nostdlib"
43630 while test ${D}# -gt 0; do
43637 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
43638 # collect these options and values
43639 args="${D}{args} ${D}1 ${D}2"
43644 # collect these load args
43645 ldargs="${D}{ldargs} ${D}1"
43648 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
43649 # collect these options
43650 args="${D}{args} ${D}1"
43653 -dynamiclib|-bundle)
43654 linking_flag="${D}1"
43658 echo "shared-ld: unhandled option '${D}1'"
43662 *.o | *.a | *.dylib)
43663 # collect object files
43664 objects="${D}{objects} ${D}1"
43668 echo "shared-ld: unhandled argument '${D}1'"
43679 # Link one module containing all the others
43681 if test ${D}{verbose} = 1; then
43682 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
43684 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
43688 # Link the shared library from the single module created, but only if the
43689 # previous command didn't fail:
43691 if test ${D}{status} = 0; then
43692 if test ${D}{verbose} = 1; then
43693 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
43695 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
43700 # Remove intermediate module
43702 rm -f master.${D}${D}.o
43707 chmod +x shared
-ld-sh
43709 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
43710 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
43711 SHARED_LD_CXX
="$SHARED_LD_CC"
43712 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
43714 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
43715 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
43716 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
43717 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
43720 if test "x$GCC" == "xyes"; then
43721 PIC_FLAG
="-dynamic -fPIC"
43723 if test "x$XLCC" = "xyes"; then
43724 PIC_FLAG
="-dynamic -DPIC"
43729 if test "x$GCC" = "xyes"; then
43732 case "${BAKEFILE_HOST}" in
43734 LD_EXPFULL
="-Wl,-bexpfull"
43738 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
43739 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
43741 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
43742 set dummy makeC
++SharedLib
; ac_word
=$2
43743 echo "$as_me:$LINENO: checking for $ac_word" >&5
43744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43745 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
43746 echo $ECHO_N "(cached) $ECHO_C" >&6
43748 if test -n "$AIX_CXX_LD"; then
43749 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
43751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43752 for as_dir
in $PATH
43755 test -z "$as_dir" && as_dir
=.
43756 for ac_exec_ext
in '' $ac_executable_extensions; do
43757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43758 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
43759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43765 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
43768 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
43769 if test -n "$AIX_CXX_LD"; then
43770 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
43771 echo "${ECHO_T}$AIX_CXX_LD" >&6
43773 echo "$as_me:$LINENO: result: no" >&5
43774 echo "${ECHO_T}no" >&6
43777 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
43778 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
43783 SHARED_LD_CC
="${LD} -nostart -o"
43784 SHARED_LD_CXX
="${LD} -nostart -o"
43788 if test "x$GCC" != "xyes"; then
43793 *-*-cygwin* | *-*-mingw32* )
43795 SHARED_LD_CC
="\$(CC) -shared -o"
43796 SHARED_LD_CXX
="\$(CXX) -shared -o"
43800 *-pc-os2_emx | *-pc-os2-emx )
43801 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43802 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43806 cat <<EOF >dllar.sh
43809 # dllar - a tool to build both a .dll and an .a file
43810 # from a set of object (.o) files for EMX/OS2.
43812 # Written by Andrew Zabolotny, bit@freya.etu.ru
43813 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
43815 # This script will accept a set of files on the command line.
43816 # All the public symbols from the .o files will be exported into
43817 # a .DEF file, then linker will be run (through gcc) against them to
43818 # build a shared library consisting of all given .o files. All libraries
43819 # (.a) will be first decompressed into component .o files then act as
43820 # described above. You can optionally give a description (-d "description")
43821 # which will be put into .DLL. To see the list of accepted options (as well
43822 # as command-line format) simply run this program without options. The .DLL
43823 # is built to be imported by name (there is no guarantee that new versions
43824 # of the library you build will have same ordinals for same symbols).
43826 # dllar is free software; you can redistribute it and/or modify
43827 # it under the terms of the GNU General Public License as published by
43828 # the Free Software Foundation; either version 2, or (at your option)
43829 # any later version.
43831 # dllar is distributed in the hope that it will be useful,
43832 # but WITHOUT ANY WARRANTY; without even the implied warranty of
43833 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43834 # GNU General Public License for more details.
43836 # You should have received a copy of the GNU General Public License
43837 # along with dllar; see the file COPYING. If not, write to the Free
43838 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
43841 # To successfuly run this program you will need:
43842 # - Current drive should have LFN support (HPFS, ext2, network, etc)
43843 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
43845 # (used to build the .dll)
43847 # (used to create .def file from .o files)
43849 # (used to create .a file from .def file)
43850 # - GNU text utilites (cat, sort, uniq)
43851 # used to process emxexp output
43852 # - GNU file utilities (mv, rm)
43854 # - lxlite (optional, see flag below)
43855 # (used for general .dll cleanup)
43862 # basnam, variant of basename, which does _not_ remove the path, _iff_
43863 # second argument (suffix to remove) is given
43867 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
43870 echo ${D}1 | sed 's/'${D}2'${D}//'
43873 echo "error in basnam ${D}*"
43879 # Cleanup temporary files and output
43882 for i in ${D}inputFiles ; do
43885 rm -rf \`basnam ${D}i !\`
43892 # Kill result in case of failure as there is just to many stupid make/nmake
43893 # things out there which doesn't do this.
43894 if [ ${D}# -eq 0 ]; then
43895 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
43899 # Print usage and exit script with rc=1.
43901 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
43902 echo ' [-name-mangler-script script.sh]'
43903 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
43904 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
43905 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
43906 echo ' [*.o] [*.a]'
43907 echo '*> "output_file" should have no extension.'
43908 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
43909 echo ' The import library name is derived from this and is set to "name".a,'
43910 echo ' unless overridden by -import'
43911 echo '*> "importlib_name" should have no extension.'
43912 echo ' If it has the .o, or .a extension, it is automatically removed.'
43913 echo ' This name is used as the import library name and may be longer and'
43914 echo ' more descriptive than the DLL name which has to follow the old '
43915 echo ' 8.3 convention of FAT.'
43916 echo '*> "script.sh may be given to override the output_file name by a'
43917 echo ' different name. It is mainly useful if the regular make process'
43918 echo ' of some package does not take into account OS/2 restriction of'
43919 echo ' DLL name lengths. It takes the importlib name as input and is'
43920 echo ' supposed to procude a shorter name as output. The script should'
43921 echo ' expect to get importlib_name without extension and should produce'
43922 echo ' a (max.) 8 letter name without extension.'
43923 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
43924 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
43925 echo ' These flags will be put at the start of GCC command line.'
43926 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
43927 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
43928 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
43929 echo ' If the last character of a symbol is "*", all symbols beginning'
43930 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
43931 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
43932 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
43933 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
43934 echo ' C runtime DLLs.'
43935 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
43936 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
43937 echo ' unchanged to GCC at the end of command line.'
43938 echo '*> If you create a DLL from a library and you do not specify -o,'
43939 echo ' the basename for DLL and import library will be set to library name,'
43940 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
43941 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
43942 echo ' library will be renamed into gcc_s.a.'
43945 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
43946 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
43951 # Execute a command.
43952 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
43953 # @Uses Whatever CleanUp() uses.
43959 if [ ${D}rcCmd -ne 0 ]; then
43960 echo "command failed, exit code="${D}rcCmd
43975 CFLAGS="-s -Zcrtdll"
43977 EXPORT_BY_ORDINALS=0
43982 case ${D}curDirS in
43986 curDirS=${D}{curDirS}"/"
43989 # Parse commandline
43992 while [ ${D}1 ]; do
43995 EXPORT_BY_ORDINALS=1;
44005 -name-mangler-script)
44026 exclude_symbols=${D}{exclude_symbols}${D}1" "
44030 library_flags=${D}{library_flags}${D}1" "
44049 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44052 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44053 if [ ${D}omfLinking -eq 1 ]; then
44054 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44056 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44061 if [ ${D}libsToLink -ne 0 ]; then
44062 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44064 for file in ${D}1 ; do
44065 if [ -f ${D}file ]; then
44066 inputFiles="${D}{inputFiles} ${D}file"
44070 if [ ${D}found -eq 0 ]; then
44071 echo "ERROR: No file(s) found: "${D}1
44078 done # iterate cmdline words
44081 if [ -z "${D}inputFiles" ]; then
44082 echo "dllar: no input files"
44086 # Now extract all .o files from .a files
44088 for file in ${D}inputFiles ; do
44099 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44104 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44106 if [ ${D}? -ne 0 ]; then
44107 echo "Failed to create subdirectory ./${D}dirname"
44111 # Append '!' to indicate archive
44112 newInputFiles="${D}newInputFiles ${D}{dirname}!"
44113 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
44116 for subfile in ${D}dirname/*.o* ; do
44117 if [ -f ${D}subfile ]; then
44119 if [ -s ${D}subfile ]; then
44120 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
44121 newInputFiles="${D}newInputFiles ${D}subfile"
44125 if [ ${D}found -eq 0 ]; then
44126 echo "WARNING: there are no files in archive \\'${D}file\\'"
44130 newInputFiles="${D}{newInputFiles} ${D}file"
44134 inputFiles="${D}newInputFiles"
44136 # Output filename(s).
44138 if [ -z ${D}outFile ]; then
44140 set outFile ${D}inputFiles; outFile=${D}2
44143 # If it is an archive, remove the '!' and the '_%' suffixes
44144 case ${D}outFile in
44146 outFile=\`basnam ${D}outFile _%!\`
44151 case ${D}outFile in
44153 outFile=\`basnam ${D}outFile .dll\`
44156 outFile=\`basnam ${D}outFile .DLL\`
44159 outFile=\`basnam ${D}outFile .o\`
44162 outFile=\`basnam ${D}outFile .obj\`
44165 outFile=\`basnam ${D}outFile .a\`
44168 outFile=\`basnam ${D}outFile .lib\`
44173 case ${D}outimpFile in
44175 outimpFile=\`basnam ${D}outimpFile .a\`
44178 outimpFile=\`basnam ${D}outimpFile .lib\`
44183 if [ -z ${D}outimpFile ]; then
44184 outimpFile=${D}outFile
44186 defFile="${D}{outFile}.def"
44187 arcFile="${D}{outimpFile}.a"
44188 arcFile2="${D}{outimpFile}.lib"
44190 #create ${D}dllFile as something matching 8.3 restrictions,
44191 if [ -z ${D}renameScript ] ; then
44192 dllFile="${D}outFile"
44194 dllFile=\`${D}renameScript ${D}outimpFile\`
44197 if [ ${D}do_backup -ne 0 ] ; then
44198 if [ -f ${D}arcFile ] ; then
44199 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
44201 if [ -f ${D}arcFile2 ] ; then
44202 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
44206 # Extract public symbols from all the object files.
44207 tmpdefFile=${D}{defFile}_%
44208 rm -f ${D}tmpdefFile
44209 for file in ${D}inputFiles ; do
44214 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
44219 # Create the def file.
44221 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
44222 dllFile="${D}{dllFile}.dll"
44223 if [ ! -z ${D}description ]; then
44224 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
44226 echo "EXPORTS" >> ${D}defFile
44228 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
44229 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
44231 # Checks if the export is ok or not.
44232 for word in ${D}exclude_symbols; do
44233 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
44234 mv ${D}{tmpdefFile}% ${D}tmpdefFile
44238 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44239 sed "=" < ${D}tmpdefFile | \\
44243 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
44245 ' > ${D}{tmpdefFile}%
44246 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
44248 rm -f ${D}{tmpdefFile}%
44250 cat ${D}tmpdefFile >> ${D}defFile
44251 rm -f ${D}tmpdefFile
44253 # Do linking, create implib, and apply lxlite.
44255 for file in ${D}inputFiles ; do
44260 gccCmdl="${D}gccCmdl ${D}file"
44264 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
44265 touch "${D}{outFile}.dll"
44267 doCommand "emximp -o ${D}arcFile ${D}defFile"
44268 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
44270 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44273 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
44275 doCommand "emxomf -s -l ${D}arcFile"
44285 powerpc
-apple-macos* | \
44286 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
44295 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
44296 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
44297 { (exit 1); exit 1; }; }
44300 if test "x$PIC_FLAG" != "x" ; then
44301 PIC_FLAG
="$PIC_FLAG -DPIC"
44304 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
44305 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
44307 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
44308 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
44327 case "${BAKEFILE_HOST}" in
44328 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
44329 SONAME_FLAG
="-Wl,-soname,"
44363 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
44364 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
44367 if test "x$GCC" = "xyes"; then
44369 case "${BAKEFILE_HOST}" in
44371 DEPSFLAG
="-no-cpp-precomp -MMD"
44377 echo "$as_me:$LINENO: result: gcc" >&5
44378 echo "${ECHO_T}gcc" >&6
44379 elif test "x$MWCC" = "xyes"; then
44382 echo "$as_me:$LINENO: result: mwcc" >&5
44383 echo "${ECHO_T}mwcc" >&6
44384 elif test "x$SUNCC" = "xyes"; then
44387 echo "$as_me:$LINENO: result: Sun cc" >&5
44388 echo "${ECHO_T}Sun cc" >&6
44389 elif test "x$SGICC" = "xyes"; then
44392 echo "$as_me:$LINENO: result: SGI cc" >&5
44393 echo "${ECHO_T}SGI cc" >&6
44396 echo "$as_me:$LINENO: result: none" >&5
44397 echo "${ECHO_T}none" >&6
44400 if test $DEPS_TRACKING = 1 ; then
44406 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
44407 # script. It is used to track C/C++ files dependencies in portable way.
44409 # Permission is given to use this file in any way.
44411 DEPSMODE=${DEPSMODE}
44413 DEPSFLAG="${DEPSFLAG}"
44415 mkdir -p ${D}DEPSDIR
44417 if test ${D}DEPSMODE = gcc ; then
44418 ${D}* ${D}{DEPSFLAG}
44420 if test ${D}{status} != 0 ; then
44423 # move created file to the location we want it in:
44424 while test ${D}# -gt 0; do
44438 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
44439 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
44440 if test -f ${D}depfile ; then
44441 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
44444 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
44445 if test -f ${D}depfile ; then
44446 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
44451 elif test ${D}DEPSMODE = mwcc ; then
44452 ${D}* || exit ${D}?
44453 # Run mwcc again with -MM and redirect into the dep file we want
44454 # NOTE: We can't use shift here because we need ${D}* to be valid
44456 for arg in ${D}* ; do
44457 if test "${D}prevarg" = "-o"; then
44470 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
44472 elif test ${D}DEPSMODE = unixcc; then
44473 ${D}* || exit ${D}?
44474 # Run compiler again with deps flag and redirect into the dep file.
44475 # It doesn't work if the '-o FILE' option is used, but without it the
44476 # dependency file will contain the wrong name for the object. So it is
44477 # removed from the command line, and the dep file is fixed with sed.
44479 while test ${D}# -gt 0; do
44486 eval arg${D}#=\\${D}1
44487 cmd="${D}cmd \\${D}arg${D}#"
44492 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
44509 case ${BAKEFILE_HOST} in
44510 *-*-cygwin* | *-*-mingw32* )
44511 if test "$build" != "$host" ; then
44512 RESCOMP
=$host_alias-windres
44514 # Extract the first word of "windres", so it can be a program name with args.
44515 set dummy windres
; ac_word
=$2
44516 echo "$as_me:$LINENO: checking for $ac_word" >&5
44517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44518 if test "${ac_cv_prog_RESCOMP+set}" = set; then
44519 echo $ECHO_N "(cached) $ECHO_C" >&6
44521 if test -n "$RESCOMP"; then
44522 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
44524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44525 for as_dir
in $PATH
44528 test -z "$as_dir" && as_dir
=.
44529 for ac_exec_ext
in '' $ac_executable_extensions; do
44530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44531 ac_cv_prog_RESCOMP
="windres"
44532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44538 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
44541 RESCOMP
=$ac_cv_prog_RESCOMP
44542 if test -n "$RESCOMP"; then
44543 echo "$as_me:$LINENO: result: $RESCOMP" >&5
44544 echo "${ECHO_T}$RESCOMP" >&6
44546 echo "$as_me:$LINENO: result: no" >&5
44547 echo "${ECHO_T}no" >&6
44553 *-*-darwin* | powerpc
-apple-macos* )
44554 # Extract the first word of "Rez", so it can be a program name with args.
44555 set dummy Rez
; ac_word
=$2
44556 echo "$as_me:$LINENO: checking for $ac_word" >&5
44557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44558 if test "${ac_cv_prog_RESCOMP+set}" = set; then
44559 echo $ECHO_N "(cached) $ECHO_C" >&6
44561 if test -n "$RESCOMP"; then
44562 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
44564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44565 for as_dir
in $PATH
44568 test -z "$as_dir" && as_dir
=.
44569 for ac_exec_ext
in '' $ac_executable_extensions; do
44570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44571 ac_cv_prog_RESCOMP
="Rez"
44572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44578 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
44581 RESCOMP
=$ac_cv_prog_RESCOMP
44582 if test -n "$RESCOMP"; then
44583 echo "$as_me:$LINENO: result: $RESCOMP" >&5
44584 echo "${ECHO_T}$RESCOMP" >&6
44586 echo "$as_me:$LINENO: result: no" >&5
44587 echo "${ECHO_T}no" >&6
44590 # Extract the first word of "SetFile", so it can be a program name with args.
44591 set dummy SetFile
; ac_word
=$2
44592 echo "$as_me:$LINENO: checking for $ac_word" >&5
44593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44594 if test "${ac_cv_prog_SETFILE+set}" = set; then
44595 echo $ECHO_N "(cached) $ECHO_C" >&6
44597 if test -n "$SETFILE"; then
44598 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
44600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44601 for as_dir
in $PATH
44604 test -z "$as_dir" && as_dir
=.
44605 for ac_exec_ext
in '' $ac_executable_extensions; do
44606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44607 ac_cv_prog_SETFILE
="SetFile"
44608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44614 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
44617 SETFILE
=$ac_cv_prog_SETFILE
44618 if test -n "$SETFILE"; then
44619 echo "$as_me:$LINENO: result: $SETFILE" >&5
44620 echo "${ECHO_T}$SETFILE" >&6
44622 echo "$as_me:$LINENO: result: no" >&5
44623 echo "${ECHO_T}no" >&6
44633 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
44636 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
44640 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
44641 if test "${enable_precomp_headers+set}" = set; then
44642 enableval
="$enable_precomp_headers"
44643 bk_use_pch
="$enableval"
44648 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
44649 if test "x$GCC" = "xyes"; then
44650 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
44651 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
44652 cat >conftest.
$ac_ext <<_ACEOF
44655 cat confdefs.h
>>conftest.
$ac_ext
44656 cat >>conftest.
$ac_ext <<_ACEOF
44657 /* end confdefs.h. */
44663 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
44664 #error "no pch support"
44667 #error "no pch support"
44669 #if (__GNUC__ == 3) && \
44670 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
44671 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
44672 #error "no pch support"
44679 rm -f conftest.
$ac_objext
44680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44681 (eval $ac_compile) 2>conftest.er1
44683 grep -v '^ *+' conftest.er1
>conftest.err
44685 cat conftest.err
>&5
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); } &&
44688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44690 (eval $ac_try) 2>&5
44692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44693 (exit $ac_status); }; } &&
44694 { ac_try
='test -s conftest.$ac_objext'
44695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44696 (eval $ac_try) 2>&5
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); }; }; then
44701 echo "$as_me:$LINENO: result: yes" >&5
44702 echo "${ECHO_T}yes" >&6
44706 echo "$as_me: failed program was:" >&5
44707 sed 's/^/| /' conftest.
$ac_ext >&5
44710 echo "$as_me:$LINENO: result: no" >&5
44711 echo "${ECHO_T}no" >&6
44714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44715 if test $GCC_PCH = 1 ; then
44718 cat <<EOF >bk-make-pch
44721 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
44722 # script. It is used to generated precompiled headers.
44724 # Permission is given to use this file in any way.
44733 while test ${D}{#} -gt 0; do
44736 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
44737 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
44738 headerfile="${D}{incdir}/${D}{header}"
44742 compiler="${D}{compiler} ${D}{1}"
44746 if test "x${D}{headerfile}" = "x" ; then
44747 echo "error: can't find header ${D}{header} in include paths" >2
44749 if test -f ${D}{outfile} ; then
44750 rm -f ${D}{outfile}
44752 mkdir -p \`dirname ${D}{outfile}\`
44754 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
44756 # can do this because gcc is >= 3.4:
44757 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
44762 chmod +x bk
-make-pch
44769 COND_BUILD_DEBUG
="#"
44770 if test "x$BUILD" = "xdebug" ; then
44771 COND_BUILD_DEBUG
=""
44774 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
44775 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
44776 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
44779 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
44780 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
44781 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
44784 COND_BUILD_DEBUG_UNICODE_0
="#"
44785 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
44786 COND_BUILD_DEBUG_UNICODE_0
=""
44789 COND_BUILD_DEBUG_UNICODE_1
="#"
44790 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
44791 COND_BUILD_DEBUG_UNICODE_1
=""
44794 COND_BUILD_RELEASE
="#"
44795 if test "x$BUILD" = "xrelease" ; then
44796 COND_BUILD_RELEASE
=""
44799 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
44800 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
44801 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
44804 COND_BUILD_RELEASE_UNICODE_0
="#"
44805 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
44806 COND_BUILD_RELEASE_UNICODE_0
=""
44809 COND_BUILD_RELEASE_UNICODE_1
="#"
44810 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
44811 COND_BUILD_RELEASE_UNICODE_1
=""
44814 COND_DEBUG_FLAG_1
="#"
44815 if test "x$DEBUG_FLAG" = "x1" ; then
44816 COND_DEBUG_FLAG_1
=""
44819 COND_DEBUG_INFO_0
="#"
44820 if test "x$DEBUG_INFO" = "x0" ; then
44821 COND_DEBUG_INFO_0
=""
44824 COND_DEBUG_INFO_1
="#"
44825 if test "x$DEBUG_INFO" = "x1" ; then
44826 COND_DEBUG_INFO_1
=""
44829 COND_DEPS_TRACKING_0
="#"
44830 if test "x$DEPS_TRACKING" = "x0" ; then
44831 COND_DEPS_TRACKING_0
=""
44834 COND_DEPS_TRACKING_1
="#"
44835 if test "x$DEPS_TRACKING" = "x1" ; then
44836 COND_DEPS_TRACKING_1
=""
44840 if test "x$GCC_PCH" = "x1" ; then
44844 COND_MONOLITHIC_0
="#"
44845 if test "x$MONOLITHIC" = "x0" ; then
44846 COND_MONOLITHIC_0
=""
44849 COND_MONOLITHIC_0_SHARED_0
="#"
44850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
44851 COND_MONOLITHIC_0_SHARED_0
=""
44854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
44855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
44856 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
44859 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
44860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
44861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
44864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
44865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
44866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
44869 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
44870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
44871 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
44874 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
44875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
44876 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
44879 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
44880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
44881 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
44884 COND_MONOLITHIC_0_SHARED_1
="#"
44885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
44886 COND_MONOLITHIC_0_SHARED_1
=""
44889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
44890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
44891 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
44894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
44895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
44896 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
44899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
44900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
44901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
44904 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
44905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
44906 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
44909 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
44910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
44911 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
44914 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
44915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
44916 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
44919 COND_MONOLITHIC_0_USE_ODBC_1
="#"
44920 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
44921 COND_MONOLITHIC_0_USE_ODBC_1
=""
44924 COND_MONOLITHIC_1
="#"
44925 if test "x$MONOLITHIC" = "x1" ; then
44926 COND_MONOLITHIC_1
=""
44929 COND_MONOLITHIC_1_SHARED_0
="#"
44930 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
44931 COND_MONOLITHIC_1_SHARED_0
=""
44934 COND_MONOLITHIC_1_SHARED_1
="#"
44935 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
44936 COND_MONOLITHIC_1_SHARED_1
=""
44939 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
44940 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
44941 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
44944 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
44945 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
44946 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
44949 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
44950 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
44951 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
44954 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
44955 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
44956 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
44959 COND_PLATFORM_MACOSX_1
="#"
44960 if test "x$PLATFORM_MACOSX" = "x1" ; then
44961 COND_PLATFORM_MACOSX_1
=""
44964 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
44965 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
44966 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
44969 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
44970 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
44971 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
44974 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
44975 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
44976 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
44979 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
44980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
44981 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
44984 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
44985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
44986 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
44989 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
44990 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
44991 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
44994 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
44995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
44996 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
44999 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
45000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45001 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
45004 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
45005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45006 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
45009 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
45010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45011 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
45014 COND_PLATFORM_MACOS_1
="#"
45015 if test "x$PLATFORM_MACOS" = "x1" ; then
45016 COND_PLATFORM_MACOS_1
=""
45019 COND_PLATFORM_MAC_1
="#"
45020 if test "x$PLATFORM_MAC" = "x1" ; then
45021 COND_PLATFORM_MAC_1
=""
45024 COND_PLATFORM_MSDOS_1
="#"
45025 if test "x$PLATFORM_MSDOS" = "x1" ; then
45026 COND_PLATFORM_MSDOS_1
=""
45029 COND_PLATFORM_OS2_1
="#"
45030 if test "x$PLATFORM_OS2" = "x1" ; then
45031 COND_PLATFORM_OS2_1
=""
45034 COND_PLATFORM_UNIX_0
="#"
45035 if test "x$PLATFORM_UNIX" = "x0" ; then
45036 COND_PLATFORM_UNIX_0
=""
45039 COND_PLATFORM_UNIX_1
="#"
45040 if test "x$PLATFORM_UNIX" = "x1" ; then
45041 COND_PLATFORM_UNIX_1
=""
45044 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
45045 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45046 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
45049 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
45050 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45051 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
45054 COND_PLATFORM_WIN32_0
="#"
45055 if test "x$PLATFORM_WIN32" = "x0" ; then
45056 COND_PLATFORM_WIN32_0
=""
45059 COND_PLATFORM_WIN32_1
="#"
45060 if test "x$PLATFORM_WIN32" = "x1" ; then
45061 COND_PLATFORM_WIN32_1
=""
45065 if test "x$SHARED" = "x0" ; then
45069 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
45070 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45071 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
45074 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
45075 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45076 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
45079 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
45080 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45081 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
45084 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
45085 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45086 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
45089 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
45090 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45091 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
45094 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
45095 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45096 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
45099 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
45100 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45101 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
45104 COND_SHARED_0_USE_XRC_1
="#"
45105 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45106 COND_SHARED_0_USE_XRC_1
=""
45109 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
45110 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
45111 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
45114 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
45115 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
45116 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
45119 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
45120 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
45121 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
45124 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
45125 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
45126 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
45130 if test "x$SHARED" = "x1" ; then
45134 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
45135 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45136 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
45139 COND_SHARED_1_USE_XRC_1
="#"
45140 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45141 COND_SHARED_1_USE_XRC_1
=""
45145 if test "x$TOOLKIT" = "x" ; then
45149 COND_TOOLKIT_COCOA
="#"
45150 if test "x$TOOLKIT" = "xCOCOA" ; then
45151 COND_TOOLKIT_COCOA
=""
45154 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
45155 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
45156 COND_TOOLKIT_COCOA_USE_GUI_1
=""
45159 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
45160 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45161 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
45164 COND_TOOLKIT_GTK
="#"
45165 if test "x$TOOLKIT" = "xGTK" ; then
45166 COND_TOOLKIT_GTK
=""
45169 COND_TOOLKIT_GTK_USE_GUI_1
="#"
45170 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
45171 COND_TOOLKIT_GTK_USE_GUI_1
=""
45174 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
45175 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45176 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
45179 COND_TOOLKIT_MAC
="#"
45180 if test "x$TOOLKIT" = "xMAC" ; then
45181 COND_TOOLKIT_MAC
=""
45184 COND_TOOLKIT_MAC_USE_GUI_1
="#"
45185 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45186 COND_TOOLKIT_MAC_USE_GUI_1
=""
45189 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
45190 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45191 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
45194 COND_TOOLKIT_MGL
="#"
45195 if test "x$TOOLKIT" = "xMGL" ; then
45196 COND_TOOLKIT_MGL
=""
45199 COND_TOOLKIT_MGL_USE_GUI_1
="#"
45200 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
45201 COND_TOOLKIT_MGL_USE_GUI_1
=""
45204 COND_TOOLKIT_MOTIF
="#"
45205 if test "x$TOOLKIT" = "xMOTIF" ; then
45206 COND_TOOLKIT_MOTIF
=""
45209 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
45210 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
45211 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
45214 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
45215 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45216 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
45219 COND_TOOLKIT_MSW
="#"
45220 if test "x$TOOLKIT" = "xMSW" ; then
45221 COND_TOOLKIT_MSW
=""
45224 COND_TOOLKIT_MSW_USE_GUI_1
="#"
45225 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
45226 COND_TOOLKIT_MSW_USE_GUI_1
=""
45229 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
45230 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45231 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
45234 COND_TOOLKIT_PM
="#"
45235 if test "x$TOOLKIT" = "xPM" ; then
45239 COND_TOOLKIT_PM_USE_GUI_1
="#"
45240 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
45241 COND_TOOLKIT_PM_USE_GUI_1
=""
45244 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
45245 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45246 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
45249 COND_TOOLKIT_WINCE
="#"
45250 if test "x$TOOLKIT" = "xWINCE" ; then
45251 COND_TOOLKIT_WINCE
=""
45254 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
45255 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
45256 COND_TOOLKIT_WINCE_USE_GUI_1
=""
45259 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
45260 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45261 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
45264 COND_TOOLKIT_X11
="#"
45265 if test "x$TOOLKIT" = "xX11" ; then
45266 COND_TOOLKIT_X11
=""
45269 COND_TOOLKIT_X11_USE_GUI_1
="#"
45270 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
45271 COND_TOOLKIT_X11_USE_GUI_1
=""
45275 if test "x$UNICODE" = "x1" ; then
45279 COND_USE_EXCEPTIONS_0
="#"
45280 if test "x$USE_EXCEPTIONS" = "x0" ; then
45281 COND_USE_EXCEPTIONS_0
=""
45284 COND_USE_EXCEPTIONS_1
="#"
45285 if test "x$USE_EXCEPTIONS" = "x1" ; then
45286 COND_USE_EXCEPTIONS_1
=""
45290 if test "x$USE_GUI" = "x0" ; then
45295 if test "x$USE_GUI" = "x1" ; then
45299 COND_USE_GUI_1_WXUNIV_0
="#"
45300 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45301 COND_USE_GUI_1_WXUNIV_0
=""
45304 COND_USE_GUI_1_WXUNIV_1
="#"
45305 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
45306 COND_USE_GUI_1_WXUNIV_1
=""
45309 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
45310 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45311 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
45314 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
45315 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45316 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
45319 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
45320 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45321 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
45324 COND_USE_ODBC_1
="#"
45325 if test "x$USE_ODBC" = "x1" ; then
45329 COND_USE_OPENGL_1
="#"
45330 if test "x$USE_OPENGL" = "x1" ; then
45331 COND_USE_OPENGL_1
=""
45334 COND_USE_PLUGINS_0
="#"
45335 if test "x$USE_PLUGINS" = "x0" ; then
45336 COND_USE_PLUGINS_0
=""
45339 COND_USE_RTTI_0
="#"
45340 if test "x$USE_RTTI" = "x0" ; then
45344 COND_USE_RTTI_1
="#"
45345 if test "x$USE_RTTI" = "x1" ; then
45349 COND_USE_SOSYMLINKS_1
="#"
45350 if test "x$USE_SOSYMLINKS" = "x1" ; then
45351 COND_USE_SOSYMLINKS_1
=""
45354 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
45355 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45356 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
45359 COND_USE_SOVERLINUX_1
="#"
45360 if test "x$USE_SOVERLINUX" = "x1" ; then
45361 COND_USE_SOVERLINUX_1
=""
45364 COND_USE_SOVERSION_0
="#"
45365 if test "x$USE_SOVERSION" = "x0" ; then
45366 COND_USE_SOVERSION_0
=""
45369 COND_USE_SOVERSOLARIS_1
="#"
45370 if test "x$USE_SOVERSOLARIS" = "x1" ; then
45371 COND_USE_SOVERSOLARIS_1
=""
45374 COND_USE_THREADS_0
="#"
45375 if test "x$USE_THREADS" = "x0" ; then
45376 COND_USE_THREADS_0
=""
45379 COND_USE_THREADS_1
="#"
45380 if test "x$USE_THREADS" = "x1" ; then
45381 COND_USE_THREADS_1
=""
45385 if test "x$USE_XRC" = "x1" ; then
45389 COND_WINDOWS_IMPLIB_1
="#"
45390 if test "x$WINDOWS_IMPLIB" = "x1" ; then
45391 COND_WINDOWS_IMPLIB_1
=""
45394 COND_WITH_PLUGIN_SDL_1
="#"
45395 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
45396 COND_WITH_PLUGIN_SDL_1
=""
45400 if test "x$WXUNIV" = "x0" ; then
45405 if test "x$WXUNIV" = "x1" ; then
45409 COND_WXUSE_EXPAT_BUILTIN
="#"
45410 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
45411 COND_WXUSE_EXPAT_BUILTIN
=""
45414 COND_WXUSE_LIBJPEG_BUILTIN
="#"
45415 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45416 COND_WXUSE_LIBJPEG_BUILTIN
=""
45419 COND_WXUSE_LIBPNG_BUILTIN
="#"
45420 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45421 COND_WXUSE_LIBPNG_BUILTIN
=""
45424 COND_WXUSE_LIBTIFF_BUILTIN
="#"
45425 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45426 COND_WXUSE_LIBTIFF_BUILTIN
=""
45429 COND_WXUSE_ODBC_BUILTIN
="#"
45430 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
45431 COND_WXUSE_ODBC_BUILTIN
=""
45434 COND_WXUSE_REGEX_BUILTIN
="#"
45435 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
45436 COND_WXUSE_REGEX_BUILTIN
=""
45439 COND_WXUSE_ZLIB_BUILTIN
="#"
45440 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
45441 COND_WXUSE_ZLIB_BUILTIN
=""
45446 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
45447 { { 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
45448 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;}
45449 { (exit 1); exit 1; }; }
45452 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
45453 { { 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
45454 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;}
45455 { (exit 1); exit 1; }; }
45459 if test "$wxUSE_SHARED" = "yes"; then
45461 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
45462 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
45465 *-pc-os2_emx | *-pc-os2-emx )
45466 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45467 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45468 cp -p ${srcdir}/src
/os
2/dllnames.sh .
45469 cp -p ${srcdir}/src
/os
2/dllar.sh .
45474 EXE_LINKER
="$CXX -o"
45477 if test "$wxUSE_OMF" = "yes"; then
45479 *-pc-os2_emx | *-pc-os2-emx )
45480 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
45481 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
45482 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
45487 GCC_PRAGMA_FLAGS
=""
45490 if test $GCC_PCH = 1 ; then
45491 PCH_FLAGS
="-DWX_PRECOMP"
45492 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
45494 if test "$GCC" = yes; then
45495 echo "$as_me:$LINENO: checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA" >&5
45496 echo $ECHO_N "checking if this GCC version is >= 4.0 and needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
45497 cat >conftest.
$ac_ext <<_ACEOF
45500 cat confdefs.h
>>conftest.
$ac_ext
45501 cat >>conftest.
$ac_ext <<_ACEOF
45502 /* end confdefs.h. */
45508 Not GCC 4.0 or greater
45515 rm -f conftest.
$ac_objext
45516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45517 (eval $ac_compile) 2>conftest.er1
45519 grep -v '^ *+' conftest.er1
>conftest.err
45521 cat conftest.err
>&5
45522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45523 (exit $ac_status); } &&
45524 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45526 (eval $ac_try) 2>&5
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); }; } &&
45530 { ac_try
='test -s conftest.$ac_objext'
45531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45532 (eval $ac_try) 2>&5
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); }; }; then
45536 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
45537 echo "$as_me:$LINENO: result: yes" >&5
45538 echo "${ECHO_T}yes" >&6
45540 echo "$as_me: failed program was:" >&5
45541 sed 's/^/| /' conftest.
$ac_ext >&5
45543 echo "$as_me:$LINENO: result: no" >&5
45544 echo "${ECHO_T}no" >&6
45547 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
45550 if test "$wxUSE_STL" = "yes" -o \
45551 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
45552 "$wxUSE_NO_RTTI" != "yes"; then
45553 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
45554 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
45555 cat >conftest.
$ac_ext <<_ACEOF
45558 cat confdefs.h
>>conftest.
$ac_ext
45559 cat >>conftest.
$ac_ext <<_ACEOF
45560 /* end confdefs.h. */
45565 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
45566 Not GCC 3.2 or greater
45573 rm -f conftest.
$ac_objext
45574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45575 (eval $ac_compile) 2>conftest.er1
45577 grep -v '^ *+' conftest.er1
>conftest.err
45579 cat conftest.err
>&5
45580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45581 (exit $ac_status); } &&
45582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45584 (eval $ac_try) 2>&5
45586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45587 (exit $ac_status); }; } &&
45588 { ac_try
='test -s conftest.$ac_objext'
45589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45590 (eval $ac_try) 2>&5
45592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45593 (exit $ac_status); }; }; then
45594 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
45595 echo "$as_me:$LINENO: result: yes" >&5
45596 echo "${ECHO_T}yes" >&6
45598 echo "$as_me: failed program was:" >&5
45599 sed 's/^/| /' conftest.
$ac_ext >&5
45601 echo "$as_me:$LINENO: result: no" >&5
45602 echo "${ECHO_T}no" >&6
45604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45607 *-pc-os2_emx | *-pc-os2-emx )
45608 if test "$wxUSE_STL" = "yes"; then
45609 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
45610 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
45611 cat >conftest.
$ac_ext <<_ACEOF
45614 cat confdefs.h
>>conftest.
$ac_ext
45615 cat >>conftest.
$ac_ext <<_ACEOF
45616 /* end confdefs.h. */
45621 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
45622 Not GCC 3.2 or greater
45629 rm -f conftest.
$ac_objext
45630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45631 (eval $ac_compile) 2>conftest.er1
45633 grep -v '^ *+' conftest.er1
>conftest.err
45635 cat conftest.err
>&5
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); } &&
45638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45640 (eval $ac_try) 2>&5
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); }; } &&
45644 { ac_try
='test -s conftest.$ac_objext'
45645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45646 (eval $ac_try) 2>&5
45648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45649 (exit $ac_status); }; }; then
45650 GCC_PRAGMA_FLAGS
="-DNO_GCC_PRAGMA"
45651 echo "$as_me:$LINENO: result: yes" >&5
45652 echo "${ECHO_T}yes" >&6
45654 echo "$as_me: failed program was:" >&5
45655 sed 's/^/| /' conftest.
$ac_ext >&5
45657 echo "$as_me:$LINENO: result: no" >&5
45658 echo "${ECHO_T}no" >&6
45660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
45669 CPPFLAGS
="$PCH_FLAGS $GCC_PRAGMA_FLAGS $CPPFLAGS"
45672 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
45736 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45737 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45738 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45739 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45740 echo $ECHO_N "(cached) $ECHO_C" >&6
45742 cat >conftest.
make <<\_ACEOF
45744 @
echo 'ac_maketemp="$(MAKE)"'
45746 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45747 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45748 if test -n "$ac_maketemp"; then
45749 eval ac_cv_prog_make_
${ac_make}_set
=yes
45751 eval ac_cv_prog_make_
${ac_make}_set
=no
45753 rm -f conftest.
make
45755 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45756 echo "$as_me:$LINENO: result: yes" >&5
45757 echo "${ECHO_T}yes" >&6
45760 echo "$as_me:$LINENO: result: no" >&5
45761 echo "${ECHO_T}no" >&6
45762 SET_MAKE
="MAKE=${MAKE-make}"
45767 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
45770 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
45773 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
45776 ac_config_files
="$ac_config_files version-script Makefile"
45779 ac_config_commands
="$ac_config_commands wx-config
45785 if test "$wxUSE_GUI" = "yes"; then
45786 SUBDIRS
="samples demos utils contrib"
45787 else SUBDIRS
="samples utils"
45792 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
45793 if test "${with_cppunit_prefix+set}" = set; then
45794 withval
="$with_cppunit_prefix"
45795 cppunit_config_prefix
="$withval"
45797 cppunit_config_prefix
=""
45800 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
45801 if test "${with_cppunit_exec_prefix+set}" = set; then
45802 withval
="$with_cppunit_exec_prefix"
45803 cppunit_config_exec_prefix
="$withval"
45805 cppunit_config_exec_prefix
=""
45808 if test x
$cppunit_config_exec_prefix != x
; then
45809 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
45810 if test x
${CPPUNIT_CONFIG+set} != xset
; then
45811 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
45814 if test x
$cppunit_config_prefix != x
; then
45815 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
45816 if test x
${CPPUNIT_CONFIG+set} != xset
; then
45817 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
45821 # Extract the first word of "cppunit-config", so it can be a program name with args.
45822 set dummy cppunit
-config; ac_word
=$2
45823 echo "$as_me:$LINENO: checking for $ac_word" >&5
45824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45825 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
45826 echo $ECHO_N "(cached) $ECHO_C" >&6
45828 case $CPPUNIT_CONFIG in
45830 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
45833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45834 for as_dir
in $PATH
45837 test -z "$as_dir" && as_dir
=.
45838 for ac_exec_ext
in '' $ac_executable_extensions; do
45839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45840 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45847 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
45851 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
45853 if test -n "$CPPUNIT_CONFIG"; then
45854 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
45855 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
45857 echo "$as_me:$LINENO: result: no" >&5
45858 echo "${ECHO_T}no" >&6
45861 cppunit_version_min
=1.8.0
45863 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
45864 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
45866 if test "$CPPUNIT_CONFIG" = "no" ; then
45869 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
45870 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
45871 cppunit_version
=`$CPPUNIT_CONFIG --version`
45873 cppunit_major_version
=`echo $cppunit_version | \
45874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45875 cppunit_minor_version
=`echo $cppunit_version | \
45876 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45877 cppunit_micro_version
=`echo $cppunit_version | \
45878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45880 cppunit_major_min
=`echo $cppunit_version_min | \
45881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45882 cppunit_minor_min
=`echo $cppunit_version_min | \
45883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45884 cppunit_micro_min
=`echo $cppunit_version_min | \
45885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45887 cppunit_version_proper
=`expr \
45888 $cppunit_major_version \> $cppunit_major_min \| \
45889 $cppunit_major_version \= $cppunit_major_min \& \
45890 $cppunit_minor_version \> $cppunit_minor_min \| \
45891 $cppunit_major_version \= $cppunit_major_min \& \
45892 $cppunit_minor_version \= $cppunit_minor_min \& \
45893 $cppunit_micro_version \>= $cppunit_micro_min `
45895 if test "$cppunit_version_proper" = "1" ; then
45896 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
45897 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
45899 echo "$as_me:$LINENO: result: no" >&5
45900 echo "${ECHO_T}no" >&6
45905 if test "x$no_cppunit" = x
; then
45906 SUBDIRS
="$SUBDIRS tests"
45917 for subdir
in `echo $SUBDIRS`; do
45918 if test -d ${srcdir}/${subdir} ; then
45919 if test "$wxUSE_GUI" = "yes"; then
45920 if test ${subdir} = "samples"; then
45921 makefiles
="samples/Makefile.in $makefiles"
45922 for sample
in `echo $SAMPLES_SUBDIRS`; do
45923 if test -d $srcdir/samples
/$sample; then
45924 makefiles
="samples/$sample/Makefile.in $makefiles"
45928 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
45929 eval "disabled=\$$disabled_var"
45930 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
45931 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
45933 else if test ${subdir} = "samples"; then
45934 makefiles
="samples/Makefile.in samples/console/Makefile.in"
45935 elif test ${subdir} = "utils"; then
45937 for util
in HelpGen tex2rtf
; do
45938 if test -d $srcdir/utils
/$util ; then
45939 makefiles
="utils/$util/Makefile.in \
45940 utils/$util/src/Makefile.in \
45944 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
45948 for mkin
in $makefiles ; do
45949 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
45950 ac_config_files
="$ac_config_files $mk"
45957 cat >confcache
<<\_ACEOF
45958 # This file is a shell script that caches the results of configure
45959 # tests run on this system so they can be shared between configure
45960 # scripts and configure runs, see configure's option --config-cache.
45961 # It is not useful on other systems. If it contains results you don't
45962 # want to keep, you may remove or edit it.
45964 # config.status only pays attention to the cache file if you give it
45965 # the --recheck option to rerun configure.
45967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
45968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
45969 # following values.
45973 # The following way of writing the cache mishandles newlines in values,
45974 # but we know of no workaround that is simple, portable, and efficient.
45975 # So, don't put newlines in cache variables' values.
45976 # Ultrix sh set writes to stderr and can't be redirected directly,
45977 # and sets the high bit in the cache file unless we assign to the vars.
45980 case `(ac_space=' '; set | grep ac_space) 2>&1` in
45982 # `set' does not quote correctly, so add quotes (double-quote
45983 # substitution turns \\\\ into \\, and sed turns \\ into \).
45986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
45989 # `set' quotes correctly as required by POSIX, so do not add quotes.
45991 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
45998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46000 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46002 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
46003 if test -w $cache_file; then
46004 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
46005 cat confcache
>$cache_file
46007 echo "not updating unwritable cache $cache_file"
46012 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
46013 # Let make expand exec_prefix.
46014 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
46016 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46017 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46018 # trailing colons and then remove the whole line if VPATH becomes empty
46019 # (actually we leave an empty line to preserve line numbers).
46020 if test "x$srcdir" = x.
; then
46021 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
46022 s/:*\$(srcdir):*/:/;
46023 s/:*\${srcdir}:*/:/;
46025 s/^\([^=]*=[ ]*\):*/\1/;
46031 DEFS
=-DHAVE_CONFIG_H
46035 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
46036 # 1. Remove the extension, and $U if already installed.
46037 ac_i
=`echo "$ac_i" |
46038 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
46040 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
46041 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
46043 LIBOBJS
=$ac_libobjs
46045 LTLIBOBJS
=$ac_ltlibobjs
46049 : ${CONFIG_STATUS=./config.status}
46050 ac_clean_files_save
=$ac_clean_files
46051 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
46052 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
46053 echo "$as_me: creating $CONFIG_STATUS" >&6;}
46054 cat >$CONFIG_STATUS <<_ACEOF
46056 # Generated by $as_me.
46057 # Run this file to recreate the current configuration.
46058 # Compiler output produced by configure, useful for debugging
46059 # configure, is in config.log if it exists.
46062 ac_cs_recheck=false
46064 SHELL=\${CONFIG_SHELL-$SHELL}
46067 cat >>$CONFIG_STATUS <<\_ACEOF
46068 ## --------------------- ##
46069 ## M4sh Initialization. ##
46070 ## --------------------- ##
46072 # Be Bourne compatible
46073 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
46076 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46077 # is contrary to our usage. Disable this feature.
46078 alias -g '${1+"$@"}'='"$@"'
46079 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
46082 DUALCASE
=1; export DUALCASE
# for MKS sh
46084 # Support unset when possible.
46085 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
46092 # Work around bugs in pre-3.0 UWIN ksh.
46093 $as_unset ENV MAIL MAILPATH
46100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46102 LC_TELEPHONE LC_TIME
46104 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46105 eval $as_var=C
; export $as_var
46111 # Required to use basename.
46112 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46118 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
46119 as_basename
=basename
46125 # Name of the executable.
46126 as_me
=`$as_basename "$0" ||
46127 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46128 X"$0" : 'X\(//\)$' \| \
46129 X"$0" : 'X\(/\)$' \| \
46130 . : '\(.\)' 2>/dev/null ||
46132 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
46133 /^X\/\(\/\/\)$/{ s//\1/; q; }
46134 /^X\/\(\/\).*/{ s//\1/; q; }
46138 # PATH needs CR, and LINENO needs CR and PATH.
46139 # Avoid depending upon Character Ranges.
46140 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
46141 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46142 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
46143 as_cr_digits
='0123456789'
46144 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46146 # The user is always right.
46147 if test "${PATH_SEPARATOR+set}" != set; then
46148 echo "#! /bin/sh" >conf$$.sh
46149 echo "exit 0" >>conf$$.sh
46151 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
46160 as_lineno_1
=$LINENO
46161 as_lineno_2
=$LINENO
46162 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
46163 test "x$as_lineno_1" != "x$as_lineno_2" &&
46164 test "x$as_lineno_3" = "x$as_lineno_2" || {
46165 # Find who we are. Look in the path if we contain no path at all
46168 *[\\/]* ) as_myself
=$0 ;;
46169 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46170 for as_dir
in $PATH
46173 test -z "$as_dir" && as_dir
=.
46174 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
46179 # We did not find ourselves, most probably we were run as `sh COMMAND'
46180 # in which case we are not to be found in the path.
46181 if test "x$as_myself" = x
; then
46184 if test ! -f "$as_myself"; then
46185 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46186 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46187 { (exit 1); exit 1; }; }
46189 case $CONFIG_SHELL in
46191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46192 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
46195 test -z "$as_dir" && as_dir
=.
46196 for as_base
in sh bash ksh sh5
; do
46199 if ("$as_dir/$as_base" -c '
46200 as_lineno_1=$LINENO
46201 as_lineno_2=$LINENO
46202 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46203 test "x$as_lineno_1" != "x$as_lineno_2" &&
46204 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
46205 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
46206 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
46207 CONFIG_SHELL
=$as_dir/$as_base
46208 export CONFIG_SHELL
46209 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46217 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46218 # uniformly replaced by the line number. The first 'sed' inserts a
46219 # line-number line before each line; the second 'sed' does the real
46220 # work. The second script uses 'N' to pair each line-number line
46221 # with the numbered line, and appends trailing '-' during
46222 # substitution so that $LINENO is not a special case at line end.
46223 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46224 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46225 sed '=' <$as_myself |
46230 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46233 s,^['$as_cr_digits']*\n,,
46234 ' >$as_me.lineno
&&
46235 chmod +x
$as_me.lineno
||
46236 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46237 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46238 { (exit 1); exit 1; }; }
46240 # Don't try to exec as it changes $[0], causing all sort of problems
46241 # (the dirname of $[0] is not the place where we might find the
46242 # original and so on. Autoconf is especially sensible to this).
46244 # Exit status is that of the last command.
46249 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46250 *c
*,-n*) ECHO_N
= ECHO_C
='
46252 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
46253 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
46256 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46262 rm -f conf$$ conf$$.exe conf$$.
file
46264 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
46265 # We could just check for DJGPP; but this test a) works b) is more generic
46266 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46267 if test -f conf$$.exe
; then
46268 # Don't use ln at all; we don't have any links
46273 elif ln conf$$.
file conf$$
2>/dev
/null
; then
46278 rm -f conf$$ conf$$.exe conf$$.
file
46280 if mkdir -p .
2>/dev
/null
; then
46283 test -d .
/-p && rmdir .
/-p
46287 as_executable_p
="test -f"
46289 # Sed expression to map a string onto a valid CPP name.
46290 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
46292 # Sed expression to map a string onto a valid variable name.
46293 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
46297 # We need space, tab and new line, in precisely that order.
46307 # Open the log real soon, to keep \$[0] and so on meaningful, and to
46308 # report actual input values of CONFIG_FILES etc. instead of their
46309 # values after options handling. Logging --version etc. is OK.
46313 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
46314 ## Running $as_me. ##
46319 This file was extended by wxWidgets $as_me 2.6.2, which was
46320 generated by GNU Autoconf 2.59. Invocation command line was
46322 CONFIG_FILES = $CONFIG_FILES
46323 CONFIG_HEADERS = $CONFIG_HEADERS
46324 CONFIG_LINKS = $CONFIG_LINKS
46325 CONFIG_COMMANDS = $CONFIG_COMMANDS
46329 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
46333 # Files that config.status was made for.
46334 if test -n "$ac_config_files"; then
46335 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
46338 if test -n "$ac_config_headers"; then
46339 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
46342 if test -n "$ac_config_links"; then
46343 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
46346 if test -n "$ac_config_commands"; then
46347 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
46350 cat >>$CONFIG_STATUS <<\_ACEOF
46353 \`$as_me' instantiates files from templates according to the
46354 current configuration.
46356 Usage: $0 [OPTIONS] [FILE]...
46358 -h, --help print this help, then exit
46359 -V, --version print version number, then exit
46360 -q, --quiet do not print progress messages
46361 -d, --debug don't remove temporary files
46362 --recheck update $as_me by reconfiguring in the same conditions
46363 --file=FILE[:TEMPLATE]
46364 instantiate the configuration file FILE
46365 --header=FILE[:TEMPLATE]
46366 instantiate the configuration header FILE
46368 Configuration files:
46371 Configuration headers:
46374 Configuration commands:
46377 Report bugs to <bug-autoconf@gnu.org>."
46380 cat >>$CONFIG_STATUS <<_ACEOF
46382 wxWidgets config.status 2.6.2
46383 configured by $0, generated by GNU Autoconf 2.59,
46384 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
46386 Copyright (C) 2003 Free Software Foundation, Inc.
46387 This config.status script is free software; the Free Software Foundation
46388 gives unlimited permission to copy, distribute and modify it."
46393 cat >>$CONFIG_STATUS <<\_ACEOF
46394 # If no file are specified by the user, then we need to provide default
46395 # value. By we need to know if files were specified by the user.
46401 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
46402 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
46410 *) # This is not an option, so the user has probably given explicit
46413 ac_need_defaults
=false
;;
46417 # Handling of the options.
46419 cat >>$CONFIG_STATUS <<\_ACEOF
46420 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
46422 --version | --vers* | -V )
46423 echo "$ac_cs_version"; exit 0 ;;
46425 # Conflict between --help and --header
46426 { { echo "$as_me:$LINENO: error: ambiguous option: $1
46427 Try \`$0 --help' for more information." >&5
46428 echo "$as_me: error: ambiguous option: $1
46429 Try \`$0 --help' for more information." >&2;}
46430 { (exit 1); exit 1; }; };;
46431 --help | --hel | -h )
46432 echo "$ac_cs_usage"; exit 0 ;;
46433 --debug | --d* | -d )
46435 --file | --fil | --fi | --f )
46437 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
46438 ac_need_defaults
=false
;;
46439 --header | --heade | --head | --hea )
46441 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
46442 ac_need_defaults
=false
;;
46443 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
46444 | -silent | --silent | --silen | --sile | --sil | --si | --s)
46447 # This is an error.
46448 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
46449 Try \`$0 --help' for more information." >&5
46450 echo "$as_me: error: unrecognized option: $1
46451 Try \`$0 --help' for more information." >&2;}
46452 { (exit 1); exit 1; }; } ;;
46454 *) ac_config_targets
="$ac_config_targets $1" ;;
46460 ac_configure_extra_args
=
46462 if $ac_cs_silent; then
46464 ac_configure_extra_args
="$ac_configure_extra_args --silent"
46468 cat >>$CONFIG_STATUS <<_ACEOF
46469 if \$ac_cs_recheck; then
46470 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
46471 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
46476 cat >>$CONFIG_STATUS <<_ACEOF
46478 # INIT-COMMANDS section.
46481 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46482 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46483 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46491 cat >>$CONFIG_STATUS <<\_ACEOF
46492 for ac_config_target
in $ac_config_targets
46494 case "$ac_config_target" in
46495 # Handling of arguments.
46496 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
46497 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
46498 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
46499 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
46500 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
46501 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
46502 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
46503 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
46504 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
46505 { (exit 1); exit 1; }; };;
46509 # If the user did not use the arguments to specify the items to instantiate,
46510 # then the envvar interface is used. Set only those that are not.
46511 # We use the long form for the default assignment because of an extremely
46512 # bizarre bug on SunOS 4.1.3.
46513 if $ac_need_defaults; then
46514 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
46515 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
46516 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
46519 # Have a temporary directory for convenience. Make it in the build tree
46520 # simply because there is no reason to put it here, and in addition,
46521 # creating and moving files from /tmp can sometimes cause problems.
46522 # Create a temporary directory, and hook for its removal unless debugging.
46525 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
46526 trap '{ (exit 1); exit 1; }' 1 2 13 15
46529 # Create a (secure) tmp directory for tmp files.
46532 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
46533 test -n "$tmp" && test -d "$tmp"
46536 tmp
=.
/confstat$$
-$RANDOM
46537 (umask 077 && mkdir $tmp)
46540 echo "$me: cannot create a temporary directory in ." >&2
46541 { (exit 1); exit 1; }
46546 cat >>$CONFIG_STATUS <<_ACEOF
46549 # CONFIG_FILES section.
46552 # No need to generate the scripts if there are no CONFIG_FILES.
46553 # This happens for instance when ./config.status config.h
46554 if test -n "\$CONFIG_FILES"; then
46555 # Protect against being on the right side of a sed subst in config.status.
46556 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
46557 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
46558 s,@SHELL@,$SHELL,;t t
46559 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
46560 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
46561 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
46562 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
46563 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
46564 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
46565 s,@exec_prefix@,$exec_prefix,;t t
46566 s,@prefix@,$prefix,;t t
46567 s,@program_transform_name@,$program_transform_name,;t t
46568 s,@bindir@,$bindir,;t t
46569 s,@sbindir@,$sbindir,;t t
46570 s,@libexecdir@,$libexecdir,;t t
46571 s,@datadir@,$datadir,;t t
46572 s,@sysconfdir@,$sysconfdir,;t t
46573 s,@sharedstatedir@,$sharedstatedir,;t t
46574 s,@localstatedir@,$localstatedir,;t t
46575 s,@libdir@,$libdir,;t t
46576 s,@includedir@,$includedir,;t t
46577 s,@oldincludedir@,$oldincludedir,;t t
46578 s,@infodir@,$infodir,;t t
46579 s,@mandir@,$mandir,;t t
46580 s,@build_alias@,$build_alias,;t t
46581 s,@host_alias@,$host_alias,;t t
46582 s,@target_alias@,$target_alias,;t t
46583 s,@DEFS@,$DEFS,;t t
46584 s,@ECHO_C@,$ECHO_C,;t t
46585 s,@ECHO_N@,$ECHO_N,;t t
46586 s,@ECHO_T@,$ECHO_T,;t t
46587 s,@LIBS@,$LIBS,;t t
46588 s,@build@,$build,;t t
46589 s,@build_cpu@,$build_cpu,;t t
46590 s,@build_vendor@,$build_vendor,;t t
46591 s,@build_os@,$build_os,;t t
46592 s,@host@,$host,;t t
46593 s,@host_cpu@,$host_cpu,;t t
46594 s,@host_vendor@,$host_vendor,;t t
46595 s,@host_os@,$host_os,;t t
46596 s,@target@,$target,;t t
46597 s,@target_cpu@,$target_cpu,;t t
46598 s,@target_vendor@,$target_vendor,;t t
46599 s,@target_os@,$target_os,;t t
46601 s,@CFLAGS@,$CFLAGS,;t t
46602 s,@LDFLAGS@,$LDFLAGS,;t t
46603 s,@CPPFLAGS@,$CPPFLAGS,;t t
46604 s,@ac_ct_CC@,$ac_ct_CC,;t t
46605 s,@EXEEXT@,$EXEEXT,;t t
46606 s,@OBJEXT@,$OBJEXT,;t t
46608 s,@EGREP@,$EGREP,;t t
46610 s,@CXXFLAGS@,$CXXFLAGS,;t t
46611 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
46612 s,@RANLIB@,$RANLIB,;t t
46613 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
46615 s,@ac_ct_AR@,$ac_ct_AR,;t t
46616 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
46617 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
46618 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
46619 s,@STRIP@,$STRIP,;t t
46620 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
46621 s,@RESCOMP@,$RESCOMP,;t t
46622 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
46623 s,@DLLTOOL@,$DLLTOOL,;t t
46624 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
46625 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
46626 s,@LN_S@,$LN_S,;t t
46627 s,@CXXCPP@,$CXXCPP,;t t
46628 s,@subdirs@,$subdirs,;t t
46629 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
46630 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
46631 s,@GTK_LIBS@,$GTK_LIBS,;t t
46632 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
46633 s,@X_CFLAGS@,$X_CFLAGS,;t t
46634 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
46635 s,@X_LIBS@,$X_LIBS,;t t
46636 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
46637 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
46638 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
46639 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
46640 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
46641 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
46642 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
46643 s,@DEREZ@,$DEREZ,;t t
46644 s,@SETFILE@,$SETFILE,;t t
46645 s,@LIBICONV@,$LIBICONV,;t t
46646 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
46647 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
46648 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
46649 s,@SDL_LIBS@,$SDL_LIBS,;t t
46650 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
46651 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
46652 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
46653 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
46654 s,@GST_INSPECT@,$GST_INSPECT,;t t
46655 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
46656 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
46657 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
46658 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
46659 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
46660 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
46661 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
46662 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
46663 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
46664 s,@VENDOR@,$VENDOR,;t t
46665 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
46666 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
46667 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
46668 s,@WXUNIV@,$WXUNIV,;t t
46669 s,@MONOLITHIC@,$MONOLITHIC,;t t
46670 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
46671 s,@EXTRALIBS@,$EXTRALIBS,;t t
46672 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
46673 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
46674 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
46675 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
46676 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
46677 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
46678 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
46679 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
46680 s,@UNICODE@,$UNICODE,;t t
46681 s,@BUILD@,$BUILD,;t t
46682 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
46683 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
46684 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
46685 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
46686 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
46687 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
46688 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
46689 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
46690 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
46691 s,@SET_MAKE@,$SET_MAKE,;t t
46692 s,@MAKE_SET@,$MAKE_SET,;t t
46694 s,@ac_ct_NM@,$ac_ct_NM,;t t
46695 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
46696 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
46697 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
46698 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
46699 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
46700 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
46701 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
46702 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
46703 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
46704 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
46705 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
46706 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
46707 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
46708 s,@LIBPREFIX@,$LIBPREFIX,;t t
46709 s,@LIBEXT@,$LIBEXT,;t t
46710 s,@DLLPREFIX@,$DLLPREFIX,;t t
46711 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
46712 s,@dlldir@,$dlldir,;t t
46713 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
46714 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
46715 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
46716 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
46717 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
46718 s,@PIC_FLAG@,$PIC_FLAG,;t t
46719 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
46720 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
46721 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
46722 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
46723 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
46724 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
46725 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
46726 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
46727 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
46728 s,@GCC_PCH@,$GCC_PCH,;t t
46729 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
46730 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
46731 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
46732 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
46733 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
46734 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
46735 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
46736 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
46737 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
46738 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
46739 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
46740 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
46741 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
46742 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
46743 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
46744 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
46745 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
46746 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
46747 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
46748 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
46749 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
46750 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
46751 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
46752 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
46753 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
46754 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
46755 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
46756 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
46757 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
46758 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
46759 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
46760 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
46761 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
46762 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
46763 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
46764 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
46765 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
46766 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
46767 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
46768 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
46769 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
46770 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
46771 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
46772 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
46773 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
46774 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
46775 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
46776 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
46777 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
46778 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
46779 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
46780 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
46781 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
46782 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
46783 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
46784 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
46785 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
46786 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
46787 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
46788 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
46789 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
46790 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
46791 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
46792 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
46793 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46794 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46795 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46796 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
46797 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
46798 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
46799 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
46800 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
46801 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
46802 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
46803 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
46804 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
46805 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
46806 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
46807 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
46808 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
46809 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
46810 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
46811 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
46812 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
46813 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
46814 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
46815 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
46816 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
46817 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
46818 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
46819 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
46820 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
46821 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
46822 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
46823 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
46824 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
46825 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
46826 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
46827 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
46828 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
46829 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
46830 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
46831 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
46832 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
46833 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
46834 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
46835 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
46836 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
46837 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46838 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46839 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46840 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
46841 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
46842 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
46843 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
46844 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
46845 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
46846 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
46847 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
46848 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
46849 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
46850 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
46851 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
46852 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
46853 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
46854 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
46855 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
46856 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
46857 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
46858 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
46859 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
46860 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
46861 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
46862 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
46863 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
46864 s,@SHARED@,$SHARED,;t t
46865 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
46866 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
46867 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
46868 s,@USE_GUI@,$USE_GUI,;t t
46869 s,@AFMINSTALL@,$AFMINSTALL,;t t
46870 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
46871 s,@TOOLKIT@,$TOOLKIT,;t t
46872 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
46873 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
46874 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
46875 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
46876 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
46877 s,@cross_compiling@,$cross_compiling,;t t
46878 s,@WIDGET_SET@,$WIDGET_SET,;t t
46879 s,@WX_RELEASE@,$WX_RELEASE,;t t
46880 s,@WX_VERSION@,$WX_VERSION,;t t
46881 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
46882 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
46883 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
46884 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
46885 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
46886 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
46887 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
46888 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
46889 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
46890 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
46891 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
46892 s,@EXE_LINKER@,$EXE_LINKER,;t t
46893 s,@GUIDIST@,$GUIDIST,;t t
46894 s,@DISTDIR@,$DISTDIR,;t t
46895 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
46896 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
46897 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
46898 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
46899 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
46900 s,@RESFLAGS@,$RESFLAGS,;t t
46901 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
46902 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
46903 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
46904 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
46905 s,@MACRESCOMP@,$MACRESCOMP,;t t
46906 s,@MACSETFILE@,$MACSETFILE,;t t
46907 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
46909 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
46910 s,@LIBOBJS@,$LIBOBJS,;t t
46911 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
46916 cat >>$CONFIG_STATUS <<\_ACEOF
46917 # Split the substitutions into bite-sized pieces for seds with
46918 # small command number limits, like on Digital OSF/1 and HP-UX.
46919 ac_max_sed_lines
=48
46920 ac_sed_frag
=1 # Number of current file.
46921 ac_beg
=1 # First line for current file.
46922 ac_end
=$ac_max_sed_lines # Line after last line for current file.
46925 while $ac_more_lines; do
46926 if test $ac_beg -gt 1; then
46927 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
46929 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
46931 if test ! -s $tmp/subs.frag
; then
46932 ac_more_lines
=false
46934 # The purpose of the label and of the branching condition is to
46935 # speed up the sed processing (if there are no `@' at all, there
46936 # is no need to browse any of the substitutions).
46937 # These are the two extra sed commands mentioned above.
46939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
46940 if test -z "$ac_sed_cmds"; then
46941 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
46943 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
46945 ac_sed_frag
=`expr $ac_sed_frag + 1`
46947 ac_end
=`expr $ac_end + $ac_max_sed_lines`
46950 if test -z "$ac_sed_cmds"; then
46953 fi # test -n "$CONFIG_FILES"
46956 cat >>$CONFIG_STATUS <<\_ACEOF
46957 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
46958 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46960 - | *:- | *:-:* ) # input from stdin
46962 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46963 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46964 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46965 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46966 * ) ac_file_in
=$ac_file.
in ;;
46969 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
46970 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
46971 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46972 X"$ac_file" : 'X\(//\)[^/]' \| \
46973 X"$ac_file" : 'X\(//\)$' \| \
46974 X"$ac_file" : 'X\(/\)' \| \
46975 . : '\(.\)' 2>/dev/null ||
46977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46978 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46979 /^X\(\/\/\)$/{ s//\1/; q; }
46980 /^X\(\/\).*/{ s//\1/; q; }
46982 { if $as_mkdir_p; then
46987 while test ! -d "$as_dir"; do
46988 as_dirs
="$as_dir $as_dirs"
46989 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46990 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46991 X"$as_dir" : 'X\(//\)[^/]' \| \
46992 X"$as_dir" : 'X\(//\)$' \| \
46993 X"$as_dir" : 'X\(/\)' \| \
46994 . : '\(.\)' 2>/dev/null ||
46996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46997 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46998 /^X\(\/\/\)$/{ s//\1/; q; }
46999 /^X\(\/\).*/{ s//\1/; q; }
47002 test ! -n "$as_dirs" || mkdir $as_dirs
47003 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47004 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47005 { (exit 1); exit 1; }; }; }
47009 if test "$ac_dir" != .
; then
47010 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47011 # A "../" for each directory in $ac_dir_suffix.
47012 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47014 ac_dir_suffix
= ac_top_builddir
=
47018 .
) # No --srcdir option. We are building in place.
47020 if test -z "$ac_top_builddir"; then
47023 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47025 [\\/]* | ?
:[\\/]* ) # Absolute path.
47026 ac_srcdir
=$srcdir$ac_dir_suffix;
47027 ac_top_srcdir
=$srcdir ;;
47028 *) # Relative path.
47029 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47030 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47033 # Do not use `cd foo && pwd` to compute absolute paths, because
47034 # the directories may not exist.
47036 .
) ac_abs_builddir
="$ac_dir";;
47039 .
) ac_abs_builddir
=`pwd`;;
47040 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47041 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47044 case $ac_abs_builddir in
47045 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47047 case ${ac_top_builddir}.
in
47048 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47049 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47050 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47053 case $ac_abs_builddir in
47054 .
) ac_abs_srcdir
=$ac_srcdir;;
47057 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47058 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47059 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47062 case $ac_abs_builddir in
47063 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47065 case $ac_top_srcdir in
47066 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47067 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47068 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47074 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
47075 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
47078 # Let's still pretend it is `configure' which instantiates (i.e., don't
47079 # use $as_me), people would be surprised to read:
47080 # /* config.h. Generated by config.status. */
47081 if test x
"$ac_file" = x
-; then
47084 configure_input
="$ac_file. "
47086 configure_input
=$configure_input"Generated from `echo $ac_file_in |
47087 sed 's,.*/,,'` by configure."
47089 # First look for the input files in the build tree, otherwise in the
47091 ac_file_inputs
=`IFS=:
47092 for f in $ac_file_in; do
47094 -) echo $tmp/stdin ;;
47096 # Absolute (can't be DOS-style, as IFS=:)
47097 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47098 echo "$as_me: error: cannot find input file: $f" >&2;}
47099 { (exit 1); exit 1; }; }
47102 if test -f "$f"; then
47105 elif test -f "$srcdir/$f"; then
47110 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47111 echo "$as_me: error: cannot find input file: $f" >&2;}
47112 { (exit 1); exit 1; }; }
47115 done` || { (exit 1); exit 1; }
47117 if test x
"$ac_file" != x
-; then
47118 { echo "$as_me:$LINENO: creating $ac_file" >&5
47119 echo "$as_me: creating $ac_file" >&6;}
47123 cat >>$CONFIG_STATUS <<_ACEOF
47127 cat >>$CONFIG_STATUS <<\_ACEOF
47129 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
47130 s
,@configure_input@
,$configure_input,;t t
47131 s
,@srcdir@
,$ac_srcdir,;t t
47132 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
47133 s
,@top_srcdir@
,$ac_top_srcdir,;t t
47134 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
47135 s
,@builddir@
,$ac_builddir,;t t
47136 s
,@abs_builddir@
,$ac_abs_builddir,;t t
47137 s
,@top_builddir@
,$ac_top_builddir,;t t
47138 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
47139 s
,@INSTALL@
,$ac_INSTALL,;t t
47140 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
47142 if test x"$ac_file" != x-; then
47143 mv $tmp/out $ac_file
47149 # Run the commands associated with the file.
47151 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
47152 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
47156 cat >>$CONFIG_STATUS <<\_ACEOF
47159 # CONFIG_HEADER section.
47162 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
47163 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47165 # ac_d sets the value in "#define NAME VALUE" lines.
47166 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47167 ac_dB
='[ ].*$,\1#\2'
47170 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47171 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47172 ac_uB
='$,\1#\2define\3'
47176 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
47177 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47179 - | *:- | *:-:* ) # input from stdin
47181 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47182 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47183 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47184 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47185 * ) ac_file_in
=$ac_file.
in ;;
47188 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47189 echo "$as_me: creating $ac_file" >&6;}
47191 # First look for the input files in the build tree, otherwise in the
47193 ac_file_inputs
=`IFS=:
47194 for f in $ac_file_in; do
47196 -) echo $tmp/stdin ;;
47198 # Absolute (can't be DOS-style, as IFS=:)
47199 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47200 echo "$as_me: error: cannot find input file: $f" >&2;}
47201 { (exit 1); exit 1; }; }
47202 # Do quote $f, to prevent DOS paths from being IFS'd.
47205 if test -f "$f"; then
47208 elif test -f "$srcdir/$f"; then
47213 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47214 echo "$as_me: error: cannot find input file: $f" >&2;}
47215 { (exit 1); exit 1; }; }
47218 done` || { (exit 1); exit 1; }
47219 # Remove the trailing spaces.
47220 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47224 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47225 # `conftest.undefs', that substitutes the proper values into
47226 # config.h.in to produce config.h. The first handles `#define'
47227 # templates, and the second `#undef' templates.
47228 # And first: Protect against being on the right side of a sed subst in
47229 # config.status. Protect against being in an unquoted here document
47230 # in config.status.
47231 rm -f conftest.defines conftest.undefs
47232 # Using a here document instead of a string reduces the quoting nightmare.
47233 # Putting comments in sed scripts is not portable.
47235 # `end' is used to avoid that the second main sed command (meant for
47236 # 0-ary CPP macros) applies to n-ary macro definitions.
47237 # See the Autoconf documentation for `clear'.
47238 cat >confdef2sed.
sed <<\_ACEOF
47243 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47245 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47248 # If some macros were called several times there might be several times
47249 # the same #defines, which is useless. Nevertheless, we may not want to
47250 # sort them, since we want the *last* AC-DEFINE to be honored.
47251 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47252 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47253 rm -f confdef2sed.sed
47255 # This sed command replaces #undef with comments. This is necessary, for
47256 # example, in the case of _POSIX_SOURCE, which is predefined and required
47257 # on some systems where configure will not decide to define it.
47258 cat >>conftest.undefs <<\_ACEOF
47259 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
47262 # Break up conftest.defines because some shells have a limit on the size
47263 # of here documents, and old seds have small limits too (100 cmds).
47264 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
47265 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
47266 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
47267 echo ' :' >>$CONFIG_STATUS
47268 rm -f conftest.tail
47269 while grep . conftest.defines >/dev/null
47271 # Write a limited-size here document to $tmp/defines.sed.
47272 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
47273 # Speed up: don't consider the non `#define' lines.
47274 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
47275 # Work around the forget-to-reset-the-flag bug.
47276 echo 't clr' >>$CONFIG_STATUS
47277 echo ': clr' >>$CONFIG_STATUS
47278 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
47280 sed -f $tmp/defines.sed $tmp/in >$tmp/out
47282 mv $tmp/out $tmp/in
47284 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
47285 rm -f conftest.defines
47286 mv conftest.
tail conftest.defines
47288 rm -f conftest.defines
47289 echo ' fi # grep' >>$CONFIG_STATUS
47290 echo >>$CONFIG_STATUS
47292 # Break up conftest.undefs because some shells have a limit on the size
47293 # of here documents, and old seds have small limits too (100 cmds).
47294 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
47295 rm -f conftest.
tail
47296 while grep . conftest.undefs
>/dev
/null
47298 # Write a limited-size here document to $tmp/undefs.sed.
47299 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
47300 # Speed up: don't consider the non
`#undef'
47301 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
47302 # Work around the forget-to-reset-the-flag bug.
47303 echo 't clr' >>$CONFIG_STATUS
47304 echo ': clr' >>$CONFIG_STATUS
47305 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
47307 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
47309 mv $tmp/out $tmp/in
47311 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
47312 rm -f conftest.undefs
47313 mv conftest.tail conftest.undefs
47315 rm -f conftest.undefs
47317 cat >>$CONFIG_STATUS <<\_ACEOF
47318 # Let's still pretend it is `configure
' which instantiates (i.e., don't
47319 # use $as_me), people would be surprised to read:
47320 # /* config.h. Generated by config.status. */
47321 if test x
"$ac_file" = x
-; then
47322 echo "/* Generated by configure. */" >$tmp/config.h
47324 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
47326 cat $tmp/in >>$tmp/config.h
47328 if test x
"$ac_file" != x
-; then
47329 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
47330 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
47331 echo "$as_me: $ac_file is unchanged" >&6;}
47333 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
47334 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47335 X"$ac_file" : 'X\(//\)[^/]' \| \
47336 X"$ac_file" : 'X\(//\)$' \| \
47337 X"$ac_file" : 'X\(/\)' \| \
47338 . : '\(.\)' 2>/dev/null ||
47340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47341 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47342 /^X\(\/\/\)$/{ s//\1/; q; }
47343 /^X\(\/\).*/{ s//\1/; q; }
47345 { if $as_mkdir_p; then
47350 while test ! -d "$as_dir"; do
47351 as_dirs
="$as_dir $as_dirs"
47352 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47353 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47354 X"$as_dir" : 'X\(//\)[^/]' \| \
47355 X"$as_dir" : 'X\(//\)$' \| \
47356 X"$as_dir" : 'X\(/\)' \| \
47357 . : '\(.\)' 2>/dev/null ||
47359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47360 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47361 /^X\(\/\/\)$/{ s//\1/; q; }
47362 /^X\(\/\).*/{ s//\1/; q; }
47365 test ! -n "$as_dirs" || mkdir $as_dirs
47366 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47367 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47368 { (exit 1); exit 1; }; }; }
47371 mv $tmp/config.h
$ac_file
47375 rm -f $tmp/config.h
47379 cat >>$CONFIG_STATUS <<\_ACEOF
47382 # CONFIG_COMMANDS section.
47384 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
47385 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
47386 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47387 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
47388 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47389 X"$ac_dest" : 'X\(//\)[^/]' \| \
47390 X"$ac_dest" : 'X\(//\)$' \| \
47391 X"$ac_dest" : 'X\(/\)' \| \
47392 . : '\(.\)' 2>/dev/null ||
47394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47395 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47396 /^X\(\/\/\)$/{ s//\1/; q; }
47397 /^X\(\/\).*/{ s//\1/; q; }
47399 { if $as_mkdir_p; then
47404 while test ! -d "$as_dir"; do
47405 as_dirs
="$as_dir $as_dirs"
47406 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47407 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47408 X"$as_dir" : 'X\(//\)[^/]' \| \
47409 X"$as_dir" : 'X\(//\)$' \| \
47410 X"$as_dir" : 'X\(/\)' \| \
47411 . : '\(.\)' 2>/dev/null ||
47413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47414 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47415 /^X\(\/\/\)$/{ s//\1/; q; }
47416 /^X\(\/\).*/{ s//\1/; q; }
47419 test ! -n "$as_dirs" || mkdir $as_dirs
47420 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47421 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47422 { (exit 1); exit 1; }; }; }
47426 if test "$ac_dir" != .
; then
47427 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47428 # A "../" for each directory in $ac_dir_suffix.
47429 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47431 ac_dir_suffix
= ac_top_builddir
=
47435 .
) # No --srcdir option. We are building in place.
47437 if test -z "$ac_top_builddir"; then
47440 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47442 [\\/]* | ?
:[\\/]* ) # Absolute path.
47443 ac_srcdir
=$srcdir$ac_dir_suffix;
47444 ac_top_srcdir
=$srcdir ;;
47445 *) # Relative path.
47446 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47447 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47450 # Do not use `cd foo && pwd` to compute absolute paths, because
47451 # the directories may not exist.
47453 .
) ac_abs_builddir
="$ac_dir";;
47456 .
) ac_abs_builddir
=`pwd`;;
47457 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47458 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47461 case $ac_abs_builddir in
47462 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47464 case ${ac_top_builddir}.
in
47465 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47466 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47467 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47470 case $ac_abs_builddir in
47471 .
) ac_abs_srcdir
=$ac_srcdir;;
47474 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47475 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47476 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47479 case $ac_abs_builddir in
47480 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47482 case $ac_top_srcdir in
47483 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47484 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47485 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47490 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
47491 echo "$as_me: executing $ac_dest commands" >&6;}
47493 wx
-config ) rm -f wx
-config
47494 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
47500 cat >>$CONFIG_STATUS <<\_ACEOF
47502 { (exit 0); exit 0; }
47504 chmod +x
$CONFIG_STATUS
47505 ac_clean_files
=$ac_clean_files_save
47508 # configure is writing to config.log, and then calls config.status.
47509 # config.status does its own redirection, appending to config.log.
47510 # Unfortunately, on DOS this fails, as config.log is still kept open
47511 # by configure, so config.status won't be able to write to it; its
47512 # output is simply discarded. So we exec the FD to /dev/null,
47513 # effectively closing config.log, so it can be properly (re)opened and
47514 # appended to by config.status. When coming back to configure, we
47515 # need to make the FD available again.
47516 if test "$no_create" != yes; then
47518 ac_config_status_args
=
47519 test "$silent" = yes &&
47520 ac_config_status_args
="$ac_config_status_args --quiet"
47522 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
47524 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
47525 # would make configure fail if this is the last instruction.
47526 $ac_cs_success || { (exit 1); exit 1; }
47530 # CONFIG_SUBDIRS section.
47532 if test "$no_recursion" != yes; then
47534 # Remove --cache-file and --srcdir arguments so they do not pile up.
47535 ac_sub_configure_args
=
47537 for ac_arg
in $ac_configure_args; do
47538 if test -n "$ac_prev"; then
47543 -cache-file | --cache-file | --cache-fil | --cache-fi \
47544 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
47545 ac_prev
=cache_file
;;
47546 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
47547 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
47550 --config-cache | -C)
47552 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
47554 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
47556 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
47558 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
47560 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
47564 # Always prepend --prefix to ensure using the same prefix
47565 # in subdir configurations.
47566 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
47569 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
47571 # Do not complain, so a configure script can configure whichever
47572 # parts of a large source tree are present.
47573 test -d $srcdir/$ac_dir || continue
47575 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
47576 echo "$as_me: configuring in $ac_dir" >&6;}
47577 { if $as_mkdir_p; then
47582 while test ! -d "$as_dir"; do
47583 as_dirs
="$as_dir $as_dirs"
47584 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47586 X"$as_dir" : 'X\(//\)[^/]' \| \
47587 X"$as_dir" : 'X\(//\)$' \| \
47588 X"$as_dir" : 'X\(/\)' \| \
47589 . : '\(.\)' 2>/dev/null ||
47591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47593 /^X\(\/\/\)$/{ s//\1/; q; }
47594 /^X\(\/\).*/{ s//\1/; q; }
47597 test ! -n "$as_dirs" || mkdir $as_dirs
47598 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47599 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47600 { (exit 1); exit 1; }; }; }
47604 if test "$ac_dir" != .
; then
47605 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47606 # A "../" for each directory in $ac_dir_suffix.
47607 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47609 ac_dir_suffix
= ac_top_builddir
=
47613 .
) # No --srcdir option. We are building in place.
47615 if test -z "$ac_top_builddir"; then
47618 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47620 [\\/]* | ?
:[\\/]* ) # Absolute path.
47621 ac_srcdir
=$srcdir$ac_dir_suffix;
47622 ac_top_srcdir
=$srcdir ;;
47623 *) # Relative path.
47624 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47625 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47628 # Do not use `cd foo && pwd` to compute absolute paths, because
47629 # the directories may not exist.
47631 .
) ac_abs_builddir
="$ac_dir";;
47634 .
) ac_abs_builddir
=`pwd`;;
47635 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47636 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47639 case $ac_abs_builddir in
47640 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47642 case ${ac_top_builddir}.
in
47643 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47644 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47645 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47648 case $ac_abs_builddir in
47649 .
) ac_abs_srcdir
=$ac_srcdir;;
47652 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47653 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47654 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47657 case $ac_abs_builddir in
47658 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47660 case $ac_top_srcdir in
47661 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47662 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47663 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47670 # Check for guested configure; otherwise get Cygnus style configure.
47671 if test -f $ac_srcdir/configure.gnu
; then
47672 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
47673 elif test -f $ac_srcdir/configure
; then
47674 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
47675 elif test -f $ac_srcdir/configure.
in; then
47676 ac_sub_configure
=$ac_configure
47678 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
47679 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
47683 # The recursion is here.
47684 if test -n "$ac_sub_configure"; then
47685 # Make the cache file name correct relative to the subdirectory.
47686 case $cache_file in
47687 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
47688 *) # Relative path.
47689 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
47692 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
47693 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
47694 # The eval makes quoting arguments work.
47695 eval $ac_sub_configure $ac_sub_configure_args \
47696 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
47697 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
47698 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
47699 { (exit 1); exit 1; }; }
47708 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
47710 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
47711 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
47713 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
47714 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
47715 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
47717 echo " What level of wxWidgets compatibility should be enabled?"
47718 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
47719 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
47721 echo " Which libraries should wxWidgets use?"
47722 echo " jpeg ${wxUSE_LIBJPEG-none}"
47723 echo " png ${wxUSE_LIBPNG-none}"
47724 echo " regex ${wxUSE_REGEX}"
47725 echo " tiff ${wxUSE_LIBTIFF-none}"
47726 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
47727 echo " xpm ${wxUSE_LIBXPM-none}"
47729 echo " zlib ${wxUSE_ZLIB}"
47730 echo " odbc ${wxUSE_ODBC}"
47731 echo " expat ${wxUSE_EXPAT}"
47732 echo " libmspack ${wxUSE_LIBMSPACK}"
47733 echo " sdl ${wxUSE_LIBSDL}"
47734 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"