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
11650 ac_cpp
='$CPP $CPPFLAGS'
11651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11655 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11656 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11657 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11660 cat >conftest.
$ac_ext <<_ACEOF
11663 cat confdefs.h
>>conftest.
$ac_ext
11664 cat >>conftest.
$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11671 #ifndef __INTEL_COMPILER
11679 rm -f conftest.
$ac_objext
11680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11681 (eval $ac_compile) 2>conftest.er1
11683 grep -v '^ *+' conftest.er1
>conftest.err
11685 cat conftest.err
>&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); } &&
11688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11690 (eval $ac_try) 2>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); }; } &&
11694 { ac_try
='test -s conftest.$ac_objext'
11695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11696 (eval $ac_try) 2>&5
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); }; }; then
11700 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
11702 echo "$as_me: failed program was:" >&5
11703 sed 's/^/| /' conftest.
$ac_ext >&5
11705 bakefile_cv_c_compiler___INTEL_COMPILER
=no
11708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11712 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11713 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11715 ac_cpp
='$CPP $CPPFLAGS'
11716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11720 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11727 if test "x$GCC" != "xyes"; then
11728 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11729 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11730 if test "${wx_cv_c_exto+set}" = set; then
11731 echo $ECHO_N "(cached) $ECHO_C" >&6
11733 cat >conftest.
$ac_ext <<_ACEOF
11736 cat confdefs.h
>>conftest.
$ac_ext
11737 cat >>conftest.
$ac_ext <<_ACEOF
11738 /* end confdefs.h. */
11748 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11750 (eval $ac_compile) 2>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; then
11754 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11756 conftest.
$ac_ext.o
)
11757 wx_cv_c_exto
="-ext o"
11764 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
11765 See \`config.log' for more details." >&5
11766 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
11767 See \`config.log' for more details." >&2;}
11768 { (exit 1); exit 1; }; }
11772 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
11775 echo "$as_me:$LINENO: result: $wx_cv_c_exto" >&5
11776 echo "${ECHO_T}$wx_cv_c_exto" >&6
11777 if test "x$wx_cv_c_exto" '!=' "x"; then
11778 if test "c" = "c"; then
11779 CFLAGS
="$wx_cv_c_exto $CFLAGS"
11781 if test "c" = "cxx"; then
11782 CXXFLAGS
="$wx_cv_c_exto $CXXFLAGS"
11786 if test "x$wx_cv_c_exto" '!=' "x"; then
11787 unset ac_cv_prog_cc_g
11788 ac_test_CFLAGS
=${CFLAGS+set}
11789 ac_save_CFLAGS
=$CFLAGS
11791 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11792 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11793 if test "${ac_cv_prog_cc_g+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11796 cat >conftest.
$ac_ext <<_ACEOF
11799 cat confdefs.h
>>conftest.
$ac_ext
11800 cat >>conftest.
$ac_ext <<_ACEOF
11801 /* end confdefs.h. */
11811 rm -f conftest.
$ac_objext
11812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11813 (eval $ac_compile) 2>conftest.er1
11815 grep -v '^ *+' conftest.er1
>conftest.err
11817 cat conftest.err
>&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); } &&
11820 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11822 (eval $ac_try) 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); }; } &&
11826 { ac_try
='test -s conftest.$ac_objext'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; }; then
11832 ac_cv_prog_cc_g
=yes
11834 echo "$as_me: failed program was:" >&5
11835 sed 's/^/| /' conftest.
$ac_ext >&5
11839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11841 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11843 if test "$ac_test_CFLAGS" = set; then
11844 CFLAGS
=$ac_save_CFLAGS
11845 elif test $ac_cv_prog_cc_g = yes; then
11846 if test "$GCC" = yes; then
11852 if test "$GCC" = yes; then
11860 ac_cpp
='$CPP $CPPFLAGS'
11861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11865 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
11866 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
11867 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
11868 echo $ECHO_N "(cached) $ECHO_C" >&6
11870 cat >conftest.
$ac_ext <<_ACEOF
11873 cat confdefs.h
>>conftest.
$ac_ext
11874 cat >>conftest.
$ac_ext <<_ACEOF
11875 /* end confdefs.h. */
11888 rm -f conftest.
$ac_objext
11889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11890 (eval $ac_compile) 2>conftest.er1
11892 grep -v '^ *+' conftest.er1
>conftest.err
11894 cat conftest.err
>&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); } &&
11897 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); }; } &&
11903 { ac_try
='test -s conftest.$ac_objext'
11904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11905 (eval $ac_try) 2>&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); }; }; then
11909 bakefile_compiler_mwerks
=yes
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.
$ac_ext >&5
11914 bakefile_compiler_mwerks
=no
11916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11917 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
11920 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
11921 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
11923 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
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
11932 ac_cpp
='$CPP $CPPFLAGS'
11933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11937 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
11938 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
11939 if test "${wx_cv_c_compiler_xlc+set}" = set; then
11940 echo $ECHO_N "(cached) $ECHO_C" >&6
11942 cat >conftest.
$ac_ext <<_ACEOF
11945 cat confdefs.h
>>conftest.
$ac_ext
11946 cat >>conftest.
$ac_ext <<_ACEOF
11947 /* end confdefs.h. */
11960 rm -f conftest.
$ac_objext
11961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11962 (eval $ac_compile) 2>conftest.er1
11964 grep -v '^ *+' conftest.er1
>conftest.err
11966 cat conftest.err
>&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } &&
11969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
11975 { ac_try
='test -s conftest.$ac_objext'
11976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11977 (eval $ac_try) 2>&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; }; then
11981 wx_compiler_xlc
=yes
11983 echo "$as_me: failed program was:" >&5
11984 sed 's/^/| /' conftest.
$ac_ext >&5
11988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11989 wx_cv_c_compiler_xlc
=$wx_compiler_xlc
11992 echo "$as_me:$LINENO: result: $wx_cv_c_compiler_xlc" >&5
11993 echo "${ECHO_T}$wx_cv_c_compiler_xlc" >&6
11995 XLCC
=`test $wx_cv_c_compiler_xlc = yes && echo yes`
11997 ac_cpp
='$CPP $CPPFLAGS'
11998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12006 ac_cpp
='$CPP $CPPFLAGS'
12007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12011 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12012 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12013 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12014 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 cat >conftest.
$ac_ext <<_ACEOF
12019 cat confdefs.h
>>conftest.
$ac_ext
12020 cat >>conftest.
$ac_ext <<_ACEOF
12021 /* end confdefs.h. */
12027 #ifndef _SGI_COMPILER_VERSION
12035 rm -f conftest.
$ac_objext
12036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12037 (eval $ac_compile) 2>conftest.er1
12039 grep -v '^ *+' conftest.er1
>conftest.err
12041 cat conftest.err
>&5
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 (exit $ac_status); } &&
12044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 (eval $ac_try) 2>&5
12048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); }; } &&
12050 { ac_try
='test -s conftest.$ac_objext'
12051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 (eval $ac_try) 2>&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); }; }; then
12056 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12058 echo "$as_me: failed program was:" >&5
12059 sed 's/^/| /' conftest.
$ac_ext >&5
12061 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12068 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12069 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12071 ac_cpp
='$CPP $CPPFLAGS'
12072 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12073 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12074 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12076 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12086 ac_cpp
='$CPP $CPPFLAGS'
12087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12091 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12092 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12093 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12094 echo $ECHO_N "(cached) $ECHO_C" >&6
12096 cat >conftest.
$ac_ext <<_ACEOF
12099 cat confdefs.h
>>conftest.
$ac_ext
12100 cat >>conftest.
$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12115 rm -f conftest.
$ac_objext
12116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12117 (eval $ac_compile) 2>conftest.er1
12119 grep -v '^ *+' conftest.er1
>conftest.err
12121 cat conftest.err
>&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } &&
12124 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12126 (eval $ac_try) 2>&5
12128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12129 (exit $ac_status); }; } &&
12130 { ac_try
='test -s conftest.$ac_objext'
12131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12132 (eval $ac_try) 2>&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); }; }; then
12136 bakefile_cv_c_compiler___SUNPRO_C
=yes
12138 echo "$as_me: failed program was:" >&5
12139 sed 's/^/| /' conftest.
$ac_ext >&5
12141 bakefile_cv_c_compiler___SUNPRO_C
=no
12144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12148 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12149 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12151 ac_cpp
='$CPP $CPPFLAGS'
12152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12156 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12167 ac_cpp
='$CPP $CPPFLAGS'
12168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12171 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12172 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12173 # On Suns, sometimes $CPP names a directory.
12174 if test -n "$CPP" && test -d "$CPP"; then
12177 if test -z "$CPP"; then
12178 if test "${ac_cv_prog_CPP+set}" = set; then
12179 echo $ECHO_N "(cached) $ECHO_C" >&6
12181 # Double quotes because CPP needs to be expanded
12182 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12184 ac_preproc_ok
=false
12185 for ac_c_preproc_warn_flag
in '' yes
12187 # Use a header file that comes with gcc, so configuring glibc
12188 # with a fresh cross-compiler works.
12189 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12190 # <limits.h> exists even on freestanding compilers.
12191 # On the NeXT, cc -E runs the code through the compiler's parser,
12192 # not just through cpp. "Syntax error" is here to catch this case.
12193 cat >conftest.
$ac_ext <<_ACEOF
12196 cat confdefs.h
>>conftest.
$ac_ext
12197 cat >>conftest.
$ac_ext <<_ACEOF
12198 /* end confdefs.h. */
12200 # include <limits.h>
12202 # include <assert.h>
12206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12207 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12209 grep -v '^ *+' conftest.er1
>conftest.err
12211 cat conftest.err
>&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } >/dev
/null
; then
12214 if test -s conftest.err
; then
12215 ac_cpp_err
=$ac_c_preproc_warn_flag
12216 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12223 if test -z "$ac_cpp_err"; then
12226 echo "$as_me: failed program was:" >&5
12227 sed 's/^/| /' conftest.
$ac_ext >&5
12229 # Broken: fails on valid input.
12232 rm -f conftest.err conftest.
$ac_ext
12234 # OK, works on sane cases. Now check whether non-existent headers
12235 # can be detected and how.
12236 cat >conftest.
$ac_ext <<_ACEOF
12239 cat confdefs.h
>>conftest.
$ac_ext
12240 cat >>conftest.
$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12242 #include <ac_nonexistent.h>
12244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12247 grep -v '^ *+' conftest.er1
>conftest.err
12249 cat conftest.err
>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); } >/dev
/null
; then
12252 if test -s conftest.err
; then
12253 ac_cpp_err
=$ac_c_preproc_warn_flag
12254 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12261 if test -z "$ac_cpp_err"; then
12262 # Broken: success on invalid input.
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.
$ac_ext >&5
12268 # Passes both tests.
12272 rm -f conftest.err conftest.
$ac_ext
12275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12276 rm -f conftest.err conftest.
$ac_ext
12277 if $ac_preproc_ok; then
12282 ac_cv_prog_CPP
=$CPP
12285 CPP
=$ac_cv_prog_CPP
12287 ac_cv_prog_CPP
=$CPP
12289 echo "$as_me:$LINENO: result: $CPP" >&5
12290 echo "${ECHO_T}$CPP" >&6
12291 ac_preproc_ok
=false
12292 for ac_c_preproc_warn_flag
in '' yes
12294 # Use a header file that comes with gcc, so configuring glibc
12295 # with a fresh cross-compiler works.
12296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12297 # <limits.h> exists even on freestanding compilers.
12298 # On the NeXT, cc -E runs the code through the compiler's parser,
12299 # not just through cpp. "Syntax error" is here to catch this case.
12300 cat >conftest.
$ac_ext <<_ACEOF
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12307 # include <limits.h>
12309 # include <assert.h>
12313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12314 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12316 grep -v '^ *+' conftest.er1
>conftest.err
12318 cat conftest.err
>&5
12319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12320 (exit $ac_status); } >/dev
/null
; then
12321 if test -s conftest.err
; then
12322 ac_cpp_err
=$ac_c_preproc_warn_flag
12323 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12330 if test -z "$ac_cpp_err"; then
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.
$ac_ext >&5
12336 # Broken: fails on valid input.
12339 rm -f conftest.err conftest.
$ac_ext
12341 # OK, works on sane cases. Now check whether non-existent headers
12342 # can be detected and how.
12343 cat >conftest.
$ac_ext <<_ACEOF
12346 cat confdefs.h
>>conftest.
$ac_ext
12347 cat >>conftest.
$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12349 #include <ac_nonexistent.h>
12351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12352 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12354 grep -v '^ *+' conftest.er1
>conftest.err
12356 cat conftest.err
>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } >/dev
/null
; then
12359 if test -s conftest.err
; then
12360 ac_cpp_err
=$ac_c_preproc_warn_flag
12361 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12368 if test -z "$ac_cpp_err"; then
12369 # Broken: success on invalid input.
12372 echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.
$ac_ext >&5
12375 # Passes both tests.
12379 rm -f conftest.err conftest.
$ac_ext
12382 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12383 rm -f conftest.err conftest.
$ac_ext
12384 if $ac_preproc_ok; then
12387 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12388 See \`config.log' for more details." >&5
12389 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12390 See \`config.log' for more details." >&2;}
12391 { (exit 1); exit 1; }; }
12395 ac_cpp
='$CPP $CPPFLAGS'
12396 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12397 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12398 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12401 echo "$as_me:$LINENO: checking for egrep" >&5
12402 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12403 if test "${ac_cv_prog_egrep+set}" = set; then
12404 echo $ECHO_N "(cached) $ECHO_C" >&6
12406 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12407 then ac_cv_prog_egrep
='grep -E'
12408 else ac_cv_prog_egrep
='egrep'
12411 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12412 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12413 EGREP
=$ac_cv_prog_egrep
12416 if test $ac_cv_c_compiler_gnu = yes; then
12417 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12418 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12419 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12420 echo $ECHO_N "(cached) $ECHO_C" >&6
12422 ac_pattern
="Autoconf.*'x'"
12423 cat >conftest.
$ac_ext <<_ACEOF
12426 cat confdefs.h
>>conftest.
$ac_ext
12427 cat >>conftest.
$ac_ext <<_ACEOF
12428 /* end confdefs.h. */
12432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12433 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12434 ac_cv_prog_gcc_traditional
=yes
12436 ac_cv_prog_gcc_traditional
=no
12441 if test $ac_cv_prog_gcc_traditional = no
; then
12442 cat >conftest.
$ac_ext <<_ACEOF
12445 cat confdefs.h
>>conftest.
$ac_ext
12446 cat >>conftest.
$ac_ext <<_ACEOF
12447 /* end confdefs.h. */
12448 #include <termio.h>
12451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12452 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12453 ac_cv_prog_gcc_traditional
=yes
12459 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12460 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12461 if test $ac_cv_prog_gcc_traditional = yes; then
12462 CC
="$CC -traditional"
12470 ac_cpp
='$CXXCPP $CPPFLAGS'
12471 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12472 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12473 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12476 CXXFLAGS
=${CXXFLAGS:=}
12480 ac_cpp
='$CXXCPP $CPPFLAGS'
12481 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12482 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12483 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12484 if test -n "$ac_tool_prefix"; then
12485 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12487 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12488 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12489 echo "$as_me:$LINENO: checking for $ac_word" >&5
12490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12491 if test "${ac_cv_prog_CXX+set}" = set; then
12492 echo $ECHO_N "(cached) $ECHO_C" >&6
12494 if test -n "$CXX"; then
12495 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
12497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12498 for as_dir
in $PATH
12501 test -z "$as_dir" && as_dir
=.
12502 for ac_exec_ext
in '' $ac_executable_extensions; do
12503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12504 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
12505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12513 CXX
=$ac_cv_prog_CXX
12514 if test -n "$CXX"; then
12515 echo "$as_me:$LINENO: result: $CXX" >&5
12516 echo "${ECHO_T}$CXX" >&6
12518 echo "$as_me:$LINENO: result: no" >&5
12519 echo "${ECHO_T}no" >&6
12522 test -n "$CXX" && break
12525 if test -z "$CXX"; then
12527 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12529 # Extract the first word of "$ac_prog", so it can be a program name with args.
12530 set dummy
$ac_prog; ac_word
=$2
12531 echo "$as_me:$LINENO: checking for $ac_word" >&5
12532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12533 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
12534 echo $ECHO_N "(cached) $ECHO_C" >&6
12536 if test -n "$ac_ct_CXX"; then
12537 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
12539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12540 for as_dir
in $PATH
12543 test -z "$as_dir" && as_dir
=.
12544 for ac_exec_ext
in '' $ac_executable_extensions; do
12545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12546 ac_cv_prog_ac_ct_CXX
="$ac_prog"
12547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12555 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
12556 if test -n "$ac_ct_CXX"; then
12557 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
12558 echo "${ECHO_T}$ac_ct_CXX" >&6
12560 echo "$as_me:$LINENO: result: no" >&5
12561 echo "${ECHO_T}no" >&6
12564 test -n "$ac_ct_CXX" && break
12566 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
12572 # Provide some information about the compiler.
12573 echo "$as_me:$LINENO:" \
12574 "checking for C++ compiler version" >&5
12575 ac_compiler
=`set X $ac_compile; echo $2`
12576 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12577 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }
12581 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12582 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); }
12586 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12587 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }
12592 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
12593 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
12594 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12597 cat >conftest.
$ac_ext <<_ACEOF
12600 cat confdefs.h
>>conftest.
$ac_ext
12601 cat >>conftest.
$ac_ext <<_ACEOF
12602 /* end confdefs.h. */
12615 rm -f conftest.
$ac_objext
12616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12617 (eval $ac_compile) 2>conftest.er1
12619 grep -v '^ *+' conftest.er1
>conftest.err
12621 cat conftest.err
>&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); } &&
12624 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; } &&
12630 { ac_try
='test -s conftest.$ac_objext'
12631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 (eval $ac_try) 2>&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); }; }; then
12636 ac_compiler_gnu
=yes
12638 echo "$as_me: failed program was:" >&5
12639 sed 's/^/| /' conftest.
$ac_ext >&5
12643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12644 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
12647 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
12648 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
12649 GXX
=`test $ac_compiler_gnu = yes && echo yes`
12650 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12651 ac_save_CXXFLAGS
=$CXXFLAGS
12653 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12654 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12655 if test "${ac_cv_prog_cxx_g+set}" = set; then
12656 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 cat >conftest.
$ac_ext <<_ACEOF
12661 cat confdefs.h
>>conftest.
$ac_ext
12662 cat >>conftest.
$ac_ext <<_ACEOF
12663 /* end confdefs.h. */
12673 rm -f conftest.
$ac_objext
12674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12675 (eval $ac_compile) 2>conftest.er1
12677 grep -v '^ *+' conftest.er1
>conftest.err
12679 cat conftest.err
>&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); } &&
12682 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684 (eval $ac_try) 2>&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); }; } &&
12688 { ac_try
='test -s conftest.$ac_objext'
12689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12690 (eval $ac_try) 2>&5
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); }; }; then
12694 ac_cv_prog_cxx_g
=yes
12696 echo "$as_me: failed program was:" >&5
12697 sed 's/^/| /' conftest.
$ac_ext >&5
12699 ac_cv_prog_cxx_g
=no
12701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12703 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
12704 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
12705 if test "$ac_test_CXXFLAGS" = set; then
12706 CXXFLAGS
=$ac_save_CXXFLAGS
12707 elif test $ac_cv_prog_cxx_g = yes; then
12708 if test "$GXX" = yes; then
12714 if test "$GXX" = yes; then
12720 for ac_declaration
in \
12722 'extern "C" void std::exit (int) throw (); using std::exit;' \
12723 'extern "C" void std::exit (int); using std::exit;' \
12724 'extern "C" void exit (int) throw ();' \
12725 'extern "C" void exit (int);' \
12728 cat >conftest.
$ac_ext <<_ACEOF
12731 cat confdefs.h
>>conftest.
$ac_ext
12732 cat >>conftest.
$ac_ext <<_ACEOF
12733 /* end confdefs.h. */
12735 #include <stdlib.h>
12744 rm -f conftest.
$ac_objext
12745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12746 (eval $ac_compile) 2>conftest.er1
12748 grep -v '^ *+' conftest.er1
>conftest.err
12750 cat conftest.err
>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); } &&
12753 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12755 (eval $ac_try) 2>&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; } &&
12759 { ac_try
='test -s conftest.$ac_objext'
12760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12761 (eval $ac_try) 2>&5
12763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764 (exit $ac_status); }; }; then
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.
$ac_ext >&5
12772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12773 cat >conftest.
$ac_ext <<_ACEOF
12776 cat confdefs.h
>>conftest.
$ac_ext
12777 cat >>conftest.
$ac_ext <<_ACEOF
12778 /* end confdefs.h. */
12788 rm -f conftest.
$ac_objext
12789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12790 (eval $ac_compile) 2>conftest.er1
12792 grep -v '^ *+' conftest.er1
>conftest.err
12794 cat conftest.err
>&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); } &&
12797 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12799 (eval $ac_try) 2>&5
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); }; } &&
12803 { ac_try
='test -s conftest.$ac_objext'
12804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12805 (eval $ac_try) 2>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); }; }; then
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.
$ac_ext >&5
12815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12818 if test -n "$ac_declaration"; then
12819 echo '#ifdef __cplusplus' >>confdefs.h
12820 echo $ac_declaration >>confdefs.h
12821 echo '#endif' >>confdefs.h
12825 ac_cpp
='$CXXCPP $CPPFLAGS'
12826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12833 ac_cpp
='$CXXCPP $CPPFLAGS'
12834 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12835 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12836 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12838 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
12839 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
12840 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
12841 echo $ECHO_N "(cached) $ECHO_C" >&6
12843 cat >conftest.
$ac_ext <<_ACEOF
12846 cat confdefs.h
>>conftest.
$ac_ext
12847 cat >>conftest.
$ac_ext <<_ACEOF
12848 /* end confdefs.h. */
12854 #ifndef __INTEL_COMPILER
12862 rm -f conftest.
$ac_objext
12863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12864 (eval $ac_compile) 2>conftest.er1
12866 grep -v '^ *+' conftest.er1
>conftest.err
12868 cat conftest.err
>&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); } &&
12871 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12873 (eval $ac_try) 2>&5
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); }; } &&
12877 { ac_try
='test -s conftest.$ac_objext'
12878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12879 (eval $ac_try) 2>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); }; }; then
12883 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
12885 echo "$as_me: failed program was:" >&5
12886 sed 's/^/| /' conftest.
$ac_ext >&5
12888 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
12891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12895 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
12896 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
12898 ac_cpp
='$CXXCPP $CPPFLAGS'
12899 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12900 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12901 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12903 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
12910 if test "x$GXX" != "xyes"; then
12911 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
12912 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
12913 if test "${wx_cv_cxx_exto+set}" = set; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12916 cat >conftest.
$ac_ext <<_ACEOF
12919 cat confdefs.h
>>conftest.
$ac_ext
12920 cat >>conftest.
$ac_ext <<_ACEOF
12921 /* end confdefs.h. */
12931 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
12932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12933 (eval $ac_compile) 2>&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; then
12937 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
12939 conftest.
$ac_ext.o
)
12940 wx_cv_cxx_exto
="-ext o"
12947 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12948 See \`config.log' for more details." >&5
12949 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12950 See \`config.log' for more details." >&2;}
12951 { (exit 1); exit 1; }; }
12955 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12958 echo "$as_me:$LINENO: result: $wx_cv_cxx_exto" >&5
12959 echo "${ECHO_T}$wx_cv_cxx_exto" >&6
12960 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12961 if test "cxx" = "c"; then
12962 CFLAGS
="$wx_cv_cxx_exto $CFLAGS"
12964 if test "cxx" = "cxx"; then
12965 CXXFLAGS
="$wx_cv_cxx_exto $CXXFLAGS"
12969 if test "x$wx_cv_cxx_exto" '!=' "x"; then
12970 unset ac_cv_prog_cxx_g
12971 ac_test_CXXFLAGS
=${CXXFLAGS+set}
12972 ac_save_CXXFLAGS
=$CXXFLAGS
12974 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
12975 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
12976 if test "${ac_cv_prog_cxx_g+set}" = set; then
12977 echo $ECHO_N "(cached) $ECHO_C" >&6
12979 cat >conftest.
$ac_ext <<_ACEOF
12982 cat confdefs.h
>>conftest.
$ac_ext
12983 cat >>conftest.
$ac_ext <<_ACEOF
12984 /* end confdefs.h. */
12994 rm -f conftest.
$ac_objext
12995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12996 (eval $ac_compile) 2>conftest.er1
12998 grep -v '^ *+' conftest.er1
>conftest.err
13000 cat conftest.err
>&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); } &&
13003 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; } &&
13009 { ac_try
='test -s conftest.$ac_objext'
13010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13011 (eval $ac_try) 2>&5
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; }; then
13015 ac_cv_prog_cxx_g
=yes
13017 echo "$as_me: failed program was:" >&5
13018 sed 's/^/| /' conftest.
$ac_ext >&5
13020 ac_cv_prog_cxx_g
=no
13022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13024 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13025 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13026 if test "$ac_test_CXXFLAGS" = set; then
13027 CXXFLAGS
=$ac_save_CXXFLAGS
13028 elif test $ac_cv_prog_cxx_g = yes; then
13029 if test "$GXX" = yes; then
13035 if test "$GXX" = yes; then
13043 ac_cpp
='$CXXCPP $CPPFLAGS'
13044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13048 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13049 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13050 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13051 echo $ECHO_N "(cached) $ECHO_C" >&6
13053 cat >conftest.
$ac_ext <<_ACEOF
13056 cat confdefs.h
>>conftest.
$ac_ext
13057 cat >>conftest.
$ac_ext <<_ACEOF
13058 /* end confdefs.h. */
13071 rm -f conftest.
$ac_objext
13072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13073 (eval $ac_compile) 2>conftest.er1
13075 grep -v '^ *+' conftest.er1
>conftest.err
13077 cat conftest.err
>&5
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); } &&
13080 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13082 (eval $ac_try) 2>&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); }; } &&
13086 { ac_try
='test -s conftest.$ac_objext'
13087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13088 (eval $ac_try) 2>&5
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); }; }; then
13092 bakefile_compiler_mwerks
=yes
13094 echo "$as_me: failed program was:" >&5
13095 sed 's/^/| /' conftest.
$ac_ext >&5
13097 bakefile_compiler_mwerks
=no
13099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13100 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13103 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13104 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13106 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13108 ac_cpp
='$CXXCPP $CPPFLAGS'
13109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13115 ac_cpp
='$CXXCPP $CPPFLAGS'
13116 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13117 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13118 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13120 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13121 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13122 if test "${wx_cv_cxx_compiler_xlc+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13125 cat >conftest.
$ac_ext <<_ACEOF
13128 cat confdefs.h
>>conftest.
$ac_ext
13129 cat >>conftest.
$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13143 rm -f conftest.
$ac_objext
13144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13145 (eval $ac_compile) 2>conftest.er1
13147 grep -v '^ *+' conftest.er1
>conftest.err
13149 cat conftest.err
>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); } &&
13152 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; } &&
13158 { ac_try
='test -s conftest.$ac_objext'
13159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13160 (eval $ac_try) 2>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); }; }; then
13164 wx_compiler_xlc
=yes
13166 echo "$as_me: failed program was:" >&5
13167 sed 's/^/| /' conftest.
$ac_ext >&5
13171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13172 wx_cv_cxx_compiler_xlc
=$wx_compiler_xlc
13175 echo "$as_me:$LINENO: result: $wx_cv_cxx_compiler_xlc" >&5
13176 echo "${ECHO_T}$wx_cv_cxx_compiler_xlc" >&6
13178 XLCXX
=`test $wx_cv_cxx_compiler_xlc = yes && echo yes`
13180 ac_cpp
='$CXXCPP $CPPFLAGS'
13181 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13182 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13183 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13189 ac_cpp
='$CXXCPP $CPPFLAGS'
13190 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13191 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13192 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13194 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13195 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13196 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13199 cat >conftest.
$ac_ext <<_ACEOF
13202 cat confdefs.h
>>conftest.
$ac_ext
13203 cat >>conftest.
$ac_ext <<_ACEOF
13204 /* end confdefs.h. */
13210 #ifndef _SGI_COMPILER_VERSION
13218 rm -f conftest.
$ac_objext
13219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13220 (eval $ac_compile) 2>conftest.er1
13222 grep -v '^ *+' conftest.er1
>conftest.err
13224 cat conftest.err
>&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); } &&
13227 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; } &&
13233 { ac_try
='test -s conftest.$ac_objext'
13234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13235 (eval $ac_try) 2>&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); }; }; then
13239 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13241 echo "$as_me: failed program was:" >&5
13242 sed 's/^/| /' conftest.
$ac_ext >&5
13244 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13251 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13252 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13254 ac_cpp
='$CXXCPP $CPPFLAGS'
13255 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13256 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13257 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13259 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13269 ac_cpp
='$CXXCPP $CPPFLAGS'
13270 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13271 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13272 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13274 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
13275 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
13276 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
13277 echo $ECHO_N "(cached) $ECHO_C" >&6
13279 cat >conftest.
$ac_ext <<_ACEOF
13282 cat confdefs.h
>>conftest.
$ac_ext
13283 cat >>conftest.
$ac_ext <<_ACEOF
13284 /* end confdefs.h. */
13290 #ifndef __SUNPRO_CC
13298 rm -f conftest.
$ac_objext
13299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13300 (eval $ac_compile) 2>conftest.er1
13302 grep -v '^ *+' conftest.er1
>conftest.err
13304 cat conftest.err
>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); } &&
13307 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13309 (eval $ac_try) 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; } &&
13313 { ac_try
='test -s conftest.$ac_objext'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; }; then
13319 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.
$ac_ext >&5
13324 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
13327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13331 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
13332 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
13334 ac_cpp
='$CXXCPP $CPPFLAGS'
13335 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13336 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13337 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13339 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
13350 ac_cpp
='$CPP $CPPFLAGS'
13351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13356 if test -n "$ac_tool_prefix"; then
13357 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
13358 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
13359 echo "$as_me:$LINENO: checking for $ac_word" >&5
13360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13361 if test "${ac_cv_prog_RANLIB+set}" = set; then
13362 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 if test -n "$RANLIB"; then
13365 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
13367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13368 for as_dir
in $PATH
13371 test -z "$as_dir" && as_dir
=.
13372 for ac_exec_ext
in '' $ac_executable_extensions; do
13373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13374 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
13375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13383 RANLIB
=$ac_cv_prog_RANLIB
13384 if test -n "$RANLIB"; then
13385 echo "$as_me:$LINENO: result: $RANLIB" >&5
13386 echo "${ECHO_T}$RANLIB" >&6
13388 echo "$as_me:$LINENO: result: no" >&5
13389 echo "${ECHO_T}no" >&6
13393 if test -z "$ac_cv_prog_RANLIB"; then
13394 ac_ct_RANLIB
=$RANLIB
13395 # Extract the first word of "ranlib", so it can be a program name with args.
13396 set dummy ranlib
; ac_word
=$2
13397 echo "$as_me:$LINENO: checking for $ac_word" >&5
13398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13399 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
13400 echo $ECHO_N "(cached) $ECHO_C" >&6
13402 if test -n "$ac_ct_RANLIB"; then
13403 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
13405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13406 for as_dir
in $PATH
13409 test -z "$as_dir" && as_dir
=.
13410 for ac_exec_ext
in '' $ac_executable_extensions; do
13411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13412 ac_cv_prog_ac_ct_RANLIB
="ranlib"
13413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13419 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
13422 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
13423 if test -n "$ac_ct_RANLIB"; then
13424 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
13425 echo "${ECHO_T}$ac_ct_RANLIB" >&6
13427 echo "$as_me:$LINENO: result: no" >&5
13428 echo "${ECHO_T}no" >&6
13431 RANLIB
=$ac_ct_RANLIB
13433 RANLIB
="$ac_cv_prog_RANLIB"
13437 if test -n "$ac_tool_prefix"; then
13438 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13439 set dummy
${ac_tool_prefix}ar; ac_word
=$2
13440 echo "$as_me:$LINENO: checking for $ac_word" >&5
13441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13442 if test "${ac_cv_prog_AR+set}" = set; then
13443 echo $ECHO_N "(cached) $ECHO_C" >&6
13445 if test -n "$AR"; then
13446 ac_cv_prog_AR
="$AR" # Let the user override the test.
13448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13449 for as_dir
in $PATH
13452 test -z "$as_dir" && as_dir
=.
13453 for ac_exec_ext
in '' $ac_executable_extensions; do
13454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13455 ac_cv_prog_AR
="${ac_tool_prefix}ar"
13456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13465 if test -n "$AR"; then
13466 echo "$as_me:$LINENO: result: $AR" >&5
13467 echo "${ECHO_T}$AR" >&6
13469 echo "$as_me:$LINENO: result: no" >&5
13470 echo "${ECHO_T}no" >&6
13474 if test -z "$ac_cv_prog_AR"; then
13476 # Extract the first word of "ar", so it can be a program name with args.
13477 set dummy
ar; ac_word
=$2
13478 echo "$as_me:$LINENO: checking for $ac_word" >&5
13479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13480 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 if test -n "$ac_ct_AR"; then
13484 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
13486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13487 for as_dir
in $PATH
13490 test -z "$as_dir" && as_dir
=.
13491 for ac_exec_ext
in '' $ac_executable_extensions; do
13492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13493 ac_cv_prog_ac_ct_AR
="ar"
13494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13502 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
13503 if test -n "$ac_ct_AR"; then
13504 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
13505 echo "${ECHO_T}$ac_ct_AR" >&6
13507 echo "$as_me:$LINENO: result: no" >&5
13508 echo "${ECHO_T}no" >&6
13513 AR
="$ac_cv_prog_AR"
13516 if test "x$AR" = "x" ; then
13517 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
13518 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
13519 { (exit 1); exit 1; }; }
13522 # Find a good install program. We prefer a C program (faster),
13523 # so one script is as good as another. But avoid the broken or
13524 # incompatible versions:
13525 # SysV /etc/install, /usr/sbin/install
13526 # SunOS /usr/etc/install
13527 # IRIX /sbin/install
13529 # AmigaOS /C/install, which installs bootblocks on floppy discs
13530 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
13531 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
13532 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
13533 # OS/2's system install, which has a completely different semantic
13534 # ./install, which can be erroneously created by make from ./install.sh.
13535 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
13536 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
13537 if test -z "$INSTALL"; then
13538 if test "${ac_cv_path_install+set}" = set; then
13539 echo $ECHO_N "(cached) $ECHO_C" >&6
13541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13542 for as_dir
in $PATH
13545 test -z "$as_dir" && as_dir
=.
13546 # Account for people who put trailing slashes in PATH elements.
13548 .
/ | .
// | /cC
/* | \
13549 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
13550 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
13553 # OSF1 and SCO ODT 3.0 have their own names for install.
13554 # Don't use installbsd from OSF since it installs stuff as root
13556 for ac_prog
in ginstall scoinst
install; do
13557 for ac_exec_ext
in '' $ac_executable_extensions; do
13558 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
13559 if test $ac_prog = install &&
13560 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13561 # AIX install. It has an incompatible calling convention.
13563 elif test $ac_prog = install &&
13564 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
13565 # program-specific install script used by HP pwplus--don't use.
13568 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
13580 if test "${ac_cv_path_install+set}" = set; then
13581 INSTALL
=$ac_cv_path_install
13583 # As a last resort, use the slow shell script. We don't cache a
13584 # path for INSTALL within a source directory, because that will
13585 # break other packages using the cache if that directory is
13586 # removed, or if the path is relative.
13587 INSTALL
=$ac_install_sh
13590 echo "$as_me:$LINENO: result: $INSTALL" >&5
13591 echo "${ECHO_T}$INSTALL" >&6
13593 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
13594 # It thinks the first close brace ends the variable substitution.
13595 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
13597 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
13599 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
13605 ?
:* ) # Drive letter, considered as absolute.
13608 INSTALL
=`pwd`/${INSTALL} ;;
13615 INSTALL_PROGRAM
="cp -fp"
13616 INSTALL_DATA
="cp -fp"
13622 if test -n "$ac_tool_prefix"; then
13623 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
13624 set dummy
${ac_tool_prefix}strip
; 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_STRIP+set}" = set; then
13628 echo $ECHO_N "(cached) $ECHO_C" >&6
13630 if test -n "$STRIP"; then
13631 ac_cv_prog_STRIP
="$STRIP" # 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_STRIP
="${ac_tool_prefix}strip"
13641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13649 STRIP
=$ac_cv_prog_STRIP
13650 if test -n "$STRIP"; then
13651 echo "$as_me:$LINENO: result: $STRIP" >&5
13652 echo "${ECHO_T}$STRIP" >&6
13654 echo "$as_me:$LINENO: result: no" >&5
13655 echo "${ECHO_T}no" >&6
13659 if test -z "$ac_cv_prog_STRIP"; then
13661 # Extract the first word of "strip", so it can be a program name with args.
13662 set dummy strip
; 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_STRIP+set}" = set; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 if test -n "$ac_ct_STRIP"; then
13669 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # 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_STRIP
="strip"
13679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13685 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
13688 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
13689 if test -n "$ac_ct_STRIP"; then
13690 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
13691 echo "${ECHO_T}$ac_ct_STRIP" >&6
13693 echo "$as_me:$LINENO: result: no" >&5
13694 echo "${ECHO_T}no" >&6
13699 STRIP
="$ac_cv_prog_STRIP"
13703 if test "$wxUSE_WINE" = "yes"; then
13704 if test -n "$ac_tool_prefix"; then
13705 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
13706 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
13707 echo "$as_me:$LINENO: checking for $ac_word" >&5
13708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13709 if test "${ac_cv_prog_RESCOMP+set}" = set; then
13710 echo $ECHO_N "(cached) $ECHO_C" >&6
13712 if test -n "$RESCOMP"; then
13713 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13716 for as_dir
in $PATH
13719 test -z "$as_dir" && as_dir
=.
13720 for ac_exec_ext
in '' $ac_executable_extensions; do
13721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13722 ac_cv_prog_RESCOMP
="${ac_tool_prefix}wrc"
13723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13731 RESCOMP
=$ac_cv_prog_RESCOMP
13732 if test -n "$RESCOMP"; then
13733 echo "$as_me:$LINENO: result: $RESCOMP" >&5
13734 echo "${ECHO_T}$RESCOMP" >&6
13736 echo "$as_me:$LINENO: result: no" >&5
13737 echo "${ECHO_T}no" >&6
13741 if test -z "$ac_cv_prog_RESCOMP"; then
13742 ac_ct_RESCOMP
=$RESCOMP
13743 # Extract the first word of "wrc", so it can be a program name with args.
13744 set dummy wrc
; ac_word
=$2
13745 echo "$as_me:$LINENO: checking for $ac_word" >&5
13746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13747 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 if test -n "$ac_ct_RESCOMP"; then
13751 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
13753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13754 for as_dir
in $PATH
13757 test -z "$as_dir" && as_dir
=.
13758 for ac_exec_ext
in '' $ac_executable_extensions; do
13759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13760 ac_cv_prog_ac_ct_RESCOMP
="wrc"
13761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13769 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
13770 if test -n "$ac_ct_RESCOMP"; then
13771 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
13772 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
13774 echo "$as_me:$LINENO: result: no" >&5
13775 echo "${ECHO_T}no" >&6
13778 RESCOMP
=$ac_ct_RESCOMP
13780 RESCOMP
="$ac_cv_prog_RESCOMP"
13785 *-*-cygwin* | *-*-mingw32* )
13786 if test -n "$ac_tool_prefix"; then
13787 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
13788 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
13789 echo "$as_me:$LINENO: checking for $ac_word" >&5
13790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13791 if test "${ac_cv_prog_RESCOMP+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13794 if test -n "$RESCOMP"; then
13795 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13798 for as_dir
in $PATH
13801 test -z "$as_dir" && as_dir
=.
13802 for ac_exec_ext
in '' $ac_executable_extensions; do
13803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13804 ac_cv_prog_RESCOMP
="${ac_tool_prefix}windres"
13805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13813 RESCOMP
=$ac_cv_prog_RESCOMP
13814 if test -n "$RESCOMP"; then
13815 echo "$as_me:$LINENO: result: $RESCOMP" >&5
13816 echo "${ECHO_T}$RESCOMP" >&6
13818 echo "$as_me:$LINENO: result: no" >&5
13819 echo "${ECHO_T}no" >&6
13823 if test -z "$ac_cv_prog_RESCOMP"; then
13824 ac_ct_RESCOMP
=$RESCOMP
13825 # Extract the first word of "windres", so it can be a program name with args.
13826 set dummy windres
; ac_word
=$2
13827 echo "$as_me:$LINENO: checking for $ac_word" >&5
13828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13829 if test "${ac_cv_prog_ac_ct_RESCOMP+set}" = set; then
13830 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 if test -n "$ac_ct_RESCOMP"; then
13833 ac_cv_prog_ac_ct_RESCOMP
="$ac_ct_RESCOMP" # Let the user override the test.
13835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13836 for as_dir
in $PATH
13839 test -z "$as_dir" && as_dir
=.
13840 for ac_exec_ext
in '' $ac_executable_extensions; do
13841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13842 ac_cv_prog_ac_ct_RESCOMP
="windres"
13843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13851 ac_ct_RESCOMP
=$ac_cv_prog_ac_ct_RESCOMP
13852 if test -n "$ac_ct_RESCOMP"; then
13853 echo "$as_me:$LINENO: result: $ac_ct_RESCOMP" >&5
13854 echo "${ECHO_T}$ac_ct_RESCOMP" >&6
13856 echo "$as_me:$LINENO: result: no" >&5
13857 echo "${ECHO_T}no" >&6
13860 RESCOMP
=$ac_ct_RESCOMP
13862 RESCOMP
="$ac_cv_prog_RESCOMP"
13865 if test -n "$ac_tool_prefix"; then
13866 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13867 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13868 echo "$as_me:$LINENO: checking for $ac_word" >&5
13869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13870 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13871 echo $ECHO_N "(cached) $ECHO_C" >&6
13873 if test -n "$DLLTOOL"; then
13874 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13877 for as_dir
in $PATH
13880 test -z "$as_dir" && as_dir
=.
13881 for ac_exec_ext
in '' $ac_executable_extensions; do
13882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13883 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13892 DLLTOOL
=$ac_cv_prog_DLLTOOL
13893 if test -n "$DLLTOOL"; then
13894 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13895 echo "${ECHO_T}$DLLTOOL" >&6
13897 echo "$as_me:$LINENO: result: no" >&5
13898 echo "${ECHO_T}no" >&6
13902 if test -z "$ac_cv_prog_DLLTOOL"; then
13903 ac_ct_DLLTOOL
=$DLLTOOL
13904 # Extract the first word of "dlltool", so it can be a program name with args.
13905 set dummy dlltool
; ac_word
=$2
13906 echo "$as_me:$LINENO: checking for $ac_word" >&5
13907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13908 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13909 echo $ECHO_N "(cached) $ECHO_C" >&6
13911 if test -n "$ac_ct_DLLTOOL"; then
13912 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13915 for as_dir
in $PATH
13918 test -z "$as_dir" && as_dir
=.
13919 for ac_exec_ext
in '' $ac_executable_extensions; do
13920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13921 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13930 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13931 if test -n "$ac_ct_DLLTOOL"; then
13932 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13933 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13935 echo "$as_me:$LINENO: result: no" >&5
13936 echo "${ECHO_T}no" >&6
13939 DLLTOOL
=$ac_ct_DLLTOOL
13941 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13948 echo "$as_me:$LINENO: checking if make is GNU make" >&5
13949 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
13950 if test "${wx_cv_prog_makeisgnu+set}" = set; then
13951 echo $ECHO_N "(cached) $ECHO_C" >&6
13954 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
13955 egrep -s GNU
> /dev
/null
); then
13956 wx_cv_prog_makeisgnu
="yes"
13958 wx_cv_prog_makeisgnu
="no"
13962 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
13963 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
13965 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
13973 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
13974 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
13975 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
13976 if test "${wx_cv_prog_makevpath+set}" = set; then
13977 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 cat - << EOF > confMake
13986 if test ! -d sub
; then
13989 echo dummy
> sub
/file
13990 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
13992 rm -f sub
/file check final_file confMake
13994 if test "$RESULT" = 0; then
13995 wx_cv_prog_makevpath
="yes"
13997 wx_cv_prog_makevpath
="no"
14001 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14002 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14004 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14005 { { echo "$as_me:$LINENO: error:
14006 You need a make-utility that is able to use the variable
14008 If your version of make does not support VPATH correctly,
14009 please install GNU-make (possibly as gmake), and start
14010 configure with the following command:
14011 export MAKE=gmake; ./configure for sh-type shells
14012 setenv MAKE gmake; ./configure for csh-type shells
14013 Also please do remember to use gmake in this case every time
14014 you are trying to compile.
14016 echo "$as_me: error:
14017 You need a make-utility that is able to use the variable
14019 If your version of make does not support VPATH correctly,
14020 please install GNU-make (possibly as gmake), and start
14021 configure with the following command:
14022 export MAKE=gmake; ./configure for sh-type shells
14023 setenv MAKE gmake; ./configure for csh-type shells
14024 Also please do remember to use gmake in this case every time
14025 you are trying to compile.
14027 { (exit 1); exit 1; }; }
14029 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14030 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14032 if test "$LN_S" = "ln -s"; then
14033 echo "$as_me:$LINENO: result: yes" >&5
14034 echo "${ECHO_T}yes" >&6
14036 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14037 echo "${ECHO_T}no, using $LN_S" >&6
14042 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14043 CXXFLAGS
="$CXXFLAGS -qunique"
14047 powerpc
-*-darwin* )
14048 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14049 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14050 cat >conftest.
$ac_ext <<_ACEOF
14053 cat confdefs.h
>>conftest.
$ac_ext
14054 cat >>conftest.
$ac_ext <<_ACEOF
14055 /* end confdefs.h. */
14060 #ifndef __POWERPC__
14061 choke me for lack of PowerPC
14068 rm -f conftest.
$ac_objext
14069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14070 (eval $ac_compile) 2>conftest.er1
14072 grep -v '^ *+' conftest.er1
>conftest.err
14074 cat conftest.err
>&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } &&
14077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14079 (eval $ac_try) 2>&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); }; } &&
14083 { ac_try
='test -s conftest.$ac_objext'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; }; then
14089 echo "$as_me:$LINENO: result: yes" >&5
14090 echo "${ECHO_T}yes" >&6
14092 echo "$as_me: failed program was:" >&5
14093 sed 's/^/| /' conftest.
$ac_ext >&5
14095 echo "$as_me:$LINENO: result: no" >&5
14096 echo "${ECHO_T}no" >&6
14097 cat >>confdefs.h
<<\_ACEOF
14098 #define __POWERPC__ 1
14103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14109 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14110 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14111 cat >conftest.
$ac_ext <<_ACEOF
14114 cat confdefs.h
>>conftest.
$ac_ext
14115 cat >>conftest.
$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14117 #include <CoreFoundation/CFBase.h>
14127 rm -f conftest.
$ac_objext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>conftest.er1
14131 grep -v '^ *+' conftest.er1
>conftest.err
14133 cat conftest.err
>&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); } &&
14136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14138 (eval $ac_try) 2>&5
14140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141 (exit $ac_status); }; } &&
14142 { ac_try
='test -s conftest.$ac_objext'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; }; then
14148 echo "$as_me:$LINENO: result: yes" >&5
14149 echo "${ECHO_T}yes" >&6
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.
$ac_ext >&5
14154 echo "$as_me:$LINENO: result: no" >&5
14155 echo "${ECHO_T}no" >&6
14156 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14157 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14158 cat >conftest.
$ac_ext <<_ACEOF
14161 cat confdefs.h
>>conftest.
$ac_ext
14162 cat >>conftest.
$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14164 #define __CF_USE_FRAMEWORK_INCLUDES__
14165 #include <CoreFoundation/CFBase.h>
14175 rm -f conftest.
$ac_objext
14176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14177 (eval $ac_compile) 2>conftest.er1
14179 grep -v '^ *+' conftest.er1
>conftest.err
14181 cat conftest.err
>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); } &&
14184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186 (eval $ac_try) 2>&5
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); }; } &&
14190 { ac_try
='test -s conftest.$ac_objext'
14191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192 (eval $ac_try) 2>&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); }; }; then
14196 echo "$as_me:$LINENO: result: yes" >&5
14197 echo "${ECHO_T}yes" >&6
14198 CPPFLAGS
="$CPPFLAGS -D__CF_USE_FRAMEWORK_INCLUDES__"
14200 echo "$as_me: failed program was:" >&5
14201 sed 's/^/| /' conftest.
$ac_ext >&5
14203 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
14204 See \`config.log' for more details." >&5
14205 echo "$as_me: error: no. CoreFoundation not available.
14206 See \`config.log' for more details." >&2;}
14207 { (exit 1); exit 1; }; }
14210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14219 *-pc-os2_emx | *-pc-os2-emx )
14220 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
14221 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
14222 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
14223 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 ac_check_lib_save_LIBS
=$LIBS
14227 LIBS
="-lcExt $LIBS"
14228 cat >conftest.
$ac_ext <<_ACEOF
14231 cat confdefs.h
>>conftest.
$ac_ext
14232 cat >>conftest.
$ac_ext <<_ACEOF
14233 /* end confdefs.h. */
14235 /* Override any gcc2 internal prototype to avoid an error. */
14239 /* We use char because int might match the return type of a gcc2
14240 builtin and then its argument prototype would still apply. */
14250 rm -f conftest.
$ac_objext conftest
$ac_exeext
14251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14252 (eval $ac_link) 2>conftest.er1
14254 grep -v '^ *+' conftest.er1
>conftest.err
14256 cat conftest.err
>&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); } &&
14259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14261 (eval $ac_try) 2>&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); }; } &&
14265 { ac_try
='test -s conftest$ac_exeext'
14266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14267 (eval $ac_try) 2>&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); }; }; then
14271 ac_cv_lib_cExt_drand48
=yes
14273 echo "$as_me: failed program was:" >&5
14274 sed 's/^/| /' conftest.
$ac_ext >&5
14276 ac_cv_lib_cExt_drand48
=no
14278 rm -f conftest.err conftest.
$ac_objext \
14279 conftest
$ac_exeext conftest.
$ac_ext
14280 LIBS
=$ac_check_lib_save_LIBS
14282 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
14283 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
14284 if test $ac_cv_lib_cExt_drand48 = yes; then
14285 LIBS
="$LIBS -lcExt"
14289 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
14291 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
14292 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
14293 if test "${wx_cv_gccversion+set}" = set; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14297 if test "$cross_compiling" = yes; then
14298 wx_cv_gccversion
="EMX2"
14301 cat >conftest.
$ac_ext <<_ACEOF
14304 cat confdefs.h
>>conftest.
$ac_ext
14305 cat >>conftest.
$ac_ext <<_ACEOF
14306 /* end confdefs.h. */
14312 FILE *f=fopen("conftestval", "w");
14317 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
14319 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
14329 rm -f conftest
$ac_exeext
14330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14331 (eval $ac_link) 2>&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14336 (eval $ac_try) 2>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }; }; then
14340 wx_cv_gccversion
=`cat conftestval`
14342 echo "$as_me: program exited with status $ac_status" >&5
14343 echo "$as_me: failed program was:" >&5
14344 sed 's/^/| /' conftest.
$ac_ext >&5
14346 ( exit $ac_status )
14347 wx_cv_gccversion
="EMX2"
14349 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14353 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
14354 echo "${ECHO_T}$wx_cv_gccversion" >&6
14355 if test "$wx_cv_gccversion" = "EMX2"; then
14356 LIBS
="$LIBS -lstdcpp"
14357 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14359 if test "$wx_cv_gccversion" = "EMX3"; then
14360 LIBS
="$LIBS -lstdcxx -lgcc"
14361 LDFLAGS
="$LDFLAGS -Zsysv-signals"
14363 LIBS
="$LIBS -lstdc++"
14366 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
14367 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
14368 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
14378 ac_cpp
='$CXXCPP $CPPFLAGS'
14379 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14380 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14381 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14384 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
14385 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
14386 if test "${ac_cv_string_strcasecmp+set}" = set; then
14387 echo $ECHO_N "(cached) $ECHO_C" >&6
14390 cat >conftest.
$ac_ext <<_ACEOF
14393 cat confdefs.h
>>conftest.
$ac_ext
14394 cat >>conftest.
$ac_ext <<_ACEOF
14395 /* end confdefs.h. */
14397 #include <string.h>
14403 strcasecmp("foo", "bar");
14409 rm -f conftest.
$ac_objext conftest
$ac_exeext
14410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14411 (eval $ac_link) 2>conftest.er1
14413 grep -v '^ *+' conftest.er1
>conftest.err
14415 cat conftest.err
>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); } &&
14418 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; } &&
14424 { ac_try
='test -s conftest$ac_exeext'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; }; then
14430 ac_cv_string_strcasecmp
=yes
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.
$ac_ext >&5
14435 ac_cv_string_strcasecmp
=no
14438 rm -f conftest.err conftest.
$ac_objext \
14439 conftest
$ac_exeext conftest.
$ac_ext
14442 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
14443 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
14445 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
14446 cat >>confdefs.h
<<\_ACEOF
14447 #define HAVE_STRCASECMP_IN_STRING_H 1
14451 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
14452 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
14453 if test "${ac_cv_strings_strcasecmp+set}" = set; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14457 cat >conftest.
$ac_ext <<_ACEOF
14460 cat confdefs.h
>>conftest.
$ac_ext
14461 cat >>conftest.
$ac_ext <<_ACEOF
14462 /* end confdefs.h. */
14464 #include <strings.h>
14470 strcasecmp("foo", "bar");
14476 rm -f conftest.
$ac_objext conftest
$ac_exeext
14477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14478 (eval $ac_link) 2>conftest.er1
14480 grep -v '^ *+' conftest.er1
>conftest.err
14482 cat conftest.err
>&5
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); } &&
14485 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; } &&
14491 { ac_try
='test -s conftest$ac_exeext'
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 (eval $ac_try) 2>&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; }; then
14497 ac_cv_strings_strcasecmp
=yes
14499 echo "$as_me: failed program was:" >&5
14500 sed 's/^/| /' conftest.
$ac_ext >&5
14502 ac_cv_strings_strcasecmp
=no
14505 rm -f conftest.err conftest.
$ac_objext \
14506 conftest
$ac_exeext conftest.
$ac_ext
14509 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
14510 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
14512 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
14513 cat >>confdefs.h
<<\_ACEOF
14514 #define HAVE_STRCASECMP_IN_STRINGS_H 1
14518 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
14519 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
14520 { (exit 1); exit 1; }; }
14525 ac_cpp
='$CPP $CPPFLAGS'
14526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14534 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14535 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14536 if test "${ac_cv_header_stdc+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14539 cat >conftest.
$ac_ext <<_ACEOF
14542 cat confdefs.h
>>conftest.
$ac_ext
14543 cat >>conftest.
$ac_ext <<_ACEOF
14544 /* end confdefs.h. */
14545 #include <stdlib.h>
14546 #include <stdarg.h>
14547 #include <string.h>
14558 rm -f conftest.
$ac_objext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14560 (eval $ac_compile) 2>conftest.er1
14562 grep -v '^ *+' conftest.er1
>conftest.err
14564 cat conftest.err
>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; } &&
14573 { ac_try
='test -s conftest.$ac_objext'
14574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14575 (eval $ac_try) 2>&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; }; then
14579 ac_cv_header_stdc
=yes
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.
$ac_ext >&5
14584 ac_cv_header_stdc
=no
14586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14588 if test $ac_cv_header_stdc = yes; then
14589 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14590 cat >conftest.
$ac_ext <<_ACEOF
14593 cat confdefs.h
>>conftest.
$ac_ext
14594 cat >>conftest.
$ac_ext <<_ACEOF
14595 /* end confdefs.h. */
14596 #include <string.h>
14599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14600 $EGREP "memchr" >/dev
/null
2>&1; then
14603 ac_cv_header_stdc
=no
14609 if test $ac_cv_header_stdc = yes; then
14610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14611 cat >conftest.
$ac_ext <<_ACEOF
14614 cat confdefs.h
>>conftest.
$ac_ext
14615 cat >>conftest.
$ac_ext <<_ACEOF
14616 /* end confdefs.h. */
14617 #include <stdlib.h>
14620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14621 $EGREP "free" >/dev
/null
2>&1; then
14624 ac_cv_header_stdc
=no
14630 if test $ac_cv_header_stdc = yes; then
14631 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14632 if test "$cross_compiling" = yes; then
14635 cat >conftest.
$ac_ext <<_ACEOF
14638 cat confdefs.h
>>conftest.
$ac_ext
14639 cat >>conftest.
$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14642 #if ((' ' & 0x0FF) == 0x020)
14643 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14644 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14646 # define ISLOWER(c) \
14647 (('a' <= (c) && (c) <= 'i') \
14648 || ('j' <= (c) && (c) <= 'r') \
14649 || ('s' <= (c) && (c) <= 'z'))
14650 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14653 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14658 for (i = 0; i < 256; i++)
14659 if (XOR (islower (i), ISLOWER (i))
14660 || toupper (i) != TOUPPER (i))
14665 rm -f conftest
$ac_exeext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14667 (eval $ac_link) 2>&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; }; then
14678 echo "$as_me: program exited with status $ac_status" >&5
14679 echo "$as_me: failed program was:" >&5
14680 sed 's/^/| /' conftest.
$ac_ext >&5
14682 ( exit $ac_status )
14683 ac_cv_header_stdc
=no
14685 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14689 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14690 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14691 if test $ac_cv_header_stdc = yes; then
14693 cat >>confdefs.h
<<\_ACEOF
14694 #define STDC_HEADERS 1
14699 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
14709 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
14710 inttypes.h stdint.h unistd.h
14712 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14713 echo "$as_me:$LINENO: checking for $ac_header" >&5
14714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14716 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 cat >conftest.
$ac_ext <<_ACEOF
14721 cat confdefs.h
>>conftest.
$ac_ext
14722 cat >>conftest.
$ac_ext <<_ACEOF
14723 /* end confdefs.h. */
14724 $ac_includes_default
14726 #include <$ac_header>
14728 rm -f conftest.
$ac_objext
14729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14730 (eval $ac_compile) 2>conftest.er1
14732 grep -v '^ *+' conftest.er1
>conftest.err
14734 cat conftest.err
>&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; } &&
14743 { ac_try
='test -s conftest.$ac_objext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 eval "$as_ac_Header=yes"
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.
$ac_ext >&5
14754 eval "$as_ac_Header=no"
14756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14761 cat >>confdefs.h
<<_ACEOF
14762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14771 for ac_header
in stdlib.h
14773 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14775 echo "$as_me:$LINENO: checking for $ac_header" >&5
14776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14783 # Is the header compilable?
14784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14786 cat >conftest.
$ac_ext <<_ACEOF
14789 cat confdefs.h
>>conftest.
$ac_ext
14790 cat >>conftest.
$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792 $ac_includes_default
14793 #include <$ac_header>
14795 rm -f conftest.
$ac_objext
14796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14797 (eval $ac_compile) 2>conftest.er1
14799 grep -v '^ *+' conftest.er1
>conftest.err
14801 cat conftest.err
>&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); } &&
14804 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14806 (eval $ac_try) 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; } &&
14810 { ac_try
='test -s conftest.$ac_objext'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_header_compiler
=yes
14818 echo "$as_me: failed program was:" >&5
14819 sed 's/^/| /' conftest.
$ac_ext >&5
14821 ac_header_compiler
=no
14823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14825 echo "${ECHO_T}$ac_header_compiler" >&6
14827 # Is the header present?
14828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14830 cat >conftest.
$ac_ext <<_ACEOF
14833 cat confdefs.h
>>conftest.
$ac_ext
14834 cat >>conftest.
$ac_ext <<_ACEOF
14835 /* end confdefs.h. */
14836 #include <$ac_header>
14838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14841 grep -v '^ *+' conftest.er1
>conftest.err
14843 cat conftest.err
>&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); } >/dev
/null
; then
14846 if test -s conftest.err
; then
14847 ac_cpp_err
=$ac_c_preproc_warn_flag
14848 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14855 if test -z "$ac_cpp_err"; then
14856 ac_header_preproc
=yes
14858 echo "$as_me: failed program was:" >&5
14859 sed 's/^/| /' conftest.
$ac_ext >&5
14861 ac_header_preproc
=no
14863 rm -f conftest.err conftest.
$ac_ext
14864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14865 echo "${ECHO_T}$ac_header_preproc" >&6
14867 # So? What about this header?
14868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14874 ac_header_preproc
=yes
14877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14891 ## ----------------------------------------- ##
14892 ## Report this to wx-dev@lists.wxwidgets.org ##
14893 ## ----------------------------------------- ##
14896 sed "s/^/$as_me: WARNING: /" >&2
14899 echo "$as_me:$LINENO: checking for $ac_header" >&5
14900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14902 echo $ECHO_N "(cached) $ECHO_C" >&6
14904 eval "$as_ac_Header=\$ac_header_preproc"
14906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14911 cat >>confdefs.h
<<_ACEOF
14912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14920 for ac_header
in malloc.h
14922 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14924 echo "$as_me:$LINENO: checking for $ac_header" >&5
14925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14927 echo $ECHO_N "(cached) $ECHO_C" >&6
14929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14932 # Is the header compilable?
14933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14935 cat >conftest.
$ac_ext <<_ACEOF
14938 cat confdefs.h
>>conftest.
$ac_ext
14939 cat >>conftest.
$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 $ac_includes_default
14942 #include <$ac_header>
14944 rm -f conftest.
$ac_objext
14945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14946 (eval $ac_compile) 2>conftest.er1
14948 grep -v '^ *+' conftest.er1
>conftest.err
14950 cat conftest.err
>&5
14951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952 (exit $ac_status); } &&
14953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14955 (eval $ac_try) 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }; } &&
14959 { ac_try
='test -s conftest.$ac_objext'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; }; then
14965 ac_header_compiler
=yes
14967 echo "$as_me: failed program was:" >&5
14968 sed 's/^/| /' conftest.
$ac_ext >&5
14970 ac_header_compiler
=no
14972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14974 echo "${ECHO_T}$ac_header_compiler" >&6
14976 # Is the header present?
14977 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14979 cat >conftest.
$ac_ext <<_ACEOF
14982 cat confdefs.h
>>conftest.
$ac_ext
14983 cat >>conftest.
$ac_ext <<_ACEOF
14984 /* end confdefs.h. */
14985 #include <$ac_header>
14987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14990 grep -v '^ *+' conftest.er1
>conftest.err
14992 cat conftest.err
>&5
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); } >/dev
/null
; then
14995 if test -s conftest.err
; then
14996 ac_cpp_err
=$ac_c_preproc_warn_flag
14997 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15004 if test -z "$ac_cpp_err"; then
15005 ac_header_preproc
=yes
15007 echo "$as_me: failed program was:" >&5
15008 sed 's/^/| /' conftest.
$ac_ext >&5
15010 ac_header_preproc
=no
15012 rm -f conftest.err conftest.
$ac_ext
15013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15014 echo "${ECHO_T}$ac_header_preproc" >&6
15016 # So? What about this header?
15017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15019 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15022 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15023 ac_header_preproc
=yes
15026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15030 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15031 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15032 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15033 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15036 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15037 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15040 ## ----------------------------------------- ##
15041 ## Report this to wx-dev@lists.wxwidgets.org ##
15042 ## ----------------------------------------- ##
15045 sed "s/^/$as_me: WARNING: /" >&2
15048 echo "$as_me:$LINENO: checking for $ac_header" >&5
15049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15051 echo $ECHO_N "(cached) $ECHO_C" >&6
15053 eval "$as_ac_Header=\$ac_header_preproc"
15055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15060 cat >>confdefs.h
<<_ACEOF
15061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15069 for ac_header
in unistd.h
15071 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15073 echo "$as_me:$LINENO: checking for $ac_header" >&5
15074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15076 echo $ECHO_N "(cached) $ECHO_C" >&6
15078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15081 # Is the header compilable?
15082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15084 cat >conftest.
$ac_ext <<_ACEOF
15087 cat confdefs.h
>>conftest.
$ac_ext
15088 cat >>conftest.
$ac_ext <<_ACEOF
15089 /* end confdefs.h. */
15090 $ac_includes_default
15091 #include <$ac_header>
15093 rm -f conftest.
$ac_objext
15094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15095 (eval $ac_compile) 2>conftest.er1
15097 grep -v '^ *+' conftest.er1
>conftest.err
15099 cat conftest.err
>&5
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); } &&
15102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; } &&
15108 { ac_try
='test -s conftest.$ac_objext'
15109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15110 (eval $ac_try) 2>&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); }; }; then
15114 ac_header_compiler
=yes
15116 echo "$as_me: failed program was:" >&5
15117 sed 's/^/| /' conftest.
$ac_ext >&5
15119 ac_header_compiler
=no
15121 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15123 echo "${ECHO_T}$ac_header_compiler" >&6
15125 # Is the header present?
15126 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15127 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15128 cat >conftest.
$ac_ext <<_ACEOF
15131 cat confdefs.h
>>conftest.
$ac_ext
15132 cat >>conftest.
$ac_ext <<_ACEOF
15133 /* end confdefs.h. */
15134 #include <$ac_header>
15136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15139 grep -v '^ *+' conftest.er1
>conftest.err
15141 cat conftest.err
>&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); } >/dev
/null
; then
15144 if test -s conftest.err
; then
15145 ac_cpp_err
=$ac_c_preproc_warn_flag
15146 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15153 if test -z "$ac_cpp_err"; then
15154 ac_header_preproc
=yes
15156 echo "$as_me: failed program was:" >&5
15157 sed 's/^/| /' conftest.
$ac_ext >&5
15159 ac_header_preproc
=no
15161 rm -f conftest.err conftest.
$ac_ext
15162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15163 echo "${ECHO_T}$ac_header_preproc" >&6
15165 # So? What about this header?
15166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15168 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15171 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15172 ac_header_preproc
=yes
15175 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15176 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15177 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15178 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15179 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15180 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15181 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15182 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15185 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15186 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15189 ## ----------------------------------------- ##
15190 ## Report this to wx-dev@lists.wxwidgets.org ##
15191 ## ----------------------------------------- ##
15194 sed "s/^/$as_me: WARNING: /" >&2
15197 echo "$as_me:$LINENO: checking for $ac_header" >&5
15198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15200 echo $ECHO_N "(cached) $ECHO_C" >&6
15202 eval "$as_ac_Header=\$ac_header_preproc"
15204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15205 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15208 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15209 cat >>confdefs.h
<<_ACEOF
15210 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15218 for ac_header
in wchar.h
15220 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15222 echo "$as_me:$LINENO: checking for $ac_header" >&5
15223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15225 echo $ECHO_N "(cached) $ECHO_C" >&6
15227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15230 # Is the header compilable?
15231 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15232 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15233 cat >conftest.
$ac_ext <<_ACEOF
15236 cat confdefs.h
>>conftest.
$ac_ext
15237 cat >>conftest.
$ac_ext <<_ACEOF
15238 /* end confdefs.h. */
15239 $ac_includes_default
15240 #include <$ac_header>
15242 rm -f conftest.
$ac_objext
15243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15244 (eval $ac_compile) 2>conftest.er1
15246 grep -v '^ *+' conftest.er1
>conftest.err
15248 cat conftest.err
>&5
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); } &&
15251 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15253 (eval $ac_try) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; } &&
15257 { ac_try
='test -s conftest.$ac_objext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_header_compiler
=yes
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.
$ac_ext >&5
15268 ac_header_compiler
=no
15270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15272 echo "${ECHO_T}$ac_header_compiler" >&6
15274 # Is the header present?
15275 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15277 cat >conftest.
$ac_ext <<_ACEOF
15280 cat confdefs.h
>>conftest.
$ac_ext
15281 cat >>conftest.
$ac_ext <<_ACEOF
15282 /* end confdefs.h. */
15283 #include <$ac_header>
15285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15286 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15288 grep -v '^ *+' conftest.er1
>conftest.err
15290 cat conftest.err
>&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); } >/dev
/null
; then
15293 if test -s conftest.err
; then
15294 ac_cpp_err
=$ac_c_preproc_warn_flag
15295 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15302 if test -z "$ac_cpp_err"; then
15303 ac_header_preproc
=yes
15305 echo "$as_me: failed program was:" >&5
15306 sed 's/^/| /' conftest.
$ac_ext >&5
15308 ac_header_preproc
=no
15310 rm -f conftest.err conftest.
$ac_ext
15311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15312 echo "${ECHO_T}$ac_header_preproc" >&6
15314 # So? What about this header?
15315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15317 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15318 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15320 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15321 ac_header_preproc
=yes
15324 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15325 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15326 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15327 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15328 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15329 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15330 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15331 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15334 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15335 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15338 ## ----------------------------------------- ##
15339 ## Report this to wx-dev@lists.wxwidgets.org ##
15340 ## ----------------------------------------- ##
15343 sed "s/^/$as_me: WARNING: /" >&2
15346 echo "$as_me:$LINENO: checking for $ac_header" >&5
15347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 eval "$as_ac_Header=\$ac_header_preproc"
15353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15358 cat >>confdefs.h
<<_ACEOF
15359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15367 if test "$ac_cv_header_wchar_h" != "yes"; then
15369 for ac_header
in wcstr.h
15371 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15373 echo "$as_me:$LINENO: checking for $ac_header" >&5
15374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15376 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15381 # Is the header compilable?
15382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15384 cat >conftest.
$ac_ext <<_ACEOF
15387 cat confdefs.h
>>conftest.
$ac_ext
15388 cat >>conftest.
$ac_ext <<_ACEOF
15389 /* end confdefs.h. */
15390 $ac_includes_default
15391 #include <$ac_header>
15393 rm -f conftest.
$ac_objext
15394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15395 (eval $ac_compile) 2>conftest.er1
15397 grep -v '^ *+' conftest.er1
>conftest.err
15399 cat conftest.err
>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } &&
15402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; } &&
15408 { ac_try
='test -s conftest.$ac_objext'
15409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15410 (eval $ac_try) 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; }; then
15414 ac_header_compiler
=yes
15416 echo "$as_me: failed program was:" >&5
15417 sed 's/^/| /' conftest.
$ac_ext >&5
15419 ac_header_compiler
=no
15421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15423 echo "${ECHO_T}$ac_header_compiler" >&6
15425 # Is the header present?
15426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15428 cat >conftest.
$ac_ext <<_ACEOF
15431 cat confdefs.h
>>conftest.
$ac_ext
15432 cat >>conftest.
$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15434 #include <$ac_header>
15436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15439 grep -v '^ *+' conftest.er1
>conftest.err
15441 cat conftest.err
>&5
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); } >/dev
/null
; then
15444 if test -s conftest.err
; then
15445 ac_cpp_err
=$ac_c_preproc_warn_flag
15446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15453 if test -z "$ac_cpp_err"; then
15454 ac_header_preproc
=yes
15456 echo "$as_me: failed program was:" >&5
15457 sed 's/^/| /' conftest.
$ac_ext >&5
15459 ac_header_preproc
=no
15461 rm -f conftest.err conftest.
$ac_ext
15462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15463 echo "${ECHO_T}$ac_header_preproc" >&6
15465 # So? What about this header?
15466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15472 ac_header_preproc
=yes
15475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15489 ## ----------------------------------------- ##
15490 ## Report this to wx-dev@lists.wxwidgets.org ##
15491 ## ----------------------------------------- ##
15494 sed "s/^/$as_me: WARNING: /" >&2
15497 echo "$as_me:$LINENO: checking for $ac_header" >&5
15498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15500 echo $ECHO_N "(cached) $ECHO_C" >&6
15502 eval "$as_ac_Header=\$ac_header_preproc"
15504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15509 cat >>confdefs.h
<<_ACEOF
15510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15520 for ac_header
in fnmatch.h
15522 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15524 echo "$as_me:$LINENO: checking for $ac_header" >&5
15525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15532 # Is the header compilable?
15533 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15534 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15535 cat >conftest.
$ac_ext <<_ACEOF
15538 cat confdefs.h
>>conftest.
$ac_ext
15539 cat >>conftest.
$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15541 $ac_includes_default
15542 #include <$ac_header>
15544 rm -f conftest.
$ac_objext
15545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15546 (eval $ac_compile) 2>conftest.er1
15548 grep -v '^ *+' conftest.er1
>conftest.err
15550 cat conftest.err
>&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); } &&
15553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15555 (eval $ac_try) 2>&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); }; } &&
15559 { ac_try
='test -s conftest.$ac_objext'
15560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15561 (eval $ac_try) 2>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; }; then
15565 ac_header_compiler
=yes
15567 echo "$as_me: failed program was:" >&5
15568 sed 's/^/| /' conftest.
$ac_ext >&5
15570 ac_header_compiler
=no
15572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15574 echo "${ECHO_T}$ac_header_compiler" >&6
15576 # Is the header present?
15577 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15579 cat >conftest.
$ac_ext <<_ACEOF
15582 cat confdefs.h
>>conftest.
$ac_ext
15583 cat >>conftest.
$ac_ext <<_ACEOF
15584 /* end confdefs.h. */
15585 #include <$ac_header>
15587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15590 grep -v '^ *+' conftest.er1
>conftest.err
15592 cat conftest.err
>&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); } >/dev
/null
; then
15595 if test -s conftest.err
; then
15596 ac_cpp_err
=$ac_c_preproc_warn_flag
15597 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15604 if test -z "$ac_cpp_err"; then
15605 ac_header_preproc
=yes
15607 echo "$as_me: failed program was:" >&5
15608 sed 's/^/| /' conftest.
$ac_ext >&5
15610 ac_header_preproc
=no
15612 rm -f conftest.err conftest.
$ac_ext
15613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15614 echo "${ECHO_T}$ac_header_preproc" >&6
15616 # So? What about this header?
15617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15622 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15623 ac_header_preproc
=yes
15626 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15627 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15628 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15629 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15630 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15631 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15632 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15633 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15635 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15636 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15637 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15640 ## ----------------------------------------- ##
15641 ## Report this to wx-dev@lists.wxwidgets.org ##
15642 ## ----------------------------------------- ##
15645 sed "s/^/$as_me: WARNING: /" >&2
15648 echo "$as_me:$LINENO: checking for $ac_header" >&5
15649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15651 echo $ECHO_N "(cached) $ECHO_C" >&6
15653 eval "$as_ac_Header=\$ac_header_preproc"
15655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15660 cat >>confdefs.h
<<_ACEOF
15661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15670 for ac_header
in langinfo.h
15672 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15674 echo "$as_me:$LINENO: checking for $ac_header" >&5
15675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15677 echo $ECHO_N "(cached) $ECHO_C" >&6
15679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15682 # Is the header compilable?
15683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15685 cat >conftest.
$ac_ext <<_ACEOF
15688 cat confdefs.h
>>conftest.
$ac_ext
15689 cat >>conftest.
$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15691 $ac_includes_default
15692 #include <$ac_header>
15694 rm -f conftest.
$ac_objext
15695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15696 (eval $ac_compile) 2>conftest.er1
15698 grep -v '^ *+' conftest.er1
>conftest.err
15700 cat conftest.err
>&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; } &&
15709 { ac_try
='test -s conftest.$ac_objext'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; }; then
15715 ac_header_compiler
=yes
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.
$ac_ext >&5
15720 ac_header_compiler
=no
15722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15724 echo "${ECHO_T}$ac_header_compiler" >&6
15726 # Is the header present?
15727 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15729 cat >conftest.
$ac_ext <<_ACEOF
15732 cat confdefs.h
>>conftest.
$ac_ext
15733 cat >>conftest.
$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15735 #include <$ac_header>
15737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15738 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15740 grep -v '^ *+' conftest.er1
>conftest.err
15742 cat conftest.err
>&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } >/dev
/null
; then
15745 if test -s conftest.err
; then
15746 ac_cpp_err
=$ac_c_preproc_warn_flag
15747 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15754 if test -z "$ac_cpp_err"; then
15755 ac_header_preproc
=yes
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.
$ac_ext >&5
15760 ac_header_preproc
=no
15762 rm -f conftest.err conftest.
$ac_ext
15763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15764 echo "${ECHO_T}$ac_header_preproc" >&6
15766 # So? What about this header?
15767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15769 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15773 ac_header_preproc
=yes
15776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15780 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15782 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15783 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15786 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15790 ## ----------------------------------------- ##
15791 ## Report this to wx-dev@lists.wxwidgets.org ##
15792 ## ----------------------------------------- ##
15795 sed "s/^/$as_me: WARNING: /" >&2
15798 echo "$as_me:$LINENO: checking for $ac_header" >&5
15799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15801 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 eval "$as_ac_Header=\$ac_header_preproc"
15805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15810 cat >>confdefs.h
<<_ACEOF
15811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15820 *-pc-os2_emx | *-pc-os2-emx )
15821 if test $ac_cv_header_langinfo_h = "yes" \
15822 -a \
( "$wx_cv_gccversion" = "EMX2" \
15823 -o "$wx_cv_gccversion" = "EMX3" \
15824 -o "$wx_cv_gccversion" = "Innotek5" \
); then
15825 LIBS
="$LIBS -lintl"
15831 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
15832 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
15833 if test "${ac_cv_c_const+set}" = set; then
15834 echo $ECHO_N "(cached) $ECHO_C" >&6
15836 cat >conftest.
$ac_ext <<_ACEOF
15839 cat confdefs.h
>>conftest.
$ac_ext
15840 cat >>conftest.
$ac_ext <<_ACEOF
15841 /* end confdefs.h. */
15846 /* FIXME: Include the comments suggested by Paul. */
15847 #ifndef __cplusplus
15848 /* Ultrix mips cc rejects this. */
15849 typedef int charset[2];
15851 /* SunOS 4.1.1 cc rejects this. */
15852 char const *const *ccp;
15854 /* NEC SVR4.0.2 mips cc rejects this. */
15855 struct point {int x, y;};
15856 static struct point const zero = {0,0};
15857 /* AIX XL C 1.02.0.0 rejects this.
15858 It does not let you subtract one const X* pointer from another in
15859 an arm of an if-expression whose if-part is not a constant
15861 const char *g = "string";
15862 ccp = &g + (g ? g-g : 0);
15863 /* HPUX 7.0 cc rejects these. */
15866 ccp = (char const *const *) p;
15867 { /* SCO 3.2v4 cc rejects this. */
15869 char const *s = 0 ? (char *) 0 : (char const *) 0;
15873 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15874 int x[] = {25, 17};
15875 const int *foo = &x[0];
15878 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15879 typedef const int *iptr;
15883 { /* AIX XL C 1.02.0.0 rejects this saying
15884 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15885 struct s { int j; const int *ap[3]; };
15886 struct s *b; b->j = 5;
15888 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15889 const int foo = 10;
15897 rm -f conftest.
$ac_objext
15898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15899 (eval $ac_compile) 2>conftest.er1
15901 grep -v '^ *+' conftest.er1
>conftest.err
15903 cat conftest.err
>&5
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); } &&
15906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; } &&
15912 { ac_try
='test -s conftest.$ac_objext'
15913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15914 (eval $ac_try) 2>&5
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); }; }; then
15920 echo "$as_me: failed program was:" >&5
15921 sed 's/^/| /' conftest.
$ac_ext >&5
15925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15927 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15928 echo "${ECHO_T}$ac_cv_c_const" >&6
15929 if test $ac_cv_c_const = no
; then
15931 cat >>confdefs.h
<<\_ACEOF
15937 echo "$as_me:$LINENO: checking for inline" >&5
15938 echo $ECHO_N "checking for inline... $ECHO_C" >&6
15939 if test "${ac_cv_c_inline+set}" = set; then
15940 echo $ECHO_N "(cached) $ECHO_C" >&6
15943 for ac_kw
in inline __inline__ __inline
; do
15944 cat >conftest.
$ac_ext <<_ACEOF
15947 cat confdefs.h
>>conftest.
$ac_ext
15948 cat >>conftest.
$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15950 #ifndef __cplusplus
15952 static $ac_kw foo_t static_foo () {return 0; }
15953 $ac_kw foo_t foo () {return 0; }
15957 rm -f conftest.
$ac_objext
15958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15959 (eval $ac_compile) 2>conftest.er1
15961 grep -v '^ *+' conftest.er1
>conftest.err
15963 cat conftest.err
>&5
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); } &&
15966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15968 (eval $ac_try) 2>&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); }; } &&
15972 { ac_try
='test -s conftest.$ac_objext'
15973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15974 (eval $ac_try) 2>&5
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; }; then
15978 ac_cv_c_inline
=$ac_kw; break
15980 echo "$as_me: failed program was:" >&5
15981 sed 's/^/| /' conftest.
$ac_ext >&5
15984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15988 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
15989 echo "${ECHO_T}$ac_cv_c_inline" >&6
15992 case $ac_cv_c_inline in
15995 case $ac_cv_c_inline in
15997 *) ac_val
=$ac_cv_c_inline;;
15999 cat >>confdefs.h
<<_ACEOF
16000 #ifndef __cplusplus
16001 #define inline $ac_val
16008 echo "$as_me:$LINENO: checking for char" >&5
16009 echo $ECHO_N "checking for char... $ECHO_C" >&6
16010 if test "${ac_cv_type_char+set}" = set; then
16011 echo $ECHO_N "(cached) $ECHO_C" >&6
16013 cat >conftest.
$ac_ext <<_ACEOF
16016 cat confdefs.h
>>conftest.
$ac_ext
16017 cat >>conftest.
$ac_ext <<_ACEOF
16018 /* end confdefs.h. */
16019 $ac_includes_default
16031 rm -f conftest.
$ac_objext
16032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16033 (eval $ac_compile) 2>conftest.er1
16035 grep -v '^ *+' conftest.er1
>conftest.err
16037 cat conftest.err
>&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } &&
16040 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042 (eval $ac_try) 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; } &&
16046 { ac_try
='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 ac_cv_type_char
=yes
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.
$ac_ext >&5
16059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16061 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16062 echo "${ECHO_T}$ac_cv_type_char" >&6
16064 echo "$as_me:$LINENO: checking size of char" >&5
16065 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16066 if test "${ac_cv_sizeof_char+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16069 if test "$ac_cv_type_char" = yes; then
16070 # The cast to unsigned long works around a bug in the HP C Compiler
16071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16073 # This bug is HP SR number 8606223364.
16074 if test "$cross_compiling" = yes; then
16075 # Depending upon the size, compute the lo and hi bounds.
16076 cat >conftest.
$ac_ext <<_ACEOF
16079 cat confdefs.h
>>conftest.
$ac_ext
16080 cat >>conftest.
$ac_ext <<_ACEOF
16081 /* end confdefs.h. */
16082 $ac_includes_default
16086 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16093 rm -f conftest.
$ac_objext
16094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16095 (eval $ac_compile) 2>conftest.er1
16097 grep -v '^ *+' conftest.er1
>conftest.err
16099 cat conftest.err
>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
16102 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; } &&
16108 { ac_try
='test -s conftest.$ac_objext'
16109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16110 (eval $ac_try) 2>&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); }; }; then
16116 cat >conftest.
$ac_ext <<_ACEOF
16119 cat confdefs.h
>>conftest.
$ac_ext
16120 cat >>conftest.
$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16122 $ac_includes_default
16126 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16133 rm -f conftest.
$ac_objext
16134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16135 (eval $ac_compile) 2>conftest.er1
16137 grep -v '^ *+' conftest.er1
>conftest.err
16139 cat conftest.err
>&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); } &&
16142 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; } &&
16148 { ac_try
='test -s conftest.$ac_objext'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; }; then
16154 ac_hi
=$ac_mid; break
16156 echo "$as_me: failed program was:" >&5
16157 sed 's/^/| /' conftest.
$ac_ext >&5
16159 ac_lo
=`expr $ac_mid + 1`
16160 if test $ac_lo -le $ac_mid; then
16164 ac_mid
=`expr 2 '*' $ac_mid + 1`
16166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.
$ac_ext >&5
16172 cat >conftest.
$ac_ext <<_ACEOF
16175 cat confdefs.h
>>conftest.
$ac_ext
16176 cat >>conftest.
$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16178 $ac_includes_default
16182 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
16189 rm -f conftest.
$ac_objext
16190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16191 (eval $ac_compile) 2>conftest.er1
16193 grep -v '^ *+' conftest.er1
>conftest.err
16195 cat conftest.err
>&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } &&
16198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16200 (eval $ac_try) 2>&5
16202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16203 (exit $ac_status); }; } &&
16204 { ac_try
='test -s conftest.$ac_objext'
16205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16206 (eval $ac_try) 2>&5
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); }; }; then
16212 cat >conftest.
$ac_ext <<_ACEOF
16215 cat confdefs.h
>>conftest.
$ac_ext
16216 cat >>conftest.
$ac_ext <<_ACEOF
16217 /* end confdefs.h. */
16218 $ac_includes_default
16222 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
16229 rm -f conftest.
$ac_objext
16230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16231 (eval $ac_compile) 2>conftest.er1
16233 grep -v '^ *+' conftest.er1
>conftest.err
16235 cat conftest.err
>&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } &&
16238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 (eval $ac_try) 2>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); }; } &&
16244 { ac_try
='test -s conftest.$ac_objext'
16245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16246 (eval $ac_try) 2>&5
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); }; }; then
16250 ac_lo
=$ac_mid; break
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.
$ac_ext >&5
16255 ac_hi
=`expr '(' $ac_mid ')' - 1`
16256 if test $ac_mid -le $ac_hi; then
16260 ac_mid
=`expr 2 '*' $ac_mid`
16262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16265 echo "$as_me: failed program was:" >&5
16266 sed 's/^/| /' conftest.
$ac_ext >&5
16270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16273 # Binary search between lo and hi bounds.
16274 while test "x$ac_lo" != "x$ac_hi"; do
16275 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16276 cat >conftest.
$ac_ext <<_ACEOF
16279 cat confdefs.h
>>conftest.
$ac_ext
16280 cat >>conftest.
$ac_ext <<_ACEOF
16281 /* end confdefs.h. */
16282 $ac_includes_default
16286 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16293 rm -f conftest.
$ac_objext
16294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16295 (eval $ac_compile) 2>conftest.er1
16297 grep -v '^ *+' conftest.er1
>conftest.err
16299 cat conftest.err
>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); } &&
16302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16304 (eval $ac_try) 2>&5
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); }; } &&
16308 { ac_try
='test -s conftest.$ac_objext'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; }; then
16316 echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.
$ac_ext >&5
16319 ac_lo
=`expr '(' $ac_mid ')' + 1`
16321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16324 ?
*) ac_cv_sizeof_char
=$ac_lo;;
16325 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16326 See \`config.log' for more details." >&5
16327 echo "$as_me: error: cannot compute sizeof (char), 77
16328 See \`config.log' for more details." >&2;}
16329 { (exit 1); exit 1; }; } ;;
16332 if test "$cross_compiling" = yes; then
16333 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16334 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16335 { (exit 1); exit 1; }; }
16337 cat >conftest.
$ac_ext <<_ACEOF
16340 cat confdefs.h
>>conftest.
$ac_ext
16341 cat >>conftest.
$ac_ext <<_ACEOF
16342 /* end confdefs.h. */
16343 $ac_includes_default
16344 long longval () { return (long) (sizeof (char)); }
16345 unsigned long ulongval () { return (long) (sizeof (char)); }
16347 #include <stdlib.h>
16352 FILE *f = fopen ("conftest.val", "w");
16355 if (((long) (sizeof (char))) < 0)
16357 long i = longval ();
16358 if (i != ((long) (sizeof (char))))
16360 fprintf (f, "%ld\n", i);
16364 unsigned long i = ulongval ();
16365 if (i != ((long) (sizeof (char))))
16367 fprintf (f, "%lu\n", i);
16369 exit (ferror (f) || fclose (f) != 0);
16375 rm -f conftest
$ac_exeext
16376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16377 (eval $ac_link) 2>&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; }; then
16386 ac_cv_sizeof_char
=`cat conftest.val`
16388 echo "$as_me: program exited with status $ac_status" >&5
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.
$ac_ext >&5
16392 ( exit $ac_status )
16393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
16394 See \`config.log' for more details." >&5
16395 echo "$as_me: error: cannot compute sizeof (char), 77
16396 See \`config.log' for more details." >&2;}
16397 { (exit 1); exit 1; }; }
16399 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16404 ac_cv_sizeof_char
=0
16407 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
16408 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
16409 cat >>confdefs.h
<<_ACEOF
16410 #define SIZEOF_CHAR $ac_cv_sizeof_char
16414 echo "$as_me:$LINENO: checking for short" >&5
16415 echo $ECHO_N "checking for short... $ECHO_C" >&6
16416 if test "${ac_cv_type_short+set}" = set; then
16417 echo $ECHO_N "(cached) $ECHO_C" >&6
16419 cat >conftest.
$ac_ext <<_ACEOF
16422 cat confdefs.h
>>conftest.
$ac_ext
16423 cat >>conftest.
$ac_ext <<_ACEOF
16424 /* end confdefs.h. */
16425 $ac_includes_default
16431 if (sizeof (short))
16437 rm -f conftest.
$ac_objext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>conftest.er1
16441 grep -v '^ *+' conftest.er1
>conftest.err
16443 cat conftest.err
>&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; } &&
16452 { ac_try
='test -s conftest.$ac_objext'
16453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16454 (eval $ac_try) 2>&5
16456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16457 (exit $ac_status); }; }; then
16458 ac_cv_type_short
=yes
16460 echo "$as_me: failed program was:" >&5
16461 sed 's/^/| /' conftest.
$ac_ext >&5
16463 ac_cv_type_short
=no
16465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16467 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16468 echo "${ECHO_T}$ac_cv_type_short" >&6
16470 echo "$as_me:$LINENO: checking size of short" >&5
16471 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16472 if test "${ac_cv_sizeof_short+set}" = set; then
16473 echo $ECHO_N "(cached) $ECHO_C" >&6
16475 if test "$ac_cv_type_short" = yes; then
16476 # The cast to unsigned long works around a bug in the HP C Compiler
16477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16479 # This bug is HP SR number 8606223364.
16480 if test "$cross_compiling" = yes; then
16481 # Depending upon the size, compute the lo and hi bounds.
16482 cat >conftest.
$ac_ext <<_ACEOF
16485 cat confdefs.h
>>conftest.
$ac_ext
16486 cat >>conftest.
$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 $ac_includes_default
16492 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16499 rm -f conftest.
$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>conftest.er1
16503 grep -v '^ *+' conftest.er1
>conftest.err
16505 cat conftest.err
>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
16508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try
='test -s conftest.$ac_objext'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16522 cat >conftest.
$ac_ext <<_ACEOF
16525 cat confdefs.h
>>conftest.
$ac_ext
16526 cat >>conftest.
$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16528 $ac_includes_default
16532 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16539 rm -f conftest.
$ac_objext
16540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16541 (eval $ac_compile) 2>conftest.er1
16543 grep -v '^ *+' conftest.er1
>conftest.err
16545 cat conftest.err
>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; } &&
16554 { ac_try
='test -s conftest.$ac_objext'
16555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16556 (eval $ac_try) 2>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); }; }; then
16560 ac_hi
=$ac_mid; break
16562 echo "$as_me: failed program was:" >&5
16563 sed 's/^/| /' conftest.
$ac_ext >&5
16565 ac_lo
=`expr $ac_mid + 1`
16566 if test $ac_lo -le $ac_mid; then
16570 ac_mid
=`expr 2 '*' $ac_mid + 1`
16572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.
$ac_ext >&5
16578 cat >conftest.
$ac_ext <<_ACEOF
16581 cat confdefs.h
>>conftest.
$ac_ext
16582 cat >>conftest.
$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16584 $ac_includes_default
16588 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16595 rm -f conftest.
$ac_objext
16596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16597 (eval $ac_compile) 2>conftest.er1
16599 grep -v '^ *+' conftest.er1
>conftest.err
16601 cat conftest.err
>&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } &&
16604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; } &&
16610 { ac_try
='test -s conftest.$ac_objext'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; }; then
16618 cat >conftest.
$ac_ext <<_ACEOF
16621 cat confdefs.h
>>conftest.
$ac_ext
16622 cat >>conftest.
$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16624 $ac_includes_default
16628 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16635 rm -f conftest.
$ac_objext
16636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16637 (eval $ac_compile) 2>conftest.er1
16639 grep -v '^ *+' conftest.er1
>conftest.err
16641 cat conftest.err
>&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } &&
16644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; } &&
16650 { ac_try
='test -s conftest.$ac_objext'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; }; then
16656 ac_lo
=$ac_mid; break
16658 echo "$as_me: failed program was:" >&5
16659 sed 's/^/| /' conftest.
$ac_ext >&5
16661 ac_hi
=`expr '(' $ac_mid ')' - 1`
16662 if test $ac_mid -le $ac_hi; then
16666 ac_mid
=`expr 2 '*' $ac_mid`
16668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.
$ac_ext >&5
16676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16679 # Binary search between lo and hi bounds.
16680 while test "x$ac_lo" != "x$ac_hi"; do
16681 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16682 cat >conftest.
$ac_ext <<_ACEOF
16685 cat confdefs.h
>>conftest.
$ac_ext
16686 cat >>conftest.
$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16688 $ac_includes_default
16692 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16699 rm -f conftest.
$ac_objext
16700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16701 (eval $ac_compile) 2>conftest.er1
16703 grep -v '^ *+' conftest.er1
>conftest.err
16705 cat conftest.err
>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } &&
16708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; } &&
16714 { ac_try
='test -s conftest.$ac_objext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.
$ac_ext >&5
16725 ac_lo
=`expr '(' $ac_mid ')' + 1`
16727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16730 ?
*) ac_cv_sizeof_short
=$ac_lo;;
16731 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16732 See \`config.log' for more details." >&5
16733 echo "$as_me: error: cannot compute sizeof (short), 77
16734 See \`config.log' for more details." >&2;}
16735 { (exit 1); exit 1; }; } ;;
16738 if test "$cross_compiling" = yes; then
16739 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16740 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16741 { (exit 1); exit 1; }; }
16743 cat >conftest.
$ac_ext <<_ACEOF
16746 cat confdefs.h
>>conftest.
$ac_ext
16747 cat >>conftest.
$ac_ext <<_ACEOF
16748 /* end confdefs.h. */
16749 $ac_includes_default
16750 long longval () { return (long) (sizeof (short)); }
16751 unsigned long ulongval () { return (long) (sizeof (short)); }
16753 #include <stdlib.h>
16758 FILE *f = fopen ("conftest.val", "w");
16761 if (((long) (sizeof (short))) < 0)
16763 long i = longval ();
16764 if (i != ((long) (sizeof (short))))
16766 fprintf (f, "%ld\n", i);
16770 unsigned long i = ulongval ();
16771 if (i != ((long) (sizeof (short))))
16773 fprintf (f, "%lu\n", i);
16775 exit (ferror (f) || fclose (f) != 0);
16781 rm -f conftest
$ac_exeext
16782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16783 (eval $ac_link) 2>&5
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16792 ac_cv_sizeof_short
=`cat conftest.val`
16794 echo "$as_me: program exited with status $ac_status" >&5
16795 echo "$as_me: failed program was:" >&5
16796 sed 's/^/| /' conftest.
$ac_ext >&5
16798 ( exit $ac_status )
16799 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16800 See \`config.log' for more details." >&5
16801 echo "$as_me: error: cannot compute sizeof (short), 77
16802 See \`config.log' for more details." >&2;}
16803 { (exit 1); exit 1; }; }
16805 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16810 ac_cv_sizeof_short
=0
16813 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
16814 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
16815 cat >>confdefs.h
<<_ACEOF
16816 #define SIZEOF_SHORT $ac_cv_sizeof_short
16820 echo "$as_me:$LINENO: checking for void *" >&5
16821 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16822 if test "${ac_cv_type_void_p+set}" = set; then
16823 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 cat >conftest.
$ac_ext <<_ACEOF
16828 cat confdefs.h
>>conftest.
$ac_ext
16829 cat >>conftest.
$ac_ext <<_ACEOF
16830 /* end confdefs.h. */
16831 $ac_includes_default
16837 if (sizeof (void *))
16843 rm -f conftest.
$ac_objext
16844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16845 (eval $ac_compile) 2>conftest.er1
16847 grep -v '^ *+' conftest.er1
>conftest.err
16849 cat conftest.err
>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } &&
16852 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; } &&
16858 { ac_try
='test -s conftest.$ac_objext'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16864 ac_cv_type_void_p
=yes
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.
$ac_ext >&5
16869 ac_cv_type_void_p
=no
16871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16873 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16874 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16876 echo "$as_me:$LINENO: checking size of void *" >&5
16877 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16878 if test "${ac_cv_sizeof_void_p+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 if test "$ac_cv_type_void_p" = yes; then
16882 # The cast to unsigned long works around a bug in the HP C Compiler
16883 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16884 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16885 # This bug is HP SR number 8606223364.
16886 if test "$cross_compiling" = yes; then
16887 # Depending upon the size, compute the lo and hi bounds.
16888 cat >conftest.
$ac_ext <<_ACEOF
16891 cat confdefs.h
>>conftest.
$ac_ext
16892 cat >>conftest.
$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16898 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16905 rm -f conftest.
$ac_objext
16906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16907 (eval $ac_compile) 2>conftest.er1
16909 grep -v '^ *+' conftest.er1
>conftest.err
16911 cat conftest.err
>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; } &&
16920 { ac_try
='test -s conftest.$ac_objext'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; }; then
16928 cat >conftest.
$ac_ext <<_ACEOF
16931 cat confdefs.h
>>conftest.
$ac_ext
16932 cat >>conftest.
$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 $ac_includes_default
16938 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16945 rm -f conftest.
$ac_objext
16946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16947 (eval $ac_compile) 2>conftest.er1
16949 grep -v '^ *+' conftest.er1
>conftest.err
16951 cat conftest.err
>&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } &&
16954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; } &&
16960 { ac_try
='test -s conftest.$ac_objext'
16961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16962 (eval $ac_try) 2>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); }; }; then
16966 ac_hi
=$ac_mid; break
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.
$ac_ext >&5
16971 ac_lo
=`expr $ac_mid + 1`
16972 if test $ac_lo -le $ac_mid; then
16976 ac_mid
=`expr 2 '*' $ac_mid + 1`
16978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.
$ac_ext >&5
16984 cat >conftest.
$ac_ext <<_ACEOF
16987 cat confdefs.h
>>conftest.
$ac_ext
16988 cat >>conftest.
$ac_ext <<_ACEOF
16989 /* end confdefs.h. */
16990 $ac_includes_default
16994 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17001 rm -f conftest.
$ac_objext
17002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17003 (eval $ac_compile) 2>conftest.er1
17005 grep -v '^ *+' conftest.er1
>conftest.err
17007 cat conftest.err
>&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } &&
17010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; } &&
17016 { ac_try
='test -s conftest.$ac_objext'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; }; then
17024 cat >conftest.
$ac_ext <<_ACEOF
17027 cat confdefs.h
>>conftest.
$ac_ext
17028 cat >>conftest.
$ac_ext <<_ACEOF
17029 /* end confdefs.h. */
17030 $ac_includes_default
17034 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17041 rm -f conftest.
$ac_objext
17042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17043 (eval $ac_compile) 2>conftest.er1
17045 grep -v '^ *+' conftest.er1
>conftest.err
17047 cat conftest.err
>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); } &&
17050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; } &&
17056 { ac_try
='test -s conftest.$ac_objext'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; }; then
17062 ac_lo
=$ac_mid; break
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.
$ac_ext >&5
17067 ac_hi
=`expr '(' $ac_mid ')' - 1`
17068 if test $ac_mid -le $ac_hi; then
17072 ac_mid
=`expr 2 '*' $ac_mid`
17074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.
$ac_ext >&5
17082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17085 # Binary search between lo and hi bounds.
17086 while test "x$ac_lo" != "x$ac_hi"; do
17087 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17088 cat >conftest.
$ac_ext <<_ACEOF
17091 cat confdefs.h
>>conftest.
$ac_ext
17092 cat >>conftest.
$ac_ext <<_ACEOF
17093 /* end confdefs.h. */
17094 $ac_includes_default
17098 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17105 rm -f conftest.
$ac_objext
17106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17107 (eval $ac_compile) 2>conftest.er1
17109 grep -v '^ *+' conftest.er1
>conftest.err
17111 cat conftest.err
>&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } &&
17114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5
17118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; } &&
17120 { ac_try
='test -s conftest.$ac_objext'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; }; then
17128 echo "$as_me: failed program was:" >&5
17129 sed 's/^/| /' conftest.
$ac_ext >&5
17131 ac_lo
=`expr '(' $ac_mid ')' + 1`
17133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17136 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17137 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17138 See \`config.log' for more details." >&5
17139 echo "$as_me: error: cannot compute sizeof (void *), 77
17140 See \`config.log' for more details." >&2;}
17141 { (exit 1); exit 1; }; } ;;
17144 if test "$cross_compiling" = yes; then
17145 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17146 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17147 { (exit 1); exit 1; }; }
17149 cat >conftest.
$ac_ext <<_ACEOF
17152 cat confdefs.h
>>conftest.
$ac_ext
17153 cat >>conftest.
$ac_ext <<_ACEOF
17154 /* end confdefs.h. */
17155 $ac_includes_default
17156 long longval () { return (long) (sizeof (void *)); }
17157 unsigned long ulongval () { return (long) (sizeof (void *)); }
17159 #include <stdlib.h>
17164 FILE *f = fopen ("conftest.val", "w");
17167 if (((long) (sizeof (void *))) < 0)
17169 long i = longval ();
17170 if (i != ((long) (sizeof (void *))))
17172 fprintf (f, "%ld\n", i);
17176 unsigned long i = ulongval ();
17177 if (i != ((long) (sizeof (void *))))
17179 fprintf (f, "%lu\n", i);
17181 exit (ferror (f) || fclose (f) != 0);
17187 rm -f conftest
$ac_exeext
17188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17189 (eval $ac_link) 2>&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17194 (eval $ac_try) 2>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); }; }; then
17198 ac_cv_sizeof_void_p
=`cat conftest.val`
17200 echo "$as_me: program exited with status $ac_status" >&5
17201 echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.
$ac_ext >&5
17204 ( exit $ac_status )
17205 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17206 See \`config.log' for more details." >&5
17207 echo "$as_me: error: cannot compute sizeof (void *), 77
17208 See \`config.log' for more details." >&2;}
17209 { (exit 1); exit 1; }; }
17211 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17216 ac_cv_sizeof_void_p
=0
17219 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
17220 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
17221 cat >>confdefs.h
<<_ACEOF
17222 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
17226 echo "$as_me:$LINENO: checking for int" >&5
17227 echo $ECHO_N "checking for int... $ECHO_C" >&6
17228 if test "${ac_cv_type_int+set}" = set; then
17229 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 cat >conftest.
$ac_ext <<_ACEOF
17234 cat confdefs.h
>>conftest.
$ac_ext
17235 cat >>conftest.
$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17237 $ac_includes_default
17249 rm -f conftest.
$ac_objext
17250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17251 (eval $ac_compile) 2>conftest.er1
17253 grep -v '^ *+' conftest.er1
>conftest.err
17255 cat conftest.err
>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); } &&
17258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17260 (eval $ac_try) 2>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; } &&
17264 { ac_try
='test -s conftest.$ac_objext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; }; then
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.
$ac_ext >&5
17277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17279 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17280 echo "${ECHO_T}$ac_cv_type_int" >&6
17282 echo "$as_me:$LINENO: checking size of int" >&5
17283 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17284 if test "${ac_cv_sizeof_int+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 if test "$ac_cv_type_int" = yes; then
17288 # The cast to unsigned long works around a bug in the HP C Compiler
17289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17291 # This bug is HP SR number 8606223364.
17292 if test "$cross_compiling" = yes; then
17293 # Depending upon the size, compute the lo and hi bounds.
17294 cat >conftest.
$ac_ext <<_ACEOF
17297 cat confdefs.h
>>conftest.
$ac_ext
17298 cat >>conftest.
$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300 $ac_includes_default
17304 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17311 rm -f conftest.
$ac_objext
17312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17313 (eval $ac_compile) 2>conftest.er1
17315 grep -v '^ *+' conftest.er1
>conftest.err
17317 cat conftest.err
>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; } &&
17326 { ac_try
='test -s conftest.$ac_objext'
17327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17328 (eval $ac_try) 2>&5
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); }; }; then
17334 cat >conftest.
$ac_ext <<_ACEOF
17337 cat confdefs.h
>>conftest.
$ac_ext
17338 cat >>conftest.
$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17340 $ac_includes_default
17344 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17351 rm -f conftest.
$ac_objext
17352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17353 (eval $ac_compile) 2>conftest.er1
17355 grep -v '^ *+' conftest.er1
>conftest.err
17357 cat conftest.err
>&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } &&
17360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; } &&
17366 { ac_try
='test -s conftest.$ac_objext'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; }; then
17372 ac_hi
=$ac_mid; break
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.
$ac_ext >&5
17377 ac_lo
=`expr $ac_mid + 1`
17378 if test $ac_lo -le $ac_mid; then
17382 ac_mid
=`expr 2 '*' $ac_mid + 1`
17384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.
$ac_ext >&5
17390 cat >conftest.
$ac_ext <<_ACEOF
17393 cat confdefs.h
>>conftest.
$ac_ext
17394 cat >>conftest.
$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17396 $ac_includes_default
17400 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17407 rm -f conftest.
$ac_objext
17408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17409 (eval $ac_compile) 2>conftest.er1
17411 grep -v '^ *+' conftest.er1
>conftest.err
17413 cat conftest.err
>&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); } &&
17416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17418 (eval $ac_try) 2>&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); }; } &&
17422 { ac_try
='test -s conftest.$ac_objext'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; }; then
17430 cat >conftest.
$ac_ext <<_ACEOF
17433 cat confdefs.h
>>conftest.
$ac_ext
17434 cat >>conftest.
$ac_ext <<_ACEOF
17435 /* end confdefs.h. */
17436 $ac_includes_default
17440 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17447 rm -f conftest.
$ac_objext
17448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17449 (eval $ac_compile) 2>conftest.er1
17451 grep -v '^ *+' conftest.er1
>conftest.err
17453 cat conftest.err
>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; } &&
17462 { ac_try
='test -s conftest.$ac_objext'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; }; then
17468 ac_lo
=$ac_mid; break
17470 echo "$as_me: failed program was:" >&5
17471 sed 's/^/| /' conftest.
$ac_ext >&5
17473 ac_hi
=`expr '(' $ac_mid ')' - 1`
17474 if test $ac_mid -le $ac_hi; then
17478 ac_mid
=`expr 2 '*' $ac_mid`
17480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17483 echo "$as_me: failed program was:" >&5
17484 sed 's/^/| /' conftest.
$ac_ext >&5
17488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17491 # Binary search between lo and hi bounds.
17492 while test "x$ac_lo" != "x$ac_hi"; do
17493 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17494 cat >conftest.
$ac_ext <<_ACEOF
17497 cat confdefs.h
>>conftest.
$ac_ext
17498 cat >>conftest.
$ac_ext <<_ACEOF
17499 /* end confdefs.h. */
17500 $ac_includes_default
17504 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17511 rm -f conftest.
$ac_objext
17512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17513 (eval $ac_compile) 2>conftest.er1
17515 grep -v '^ *+' conftest.er1
>conftest.err
17517 cat conftest.err
>&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); } &&
17520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; } &&
17526 { ac_try
='test -s conftest.$ac_objext'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17534 echo "$as_me: failed program was:" >&5
17535 sed 's/^/| /' conftest.
$ac_ext >&5
17537 ac_lo
=`expr '(' $ac_mid ')' + 1`
17539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17542 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17543 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17544 See \`config.log' for more details." >&5
17545 echo "$as_me: error: cannot compute sizeof (int), 77
17546 See \`config.log' for more details." >&2;}
17547 { (exit 1); exit 1; }; } ;;
17550 if test "$cross_compiling" = yes; then
17551 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17552 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17553 { (exit 1); exit 1; }; }
17555 cat >conftest.
$ac_ext <<_ACEOF
17558 cat confdefs.h
>>conftest.
$ac_ext
17559 cat >>conftest.
$ac_ext <<_ACEOF
17560 /* end confdefs.h. */
17561 $ac_includes_default
17562 long longval () { return (long) (sizeof (int)); }
17563 unsigned long ulongval () { return (long) (sizeof (int)); }
17565 #include <stdlib.h>
17570 FILE *f = fopen ("conftest.val", "w");
17573 if (((long) (sizeof (int))) < 0)
17575 long i = longval ();
17576 if (i != ((long) (sizeof (int))))
17578 fprintf (f, "%ld\n", i);
17582 unsigned long i = ulongval ();
17583 if (i != ((long) (sizeof (int))))
17585 fprintf (f, "%lu\n", i);
17587 exit (ferror (f) || fclose (f) != 0);
17593 rm -f conftest
$ac_exeext
17594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17595 (eval $ac_link) 2>&5
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17600 (eval $ac_try) 2>&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); }; }; then
17604 ac_cv_sizeof_int
=`cat conftest.val`
17606 echo "$as_me: program exited with status $ac_status" >&5
17607 echo "$as_me: failed program was:" >&5
17608 sed 's/^/| /' conftest.
$ac_ext >&5
17610 ( exit $ac_status )
17611 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17612 See \`config.log' for more details." >&5
17613 echo "$as_me: error: cannot compute sizeof (int), 77
17614 See \`config.log' for more details." >&2;}
17615 { (exit 1); exit 1; }; }
17617 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17625 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17626 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17627 cat >>confdefs.h
<<_ACEOF
17628 #define SIZEOF_INT $ac_cv_sizeof_int
17632 echo "$as_me:$LINENO: checking for long" >&5
17633 echo $ECHO_N "checking for long... $ECHO_C" >&6
17634 if test "${ac_cv_type_long+set}" = set; then
17635 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 cat >conftest.
$ac_ext <<_ACEOF
17640 cat confdefs.h
>>conftest.
$ac_ext
17641 cat >>conftest.
$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 $ac_includes_default
17655 rm -f conftest.
$ac_objext
17656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17657 (eval $ac_compile) 2>conftest.er1
17659 grep -v '^ *+' conftest.er1
>conftest.err
17661 cat conftest.err
>&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); } &&
17664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; } &&
17670 { ac_try
='test -s conftest.$ac_objext'
17671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672 (eval $ac_try) 2>&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; }; then
17676 ac_cv_type_long
=yes
17678 echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.
$ac_ext >&5
17683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17685 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
17686 echo "${ECHO_T}$ac_cv_type_long" >&6
17688 echo "$as_me:$LINENO: checking size of long" >&5
17689 echo $ECHO_N "checking size of long... $ECHO_C" >&6
17690 if test "${ac_cv_sizeof_long+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 if test "$ac_cv_type_long" = yes; then
17694 # The cast to unsigned long works around a bug in the HP C Compiler
17695 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17696 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17697 # This bug is HP SR number 8606223364.
17698 if test "$cross_compiling" = yes; then
17699 # Depending upon the size, compute the lo and hi bounds.
17700 cat >conftest.
$ac_ext <<_ACEOF
17703 cat confdefs.h
>>conftest.
$ac_ext
17704 cat >>conftest.
$ac_ext <<_ACEOF
17705 /* end confdefs.h. */
17706 $ac_includes_default
17710 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
17717 rm -f conftest.
$ac_objext
17718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17719 (eval $ac_compile) 2>conftest.er1
17721 grep -v '^ *+' conftest.er1
>conftest.err
17723 cat conftest.err
>&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } &&
17726 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17728 (eval $ac_try) 2>&5
17730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17731 (exit $ac_status); }; } &&
17732 { ac_try
='test -s conftest.$ac_objext'
17733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17734 (eval $ac_try) 2>&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); }; }; then
17740 cat >conftest.
$ac_ext <<_ACEOF
17743 cat confdefs.h
>>conftest.
$ac_ext
17744 cat >>conftest.
$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17746 $ac_includes_default
17750 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17757 rm -f conftest.
$ac_objext
17758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17759 (eval $ac_compile) 2>conftest.er1
17761 grep -v '^ *+' conftest.er1
>conftest.err
17763 cat conftest.err
>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } &&
17766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; } &&
17772 { ac_try
='test -s conftest.$ac_objext'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; }; then
17778 ac_hi
=$ac_mid; break
17780 echo "$as_me: failed program was:" >&5
17781 sed 's/^/| /' conftest.
$ac_ext >&5
17783 ac_lo
=`expr $ac_mid + 1`
17784 if test $ac_lo -le $ac_mid; then
17788 ac_mid
=`expr 2 '*' $ac_mid + 1`
17790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.
$ac_ext >&5
17796 cat >conftest.
$ac_ext <<_ACEOF
17799 cat confdefs.h
>>conftest.
$ac_ext
17800 cat >>conftest.
$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 $ac_includes_default
17806 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17813 rm -f conftest.
$ac_objext
17814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17815 (eval $ac_compile) 2>conftest.er1
17817 grep -v '^ *+' conftest.er1
>conftest.err
17819 cat conftest.err
>&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } &&
17822 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17824 (eval $ac_try) 2>&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); }; } &&
17828 { ac_try
='test -s conftest.$ac_objext'
17829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17830 (eval $ac_try) 2>&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); }; }; then
17836 cat >conftest.
$ac_ext <<_ACEOF
17839 cat confdefs.h
>>conftest.
$ac_ext
17840 cat >>conftest.
$ac_ext <<_ACEOF
17841 /* end confdefs.h. */
17842 $ac_includes_default
17846 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17853 rm -f conftest.
$ac_objext
17854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17855 (eval $ac_compile) 2>conftest.er1
17857 grep -v '^ *+' conftest.er1
>conftest.err
17859 cat conftest.err
>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); } &&
17862 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; } &&
17868 { ac_try
='test -s conftest.$ac_objext'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; }; then
17874 ac_lo
=$ac_mid; break
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.
$ac_ext >&5
17879 ac_hi
=`expr '(' $ac_mid ')' - 1`
17880 if test $ac_mid -le $ac_hi; then
17884 ac_mid
=`expr 2 '*' $ac_mid`
17886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17889 echo "$as_me: failed program was:" >&5
17890 sed 's/^/| /' conftest.
$ac_ext >&5
17894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17897 # Binary search between lo and hi bounds.
17898 while test "x$ac_lo" != "x$ac_hi"; do
17899 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17900 cat >conftest.
$ac_ext <<_ACEOF
17903 cat confdefs.h
>>conftest.
$ac_ext
17904 cat >>conftest.
$ac_ext <<_ACEOF
17905 /* end confdefs.h. */
17906 $ac_includes_default
17910 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17917 rm -f conftest.
$ac_objext
17918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17919 (eval $ac_compile) 2>conftest.er1
17921 grep -v '^ *+' conftest.er1
>conftest.err
17923 cat conftest.err
>&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } &&
17926 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; } &&
17932 { ac_try
='test -s conftest.$ac_objext'
17933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17934 (eval $ac_try) 2>&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); }; }; then
17940 echo "$as_me: failed program was:" >&5
17941 sed 's/^/| /' conftest.
$ac_ext >&5
17943 ac_lo
=`expr '(' $ac_mid ')' + 1`
17945 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17948 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17949 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17950 See \`config.log' for more details." >&5
17951 echo "$as_me: error: cannot compute sizeof (long), 77
17952 See \`config.log' for more details." >&2;}
17953 { (exit 1); exit 1; }; } ;;
17956 if test "$cross_compiling" = yes; then
17957 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17958 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17959 { (exit 1); exit 1; }; }
17961 cat >conftest.
$ac_ext <<_ACEOF
17964 cat confdefs.h
>>conftest.
$ac_ext
17965 cat >>conftest.
$ac_ext <<_ACEOF
17966 /* end confdefs.h. */
17967 $ac_includes_default
17968 long longval () { return (long) (sizeof (long)); }
17969 unsigned long ulongval () { return (long) (sizeof (long)); }
17971 #include <stdlib.h>
17976 FILE *f = fopen ("conftest.val", "w");
17979 if (((long) (sizeof (long))) < 0)
17981 long i = longval ();
17982 if (i != ((long) (sizeof (long))))
17984 fprintf (f, "%ld\n", i);
17988 unsigned long i = ulongval ();
17989 if (i != ((long) (sizeof (long))))
17991 fprintf (f, "%lu\n", i);
17993 exit (ferror (f) || fclose (f) != 0);
17999 rm -f conftest
$ac_exeext
18000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18001 (eval $ac_link) 2>&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18006 (eval $ac_try) 2>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); }; }; then
18010 ac_cv_sizeof_long
=`cat conftest.val`
18012 echo "$as_me: program exited with status $ac_status" >&5
18013 echo "$as_me: failed program was:" >&5
18014 sed 's/^/| /' conftest.
$ac_ext >&5
18016 ( exit $ac_status )
18017 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18018 See \`config.log' for more details." >&5
18019 echo "$as_me: error: cannot compute sizeof (long), 77
18020 See \`config.log' for more details." >&2;}
18021 { (exit 1); exit 1; }; }
18023 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18028 ac_cv_sizeof_long
=0
18031 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18032 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18033 cat >>confdefs.h
<<_ACEOF
18034 #define SIZEOF_LONG $ac_cv_sizeof_long
18038 echo "$as_me:$LINENO: checking for size_t" >&5
18039 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18040 if test "${ac_cv_type_size_t+set}" = set; then
18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 cat >conftest.
$ac_ext <<_ACEOF
18046 cat confdefs.h
>>conftest.
$ac_ext
18047 cat >>conftest.
$ac_ext <<_ACEOF
18048 /* end confdefs.h. */
18049 $ac_includes_default
18055 if (sizeof (size_t))
18061 rm -f conftest.
$ac_objext
18062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18063 (eval $ac_compile) 2>conftest.er1
18065 grep -v '^ *+' conftest.er1
>conftest.err
18067 cat conftest.err
>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } &&
18070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072 (eval $ac_try) 2>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); }; } &&
18076 { ac_try
='test -s conftest.$ac_objext'
18077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18078 (eval $ac_try) 2>&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); }; }; then
18082 ac_cv_type_size_t
=yes
18084 echo "$as_me: failed program was:" >&5
18085 sed 's/^/| /' conftest.
$ac_ext >&5
18087 ac_cv_type_size_t
=no
18089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18091 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18092 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18094 echo "$as_me:$LINENO: checking size of size_t" >&5
18095 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18096 if test "${ac_cv_sizeof_size_t+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 if test "$ac_cv_type_size_t" = yes; then
18100 # The cast to unsigned long works around a bug in the HP C Compiler
18101 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18102 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18103 # This bug is HP SR number 8606223364.
18104 if test "$cross_compiling" = yes; then
18105 # Depending upon the size, compute the lo and hi bounds.
18106 cat >conftest.
$ac_ext <<_ACEOF
18109 cat confdefs.h
>>conftest.
$ac_ext
18110 cat >>conftest.
$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112 $ac_includes_default
18116 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18123 rm -f conftest.
$ac_objext
18124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18125 (eval $ac_compile) 2>conftest.er1
18127 grep -v '^ *+' conftest.er1
>conftest.err
18129 cat conftest.err
>&5
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); } &&
18132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134 (eval $ac_try) 2>&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); }; } &&
18138 { ac_try
='test -s conftest.$ac_objext'
18139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140 (eval $ac_try) 2>&5
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }; }; then
18146 cat >conftest.
$ac_ext <<_ACEOF
18149 cat confdefs.h
>>conftest.
$ac_ext
18150 cat >>conftest.
$ac_ext <<_ACEOF
18151 /* end confdefs.h. */
18152 $ac_includes_default
18156 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18163 rm -f conftest.
$ac_objext
18164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18165 (eval $ac_compile) 2>conftest.er1
18167 grep -v '^ *+' conftest.er1
>conftest.err
18169 cat conftest.err
>&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); } &&
18172 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18174 (eval $ac_try) 2>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); }; } &&
18178 { ac_try
='test -s conftest.$ac_objext'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; }; then
18184 ac_hi
=$ac_mid; break
18186 echo "$as_me: failed program was:" >&5
18187 sed 's/^/| /' conftest.
$ac_ext >&5
18189 ac_lo
=`expr $ac_mid + 1`
18190 if test $ac_lo -le $ac_mid; then
18194 ac_mid
=`expr 2 '*' $ac_mid + 1`
18196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.
$ac_ext >&5
18202 cat >conftest.
$ac_ext <<_ACEOF
18205 cat confdefs.h
>>conftest.
$ac_ext
18206 cat >>conftest.
$ac_ext <<_ACEOF
18207 /* end confdefs.h. */
18208 $ac_includes_default
18212 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
18219 rm -f conftest.
$ac_objext
18220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18221 (eval $ac_compile) 2>conftest.er1
18223 grep -v '^ *+' conftest.er1
>conftest.err
18225 cat conftest.err
>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); } &&
18228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; } &&
18234 { ac_try
='test -s conftest.$ac_objext'
18235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18236 (eval $ac_try) 2>&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); }; }; then
18242 cat >conftest.
$ac_ext <<_ACEOF
18245 cat confdefs.h
>>conftest.
$ac_ext
18246 cat >>conftest.
$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248 $ac_includes_default
18252 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
18259 rm -f conftest.
$ac_objext
18260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18261 (eval $ac_compile) 2>conftest.er1
18263 grep -v '^ *+' conftest.er1
>conftest.err
18265 cat conftest.err
>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); } &&
18268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18270 (eval $ac_try) 2>&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); }; } &&
18274 { ac_try
='test -s conftest.$ac_objext'
18275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); }; }; then
18280 ac_lo
=$ac_mid; break
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.
$ac_ext >&5
18285 ac_hi
=`expr '(' $ac_mid ')' - 1`
18286 if test $ac_mid -le $ac_hi; then
18290 ac_mid
=`expr 2 '*' $ac_mid`
18292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.
$ac_ext >&5
18300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18303 # Binary search between lo and hi bounds.
18304 while test "x$ac_lo" != "x$ac_hi"; do
18305 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18306 cat >conftest.
$ac_ext <<_ACEOF
18309 cat confdefs.h
>>conftest.
$ac_ext
18310 cat >>conftest.
$ac_ext <<_ACEOF
18311 /* end confdefs.h. */
18312 $ac_includes_default
18316 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18323 rm -f conftest.
$ac_objext
18324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18325 (eval $ac_compile) 2>conftest.er1
18327 grep -v '^ *+' conftest.er1
>conftest.err
18329 cat conftest.err
>&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } &&
18332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18334 (eval $ac_try) 2>&5
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); }; } &&
18338 { ac_try
='test -s conftest.$ac_objext'
18339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18340 (eval $ac_try) 2>&5
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); }; }; then
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.
$ac_ext >&5
18349 ac_lo
=`expr '(' $ac_mid ')' + 1`
18351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18354 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
18355 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18356 See \`config.log' for more details." >&5
18357 echo "$as_me: error: cannot compute sizeof (size_t), 77
18358 See \`config.log' for more details." >&2;}
18359 { (exit 1); exit 1; }; } ;;
18362 if test "$cross_compiling" = yes; then
18363 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18364 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18365 { (exit 1); exit 1; }; }
18367 cat >conftest.
$ac_ext <<_ACEOF
18370 cat confdefs.h
>>conftest.
$ac_ext
18371 cat >>conftest.
$ac_ext <<_ACEOF
18372 /* end confdefs.h. */
18373 $ac_includes_default
18374 long longval () { return (long) (sizeof (size_t)); }
18375 unsigned long ulongval () { return (long) (sizeof (size_t)); }
18377 #include <stdlib.h>
18382 FILE *f = fopen ("conftest.val", "w");
18385 if (((long) (sizeof (size_t))) < 0)
18387 long i = longval ();
18388 if (i != ((long) (sizeof (size_t))))
18390 fprintf (f, "%ld\n", i);
18394 unsigned long i = ulongval ();
18395 if (i != ((long) (sizeof (size_t))))
18397 fprintf (f, "%lu\n", i);
18399 exit (ferror (f) || fclose (f) != 0);
18405 rm -f conftest
$ac_exeext
18406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18407 (eval $ac_link) 2>&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18412 (eval $ac_try) 2>&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); }; }; then
18416 ac_cv_sizeof_size_t
=`cat conftest.val`
18418 echo "$as_me: program exited with status $ac_status" >&5
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.
$ac_ext >&5
18422 ( exit $ac_status )
18423 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
18424 See \`config.log' for more details." >&5
18425 echo "$as_me: error: cannot compute sizeof (size_t), 77
18426 See \`config.log' for more details." >&2;}
18427 { (exit 1); exit 1; }; }
18429 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18434 ac_cv_sizeof_size_t
=0
18437 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
18438 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
18439 cat >>confdefs.h
<<_ACEOF
18440 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18447 echo "$as_me:$LINENO: checking for long long" >&5
18448 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18449 if test "${ac_cv_type_long_long+set}" = set; then
18450 echo $ECHO_N "(cached) $ECHO_C" >&6
18452 cat >conftest.
$ac_ext <<_ACEOF
18455 cat confdefs.h
>>conftest.
$ac_ext
18456 cat >>conftest.
$ac_ext <<_ACEOF
18457 /* end confdefs.h. */
18458 $ac_includes_default
18462 if ((long long *) 0)
18464 if (sizeof (long long))
18470 rm -f conftest.
$ac_objext
18471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18472 (eval $ac_compile) 2>conftest.er1
18474 grep -v '^ *+' conftest.er1
>conftest.err
18476 cat conftest.err
>&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); } &&
18479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18481 (eval $ac_try) 2>&5
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); }; } &&
18485 { ac_try
='test -s conftest.$ac_objext'
18486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487 (eval $ac_try) 2>&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); }; }; then
18491 ac_cv_type_long_long
=yes
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.
$ac_ext >&5
18496 ac_cv_type_long_long
=no
18498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18500 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18501 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18503 echo "$as_me:$LINENO: checking size of long long" >&5
18504 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18505 if test "${ac_cv_sizeof_long_long+set}" = set; then
18506 echo $ECHO_N "(cached) $ECHO_C" >&6
18508 if test "$ac_cv_type_long_long" = yes; then
18509 # The cast to unsigned long works around a bug in the HP C Compiler
18510 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18511 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18512 # This bug is HP SR number 8606223364.
18513 if test "$cross_compiling" = yes; then
18514 # Depending upon the size, compute the lo and hi bounds.
18515 cat >conftest.
$ac_ext <<_ACEOF
18518 cat confdefs.h
>>conftest.
$ac_ext
18519 cat >>conftest.
$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18521 $ac_includes_default
18525 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18532 rm -f conftest.
$ac_objext
18533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18534 (eval $ac_compile) 2>conftest.er1
18536 grep -v '^ *+' conftest.er1
>conftest.err
18538 cat conftest.err
>&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); } &&
18541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; } &&
18547 { ac_try
='test -s conftest.$ac_objext'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; }; then
18555 cat >conftest.
$ac_ext <<_ACEOF
18558 cat confdefs.h
>>conftest.
$ac_ext
18559 cat >>conftest.
$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 $ac_includes_default
18565 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18572 rm -f conftest.
$ac_objext
18573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18574 (eval $ac_compile) 2>conftest.er1
18576 grep -v '^ *+' conftest.er1
>conftest.err
18578 cat conftest.err
>&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); } &&
18581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18583 (eval $ac_try) 2>&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); }; } &&
18587 { ac_try
='test -s conftest.$ac_objext'
18588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18589 (eval $ac_try) 2>&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); }; }; then
18593 ac_hi
=$ac_mid; break
18595 echo "$as_me: failed program was:" >&5
18596 sed 's/^/| /' conftest.
$ac_ext >&5
18598 ac_lo
=`expr $ac_mid + 1`
18599 if test $ac_lo -le $ac_mid; then
18603 ac_mid
=`expr 2 '*' $ac_mid + 1`
18605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.
$ac_ext >&5
18611 cat >conftest.
$ac_ext <<_ACEOF
18614 cat confdefs.h
>>conftest.
$ac_ext
18615 cat >>conftest.
$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617 $ac_includes_default
18621 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
18628 rm -f conftest.
$ac_objext
18629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18630 (eval $ac_compile) 2>conftest.er1
18632 grep -v '^ *+' conftest.er1
>conftest.err
18634 cat conftest.err
>&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } &&
18637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18639 (eval $ac_try) 2>&5
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); }; } &&
18643 { ac_try
='test -s conftest.$ac_objext'
18644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18645 (eval $ac_try) 2>&5
18647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18648 (exit $ac_status); }; }; then
18651 cat >conftest.
$ac_ext <<_ACEOF
18654 cat confdefs.h
>>conftest.
$ac_ext
18655 cat >>conftest.
$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657 $ac_includes_default
18661 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18668 rm -f conftest.
$ac_objext
18669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18670 (eval $ac_compile) 2>conftest.er1
18672 grep -v '^ *+' conftest.er1
>conftest.err
18674 cat conftest.err
>&5
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } &&
18677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; } &&
18683 { ac_try
='test -s conftest.$ac_objext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 ac_lo
=$ac_mid; break
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.
$ac_ext >&5
18694 ac_hi
=`expr '(' $ac_mid ')' - 1`
18695 if test $ac_mid -le $ac_hi; then
18699 ac_mid
=`expr 2 '*' $ac_mid`
18701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18704 echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.
$ac_ext >&5
18709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18712 # Binary search between lo and hi bounds.
18713 while test "x$ac_lo" != "x$ac_hi"; do
18714 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18715 cat >conftest.
$ac_ext <<_ACEOF
18718 cat confdefs.h
>>conftest.
$ac_ext
18719 cat >>conftest.
$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 $ac_includes_default
18725 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18732 rm -f conftest.
$ac_objext
18733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18734 (eval $ac_compile) 2>conftest.er1
18736 grep -v '^ *+' conftest.er1
>conftest.err
18738 cat conftest.err
>&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } &&
18741 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; } &&
18747 { ac_try
='test -s conftest.$ac_objext'
18748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18749 (eval $ac_try) 2>&5
18751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18752 (exit $ac_status); }; }; then
18755 echo "$as_me: failed program was:" >&5
18756 sed 's/^/| /' conftest.
$ac_ext >&5
18758 ac_lo
=`expr '(' $ac_mid ')' + 1`
18760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18763 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
18764 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18765 See \`config.log' for more details." >&5
18766 echo "$as_me: error: cannot compute sizeof (long long), 77
18767 See \`config.log' for more details." >&2;}
18768 { (exit 1); exit 1; }; } ;;
18771 if test "$cross_compiling" = yes; then
18772 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18773 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18774 { (exit 1); exit 1; }; }
18776 cat >conftest.
$ac_ext <<_ACEOF
18779 cat confdefs.h
>>conftest.
$ac_ext
18780 cat >>conftest.
$ac_ext <<_ACEOF
18781 /* end confdefs.h. */
18782 $ac_includes_default
18783 long longval () { return (long) (sizeof (long long)); }
18784 unsigned long ulongval () { return (long) (sizeof (long long)); }
18786 #include <stdlib.h>
18791 FILE *f = fopen ("conftest.val", "w");
18794 if (((long) (sizeof (long long))) < 0)
18796 long i = longval ();
18797 if (i != ((long) (sizeof (long long))))
18799 fprintf (f, "%ld\n", i);
18803 unsigned long i = ulongval ();
18804 if (i != ((long) (sizeof (long long))))
18806 fprintf (f, "%lu\n", i);
18808 exit (ferror (f) || fclose (f) != 0);
18814 rm -f conftest
$ac_exeext
18815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18816 (eval $ac_link) 2>&5
18818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18819 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18821 (eval $ac_try) 2>&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); }; }; then
18825 ac_cv_sizeof_long_long
=`cat conftest.val`
18827 echo "$as_me: program exited with status $ac_status" >&5
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.
$ac_ext >&5
18831 ( exit $ac_status )
18832 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18833 See \`config.log' for more details." >&5
18834 echo "$as_me: error: cannot compute sizeof (long long), 77
18835 See \`config.log' for more details." >&2;}
18836 { (exit 1); exit 1; }; }
18838 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18843 ac_cv_sizeof_long_long
=0
18846 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18847 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18848 cat >>confdefs.h
<<_ACEOF
18849 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18855 echo "$as_me:$LINENO: checking for long long" >&5
18856 echo $ECHO_N "checking for long long... $ECHO_C" >&6
18857 if test "${ac_cv_type_long_long+set}" = set; then
18858 echo $ECHO_N "(cached) $ECHO_C" >&6
18860 cat >conftest.
$ac_ext <<_ACEOF
18863 cat confdefs.h
>>conftest.
$ac_ext
18864 cat >>conftest.
$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18870 if ((long long *) 0)
18872 if (sizeof (long long))
18878 rm -f conftest.
$ac_objext
18879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18880 (eval $ac_compile) 2>conftest.er1
18882 grep -v '^ *+' conftest.er1
>conftest.err
18884 cat conftest.err
>&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; } &&
18893 { ac_try
='test -s conftest.$ac_objext'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; }; then
18899 ac_cv_type_long_long
=yes
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.
$ac_ext >&5
18904 ac_cv_type_long_long
=no
18906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18908 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18909 echo "${ECHO_T}$ac_cv_type_long_long" >&6
18911 echo "$as_me:$LINENO: checking size of long long" >&5
18912 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
18913 if test "${ac_cv_sizeof_long_long+set}" = set; then
18914 echo $ECHO_N "(cached) $ECHO_C" >&6
18916 if test "$ac_cv_type_long_long" = yes; then
18917 # The cast to unsigned long works around a bug in the HP C Compiler
18918 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18919 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18920 # This bug is HP SR number 8606223364.
18921 if test "$cross_compiling" = yes; then
18922 # Depending upon the size, compute the lo and hi bounds.
18923 cat >conftest.
$ac_ext <<_ACEOF
18926 cat confdefs.h
>>conftest.
$ac_ext
18927 cat >>conftest.
$ac_ext <<_ACEOF
18928 /* end confdefs.h. */
18929 $ac_includes_default
18933 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
18940 rm -f conftest.
$ac_objext
18941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18942 (eval $ac_compile) 2>conftest.er1
18944 grep -v '^ *+' conftest.er1
>conftest.err
18946 cat conftest.err
>&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); } &&
18949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951 (eval $ac_try) 2>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); }; } &&
18955 { ac_try
='test -s conftest.$ac_objext'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; }; then
18963 cat >conftest.
$ac_ext <<_ACEOF
18966 cat confdefs.h
>>conftest.
$ac_ext
18967 cat >>conftest.
$ac_ext <<_ACEOF
18968 /* end confdefs.h. */
18969 $ac_includes_default
18973 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18980 rm -f conftest.
$ac_objext
18981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18982 (eval $ac_compile) 2>conftest.er1
18984 grep -v '^ *+' conftest.er1
>conftest.err
18986 cat conftest.err
>&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } &&
18989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18991 (eval $ac_try) 2>&5
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); }; } &&
18995 { ac_try
='test -s conftest.$ac_objext'
18996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18997 (eval $ac_try) 2>&5
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); }; }; then
19001 ac_hi
=$ac_mid; break
19003 echo "$as_me: failed program was:" >&5
19004 sed 's/^/| /' conftest.
$ac_ext >&5
19006 ac_lo
=`expr $ac_mid + 1`
19007 if test $ac_lo -le $ac_mid; then
19011 ac_mid
=`expr 2 '*' $ac_mid + 1`
19013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19016 echo "$as_me: failed program was:" >&5
19017 sed 's/^/| /' conftest.
$ac_ext >&5
19019 cat >conftest.
$ac_ext <<_ACEOF
19022 cat confdefs.h
>>conftest.
$ac_ext
19023 cat >>conftest.
$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 $ac_includes_default
19029 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19036 rm -f conftest.
$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19040 grep -v '^ *+' conftest.er1
>conftest.err
19042 cat conftest.err
>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; } &&
19051 { ac_try
='test -s conftest.$ac_objext'
19052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053 (eval $ac_try) 2>&5
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); }; }; then
19059 cat >conftest.
$ac_ext <<_ACEOF
19062 cat confdefs.h
>>conftest.
$ac_ext
19063 cat >>conftest.
$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19065 $ac_includes_default
19069 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19076 rm -f conftest.
$ac_objext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19078 (eval $ac_compile) 2>conftest.er1
19080 grep -v '^ *+' conftest.er1
>conftest.err
19082 cat conftest.err
>&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } &&
19085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; } &&
19091 { ac_try
='test -s conftest.$ac_objext'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; }; then
19097 ac_lo
=$ac_mid; break
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.
$ac_ext >&5
19102 ac_hi
=`expr '(' $ac_mid ')' - 1`
19103 if test $ac_mid -le $ac_hi; then
19107 ac_mid
=`expr 2 '*' $ac_mid`
19109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.
$ac_ext >&5
19117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19120 # Binary search between lo and hi bounds.
19121 while test "x$ac_lo" != "x$ac_hi"; do
19122 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19123 cat >conftest.
$ac_ext <<_ACEOF
19126 cat confdefs.h
>>conftest.
$ac_ext
19127 cat >>conftest.
$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 $ac_includes_default
19133 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19140 rm -f conftest.
$ac_objext
19141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19142 (eval $ac_compile) 2>conftest.er1
19144 grep -v '^ *+' conftest.er1
>conftest.err
19146 cat conftest.err
>&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } &&
19149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; } &&
19155 { ac_try
='test -s conftest.$ac_objext'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; }; then
19163 echo "$as_me: failed program was:" >&5
19164 sed 's/^/| /' conftest.
$ac_ext >&5
19166 ac_lo
=`expr '(' $ac_mid ')' + 1`
19168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19171 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19172 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19173 See \`config.log' for more details." >&5
19174 echo "$as_me: error: cannot compute sizeof (long long), 77
19175 See \`config.log' for more details." >&2;}
19176 { (exit 1); exit 1; }; } ;;
19179 if test "$cross_compiling" = yes; then
19180 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19181 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19182 { (exit 1); exit 1; }; }
19184 cat >conftest.
$ac_ext <<_ACEOF
19187 cat confdefs.h
>>conftest.
$ac_ext
19188 cat >>conftest.
$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190 $ac_includes_default
19191 long longval () { return (long) (sizeof (long long)); }
19192 unsigned long ulongval () { return (long) (sizeof (long long)); }
19194 #include <stdlib.h>
19199 FILE *f = fopen ("conftest.val", "w");
19202 if (((long) (sizeof (long long))) < 0)
19204 long i = longval ();
19205 if (i != ((long) (sizeof (long long))))
19207 fprintf (f, "%ld\n", i);
19211 unsigned long i = ulongval ();
19212 if (i != ((long) (sizeof (long long))))
19214 fprintf (f, "%lu\n", i);
19216 exit (ferror (f) || fclose (f) != 0);
19222 rm -f conftest
$ac_exeext
19223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19224 (eval $ac_link) 2>&5
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229 (eval $ac_try) 2>&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); }; }; then
19233 ac_cv_sizeof_long_long
=`cat conftest.val`
19235 echo "$as_me: program exited with status $ac_status" >&5
19236 echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.
$ac_ext >&5
19239 ( exit $ac_status )
19240 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19241 See \`config.log' for more details." >&5
19242 echo "$as_me: error: cannot compute sizeof (long long), 77
19243 See \`config.log' for more details." >&2;}
19244 { (exit 1); exit 1; }; }
19246 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19251 ac_cv_sizeof_long_long
=0
19254 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19255 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19256 cat >>confdefs.h
<<_ACEOF
19257 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19261 if test "$ac_cv_sizeof_long_long" != "0"; then
19262 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
19266 echo "$as_me:$LINENO: checking for long long" >&5
19267 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19268 if test "${ac_cv_type_long_long+set}" = set; then
19269 echo $ECHO_N "(cached) $ECHO_C" >&6
19271 cat >conftest.
$ac_ext <<_ACEOF
19274 cat confdefs.h
>>conftest.
$ac_ext
19275 cat >>conftest.
$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 $ac_includes_default
19281 if ((long long *) 0)
19283 if (sizeof (long long))
19289 rm -f conftest.
$ac_objext
19290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19291 (eval $ac_compile) 2>conftest.er1
19293 grep -v '^ *+' conftest.er1
>conftest.err
19295 cat conftest.err
>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } &&
19298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300 (eval $ac_try) 2>&5
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); }; } &&
19304 { ac_try
='test -s conftest.$ac_objext'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; }; then
19310 ac_cv_type_long_long
=yes
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.
$ac_ext >&5
19315 ac_cv_type_long_long
=no
19317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19319 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19320 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19322 echo "$as_me:$LINENO: checking size of long long" >&5
19323 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19324 if test "${ac_cv_sizeof_long_long+set}" = set; then
19325 echo $ECHO_N "(cached) $ECHO_C" >&6
19327 if test "$ac_cv_type_long_long" = yes; then
19328 # The cast to unsigned long works around a bug in the HP C Compiler
19329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19331 # This bug is HP SR number 8606223364.
19332 if test "$cross_compiling" = yes; then
19333 # Depending upon the size, compute the lo and hi bounds.
19334 cat >conftest.
$ac_ext <<_ACEOF
19337 cat confdefs.h
>>conftest.
$ac_ext
19338 cat >>conftest.
$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340 $ac_includes_default
19344 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19351 rm -f conftest.
$ac_objext
19352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19353 (eval $ac_compile) 2>conftest.er1
19355 grep -v '^ *+' conftest.er1
>conftest.err
19357 cat conftest.err
>&5
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); } &&
19360 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362 (eval $ac_try) 2>&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); }; } &&
19366 { ac_try
='test -s conftest.$ac_objext'
19367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368 (eval $ac_try) 2>&5
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); }; }; then
19374 cat >conftest.
$ac_ext <<_ACEOF
19377 cat confdefs.h
>>conftest.
$ac_ext
19378 cat >>conftest.
$ac_ext <<_ACEOF
19379 /* end confdefs.h. */
19380 $ac_includes_default
19384 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19391 rm -f conftest.
$ac_objext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393 (eval $ac_compile) 2>conftest.er1
19395 grep -v '^ *+' conftest.er1
>conftest.err
19397 cat conftest.err
>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402 (eval $ac_try) 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); }; } &&
19406 { ac_try
='test -s conftest.$ac_objext'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; }; then
19412 ac_hi
=$ac_mid; break
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.
$ac_ext >&5
19417 ac_lo
=`expr $ac_mid + 1`
19418 if test $ac_lo -le $ac_mid; then
19422 ac_mid
=`expr 2 '*' $ac_mid + 1`
19424 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19427 echo "$as_me: failed program was:" >&5
19428 sed 's/^/| /' conftest.
$ac_ext >&5
19430 cat >conftest.
$ac_ext <<_ACEOF
19433 cat confdefs.h
>>conftest.
$ac_ext
19434 cat >>conftest.
$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 $ac_includes_default
19440 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19447 rm -f conftest.
$ac_objext
19448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19449 (eval $ac_compile) 2>conftest.er1
19451 grep -v '^ *+' conftest.er1
>conftest.err
19453 cat conftest.err
>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } &&
19456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19458 (eval $ac_try) 2>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); }; } &&
19462 { ac_try
='test -s conftest.$ac_objext'
19463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19464 (eval $ac_try) 2>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; }; then
19470 cat >conftest.
$ac_ext <<_ACEOF
19473 cat confdefs.h
>>conftest.
$ac_ext
19474 cat >>conftest.
$ac_ext <<_ACEOF
19475 /* end confdefs.h. */
19476 $ac_includes_default
19480 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19487 rm -f conftest.
$ac_objext
19488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19489 (eval $ac_compile) 2>conftest.er1
19491 grep -v '^ *+' conftest.er1
>conftest.err
19493 cat conftest.err
>&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); } &&
19496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19498 (eval $ac_try) 2>&5
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; } &&
19502 { ac_try
='test -s conftest.$ac_objext'
19503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19504 (eval $ac_try) 2>&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); }; }; then
19508 ac_lo
=$ac_mid; break
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.
$ac_ext >&5
19513 ac_hi
=`expr '(' $ac_mid ')' - 1`
19514 if test $ac_mid -le $ac_hi; then
19518 ac_mid
=`expr 2 '*' $ac_mid`
19520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19523 echo "$as_me: failed program was:" >&5
19524 sed 's/^/| /' conftest.
$ac_ext >&5
19528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19531 # Binary search between lo and hi bounds.
19532 while test "x$ac_lo" != "x$ac_hi"; do
19533 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19534 cat >conftest.
$ac_ext <<_ACEOF
19537 cat confdefs.h
>>conftest.
$ac_ext
19538 cat >>conftest.
$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19540 $ac_includes_default
19544 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
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
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.
$ac_ext >&5
19577 ac_lo
=`expr '(' $ac_mid ')' + 1`
19579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19582 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19583 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19584 See \`config.log' for more details." >&5
19585 echo "$as_me: error: cannot compute sizeof (long long), 77
19586 See \`config.log' for more details." >&2;}
19587 { (exit 1); exit 1; }; } ;;
19590 if test "$cross_compiling" = yes; then
19591 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19592 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19593 { (exit 1); exit 1; }; }
19595 cat >conftest.
$ac_ext <<_ACEOF
19598 cat confdefs.h
>>conftest.
$ac_ext
19599 cat >>conftest.
$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19601 $ac_includes_default
19602 long longval () { return (long) (sizeof (long long)); }
19603 unsigned long ulongval () { return (long) (sizeof (long long)); }
19605 #include <stdlib.h>
19610 FILE *f = fopen ("conftest.val", "w");
19613 if (((long) (sizeof (long long))) < 0)
19615 long i = longval ();
19616 if (i != ((long) (sizeof (long long))))
19618 fprintf (f, "%ld\n", i);
19622 unsigned long i = ulongval ();
19623 if (i != ((long) (sizeof (long long))))
19625 fprintf (f, "%lu\n", i);
19627 exit (ferror (f) || fclose (f) != 0);
19633 rm -f conftest
$ac_exeext
19634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19635 (eval $ac_link) 2>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19640 (eval $ac_try) 2>&5
19642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19643 (exit $ac_status); }; }; then
19644 ac_cv_sizeof_long_long
=`cat conftest.val`
19646 echo "$as_me: program exited with status $ac_status" >&5
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.
$ac_ext >&5
19650 ( exit $ac_status )
19651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19652 See \`config.log' for more details." >&5
19653 echo "$as_me: error: cannot compute sizeof (long long), 77
19654 See \`config.log' for more details." >&2;}
19655 { (exit 1); exit 1; }; }
19657 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19662 ac_cv_sizeof_long_long
=0
19665 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19666 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19667 cat >>confdefs.h
<<_ACEOF
19668 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19674 echo "$as_me:$LINENO: checking for wchar_t" >&5
19675 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
19676 if test "${ac_cv_type_wchar_t+set}" = set; then
19677 echo $ECHO_N "(cached) $ECHO_C" >&6
19679 cat >conftest.
$ac_ext <<_ACEOF
19682 cat confdefs.h
>>conftest.
$ac_ext
19683 cat >>conftest.
$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19686 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19687 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19688 # error "fake wchar_t"
19690 #ifdef HAVE_WCHAR_H
19692 # include <stddef.h>
19694 # include <wchar.h>
19696 #ifdef HAVE_STDLIB_H
19697 # include <stdlib.h>
19708 if (sizeof (wchar_t))
19714 rm -f conftest.
$ac_objext
19715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19716 (eval $ac_compile) 2>conftest.er1
19718 grep -v '^ *+' conftest.er1
>conftest.err
19720 cat conftest.err
>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } &&
19723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19725 (eval $ac_try) 2>&5
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); }; } &&
19729 { ac_try
='test -s conftest.$ac_objext'
19730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19731 (eval $ac_try) 2>&5
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }; }; then
19735 ac_cv_type_wchar_t
=yes
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.
$ac_ext >&5
19740 ac_cv_type_wchar_t
=no
19742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19744 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
19745 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
19747 echo "$as_me:$LINENO: checking size of wchar_t" >&5
19748 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
19749 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 if test "$ac_cv_type_wchar_t" = yes; then
19753 # The cast to unsigned long works around a bug in the HP C Compiler
19754 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19755 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19756 # This bug is HP SR number 8606223364.
19757 if test "$cross_compiling" = yes; then
19758 # Depending upon the size, compute the lo and hi bounds.
19759 cat >conftest.
$ac_ext <<_ACEOF
19762 cat confdefs.h
>>conftest.
$ac_ext
19763 cat >>conftest.
$ac_ext <<_ACEOF
19764 /* end confdefs.h. */
19766 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19767 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19768 # error "fake wchar_t"
19770 #ifdef HAVE_WCHAR_H
19772 # include <stddef.h>
19774 # include <wchar.h>
19776 #ifdef HAVE_STDLIB_H
19777 # include <stdlib.h>
19786 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
19793 rm -f conftest.
$ac_objext
19794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19795 (eval $ac_compile) 2>conftest.er1
19797 grep -v '^ *+' conftest.er1
>conftest.err
19799 cat conftest.err
>&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); } &&
19802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19804 (eval $ac_try) 2>&5
19806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807 (exit $ac_status); }; } &&
19808 { ac_try
='test -s conftest.$ac_objext'
19809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810 (eval $ac_try) 2>&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); }; }; then
19816 cat >conftest.
$ac_ext <<_ACEOF
19819 cat confdefs.h
>>conftest.
$ac_ext
19820 cat >>conftest.
$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19823 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19824 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19825 # error "fake wchar_t"
19827 #ifdef HAVE_WCHAR_H
19829 # include <stddef.h>
19831 # include <wchar.h>
19833 #ifdef HAVE_STDLIB_H
19834 # include <stdlib.h>
19843 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
19850 rm -f conftest.
$ac_objext
19851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19852 (eval $ac_compile) 2>conftest.er1
19854 grep -v '^ *+' conftest.er1
>conftest.err
19856 cat conftest.err
>&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } &&
19859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19861 (eval $ac_try) 2>&5
19863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19864 (exit $ac_status); }; } &&
19865 { ac_try
='test -s conftest.$ac_objext'
19866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19867 (eval $ac_try) 2>&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); }; }; then
19871 ac_hi
=$ac_mid; break
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.
$ac_ext >&5
19876 ac_lo
=`expr $ac_mid + 1`
19877 if test $ac_lo -le $ac_mid; then
19881 ac_mid
=`expr 2 '*' $ac_mid + 1`
19883 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.
$ac_ext >&5
19889 cat >conftest.
$ac_ext <<_ACEOF
19892 cat confdefs.h
>>conftest.
$ac_ext
19893 cat >>conftest.
$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19896 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19897 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19898 # error "fake wchar_t"
19900 #ifdef HAVE_WCHAR_H
19902 # include <stddef.h>
19904 # include <wchar.h>
19906 #ifdef HAVE_STDLIB_H
19907 # include <stdlib.h>
19916 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
19923 rm -f conftest.
$ac_objext
19924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19925 (eval $ac_compile) 2>conftest.er1
19927 grep -v '^ *+' conftest.er1
>conftest.err
19929 cat conftest.err
>&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); } &&
19932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934 (eval $ac_try) 2>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; } &&
19938 { ac_try
='test -s conftest.$ac_objext'
19939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19940 (eval $ac_try) 2>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); }; }; then
19946 cat >conftest.
$ac_ext <<_ACEOF
19949 cat confdefs.h
>>conftest.
$ac_ext
19950 cat >>conftest.
$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19953 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
19954 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
19955 # error "fake wchar_t"
19957 #ifdef HAVE_WCHAR_H
19959 # include <stddef.h>
19961 # include <wchar.h>
19963 #ifdef HAVE_STDLIB_H
19964 # include <stdlib.h>
19973 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
19980 rm -f conftest.
$ac_objext
19981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19982 (eval $ac_compile) 2>conftest.er1
19984 grep -v '^ *+' conftest.er1
>conftest.err
19986 cat conftest.err
>&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); } &&
19989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; } &&
19995 { ac_try
='test -s conftest.$ac_objext'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; }; then
20001 ac_lo
=$ac_mid; break
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.
$ac_ext >&5
20006 ac_hi
=`expr '(' $ac_mid ')' - 1`
20007 if test $ac_mid -le $ac_hi; then
20011 ac_mid
=`expr 2 '*' $ac_mid`
20013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.
$ac_ext >&5
20021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20024 # Binary search between lo and hi bounds.
20025 while test "x$ac_lo" != "x$ac_hi"; do
20026 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20027 cat >conftest.
$ac_ext <<_ACEOF
20030 cat confdefs.h
>>conftest.
$ac_ext
20031 cat >>conftest.
$ac_ext <<_ACEOF
20032 /* end confdefs.h. */
20034 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20035 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20036 # error "fake wchar_t"
20038 #ifdef HAVE_WCHAR_H
20040 # include <stddef.h>
20042 # include <wchar.h>
20044 #ifdef HAVE_STDLIB_H
20045 # include <stdlib.h>
20054 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20061 rm -f conftest.
$ac_objext
20062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20063 (eval $ac_compile) 2>conftest.er1
20065 grep -v '^ *+' conftest.er1
>conftest.err
20067 cat conftest.err
>&5
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); } &&
20070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20072 (eval $ac_try) 2>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); }; } &&
20076 { ac_try
='test -s conftest.$ac_objext'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; }; then
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.
$ac_ext >&5
20087 ac_lo
=`expr '(' $ac_mid ')' + 1`
20089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20092 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
20093 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20094 See \`config.log' for more details." >&5
20095 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20096 See \`config.log' for more details." >&2;}
20097 { (exit 1); exit 1; }; } ;;
20100 if test "$cross_compiling" = yes; then
20101 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20102 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20103 { (exit 1); exit 1; }; }
20105 cat >conftest.
$ac_ext <<_ACEOF
20108 cat confdefs.h
>>conftest.
$ac_ext
20109 cat >>conftest.
$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20112 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20113 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20114 # error "fake wchar_t"
20116 #ifdef HAVE_WCHAR_H
20118 # include <stddef.h>
20120 # include <wchar.h>
20122 #ifdef HAVE_STDLIB_H
20123 # include <stdlib.h>
20129 long longval () { return (long) (sizeof (wchar_t)); }
20130 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20132 #include <stdlib.h>
20137 FILE *f = fopen ("conftest.val", "w");
20140 if (((long) (sizeof (wchar_t))) < 0)
20142 long i = longval ();
20143 if (i != ((long) (sizeof (wchar_t))))
20145 fprintf (f, "%ld\n", i);
20149 unsigned long i = ulongval ();
20150 if (i != ((long) (sizeof (wchar_t))))
20152 fprintf (f, "%lu\n", i);
20154 exit (ferror (f) || fclose (f) != 0);
20160 rm -f conftest
$ac_exeext
20161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20162 (eval $ac_link) 2>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20167 (eval $ac_try) 2>&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); }; }; then
20171 ac_cv_sizeof_wchar_t
=`cat conftest.val`
20173 echo "$as_me: program exited with status $ac_status" >&5
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.
$ac_ext >&5
20177 ( exit $ac_status )
20178 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20179 See \`config.log' for more details." >&5
20180 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20181 See \`config.log' for more details." >&2;}
20182 { (exit 1); exit 1; }; }
20184 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20189 ac_cv_sizeof_wchar_t
=0
20192 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
20193 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
20194 cat >>confdefs.h
<<_ACEOF
20195 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20199 if test "$ac_cv_sizeof_wchar_t" != "0"; then
20205 echo "$as_me:$LINENO: checking for va_copy" >&5
20206 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
20207 if test "${wx_cv_func_va_copy+set}" = set; then
20208 echo $ECHO_N "(cached) $ECHO_C" >&6
20211 cat >conftest.
$ac_ext <<_ACEOF
20213 #include <stdarg.h>
20214 void foo(char *f, ...)
20228 rm -f conftest.
$ac_objext conftest
$ac_exeext
20229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20230 (eval $ac_link) 2>conftest.er1
20232 grep -v '^ *+' conftest.er1
>conftest.err
20234 cat conftest.err
>&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); } &&
20237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239 (eval $ac_try) 2>&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); }; } &&
20243 { ac_try
='test -s conftest$ac_exeext'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; }; then
20249 wx_cv_func_va_copy
=yes
20251 echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.
$ac_ext >&5
20254 wx_cv_func_va_copy
=no
20257 rm -f conftest.err conftest.
$ac_objext \
20258 conftest
$ac_exeext conftest.
$ac_ext
20262 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
20263 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
20265 if test $wx_cv_func_va_copy = "yes"; then
20266 cat >>confdefs.h
<<\_ACEOF
20267 #define HAVE_VA_COPY 1
20271 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
20272 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
20273 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
20274 echo $ECHO_N "(cached) $ECHO_C" >&6
20277 if test "$cross_compiling" = yes; then
20278 wx_cv_type_va_list_lvalue
=yes
20281 cat >conftest.
$ac_ext <<_ACEOF
20283 #include <stdarg.h>
20284 int foo(char *f, ...)
20289 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20297 return foo("hi", 17);
20300 rm -f conftest
$ac_exeext
20301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20302 (eval $ac_link) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; }; then
20311 wx_cv_type_va_list_lvalue
=yes
20313 echo "$as_me: program exited with status $ac_status" >&5
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.
$ac_ext >&5
20317 ( exit $ac_status )
20318 wx_cv_type_va_list_lvalue
=no
20320 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20325 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
20326 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
20328 if test $wx_cv_type_va_list_lvalue != "yes"; then
20329 cat >>confdefs.h
<<\_ACEOF
20330 #define VA_LIST_IS_ARRAY 1
20336 # Check whether --enable-largefile or --disable-largefile was given.
20337 if test "${enable_largefile+set}" = set; then
20338 enableval
="$enable_largefile"
20341 if test "$enable_largefile" != no
; then
20344 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20345 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
20346 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
20347 echo $ECHO_N "(cached) $ECHO_C" >&6
20350 cat >conftest.
$ac_ext <<_ACEOF
20353 cat confdefs.h
>>conftest.
$ac_ext
20354 cat >>conftest.
$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20356 #define _FILE_OFFSET_BITS 64
20357 #include <sys/types.h>
20362 unsigned int field: sizeof(off_t) == 8;
20369 rm -f conftest.
$ac_objext
20370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20371 (eval $ac_compile) 2>conftest.er1
20373 grep -v '^ *+' conftest.er1
>conftest.err
20375 cat conftest.err
>&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } &&
20378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20380 (eval $ac_try) 2>&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); }; } &&
20384 { ac_try
='test -s conftest.$ac_objext'
20385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20386 (eval $ac_try) 2>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); }; }; then
20390 ac_cv_sys_file_offset_bits
=64
20392 echo "$as_me: failed program was:" >&5
20393 sed 's/^/| /' conftest.
$ac_ext >&5
20395 ac_cv_sys_file_offset_bits
=no
20397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20401 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
20402 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
20404 if test "$ac_cv_sys_file_offset_bits" != no
; then
20406 cat >>confdefs.h
<<_ACEOF
20407 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20412 if test "x$wx_largefile" != "xyes"; then
20414 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
20415 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
20416 if test "${ac_cv_sys_large_files+set}" = set; then
20417 echo $ECHO_N "(cached) $ECHO_C" >&6
20420 cat >conftest.
$ac_ext <<_ACEOF
20423 cat confdefs.h
>>conftest.
$ac_ext
20424 cat >>conftest.
$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 #define _LARGE_FILES 1
20427 #include <sys/types.h>
20432 unsigned int field: sizeof(off_t) == 8;
20439 rm -f conftest.
$ac_objext
20440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20441 (eval $ac_compile) 2>conftest.er1
20443 grep -v '^ *+' conftest.er1
>conftest.err
20445 cat conftest.err
>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } &&
20448 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450 (eval $ac_try) 2>&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; } &&
20454 { ac_try
='test -s conftest.$ac_objext'
20455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20456 (eval $ac_try) 2>&5
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); }; }; then
20460 ac_cv_sys_large_files
=1
20462 echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.
$ac_ext >&5
20465 ac_cv_sys_large_files
=no
20467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20471 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
20472 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
20474 if test "$ac_cv_sys_large_files" != no
; then
20476 cat >>confdefs.h
<<_ACEOF
20477 #define _LARGE_FILES $ac_cv_sys_large_files
20484 echo "$as_me:$LINENO: checking if large file support is available" >&5
20485 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
20486 if test "x$wx_largefile" = "xyes"; then
20487 cat >>confdefs.h
<<\_ACEOF
20488 #define HAVE_LARGEFILE_SUPPORT 1
20492 echo "$as_me:$LINENO: result: $wx_largefile" >&5
20493 echo "${ECHO_T}$wx_largefile" >&6
20497 if test "x$wx_largefile" = "xyes"; then
20498 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
20499 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
20501 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20502 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
20503 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
20504 if test "${wx_cv_STDC_EXT_required+set}" = set; then
20505 echo $ECHO_N "(cached) $ECHO_C" >&6
20511 ac_cpp
='$CXXCPP $CPPFLAGS'
20512 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20513 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20514 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20516 cat >conftest.
$ac_ext <<_ACEOF
20519 cat confdefs.h
>>conftest.
$ac_ext
20520 cat >>conftest.
$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20527 #ifndef __STDC_EXT__
20535 rm -f conftest.
$ac_objext
20536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20537 (eval $ac_compile) 2>conftest.er1
20539 grep -v '^ *+' conftest.er1
>conftest.err
20541 cat conftest.err
>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } &&
20544 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; } &&
20550 { ac_try
='test -s conftest.$ac_objext'
20551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20552 (eval $ac_try) 2>&5
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); }; }; then
20556 wx_cv_STDC_EXT_required
=no
20558 echo "$as_me: failed program was:" >&5
20559 sed 's/^/| /' conftest.
$ac_ext >&5
20561 wx_cv_STDC_EXT_required
=yes
20564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20566 ac_cpp
='$CPP $CPPFLAGS'
20567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20574 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
20575 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
20576 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20577 CXXFLAGS
="$CXXFLAGS -D__STDC_EXT__"
20581 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
20583 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20584 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
20585 if test "${ac_cv_sys_largefile_source+set}" = set; then
20586 echo $ECHO_N "(cached) $ECHO_C" >&6
20589 ac_cv_sys_largefile_source
=no
20590 cat >conftest.
$ac_ext <<_ACEOF
20593 cat confdefs.h
>>conftest.
$ac_ext
20594 cat >>conftest.
$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20605 rm -f conftest.
$ac_objext
20606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20607 (eval $ac_compile) 2>conftest.er1
20609 grep -v '^ *+' conftest.er1
>conftest.err
20611 cat conftest.err
>&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } &&
20614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20616 (eval $ac_try) 2>&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); }; } &&
20620 { ac_try
='test -s conftest.$ac_objext'
20621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20622 (eval $ac_try) 2>&5
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); }; }; then
20628 echo "$as_me: failed program was:" >&5
20629 sed 's/^/| /' conftest.
$ac_ext >&5
20632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20633 cat >conftest.
$ac_ext <<_ACEOF
20636 cat confdefs.h
>>conftest.
$ac_ext
20637 cat >>conftest.
$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 #define _LARGEFILE_SOURCE 1
20649 rm -f conftest.
$ac_objext
20650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20651 (eval $ac_compile) 2>conftest.er1
20653 grep -v '^ *+' conftest.er1
>conftest.err
20655 cat conftest.err
>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); } &&
20658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660 (eval $ac_try) 2>&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); }; } &&
20664 { ac_try
='test -s conftest.$ac_objext'
20665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20666 (eval $ac_try) 2>&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; }; then
20670 ac_cv_sys_largefile_source
=1; break
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.
$ac_ext >&5
20676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20680 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
20681 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
20682 if test "$ac_cv_sys_largefile_source" != no
; then
20684 cat >>confdefs.h
<<_ACEOF
20685 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20691 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20692 # in glibc 2.1.3, but that breaks too many other things.
20693 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20694 echo "$as_me:$LINENO: checking for fseeko" >&5
20695 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
20696 if test "${ac_cv_func_fseeko+set}" = set; then
20697 echo $ECHO_N "(cached) $ECHO_C" >&6
20699 cat >conftest.
$ac_ext <<_ACEOF
20702 cat confdefs.h
>>conftest.
$ac_ext
20703 cat >>conftest.
$ac_ext <<_ACEOF
20704 /* end confdefs.h. */
20709 return fseeko && fseeko (stdin, 0, 0);
20714 rm -f conftest.
$ac_objext conftest
$ac_exeext
20715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20716 (eval $ac_link) 2>conftest.er1
20718 grep -v '^ *+' conftest.er1
>conftest.err
20720 cat conftest.err
>&5
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); } &&
20723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20725 (eval $ac_try) 2>&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); }; } &&
20729 { ac_try
='test -s conftest$ac_exeext'
20730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20731 (eval $ac_try) 2>&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); }; }; then
20735 ac_cv_func_fseeko
=yes
20737 echo "$as_me: failed program was:" >&5
20738 sed 's/^/| /' conftest.
$ac_ext >&5
20740 ac_cv_func_fseeko
=no
20742 rm -f conftest.err conftest.
$ac_objext \
20743 conftest
$ac_exeext conftest.
$ac_ext
20745 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
20746 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
20747 if test $ac_cv_func_fseeko = yes; then
20749 cat >>confdefs.h
<<\_ACEOF
20750 #define HAVE_FSEEKO 1
20755 if test "$ac_cv_sys_largefile_source" != no
; then
20756 WX_LARGEFILE_FLAGS
="$WX_LARGEFILE_FLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20758 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
20761 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20762 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20763 if test "${ac_cv_c_bigendian+set}" = set; then
20764 echo $ECHO_N "(cached) $ECHO_C" >&6
20766 ac_cv_c_bigendian
=unknown
20767 # See if sys/param.h defines the BYTE_ORDER macro.
20768 cat >conftest.
$ac_ext <<_ACEOF
20771 cat confdefs.h
>>conftest.
$ac_ext
20772 cat >>conftest.
$ac_ext <<_ACEOF
20773 /* end confdefs.h. */
20774 #include <sys/types.h>
20775 #include <sys/param.h>
20780 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20781 bogus endian macros
20787 rm -f conftest.
$ac_objext
20788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20789 (eval $ac_compile) 2>conftest.er1
20791 grep -v '^ *+' conftest.er1
>conftest.err
20793 cat conftest.err
>&5
20794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795 (exit $ac_status); } &&
20796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20798 (eval $ac_try) 2>&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); }; } &&
20802 { ac_try
='test -s conftest.$ac_objext'
20803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20804 (eval $ac_try) 2>&5
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; }; then
20808 # It does; now see whether it defined to BIG_ENDIAN or not.
20809 cat >conftest.
$ac_ext <<_ACEOF
20812 cat confdefs.h
>>conftest.
$ac_ext
20813 cat >>conftest.
$ac_ext <<_ACEOF
20814 /* end confdefs.h. */
20815 #include <sys/types.h>
20816 #include <sys/param.h>
20821 #if BYTE_ORDER != BIG_ENDIAN
20828 rm -f conftest.
$ac_objext
20829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20830 (eval $ac_compile) 2>conftest.er1
20832 grep -v '^ *+' conftest.er1
>conftest.err
20834 cat conftest.err
>&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } &&
20837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839 (eval $ac_try) 2>&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); }; } &&
20843 { ac_try
='test -s conftest.$ac_objext'
20844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845 (eval $ac_try) 2>&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_cv_c_bigendian
=yes
20851 echo "$as_me: failed program was:" >&5
20852 sed 's/^/| /' conftest.
$ac_ext >&5
20854 ac_cv_c_bigendian
=no
20856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.
$ac_ext >&5
20862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20863 if test $ac_cv_c_bigendian = unknown
; then
20864 if test "$cross_compiling" = yes; then
20865 ac_cv_c_bigendian
=unknown
20867 cat >conftest.
$ac_ext <<_ACEOF
20870 cat confdefs.h
>>conftest.
$ac_ext
20871 cat >>conftest.
$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20874 /* Are we little or big endian? From Harbison&Steele. */
20878 char c[sizeof (long)];
20881 exit (u.c[sizeof (long) - 1] == 1);
20884 rm -f conftest
$ac_exeext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20886 (eval $ac_link) 2>&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20891 (eval $ac_try) 2>&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; }; then
20895 ac_cv_c_bigendian
=no
20897 echo "$as_me: program exited with status $ac_status" >&5
20898 echo "$as_me: failed program was:" >&5
20899 sed 's/^/| /' conftest.
$ac_ext >&5
20901 ( exit $ac_status )
20902 ac_cv_c_bigendian
=yes
20904 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20908 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20909 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20910 if test $ac_cv_c_bigendian = unknown
; then
20911 { 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
20912 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;}
20914 if test $ac_cv_c_bigendian = yes; then
20915 cat >>confdefs.h
<<\_ACEOF
20916 #define WORDS_BIGENDIAN 1
20923 ac_cpp
='$CXXCPP $CPPFLAGS'
20924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20927 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
20928 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
20929 if test -z "$CXXCPP"; then
20930 if test "${ac_cv_prog_CXXCPP+set}" = set; then
20931 echo $ECHO_N "(cached) $ECHO_C" >&6
20933 # Double quotes because CXXCPP needs to be expanded
20934 for CXXCPP
in "$CXX -E" "/lib/cpp"
20936 ac_preproc_ok
=false
20937 for ac_cxx_preproc_warn_flag
in '' yes
20939 # Use a header file that comes with gcc, so configuring glibc
20940 # with a fresh cross-compiler works.
20941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20942 # <limits.h> exists even on freestanding compilers.
20943 # On the NeXT, cc -E runs the code through the compiler's parser,
20944 # not just through cpp. "Syntax error" is here to catch this case.
20945 cat >conftest.
$ac_ext <<_ACEOF
20948 cat confdefs.h
>>conftest.
$ac_ext
20949 cat >>conftest.
$ac_ext <<_ACEOF
20950 /* end confdefs.h. */
20952 # include <limits.h>
20954 # include <assert.h>
20958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20959 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20961 grep -v '^ *+' conftest.er1
>conftest.err
20963 cat conftest.err
>&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); } >/dev
/null
; then
20966 if test -s conftest.err
; then
20967 ac_cpp_err
=$ac_cxx_preproc_warn_flag
20968 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
20975 if test -z "$ac_cpp_err"; then
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.
$ac_ext >&5
20981 # Broken: fails on valid input.
20984 rm -f conftest.err conftest.
$ac_ext
20986 # OK, works on sane cases. Now check whether non-existent headers
20987 # can be detected and how.
20988 cat >conftest.
$ac_ext <<_ACEOF
20991 cat confdefs.h
>>conftest.
$ac_ext
20992 cat >>conftest.
$ac_ext <<_ACEOF
20993 /* end confdefs.h. */
20994 #include <ac_nonexistent.h>
20996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20997 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
20999 grep -v '^ *+' conftest.er1
>conftest.err
21001 cat conftest.err
>&5
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); } >/dev
/null
; then
21004 if test -s conftest.err
; then
21005 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21006 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21013 if test -z "$ac_cpp_err"; then
21014 # Broken: success on invalid input.
21017 echo "$as_me: failed program was:" >&5
21018 sed 's/^/| /' conftest.
$ac_ext >&5
21020 # Passes both tests.
21024 rm -f conftest.err conftest.
$ac_ext
21027 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21028 rm -f conftest.err conftest.
$ac_ext
21029 if $ac_preproc_ok; then
21034 ac_cv_prog_CXXCPP
=$CXXCPP
21037 CXXCPP
=$ac_cv_prog_CXXCPP
21039 ac_cv_prog_CXXCPP
=$CXXCPP
21041 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21042 echo "${ECHO_T}$CXXCPP" >&6
21043 ac_preproc_ok
=false
21044 for ac_cxx_preproc_warn_flag
in '' yes
21046 # Use a header file that comes with gcc, so configuring glibc
21047 # with a fresh cross-compiler works.
21048 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21049 # <limits.h> exists even on freestanding compilers.
21050 # On the NeXT, cc -E runs the code through the compiler's parser,
21051 # not just through cpp. "Syntax error" is here to catch this case.
21052 cat >conftest.
$ac_ext <<_ACEOF
21055 cat confdefs.h
>>conftest.
$ac_ext
21056 cat >>conftest.
$ac_ext <<_ACEOF
21057 /* end confdefs.h. */
21059 # include <limits.h>
21061 # include <assert.h>
21065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21066 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21068 grep -v '^ *+' conftest.er1
>conftest.err
21070 cat conftest.err
>&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } >/dev
/null
; then
21073 if test -s conftest.err
; then
21074 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21075 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21082 if test -z "$ac_cpp_err"; then
21085 echo "$as_me: failed program was:" >&5
21086 sed 's/^/| /' conftest.
$ac_ext >&5
21088 # Broken: fails on valid input.
21091 rm -f conftest.err conftest.
$ac_ext
21093 # OK, works on sane cases. Now check whether non-existent headers
21094 # can be detected and how.
21095 cat >conftest.
$ac_ext <<_ACEOF
21098 cat confdefs.h
>>conftest.
$ac_ext
21099 cat >>conftest.
$ac_ext <<_ACEOF
21100 /* end confdefs.h. */
21101 #include <ac_nonexistent.h>
21103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21104 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21106 grep -v '^ *+' conftest.er1
>conftest.err
21108 cat conftest.err
>&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); } >/dev
/null
; then
21111 if test -s conftest.err
; then
21112 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21113 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21120 if test -z "$ac_cpp_err"; then
21121 # Broken: success on invalid input.
21124 echo "$as_me: failed program was:" >&5
21125 sed 's/^/| /' conftest.
$ac_ext >&5
21127 # Passes both tests.
21131 rm -f conftest.err conftest.
$ac_ext
21134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21135 rm -f conftest.err conftest.
$ac_ext
21136 if $ac_preproc_ok; then
21139 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21140 See \`config.log' for more details." >&5
21141 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
21142 See \`config.log' for more details." >&2;}
21143 { (exit 1); exit 1; }; }
21147 ac_cpp
='$CXXCPP $CPPFLAGS'
21148 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21149 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21150 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21157 ac_cpp
='$CXXCPP $CPPFLAGS'
21158 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21159 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21160 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21164 for ac_header
in iostream
21166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21168 echo "$as_me:$LINENO: checking for $ac_header" >&5
21169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21171 echo $ECHO_N "(cached) $ECHO_C" >&6
21173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21176 # Is the header compilable?
21177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21179 cat >conftest.
$ac_ext <<_ACEOF
21182 cat confdefs.h
>>conftest.
$ac_ext
21183 cat >>conftest.
$ac_ext <<_ACEOF
21184 /* end confdefs.h. */
21185 $ac_includes_default
21186 #include <$ac_header>
21188 rm -f conftest.
$ac_objext
21189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21190 (eval $ac_compile) 2>conftest.er1
21192 grep -v '^ *+' conftest.er1
>conftest.err
21194 cat conftest.err
>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); } &&
21197 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; } &&
21203 { ac_try
='test -s conftest.$ac_objext'
21204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205 (eval $ac_try) 2>&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; }; then
21209 ac_header_compiler
=yes
21211 echo "$as_me: failed program was:" >&5
21212 sed 's/^/| /' conftest.
$ac_ext >&5
21214 ac_header_compiler
=no
21216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21218 echo "${ECHO_T}$ac_header_compiler" >&6
21220 # Is the header present?
21221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21223 cat >conftest.
$ac_ext <<_ACEOF
21226 cat confdefs.h
>>conftest.
$ac_ext
21227 cat >>conftest.
$ac_ext <<_ACEOF
21228 /* end confdefs.h. */
21229 #include <$ac_header>
21231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21232 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21234 grep -v '^ *+' conftest.er1
>conftest.err
21236 cat conftest.err
>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } >/dev
/null
; then
21239 if test -s conftest.err
; then
21240 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21241 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21248 if test -z "$ac_cpp_err"; then
21249 ac_header_preproc
=yes
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.
$ac_ext >&5
21254 ac_header_preproc
=no
21256 rm -f conftest.err conftest.
$ac_ext
21257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21258 echo "${ECHO_T}$ac_header_preproc" >&6
21260 # So? What about this header?
21261 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21266 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21267 ac_header_preproc
=yes
21270 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21272 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21273 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21274 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21275 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21276 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21277 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21280 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21281 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21284 ## ----------------------------------------- ##
21285 ## Report this to wx-dev@lists.wxwidgets.org ##
21286 ## ----------------------------------------- ##
21289 sed "s/^/$as_me: WARNING: /" >&2
21292 echo "$as_me:$LINENO: checking for $ac_header" >&5
21293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21295 echo $ECHO_N "(cached) $ECHO_C" >&6
21297 eval "$as_ac_Header=\$ac_header_preproc"
21299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21304 cat >>confdefs.h
<<_ACEOF
21305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21313 if test "$ac_cv_header_iostream" = "yes" ; then
21316 cat >>confdefs.h
<<\_ACEOF
21317 #define wxUSE_IOSTREAMH 1
21323 ac_cpp
='$CPP $CPPFLAGS'
21324 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21325 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21326 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21331 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21332 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21333 if test "${wx_cv_cpp_bool+set}" = set; then
21334 echo $ECHO_N "(cached) $ECHO_C" >&6
21340 ac_cpp
='$CXXCPP $CPPFLAGS'
21341 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21342 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21343 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21346 cat >conftest.
$ac_ext <<_ACEOF
21349 cat confdefs.h
>>conftest.
$ac_ext
21350 cat >>conftest.
$ac_ext <<_ACEOF
21351 /* end confdefs.h. */
21366 rm -f conftest.
$ac_objext
21367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21368 (eval $ac_compile) 2>conftest.er1
21370 grep -v '^ *+' conftest.er1
>conftest.err
21372 cat conftest.err
>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } &&
21375 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; } &&
21381 { ac_try
='test -s conftest.$ac_objext'
21382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383 (eval $ac_try) 2>&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); }; }; then
21391 echo "$as_me: failed program was:" >&5
21392 sed 's/^/| /' conftest.
$ac_ext >&5
21399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21402 ac_cpp
='$CPP $CPPFLAGS'
21403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21409 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
21410 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
21412 if test "$wx_cv_cpp_bool" = "yes"; then
21413 cat >>confdefs.h
<<\_ACEOF
21414 #define HAVE_BOOL 1
21421 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
21422 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
21423 if test "${wx_cv_explicit+set}" = set; then
21424 echo $ECHO_N "(cached) $ECHO_C" >&6
21430 ac_cpp
='$CXXCPP $CPPFLAGS'
21431 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21432 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21433 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21436 cat >conftest.
$ac_ext <<_ACEOF
21439 cat confdefs.h
>>conftest.
$ac_ext
21440 cat >>conftest.
$ac_ext <<_ACEOF
21441 /* end confdefs.h. */
21443 class Foo { public: explicit Foo(int) {} };
21455 rm -f conftest.
$ac_objext
21456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21457 (eval $ac_compile) 2>conftest.er1
21459 grep -v '^ *+' conftest.er1
>conftest.err
21461 cat conftest.err
>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } &&
21464 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21466 (eval $ac_try) 2>&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); }; } &&
21470 { ac_try
='test -s conftest.$ac_objext'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; }; then
21477 cat >conftest.
$ac_ext <<_ACEOF
21480 cat confdefs.h
>>conftest.
$ac_ext
21481 cat >>conftest.
$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21484 class Foo { public: explicit Foo(int) {} };
21485 static void TakeFoo(const Foo& foo) { }
21498 rm -f conftest.
$ac_objext
21499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21500 (eval $ac_compile) 2>conftest.er1
21502 grep -v '^ *+' conftest.er1
>conftest.err
21504 cat conftest.err
>&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } &&
21507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; } &&
21513 { ac_try
='test -s conftest.$ac_objext'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; }; then
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.
$ac_ext >&5
21527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21530 echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.
$ac_ext >&5
21536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21539 ac_cpp
='$CPP $CPPFLAGS'
21540 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21541 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21542 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21546 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
21547 echo "${ECHO_T}$wx_cv_explicit" >&6
21549 if test "$wx_cv_explicit" = "yes"; then
21550 cat >>confdefs.h
<<\_ACEOF
21551 #define HAVE_EXPLICIT 1
21557 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
21558 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
21559 if test "${ac_cv_cxx_const_cast+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 ac_cpp
='$CXXCPP $CPPFLAGS'
21566 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21567 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21568 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21570 cat >conftest.
$ac_ext <<_ACEOF
21573 cat confdefs.h
>>conftest.
$ac_ext
21574 cat >>conftest.
$ac_ext <<_ACEOF
21575 /* end confdefs.h. */
21580 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
21585 rm -f conftest.
$ac_objext
21586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21587 (eval $ac_compile) 2>conftest.er1
21589 grep -v '^ *+' conftest.er1
>conftest.err
21591 cat conftest.err
>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); } &&
21594 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21596 (eval $ac_try) 2>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); }; } &&
21600 { ac_try
='test -s conftest.$ac_objext'
21601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21602 (eval $ac_try) 2>&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); }; }; then
21606 ac_cv_cxx_const_cast
=yes
21608 echo "$as_me: failed program was:" >&5
21609 sed 's/^/| /' conftest.
$ac_ext >&5
21611 ac_cv_cxx_const_cast
=no
21613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21615 ac_cpp
='$CPP $CPPFLAGS'
21616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21622 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
21623 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
21624 if test "$ac_cv_cxx_const_cast" = yes; then
21626 cat >>confdefs.h
<<\_ACEOF
21627 #define HAVE_CONST_CAST
21632 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
21633 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
21634 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
21635 echo $ECHO_N "(cached) $ECHO_C" >&6
21640 ac_cpp
='$CXXCPP $CPPFLAGS'
21641 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21642 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21643 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21645 cat >conftest.
$ac_ext <<_ACEOF
21648 cat confdefs.h
>>conftest.
$ac_ext
21649 cat >>conftest.
$ac_ext <<_ACEOF
21650 /* end confdefs.h. */
21651 #include <typeinfo>
21652 class Base { public : Base () {} virtual void f () = 0;};
21653 class Derived : public Base { public : Derived () {} virtual void f () {} };
21654 class Unrelated { public : Unrelated () {} };
21655 int g (Unrelated&) { return 0; }
21660 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
21665 rm -f conftest.
$ac_objext
21666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21667 (eval $ac_compile) 2>conftest.er1
21669 grep -v '^ *+' conftest.er1
>conftest.err
21671 cat conftest.err
>&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); } &&
21674 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21676 (eval $ac_try) 2>&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); }; } &&
21680 { ac_try
='test -s conftest.$ac_objext'
21681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21682 (eval $ac_try) 2>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); }; }; then
21686 ac_cv_cxx_reinterpret_cast
=yes
21688 echo "$as_me: failed program was:" >&5
21689 sed 's/^/| /' conftest.
$ac_ext >&5
21691 ac_cv_cxx_reinterpret_cast
=no
21693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21695 ac_cpp
='$CPP $CPPFLAGS'
21696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21702 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
21703 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
21704 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
21706 cat >>confdefs.h
<<\_ACEOF
21707 #define HAVE_REINTERPRET_CAST
21712 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
21713 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
21714 if test "${ac_cv_cxx_static_cast+set}" = set; then
21715 echo $ECHO_N "(cached) $ECHO_C" >&6
21720 ac_cpp
='$CXXCPP $CPPFLAGS'
21721 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21722 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21723 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21725 cat >conftest.
$ac_ext <<_ACEOF
21728 cat confdefs.h
>>conftest.
$ac_ext
21729 cat >>conftest.
$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731 #include <typeinfo>
21732 class Base { public : Base () {} virtual void f () = 0; };
21733 class Derived : public Base { public : Derived () {} virtual void f () {} };
21734 int g (Derived&) { return 0; }
21739 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
21744 rm -f conftest.
$ac_objext
21745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21746 (eval $ac_compile) 2>conftest.er1
21748 grep -v '^ *+' conftest.er1
>conftest.err
21750 cat conftest.err
>&5
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); } &&
21753 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755 (eval $ac_try) 2>&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; } &&
21759 { ac_try
='test -s conftest.$ac_objext'
21760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761 (eval $ac_try) 2>&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; }; then
21765 ac_cv_cxx_static_cast
=yes
21767 echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.
$ac_ext >&5
21770 ac_cv_cxx_static_cast
=no
21772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21774 ac_cpp
='$CPP $CPPFLAGS'
21775 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21776 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21777 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21781 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
21782 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
21783 if test "$ac_cv_cxx_static_cast" = yes; then
21785 cat >>confdefs.h
<<\_ACEOF
21786 #define HAVE_STATIC_CAST
21792 if test "x$SUNCXX" = xyes
; then
21793 CXXFLAGS
="$CXXFLAGS -features=tmplife"
21796 if test "x$SUNCC" = xyes
; then
21797 CFLAGS
="$CFLAGS -erroff=E_NO_EXPLICIT_TYPE_GIVEN"
21800 if test "x$SGICC" = "xyes"; then
21801 CFLAGS
="$CFLAGS -woff 3970"
21803 if test "x$SGICXX" = "xyes"; then
21804 CXXFLAGS
="$CXXFLAGS -woff 3970"
21807 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21809 ac_cpp
='$CXXCPP $CPPFLAGS'
21810 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21815 if test "$wxUSE_UNICODE" = "yes"; then
21816 std_string
="std::wstring"
21817 char_type
="wchar_t"
21819 std_string
="std::string"
21823 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
21824 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
21825 cat >conftest.
$ac_ext <<_ACEOF
21828 cat confdefs.h
>>conftest.
$ac_ext
21829 cat >>conftest.
$ac_ext <<_ACEOF
21830 /* end confdefs.h. */
21840 rm -f conftest.
$ac_objext
21841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21842 (eval $ac_compile) 2>conftest.er1
21844 grep -v '^ *+' conftest.er1
>conftest.err
21846 cat conftest.err
>&5
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); } &&
21849 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21851 (eval $ac_try) 2>&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); }; } &&
21855 { ac_try
='test -s conftest.$ac_objext'
21856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21857 (eval $ac_try) 2>&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); }; }; then
21861 echo "$as_me:$LINENO: result: yes" >&5
21862 echo "${ECHO_T}yes" >&6
21863 cat >>confdefs.h
<<\_ACEOF
21864 #define HAVE_STD_WSTRING 1
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.
$ac_ext >&5
21871 echo "$as_me:$LINENO: result: no" >&5
21872 echo "${ECHO_T}no" >&6
21873 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
21874 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
21875 cat >conftest.
$ac_ext <<_ACEOF
21878 cat confdefs.h
>>conftest.
$ac_ext
21879 cat >>conftest.
$ac_ext <<_ACEOF
21880 /* end confdefs.h. */
21882 #ifdef HAVE_WCHAR_H
21884 # include <stddef.h>
21886 # include <wchar.h>
21888 #ifdef HAVE_STDLIB_H
21889 # include <stdlib.h>
21897 std::basic_string<$char_type> foo;
21898 const $char_type* dummy = foo.c_str();
21903 rm -f conftest.
$ac_objext
21904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21905 (eval $ac_compile) 2>conftest.er1
21907 grep -v '^ *+' conftest.er1
>conftest.err
21909 cat conftest.err
>&5
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); } &&
21912 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21914 (eval $ac_try) 2>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); }; } &&
21918 { ac_try
='test -s conftest.$ac_objext'
21919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21920 (eval $ac_try) 2>&5
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); }; }; then
21924 echo "$as_me:$LINENO: result: yes" >&5
21925 echo "${ECHO_T}yes" >&6
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.
$ac_ext >&5
21930 echo "$as_me:$LINENO: result: no" >&5
21931 echo "${ECHO_T}no" >&6
21932 if test "$wxUSE_STL" = "yes"; then
21933 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
21934 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
21935 { (exit 1); exit 1; }; }
21936 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
21937 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
21938 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
21939 { (exit 1); exit 1; }; }
21941 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21942 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21943 wxUSE_STD_STRING
=no
21948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21954 ac_cpp
='$CPP $CPPFLAGS'
21955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21961 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21963 ac_cpp
='$CXXCPP $CPPFLAGS'
21964 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21965 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21966 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21969 echo "$as_me:$LINENO: checking for std::istream" >&5
21970 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
21971 if test "${ac_cv_type_std__istream+set}" = set; then
21972 echo $ECHO_N "(cached) $ECHO_C" >&6
21974 cat >conftest.
$ac_ext <<_ACEOF
21977 cat confdefs.h
>>conftest.
$ac_ext
21978 cat >>conftest.
$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980 #include <iostream>
21985 if ((std::istream *) 0)
21987 if (sizeof (std::istream))
21993 rm -f conftest.
$ac_objext
21994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21995 (eval $ac_compile) 2>conftest.er1
21997 grep -v '^ *+' conftest.er1
>conftest.err
21999 cat conftest.err
>&5
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); } &&
22002 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22004 (eval $ac_try) 2>&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; } &&
22008 { ac_try
='test -s conftest.$ac_objext'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; }; then
22014 ac_cv_type_std__istream
=yes
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.
$ac_ext >&5
22019 ac_cv_type_std__istream
=no
22021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22023 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22024 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22025 if test $ac_cv_type_std__istream = yes; then
22027 cat >>confdefs.h
<<_ACEOF
22028 #define HAVE_STD__ISTREAM 1
22033 wxUSE_STD_IOSTREAM
=no
22035 echo "$as_me:$LINENO: checking for std::ostream" >&5
22036 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22037 if test "${ac_cv_type_std__ostream+set}" = set; then
22038 echo $ECHO_N "(cached) $ECHO_C" >&6
22040 cat >conftest.
$ac_ext <<_ACEOF
22043 cat confdefs.h
>>conftest.
$ac_ext
22044 cat >>conftest.
$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22046 #include <iostream>
22051 if ((std::ostream *) 0)
22053 if (sizeof (std::ostream))
22059 rm -f conftest.
$ac_objext
22060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22061 (eval $ac_compile) 2>conftest.er1
22063 grep -v '^ *+' conftest.er1
>conftest.err
22065 cat conftest.err
>&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; } &&
22074 { ac_try
='test -s conftest.$ac_objext'
22075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22076 (eval $ac_try) 2>&5
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); }; }; then
22080 ac_cv_type_std__ostream
=yes
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.
$ac_ext >&5
22085 ac_cv_type_std__ostream
=no
22087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22089 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22090 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22091 if test $ac_cv_type_std__ostream = yes; then
22093 cat >>confdefs.h
<<_ACEOF
22094 #define HAVE_STD__OSTREAM 1
22099 wxUSE_STD_IOSTREAM
=no
22103 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22104 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
22105 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22106 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22107 { (exit 1); exit 1; }; }
22109 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22110 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22115 ac_cpp
='$CPP $CPPFLAGS'
22116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22122 if test "$wxUSE_STL" = "yes"; then
22124 ac_cpp
='$CXXCPP $CPPFLAGS'
22125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22130 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22131 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22132 cat >conftest.
$ac_ext <<_ACEOF
22135 cat confdefs.h
>>conftest.
$ac_ext
22136 cat >>conftest.
$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22139 #include <functional>
22140 #include <algorithm>
22146 std::vector<int> moo;
22147 std::list<int> foo;
22148 std::vector<int>::iterator it =
22149 std::find_if(moo.begin(), moo.end(),
22150 std::bind2nd(std::less<int>(), 3));
22155 rm -f conftest.
$ac_objext
22156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22157 (eval $ac_compile) 2>conftest.er1
22159 grep -v '^ *+' conftest.er1
>conftest.err
22161 cat conftest.err
>&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } &&
22164 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22166 (eval $ac_try) 2>&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); }; } &&
22170 { ac_try
='test -s conftest.$ac_objext'
22171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22172 (eval $ac_try) 2>&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); }; }; then
22176 echo "$as_me:$LINENO: result: yes" >&5
22177 echo "${ECHO_T}yes" >&6
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.
$ac_ext >&5
22182 echo "$as_me:$LINENO: result: no" >&5
22183 echo "${ECHO_T}no" >&6
22184 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
22185 echo "$as_me: error: Basic STL functionality missing" >&2;}
22186 { (exit 1); exit 1; }; }
22188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22190 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22191 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22192 cat >conftest.
$ac_ext <<_ACEOF
22195 cat confdefs.h
>>conftest.
$ac_ext
22196 cat >>conftest.
$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22202 std::string foo, bar;
22204 foo.compare(1, 1, bar);
22205 foo.compare(1, 1, bar, 1, 1);
22207 foo.compare(1, 1, "");
22208 foo.compare(1, 1, "", 2);
22213 rm -f conftest.
$ac_objext
22214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22215 (eval $ac_compile) 2>conftest.er1
22217 grep -v '^ *+' conftest.er1
>conftest.err
22219 cat conftest.err
>&5
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); } &&
22222 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22224 (eval $ac_try) 2>&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); }; } &&
22228 { ac_try
='test -s conftest.$ac_objext'
22229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22230 (eval $ac_try) 2>&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); }; }; then
22234 echo "$as_me:$LINENO: result: yes" >&5
22235 echo "${ECHO_T}yes" >&6
22236 cat >>confdefs.h
<<\_ACEOF
22237 #define HAVE_STD_STRING_COMPARE 1
22241 echo "$as_me: failed program was:" >&5
22242 sed 's/^/| /' conftest.
$ac_ext >&5
22244 echo "$as_me:$LINENO: result: no" >&5
22245 echo "${ECHO_T}no" >&6
22247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22249 if test "${ac_cv_header_hash_map+set}" = set; then
22250 echo "$as_me:$LINENO: checking for hash_map" >&5
22251 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22252 if test "${ac_cv_header_hash_map+set}" = set; then
22253 echo $ECHO_N "(cached) $ECHO_C" >&6
22255 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22256 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22258 # Is the header compilable?
22259 echo "$as_me:$LINENO: checking hash_map usability" >&5
22260 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
22261 cat >conftest.
$ac_ext <<_ACEOF
22264 cat confdefs.h
>>conftest.
$ac_ext
22265 cat >>conftest.
$ac_ext <<_ACEOF
22266 /* end confdefs.h. */
22267 $ac_includes_default
22268 #include <hash_map>
22270 rm -f conftest.
$ac_objext
22271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22272 (eval $ac_compile) 2>conftest.er1
22274 grep -v '^ *+' conftest.er1
>conftest.err
22276 cat conftest.err
>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); } &&
22279 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22281 (eval $ac_try) 2>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); }; } &&
22285 { ac_try
='test -s conftest.$ac_objext'
22286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22287 (eval $ac_try) 2>&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); }; }; then
22291 ac_header_compiler
=yes
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.
$ac_ext >&5
22296 ac_header_compiler
=no
22298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22300 echo "${ECHO_T}$ac_header_compiler" >&6
22302 # Is the header present?
22303 echo "$as_me:$LINENO: checking hash_map presence" >&5
22304 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
22305 cat >conftest.
$ac_ext <<_ACEOF
22308 cat confdefs.h
>>conftest.
$ac_ext
22309 cat >>conftest.
$ac_ext <<_ACEOF
22310 /* end confdefs.h. */
22311 #include <hash_map>
22313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22314 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22316 grep -v '^ *+' conftest.er1
>conftest.err
22318 cat conftest.err
>&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); } >/dev
/null
; then
22321 if test -s conftest.err
; then
22322 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22323 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22330 if test -z "$ac_cpp_err"; then
22331 ac_header_preproc
=yes
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.
$ac_ext >&5
22336 ac_header_preproc
=no
22338 rm -f conftest.err conftest.
$ac_ext
22339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22340 echo "${ECHO_T}$ac_header_preproc" >&6
22342 # So? What about this header?
22343 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22345 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22346 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22347 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
22348 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
22349 ac_header_preproc
=yes
22352 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
22353 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
22354 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
22355 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
22356 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
22357 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
22358 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
22359 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22360 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
22361 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
22362 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
22363 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
22366 ## ----------------------------------------- ##
22367 ## Report this to wx-dev@lists.wxwidgets.org ##
22368 ## ----------------------------------------- ##
22371 sed "s/^/$as_me: WARNING: /" >&2
22374 echo "$as_me:$LINENO: checking for hash_map" >&5
22375 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22376 if test "${ac_cv_header_hash_map+set}" = set; then
22377 echo $ECHO_N "(cached) $ECHO_C" >&6
22379 ac_cv_header_hash_map
=$ac_header_preproc
22381 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22382 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22385 if test $ac_cv_header_hash_map = yes; then
22386 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22387 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22388 cat >conftest.
$ac_ext <<_ACEOF
22391 cat confdefs.h
>>conftest.
$ac_ext
22392 cat >>conftest.
$ac_ext <<_ACEOF
22393 /* end confdefs.h. */
22394 #include <hash_map>
22395 #include <hash_set>
22399 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22400 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22405 rm -f conftest.
$ac_objext
22406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22407 (eval $ac_compile) 2>conftest.er1
22409 grep -v '^ *+' conftest.er1
>conftest.err
22411 cat conftest.err
>&5
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); } &&
22414 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22416 (eval $ac_try) 2>&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); }; } &&
22420 { ac_try
='test -s conftest.$ac_objext'
22421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22422 (eval $ac_try) 2>&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); }; }; then
22426 echo "$as_me:$LINENO: result: yes" >&5
22427 echo "${ECHO_T}yes" >&6
22428 cat >>confdefs.h
<<\_ACEOF
22429 #define HAVE_HASH_MAP 1
22432 cat >>confdefs.h
<<\_ACEOF
22433 #define HAVE_STD_HASH_MAP 1
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.
$ac_ext >&5
22440 echo "$as_me:$LINENO: result: no" >&5
22441 echo "${ECHO_T}no" >&6
22443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22449 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22450 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22451 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22452 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22453 echo $ECHO_N "(cached) $ECHO_C" >&6
22455 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22456 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22458 # Is the header compilable?
22459 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
22460 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
22461 cat >conftest.
$ac_ext <<_ACEOF
22464 cat confdefs.h
>>conftest.
$ac_ext
22465 cat >>conftest.
$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22467 $ac_includes_default
22468 #include <ext/hash_map>
22470 rm -f conftest.
$ac_objext
22471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22472 (eval $ac_compile) 2>conftest.er1
22474 grep -v '^ *+' conftest.er1
>conftest.err
22476 cat conftest.err
>&5
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); } &&
22479 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22481 (eval $ac_try) 2>&5
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); }; } &&
22485 { ac_try
='test -s conftest.$ac_objext'
22486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22487 (eval $ac_try) 2>&5
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); }; }; then
22491 ac_header_compiler
=yes
22493 echo "$as_me: failed program was:" >&5
22494 sed 's/^/| /' conftest.
$ac_ext >&5
22496 ac_header_compiler
=no
22498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22500 echo "${ECHO_T}$ac_header_compiler" >&6
22502 # Is the header present?
22503 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
22504 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
22505 cat >conftest.
$ac_ext <<_ACEOF
22508 cat confdefs.h
>>conftest.
$ac_ext
22509 cat >>conftest.
$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22511 #include <ext/hash_map>
22513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22514 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22516 grep -v '^ *+' conftest.er1
>conftest.err
22518 cat conftest.err
>&5
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); } >/dev
/null
; then
22521 if test -s conftest.err
; then
22522 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22523 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22530 if test -z "$ac_cpp_err"; then
22531 ac_header_preproc
=yes
22533 echo "$as_me: failed program was:" >&5
22534 sed 's/^/| /' conftest.
$ac_ext >&5
22536 ac_header_preproc
=no
22538 rm -f conftest.err conftest.
$ac_ext
22539 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22540 echo "${ECHO_T}$ac_header_preproc" >&6
22542 # So? What about this header?
22543 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22545 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
22546 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
22547 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
22548 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
22549 ac_header_preproc
=yes
22552 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
22553 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
22554 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
22555 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
22556 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
22557 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
22558 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
22559 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
22560 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
22561 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
22562 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
22563 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
22566 ## ----------------------------------------- ##
22567 ## Report this to wx-dev@lists.wxwidgets.org ##
22568 ## ----------------------------------------- ##
22571 sed "s/^/$as_me: WARNING: /" >&2
22574 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
22575 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
22576 if test "${ac_cv_header_ext_hash_map+set}" = set; then
22577 echo $ECHO_N "(cached) $ECHO_C" >&6
22579 ac_cv_header_ext_hash_map
=$ac_header_preproc
22581 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
22582 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
22585 if test $ac_cv_header_ext_hash_map = yes; then
22586 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
22587 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
22588 cat >conftest.
$ac_ext <<_ACEOF
22591 cat confdefs.h
>>conftest.
$ac_ext
22592 cat >>conftest.
$ac_ext <<_ACEOF
22593 /* end confdefs.h. */
22594 #include <ext/hash_map>
22595 #include <ext/hash_set>
22599 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
22600 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
22605 rm -f conftest.
$ac_objext
22606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22607 (eval $ac_compile) 2>conftest.er1
22609 grep -v '^ *+' conftest.er1
>conftest.err
22611 cat conftest.err
>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); } &&
22614 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22616 (eval $ac_try) 2>&5
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); }; } &&
22620 { ac_try
='test -s conftest.$ac_objext'
22621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22622 (eval $ac_try) 2>&5
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); }; }; then
22626 echo "$as_me:$LINENO: result: yes" >&5
22627 echo "${ECHO_T}yes" >&6
22628 cat >>confdefs.h
<<\_ACEOF
22629 #define HAVE_EXT_HASH_MAP 1
22632 cat >>confdefs.h
<<\_ACEOF
22633 #define HAVE_GNU_CXX_HASH_MAP 1
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.
$ac_ext >&5
22640 echo "$as_me:$LINENO: result: no" >&5
22641 echo "${ECHO_T}no" >&6
22643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22650 ac_cpp
='$CPP $CPPFLAGS'
22651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22659 /usr/local/include \
22661 /usr/Motif-2.1/include \
22662 /usr/Motif-1.2/include \
22663 /usr/include/Motif1.2 \
22666 /usr/openwin/include \
22670 /usr/X11R6/include \
22671 /usr/X11R6.4/include \
22672 /usr/X11R5/include \
22673 /usr/X11R4/include \
22675 /usr/include/X11R6 \
22676 /usr/include/X11R5 \
22677 /usr/include/X11R4 \
22679 /usr/local/X11R6/include \
22680 /usr/local/X11R5/include \
22681 /usr/local/X11R4/include \
22683 /usr/local/include/X11R6 \
22684 /usr/local/include/X11R5 \
22685 /usr/local/include/X11R4 \
22689 /usr/local/X11/include \
22690 /usr/local/include/X11 \
22692 /usr/XFree86/include/X11 \
22695 /usr/openwin/share/include"
22697 echo "$as_me:$LINENO: checking for libraries directory" >&5
22698 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
22702 if test "${wx_cv_std_libpath+set}" = set; then
22703 echo $ECHO_N "(cached) $ECHO_C" >&6
22706 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
22707 for e
in a so sl dylib dll.a
; do
22709 if test -f $libc; then
22712 cat >conftest.
$ac_ext <<_ACEOF
22713 int main() { return 0; }
22715 rm -f conftest.
$ac_objext conftest
$ac_exeext
22716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22717 (eval $ac_link) 2>conftest.er1
22719 grep -v '^ *+' conftest.er1
>conftest.err
22721 cat conftest.err
>&5
22722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22723 (exit $ac_status); } &&
22724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22726 (eval $ac_try) 2>&5
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); }; } &&
22730 { ac_try
='test -s conftest$ac_exeext'
22731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22732 (eval $ac_try) 2>&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); }; }; then
22736 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.
$ac_ext >&5
22742 rm -f conftest.err conftest.
$ac_objext \
22743 conftest
$ac_exeext conftest.
$ac_ext
22745 if test "x$wx_cv_std_libpath" != "x"; then
22751 if test "x$wx_cv_std_libpath" = "x"; then
22752 wx_cv_std_libpath
="lib"
22761 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22762 wx_cv_std_libpath
="lib/64"
22764 wx_cv_std_libpath
="lib"
22769 if test "$ac_cv_sizeof_void_p" = 8 -a \
22770 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22771 wx_cv_std_libpath
="lib64"
22773 wx_cv_std_libpath
="lib"
22778 wx_cv_std_libpath
="lib";
22782 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
22783 echo "${ECHO_T}$wx_cv_std_libpath" >&6
22785 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
22787 if test "$build" != "$host" -a "$GCC" = yes; then
22788 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22789 cross_root
=`dirname $cross_root`
22790 cross_root
=`dirname $cross_root`
22792 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22793 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22795 if test -z "$PKG_CONFIG_PATH"; then
22796 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22797 export PKG_CONFIG_PATH
22800 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22803 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
22805 if test -f "$ac_dir/X11/Intrinsic.h"; then
22806 ac_find_includes
=$ac_dir
22811 x_includes
=$ac_find_includes
22813 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22816 for ac_dir
in $SEARCH_LIB;
22818 for ac_extension
in a so sl dylib dll.a
; do
22819 if test -f "$ac_dir/libXt.$ac_extension"; then
22820 ac_find_libraries
=$ac_dir
22826 x_libraries
=$ac_find_libraries
22832 cat >confcache
<<\_ACEOF
22833 # This file is a shell script that caches the results of configure
22834 # tests run on this system so they can be shared between configure
22835 # scripts and configure runs, see configure's option --config-cache.
22836 # It is not useful on other systems. If it contains results you don't
22837 # want to keep, you may remove or edit it.
22839 # config.status only pays attention to the cache file if you give it
22840 # the --recheck option to rerun configure.
22842 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22843 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22844 # following values.
22848 # The following way of writing the cache mishandles newlines in values,
22849 # but we know of no workaround that is simple, portable, and efficient.
22850 # So, don't put newlines in cache variables' values.
22851 # Ultrix sh set writes to stderr and can't be redirected directly,
22852 # and sets the high bit in the cache file unless we assign to the vars.
22855 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22857 # `set' does not quote correctly, so add quotes (double-quote
22858 # substitution turns \\\\ into \\, and sed turns \\ into \).
22861 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22864 # `set' quotes correctly as required by POSIX, so do not add quotes.
22866 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22873 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22875 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22877 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
22878 if test -w $cache_file; then
22879 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22880 cat confcache
>$cache_file
22882 echo "not updating unwritable cache $cache_file"
22887 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
22888 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
22889 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
22890 if test "${wx_cv_lib_glibc21+set}" = set; then
22891 echo $ECHO_N "(cached) $ECHO_C" >&6
22894 cat >conftest.
$ac_ext <<_ACEOF
22897 cat confdefs.h
>>conftest.
$ac_ext
22898 cat >>conftest.
$ac_ext <<_ACEOF
22899 /* end confdefs.h. */
22900 #include <features.h>
22905 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
22913 rm -f conftest.
$ac_objext
22914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22915 (eval $ac_compile) 2>conftest.er1
22917 grep -v '^ *+' conftest.er1
>conftest.err
22919 cat conftest.err
>&5
22920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921 (exit $ac_status); } &&
22922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22924 (eval $ac_try) 2>&5
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); }; } &&
22928 { ac_try
='test -s conftest.$ac_objext'
22929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22930 (eval $ac_try) 2>&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); }; }; then
22935 wx_cv_lib_glibc21
=yes
22938 echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.
$ac_ext >&5
22942 wx_cv_lib_glibc21
=no
22946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22949 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
22950 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
22951 if test "$wx_cv_lib_glibc21" = "yes"; then
22952 cat >>confdefs.h
<<\_ACEOF
22953 #define wxHAVE_GLIBC2 1
22959 if test "x$wx_cv_lib_glibc21" = "xyes"; then
22960 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
22961 cat >>confdefs.h
<<\_ACEOF
22962 #define _GNU_SOURCE 1
22970 if test "$wxUSE_REGEX" != "no"; then
22971 cat >>confdefs.h
<<\_ACEOF
22972 #define wxUSE_REGEX 1
22976 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22977 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
22978 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
22979 wxUSE_REGEX
=builtin
22982 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22983 if test "${ac_cv_header_regex_h+set}" = set; then
22984 echo "$as_me:$LINENO: checking for regex.h" >&5
22985 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
22986 if test "${ac_cv_header_regex_h+set}" = set; then
22987 echo $ECHO_N "(cached) $ECHO_C" >&6
22989 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
22990 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
22992 # Is the header compilable?
22993 echo "$as_me:$LINENO: checking regex.h usability" >&5
22994 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
22995 cat >conftest.
$ac_ext <<_ACEOF
22998 cat confdefs.h
>>conftest.
$ac_ext
22999 cat >>conftest.
$ac_ext <<_ACEOF
23000 /* end confdefs.h. */
23001 $ac_includes_default
23004 rm -f conftest.
$ac_objext
23005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23006 (eval $ac_compile) 2>conftest.er1
23008 grep -v '^ *+' conftest.er1
>conftest.err
23010 cat conftest.err
>&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); } &&
23013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23015 (eval $ac_try) 2>&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); }; } &&
23019 { ac_try
='test -s conftest.$ac_objext'
23020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23021 (eval $ac_try) 2>&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; }; then
23025 ac_header_compiler
=yes
23027 echo "$as_me: failed program was:" >&5
23028 sed 's/^/| /' conftest.
$ac_ext >&5
23030 ac_header_compiler
=no
23032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23033 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23034 echo "${ECHO_T}$ac_header_compiler" >&6
23036 # Is the header present?
23037 echo "$as_me:$LINENO: checking regex.h presence" >&5
23038 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23039 cat >conftest.
$ac_ext <<_ACEOF
23042 cat confdefs.h
>>conftest.
$ac_ext
23043 cat >>conftest.
$ac_ext <<_ACEOF
23044 /* end confdefs.h. */
23047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23048 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23050 grep -v '^ *+' conftest.er1
>conftest.err
23052 cat conftest.err
>&5
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); } >/dev
/null
; then
23055 if test -s conftest.err
; then
23056 ac_cpp_err
=$ac_c_preproc_warn_flag
23057 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23064 if test -z "$ac_cpp_err"; then
23065 ac_header_preproc
=yes
23067 echo "$as_me: failed program was:" >&5
23068 sed 's/^/| /' conftest.
$ac_ext >&5
23070 ac_header_preproc
=no
23072 rm -f conftest.err conftest.
$ac_ext
23073 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23074 echo "${ECHO_T}$ac_header_preproc" >&6
23076 # So? What about this header?
23077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23079 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
23080 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23081 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
23082 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
23083 ac_header_preproc
=yes
23086 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
23087 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
23088 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
23089 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
23090 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
23091 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
23092 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
23093 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
23094 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
23095 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
23096 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
23097 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
23100 ## ----------------------------------------- ##
23101 ## Report this to wx-dev@lists.wxwidgets.org ##
23102 ## ----------------------------------------- ##
23105 sed "s/^/$as_me: WARNING: /" >&2
23108 echo "$as_me:$LINENO: checking for regex.h" >&5
23109 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23110 if test "${ac_cv_header_regex_h+set}" = set; then
23111 echo $ECHO_N "(cached) $ECHO_C" >&6
23113 ac_cv_header_regex_h
=$ac_header_preproc
23115 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23116 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23119 if test $ac_cv_header_regex_h = yes; then
23121 for ac_func
in regcomp
23123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23124 echo "$as_me:$LINENO: checking for $ac_func" >&5
23125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23126 if eval "test \"\${$as_ac_var+set}\" = set"; then
23127 echo $ECHO_N "(cached) $ECHO_C" >&6
23129 cat >conftest.
$ac_ext <<_ACEOF
23132 cat confdefs.h
>>conftest.
$ac_ext
23133 cat >>conftest.
$ac_ext <<_ACEOF
23134 /* end confdefs.h. */
23135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23137 #define $ac_func innocuous_$ac_func
23139 /* System header to define __stub macros and hopefully few prototypes,
23140 which can conflict with char $ac_func (); below.
23141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23142 <limits.h> exists even on freestanding compilers. */
23145 # include <limits.h>
23147 # include <assert.h>
23152 /* Override any gcc2 internal prototype to avoid an error. */
23157 /* We use char because int might match the return type of a gcc2
23158 builtin and then its argument prototype would still apply. */
23160 /* The GNU C library defines this for functions which it implements
23161 to always fail with ENOSYS. Some functions are actually named
23162 something starting with __ and the normal name is an alias. */
23163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23166 char (*f) () = $ac_func;
23175 return f != $ac_func;
23180 rm -f conftest.
$ac_objext conftest
$ac_exeext
23181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23182 (eval $ac_link) 2>conftest.er1
23184 grep -v '^ *+' conftest.er1
>conftest.err
23186 cat conftest.err
>&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } &&
23189 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23191 (eval $ac_try) 2>&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); }; } &&
23195 { ac_try
='test -s conftest$ac_exeext'
23196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23197 (eval $ac_try) 2>&5
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); }; }; then
23201 eval "$as_ac_var=yes"
23203 echo "$as_me: failed program was:" >&5
23204 sed 's/^/| /' conftest.
$ac_ext >&5
23206 eval "$as_ac_var=no"
23208 rm -f conftest.err conftest.
$ac_objext \
23209 conftest
$ac_exeext conftest.
$ac_ext
23211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23213 if test `eval echo '${'$as_ac_var'}'` = yes; then
23214 cat >>confdefs.h
<<_ACEOF
23215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23225 if test "x$ac_cv_func_regcomp" != "xyes"; then
23226 if test "$wxUSE_REGEX" = "sys" ; then
23227 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
23228 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
23229 { (exit 1); exit 1; }; }
23231 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
23232 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
23233 wxUSE_REGEX
=builtin
23237 cat >>confdefs.h
<<\_ACEOF
23238 #define WX_NO_REGEX_ADVANCED 1
23247 if test "$wxUSE_ZLIB" != "no" ; then
23248 cat >>confdefs.h
<<\_ACEOF
23249 #define wxUSE_ZLIB 1
23253 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
23254 if test "$USE_DARWIN" = 1; then
23255 system_zlib_h_ok
="yes"
23257 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
23258 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
23259 if test "${ac_cv_header_zlib_h+set}" = set; then
23260 echo $ECHO_N "(cached) $ECHO_C" >&6
23262 if test "$cross_compiling" = yes; then
23263 unset ac_cv_header_zlib_h
23266 cat >conftest.
$ac_ext <<_ACEOF
23269 cat confdefs.h
>>conftest.
$ac_ext
23270 cat >>conftest.
$ac_ext <<_ACEOF
23271 /* end confdefs.h. */
23278 FILE *f=fopen("conftestval", "w");
23281 ZLIB_VERSION[0] == '1' &&
23282 (ZLIB_VERSION[2] > '1' ||
23283 (ZLIB_VERSION[2] == '1' &&
23284 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
23289 rm -f conftest
$ac_exeext
23290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23291 (eval $ac_link) 2>&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296 (eval $ac_try) 2>&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; }; then
23300 ac_cv_header_zlib_h
=`cat conftestval`
23302 echo "$as_me: program exited with status $ac_status" >&5
23303 echo "$as_me: failed program was:" >&5
23304 sed 's/^/| /' conftest.
$ac_ext >&5
23306 ( exit $ac_status )
23307 ac_cv_header_zlib_h
=no
23309 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23313 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23314 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23315 if test "${ac_cv_header_zlib_h+set}" = set; then
23316 echo "$as_me:$LINENO: checking for zlib.h" >&5
23317 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23318 if test "${ac_cv_header_zlib_h+set}" = set; then
23319 echo $ECHO_N "(cached) $ECHO_C" >&6
23321 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23322 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23324 # Is the header compilable?
23325 echo "$as_me:$LINENO: checking zlib.h usability" >&5
23326 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
23327 cat >conftest.
$ac_ext <<_ACEOF
23330 cat confdefs.h
>>conftest.
$ac_ext
23331 cat >>conftest.
$ac_ext <<_ACEOF
23332 /* end confdefs.h. */
23333 $ac_includes_default
23336 rm -f conftest.
$ac_objext
23337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23338 (eval $ac_compile) 2>conftest.er1
23340 grep -v '^ *+' conftest.er1
>conftest.err
23342 cat conftest.err
>&5
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); } &&
23345 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347 (eval $ac_try) 2>&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; } &&
23351 { ac_try
='test -s conftest.$ac_objext'
23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353 (eval $ac_try) 2>&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; }; then
23357 ac_header_compiler
=yes
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.
$ac_ext >&5
23362 ac_header_compiler
=no
23364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23365 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23366 echo "${ECHO_T}$ac_header_compiler" >&6
23368 # Is the header present?
23369 echo "$as_me:$LINENO: checking zlib.h presence" >&5
23370 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
23371 cat >conftest.
$ac_ext <<_ACEOF
23374 cat confdefs.h
>>conftest.
$ac_ext
23375 cat >>conftest.
$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23380 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23382 grep -v '^ *+' conftest.er1
>conftest.err
23384 cat conftest.err
>&5
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); } >/dev
/null
; then
23387 if test -s conftest.err
; then
23388 ac_cpp_err
=$ac_c_preproc_warn_flag
23389 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23396 if test -z "$ac_cpp_err"; then
23397 ac_header_preproc
=yes
23399 echo "$as_me: failed program was:" >&5
23400 sed 's/^/| /' conftest.
$ac_ext >&5
23402 ac_header_preproc
=no
23404 rm -f conftest.err conftest.
$ac_ext
23405 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23406 echo "${ECHO_T}$ac_header_preproc" >&6
23408 # So? What about this header?
23409 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23411 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
23412 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23413 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
23414 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
23415 ac_header_preproc
=yes
23418 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
23419 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
23420 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
23421 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
23422 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
23423 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
23424 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
23425 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
23426 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
23427 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
23428 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
23429 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
23432 ## ----------------------------------------- ##
23433 ## Report this to wx-dev@lists.wxwidgets.org ##
23434 ## ----------------------------------------- ##
23437 sed "s/^/$as_me: WARNING: /" >&2
23440 echo "$as_me:$LINENO: checking for zlib.h" >&5
23441 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
23442 if test "${ac_cv_header_zlib_h+set}" = set; then
23443 echo $ECHO_N "(cached) $ECHO_C" >&6
23445 ac_cv_header_zlib_h
=$ac_header_preproc
23447 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
23448 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
23454 system_zlib_h_ok
=$ac_cv_header_zlib_h
23457 if test "$system_zlib_h_ok" = "yes"; then
23458 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
23459 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
23460 if test "${ac_cv_lib_z_deflate+set}" = set; then
23461 echo $ECHO_N "(cached) $ECHO_C" >&6
23463 ac_check_lib_save_LIBS
=$LIBS
23465 cat >conftest.
$ac_ext <<_ACEOF
23468 cat confdefs.h
>>conftest.
$ac_ext
23469 cat >>conftest.
$ac_ext <<_ACEOF
23470 /* end confdefs.h. */
23472 /* Override any gcc2 internal prototype to avoid an error. */
23476 /* We use char because int might match the return type of a gcc2
23477 builtin and then its argument prototype would still apply. */
23487 rm -f conftest.
$ac_objext conftest
$ac_exeext
23488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23489 (eval $ac_link) 2>conftest.er1
23491 grep -v '^ *+' conftest.er1
>conftest.err
23493 cat conftest.err
>&5
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); } &&
23496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23498 (eval $ac_try) 2>&5
23500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501 (exit $ac_status); }; } &&
23502 { ac_try
='test -s conftest$ac_exeext'
23503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23504 (eval $ac_try) 2>&5
23506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507 (exit $ac_status); }; }; then
23508 ac_cv_lib_z_deflate
=yes
23510 echo "$as_me: failed program was:" >&5
23511 sed 's/^/| /' conftest.
$ac_ext >&5
23513 ac_cv_lib_z_deflate
=no
23515 rm -f conftest.err conftest.
$ac_objext \
23516 conftest
$ac_exeext conftest.
$ac_ext
23517 LIBS
=$ac_check_lib_save_LIBS
23519 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
23520 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
23521 if test $ac_cv_lib_z_deflate = yes; then
23527 if test "x$ZLIB_LINK" = "x" ; then
23528 if test "$wxUSE_ZLIB" = "sys" ; then
23529 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
23530 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
23531 { (exit 1); exit 1; }; }
23533 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
23534 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
23545 if test "$wxUSE_LIBPNG" != "no" ; then
23546 cat >>confdefs.h
<<\_ACEOF
23547 #define wxUSE_LIBPNG 1
23551 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
23552 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
23553 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
23557 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
23558 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
23559 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
23560 wxUSE_LIBPNG
=builtin
23563 if test "$wxUSE_MGL" != 1 ; then
23564 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
23565 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
23566 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
23567 if test "${ac_cv_header_png_h+set}" = set; then
23568 echo $ECHO_N "(cached) $ECHO_C" >&6
23570 if test "$cross_compiling" = yes; then
23571 unset ac_cv_header_png_h
23574 cat >conftest.
$ac_ext <<_ACEOF
23577 cat confdefs.h
>>conftest.
$ac_ext
23578 cat >>conftest.
$ac_ext <<_ACEOF
23579 /* end confdefs.h. */
23586 FILE *f=fopen("conftestval", "w");
23589 PNG_LIBPNG_VER > 90 ? "yes" : "no");
23594 rm -f conftest
$ac_exeext
23595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23596 (eval $ac_link) 2>&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; }; then
23605 ac_cv_header_png_h
=`cat conftestval`
23607 echo "$as_me: program exited with status $ac_status" >&5
23608 echo "$as_me: failed program was:" >&5
23609 sed 's/^/| /' conftest.
$ac_ext >&5
23611 ( exit $ac_status )
23612 ac_cv_header_png_h
=no
23614 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23618 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23619 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23620 if test "${ac_cv_header_png_h+set}" = set; then
23621 echo "$as_me:$LINENO: checking for png.h" >&5
23622 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23623 if test "${ac_cv_header_png_h+set}" = set; then
23624 echo $ECHO_N "(cached) $ECHO_C" >&6
23626 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23627 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23629 # Is the header compilable?
23630 echo "$as_me:$LINENO: checking png.h usability" >&5
23631 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
23632 cat >conftest.
$ac_ext <<_ACEOF
23635 cat confdefs.h
>>conftest.
$ac_ext
23636 cat >>conftest.
$ac_ext <<_ACEOF
23637 /* end confdefs.h. */
23638 $ac_includes_default
23641 rm -f conftest.
$ac_objext
23642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23643 (eval $ac_compile) 2>conftest.er1
23645 grep -v '^ *+' conftest.er1
>conftest.err
23647 cat conftest.err
>&5
23648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23649 (exit $ac_status); } &&
23650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23652 (eval $ac_try) 2>&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); }; } &&
23656 { ac_try
='test -s conftest.$ac_objext'
23657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23658 (eval $ac_try) 2>&5
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); }; }; then
23662 ac_header_compiler
=yes
23664 echo "$as_me: failed program was:" >&5
23665 sed 's/^/| /' conftest.
$ac_ext >&5
23667 ac_header_compiler
=no
23669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23670 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23671 echo "${ECHO_T}$ac_header_compiler" >&6
23673 # Is the header present?
23674 echo "$as_me:$LINENO: checking png.h presence" >&5
23675 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
23676 cat >conftest.
$ac_ext <<_ACEOF
23679 cat confdefs.h
>>conftest.
$ac_ext
23680 cat >>conftest.
$ac_ext <<_ACEOF
23681 /* end confdefs.h. */
23684 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23685 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23687 grep -v '^ *+' conftest.er1
>conftest.err
23689 cat conftest.err
>&5
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); } >/dev
/null
; then
23692 if test -s conftest.err
; then
23693 ac_cpp_err
=$ac_c_preproc_warn_flag
23694 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23701 if test -z "$ac_cpp_err"; then
23702 ac_header_preproc
=yes
23704 echo "$as_me: failed program was:" >&5
23705 sed 's/^/| /' conftest.
$ac_ext >&5
23707 ac_header_preproc
=no
23709 rm -f conftest.err conftest.
$ac_ext
23710 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23711 echo "${ECHO_T}$ac_header_preproc" >&6
23713 # So? What about this header?
23714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23716 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
23717 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23718 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
23719 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
23720 ac_header_preproc
=yes
23723 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
23724 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
23725 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
23726 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
23727 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
23728 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
23729 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
23730 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
23731 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
23732 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
23733 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
23734 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
23737 ## ----------------------------------------- ##
23738 ## Report this to wx-dev@lists.wxwidgets.org ##
23739 ## ----------------------------------------- ##
23742 sed "s/^/$as_me: WARNING: /" >&2
23745 echo "$as_me:$LINENO: checking for png.h" >&5
23746 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
23747 if test "${ac_cv_header_png_h+set}" = set; then
23748 echo $ECHO_N "(cached) $ECHO_C" >&6
23750 ac_cv_header_png_h
=$ac_header_preproc
23752 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
23753 echo "${ECHO_T}$ac_cv_header_png_h" >&6
23759 if test "$ac_cv_header_png_h" = "yes"; then
23760 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
23761 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
23762 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
23763 echo $ECHO_N "(cached) $ECHO_C" >&6
23765 ac_check_lib_save_LIBS
=$LIBS
23766 LIBS
="-lpng -lz -lm $LIBS"
23767 cat >conftest.
$ac_ext <<_ACEOF
23770 cat confdefs.h
>>conftest.
$ac_ext
23771 cat >>conftest.
$ac_ext <<_ACEOF
23772 /* end confdefs.h. */
23774 /* Override any gcc2 internal prototype to avoid an error. */
23778 /* We use char because int might match the return type of a gcc2
23779 builtin and then its argument prototype would still apply. */
23780 char png_check_sig ();
23789 rm -f conftest.
$ac_objext conftest
$ac_exeext
23790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23791 (eval $ac_link) 2>conftest.er1
23793 grep -v '^ *+' conftest.er1
>conftest.err
23795 cat conftest.err
>&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } &&
23798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23800 (eval $ac_try) 2>&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); }; } &&
23804 { ac_try
='test -s conftest$ac_exeext'
23805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23806 (eval $ac_try) 2>&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; }; then
23810 ac_cv_lib_png_png_check_sig
=yes
23812 echo "$as_me: failed program was:" >&5
23813 sed 's/^/| /' conftest.
$ac_ext >&5
23815 ac_cv_lib_png_png_check_sig
=no
23817 rm -f conftest.err conftest.
$ac_objext \
23818 conftest
$ac_exeext conftest.
$ac_ext
23819 LIBS
=$ac_check_lib_save_LIBS
23821 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
23822 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
23823 if test $ac_cv_lib_png_png_check_sig = yes; then
23824 PNG_LINK
=" -lpng -lz"
23829 if test "x$PNG_LINK" = "x" ; then
23830 if test "$wxUSE_LIBPNG" = "sys" ; then
23831 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
23832 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
23833 { (exit 1); exit 1; }; }
23835 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
23836 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
23837 wxUSE_LIBPNG
=builtin
23845 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
23850 if test "$wxUSE_LIBJPEG" != "no" ; then
23851 cat >>confdefs.h
<<\_ACEOF
23852 #define wxUSE_LIBJPEG 1
23856 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
23857 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
23858 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
23862 if test "$wxUSE_MGL" != 1 ; then
23863 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
23864 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
23865 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
23866 if test "${ac_cv_header_jpeglib_h+set}" = set; then
23867 echo $ECHO_N "(cached) $ECHO_C" >&6
23869 cat >conftest.
$ac_ext <<_ACEOF
23872 cat confdefs.h
>>conftest.
$ac_ext
23873 cat >>conftest.
$ac_ext <<_ACEOF
23874 /* end confdefs.h. */
23876 #undef HAVE_STDLIB_H
23878 #include <jpeglib.h>
23889 rm -f conftest.
$ac_objext
23890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23891 (eval $ac_compile) 2>conftest.er1
23893 grep -v '^ *+' conftest.er1
>conftest.err
23895 cat conftest.err
>&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); } &&
23898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23900 (eval $ac_try) 2>&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); }; } &&
23904 { ac_try
='test -s conftest.$ac_objext'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; }; then
23910 ac_cv_header_jpeglib_h
=yes
23912 echo "$as_me: failed program was:" >&5
23913 sed 's/^/| /' conftest.
$ac_ext >&5
23915 ac_cv_header_jpeglib_h
=no
23918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23922 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
23923 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
23925 if test "$ac_cv_header_jpeglib_h" = "yes"; then
23926 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
23927 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
23928 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
23929 echo $ECHO_N "(cached) $ECHO_C" >&6
23931 ac_check_lib_save_LIBS
=$LIBS
23932 LIBS
="-ljpeg $LIBS"
23933 cat >conftest.
$ac_ext <<_ACEOF
23936 cat confdefs.h
>>conftest.
$ac_ext
23937 cat >>conftest.
$ac_ext <<_ACEOF
23938 /* end confdefs.h. */
23940 /* Override any gcc2 internal prototype to avoid an error. */
23944 /* We use char because int might match the return type of a gcc2
23945 builtin and then its argument prototype would still apply. */
23946 char jpeg_read_header ();
23950 jpeg_read_header ();
23955 rm -f conftest.
$ac_objext conftest
$ac_exeext
23956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23957 (eval $ac_link) 2>conftest.er1
23959 grep -v '^ *+' conftest.er1
>conftest.err
23961 cat conftest.err
>&5
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); } &&
23964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23966 (eval $ac_try) 2>&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); }; } &&
23970 { ac_try
='test -s conftest$ac_exeext'
23971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23972 (eval $ac_try) 2>&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); }; }; then
23976 ac_cv_lib_jpeg_jpeg_read_header
=yes
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.
$ac_ext >&5
23981 ac_cv_lib_jpeg_jpeg_read_header
=no
23983 rm -f conftest.err conftest.
$ac_objext \
23984 conftest
$ac_exeext conftest.
$ac_ext
23985 LIBS
=$ac_check_lib_save_LIBS
23987 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
23988 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
23989 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
23990 JPEG_LINK
=" -ljpeg"
23995 if test "x$JPEG_LINK" = "x" ; then
23996 if test "$wxUSE_LIBJPEG" = "sys" ; then
23997 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
23998 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
23999 { (exit 1); exit 1; }; }
24001 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24002 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24003 wxUSE_LIBJPEG
=builtin
24014 TIFF_PREREQ_LINKS
=-lm
24015 if test "$wxUSE_LIBTIFF" != "no" ; then
24016 cat >>confdefs.h
<<\_ACEOF
24017 #define wxUSE_LIBTIFF 1
24021 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24022 if test "$wxUSE_LIBJPEG" = "sys"; then
24023 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24025 if test "$wxUSE_ZLIB" = "sys"; then
24026 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24028 if test "${ac_cv_header_tiffio_h+set}" = set; then
24029 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24030 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24031 if test "${ac_cv_header_tiffio_h+set}" = set; then
24032 echo $ECHO_N "(cached) $ECHO_C" >&6
24034 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24035 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24037 # Is the header compilable?
24038 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
24039 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
24040 cat >conftest.
$ac_ext <<_ACEOF
24043 cat confdefs.h
>>conftest.
$ac_ext
24044 cat >>conftest.
$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 $ac_includes_default
24047 #include <tiffio.h>
24049 rm -f conftest.
$ac_objext
24050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24051 (eval $ac_compile) 2>conftest.er1
24053 grep -v '^ *+' conftest.er1
>conftest.err
24055 cat conftest.err
>&5
24056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24057 (exit $ac_status); } &&
24058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24060 (eval $ac_try) 2>&5
24062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24063 (exit $ac_status); }; } &&
24064 { ac_try
='test -s conftest.$ac_objext'
24065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24066 (eval $ac_try) 2>&5
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); }; }; then
24070 ac_header_compiler
=yes
24072 echo "$as_me: failed program was:" >&5
24073 sed 's/^/| /' conftest.
$ac_ext >&5
24075 ac_header_compiler
=no
24077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24078 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24079 echo "${ECHO_T}$ac_header_compiler" >&6
24081 # Is the header present?
24082 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
24083 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
24084 cat >conftest.
$ac_ext <<_ACEOF
24087 cat confdefs.h
>>conftest.
$ac_ext
24088 cat >>conftest.
$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24090 #include <tiffio.h>
24092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24093 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24095 grep -v '^ *+' conftest.er1
>conftest.err
24097 cat conftest.err
>&5
24098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24099 (exit $ac_status); } >/dev
/null
; then
24100 if test -s conftest.err
; then
24101 ac_cpp_err
=$ac_c_preproc_warn_flag
24102 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24109 if test -z "$ac_cpp_err"; then
24110 ac_header_preproc
=yes
24112 echo "$as_me: failed program was:" >&5
24113 sed 's/^/| /' conftest.
$ac_ext >&5
24115 ac_header_preproc
=no
24117 rm -f conftest.err conftest.
$ac_ext
24118 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24119 echo "${ECHO_T}$ac_header_preproc" >&6
24121 # So? What about this header?
24122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24124 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24125 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24126 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
24127 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
24128 ac_header_preproc
=yes
24131 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
24132 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
24133 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
24134 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
24135 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
24136 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
24137 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
24138 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24139 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
24140 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
24141 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
24142 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
24145 ## ----------------------------------------- ##
24146 ## Report this to wx-dev@lists.wxwidgets.org ##
24147 ## ----------------------------------------- ##
24150 sed "s/^/$as_me: WARNING: /" >&2
24153 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24154 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24155 if test "${ac_cv_header_tiffio_h+set}" = set; then
24156 echo $ECHO_N "(cached) $ECHO_C" >&6
24158 ac_cv_header_tiffio_h
=$ac_header_preproc
24160 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24161 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24164 if test $ac_cv_header_tiffio_h = yes; then
24166 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
24167 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
24168 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
24169 echo $ECHO_N "(cached) $ECHO_C" >&6
24171 ac_check_lib_save_LIBS
=$LIBS
24172 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
24173 cat >conftest.
$ac_ext <<_ACEOF
24176 cat confdefs.h
>>conftest.
$ac_ext
24177 cat >>conftest.
$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24180 /* Override any gcc2 internal prototype to avoid an error. */
24184 /* We use char because int might match the return type of a gcc2
24185 builtin and then its argument prototype would still apply. */
24195 rm -f conftest.
$ac_objext conftest
$ac_exeext
24196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24197 (eval $ac_link) 2>conftest.er1
24199 grep -v '^ *+' conftest.er1
>conftest.err
24201 cat conftest.err
>&5
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); } &&
24204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24206 (eval $ac_try) 2>&5
24208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209 (exit $ac_status); }; } &&
24210 { ac_try
='test -s conftest$ac_exeext'
24211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24212 (eval $ac_try) 2>&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); }; }; then
24216 ac_cv_lib_tiff_TIFFError
=yes
24218 echo "$as_me: failed program was:" >&5
24219 sed 's/^/| /' conftest.
$ac_ext >&5
24221 ac_cv_lib_tiff_TIFFError
=no
24223 rm -f conftest.err conftest.
$ac_objext \
24224 conftest
$ac_exeext conftest.
$ac_ext
24225 LIBS
=$ac_check_lib_save_LIBS
24227 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
24228 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
24229 if test $ac_cv_lib_tiff_TIFFError = yes; then
24230 TIFF_LINK
=" -ltiff"
24239 if test "x$TIFF_LINK" = "x" ; then
24240 if test "$wxUSE_LIBTIFF" = "sys" ; then
24241 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
24242 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
24243 { (exit 1); exit 1; }; }
24245 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
24246 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
24247 wxUSE_LIBTIFF
=builtin
24256 if test "$wxUSE_WCHAR_T" != "yes"; then
24257 if test "$wxUSE_EXPAT" != "no"; then
24258 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
24259 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
24262 if test "$wxUSE_XML" != "no"; then
24263 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
24264 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
24269 if test "$wxUSE_EXPAT" != "no"; then
24271 cat >>confdefs.h
<<\_ACEOF
24272 #define wxUSE_EXPAT 1
24275 cat >>confdefs.h
<<\_ACEOF
24276 #define wxUSE_XML 1
24280 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
24281 if test "${ac_cv_header_expat_h+set}" = set; then
24282 echo "$as_me:$LINENO: checking for expat.h" >&5
24283 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24284 if test "${ac_cv_header_expat_h+set}" = set; then
24285 echo $ECHO_N "(cached) $ECHO_C" >&6
24287 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24288 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24290 # Is the header compilable?
24291 echo "$as_me:$LINENO: checking expat.h usability" >&5
24292 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
24293 cat >conftest.
$ac_ext <<_ACEOF
24296 cat confdefs.h
>>conftest.
$ac_ext
24297 cat >>conftest.
$ac_ext <<_ACEOF
24298 /* end confdefs.h. */
24299 $ac_includes_default
24302 rm -f conftest.
$ac_objext
24303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24304 (eval $ac_compile) 2>conftest.er1
24306 grep -v '^ *+' conftest.er1
>conftest.err
24308 cat conftest.err
>&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); } &&
24311 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24313 (eval $ac_try) 2>&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); }; } &&
24317 { ac_try
='test -s conftest.$ac_objext'
24318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24319 (eval $ac_try) 2>&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); }; }; then
24323 ac_header_compiler
=yes
24325 echo "$as_me: failed program was:" >&5
24326 sed 's/^/| /' conftest.
$ac_ext >&5
24328 ac_header_compiler
=no
24330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24332 echo "${ECHO_T}$ac_header_compiler" >&6
24334 # Is the header present?
24335 echo "$as_me:$LINENO: checking expat.h presence" >&5
24336 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
24337 cat >conftest.
$ac_ext <<_ACEOF
24340 cat confdefs.h
>>conftest.
$ac_ext
24341 cat >>conftest.
$ac_ext <<_ACEOF
24342 /* end confdefs.h. */
24345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24346 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24348 grep -v '^ *+' conftest.er1
>conftest.err
24350 cat conftest.err
>&5
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); } >/dev
/null
; then
24353 if test -s conftest.err
; then
24354 ac_cpp_err
=$ac_c_preproc_warn_flag
24355 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24362 if test -z "$ac_cpp_err"; then
24363 ac_header_preproc
=yes
24365 echo "$as_me: failed program was:" >&5
24366 sed 's/^/| /' conftest.
$ac_ext >&5
24368 ac_header_preproc
=no
24370 rm -f conftest.err conftest.
$ac_ext
24371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24372 echo "${ECHO_T}$ac_header_preproc" >&6
24374 # So? What about this header?
24375 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24377 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
24378 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24379 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
24380 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
24381 ac_header_preproc
=yes
24384 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
24385 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
24386 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
24387 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
24388 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
24389 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
24390 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
24391 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
24392 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
24393 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
24394 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
24395 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
24398 ## ----------------------------------------- ##
24399 ## Report this to wx-dev@lists.wxwidgets.org ##
24400 ## ----------------------------------------- ##
24403 sed "s/^/$as_me: WARNING: /" >&2
24406 echo "$as_me:$LINENO: checking for expat.h" >&5
24407 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
24408 if test "${ac_cv_header_expat_h+set}" = set; then
24409 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 ac_cv_header_expat_h
=$ac_header_preproc
24413 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
24414 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
24417 if test $ac_cv_header_expat_h = yes; then
24422 if test "x$found_expat_h" = "x1"; then
24423 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
24424 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
24425 if test "${wx_cv_expat_is_not_broken+set}" = set; then
24426 echo $ECHO_N "(cached) $ECHO_C" >&6
24432 ac_cpp
='$CXXCPP $CPPFLAGS'
24433 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24434 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24435 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24437 cat >conftest.
$ac_ext <<_ACEOF
24440 cat confdefs.h
>>conftest.
$ac_ext
24441 cat >>conftest.
$ac_ext <<_ACEOF
24442 /* end confdefs.h. */
24452 rm -f conftest.
$ac_objext
24453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24454 (eval $ac_compile) 2>conftest.er1
24456 grep -v '^ *+' conftest.er1
>conftest.err
24458 cat conftest.err
>&5
24459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24460 (exit $ac_status); } &&
24461 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24463 (eval $ac_try) 2>&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); }; } &&
24467 { ac_try
='test -s conftest.$ac_objext'
24468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24469 (eval $ac_try) 2>&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); }; }; then
24473 wx_cv_expat_is_not_broken
=yes
24475 echo "$as_me: failed program was:" >&5
24476 sed 's/^/| /' conftest.
$ac_ext >&5
24478 wx_cv_expat_is_not_broken
=no
24481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24483 ac_cpp
='$CPP $CPPFLAGS'
24484 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24491 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
24492 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
24493 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
24494 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
24495 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
24496 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
24497 echo $ECHO_N "(cached) $ECHO_C" >&6
24499 ac_check_lib_save_LIBS
=$LIBS
24500 LIBS
="-lexpat $LIBS"
24501 cat >conftest.
$ac_ext <<_ACEOF
24504 cat confdefs.h
>>conftest.
$ac_ext
24505 cat >>conftest.
$ac_ext <<_ACEOF
24506 /* end confdefs.h. */
24508 /* Override any gcc2 internal prototype to avoid an error. */
24512 /* We use char because int might match the return type of a gcc2
24513 builtin and then its argument prototype would still apply. */
24514 char XML_ParserCreate ();
24518 XML_ParserCreate ();
24523 rm -f conftest.
$ac_objext conftest
$ac_exeext
24524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24525 (eval $ac_link) 2>conftest.er1
24527 grep -v '^ *+' conftest.er1
>conftest.err
24529 cat conftest.err
>&5
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); } &&
24532 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24534 (eval $ac_try) 2>&5
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); }; } &&
24538 { ac_try
='test -s conftest$ac_exeext'
24539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24540 (eval $ac_try) 2>&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); }; }; then
24544 ac_cv_lib_expat_XML_ParserCreate
=yes
24546 echo "$as_me: failed program was:" >&5
24547 sed 's/^/| /' conftest.
$ac_ext >&5
24549 ac_cv_lib_expat_XML_ParserCreate
=no
24551 rm -f conftest.err conftest.
$ac_objext \
24552 conftest
$ac_exeext conftest.
$ac_ext
24553 LIBS
=$ac_check_lib_save_LIBS
24555 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
24556 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
24557 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
24558 EXPAT_LINK
=" -lexpat"
24563 if test "x$EXPAT_LINK" = "x" ; then
24564 if test "$wxUSE_EXPAT" = "sys" ; then
24565 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
24566 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
24567 { (exit 1); exit 1; }; }
24569 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
24570 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
24571 wxUSE_EXPAT
=builtin
24577 if test "$wxUSE_EXPAT" = "builtin" ; then
24580 subdirs
="$subdirs src/expat"
24587 if test "$wxUSE_LIBMSPACK" != "no"; then
24588 if test "${ac_cv_header_mspack_h+set}" = set; then
24589 echo "$as_me:$LINENO: checking for mspack.h" >&5
24590 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24591 if test "${ac_cv_header_mspack_h+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24595 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24597 # Is the header compilable?
24598 echo "$as_me:$LINENO: checking mspack.h usability" >&5
24599 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
24600 cat >conftest.
$ac_ext <<_ACEOF
24603 cat confdefs.h
>>conftest.
$ac_ext
24604 cat >>conftest.
$ac_ext <<_ACEOF
24605 /* end confdefs.h. */
24606 $ac_includes_default
24607 #include <mspack.h>
24609 rm -f conftest.
$ac_objext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24611 (eval $ac_compile) 2>conftest.er1
24613 grep -v '^ *+' conftest.er1
>conftest.err
24615 cat conftest.err
>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24620 (eval $ac_try) 2>&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); }; } &&
24624 { ac_try
='test -s conftest.$ac_objext'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; }; then
24630 ac_header_compiler
=yes
24632 echo "$as_me: failed program was:" >&5
24633 sed 's/^/| /' conftest.
$ac_ext >&5
24635 ac_header_compiler
=no
24637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24639 echo "${ECHO_T}$ac_header_compiler" >&6
24641 # Is the header present?
24642 echo "$as_me:$LINENO: checking mspack.h presence" >&5
24643 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
24644 cat >conftest.
$ac_ext <<_ACEOF
24647 cat confdefs.h
>>conftest.
$ac_ext
24648 cat >>conftest.
$ac_ext <<_ACEOF
24649 /* end confdefs.h. */
24650 #include <mspack.h>
24652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24653 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24655 grep -v '^ *+' conftest.er1
>conftest.err
24657 cat conftest.err
>&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } >/dev
/null
; then
24660 if test -s conftest.err
; then
24661 ac_cpp_err
=$ac_c_preproc_warn_flag
24662 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24669 if test -z "$ac_cpp_err"; then
24670 ac_header_preproc
=yes
24672 echo "$as_me: failed program was:" >&5
24673 sed 's/^/| /' conftest.
$ac_ext >&5
24675 ac_header_preproc
=no
24677 rm -f conftest.err conftest.
$ac_ext
24678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24679 echo "${ECHO_T}$ac_header_preproc" >&6
24681 # So? What about this header?
24682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24684 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
24685 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24686 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
24687 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
24688 ac_header_preproc
=yes
24691 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
24692 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
24693 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
24694 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
24695 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
24696 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
24697 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
24698 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
24699 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
24700 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
24701 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
24702 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
24705 ## ----------------------------------------- ##
24706 ## Report this to wx-dev@lists.wxwidgets.org ##
24707 ## ----------------------------------------- ##
24710 sed "s/^/$as_me: WARNING: /" >&2
24713 echo "$as_me:$LINENO: checking for mspack.h" >&5
24714 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
24715 if test "${ac_cv_header_mspack_h+set}" = set; then
24716 echo $ECHO_N "(cached) $ECHO_C" >&6
24718 ac_cv_header_mspack_h
=$ac_header_preproc
24720 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
24721 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
24724 if test $ac_cv_header_mspack_h = yes; then
24729 if test "x$found_mspack_h" = "x1"; then
24730 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
24731 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
24732 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
24733 echo $ECHO_N "(cached) $ECHO_C" >&6
24735 ac_check_lib_save_LIBS
=$LIBS
24736 LIBS
="-lmspack $LIBS"
24737 cat >conftest.
$ac_ext <<_ACEOF
24740 cat confdefs.h
>>conftest.
$ac_ext
24741 cat >>conftest.
$ac_ext <<_ACEOF
24742 /* end confdefs.h. */
24744 /* Override any gcc2 internal prototype to avoid an error. */
24748 /* We use char because int might match the return type of a gcc2
24749 builtin and then its argument prototype would still apply. */
24750 char mspack_create_chm_decompressor ();
24754 mspack_create_chm_decompressor ();
24759 rm -f conftest.
$ac_objext conftest
$ac_exeext
24760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24761 (eval $ac_link) 2>conftest.er1
24763 grep -v '^ *+' conftest.er1
>conftest.err
24765 cat conftest.err
>&5
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); } &&
24768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24770 (eval $ac_try) 2>&5
24772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24773 (exit $ac_status); }; } &&
24774 { ac_try
='test -s conftest$ac_exeext'
24775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24776 (eval $ac_try) 2>&5
24778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24779 (exit $ac_status); }; }; then
24780 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
24782 echo "$as_me: failed program was:" >&5
24783 sed 's/^/| /' conftest.
$ac_ext >&5
24785 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
24787 rm -f conftest.err conftest.
$ac_objext \
24788 conftest
$ac_exeext conftest.
$ac_ext
24789 LIBS
=$ac_check_lib_save_LIBS
24791 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
24792 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
24793 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
24794 MSPACK_LINK
=" -lmspack"
24798 if test "x$MSPACK_LINK" = "x" ; then
24803 if test "$wxUSE_LIBMSPACK" != "no"; then
24804 cat >>confdefs.h
<<\_ACEOF
24805 #define wxUSE_LIBMSPACK 1
24819 if test "$USE_WIN32" = 1 ; then
24821 for ac_header
in w32api.h
24823 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24825 echo "$as_me:$LINENO: checking for $ac_header" >&5
24826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24833 # Is the header compilable?
24834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24836 cat >conftest.
$ac_ext <<_ACEOF
24839 cat confdefs.h
>>conftest.
$ac_ext
24840 cat >>conftest.
$ac_ext <<_ACEOF
24841 /* end confdefs.h. */
24842 $ac_includes_default
24843 #include <$ac_header>
24845 rm -f conftest.
$ac_objext
24846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24847 (eval $ac_compile) 2>conftest.er1
24849 grep -v '^ *+' conftest.er1
>conftest.err
24851 cat conftest.err
>&5
24852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853 (exit $ac_status); } &&
24854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24856 (eval $ac_try) 2>&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); }; } &&
24860 { ac_try
='test -s conftest.$ac_objext'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; }; then
24866 ac_header_compiler
=yes
24868 echo "$as_me: failed program was:" >&5
24869 sed 's/^/| /' conftest.
$ac_ext >&5
24871 ac_header_compiler
=no
24873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24875 echo "${ECHO_T}$ac_header_compiler" >&6
24877 # Is the header present?
24878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24880 cat >conftest.
$ac_ext <<_ACEOF
24883 cat confdefs.h
>>conftest.
$ac_ext
24884 cat >>conftest.
$ac_ext <<_ACEOF
24885 /* end confdefs.h. */
24886 #include <$ac_header>
24888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24889 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24891 grep -v '^ *+' conftest.er1
>conftest.err
24893 cat conftest.err
>&5
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); } >/dev
/null
; then
24896 if test -s conftest.err
; then
24897 ac_cpp_err
=$ac_c_preproc_warn_flag
24898 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24905 if test -z "$ac_cpp_err"; then
24906 ac_header_preproc
=yes
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.
$ac_ext >&5
24911 ac_header_preproc
=no
24913 rm -f conftest.err conftest.
$ac_ext
24914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24915 echo "${ECHO_T}$ac_header_preproc" >&6
24917 # So? What about this header?
24918 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24923 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24924 ac_header_preproc
=yes
24927 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24928 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24929 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24930 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24931 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24932 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24933 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24934 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24937 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24938 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24941 ## ----------------------------------------- ##
24942 ## Report this to wx-dev@lists.wxwidgets.org ##
24943 ## ----------------------------------------- ##
24946 sed "s/^/$as_me: WARNING: /" >&2
24949 echo "$as_me:$LINENO: checking for $ac_header" >&5
24950 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24952 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 eval "$as_ac_Header=\$ac_header_preproc"
24956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24961 cat >>confdefs.h
<<_ACEOF
24962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24969 if test "${ac_cv_header_windows_h+set}" = set; then
24970 echo "$as_me:$LINENO: checking for windows.h" >&5
24971 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
24972 if test "${ac_cv_header_windows_h+set}" = set; then
24973 echo $ECHO_N "(cached) $ECHO_C" >&6
24975 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
24976 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
24978 # Is the header compilable?
24979 echo "$as_me:$LINENO: checking windows.h usability" >&5
24980 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
24981 cat >conftest.
$ac_ext <<_ACEOF
24984 cat confdefs.h
>>conftest.
$ac_ext
24985 cat >>conftest.
$ac_ext <<_ACEOF
24986 /* end confdefs.h. */
24987 $ac_includes_default
24988 #include <windows.h>
24990 rm -f conftest.
$ac_objext
24991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24992 (eval $ac_compile) 2>conftest.er1
24994 grep -v '^ *+' conftest.er1
>conftest.err
24996 cat conftest.err
>&5
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); } &&
24999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25001 (eval $ac_try) 2>&5
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); }; } &&
25005 { ac_try
='test -s conftest.$ac_objext'
25006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25007 (eval $ac_try) 2>&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); }; }; then
25011 ac_header_compiler
=yes
25013 echo "$as_me: failed program was:" >&5
25014 sed 's/^/| /' conftest.
$ac_ext >&5
25016 ac_header_compiler
=no
25018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25020 echo "${ECHO_T}$ac_header_compiler" >&6
25022 # Is the header present?
25023 echo "$as_me:$LINENO: checking windows.h presence" >&5
25024 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25025 cat >conftest.
$ac_ext <<_ACEOF
25028 cat confdefs.h
>>conftest.
$ac_ext
25029 cat >>conftest.
$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25031 #include <windows.h>
25033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25034 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25036 grep -v '^ *+' conftest.er1
>conftest.err
25038 cat conftest.err
>&5
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); } >/dev
/null
; then
25041 if test -s conftest.err
; then
25042 ac_cpp_err
=$ac_c_preproc_warn_flag
25043 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25050 if test -z "$ac_cpp_err"; then
25051 ac_header_preproc
=yes
25053 echo "$as_me: failed program was:" >&5
25054 sed 's/^/| /' conftest.
$ac_ext >&5
25056 ac_header_preproc
=no
25058 rm -f conftest.err conftest.
$ac_ext
25059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25060 echo "${ECHO_T}$ac_header_preproc" >&6
25062 # So? What about this header?
25063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25065 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
25066 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25067 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
25068 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
25069 ac_header_preproc
=yes
25072 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
25073 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
25074 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
25075 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
25076 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
25077 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
25078 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
25079 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
25080 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
25081 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
25082 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
25083 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
25086 ## ----------------------------------------- ##
25087 ## Report this to wx-dev@lists.wxwidgets.org ##
25088 ## ----------------------------------------- ##
25091 sed "s/^/$as_me: WARNING: /" >&2
25094 echo "$as_me:$LINENO: checking for windows.h" >&5
25095 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25096 if test "${ac_cv_header_windows_h+set}" = set; then
25097 echo $ECHO_N "(cached) $ECHO_C" >&6
25099 ac_cv_header_windows_h
=$ac_header_preproc
25101 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25102 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25105 if test $ac_cv_header_windows_h = yes; then
25109 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
25110 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
25111 { (exit 1); exit 1; }; }
25117 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
25119 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
25120 LIBS
="$LIBS -loleacc"
25125 LIBS
="$LIBS -lkernel32 -luser32"
25126 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
25129 if test "$wxUSE_ODBC" = "sys" ; then
25132 if test "$wxUSE_ODBC" = "yes" ; then
25133 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
25134 cat >>confdefs.h
<<\_ACEOF
25135 #define wxUSE_ODBC 1
25140 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
25141 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
25143 WIN32INSTALL
=win32install
25146 if test "$wxUSE_GUI" = "yes"; then
25156 if test "$wxUSE_COCOA" = 1 ; then
25157 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
25158 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
25159 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
25160 wxUSE_PRINTING_ARCHITECTURE
=no
25162 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
25163 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
25164 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
25165 wxUSE_DRAG_AND_DROP
=no
25167 if test "$wxUSE_DRAGIMAGE" = "yes"; then
25168 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
25169 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
25174 if test "$wxUSE_MSW" = 1 ; then
25180 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
25184 if test "$wxUSE_GTK" = 1; then
25185 echo "$as_me:$LINENO: checking for GTK+ version" >&5
25186 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
25188 gtk_version_cached
=1
25189 if test "${wx_cv_lib_gtk+set}" = set; then
25190 echo $ECHO_N "(cached) $ECHO_C" >&6
25193 gtk_version_cached
=0
25194 echo "$as_me:$LINENO: result: " >&5
25195 echo "${ECHO_T}" >&6
25198 if test "$wxUSE_THREADS" = "yes"; then
25199 GTK_MODULES
=gthread
25203 if test "x$wxGTK_VERSION" != "x1"
25207 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25212 # Check whether --enable-gtktest or --disable-gtktest was given.
25213 if test "${enable_gtktest+set}" = set; then
25214 enableval
="$enable_gtktest"
25220 pkg_config_args
=gtk
+-2.0
25221 for module
in .
$GTK_MODULES
25225 pkg_config_args
="$pkg_config_args gthread-2.0"
25232 # Extract the first word of "pkg-config", so it can be a program name with args.
25233 set dummy pkg
-config; ac_word
=$2
25234 echo "$as_me:$LINENO: checking for $ac_word" >&5
25235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25236 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 case $PKG_CONFIG in
25241 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25245 for as_dir
in $PATH
25248 test -z "$as_dir" && as_dir
=.
25249 for ac_exec_ext
in '' $ac_executable_extensions; do
25250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25251 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25258 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25262 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25264 if test -n "$PKG_CONFIG"; then
25265 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25266 echo "${ECHO_T}$PKG_CONFIG" >&6
25268 echo "$as_me:$LINENO: result: no" >&5
25269 echo "${ECHO_T}no" >&6
25273 if test x
$PKG_CONFIG != xno
; then
25274 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
25277 echo "*** pkg-config too old; version 0.7 or better required."
25285 min_gtk_version
=2.0.0
25286 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
25287 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
25289 if test x
$PKG_CONFIG != xno
; then
25290 ## don't try to run the test against uninstalled libtool libs
25291 if $PKG_CONFIG --uninstalled $pkg_config_args; then
25292 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
25296 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
25303 if test x
"$no_gtk" = x
; then
25304 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
25305 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
25306 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25308 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25310 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
25311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25312 if test "x$enable_gtktest" = "xyes" ; then
25313 ac_save_CFLAGS
="$CFLAGS"
25314 ac_save_LIBS
="$LIBS"
25315 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25316 LIBS
="$GTK_LIBS $LIBS"
25318 if test "$cross_compiling" = yes; then
25319 echo $ac_n "cross compiling; assumed OK... $ac_c"
25321 cat >conftest.
$ac_ext <<_ACEOF
25324 cat confdefs.h
>>conftest.
$ac_ext
25325 cat >>conftest.
$ac_ext <<_ACEOF
25326 /* end confdefs.h. */
25328 #include <gtk/gtk.h>
25330 #include <stdlib.h>
25335 int major, minor, micro;
25338 system ("touch conf.gtktest");
25340 /* HP/UX 9 (%@#!) writes to sscanf strings */
25341 tmp_version = g_strdup("$min_gtk_version");
25342 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25343 printf("%s, bad version string\n", "$min_gtk_version");
25347 if ((gtk_major_version != $gtk_config_major_version) ||
25348 (gtk_minor_version != $gtk_config_minor_version) ||
25349 (gtk_micro_version != $gtk_config_micro_version))
25351 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25352 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25353 gtk_major_version, gtk_minor_version, gtk_micro_version);
25354 printf ("*** was found! If pkg-config was correct, then it is best\n");
25355 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25356 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25357 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25358 printf("*** required on your system.\n");
25359 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
25360 printf("*** to point to the correct configuration files\n");
25362 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25363 (gtk_minor_version != GTK_MINOR_VERSION) ||
25364 (gtk_micro_version != GTK_MICRO_VERSION))
25366 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25367 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25368 printf("*** library (version %d.%d.%d)\n",
25369 gtk_major_version, gtk_minor_version, gtk_micro_version);
25373 if ((gtk_major_version > major) ||
25374 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25375 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25381 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25382 gtk_major_version, gtk_minor_version, gtk_micro_version);
25383 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25384 major, minor, micro);
25385 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25387 printf("*** If you have already installed a sufficiently new version, this error\n");
25388 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
25389 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25390 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
25391 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
25392 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25393 printf("*** so that the correct libraries are found at run-time))\n");
25400 rm -f conftest
$ac_exeext
25401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25402 (eval $ac_link) 2>&5
25404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25405 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407 (eval $ac_try) 2>&5
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); }; }; then
25413 echo "$as_me: program exited with status $ac_status" >&5
25414 echo "$as_me: failed program was:" >&5
25415 sed 's/^/| /' conftest.
$ac_ext >&5
25417 ( exit $ac_status )
25420 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25422 CFLAGS
="$ac_save_CFLAGS"
25423 LIBS
="$ac_save_LIBS"
25426 if test "x$no_gtk" = x
; then
25427 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
25428 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
25431 echo "$as_me:$LINENO: result: no" >&5
25432 echo "${ECHO_T}no" >&6
25433 if test "$PKG_CONFIG" = "no" ; then
25434 echo "*** A new enough version of pkg-config was not found."
25435 echo "*** See http://pkgconfig.sourceforge.net"
25437 if test -f conf.gtktest
; then
25440 echo "*** Could not run GTK+ test program, checking why..."
25441 ac_save_CFLAGS
="$CFLAGS"
25442 ac_save_LIBS
="$LIBS"
25443 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25444 LIBS
="$LIBS $GTK_LIBS"
25445 cat >conftest.
$ac_ext <<_ACEOF
25448 cat confdefs.h
>>conftest.
$ac_ext
25449 cat >>conftest.
$ac_ext <<_ACEOF
25450 /* end confdefs.h. */
25452 #include <gtk/gtk.h>
25458 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25463 rm -f conftest.
$ac_objext conftest
$ac_exeext
25464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25465 (eval $ac_link) 2>conftest.er1
25467 grep -v '^ *+' conftest.er1
>conftest.err
25469 cat conftest.err
>&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); } &&
25472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474 (eval $ac_try) 2>&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); }; } &&
25478 { ac_try
='test -s conftest$ac_exeext'
25479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25480 (eval $ac_try) 2>&5
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); }; }; then
25484 echo "*** The test program compiled, but did not run. This usually means"
25485 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
25486 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
25487 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25488 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25489 echo "*** is required on your system"
25491 echo "*** If you have an old version installed, it is best to remove it, although"
25492 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25494 echo "$as_me: failed program was:" >&5
25495 sed 's/^/| /' conftest.
$ac_ext >&5
25497 echo "*** The test program failed to compile or link. See the file config.log for the"
25498 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
25500 rm -f conftest.err conftest.
$ac_objext \
25501 conftest
$ac_exeext conftest.
$ac_ext
25502 CFLAGS
="$ac_save_CFLAGS"
25503 LIBS
="$ac_save_LIBS"
25517 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
25518 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
25519 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
25521 if test "$wxUSE_SHARED" != "yes"; then
25522 GTK_LIBS
="$GTK_LIBS -lX11"
25527 if test -z "$wx_cv_lib_gtk"; then
25528 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
25530 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25531 if test "${with_gtk_prefix+set}" = set; then
25532 withval
="$with_gtk_prefix"
25533 gtk_config_prefix
="$withval"
25535 gtk_config_prefix
=""
25538 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25539 if test "${with_gtk_exec_prefix+set}" = set; then
25540 withval
="$with_gtk_exec_prefix"
25541 gtk_config_exec_prefix
="$withval"
25543 gtk_config_exec_prefix
=""
25545 # Check whether --enable-gtktest or --disable-gtktest was given.
25546 if test "${enable_gtktest+set}" = set; then
25547 enableval
="$enable_gtktest"
25553 for module
in .
$GTK_MODULES
25557 gtk_config_args
="$gtk_config_args gthread"
25562 if test x
$gtk_config_exec_prefix != x
; then
25563 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25564 if test x
${GTK_CONFIG+set} != xset
; then
25565 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25568 if test x
$gtk_config_prefix != x
; then
25569 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25570 if test x
${GTK_CONFIG+set} != xset
; then
25571 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25575 # Extract the first word of "gtk-config", so it can be a program name with args.
25576 set dummy gtk
-config; ac_word
=$2
25577 echo "$as_me:$LINENO: checking for $ac_word" >&5
25578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25579 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25580 echo $ECHO_N "(cached) $ECHO_C" >&6
25582 case $GTK_CONFIG in
25584 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25588 for as_dir
in $PATH
25591 test -z "$as_dir" && as_dir
=.
25592 for ac_exec_ext
in '' $ac_executable_extensions; do
25593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25594 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25601 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25605 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25607 if test -n "$GTK_CONFIG"; then
25608 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25609 echo "${ECHO_T}$GTK_CONFIG" >&6
25611 echo "$as_me:$LINENO: result: no" >&5
25612 echo "${ECHO_T}no" >&6
25615 min_gtk_version
=1.2.7
25616 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25617 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25619 if test "$GTK_CONFIG" = "no" ; then
25622 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25623 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25624 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25625 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25626 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25628 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25629 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25630 if test "x$enable_gtktest" = "xyes" ; then
25631 ac_save_CFLAGS
="$CFLAGS"
25632 ac_save_LIBS
="$LIBS"
25633 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25634 LIBS
="$GTK_LIBS $LIBS"
25636 if test "$cross_compiling" = yes; then
25637 echo $ac_n "cross compiling; assumed OK... $ac_c"
25639 cat >conftest.
$ac_ext <<_ACEOF
25642 cat confdefs.h
>>conftest.
$ac_ext
25643 cat >>conftest.
$ac_ext <<_ACEOF
25644 /* end confdefs.h. */
25646 #include <gtk/gtk.h>
25648 #include <stdlib.h>
25653 int major, minor, micro;
25656 system ("touch conf.gtktest");
25658 /* HP/UX 9 (%@#!) writes to sscanf strings */
25659 tmp_version = g_strdup("$min_gtk_version");
25660 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25661 printf("%s, bad version string\n", "$min_gtk_version");
25665 if ((gtk_major_version != $gtk_config_major_version) ||
25666 (gtk_minor_version != $gtk_config_minor_version) ||
25667 (gtk_micro_version != $gtk_config_micro_version))
25669 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25670 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25671 gtk_major_version, gtk_minor_version, gtk_micro_version);
25672 printf ("*** was found! If gtk-config was correct, then it is best\n");
25673 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25674 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25675 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25676 printf("*** required on your system.\n");
25677 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25678 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25679 printf("*** before re-running configure\n");
25681 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25682 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25683 (gtk_minor_version != GTK_MINOR_VERSION) ||
25684 (gtk_micro_version != GTK_MICRO_VERSION))
25686 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
25687 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
25688 printf("*** library (version %d.%d.%d)\n",
25689 gtk_major_version, gtk_minor_version, gtk_micro_version);
25691 #endif /* defined (GTK_MAJOR_VERSION) ... */
25694 if ((gtk_major_version > major) ||
25695 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
25696 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
25702 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
25703 gtk_major_version, gtk_minor_version, gtk_micro_version);
25704 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
25705 major, minor, micro);
25706 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
25708 printf("*** If you have already installed a sufficiently new version, this error\n");
25709 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
25710 printf("*** being found. The easiest way to fix this is to remove the old version\n");
25711 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
25712 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
25713 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
25714 printf("*** so that the correct libraries are found at run-time))\n");
25721 rm -f conftest
$ac_exeext
25722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25723 (eval $ac_link) 2>&5
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25728 (eval $ac_try) 2>&5
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); }; }; then
25734 echo "$as_me: program exited with status $ac_status" >&5
25735 echo "$as_me: failed program was:" >&5
25736 sed 's/^/| /' conftest.
$ac_ext >&5
25738 ( exit $ac_status )
25741 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25743 CFLAGS
="$ac_save_CFLAGS"
25744 LIBS
="$ac_save_LIBS"
25747 if test "x$no_gtk" = x
; then
25748 echo "$as_me:$LINENO: result: yes" >&5
25749 echo "${ECHO_T}yes" >&6
25750 wx_cv_lib_gtk
=1.2.7
25752 echo "$as_me:$LINENO: result: no" >&5
25753 echo "${ECHO_T}no" >&6
25754 if test "$GTK_CONFIG" = "no" ; then
25755 echo "*** The gtk-config script installed by GTK could not be found"
25756 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
25757 echo "*** your path, or set the GTK_CONFIG environment variable to the"
25758 echo "*** full path to gtk-config."
25760 if test -f conf.gtktest
; then
25763 echo "*** Could not run GTK test program, checking why..."
25764 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25765 LIBS
="$LIBS $GTK_LIBS"
25766 cat >conftest.
$ac_ext <<_ACEOF
25769 cat confdefs.h
>>conftest.
$ac_ext
25770 cat >>conftest.
$ac_ext <<_ACEOF
25771 /* end confdefs.h. */
25773 #include <gtk/gtk.h>
25779 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
25784 rm -f conftest.
$ac_objext conftest
$ac_exeext
25785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25786 (eval $ac_link) 2>conftest.er1
25788 grep -v '^ *+' conftest.er1
>conftest.err
25790 cat conftest.err
>&5
25791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 (exit $ac_status); } &&
25793 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25795 (eval $ac_try) 2>&5
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); }; } &&
25799 { ac_try
='test -s conftest$ac_exeext'
25800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25801 (eval $ac_try) 2>&5
25803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25804 (exit $ac_status); }; }; then
25805 echo "*** The test program compiled, but did not run. This usually means"
25806 echo "*** that the run-time linker is not finding GTK or finding the wrong"
25807 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
25808 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
25809 echo "*** to the installed location Also, make sure you have run ldconfig if that"
25810 echo "*** is required on your system"
25812 echo "*** If you have an old version installed, it is best to remove it, although"
25813 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
25815 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
25816 echo "*** came with the system with the command"
25818 echo "*** rpm --erase --nodeps gtk gtk-devel"
25820 echo "$as_me: failed program was:" >&5
25821 sed 's/^/| /' conftest.
$ac_ext >&5
25823 echo "*** The test program failed to compile or link. See the file config.log for the"
25824 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
25825 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
25826 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
25828 rm -f conftest.err conftest.
$ac_objext \
25829 conftest
$ac_exeext conftest.
$ac_ext
25830 CFLAGS
="$ac_save_CFLAGS"
25831 LIBS
="$ac_save_LIBS"
25843 if test -z "$wx_cv_lib_gtk"; then
25845 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
25846 if test "${with_gtk_prefix+set}" = set; then
25847 withval
="$with_gtk_prefix"
25848 gtk_config_prefix
="$withval"
25850 gtk_config_prefix
=""
25853 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
25854 if test "${with_gtk_exec_prefix+set}" = set; then
25855 withval
="$with_gtk_exec_prefix"
25856 gtk_config_exec_prefix
="$withval"
25858 gtk_config_exec_prefix
=""
25860 # Check whether --enable-gtktest or --disable-gtktest was given.
25861 if test "${enable_gtktest+set}" = set; then
25862 enableval
="$enable_gtktest"
25868 for module
in .
$GTK_MODULES
25872 gtk_config_args
="$gtk_config_args gthread"
25877 if test x
$gtk_config_exec_prefix != x
; then
25878 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
25879 if test x
${GTK_CONFIG+set} != xset
; then
25880 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
25883 if test x
$gtk_config_prefix != x
; then
25884 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
25885 if test x
${GTK_CONFIG+set} != xset
; then
25886 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
25890 # Extract the first word of "gtk-config", so it can be a program name with args.
25891 set dummy gtk
-config; ac_word
=$2
25892 echo "$as_me:$LINENO: checking for $ac_word" >&5
25893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25894 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
25895 echo $ECHO_N "(cached) $ECHO_C" >&6
25897 case $GTK_CONFIG in
25899 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
25902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25903 for as_dir
in $PATH
25906 test -z "$as_dir" && as_dir
=.
25907 for ac_exec_ext
in '' $ac_executable_extensions; do
25908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25909 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25916 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
25920 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
25922 if test -n "$GTK_CONFIG"; then
25923 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
25924 echo "${ECHO_T}$GTK_CONFIG" >&6
25926 echo "$as_me:$LINENO: result: no" >&5
25927 echo "${ECHO_T}no" >&6
25930 min_gtk_version
=1.2.3
25931 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
25932 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
25934 if test "$GTK_CONFIG" = "no" ; then
25937 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
25938 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
25939 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
25940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
25941 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
25942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
25943 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
25944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
25945 if test "x$enable_gtktest" = "xyes" ; then
25946 ac_save_CFLAGS
="$CFLAGS"
25947 ac_save_LIBS
="$LIBS"
25948 CFLAGS
="$CFLAGS $GTK_CFLAGS"
25949 LIBS
="$GTK_LIBS $LIBS"
25951 if test "$cross_compiling" = yes; then
25952 echo $ac_n "cross compiling; assumed OK... $ac_c"
25954 cat >conftest.
$ac_ext <<_ACEOF
25957 cat confdefs.h
>>conftest.
$ac_ext
25958 cat >>conftest.
$ac_ext <<_ACEOF
25959 /* end confdefs.h. */
25961 #include <gtk/gtk.h>
25963 #include <stdlib.h>
25968 int major, minor, micro;
25971 system ("touch conf.gtktest");
25973 /* HP/UX 9 (%@#!) writes to sscanf strings */
25974 tmp_version = g_strdup("$min_gtk_version");
25975 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
25976 printf("%s, bad version string\n", "$min_gtk_version");
25980 if ((gtk_major_version != $gtk_config_major_version) ||
25981 (gtk_minor_version != $gtk_config_minor_version) ||
25982 (gtk_micro_version != $gtk_config_micro_version))
25984 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
25985 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
25986 gtk_major_version, gtk_minor_version, gtk_micro_version);
25987 printf ("*** was found! If gtk-config was correct, then it is best\n");
25988 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
25989 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
25990 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
25991 printf("*** required on your system.\n");
25992 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
25993 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
25994 printf("*** before re-running configure\n");
25996 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
25997 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
25998 (gtk_minor_version != GTK_MINOR_VERSION) ||
25999 (gtk_micro_version != GTK_MICRO_VERSION))
26001 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26002 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26003 printf("*** library (version %d.%d.%d)\n",
26004 gtk_major_version, gtk_minor_version, gtk_micro_version);
26006 #endif /* defined (GTK_MAJOR_VERSION) ... */
26009 if ((gtk_major_version > major) ||
26010 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26011 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26017 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26018 gtk_major_version, gtk_minor_version, gtk_micro_version);
26019 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26020 major, minor, micro);
26021 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26023 printf("*** If you have already installed a sufficiently new version, this error\n");
26024 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26025 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26026 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26027 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26028 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26029 printf("*** so that the correct libraries are found at run-time))\n");
26036 rm -f conftest
$ac_exeext
26037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26038 (eval $ac_link) 2>&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26043 (eval $ac_try) 2>&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); }; }; then
26049 echo "$as_me: program exited with status $ac_status" >&5
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.
$ac_ext >&5
26053 ( exit $ac_status )
26056 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26058 CFLAGS
="$ac_save_CFLAGS"
26059 LIBS
="$ac_save_LIBS"
26062 if test "x$no_gtk" = x
; then
26063 echo "$as_me:$LINENO: result: yes" >&5
26064 echo "${ECHO_T}yes" >&6
26065 wx_cv_lib_gtk
=1.2.3
26067 echo "$as_me:$LINENO: result: no" >&5
26068 echo "${ECHO_T}no" >&6
26069 if test "$GTK_CONFIG" = "no" ; then
26070 echo "*** The gtk-config script installed by GTK could not be found"
26071 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26072 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26073 echo "*** full path to gtk-config."
26075 if test -f conf.gtktest
; then
26078 echo "*** Could not run GTK test program, checking why..."
26079 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26080 LIBS
="$LIBS $GTK_LIBS"
26081 cat >conftest.
$ac_ext <<_ACEOF
26084 cat confdefs.h
>>conftest.
$ac_ext
26085 cat >>conftest.
$ac_ext <<_ACEOF
26086 /* end confdefs.h. */
26088 #include <gtk/gtk.h>
26094 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26099 rm -f conftest.
$ac_objext conftest
$ac_exeext
26100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26101 (eval $ac_link) 2>conftest.er1
26103 grep -v '^ *+' conftest.er1
>conftest.err
26105 cat conftest.err
>&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); } &&
26108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26110 (eval $ac_try) 2>&5
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); }; } &&
26114 { ac_try
='test -s conftest$ac_exeext'
26115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26116 (eval $ac_try) 2>&5
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); }; }; then
26120 echo "*** The test program compiled, but did not run. This usually means"
26121 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26122 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26123 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26124 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26125 echo "*** is required on your system"
26127 echo "*** If you have an old version installed, it is best to remove it, although"
26128 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26130 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26131 echo "*** came with the system with the command"
26133 echo "*** rpm --erase --nodeps gtk gtk-devel"
26135 echo "$as_me: failed program was:" >&5
26136 sed 's/^/| /' conftest.
$ac_ext >&5
26138 echo "*** The test program failed to compile or link. See the file config.log for the"
26139 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26140 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26141 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26143 rm -f conftest.err conftest.
$ac_objext \
26144 conftest
$ac_exeext conftest.
$ac_ext
26145 CFLAGS
="$ac_save_CFLAGS"
26146 LIBS
="$ac_save_LIBS"
26161 if test -z "$wx_cv_lib_gtk"; then
26164 wx_cv_cflags_gtk
=$GTK_CFLAGS
26165 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
26172 if test "$gtk_version_cached" = 1; then
26173 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
26174 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
26177 case "$wx_cv_lib_gtk" in
26186 *) { { echo "$as_me:$LINENO: error:
26187 The development files for GTK+ were not found. For GTK+ 2, please
26188 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26189 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26190 and that the version is 1.2.3 or above. Also check that the
26191 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26192 --libs' are in the LD_LIBRARY_PATH or equivalent.
26194 echo "$as_me: error:
26195 The development files for GTK+ were not found. For GTK+ 2, please
26196 ensure that pkg-config is in the path and that gtk+-2.0.pc is
26197 installed. For GTK+ 1.2 please check that gtk-config is in the path,
26198 and that the version is 1.2.3 or above. Also check that the
26199 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
26200 --libs' are in the LD_LIBRARY_PATH or equivalent.
26202 { (exit 1); exit 1; }; }
26206 if test "$WXGTK20" = 1; then
26207 save_CFLAGS
="$CFLAGS"
26209 CFLAGS
="$CFLAGS $wx_cv_cflags_gtk"
26210 LIBS
="$LIBS $wx_cv_libs_gtk"
26212 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
26213 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
26214 cat >conftest.
$ac_ext <<_ACEOF
26217 cat confdefs.h
>>conftest.
$ac_ext
26218 cat >>conftest.
$ac_ext <<_ACEOF
26219 /* end confdefs.h. */
26221 #include <gtk/gtk.h>
26227 void *f = gtk_icon_size_lookup;
26233 rm -f conftest.
$ac_objext
26234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26235 (eval $ac_compile) 2>conftest.er1
26237 grep -v '^ *+' conftest.er1
>conftest.err
26239 cat conftest.err
>&5
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); } &&
26242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244 (eval $ac_try) 2>&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); }; } &&
26248 { ac_try
='test -s conftest.$ac_objext'
26249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250 (eval $ac_try) 2>&5
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); }; }; then
26255 echo "$as_me:$LINENO: result: no" >&5
26256 echo "${ECHO_T}no" >&6
26259 echo "$as_me: failed program was:" >&5
26260 sed 's/^/| /' conftest.
$ac_ext >&5
26263 cat >>confdefs.h
<<\_ACEOF
26264 #define NEED_GTK_ICON_SIZE_LOOKUP 1
26267 echo "$as_me:$LINENO: result: yes" >&5
26268 echo "${ECHO_T}yes" >&6
26271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26273 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
26274 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
26275 cat >conftest.
$ac_ext <<_ACEOF
26278 cat confdefs.h
>>conftest.
$ac_ext
26279 cat >>conftest.
$ac_ext <<_ACEOF
26280 /* end confdefs.h. */
26282 #include <gtk/gtk.h>
26288 #if !GTK_CHECK_VERSION(2,4,0)
26296 rm -f conftest.
$ac_objext
26297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26298 (eval $ac_compile) 2>conftest.er1
26300 grep -v '^ *+' conftest.er1
>conftest.err
26302 cat conftest.err
>&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); } &&
26305 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26307 (eval $ac_try) 2>&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); }; } &&
26311 { ac_try
='test -s conftest.$ac_objext'
26312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313 (eval $ac_try) 2>&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); }; }; then
26318 cat >>confdefs.h
<<\_ACEOF
26319 #define __WXGTK24__ 1
26322 echo "$as_me:$LINENO: result: yes" >&5
26323 echo "${ECHO_T}yes" >&6
26326 echo "$as_me: failed program was:" >&5
26327 sed 's/^/| /' conftest.
$ac_ext >&5
26330 echo "$as_me:$LINENO: result: no" >&5
26331 echo "${ECHO_T}no" >&6
26334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26336 CFLAGS
="$save_CFLAGS"
26339 if test "$wxUSE_UNICODE" = "yes"; then
26340 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
26341 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
26346 if test "$USE_DARWIN" != 1; then
26348 for ac_func
in poll
26350 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26351 echo "$as_me:$LINENO: checking for $ac_func" >&5
26352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26353 if eval "test \"\${$as_ac_var+set}\" = set"; then
26354 echo $ECHO_N "(cached) $ECHO_C" >&6
26356 cat >conftest.
$ac_ext <<_ACEOF
26359 cat confdefs.h
>>conftest.
$ac_ext
26360 cat >>conftest.
$ac_ext <<_ACEOF
26361 /* end confdefs.h. */
26362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26364 #define $ac_func innocuous_$ac_func
26366 /* System header to define __stub macros and hopefully few prototypes,
26367 which can conflict with char $ac_func (); below.
26368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26369 <limits.h> exists even on freestanding compilers. */
26372 # include <limits.h>
26374 # include <assert.h>
26379 /* Override any gcc2 internal prototype to avoid an error. */
26384 /* We use char because int might match the return type of a gcc2
26385 builtin and then its argument prototype would still apply. */
26387 /* The GNU C library defines this for functions which it implements
26388 to always fail with ENOSYS. Some functions are actually named
26389 something starting with __ and the normal name is an alias. */
26390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26393 char (*f) () = $ac_func;
26402 return f != $ac_func;
26407 rm -f conftest.
$ac_objext conftest
$ac_exeext
26408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26409 (eval $ac_link) 2>conftest.er1
26411 grep -v '^ *+' conftest.er1
>conftest.err
26413 cat conftest.err
>&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); } &&
26416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26418 (eval $ac_try) 2>&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); }; } &&
26422 { ac_try
='test -s conftest$ac_exeext'
26423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26424 (eval $ac_try) 2>&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); }; }; then
26428 eval "$as_ac_var=yes"
26430 echo "$as_me: failed program was:" >&5
26431 sed 's/^/| /' conftest.
$ac_ext >&5
26433 eval "$as_ac_var=no"
26435 rm -f conftest.err conftest.
$ac_objext \
26436 conftest
$ac_exeext conftest.
$ac_ext
26438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26440 if test `eval echo '${'$as_ac_var'}'` = yes; then
26441 cat >>confdefs.h
<<_ACEOF
26442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26450 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
26451 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
26453 AFMINSTALL
=afminstall
26457 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
26458 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
26459 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
26460 echo $ECHO_N "(cached) $ECHO_C" >&6
26462 ac_check_lib_save_LIBS
=$LIBS
26464 cat >conftest.
$ac_ext <<_ACEOF
26467 cat confdefs.h
>>conftest.
$ac_ext
26468 cat >>conftest.
$ac_ext <<_ACEOF
26469 /* end confdefs.h. */
26471 /* Override any gcc2 internal prototype to avoid an error. */
26475 /* We use char because int might match the return type of a gcc2
26476 builtin and then its argument prototype would still apply. */
26477 char gdk_im_open ();
26486 rm -f conftest.
$ac_objext conftest
$ac_exeext
26487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26488 (eval $ac_link) 2>conftest.er1
26490 grep -v '^ *+' conftest.er1
>conftest.err
26492 cat conftest.err
>&5
26493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26494 (exit $ac_status); } &&
26495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26497 (eval $ac_try) 2>&5
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); }; } &&
26501 { ac_try
='test -s conftest$ac_exeext'
26502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26503 (eval $ac_try) 2>&5
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); }; }; then
26507 ac_cv_lib_gdk_gdk_im_open
=yes
26509 echo "$as_me: failed program was:" >&5
26510 sed 's/^/| /' conftest.
$ac_ext >&5
26512 ac_cv_lib_gdk_gdk_im_open
=no
26514 rm -f conftest.err conftest.
$ac_objext \
26515 conftest
$ac_exeext conftest.
$ac_ext
26516 LIBS
=$ac_check_lib_save_LIBS
26518 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
26519 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
26520 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
26521 cat >>confdefs.h
<<\_ACEOF
26529 if test "$wxUSE_GPE" = "yes"; then
26530 echo "$as_me:$LINENO: checking for gpewidget library" >&5
26531 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
26534 for ac_dir
in $SEARCH_LIB;
26536 for ac_extension
in a so sl dylib dll.a
; do
26537 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
26538 ac_find_libraries
=$ac_dir
26544 if test "$ac_find_libraries" != "" ; then
26546 if test "$ac_find_libraries" = "default location"; then
26549 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26551 if test $result = 0; then
26554 ac_path_to_link
=" -L$ac_find_libraries"
26558 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
26560 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
26561 echo "${ECHO_T}found in $ac_find_libraries" >&6
26563 echo "$as_me:$LINENO: result: not found" >&5
26564 echo "${ECHO_T}not found" >&6
26570 if test "$wxUSE_MGL" = 1; then
26571 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
26572 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
26573 if test "x$MGL_ROOT" = x
; then
26574 echo "$as_me:$LINENO: result: not found" >&5
26575 echo "${ECHO_T}not found" >&6
26576 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
26577 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
26578 { (exit 1); exit 1; }; }
26580 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
26581 echo "${ECHO_T}$MGL_ROOT" >&6
26584 echo "$as_me:$LINENO: checking for libmgl location" >&5
26585 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
26588 if test "x$wxUSE_SHARED" = xyes
; then
26589 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
26591 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
26595 mgl_os_candidates
="dos32/dj2"
26598 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
26599 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
26600 { (exit 1); exit 1; }; }
26606 for mgl_os_i
in $mgl_os_candidates ; do
26607 if test "x$mgl_os" = x
; then
26608 if test "$wxUSE_DEBUG_FLAG" = yes ; then
26609 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
26610 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
26615 if test "x$mgl_lib_type" = x
; then
26616 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
26617 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
26618 mgl_lib_type
=release
26625 if test "x$mgl_os" = x
; then
26626 echo "$as_me:$LINENO: result: not found" >&5
26627 echo "${ECHO_T}not found" >&6
26628 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
26629 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
26630 { (exit 1); exit 1; }; }
26632 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
26633 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
26635 wxUSE_UNIVERSAL
="yes"
26637 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
26638 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
26640 AFMINSTALL
=afminstall
26645 if test "$wxUSE_MICROWIN" = 1; then
26646 echo "$as_me:$LINENO: checking for MicroWindows" >&5
26647 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
26648 if test "x$MICROWINDOWS" = x
; then
26649 echo "$as_me:$LINENO: result: not found" >&5
26650 echo "${ECHO_T}not found" >&6
26651 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
26652 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
26653 { (exit 1); exit 1; }; }
26655 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
26656 echo "${ECHO_T}$MICROWINDOWS" >&6
26659 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
26660 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
26661 echo "${ECHO_T}MicroWindows' libraries found." >&6
26663 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
26664 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
26665 { (exit 1); exit 1; }; }
26668 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
26669 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
26671 wxUSE_UNIVERSAL
="yes"
26673 AFMINSTALL
=afminstall
26675 GUIDIST
=MICROWIN_DIST
26677 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
26680 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26682 if test "x$ac_path_x_has_been_run" != xyes
; then
26683 echo "$as_me:$LINENO: checking for X" >&5
26684 echo $ECHO_N "checking for X... $ECHO_C" >&6
26686 ac_path_x_has_been_run
=yes
26688 # Check whether --with-x or --without-x was given.
26689 if test "${with_x+set}" = set; then
26693 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26694 if test "x$with_x" = xno
; then
26695 # The user explicitly disabled X.
26698 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
26699 # Both variables are already set.
26702 if test "${ac_cv_have_x+set}" = set; then
26703 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 # One or both of the vars are not set, and there is no cached value.
26706 ac_x_includes
=no ac_x_libraries
=no
26707 rm -fr conftest.dir
26708 if mkdir conftest.dir
; then
26710 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
26711 cat >Imakefile
<<'_ACEOF'
26713 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
26715 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
26716 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
26717 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
26718 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26719 for ac_extension
in a so sl
; do
26720 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
26721 test -f $ac_im_libdir/libX11.
$ac_extension; then
26722 ac_im_usrlibdir
=$ac_im_libdir; break
26725 # Screen out bogus values from the imake configuration. They are
26726 # bogus both because they are the default anyway, and because
26727 # using them would break gcc on systems where it needs fixed includes.
26728 case $ac_im_incroot in
26730 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
26732 case $ac_im_usrlibdir in
26733 /usr
/lib
| /lib
) ;;
26734 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
26738 rm -fr conftest.dir
26741 # Standard set of common directories for X headers.
26742 # Check X11 before X11Rn because it is often a symlink to the current release.
26754 /usr/local/X11/include
26755 /usr/local/X11R6/include
26756 /usr/local/X11R5/include
26757 /usr/local/X11R4/include
26759 /usr/local/include/X11
26760 /usr/local/include/X11R6
26761 /usr/local/include/X11R5
26762 /usr/local/include/X11R4
26766 /usr/XFree86/include/X11
26770 /usr/unsupported/include
26771 /usr/athena/include
26772 /usr/local/x11r5/include
26773 /usr/lpp/Xamples/include
26775 /usr/openwin/include
26776 /usr/openwin/share/include'
26778 if test "$ac_x_includes" = no
; then
26779 # Guess where to find include files, by looking for a specified header file.
26780 # First, try using that file with no special directory specified.
26781 cat >conftest.
$ac_ext <<_ACEOF
26784 cat confdefs.h
>>conftest.
$ac_ext
26785 cat >>conftest.
$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26787 #include <X11/Intrinsic.h>
26789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26790 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26792 grep -v '^ *+' conftest.er1
>conftest.err
26794 cat conftest.err
>&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } >/dev
/null
; then
26797 if test -s conftest.err
; then
26798 ac_cpp_err
=$ac_c_preproc_warn_flag
26799 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26806 if test -z "$ac_cpp_err"; then
26807 # We can compile using X headers with no special include directory.
26810 echo "$as_me: failed program was:" >&5
26811 sed 's/^/| /' conftest.
$ac_ext >&5
26813 for ac_dir
in $ac_x_header_dirs; do
26814 if test -r "$ac_dir/X11/Intrinsic.h"; then
26815 ac_x_includes
=$ac_dir
26820 rm -f conftest.err conftest.
$ac_ext
26821 fi # $ac_x_includes = no
26823 if test "$ac_x_libraries" = no
; then
26824 # Check for the libraries.
26825 # See if we find them without any special options.
26826 # Don't add to $LIBS permanently.
26829 cat >conftest.
$ac_ext <<_ACEOF
26832 cat confdefs.h
>>conftest.
$ac_ext
26833 cat >>conftest.
$ac_ext <<_ACEOF
26834 /* end confdefs.h. */
26835 #include <X11/Intrinsic.h>
26844 rm -f conftest.
$ac_objext conftest
$ac_exeext
26845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26846 (eval $ac_link) 2>conftest.er1
26848 grep -v '^ *+' conftest.er1
>conftest.err
26850 cat conftest.err
>&5
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); } &&
26853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26855 (eval $ac_try) 2>&5
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); }; } &&
26859 { ac_try
='test -s conftest$ac_exeext'
26860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26861 (eval $ac_try) 2>&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); }; }; then
26866 # We can link X programs with no special library path.
26869 echo "$as_me: failed program was:" >&5
26870 sed 's/^/| /' conftest.
$ac_ext >&5
26873 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26875 # Don't even attempt the hair of trying to link an X program!
26876 for ac_extension
in a so sl
; do
26877 if test -r $ac_dir/libXt.
$ac_extension; then
26878 ac_x_libraries
=$ac_dir
26884 rm -f conftest.err conftest.
$ac_objext \
26885 conftest
$ac_exeext conftest.
$ac_ext
26886 fi # $ac_x_libraries = no
26888 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
26889 # Didn't find X anywhere. Cache the known absence of X.
26890 ac_cv_have_x
="have_x=no"
26892 # Record where we found X for the cache.
26893 ac_cv_have_x
="have_x=yes \
26894 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
26899 eval "$ac_cv_have_x"
26902 if test "$have_x" != yes; then
26903 echo "$as_me:$LINENO: result: $have_x" >&5
26904 echo "${ECHO_T}$have_x" >&6
26907 # If each of the values was on the command line, it overrides each guess.
26908 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
26909 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
26910 # Update the cache value to reflect the command line values.
26911 ac_cv_have_x
="have_x=yes \
26912 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
26913 # It might be that x_includes is empty (headers are found in the
26914 # standard search path. Then output the corresponding message
26915 ac_out_x_includes
=$x_includes
26916 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
26917 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
26918 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
26922 if test "$no_x" = yes; then
26923 # Not all programs may use this symbol, but it does not hurt to define it.
26925 cat >>confdefs.h
<<\_ACEOF
26926 #define X_DISPLAY_MISSING 1
26929 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
26931 if test -n "$x_includes"; then
26932 X_CFLAGS
="$X_CFLAGS -I$x_includes"
26935 # It would also be nice to do this for all -L options, not just this one.
26936 if test -n "$x_libraries"; then
26937 X_LIBS
="$X_LIBS -L$x_libraries"
26938 # For Solaris; some versions of Sun CC require a space after -R and
26939 # others require no space. Words are not sufficient . . . .
26940 case `(uname -sr) 2>/dev/null` in
26942 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
26943 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
26944 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
26945 cat >conftest.
$ac_ext <<_ACEOF
26948 cat confdefs.h
>>conftest.
$ac_ext
26949 cat >>conftest.
$ac_ext <<_ACEOF
26950 /* end confdefs.h. */
26960 rm -f conftest.
$ac_objext conftest
$ac_exeext
26961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26962 (eval $ac_link) 2>conftest.er1
26964 grep -v '^ *+' conftest.er1
>conftest.err
26966 cat conftest.err
>&5
26967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26968 (exit $ac_status); } &&
26969 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26971 (eval $ac_try) 2>&5
26973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26974 (exit $ac_status); }; } &&
26975 { ac_try
='test -s conftest$ac_exeext'
26976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26977 (eval $ac_try) 2>&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); }; }; then
26983 echo "$as_me: failed program was:" >&5
26984 sed 's/^/| /' conftest.
$ac_ext >&5
26988 rm -f conftest.err conftest.
$ac_objext \
26989 conftest
$ac_exeext conftest.
$ac_ext
26990 if test $ac_R_nospace = yes; then
26991 echo "$as_me:$LINENO: result: no" >&5
26992 echo "${ECHO_T}no" >&6
26993 X_LIBS
="$X_LIBS -R$x_libraries"
26995 LIBS
="$ac_xsave_LIBS -R $x_libraries"
26996 cat >conftest.
$ac_ext <<_ACEOF
26999 cat confdefs.h
>>conftest.
$ac_ext
27000 cat >>conftest.
$ac_ext <<_ACEOF
27001 /* end confdefs.h. */
27011 rm -f conftest.
$ac_objext conftest
$ac_exeext
27012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27013 (eval $ac_link) 2>conftest.er1
27015 grep -v '^ *+' conftest.er1
>conftest.err
27017 cat conftest.err
>&5
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); } &&
27020 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27022 (eval $ac_try) 2>&5
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); }; } &&
27026 { ac_try
='test -s conftest$ac_exeext'
27027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27028 (eval $ac_try) 2>&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); }; }; then
27034 echo "$as_me: failed program was:" >&5
27035 sed 's/^/| /' conftest.
$ac_ext >&5
27039 rm -f conftest.err conftest.
$ac_objext \
27040 conftest
$ac_exeext conftest.
$ac_ext
27041 if test $ac_R_space = yes; then
27042 echo "$as_me:$LINENO: result: yes" >&5
27043 echo "${ECHO_T}yes" >&6
27044 X_LIBS
="$X_LIBS -R $x_libraries"
27046 echo "$as_me:$LINENO: result: neither works" >&5
27047 echo "${ECHO_T}neither works" >&6
27050 LIBS
=$ac_xsave_LIBS
27054 # Check for system-dependent libraries X programs must link with.
27055 # Do this before checking for the system-independent R6 libraries
27056 # (-lICE), since we may need -lsocket or whatever for X linking.
27058 if test "$ISC" = yes; then
27059 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
27061 # Martyn Johnson says this is needed for Ultrix, if the X
27062 # libraries were built with DECnet support. And Karl Berry says
27063 # the Alpha needs dnet_stub (dnet does not exist).
27064 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
27065 cat >conftest.
$ac_ext <<_ACEOF
27068 cat confdefs.h
>>conftest.
$ac_ext
27069 cat >>conftest.
$ac_ext <<_ACEOF
27070 /* end confdefs.h. */
27072 /* Override any gcc2 internal prototype to avoid an error. */
27076 /* We use char because int might match the return type of a gcc2
27077 builtin and then its argument prototype would still apply. */
27078 char XOpenDisplay ();
27087 rm -f conftest.
$ac_objext conftest
$ac_exeext
27088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27089 (eval $ac_link) 2>conftest.er1
27091 grep -v '^ *+' conftest.er1
>conftest.err
27093 cat conftest.err
>&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); } &&
27096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098 (eval $ac_try) 2>&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); }; } &&
27102 { ac_try
='test -s conftest$ac_exeext'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; }; then
27110 echo "$as_me: failed program was:" >&5
27111 sed 's/^/| /' conftest.
$ac_ext >&5
27113 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
27114 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
27115 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
27116 echo $ECHO_N "(cached) $ECHO_C" >&6
27118 ac_check_lib_save_LIBS
=$LIBS
27119 LIBS
="-ldnet $LIBS"
27120 cat >conftest.
$ac_ext <<_ACEOF
27123 cat confdefs.h
>>conftest.
$ac_ext
27124 cat >>conftest.
$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27127 /* 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. */
27142 rm -f conftest.
$ac_objext conftest
$ac_exeext
27143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27144 (eval $ac_link) 2>conftest.er1
27146 grep -v '^ *+' conftest.er1
>conftest.err
27148 cat conftest.err
>&5
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); } &&
27151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27153 (eval $ac_try) 2>&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); }; } &&
27157 { ac_try
='test -s conftest$ac_exeext'
27158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27159 (eval $ac_try) 2>&5
27161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162 (exit $ac_status); }; }; then
27163 ac_cv_lib_dnet_dnet_ntoa
=yes
27165 echo "$as_me: failed program was:" >&5
27166 sed 's/^/| /' conftest.
$ac_ext >&5
27168 ac_cv_lib_dnet_dnet_ntoa
=no
27170 rm -f conftest.err conftest.
$ac_objext \
27171 conftest
$ac_exeext conftest.
$ac_ext
27172 LIBS
=$ac_check_lib_save_LIBS
27174 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27175 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
27176 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
27177 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
27180 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
27181 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
27182 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
27183 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
27184 echo $ECHO_N "(cached) $ECHO_C" >&6
27186 ac_check_lib_save_LIBS
=$LIBS
27187 LIBS
="-ldnet_stub $LIBS"
27188 cat >conftest.
$ac_ext <<_ACEOF
27191 cat confdefs.h
>>conftest.
$ac_ext
27192 cat >>conftest.
$ac_ext <<_ACEOF
27193 /* end confdefs.h. */
27195 /* Override any gcc2 internal prototype to avoid an error. */
27199 /* We use char because int might match the return type of a gcc2
27200 builtin and then its argument prototype would still apply. */
27210 rm -f conftest.
$ac_objext conftest
$ac_exeext
27211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27212 (eval $ac_link) 2>conftest.er1
27214 grep -v '^ *+' conftest.er1
>conftest.err
27216 cat conftest.err
>&5
27217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27218 (exit $ac_status); } &&
27219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27221 (eval $ac_try) 2>&5
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); }; } &&
27225 { ac_try
='test -s conftest$ac_exeext'
27226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27227 (eval $ac_try) 2>&5
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); }; }; then
27231 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
27233 echo "$as_me: failed program was:" >&5
27234 sed 's/^/| /' conftest.
$ac_ext >&5
27236 ac_cv_lib_dnet_stub_dnet_ntoa
=no
27238 rm -f conftest.err conftest.
$ac_objext \
27239 conftest
$ac_exeext conftest.
$ac_ext
27240 LIBS
=$ac_check_lib_save_LIBS
27242 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27243 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
27244 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
27245 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
27250 rm -f conftest.err conftest.
$ac_objext \
27251 conftest
$ac_exeext conftest.
$ac_ext
27252 LIBS
="$ac_xsave_LIBS"
27254 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27255 # to get the SysV transport functions.
27256 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27258 # The nsl library prevents programs from opening the X display
27259 # on Irix 5.2, according to T.E. Dickey.
27260 # The functions gethostbyname, getservbyname, and inet_addr are
27261 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27262 echo "$as_me:$LINENO: checking for gethostbyname" >&5
27263 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
27264 if test "${ac_cv_func_gethostbyname+set}" = set; then
27265 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 cat >conftest.
$ac_ext <<_ACEOF
27270 cat confdefs.h
>>conftest.
$ac_ext
27271 cat >>conftest.
$ac_ext <<_ACEOF
27272 /* end confdefs.h. */
27273 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
27274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27275 #define gethostbyname innocuous_gethostbyname
27277 /* System header to define __stub macros and hopefully few prototypes,
27278 which can conflict with char gethostbyname (); below.
27279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27280 <limits.h> exists even on freestanding compilers. */
27283 # include <limits.h>
27285 # include <assert.h>
27288 #undef gethostbyname
27290 /* Override any gcc2 internal prototype to avoid an error. */
27295 /* We use char because int might match the return type of a gcc2
27296 builtin and then its argument prototype would still apply. */
27297 char gethostbyname ();
27298 /* The GNU C library defines this for functions which it implements
27299 to always fail with ENOSYS. Some functions are actually named
27300 something starting with __ and the normal name is an alias. */
27301 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
27304 char (*f) () = gethostbyname;
27313 return f != gethostbyname;
27318 rm -f conftest.
$ac_objext conftest
$ac_exeext
27319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27320 (eval $ac_link) 2>conftest.er1
27322 grep -v '^ *+' conftest.er1
>conftest.err
27324 cat conftest.err
>&5
27325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27326 (exit $ac_status); } &&
27327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27329 (eval $ac_try) 2>&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); }; } &&
27333 { ac_try
='test -s conftest$ac_exeext'
27334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27335 (eval $ac_try) 2>&5
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); }; }; then
27339 ac_cv_func_gethostbyname
=yes
27341 echo "$as_me: failed program was:" >&5
27342 sed 's/^/| /' conftest.
$ac_ext >&5
27344 ac_cv_func_gethostbyname
=no
27346 rm -f conftest.err conftest.
$ac_objext \
27347 conftest
$ac_exeext conftest.
$ac_ext
27349 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
27350 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
27352 if test $ac_cv_func_gethostbyname = no
; then
27353 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
27354 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
27355 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
27356 echo $ECHO_N "(cached) $ECHO_C" >&6
27358 ac_check_lib_save_LIBS
=$LIBS
27360 cat >conftest.
$ac_ext <<_ACEOF
27363 cat confdefs.h
>>conftest.
$ac_ext
27364 cat >>conftest.
$ac_ext <<_ACEOF
27365 /* end confdefs.h. */
27367 /* Override any gcc2 internal prototype to avoid an error. */
27371 /* We use char because int might match the return type of a gcc2
27372 builtin and then its argument prototype would still apply. */
27373 char gethostbyname ();
27382 rm -f conftest.
$ac_objext conftest
$ac_exeext
27383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27384 (eval $ac_link) 2>conftest.er1
27386 grep -v '^ *+' conftest.er1
>conftest.err
27388 cat conftest.err
>&5
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); } &&
27391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27393 (eval $ac_try) 2>&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); }; } &&
27397 { ac_try
='test -s conftest$ac_exeext'
27398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 (eval $ac_try) 2>&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); }; }; then
27403 ac_cv_lib_nsl_gethostbyname
=yes
27405 echo "$as_me: failed program was:" >&5
27406 sed 's/^/| /' conftest.
$ac_ext >&5
27408 ac_cv_lib_nsl_gethostbyname
=no
27410 rm -f conftest.err conftest.
$ac_objext \
27411 conftest
$ac_exeext conftest.
$ac_ext
27412 LIBS
=$ac_check_lib_save_LIBS
27414 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
27415 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
27416 if test $ac_cv_lib_nsl_gethostbyname = yes; then
27417 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
27420 if test $ac_cv_lib_nsl_gethostbyname = no
; then
27421 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
27422 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
27423 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
27424 echo $ECHO_N "(cached) $ECHO_C" >&6
27426 ac_check_lib_save_LIBS
=$LIBS
27428 cat >conftest.
$ac_ext <<_ACEOF
27431 cat confdefs.h
>>conftest.
$ac_ext
27432 cat >>conftest.
$ac_ext <<_ACEOF
27433 /* end confdefs.h. */
27435 /* Override any gcc2 internal prototype to avoid an error. */
27439 /* We use char because int might match the return type of a gcc2
27440 builtin and then its argument prototype would still apply. */
27441 char gethostbyname ();
27450 rm -f conftest.
$ac_objext conftest
$ac_exeext
27451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27452 (eval $ac_link) 2>conftest.er1
27454 grep -v '^ *+' conftest.er1
>conftest.err
27456 cat conftest.err
>&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } &&
27459 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27461 (eval $ac_try) 2>&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); }; } &&
27465 { ac_try
='test -s conftest$ac_exeext'
27466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27467 (eval $ac_try) 2>&5
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; }; then
27471 ac_cv_lib_bsd_gethostbyname
=yes
27473 echo "$as_me: failed program was:" >&5
27474 sed 's/^/| /' conftest.
$ac_ext >&5
27476 ac_cv_lib_bsd_gethostbyname
=no
27478 rm -f conftest.err conftest.
$ac_objext \
27479 conftest
$ac_exeext conftest.
$ac_ext
27480 LIBS
=$ac_check_lib_save_LIBS
27482 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
27483 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
27484 if test $ac_cv_lib_bsd_gethostbyname = yes; then
27485 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
27491 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27492 # socket/setsockopt and other routines are undefined under SCO ODT
27493 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27494 # on later versions), says Simon Leinen: it contains gethostby*
27495 # variants that don't use the name server (or something). -lsocket
27496 # must be given before -lnsl if both are needed. We assume that
27497 # if connect needs -lnsl, so does gethostbyname.
27498 echo "$as_me:$LINENO: checking for connect" >&5
27499 echo $ECHO_N "checking for connect... $ECHO_C" >&6
27500 if test "${ac_cv_func_connect+set}" = set; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27503 cat >conftest.
$ac_ext <<_ACEOF
27506 cat confdefs.h
>>conftest.
$ac_ext
27507 cat >>conftest.
$ac_ext <<_ACEOF
27508 /* end confdefs.h. */
27509 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
27510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27511 #define connect innocuous_connect
27513 /* System header to define __stub macros and hopefully few prototypes,
27514 which can conflict with char connect (); below.
27515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27516 <limits.h> exists even on freestanding compilers. */
27519 # include <limits.h>
27521 # include <assert.h>
27526 /* Override any gcc2 internal prototype to avoid an error. */
27531 /* We use char because int might match the return type of a gcc2
27532 builtin and then its argument prototype would still apply. */
27534 /* The GNU C library defines this for functions which it implements
27535 to always fail with ENOSYS. Some functions are actually named
27536 something starting with __ and the normal name is an alias. */
27537 #if defined (__stub_connect) || defined (__stub___connect)
27540 char (*f) () = connect;
27549 return f != connect;
27554 rm -f conftest.
$ac_objext conftest
$ac_exeext
27555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27556 (eval $ac_link) 2>conftest.er1
27558 grep -v '^ *+' conftest.er1
>conftest.err
27560 cat conftest.err
>&5
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); } &&
27563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27565 (eval $ac_try) 2>&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); }; } &&
27569 { ac_try
='test -s conftest$ac_exeext'
27570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27571 (eval $ac_try) 2>&5
27573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27574 (exit $ac_status); }; }; then
27575 ac_cv_func_connect
=yes
27577 echo "$as_me: failed program was:" >&5
27578 sed 's/^/| /' conftest.
$ac_ext >&5
27580 ac_cv_func_connect
=no
27582 rm -f conftest.err conftest.
$ac_objext \
27583 conftest
$ac_exeext conftest.
$ac_ext
27585 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
27586 echo "${ECHO_T}$ac_cv_func_connect" >&6
27588 if test $ac_cv_func_connect = no
; then
27589 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
27590 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
27591 if test "${ac_cv_lib_socket_connect+set}" = set; then
27592 echo $ECHO_N "(cached) $ECHO_C" >&6
27594 ac_check_lib_save_LIBS
=$LIBS
27595 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
27596 cat >conftest.
$ac_ext <<_ACEOF
27599 cat confdefs.h
>>conftest.
$ac_ext
27600 cat >>conftest.
$ac_ext <<_ACEOF
27601 /* end confdefs.h. */
27603 /* Override any gcc2 internal prototype to avoid an error. */
27607 /* We use char because int might match the return type of a gcc2
27608 builtin and then its argument prototype would still apply. */
27618 rm -f conftest.
$ac_objext conftest
$ac_exeext
27619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27620 (eval $ac_link) 2>conftest.er1
27622 grep -v '^ *+' conftest.er1
>conftest.err
27624 cat conftest.err
>&5
27625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27626 (exit $ac_status); } &&
27627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27629 (eval $ac_try) 2>&5
27631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632 (exit $ac_status); }; } &&
27633 { ac_try
='test -s conftest$ac_exeext'
27634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27635 (eval $ac_try) 2>&5
27637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27638 (exit $ac_status); }; }; then
27639 ac_cv_lib_socket_connect
=yes
27641 echo "$as_me: failed program was:" >&5
27642 sed 's/^/| /' conftest.
$ac_ext >&5
27644 ac_cv_lib_socket_connect
=no
27646 rm -f conftest.err conftest.
$ac_objext \
27647 conftest
$ac_exeext conftest.
$ac_ext
27648 LIBS
=$ac_check_lib_save_LIBS
27650 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
27651 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
27652 if test $ac_cv_lib_socket_connect = yes; then
27653 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
27658 # Guillermo Gomez says -lposix is necessary on A/UX.
27659 echo "$as_me:$LINENO: checking for remove" >&5
27660 echo $ECHO_N "checking for remove... $ECHO_C" >&6
27661 if test "${ac_cv_func_remove+set}" = set; then
27662 echo $ECHO_N "(cached) $ECHO_C" >&6
27664 cat >conftest.
$ac_ext <<_ACEOF
27667 cat confdefs.h
>>conftest.
$ac_ext
27668 cat >>conftest.
$ac_ext <<_ACEOF
27669 /* end confdefs.h. */
27670 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
27671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27672 #define remove innocuous_remove
27674 /* System header to define __stub macros and hopefully few prototypes,
27675 which can conflict with char remove (); below.
27676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27677 <limits.h> exists even on freestanding compilers. */
27680 # include <limits.h>
27682 # include <assert.h>
27687 /* Override any gcc2 internal prototype to avoid an error. */
27692 /* We use char because int might match the return type of a gcc2
27693 builtin and then its argument prototype would still apply. */
27695 /* The GNU C library defines this for functions which it implements
27696 to always fail with ENOSYS. Some functions are actually named
27697 something starting with __ and the normal name is an alias. */
27698 #if defined (__stub_remove) || defined (__stub___remove)
27701 char (*f) () = remove;
27710 return f != remove;
27715 rm -f conftest.
$ac_objext conftest
$ac_exeext
27716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27717 (eval $ac_link) 2>conftest.er1
27719 grep -v '^ *+' conftest.er1
>conftest.err
27721 cat conftest.err
>&5
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); } &&
27724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27726 (eval $ac_try) 2>&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); }; } &&
27730 { ac_try
='test -s conftest$ac_exeext'
27731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27732 (eval $ac_try) 2>&5
27734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735 (exit $ac_status); }; }; then
27736 ac_cv_func_remove
=yes
27738 echo "$as_me: failed program was:" >&5
27739 sed 's/^/| /' conftest.
$ac_ext >&5
27741 ac_cv_func_remove
=no
27743 rm -f conftest.err conftest.
$ac_objext \
27744 conftest
$ac_exeext conftest.
$ac_ext
27746 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
27747 echo "${ECHO_T}$ac_cv_func_remove" >&6
27749 if test $ac_cv_func_remove = no
; then
27750 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
27751 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
27752 if test "${ac_cv_lib_posix_remove+set}" = set; then
27753 echo $ECHO_N "(cached) $ECHO_C" >&6
27755 ac_check_lib_save_LIBS
=$LIBS
27756 LIBS
="-lposix $LIBS"
27757 cat >conftest.
$ac_ext <<_ACEOF
27760 cat confdefs.h
>>conftest.
$ac_ext
27761 cat >>conftest.
$ac_ext <<_ACEOF
27762 /* end confdefs.h. */
27764 /* Override any gcc2 internal prototype to avoid an error. */
27768 /* We use char because int might match the return type of a gcc2
27769 builtin and then its argument prototype would still apply. */
27779 rm -f conftest.
$ac_objext conftest
$ac_exeext
27780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27781 (eval $ac_link) 2>conftest.er1
27783 grep -v '^ *+' conftest.er1
>conftest.err
27785 cat conftest.err
>&5
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); } &&
27788 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27790 (eval $ac_try) 2>&5
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); }; } &&
27794 { ac_try
='test -s conftest$ac_exeext'
27795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27796 (eval $ac_try) 2>&5
27798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799 (exit $ac_status); }; }; then
27800 ac_cv_lib_posix_remove
=yes
27802 echo "$as_me: failed program was:" >&5
27803 sed 's/^/| /' conftest.
$ac_ext >&5
27805 ac_cv_lib_posix_remove
=no
27807 rm -f conftest.err conftest.
$ac_objext \
27808 conftest
$ac_exeext conftest.
$ac_ext
27809 LIBS
=$ac_check_lib_save_LIBS
27811 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
27812 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
27813 if test $ac_cv_lib_posix_remove = yes; then
27814 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
27819 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27820 echo "$as_me:$LINENO: checking for shmat" >&5
27821 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
27822 if test "${ac_cv_func_shmat+set}" = set; then
27823 echo $ECHO_N "(cached) $ECHO_C" >&6
27825 cat >conftest.
$ac_ext <<_ACEOF
27828 cat confdefs.h
>>conftest.
$ac_ext
27829 cat >>conftest.
$ac_ext <<_ACEOF
27830 /* end confdefs.h. */
27831 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
27832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27833 #define shmat innocuous_shmat
27835 /* System header to define __stub macros and hopefully few prototypes,
27836 which can conflict with char shmat (); below.
27837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27838 <limits.h> exists even on freestanding compilers. */
27841 # include <limits.h>
27843 # include <assert.h>
27848 /* Override any gcc2 internal prototype to avoid an error. */
27853 /* We use char because int might match the return type of a gcc2
27854 builtin and then its argument prototype would still apply. */
27856 /* The GNU C library defines this for functions which it implements
27857 to always fail with ENOSYS. Some functions are actually named
27858 something starting with __ and the normal name is an alias. */
27859 #if defined (__stub_shmat) || defined (__stub___shmat)
27862 char (*f) () = shmat;
27876 rm -f conftest.
$ac_objext conftest
$ac_exeext
27877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27878 (eval $ac_link) 2>conftest.er1
27880 grep -v '^ *+' conftest.er1
>conftest.err
27882 cat conftest.err
>&5
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); } &&
27885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27887 (eval $ac_try) 2>&5
27889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27890 (exit $ac_status); }; } &&
27891 { ac_try
='test -s conftest$ac_exeext'
27892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27893 (eval $ac_try) 2>&5
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); }; }; then
27897 ac_cv_func_shmat
=yes
27899 echo "$as_me: failed program was:" >&5
27900 sed 's/^/| /' conftest.
$ac_ext >&5
27902 ac_cv_func_shmat
=no
27904 rm -f conftest.err conftest.
$ac_objext \
27905 conftest
$ac_exeext conftest.
$ac_ext
27907 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
27908 echo "${ECHO_T}$ac_cv_func_shmat" >&6
27910 if test $ac_cv_func_shmat = no
; then
27911 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
27912 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
27913 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
27914 echo $ECHO_N "(cached) $ECHO_C" >&6
27916 ac_check_lib_save_LIBS
=$LIBS
27918 cat >conftest.
$ac_ext <<_ACEOF
27921 cat confdefs.h
>>conftest.
$ac_ext
27922 cat >>conftest.
$ac_ext <<_ACEOF
27923 /* end confdefs.h. */
27925 /* Override any gcc2 internal prototype to avoid an error. */
27929 /* We use char because int might match the return type of a gcc2
27930 builtin and then its argument prototype would still apply. */
27940 rm -f conftest.
$ac_objext conftest
$ac_exeext
27941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27942 (eval $ac_link) 2>conftest.er1
27944 grep -v '^ *+' conftest.er1
>conftest.err
27946 cat conftest.err
>&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } &&
27949 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27951 (eval $ac_try) 2>&5
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); }; } &&
27955 { ac_try
='test -s conftest$ac_exeext'
27956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27957 (eval $ac_try) 2>&5
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); }; }; then
27961 ac_cv_lib_ipc_shmat
=yes
27963 echo "$as_me: failed program was:" >&5
27964 sed 's/^/| /' conftest.
$ac_ext >&5
27966 ac_cv_lib_ipc_shmat
=no
27968 rm -f conftest.err conftest.
$ac_objext \
27969 conftest
$ac_exeext conftest.
$ac_ext
27970 LIBS
=$ac_check_lib_save_LIBS
27972 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
27973 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
27974 if test $ac_cv_lib_ipc_shmat = yes; then
27975 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
27981 # Check for libraries that X11R6 Xt/Xaw programs need.
27982 ac_save_LDFLAGS
=$LDFLAGS
27983 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
27984 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27985 # check for ICE first), but we must link in the order -lSM -lICE or
27986 # we get undefined symbols. So assume we have SM if we have ICE.
27987 # These have to be linked with before -lX11, unlike the other
27988 # libraries we check for below, so use a different variable.
27989 # John Interrante, Karl Berry
27990 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27991 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27992 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27993 echo $ECHO_N "(cached) $ECHO_C" >&6
27995 ac_check_lib_save_LIBS
=$LIBS
27996 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
27997 cat >conftest.
$ac_ext <<_ACEOF
28000 cat confdefs.h
>>conftest.
$ac_ext
28001 cat >>conftest.
$ac_ext <<_ACEOF
28002 /* end confdefs.h. */
28004 /* Override any gcc2 internal prototype to avoid an error. */
28008 /* We use char because int might match the return type of a gcc2
28009 builtin and then its argument prototype would still apply. */
28010 char IceConnectionNumber ();
28014 IceConnectionNumber ();
28019 rm -f conftest.
$ac_objext conftest
$ac_exeext
28020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28021 (eval $ac_link) 2>conftest.er1
28023 grep -v '^ *+' conftest.er1
>conftest.err
28025 cat conftest.err
>&5
28026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027 (exit $ac_status); } &&
28028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030 (eval $ac_try) 2>&5
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); }; } &&
28034 { ac_try
='test -s conftest$ac_exeext'
28035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036 (eval $ac_try) 2>&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); }; }; then
28040 ac_cv_lib_ICE_IceConnectionNumber
=yes
28042 echo "$as_me: failed program was:" >&5
28043 sed 's/^/| /' conftest.
$ac_ext >&5
28045 ac_cv_lib_ICE_IceConnectionNumber
=no
28047 rm -f conftest.err conftest.
$ac_objext \
28048 conftest
$ac_exeext conftest.
$ac_ext
28049 LIBS
=$ac_check_lib_save_LIBS
28051 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28052 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
28053 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28054 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
28057 LDFLAGS
=$ac_save_LDFLAGS
28062 if test "$no_x" = "yes"; then
28063 { { echo "$as_me:$LINENO: error: X11 not found" >&5
28064 echo "$as_me: error: X11 not found" >&2;}
28065 { (exit please use
--x-includes and
/or
--x-libraries options
); exit please use
--x-includes and
/or
--x-libraries options
; }; }
28068 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
28069 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
28070 AFMINSTALL
=afminstall
28071 COMPILED_X_PROGRAM
=0
28075 if test "$wxUSE_X11" = 1; then
28076 if test "$wxUSE_NANOX" = "yes"; then
28077 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
28078 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
28079 if test "x$MICROWIN" = x
; then
28080 echo "$as_me:$LINENO: result: not found" >&5
28081 echo "${ECHO_T}not found" >&6
28082 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
28083 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
28084 { (exit 1); exit 1; }; }
28086 echo "$as_me:$LINENO: result: $MICROWIN" >&5
28087 echo "${ECHO_T}$MICROWIN" >&6
28088 cat >>confdefs.h
<<\_ACEOF
28089 #define wxUSE_NANOX 1
28095 if test "$wxUSE_UNICODE" = "yes"; then
28099 if test -z "$PKG_CONFIG"; then
28100 # Extract the first word of "pkg-config", so it can be a program name with args.
28101 set dummy pkg
-config; ac_word
=$2
28102 echo "$as_me:$LINENO: checking for $ac_word" >&5
28103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28104 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28105 echo $ECHO_N "(cached) $ECHO_C" >&6
28107 case $PKG_CONFIG in
28109 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28113 for as_dir
in $PATH
28116 test -z "$as_dir" && as_dir
=.
28117 for ac_exec_ext
in '' $ac_executable_extensions; do
28118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28119 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28126 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28130 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28132 if test -n "$PKG_CONFIG"; then
28133 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28134 echo "${ECHO_T}$PKG_CONFIG" >&6
28136 echo "$as_me:$LINENO: result: no" >&5
28137 echo "${ECHO_T}no" >&6
28142 if test "$PKG_CONFIG" = "no" ; then
28143 echo "*** The pkg-config script could not be found. Make sure it is"
28144 echo "*** in your path, or set the PKG_CONFIG environment variable"
28145 echo "*** to the full path to pkg-config."
28146 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28148 PKG_CONFIG_MIN_VERSION
=0.9.0
28149 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28150 echo "$as_me:$LINENO: checking for pangox" >&5
28151 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
28153 if $PKG_CONFIG --exists "pangox" ; then
28154 echo "$as_me:$LINENO: result: yes" >&5
28155 echo "${ECHO_T}yes" >&6
28158 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
28159 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
28160 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
28161 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
28162 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
28164 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
28165 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
28166 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
28167 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
28168 echo "${ECHO_T}$PANGOX_LIBS" >&6
28172 ## If we have a custom action on failure, don't print errors, but
28173 ## do set a variable so people can do so.
28174 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
28181 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28182 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28186 if test $succeeded = yes; then
28188 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
28189 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
28193 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
28194 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
28195 { (exit 1); exit 1; }; }
28203 if test -z "$PKG_CONFIG"; then
28204 # Extract the first word of "pkg-config", so it can be a program name with args.
28205 set dummy pkg
-config; ac_word
=$2
28206 echo "$as_me:$LINENO: checking for $ac_word" >&5
28207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28208 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28209 echo $ECHO_N "(cached) $ECHO_C" >&6
28211 case $PKG_CONFIG in
28213 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28217 for as_dir
in $PATH
28220 test -z "$as_dir" && as_dir
=.
28221 for ac_exec_ext
in '' $ac_executable_extensions; do
28222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28223 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28230 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28234 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28236 if test -n "$PKG_CONFIG"; then
28237 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28238 echo "${ECHO_T}$PKG_CONFIG" >&6
28240 echo "$as_me:$LINENO: result: no" >&5
28241 echo "${ECHO_T}no" >&6
28246 if test "$PKG_CONFIG" = "no" ; then
28247 echo "*** The pkg-config script could not be found. Make sure it is"
28248 echo "*** in your path, or set the PKG_CONFIG environment variable"
28249 echo "*** to the full path to pkg-config."
28250 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28252 PKG_CONFIG_MIN_VERSION
=0.9.0
28253 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28254 echo "$as_me:$LINENO: checking for pangoft2" >&5
28255 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
28257 if $PKG_CONFIG --exists "pangoft2" ; then
28258 echo "$as_me:$LINENO: result: yes" >&5
28259 echo "${ECHO_T}yes" >&6
28262 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
28263 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
28264 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
28265 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
28266 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
28268 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
28269 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
28270 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
28271 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
28272 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
28276 ## If we have a custom action on failure, don't print errors, but
28277 ## do set a variable so people can do so.
28278 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
28285 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28286 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28290 if test $succeeded = yes; then
28292 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
28293 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
28297 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
28298 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
28299 wxUSE_PRINTING_ARCHITECTURE
="no"
28307 if test -z "$PKG_CONFIG"; then
28308 # Extract the first word of "pkg-config", so it can be a program name with args.
28309 set dummy pkg
-config; ac_word
=$2
28310 echo "$as_me:$LINENO: checking for $ac_word" >&5
28311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28312 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28313 echo $ECHO_N "(cached) $ECHO_C" >&6
28315 case $PKG_CONFIG in
28317 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28321 for as_dir
in $PATH
28324 test -z "$as_dir" && as_dir
=.
28325 for ac_exec_ext
in '' $ac_executable_extensions; do
28326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28327 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28334 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
28338 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28340 if test -n "$PKG_CONFIG"; then
28341 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28342 echo "${ECHO_T}$PKG_CONFIG" >&6
28344 echo "$as_me:$LINENO: result: no" >&5
28345 echo "${ECHO_T}no" >&6
28350 if test "$PKG_CONFIG" = "no" ; then
28351 echo "*** The pkg-config script could not be found. Make sure it is"
28352 echo "*** in your path, or set the PKG_CONFIG environment variable"
28353 echo "*** to the full path to pkg-config."
28354 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
28356 PKG_CONFIG_MIN_VERSION
=0.9.0
28357 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
28358 echo "$as_me:$LINENO: checking for pangoxft" >&5
28359 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
28361 if $PKG_CONFIG --exists "pangoxft" ; then
28362 echo "$as_me:$LINENO: result: yes" >&5
28363 echo "${ECHO_T}yes" >&6
28366 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
28367 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
28368 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
28369 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
28370 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
28372 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
28373 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
28374 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
28375 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
28376 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
28380 ## If we have a custom action on failure, don't print errors, but
28381 ## do set a variable so people can do so.
28382 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
28389 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
28390 echo "*** See http://www.freedesktop.org/software/pkgconfig"
28394 if test $succeeded = yes; then
28396 cat >>confdefs.h
<<\_ACEOF
28397 #define HAVE_PANGO_XFT 1
28400 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
28401 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
28405 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
28406 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
28411 save_CFLAGS
="$CFLAGS"
28413 CFLAGS
="$CFLAGS $PANGOX_CFLAGS"
28414 LIBS
="$LIBS $PANGOX_LIBS"
28416 for ac_func
in pango_font_family_is_monospace
28418 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28419 echo "$as_me:$LINENO: checking for $ac_func" >&5
28420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28421 if eval "test \"\${$as_ac_var+set}\" = set"; then
28422 echo $ECHO_N "(cached) $ECHO_C" >&6
28424 cat >conftest.
$ac_ext <<_ACEOF
28427 cat confdefs.h
>>conftest.
$ac_ext
28428 cat >>conftest.
$ac_ext <<_ACEOF
28429 /* end confdefs.h. */
28430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28432 #define $ac_func innocuous_$ac_func
28434 /* System header to define __stub macros and hopefully few prototypes,
28435 which can conflict with char $ac_func (); below.
28436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28437 <limits.h> exists even on freestanding compilers. */
28440 # include <limits.h>
28442 # include <assert.h>
28447 /* Override any gcc2 internal prototype to avoid an error. */
28452 /* We use char because int might match the return type of a gcc2
28453 builtin and then its argument prototype would still apply. */
28455 /* The GNU C library defines this for functions which it implements
28456 to always fail with ENOSYS. Some functions are actually named
28457 something starting with __ and the normal name is an alias. */
28458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28461 char (*f) () = $ac_func;
28470 return f != $ac_func;
28475 rm -f conftest.
$ac_objext conftest
$ac_exeext
28476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28477 (eval $ac_link) 2>conftest.er1
28479 grep -v '^ *+' conftest.er1
>conftest.err
28481 cat conftest.err
>&5
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); } &&
28484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28486 (eval $ac_try) 2>&5
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); }; } &&
28490 { ac_try
='test -s conftest$ac_exeext'
28491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28492 (eval $ac_try) 2>&5
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); }; }; then
28496 eval "$as_ac_var=yes"
28498 echo "$as_me: failed program was:" >&5
28499 sed 's/^/| /' conftest.
$ac_ext >&5
28501 eval "$as_ac_var=no"
28503 rm -f conftest.err conftest.
$ac_objext \
28504 conftest
$ac_exeext conftest.
$ac_ext
28506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28508 if test `eval echo '${'$as_ac_var'}'` = yes; then
28509 cat >>confdefs.h
<<_ACEOF
28510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28516 CFLAGS
="$save_CFLAGS"
28520 wxUSE_UNIVERSAL
="yes"
28522 if test "$wxUSE_NANOX" = "yes"; then
28523 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
28524 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"
28525 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
28527 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
28534 if test "$wxUSE_MOTIF" = 1; then
28535 if test "$wxUSE_UNICODE" = "yes"; then
28536 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
28537 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
28538 { (exit 1); exit 1; }; }
28541 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
28542 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
28545 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
28547 if test -f "$ac_dir/Xm/Xm.h"; then
28548 ac_find_includes
=$ac_dir
28553 if test "$ac_find_includes" != "" ; then
28554 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
28555 echo "${ECHO_T}found in $ac_find_includes" >&6
28557 if test "x$ac_find_includes" = "x/usr/include"; then
28558 ac_path_to_include
=""
28560 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
28562 if test $result = 0; then
28563 ac_path_to_include
=""
28565 ac_path_to_include
=" -I$ac_find_includes"
28569 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
28571 save_CFLAGS
=$CFLAGS
28572 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28574 cat >conftest.
$ac_ext <<_ACEOF
28577 cat confdefs.h
>>conftest.
$ac_ext
28578 cat >>conftest.
$ac_ext <<_ACEOF
28579 /* end confdefs.h. */
28588 version = xmUseVersion;
28594 rm -f conftest.
$ac_objext
28595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28596 (eval $ac_compile) 2>conftest.er1
28598 grep -v '^ *+' conftest.er1
>conftest.err
28600 cat conftest.err
>&5
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); } &&
28603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28605 (eval $ac_try) 2>&5
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); }; } &&
28609 { ac_try
='test -s conftest.$ac_objext'
28610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611 (eval $ac_try) 2>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; }; then
28616 echo "$as_me:$LINENO: result: found in default search path" >&5
28617 echo "${ECHO_T}found in default search path" >&6
28618 COMPILED_X_PROGRAM
=1
28621 echo "$as_me: failed program was:" >&5
28622 sed 's/^/| /' conftest.
$ac_ext >&5
28625 echo "$as_me:$LINENO: result: no" >&5
28626 echo "${ECHO_T}no" >&6
28627 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
28628 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
28629 { (exit 1); exit 1; }; }
28633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28635 CFLAGS
=$save_CFLAGS
28639 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
28640 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
28643 for ac_dir
in $SEARCH_LIB;
28645 for ac_extension
in a so sl dylib dll.a
; do
28646 if test -f "$ac_dir/libXm.$ac_extension"; then
28647 ac_find_libraries
=$ac_dir
28654 if test "x$ac_find_libraries" != "x" ; then
28655 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28656 echo "${ECHO_T}found in $ac_find_libraries" >&6
28659 if test "$ac_find_libraries" = "default location"; then
28662 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
28664 if test $result = 0; then
28667 ac_path_to_link
=" -L$ac_find_libraries"
28671 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
28673 save_CFLAGS
=$CFLAGS
28674 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28676 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
28678 cat >conftest.
$ac_ext <<_ACEOF
28681 cat confdefs.h
>>conftest.
$ac_ext
28682 cat >>conftest.
$ac_ext <<_ACEOF
28683 /* end confdefs.h. */
28692 version = xmUseVersion;
28698 rm -f conftest.
$ac_objext conftest
$ac_exeext
28699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28700 (eval $ac_link) 2>conftest.er1
28702 grep -v '^ *+' conftest.er1
>conftest.err
28704 cat conftest.err
>&5
28705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706 (exit $ac_status); } &&
28707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709 (eval $ac_try) 2>&5
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); }; } &&
28713 { ac_try
='test -s conftest$ac_exeext'
28714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715 (eval $ac_try) 2>&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); }; }; then
28720 echo "$as_me:$LINENO: result: found in default search path" >&5
28721 echo "${ECHO_T}found in default search path" >&6
28722 COMPILED_X_PROGRAM
=1
28725 echo "$as_me: failed program was:" >&5
28726 sed 's/^/| /' conftest.
$ac_ext >&5
28729 echo "$as_me:$LINENO: result: no" >&5
28730 echo "${ECHO_T}no" >&6
28731 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
28732 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
28733 { (exit 1); exit 1; }; }
28737 rm -f conftest.err conftest.
$ac_objext \
28738 conftest
$ac_exeext conftest.
$ac_ext
28740 CFLAGS
=$save_CFLAGS
28744 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
28745 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
28749 for libp
in "" " -lXp"; do
28750 if test "$libs_found" = "0"; then
28751 for libsm_ice
in "" " -lSM -lICE"; do
28752 if test "$libs_found" = "0"; then
28754 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
28755 save_CFLAGS
=$CFLAGS
28756 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28758 cat >conftest.
$ac_ext <<_ACEOF
28761 cat confdefs.h
>>conftest.
$ac_ext
28762 cat >>conftest.
$ac_ext <<_ACEOF
28763 /* end confdefs.h. */
28766 #include <Xm/List.h>
28772 XmString string = NULL;
28775 XmListAddItem(w, string, position);
28781 rm -f conftest.
$ac_objext conftest
$ac_exeext
28782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28783 (eval $ac_link) 2>conftest.er1
28785 grep -v '^ *+' conftest.er1
>conftest.err
28787 cat conftest.err
>&5
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); } &&
28790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28792 (eval $ac_try) 2>&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); }; } &&
28796 { ac_try
='test -s conftest$ac_exeext'
28797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28798 (eval $ac_try) 2>&5
28800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28801 (exit $ac_status); }; }; then
28804 libsm_ice_link
="$libsm_ice"
28805 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
28806 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
28810 echo "$as_me: failed program was:" >&5
28811 sed 's/^/| /' conftest.
$ac_ext >&5
28816 rm -f conftest.err conftest.
$ac_objext \
28817 conftest
$ac_exeext conftest.
$ac_ext
28820 CFLAGS
=$save_CFLAGS
28826 if test "$libs_found" = "0"; then
28827 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
28828 echo "${ECHO_T}can't find the right libraries" >&6
28829 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
28830 echo "$as_me: error: can't link a simple motif program" >&2;}
28831 { (exit 1); exit 1; }; }
28834 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
28835 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
28836 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
28837 echo $ECHO_N "(cached) $ECHO_C" >&6
28839 ac_check_lib_save_LIBS
=$LIBS
28841 cat >conftest.
$ac_ext <<_ACEOF
28844 cat confdefs.h
>>conftest.
$ac_ext
28845 cat >>conftest.
$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28848 /* Override any gcc2 internal prototype to avoid an error. */
28852 /* We use char because int might match the return type of a gcc2
28853 builtin and then its argument prototype would still apply. */
28854 char SgCreateList ();
28863 rm -f conftest.
$ac_objext conftest
$ac_exeext
28864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28865 (eval $ac_link) 2>conftest.er1
28867 grep -v '^ *+' conftest.er1
>conftest.err
28869 cat conftest.err
>&5
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); } &&
28872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28874 (eval $ac_try) 2>&5
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); }; } &&
28878 { ac_try
='test -s conftest$ac_exeext'
28879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28880 (eval $ac_try) 2>&5
28882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28883 (exit $ac_status); }; }; then
28884 ac_cv_lib_Sgm_SgCreateList
=yes
28886 echo "$as_me: failed program was:" >&5
28887 sed 's/^/| /' conftest.
$ac_ext >&5
28889 ac_cv_lib_Sgm_SgCreateList
=no
28891 rm -f conftest.err conftest.
$ac_objext \
28892 conftest
$ac_exeext conftest.
$ac_ext
28893 LIBS
=$ac_check_lib_save_LIBS
28895 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
28896 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
28897 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
28898 libsgm_link
=" -lSgm"
28902 save_CFLAGS
=$CFLAGS
28903 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
28905 echo "$as_me:$LINENO: checking for Motif 2" >&5
28906 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
28907 if test "${wx_cv_lib_motif2+set}" = set; then
28908 echo $ECHO_N "(cached) $ECHO_C" >&6
28910 cat >conftest.
$ac_ext <<_ACEOF
28913 cat confdefs.h
>>conftest.
$ac_ext
28914 cat >>conftest.
$ac_ext <<_ACEOF
28915 /* end confdefs.h. */
28923 #if XmVersion < 2000
28931 rm -f conftest.
$ac_objext
28932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28933 (eval $ac_compile) 2>conftest.er1
28935 grep -v '^ *+' conftest.er1
>conftest.err
28937 cat conftest.err
>&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); } &&
28940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; } &&
28946 { ac_try
='test -s conftest.$ac_objext'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; }; then
28952 wx_cv_lib_motif2
="yes"
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.
$ac_ext >&5
28957 wx_cv_lib_motif2
="no"
28959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28961 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
28962 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
28963 if test "$wx_cv_lib_motif2" = "yes"; then
28964 cat >>confdefs.h
<<\_ACEOF
28965 #define __WXMOTIF20__ 1
28969 cat >>confdefs.h
<<\_ACEOF
28970 #define __WXMOTIF20__ 0
28975 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
28976 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
28977 if test "${wx_cv_lib_lesstif+set}" = set; then
28978 echo $ECHO_N "(cached) $ECHO_C" >&6
28980 cat >conftest.
$ac_ext <<_ACEOF
28983 cat confdefs.h
>>conftest.
$ac_ext
28984 cat >>conftest.
$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28993 #if !defined(LesstifVersion) || LesstifVersion <= 0
29001 rm -f conftest.
$ac_objext
29002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29003 (eval $ac_compile) 2>conftest.er1
29005 grep -v '^ *+' conftest.er1
>conftest.err
29007 cat conftest.err
>&5
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); } &&
29010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012 (eval $ac_try) 2>&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; } &&
29016 { ac_try
='test -s conftest.$ac_objext'
29017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29018 (eval $ac_try) 2>&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); }; }; then
29022 wx_cv_lib_lesstif
="yes"
29024 echo "$as_me: failed program was:" >&5
29025 sed 's/^/| /' conftest.
$ac_ext >&5
29027 wx_cv_lib_lesstif
="no"
29029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29032 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
29033 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
29034 if test "$wx_cv_lib_lesstif" = "yes"; then
29035 cat >>confdefs.h
<<\_ACEOF
29036 #define __WXLESSTIF__ 1
29040 cat >>confdefs.h
<<\_ACEOF
29041 #define __WXLESSTIF__ 0
29046 CFLAGS
=$save_CFLAGS
29048 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
29053 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29054 if test "$wxUSE_LIBXPM" = "sys"; then
29055 echo "$as_me:$LINENO: checking for Xpm library" >&5
29056 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
29059 for ac_dir
in $SEARCH_LIB;
29061 for ac_extension
in a so sl dylib dll.a
; do
29062 if test -f "$ac_dir/libXpm.$ac_extension"; then
29063 ac_find_libraries
=$ac_dir
29069 if test "$ac_find_libraries" != "" ; then
29071 if test "$ac_find_libraries" = "default location"; then
29074 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29076 if test $result = 0; then
29079 ac_path_to_link
=" -L$ac_find_libraries"
29083 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29084 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29085 echo "${ECHO_T}found in $ac_find_libraries" >&6
29087 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
29088 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
29089 if test "${wx_cv_x11_xpm_h+set}" = set; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29093 save_CFLAGS
=$CFLAGS
29094 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29096 cat >conftest.
$ac_ext <<_ACEOF
29099 cat confdefs.h
>>conftest.
$ac_ext
29100 cat >>conftest.
$ac_ext <<_ACEOF
29101 /* end confdefs.h. */
29103 #include <X11/xpm.h>
29110 version = XpmLibraryVersion();
29116 rm -f conftest.
$ac_objext
29117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29118 (eval $ac_compile) 2>conftest.er1
29120 grep -v '^ *+' conftest.er1
>conftest.err
29122 cat conftest.err
>&5
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); } &&
29125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29127 (eval $ac_try) 2>&5
29129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29130 (exit $ac_status); }; } &&
29131 { ac_try
='test -s conftest.$ac_objext'
29132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29133 (eval $ac_try) 2>&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); }; }; then
29137 wx_cv_x11_xpm_h
=yes
29139 echo "$as_me: failed program was:" >&5
29140 sed 's/^/| /' conftest.
$ac_ext >&5
29145 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29147 CFLAGS
=$save_CFLAGS
29151 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
29152 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
29154 if test $wx_cv_x11_xpm_h = "yes"; then
29155 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
29156 cat >>confdefs.h
<<\_ACEOF
29157 #define wxHAVE_LIB_XPM 1
29161 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
29162 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
29168 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
29169 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
29170 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
29171 echo $ECHO_N "(cached) $ECHO_C" >&6
29173 ac_check_lib_save_LIBS
=$LIBS
29174 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
29175 cat >conftest.
$ac_ext <<_ACEOF
29178 cat confdefs.h
>>conftest.
$ac_ext
29179 cat >>conftest.
$ac_ext <<_ACEOF
29180 /* end confdefs.h. */
29182 /* Override any gcc2 internal prototype to avoid an error. */
29186 /* We use char because int might match the return type of a gcc2
29187 builtin and then its argument prototype would still apply. */
29188 char XShapeQueryExtension ();
29192 XShapeQueryExtension ();
29197 rm -f conftest.
$ac_objext conftest
$ac_exeext
29198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29199 (eval $ac_link) 2>conftest.er1
29201 grep -v '^ *+' conftest.er1
>conftest.err
29203 cat conftest.err
>&5
29204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29205 (exit $ac_status); } &&
29206 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29208 (eval $ac_try) 2>&5
29210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211 (exit $ac_status); }; } &&
29212 { ac_try
='test -s conftest$ac_exeext'
29213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29214 (eval $ac_try) 2>&5
29216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29217 (exit $ac_status); }; }; then
29218 ac_cv_lib_Xext_XShapeQueryExtension
=yes
29220 echo "$as_me: failed program was:" >&5
29221 sed 's/^/| /' conftest.
$ac_ext >&5
29223 ac_cv_lib_Xext_XShapeQueryExtension
=no
29225 rm -f conftest.err conftest.
$ac_objext \
29226 conftest
$ac_exeext conftest.
$ac_ext
29227 LIBS
=$ac_check_lib_save_LIBS
29229 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
29230 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
29231 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
29233 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
29239 if test "$wxHAVE_XEXT_LIB" = 1; then
29240 save_CFLAGS
="$CFLAGS"
29241 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
29243 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
29244 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
29245 cat >conftest.
$ac_ext <<_ACEOF
29248 cat confdefs.h
>>conftest.
$ac_ext
29249 cat >>conftest.
$ac_ext <<_ACEOF
29250 /* end confdefs.h. */
29252 #include <X11/Xlib.h>
29253 #include <X11/extensions/shape.h>
29259 int dummy1, dummy2;
29260 XShapeQueryExtension((Display*)NULL,
29261 (int*)NULL, (int*)NULL);
29267 rm -f conftest.
$ac_objext
29268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29269 (eval $ac_compile) 2>conftest.er1
29271 grep -v '^ *+' conftest.er1
>conftest.err
29273 cat conftest.err
>&5
29274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29275 (exit $ac_status); } &&
29276 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29278 (eval $ac_try) 2>&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); }; } &&
29282 { ac_try
='test -s conftest.$ac_objext'
29283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29284 (eval $ac_try) 2>&5
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); }; }; then
29289 cat >>confdefs.h
<<\_ACEOF
29290 #define HAVE_XSHAPE 1
29293 echo "$as_me:$LINENO: result: found" >&5
29294 echo "${ECHO_T}found" >&6
29297 echo "$as_me: failed program was:" >&5
29298 sed 's/^/| /' conftest.
$ac_ext >&5
29301 echo "$as_me:$LINENO: result: not found" >&5
29302 echo "${ECHO_T}not found" >&6
29305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29306 CFLAGS
="$save_CFLAGS"
29311 if test "$wxUSE_MAC" = 1; then
29312 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
29313 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
29314 if test "$GCC" = yes; then
29315 echo "$as_me:$LINENO: result: gcc" >&5
29316 echo "${ECHO_T}gcc" >&6
29317 CPPFLAGS_PASCAL
="-fpascal-strings"
29318 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
29319 echo "$as_me:$LINENO: result: xlc" >&5
29320 echo "${ECHO_T}xlc" >&6
29321 CPPFLAGS_PASCAL
="-qmacpstr"
29323 echo "$as_me:$LINENO: result: none" >&5
29324 echo "${ECHO_T}none" >&6
29327 if test "x$wxUSE_UNIX" = "xyes"; then
29328 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
29330 CPPFLAGS
="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
29335 WXBASEPORT
="_carbon"
29338 if test "$wxUSE_COCOA" = 1; then
29343 if test "$wxUSE_PM" = 1; then
29346 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
29347 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
29348 if test "${wx_cv_spbcdata+set}" = set; then
29349 echo $ECHO_N "(cached) $ECHO_C" >&6
29352 cat >conftest.
$ac_ext <<_ACEOF
29355 cat confdefs.h
>>conftest.
$ac_ext
29356 cat >>conftest.
$ac_ext <<_ACEOF
29357 /* end confdefs.h. */
29372 rm -f conftest.
$ac_objext
29373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29374 (eval $ac_compile) 2>conftest.er1
29376 grep -v '^ *+' conftest.er1
>conftest.err
29378 cat conftest.err
>&5
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); } &&
29381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29383 (eval $ac_try) 2>&5
29385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29386 (exit $ac_status); }; } &&
29387 { ac_try
='test -s conftest.$ac_objext'
29388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29389 (eval $ac_try) 2>&5
29391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29392 (exit $ac_status); }; }; then
29395 echo "$as_me: failed program was:" >&5
29396 sed 's/^/| /' conftest.
$ac_ext >&5
29401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29405 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
29406 echo "${ECHO_T}$wx_cv_spbcdata" >&6
29408 if test $wx_cv_spbcdata = "yes"; then
29409 cat >>confdefs.h
<<\_ACEOF
29410 #define HAVE_SPBCDATA 1
29416 if test "$TOOLKIT" = "PM" ; then
29419 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
29422 if test "$wxUSE_UNIVERSAL" = "yes"; then
29423 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
29427 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
29428 DISTDIR
="wx\$(TOOLKIT)"
29434 if test "$USE_WIN32" = 1 ; then
29438 GUIDIST
="BASE_DIST"
29443 if test "$wxUSE_GUI" = "yes"; then
29444 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
29446 for ac_header
in X
11/Xlib.h
29448 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29450 echo "$as_me:$LINENO: checking for $ac_header" >&5
29451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29453 echo $ECHO_N "(cached) $ECHO_C" >&6
29455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29458 # Is the header compilable?
29459 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29460 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29461 cat >conftest.
$ac_ext <<_ACEOF
29464 cat confdefs.h
>>conftest.
$ac_ext
29465 cat >>conftest.
$ac_ext <<_ACEOF
29466 /* end confdefs.h. */
29467 $ac_includes_default
29468 #include <$ac_header>
29470 rm -f conftest.
$ac_objext
29471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29472 (eval $ac_compile) 2>conftest.er1
29474 grep -v '^ *+' conftest.er1
>conftest.err
29476 cat conftest.err
>&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); } &&
29479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29481 (eval $ac_try) 2>&5
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); }; } &&
29485 { ac_try
='test -s conftest.$ac_objext'
29486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29487 (eval $ac_try) 2>&5
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); }; }; then
29491 ac_header_compiler
=yes
29493 echo "$as_me: failed program was:" >&5
29494 sed 's/^/| /' conftest.
$ac_ext >&5
29496 ac_header_compiler
=no
29498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29500 echo "${ECHO_T}$ac_header_compiler" >&6
29502 # Is the header present?
29503 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29505 cat >conftest.
$ac_ext <<_ACEOF
29508 cat confdefs.h
>>conftest.
$ac_ext
29509 cat >>conftest.
$ac_ext <<_ACEOF
29510 /* end confdefs.h. */
29511 #include <$ac_header>
29513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29514 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29516 grep -v '^ *+' conftest.er1
>conftest.err
29518 cat conftest.err
>&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); } >/dev
/null
; then
29521 if test -s conftest.err
; then
29522 ac_cpp_err
=$ac_c_preproc_warn_flag
29523 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29530 if test -z "$ac_cpp_err"; then
29531 ac_header_preproc
=yes
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.
$ac_ext >&5
29536 ac_header_preproc
=no
29538 rm -f conftest.err conftest.
$ac_ext
29539 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29540 echo "${ECHO_T}$ac_header_preproc" >&6
29542 # So? What about this header?
29543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29545 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29546 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29548 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29549 ac_header_preproc
=yes
29552 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29553 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29554 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29555 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29556 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29557 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29558 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29559 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29562 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29563 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29566 ## ----------------------------------------- ##
29567 ## Report this to wx-dev@lists.wxwidgets.org ##
29568 ## ----------------------------------------- ##
29571 sed "s/^/$as_me: WARNING: /" >&2
29574 echo "$as_me:$LINENO: checking for $ac_header" >&5
29575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29577 echo $ECHO_N "(cached) $ECHO_C" >&6
29579 eval "$as_ac_Header=\$ac_header_preproc"
29581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29586 cat >>confdefs.h
<<_ACEOF
29587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29595 for ac_header
in X
11/XKBlib.h
29597 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29598 echo "$as_me:$LINENO: checking for $ac_header" >&5
29599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29601 echo $ECHO_N "(cached) $ECHO_C" >&6
29603 cat >conftest.
$ac_ext <<_ACEOF
29606 cat confdefs.h
>>conftest.
$ac_ext
29607 cat >>conftest.
$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29610 #if HAVE_X11_XLIB_H
29611 #include <X11/Xlib.h>
29615 #include <$ac_header>
29617 rm -f conftest.
$ac_objext
29618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29619 (eval $ac_compile) 2>conftest.er1
29621 grep -v '^ *+' conftest.er1
>conftest.err
29623 cat conftest.err
>&5
29624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29625 (exit $ac_status); } &&
29626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29628 (eval $ac_try) 2>&5
29630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29631 (exit $ac_status); }; } &&
29632 { ac_try
='test -s conftest.$ac_objext'
29633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29634 (eval $ac_try) 2>&5
29636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29637 (exit $ac_status); }; }; then
29638 eval "$as_ac_Header=yes"
29640 echo "$as_me: failed program was:" >&5
29641 sed 's/^/| /' conftest.
$ac_ext >&5
29643 eval "$as_ac_Header=no"
29645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29650 cat >>confdefs.h
<<_ACEOF
29651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29666 if test "$TOOLKIT" != "MSW" ; then
29668 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
29670 if test "${ac_cv_header_sql_h+set}" = set; then
29671 echo "$as_me:$LINENO: checking for sql.h" >&5
29672 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29673 if test "${ac_cv_header_sql_h+set}" = set; then
29674 echo $ECHO_N "(cached) $ECHO_C" >&6
29676 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29677 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29679 # Is the header compilable?
29680 echo "$as_me:$LINENO: checking sql.h usability" >&5
29681 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
29682 cat >conftest.
$ac_ext <<_ACEOF
29685 cat confdefs.h
>>conftest.
$ac_ext
29686 cat >>conftest.
$ac_ext <<_ACEOF
29687 /* end confdefs.h. */
29688 $ac_includes_default
29691 rm -f conftest.
$ac_objext
29692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29693 (eval $ac_compile) 2>conftest.er1
29695 grep -v '^ *+' conftest.er1
>conftest.err
29697 cat conftest.err
>&5
29698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699 (exit $ac_status); } &&
29700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29702 (eval $ac_try) 2>&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); }; } &&
29706 { ac_try
='test -s conftest.$ac_objext'
29707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29708 (eval $ac_try) 2>&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); }; }; then
29712 ac_header_compiler
=yes
29714 echo "$as_me: failed program was:" >&5
29715 sed 's/^/| /' conftest.
$ac_ext >&5
29717 ac_header_compiler
=no
29719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29720 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29721 echo "${ECHO_T}$ac_header_compiler" >&6
29723 # Is the header present?
29724 echo "$as_me:$LINENO: checking sql.h presence" >&5
29725 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
29726 cat >conftest.
$ac_ext <<_ACEOF
29729 cat confdefs.h
>>conftest.
$ac_ext
29730 cat >>conftest.
$ac_ext <<_ACEOF
29731 /* end confdefs.h. */
29734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29735 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29737 grep -v '^ *+' conftest.er1
>conftest.err
29739 cat conftest.err
>&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); } >/dev
/null
; then
29742 if test -s conftest.err
; then
29743 ac_cpp_err
=$ac_c_preproc_warn_flag
29744 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29751 if test -z "$ac_cpp_err"; then
29752 ac_header_preproc
=yes
29754 echo "$as_me: failed program was:" >&5
29755 sed 's/^/| /' conftest.
$ac_ext >&5
29757 ac_header_preproc
=no
29759 rm -f conftest.err conftest.
$ac_ext
29760 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29761 echo "${ECHO_T}$ac_header_preproc" >&6
29763 # So? What about this header?
29764 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29766 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
29767 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29768 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
29769 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
29770 ac_header_preproc
=yes
29773 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
29774 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
29775 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
29776 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
29777 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
29778 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
29779 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
29780 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
29781 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
29782 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
29783 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
29784 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
29787 ## ----------------------------------------- ##
29788 ## Report this to wx-dev@lists.wxwidgets.org ##
29789 ## ----------------------------------------- ##
29792 sed "s/^/$as_me: WARNING: /" >&2
29795 echo "$as_me:$LINENO: checking for sql.h" >&5
29796 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
29797 if test "${ac_cv_header_sql_h+set}" = set; then
29798 echo $ECHO_N "(cached) $ECHO_C" >&6
29800 ac_cv_header_sql_h
=$ac_header_preproc
29802 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
29803 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
29806 if test $ac_cv_header_sql_h = yes; then
29811 if test "x$found_sql_h" = "x1" ; then
29812 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
29813 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
29814 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
29815 echo $ECHO_N "(cached) $ECHO_C" >&6
29817 ac_check_lib_save_LIBS
=$LIBS
29818 LIBS
="-liodbc $LIBS"
29819 cat >conftest.
$ac_ext <<_ACEOF
29822 cat confdefs.h
>>conftest.
$ac_ext
29823 cat >>conftest.
$ac_ext <<_ACEOF
29824 /* end confdefs.h. */
29826 /* Override any gcc2 internal prototype to avoid an error. */
29830 /* We use char because int might match the return type of a gcc2
29831 builtin and then its argument prototype would still apply. */
29832 char SQLAllocEnv ();
29841 rm -f conftest.
$ac_objext conftest
$ac_exeext
29842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29843 (eval $ac_link) 2>conftest.er1
29845 grep -v '^ *+' conftest.er1
>conftest.err
29847 cat conftest.err
>&5
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); } &&
29850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852 (eval $ac_try) 2>&5
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); }; } &&
29856 { ac_try
='test -s conftest$ac_exeext'
29857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29858 (eval $ac_try) 2>&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); }; }; then
29862 ac_cv_lib_iodbc_SQLAllocEnv
=yes
29864 echo "$as_me: failed program was:" >&5
29865 sed 's/^/| /' conftest.
$ac_ext >&5
29867 ac_cv_lib_iodbc_SQLAllocEnv
=no
29869 rm -f conftest.err conftest.
$ac_objext \
29870 conftest
$ac_exeext conftest.
$ac_ext
29871 LIBS
=$ac_check_lib_save_LIBS
29873 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
29874 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
29875 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
29876 ODBC_LINK
=" -liodbc"
29879 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
29880 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
29881 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
29882 echo $ECHO_N "(cached) $ECHO_C" >&6
29884 ac_check_lib_save_LIBS
=$LIBS
29885 LIBS
="-lunixodbc $LIBS"
29886 cat >conftest.
$ac_ext <<_ACEOF
29889 cat confdefs.h
>>conftest.
$ac_ext
29890 cat >>conftest.
$ac_ext <<_ACEOF
29891 /* end confdefs.h. */
29893 /* Override any gcc2 internal prototype to avoid an error. */
29897 /* We use char because int might match the return type of a gcc2
29898 builtin and then its argument prototype would still apply. */
29899 char SQLAllocEnv ();
29908 rm -f conftest.
$ac_objext conftest
$ac_exeext
29909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29910 (eval $ac_link) 2>conftest.er1
29912 grep -v '^ *+' conftest.er1
>conftest.err
29914 cat conftest.err
>&5
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); } &&
29917 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29919 (eval $ac_try) 2>&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); }; } &&
29923 { ac_try
='test -s conftest$ac_exeext'
29924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29925 (eval $ac_try) 2>&5
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); }; }; then
29929 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
29931 echo "$as_me: failed program was:" >&5
29932 sed 's/^/| /' conftest.
$ac_ext >&5
29934 ac_cv_lib_unixodbc_SQLAllocEnv
=no
29936 rm -f conftest.err conftest.
$ac_objext \
29937 conftest
$ac_exeext conftest.
$ac_ext
29938 LIBS
=$ac_check_lib_save_LIBS
29940 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
29941 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
29942 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
29943 ODBC_LINK
=" -lunixodbc"
29946 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
29947 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
29948 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
29949 echo $ECHO_N "(cached) $ECHO_C" >&6
29951 ac_check_lib_save_LIBS
=$LIBS
29952 LIBS
="-lodbc $LIBS"
29953 cat >conftest.
$ac_ext <<_ACEOF
29956 cat confdefs.h
>>conftest.
$ac_ext
29957 cat >>conftest.
$ac_ext <<_ACEOF
29958 /* end confdefs.h. */
29960 /* Override any gcc2 internal prototype to avoid an error. */
29964 /* We use char because int might match the return type of a gcc2
29965 builtin and then its argument prototype would still apply. */
29966 char SQLAllocEnv ();
29975 rm -f conftest.
$ac_objext conftest
$ac_exeext
29976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29977 (eval $ac_link) 2>conftest.er1
29979 grep -v '^ *+' conftest.er1
>conftest.err
29981 cat conftest.err
>&5
29982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983 (exit $ac_status); } &&
29984 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29986 (eval $ac_try) 2>&5
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); }; } &&
29990 { ac_try
='test -s conftest$ac_exeext'
29991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29992 (eval $ac_try) 2>&5
29994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 (exit $ac_status); }; }; then
29996 ac_cv_lib_odbc_SQLAllocEnv
=yes
29998 echo "$as_me: failed program was:" >&5
29999 sed 's/^/| /' conftest.
$ac_ext >&5
30001 ac_cv_lib_odbc_SQLAllocEnv
=no
30003 rm -f conftest.err conftest.
$ac_objext \
30004 conftest
$ac_exeext conftest.
$ac_ext
30005 LIBS
=$ac_check_lib_save_LIBS
30007 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
30008 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
30009 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
30010 ODBC_LINK
=" -lodbc"
30020 if test "x$ODBC_LINK" = "x" ; then
30021 if test "$wxUSE_ODBC" = "sys" ; then
30022 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
30023 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
30024 { (exit 1); exit 1; }; }
30026 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
30027 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
30035 if test "$wxUSE_ODBC" = "builtin" ; then
30036 cat >>confdefs.h
<<\_ACEOF
30037 #define wxUSE_BUILTIN_IODBC 1
30043 if test "$wxUSE_ODBC" != "no" ; then
30044 cat >>confdefs.h
<<\_ACEOF
30045 #define wxUSE_ODBC 1
30048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
30050 WXODBCFLAG
="-D_IODBC_"
30054 if test "$wxUSE_DISPLAY" = "yes"; then
30055 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
30056 echo "$as_me:$LINENO: checking for Xinerama" >&5
30057 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
30060 for ac_dir
in $SEARCH_LIB;
30062 for ac_extension
in a so sl dylib dll.a
; do
30063 if test -f "$ac_dir/libXinerama.$ac_extension"; then
30064 ac_find_libraries
=$ac_dir
30070 if test "$ac_find_libraries" != "" ; then
30072 if test "$ac_find_libraries" = "default location"; then
30075 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30077 if test $result = 0; then
30080 ac_path_to_link
=" -L$ac_find_libraries"
30084 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30085 LDFLAGS
="$LDFLAGS $ac_path_to_link"
30087 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
30088 echo "$as_me:$LINENO: result: yes" >&5
30089 echo "${ECHO_T}yes" >&6
30091 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
30092 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
30095 for ac_dir
in $SEARCH_LIB;
30097 for ac_extension
in a so sl dylib dll.a
; do
30098 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
30099 ac_find_libraries
=$ac_dir
30105 if test "$ac_find_libraries" != "" ; then
30106 echo "$as_me:$LINENO: result: yes" >&5
30107 echo "${ECHO_T}yes" >&6
30109 for ac_header
in X
11/extensions
/xf86vmode.h
30111 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30112 echo "$as_me:$LINENO: checking for $ac_header" >&5
30113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30115 echo $ECHO_N "(cached) $ECHO_C" >&6
30117 cat >conftest.
$ac_ext <<_ACEOF
30120 cat confdefs.h
>>conftest.
$ac_ext
30121 cat >>conftest.
$ac_ext <<_ACEOF
30122 /* end confdefs.h. */
30124 #if HAVE_X11_XLIB_H
30125 #include <X11/Xlib.h>
30129 #include <$ac_header>
30131 rm -f conftest.
$ac_objext
30132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30133 (eval $ac_compile) 2>conftest.er1
30135 grep -v '^ *+' conftest.er1
>conftest.err
30137 cat conftest.err
>&5
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); } &&
30140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30142 (eval $ac_try) 2>&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); }; } &&
30146 { ac_try
='test -s conftest.$ac_objext'
30147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30148 (eval $ac_try) 2>&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); }; }; then
30152 eval "$as_ac_Header=yes"
30154 echo "$as_me: failed program was:" >&5
30155 sed 's/^/| /' conftest.
$ac_ext >&5
30157 eval "$as_ac_Header=no"
30159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30164 cat >>confdefs.h
<<_ACEOF
30165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30168 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
30175 echo "$as_me:$LINENO: result: no" >&5
30176 echo "${ECHO_T}no" >&6
30180 echo "$as_me:$LINENO: result: no" >&5
30181 echo "${ECHO_T}no" >&6
30182 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
30183 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
30186 elif test "$wxUSE_MSW" = 1; then
30189 for ac_header
in multimon.h ddraw.h
30191 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30192 echo "$as_me:$LINENO: checking for $ac_header" >&5
30193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30195 echo $ECHO_N "(cached) $ECHO_C" >&6
30197 cat >conftest.
$ac_ext <<_ACEOF
30200 cat confdefs.h
>>conftest.
$ac_ext
30201 cat >>conftest.
$ac_ext <<_ACEOF
30202 /* end confdefs.h. */
30203 #include <windows.h>
30205 #include <$ac_header>
30207 rm -f conftest.
$ac_objext
30208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30209 (eval $ac_compile) 2>conftest.er1
30211 grep -v '^ *+' conftest.er1
>conftest.err
30213 cat conftest.err
>&5
30214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30215 (exit $ac_status); } &&
30216 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30218 (eval $ac_try) 2>&5
30220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30221 (exit $ac_status); }; } &&
30222 { ac_try
='test -s conftest.$ac_objext'
30223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30224 (eval $ac_try) 2>&5
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); }; }; then
30228 eval "$as_ac_Header=yes"
30230 echo "$as_me: failed program was:" >&5
30231 sed 's/^/| /' conftest.
$ac_ext >&5
30233 eval "$as_ac_Header=no"
30235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30240 cat >>confdefs.h
<<_ACEOF
30241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30247 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
30248 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
30259 if test "$wxUSE_OPENGL" = "yes"; then
30260 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
30261 OPENGL_LIBS
="-framework OpenGL -framework AGL"
30262 elif test "$wxUSE_MSW" = 1; then
30263 OPENGL_LIBS
="-lopengl32 -lglu32"
30268 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
30270 if test -f "$ac_dir/GL/gl.h"; then
30271 ac_find_includes
=$ac_dir
30276 if test "$ac_find_includes" != "" ; then
30277 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30278 echo "${ECHO_T}found in $ac_find_includes" >&6
30280 if test "x$ac_find_includes" = "x/usr/include"; then
30281 ac_path_to_include
=""
30283 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
30285 if test $result = 0; then
30286 ac_path_to_include
=""
30288 ac_path_to_include
=" -I$ac_find_includes"
30292 CPPFLAGS
="$CPPFLAGS$ac_path_to_include"
30295 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30296 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30297 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30298 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30299 echo $ECHO_N "(cached) $ECHO_C" >&6
30301 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30302 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30304 # Is the header compilable?
30305 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
30306 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
30307 cat >conftest.
$ac_ext <<_ACEOF
30310 cat confdefs.h
>>conftest.
$ac_ext
30311 cat >>conftest.
$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30313 $ac_includes_default
30316 rm -f conftest.
$ac_objext
30317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30318 (eval $ac_compile) 2>conftest.er1
30320 grep -v '^ *+' conftest.er1
>conftest.err
30322 cat conftest.err
>&5
30323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30324 (exit $ac_status); } &&
30325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30327 (eval $ac_try) 2>&5
30329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30330 (exit $ac_status); }; } &&
30331 { ac_try
='test -s conftest.$ac_objext'
30332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30333 (eval $ac_try) 2>&5
30335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30336 (exit $ac_status); }; }; then
30337 ac_header_compiler
=yes
30339 echo "$as_me: failed program was:" >&5
30340 sed 's/^/| /' conftest.
$ac_ext >&5
30342 ac_header_compiler
=no
30344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30346 echo "${ECHO_T}$ac_header_compiler" >&6
30348 # Is the header present?
30349 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
30350 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
30351 cat >conftest.
$ac_ext <<_ACEOF
30354 cat confdefs.h
>>conftest.
$ac_ext
30355 cat >>conftest.
$ac_ext <<_ACEOF
30356 /* end confdefs.h. */
30359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30360 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30362 grep -v '^ *+' conftest.er1
>conftest.err
30364 cat conftest.err
>&5
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); } >/dev
/null
; then
30367 if test -s conftest.err
; then
30368 ac_cpp_err
=$ac_c_preproc_warn_flag
30369 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30376 if test -z "$ac_cpp_err"; then
30377 ac_header_preproc
=yes
30379 echo "$as_me: failed program was:" >&5
30380 sed 's/^/| /' conftest.
$ac_ext >&5
30382 ac_header_preproc
=no
30384 rm -f conftest.err conftest.
$ac_ext
30385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30386 echo "${ECHO_T}$ac_header_preproc" >&6
30388 # So? What about this header?
30389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30391 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
30392 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30393 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
30394 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
30395 ac_header_preproc
=yes
30398 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
30399 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
30400 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
30401 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
30402 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
30403 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
30404 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
30405 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
30406 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
30407 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
30408 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
30409 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
30412 ## ----------------------------------------- ##
30413 ## Report this to wx-dev@lists.wxwidgets.org ##
30414 ## ----------------------------------------- ##
30417 sed "s/^/$as_me: WARNING: /" >&2
30420 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
30421 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
30422 if test "${ac_cv_header_GL_gl_h+set}" = set; then
30423 echo $ECHO_N "(cached) $ECHO_C" >&6
30425 ac_cv_header_GL_gl_h
=$ac_header_preproc
30427 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
30428 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
30431 if test $ac_cv_header_GL_gl_h = yes; then
30435 echo "$as_me:$LINENO: checking for -lGL" >&5
30436 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
30439 for ac_dir
in $SEARCH_LIB;
30441 for ac_extension
in a so sl dylib dll.a
; do
30442 if test -f "$ac_dir/libGL.$ac_extension"; then
30443 ac_find_libraries
=$ac_dir
30449 if test "$ac_find_libraries" != "" ; then
30450 echo "$as_me:$LINENO: result: yes" >&5
30451 echo "${ECHO_T}yes" >&6
30454 if test "$ac_find_libraries" = "default location"; then
30457 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30459 if test $result = 0; then
30462 ac_path_to_link
=" -L$ac_find_libraries"
30466 if test "$ac_path_to_link" != " -L/usr/lib" ; then
30467 LDFLAGS_GL
="$ac_path_to_link"
30470 echo "$as_me:$LINENO: checking for -lGLU" >&5
30471 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
30474 for ac_dir
in $SEARCH_LIB;
30476 for ac_extension
in a so sl dylib dll.a
; do
30477 if test -f "$ac_dir/libGLU.$ac_extension"; then
30478 ac_find_libraries
=$ac_dir
30484 if test "$ac_find_libraries" != "" ; then
30486 if test "$ac_find_libraries" = "default location"; then
30489 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30491 if test $result = 0; then
30494 ac_path_to_link
=" -L$ac_find_libraries"
30498 if test "$ac_path_to_link" != " -L/usr/lib" -a \
30499 "$ac_path_to_link" != "$LDFLAGS_GL"; then
30500 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
30504 OPENGL_LIBS
="-lGL -lGLU"
30505 echo "$as_me:$LINENO: result: yes" >&5
30506 echo "${ECHO_T}yes" >&6
30508 echo "$as_me:$LINENO: result: no" >&5
30509 echo "${ECHO_T}no" >&6
30512 echo "$as_me:$LINENO: result: no" >&5
30513 echo "${ECHO_T}no" >&6
30516 if test "$found_gl" != 1; then
30517 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
30518 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
30521 for ac_dir
in $SEARCH_LIB;
30523 for ac_extension
in a so sl dylib dll.a
; do
30524 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
30525 ac_find_libraries
=$ac_dir
30531 if test "$ac_find_libraries" != "" ; then
30533 if test "$ac_find_libraries" = "default location"; then
30536 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
30538 if test $result = 0; then
30541 ac_path_to_link
=" -L$ac_find_libraries"
30545 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
30546 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
30547 echo "$as_me:$LINENO: result: yes" >&5
30548 echo "${ECHO_T}yes" >&6
30550 echo "$as_me:$LINENO: result: no" >&5
30551 echo "${ECHO_T}no" >&6
30559 if test "x$OPENGL_LIBS" = "x"; then
30560 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
30561 echo "$as_me: error: OpenGL libraries not available" >&2;}
30562 { (exit 1); exit 1; }; }
30566 if test "$wxUSE_OPENGL" = "yes"; then
30568 cat >>confdefs.h
<<\_ACEOF
30569 #define wxUSE_OPENGL 1
30572 cat >>confdefs.h
<<\_ACEOF
30573 #define wxUSE_GLCANVAS 1
30576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
30581 if test -n "$TOOLKIT" ; then
30582 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
30587 if test "$wxUSE_SHARED" = "yes"; then
30591 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
30592 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
30597 if test "$wxUSE_SHARED" = "yes"; then
30600 found_versioning
=no
30603 if test $found_versioning = no
; then
30604 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
30605 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
30606 if test "${wx_cv_version_script+set}" = set; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30610 echo "VER_1 { *; };" >conftest.sym
30611 echo "int main() { return 0; }" >conftest.cpp
30614 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30615 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
30616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30617 (eval $ac_try) 2>&5
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); }; } ; then
30621 if test -s conftest.stderr
; then
30622 wx_cv_version_script
=no
30624 wx_cv_version_script
=yes
30627 wx_cv_version_script
=no
30630 if test $wx_cv_version_script = yes
30632 echo "struct B { virtual ~B() { } }; \
30633 struct D : public B { }; \
30634 void F() { D d; }" > conftest.cpp
30637 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30638 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
30639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30640 (eval $ac_try) 2>&5
30642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30643 (exit $ac_status); }; } &&
30645 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30646 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
30647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30648 (eval $ac_try) 2>&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); }; }
30654 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
30655 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
30656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30657 (eval $ac_try) 2>&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); }; }
30662 wx_cv_version_script
=yes
30664 wx_cv_version_script
=no
30669 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
30670 rm -f conftest1.output conftest2.output conftest3.output
30673 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
30674 echo "${ECHO_T}$wx_cv_version_script" >&6
30675 if test $wx_cv_version_script = yes ; then
30676 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
30682 *-*-linux* | *-*-gnu* )
30683 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
30684 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30688 if test "$GCC" = yes ; then
30689 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
30691 saveLdflags
="$LDFLAGS"
30692 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
30693 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
30694 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
30695 cat >conftest.
$ac_ext <<_ACEOF
30698 cat confdefs.h
>>conftest.
$ac_ext
30699 cat >>conftest.
$ac_ext <<_ACEOF
30700 /* end confdefs.h. */
30710 rm -f conftest.
$ac_objext conftest
$ac_exeext
30711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30712 (eval $ac_link) 2>conftest.er1
30714 grep -v '^ *+' conftest.er1
>conftest.err
30716 cat conftest.err
>&5
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); } &&
30719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30721 (eval $ac_try) 2>&5
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); }; } &&
30725 { ac_try
='test -s conftest$ac_exeext'
30726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30727 (eval $ac_try) 2>&5
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); }; }; then
30732 echo "$as_me:$LINENO: result: yes" >&5
30733 echo "${ECHO_T}yes" >&6
30734 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
30735 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
30738 echo "$as_me: failed program was:" >&5
30739 sed 's/^/| /' conftest.
$ac_ext >&5
30742 echo "$as_me:$LINENO: result: no" >&5
30743 echo "${ECHO_T}no" >&6
30744 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
30745 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
30746 LDFLAGS
="$saveLdflags -Wl,-R,/"
30747 cat >conftest.
$ac_ext <<_ACEOF
30750 cat confdefs.h
>>conftest.
$ac_ext
30751 cat >>conftest.
$ac_ext <<_ACEOF
30752 /* end confdefs.h. */
30762 rm -f conftest.
$ac_objext conftest
$ac_exeext
30763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30764 (eval $ac_link) 2>conftest.er1
30766 grep -v '^ *+' conftest.er1
>conftest.err
30768 cat conftest.err
>&5
30769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30770 (exit $ac_status); } &&
30771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30773 (eval $ac_try) 2>&5
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); }; } &&
30777 { ac_try
='test -s conftest$ac_exeext'
30778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30779 (eval $ac_try) 2>&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); }; }; then
30784 echo "$as_me:$LINENO: result: yes" >&5
30785 echo "${ECHO_T}yes" >&6
30786 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
30787 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.
$ac_ext >&5
30794 echo "$as_me:$LINENO: result: no" >&5
30795 echo "${ECHO_T}no" >&6
30798 rm -f conftest.err conftest.
$ac_objext \
30799 conftest
$ac_exeext conftest.
$ac_ext
30802 rm -f conftest.err conftest.
$ac_objext \
30803 conftest
$ac_exeext conftest.
$ac_ext
30804 LDFLAGS
="$saveLdflags"
30806 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
30807 WXCONFIG_RPATH
="-R\$libdir"
30812 install_name_tool
=`which install_name_tool`
30813 if test "$install_name_tool" -a -x "$install_name_tool"; then
30814 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
30815 cat <<EOF >change-install-names
30817 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
30818 inst_cmd="install_name_tool "
30819 for i in \${libnames} ; do
30820 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
30824 chmod +x change
-install-names
30828 *-*-cygwin* | *-*-mingw32* )
30829 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
30833 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
30834 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
30839 if test $wxUSE_RPATH = "no"; then
30840 SAMPLES_RPATH_FLAG
=''
30841 SAMPLES_RPATH_POSTLINK
=''
30849 config_linkage_component
="-static"
30856 lib_unicode_suffix
=
30858 if test "$wxUSE_UNICODE" = "yes"; then
30859 lib_unicode_suffix
=u
30860 WX_CHARTYPE
="unicode"
30865 WX_DEBUGTYPE
="release"
30867 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
30869 WX_DEBUGTYPE
="debug"
30873 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
30874 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
30877 if test "$wxUSE_DEBUG_INFO" = "yes"; then
30881 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
30883 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
30885 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
30887 if test "$cross_compiling" = "yes"; then
30888 HOST_SUFFIX
="-$host_alias"
30889 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
30890 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
30893 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30894 if test "${TOOLKIT_DIR}" = "os2"; then
30895 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30897 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
30902 if test "$wxUSE_COCOA" = 1; then
30906 ac_cpp
='$CPP $CPPFLAGS'
30907 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30908 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30909 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30913 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
30914 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
30915 cat >conftest.
$ac_ext <<_ACEOF
30918 cat confdefs.h
>>conftest.
$ac_ext
30919 cat >>conftest.
$ac_ext <<_ACEOF
30920 /* end confdefs.h. */
30921 #include <AppKit/NSEvent.h>
30922 #include <CoreFoundation/CoreFoundation.h>
30932 rm -f conftest.
$ac_objext
30933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30934 (eval $ac_compile) 2>conftest.er1
30936 grep -v '^ *+' conftest.er1
>conftest.err
30938 cat conftest.err
>&5
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); } &&
30941 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30943 (eval $ac_try) 2>&5
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); }; } &&
30947 { ac_try
='test -s conftest.$ac_objext'
30948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30949 (eval $ac_try) 2>&5
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); }; }; then
30953 echo "$as_me:$LINENO: result: no" >&5
30954 echo "${ECHO_T}no" >&6
30956 echo "$as_me: failed program was:" >&5
30957 sed 's/^/| /' conftest.
$ac_ext >&5
30959 echo "$as_me:$LINENO: result: yes" >&5
30960 echo "${ECHO_T}yes" >&6
30961 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
30962 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
30963 cat >conftest.
$ac_ext <<_ACEOF
30966 cat confdefs.h
>>conftest.
$ac_ext
30967 cat >>conftest.
$ac_ext <<_ACEOF
30968 /* end confdefs.h. */
30969 #define __Point__ 1
30970 #include <AppKit/NSEvent.h>
30971 #include <CoreFoundation/CoreFoundation.h>
30981 rm -f conftest.
$ac_objext
30982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30983 (eval $ac_compile) 2>conftest.er1
30985 grep -v '^ *+' conftest.er1
>conftest.err
30987 cat conftest.err
>&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); } &&
30990 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30992 (eval $ac_try) 2>&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); }; } &&
30996 { ac_try
='test -s conftest.$ac_objext'
30997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998 (eval $ac_try) 2>&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); }; }; then
31002 echo "$as_me:$LINENO: result: yes" >&5
31003 echo "${ECHO_T}yes" >&6
31004 cat >>confdefs.h
<<\_ACEOF
31005 #define __Point__ 1
31010 echo "$as_me: failed program was:" >&5
31011 sed 's/^/| /' conftest.
$ac_ext >&5
31013 { { echo "$as_me:$LINENO: error: no
31014 See \`config.log' for more details." >&5
31015 echo "$as_me: error: no
31016 See \`config.log' for more details." >&2;}
31017 { (exit 1); exit 1; }; }
31020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31025 ac_cpp
='$CPP $CPPFLAGS'
31026 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31027 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31028 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31032 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
31033 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
31034 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
31036 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
31038 # Extract the first word of "Rez", so it can be a program name with args.
31039 set dummy Rez
; ac_word
=$2
31040 echo "$as_me:$LINENO: checking for $ac_word" >&5
31041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31042 if test "${ac_cv_prog_RESCOMP+set}" = set; then
31043 echo $ECHO_N "(cached) $ECHO_C" >&6
31045 if test -n "$RESCOMP"; then
31046 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
31048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31049 for as_dir
in $PATH
31052 test -z "$as_dir" && as_dir
=.
31053 for ac_exec_ext
in '' $ac_executable_extensions; do
31054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31055 ac_cv_prog_RESCOMP
="Rez"
31056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31062 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
31065 RESCOMP
=$ac_cv_prog_RESCOMP
31066 if test -n "$RESCOMP"; then
31067 echo "$as_me:$LINENO: result: $RESCOMP" >&5
31068 echo "${ECHO_T}$RESCOMP" >&6
31070 echo "$as_me:$LINENO: result: no" >&5
31071 echo "${ECHO_T}no" >&6
31074 # Extract the first word of "DeRez", so it can be a program name with args.
31075 set dummy DeRez
; ac_word
=$2
31076 echo "$as_me:$LINENO: checking for $ac_word" >&5
31077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31078 if test "${ac_cv_prog_DEREZ+set}" = set; then
31079 echo $ECHO_N "(cached) $ECHO_C" >&6
31081 if test -n "$DEREZ"; then
31082 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
31084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31085 for as_dir
in $PATH
31088 test -z "$as_dir" && as_dir
=.
31089 for ac_exec_ext
in '' $ac_executable_extensions; do
31090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31091 ac_cv_prog_DEREZ
="DeRez"
31092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31098 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
31101 DEREZ
=$ac_cv_prog_DEREZ
31102 if test -n "$DEREZ"; then
31103 echo "$as_me:$LINENO: result: $DEREZ" >&5
31104 echo "${ECHO_T}$DEREZ" >&6
31106 echo "$as_me:$LINENO: result: no" >&5
31107 echo "${ECHO_T}no" >&6
31110 # Extract the first word of "SetFile", so it can be a program name with args.
31111 set dummy SetFile
; ac_word
=$2
31112 echo "$as_me:$LINENO: checking for $ac_word" >&5
31113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31114 if test "${ac_cv_prog_SETFILE+set}" = set; then
31115 echo $ECHO_N "(cached) $ECHO_C" >&6
31117 if test -n "$SETFILE"; then
31118 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
31120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31121 for as_dir
in $PATH
31124 test -z "$as_dir" && as_dir
=.
31125 for ac_exec_ext
in '' $ac_executable_extensions; do
31126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31127 ac_cv_prog_SETFILE
="SetFile"
31128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31134 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
31137 SETFILE
=$ac_cv_prog_SETFILE
31138 if test -n "$SETFILE"; then
31139 echo "$as_me:$LINENO: result: $SETFILE" >&5
31140 echo "${ECHO_T}$SETFILE" >&6
31142 echo "$as_me:$LINENO: result: no" >&5
31143 echo "${ECHO_T}no" >&6
31147 MACSETFILE
="\$(SETFILE)"
31149 if test "$wxUSE_MAC" = 1; then
31150 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r -o"
31152 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r -o"
31154 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
31155 MACRESWXCONFIG
="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
31159 MACRESWXCONFIG
="@true"
31161 if test "$wxUSE_PM" = 1; then
31162 MACRESCOMP
="emxbind -ep"
31170 echo "$as_me:$LINENO: checking for mode_t" >&5
31171 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
31172 if test "${ac_cv_type_mode_t+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31175 cat >conftest.
$ac_ext <<_ACEOF
31178 cat confdefs.h
>>conftest.
$ac_ext
31179 cat >>conftest.
$ac_ext <<_ACEOF
31180 /* end confdefs.h. */
31181 $ac_includes_default
31187 if (sizeof (mode_t))
31193 rm -f conftest.
$ac_objext
31194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31195 (eval $ac_compile) 2>conftest.er1
31197 grep -v '^ *+' conftest.er1
>conftest.err
31199 cat conftest.err
>&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); } &&
31202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31204 (eval $ac_try) 2>&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); }; } &&
31208 { ac_try
='test -s conftest.$ac_objext'
31209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31210 (eval $ac_try) 2>&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); }; }; then
31214 ac_cv_type_mode_t
=yes
31216 echo "$as_me: failed program was:" >&5
31217 sed 's/^/| /' conftest.
$ac_ext >&5
31219 ac_cv_type_mode_t
=no
31221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31223 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
31224 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
31225 if test $ac_cv_type_mode_t = yes; then
31229 cat >>confdefs.h
<<_ACEOF
31235 echo "$as_me:$LINENO: checking for off_t" >&5
31236 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
31237 if test "${ac_cv_type_off_t+set}" = set; then
31238 echo $ECHO_N "(cached) $ECHO_C" >&6
31240 cat >conftest.
$ac_ext <<_ACEOF
31243 cat confdefs.h
>>conftest.
$ac_ext
31244 cat >>conftest.
$ac_ext <<_ACEOF
31245 /* end confdefs.h. */
31246 $ac_includes_default
31252 if (sizeof (off_t))
31258 rm -f conftest.
$ac_objext
31259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31260 (eval $ac_compile) 2>conftest.er1
31262 grep -v '^ *+' conftest.er1
>conftest.err
31264 cat conftest.err
>&5
31265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31266 (exit $ac_status); } &&
31267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31269 (eval $ac_try) 2>&5
31271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31272 (exit $ac_status); }; } &&
31273 { ac_try
='test -s conftest.$ac_objext'
31274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31275 (eval $ac_try) 2>&5
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); }; }; then
31279 ac_cv_type_off_t
=yes
31281 echo "$as_me: failed program was:" >&5
31282 sed 's/^/| /' conftest.
$ac_ext >&5
31284 ac_cv_type_off_t
=no
31286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31288 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
31289 echo "${ECHO_T}$ac_cv_type_off_t" >&6
31290 if test $ac_cv_type_off_t = yes; then
31294 cat >>confdefs.h
<<_ACEOF
31300 echo "$as_me:$LINENO: checking for pid_t" >&5
31301 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
31302 if test "${ac_cv_type_pid_t+set}" = set; then
31303 echo $ECHO_N "(cached) $ECHO_C" >&6
31305 cat >conftest.
$ac_ext <<_ACEOF
31308 cat confdefs.h
>>conftest.
$ac_ext
31309 cat >>conftest.
$ac_ext <<_ACEOF
31310 /* end confdefs.h. */
31311 $ac_includes_default
31317 if (sizeof (pid_t))
31323 rm -f conftest.
$ac_objext
31324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31325 (eval $ac_compile) 2>conftest.er1
31327 grep -v '^ *+' conftest.er1
>conftest.err
31329 cat conftest.err
>&5
31330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31331 (exit $ac_status); } &&
31332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31334 (eval $ac_try) 2>&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); }; } &&
31338 { ac_try
='test -s conftest.$ac_objext'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; }; then
31344 ac_cv_type_pid_t
=yes
31346 echo "$as_me: failed program was:" >&5
31347 sed 's/^/| /' conftest.
$ac_ext >&5
31349 ac_cv_type_pid_t
=no
31351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31353 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
31354 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
31355 if test $ac_cv_type_pid_t = yes; then
31359 cat >>confdefs.h
<<_ACEOF
31365 echo "$as_me:$LINENO: checking for size_t" >&5
31366 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
31367 if test "${ac_cv_type_size_t+set}" = set; then
31368 echo $ECHO_N "(cached) $ECHO_C" >&6
31370 cat >conftest.
$ac_ext <<_ACEOF
31373 cat confdefs.h
>>conftest.
$ac_ext
31374 cat >>conftest.
$ac_ext <<_ACEOF
31375 /* end confdefs.h. */
31376 $ac_includes_default
31382 if (sizeof (size_t))
31388 rm -f conftest.
$ac_objext
31389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31390 (eval $ac_compile) 2>conftest.er1
31392 grep -v '^ *+' conftest.er1
>conftest.err
31394 cat conftest.err
>&5
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } &&
31397 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31399 (eval $ac_try) 2>&5
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; } &&
31403 { ac_try
='test -s conftest.$ac_objext'
31404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31405 (eval $ac_try) 2>&5
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; }; then
31409 ac_cv_type_size_t
=yes
31411 echo "$as_me: failed program was:" >&5
31412 sed 's/^/| /' conftest.
$ac_ext >&5
31414 ac_cv_type_size_t
=no
31416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31418 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
31419 echo "${ECHO_T}$ac_cv_type_size_t" >&6
31420 if test $ac_cv_type_size_t = yes; then
31424 cat >>confdefs.h
<<_ACEOF
31425 #define size_t unsigned
31430 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
31431 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
31432 if test "${ac_cv_type_uid_t+set}" = set; then
31433 echo $ECHO_N "(cached) $ECHO_C" >&6
31435 cat >conftest.
$ac_ext <<_ACEOF
31438 cat confdefs.h
>>conftest.
$ac_ext
31439 cat >>conftest.
$ac_ext <<_ACEOF
31440 /* end confdefs.h. */
31441 #include <sys/types.h>
31444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
31445 $EGREP "uid_t" >/dev
/null
2>&1; then
31446 ac_cv_type_uid_t
=yes
31448 ac_cv_type_uid_t
=no
31453 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
31454 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
31455 if test $ac_cv_type_uid_t = no
; then
31457 cat >>confdefs.h
<<\_ACEOF
31462 cat >>confdefs.h
<<\_ACEOF
31469 echo "$as_me:$LINENO: checking for ssize_t" >&5
31470 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
31471 if test "${ac_cv_type_ssize_t+set}" = set; then
31472 echo $ECHO_N "(cached) $ECHO_C" >&6
31474 cat >conftest.
$ac_ext <<_ACEOF
31477 cat confdefs.h
>>conftest.
$ac_ext
31478 cat >>conftest.
$ac_ext <<_ACEOF
31479 /* end confdefs.h. */
31480 $ac_includes_default
31486 if (sizeof (ssize_t))
31492 rm -f conftest.
$ac_objext
31493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31494 (eval $ac_compile) 2>conftest.er1
31496 grep -v '^ *+' conftest.er1
>conftest.err
31498 cat conftest.err
>&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); } &&
31501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31503 (eval $ac_try) 2>&5
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); }; } &&
31507 { ac_try
='test -s conftest.$ac_objext'
31508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31509 (eval $ac_try) 2>&5
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); }; }; then
31513 ac_cv_type_ssize_t
=yes
31515 echo "$as_me: failed program was:" >&5
31516 sed 's/^/| /' conftest.
$ac_ext >&5
31518 ac_cv_type_ssize_t
=no
31520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31522 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
31523 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
31524 if test $ac_cv_type_ssize_t = yes; then
31526 cat >>confdefs.h
<<_ACEOF
31527 #define HAVE_SSIZE_T 1
31537 ac_cpp
='$CXXCPP $CPPFLAGS'
31538 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31539 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31540 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31542 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
31543 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
31544 if test "${wx_cv_size_t_is_uint+set}" = set; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31548 cat >conftest.
$ac_ext <<_ACEOF
31551 cat confdefs.h
>>conftest.
$ac_ext
31552 cat >>conftest.
$ac_ext <<_ACEOF
31553 /* end confdefs.h. */
31554 #include <stddef.h>
31561 struct Foo { void foo(size_t); void foo(unsigned int); };
31569 rm -f conftest.
$ac_objext
31570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31571 (eval $ac_compile) 2>conftest.er1
31573 grep -v '^ *+' conftest.er1
>conftest.err
31575 cat conftest.err
>&5
31576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577 (exit $ac_status); } &&
31578 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31580 (eval $ac_try) 2>&5
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; } &&
31584 { ac_try
='test -s conftest.$ac_objext'
31585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31586 (eval $ac_try) 2>&5
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); }; }; then
31590 wx_cv_size_t_is_uint
=no
31592 echo "$as_me: failed program was:" >&5
31593 sed 's/^/| /' conftest.
$ac_ext >&5
31595 wx_cv_size_t_is_uint
=yes
31598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31602 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
31603 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
31605 if test "$wx_cv_size_t_is_uint" = "yes"; then
31606 cat >>confdefs.h
<<\_ACEOF
31607 #define wxSIZE_T_IS_UINT 1
31611 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
31612 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
31613 if test "${wx_cv_size_t_is_ulong+set}" = set; then
31614 echo $ECHO_N "(cached) $ECHO_C" >&6
31616 cat >conftest.
$ac_ext <<_ACEOF
31619 cat confdefs.h
>>conftest.
$ac_ext
31620 cat >>conftest.
$ac_ext <<_ACEOF
31621 /* end confdefs.h. */
31622 #include <stddef.h>
31629 struct Foo { void foo(size_t); void foo(unsigned long); };
31637 rm -f conftest.
$ac_objext
31638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31639 (eval $ac_compile) 2>conftest.er1
31641 grep -v '^ *+' conftest.er1
>conftest.err
31643 cat conftest.err
>&5
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); } &&
31646 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31648 (eval $ac_try) 2>&5
31650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31651 (exit $ac_status); }; } &&
31652 { ac_try
='test -s conftest.$ac_objext'
31653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31654 (eval $ac_try) 2>&5
31656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31657 (exit $ac_status); }; }; then
31658 wx_cv_size_t_is_ulong
=no
31660 echo "$as_me: failed program was:" >&5
31661 sed 's/^/| /' conftest.
$ac_ext >&5
31663 wx_cv_size_t_is_ulong
=yes
31666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31669 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
31670 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
31672 if test "$wx_cv_size_t_is_ulong" = "yes"; then
31673 cat >>confdefs.h
<<\_ACEOF
31674 #define wxSIZE_T_IS_ULONG 1
31681 ac_cpp
='$CPP $CPPFLAGS'
31682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31688 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
31689 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
31690 if test "${wx_cv_struct_pw_gecos+set}" = set; then
31691 echo $ECHO_N "(cached) $ECHO_C" >&6
31694 cat >conftest.
$ac_ext <<_ACEOF
31697 cat confdefs.h
>>conftest.
$ac_ext
31698 cat >>conftest.
$ac_ext <<_ACEOF
31699 /* end confdefs.h. */
31713 rm -f conftest.
$ac_objext
31714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31715 (eval $ac_compile) 2>conftest.er1
31717 grep -v '^ *+' conftest.er1
>conftest.err
31719 cat conftest.err
>&5
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); } &&
31722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31724 (eval $ac_try) 2>&5
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); }; } &&
31728 { ac_try
='test -s conftest.$ac_objext'
31729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31730 (eval $ac_try) 2>&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); }; }; then
31735 wx_cv_struct_pw_gecos
=yes
31738 echo "$as_me: failed program was:" >&5
31739 sed 's/^/| /' conftest.
$ac_ext >&5
31742 wx_cv_struct_pw_gecos
=no
31746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31750 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
31751 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
31753 if test "$wx_cv_struct_pw_gecos" = "yes"; then
31754 cat >>confdefs.h
<<\_ACEOF
31755 #define HAVE_PW_GECOS 1
31761 if test "$wxUSE_WCHAR_T" = "yes"; then
31762 cat >>confdefs.h
<<\_ACEOF
31763 #define wxUSE_WCHAR_T 1
31770 for ac_func
in wcslen
31772 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31773 echo "$as_me:$LINENO: checking for $ac_func" >&5
31774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31775 if eval "test \"\${$as_ac_var+set}\" = set"; then
31776 echo $ECHO_N "(cached) $ECHO_C" >&6
31778 cat >conftest.
$ac_ext <<_ACEOF
31781 cat confdefs.h
>>conftest.
$ac_ext
31782 cat >>conftest.
$ac_ext <<_ACEOF
31783 /* end confdefs.h. */
31784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31786 #define $ac_func innocuous_$ac_func
31788 /* System header to define __stub macros and hopefully few prototypes,
31789 which can conflict with char $ac_func (); below.
31790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31791 <limits.h> exists even on freestanding compilers. */
31794 # include <limits.h>
31796 # include <assert.h>
31801 /* Override any gcc2 internal prototype to avoid an error. */
31806 /* We use char because int might match the return type of a gcc2
31807 builtin and then its argument prototype would still apply. */
31809 /* The GNU C library defines this for functions which it implements
31810 to always fail with ENOSYS. Some functions are actually named
31811 something starting with __ and the normal name is an alias. */
31812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31815 char (*f) () = $ac_func;
31824 return f != $ac_func;
31829 rm -f conftest.
$ac_objext conftest
$ac_exeext
31830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31831 (eval $ac_link) 2>conftest.er1
31833 grep -v '^ *+' conftest.er1
>conftest.err
31835 cat conftest.err
>&5
31836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837 (exit $ac_status); } &&
31838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31840 (eval $ac_try) 2>&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); }; } &&
31844 { ac_try
='test -s conftest$ac_exeext'
31845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31846 (eval $ac_try) 2>&5
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); }; }; then
31850 eval "$as_ac_var=yes"
31852 echo "$as_me: failed program was:" >&5
31853 sed 's/^/| /' conftest.
$ac_ext >&5
31855 eval "$as_ac_var=no"
31857 rm -f conftest.err conftest.
$ac_objext \
31858 conftest
$ac_exeext conftest.
$ac_ext
31860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31862 if test `eval echo '${'$as_ac_var'}'` = yes; then
31863 cat >>confdefs.h
<<_ACEOF
31864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31871 if test "$WCSLEN_FOUND" = 0; then
31872 if test "$TOOLKIT" = "MSW"; then
31873 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
31874 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
31875 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
31876 echo $ECHO_N "(cached) $ECHO_C" >&6
31878 ac_check_lib_save_LIBS
=$LIBS
31879 LIBS
="-lmsvcrt $LIBS"
31880 cat >conftest.
$ac_ext <<_ACEOF
31883 cat confdefs.h
>>conftest.
$ac_ext
31884 cat >>conftest.
$ac_ext <<_ACEOF
31885 /* end confdefs.h. */
31887 /* Override any gcc2 internal prototype to avoid an error. */
31891 /* We use char because int might match the return type of a gcc2
31892 builtin and then its argument prototype would still apply. */
31902 rm -f conftest.
$ac_objext conftest
$ac_exeext
31903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31904 (eval $ac_link) 2>conftest.er1
31906 grep -v '^ *+' conftest.er1
>conftest.err
31908 cat conftest.err
>&5
31909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31910 (exit $ac_status); } &&
31911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31913 (eval $ac_try) 2>&5
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); }; } &&
31917 { ac_try
='test -s conftest$ac_exeext'
31918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31919 (eval $ac_try) 2>&5
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); }; }; then
31923 ac_cv_lib_msvcrt_wcslen
=yes
31925 echo "$as_me: failed program was:" >&5
31926 sed 's/^/| /' conftest.
$ac_ext >&5
31928 ac_cv_lib_msvcrt_wcslen
=no
31930 rm -f conftest.err conftest.
$ac_objext \
31931 conftest
$ac_exeext conftest.
$ac_ext
31932 LIBS
=$ac_check_lib_save_LIBS
31934 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
31935 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
31936 if test $ac_cv_lib_msvcrt_wcslen = yes; then
31941 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
31942 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
31943 if test "${ac_cv_lib_w_wcslen+set}" = set; then
31944 echo $ECHO_N "(cached) $ECHO_C" >&6
31946 ac_check_lib_save_LIBS
=$LIBS
31948 cat >conftest.
$ac_ext <<_ACEOF
31951 cat confdefs.h
>>conftest.
$ac_ext
31952 cat >>conftest.
$ac_ext <<_ACEOF
31953 /* end confdefs.h. */
31955 /* Override any gcc2 internal prototype to avoid an error. */
31959 /* We use char because int might match the return type of a gcc2
31960 builtin and then its argument prototype would still apply. */
31970 rm -f conftest.
$ac_objext conftest
$ac_exeext
31971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31972 (eval $ac_link) 2>conftest.er1
31974 grep -v '^ *+' conftest.er1
>conftest.err
31976 cat conftest.err
>&5
31977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 (exit $ac_status); } &&
31979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31981 (eval $ac_try) 2>&5
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); }; } &&
31985 { ac_try
='test -s conftest$ac_exeext'
31986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31987 (eval $ac_try) 2>&5
31989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); }; }; then
31991 ac_cv_lib_w_wcslen
=yes
31993 echo "$as_me: failed program was:" >&5
31994 sed 's/^/| /' conftest.
$ac_ext >&5
31996 ac_cv_lib_w_wcslen
=no
31998 rm -f conftest.err conftest.
$ac_objext \
31999 conftest
$ac_exeext conftest.
$ac_ext
32000 LIBS
=$ac_check_lib_save_LIBS
32002 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
32003 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
32004 if test $ac_cv_lib_w_wcslen = yes; then
32014 if test "$WCSLEN_FOUND" = 1; then
32015 cat >>confdefs.h
<<\_ACEOF
32016 #define HAVE_WCSLEN 1
32021 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
32022 CPPFLAGS
="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
32025 echo "$as_me:$LINENO: checking for mbstate_t" >&5
32026 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
32027 if test "${ac_cv_type_mbstate_t+set}" = set; then
32028 echo $ECHO_N "(cached) $ECHO_C" >&6
32030 cat >conftest.
$ac_ext <<_ACEOF
32033 cat confdefs.h
>>conftest.
$ac_ext
32034 cat >>conftest.
$ac_ext <<_ACEOF
32035 /* end confdefs.h. */
32041 if ((mbstate_t *) 0)
32043 if (sizeof (mbstate_t))
32049 rm -f conftest.
$ac_objext
32050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32051 (eval $ac_compile) 2>conftest.er1
32053 grep -v '^ *+' conftest.er1
>conftest.err
32055 cat conftest.err
>&5
32056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32057 (exit $ac_status); } &&
32058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32060 (eval $ac_try) 2>&5
32062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063 (exit $ac_status); }; } &&
32064 { ac_try
='test -s conftest.$ac_objext'
32065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32066 (eval $ac_try) 2>&5
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); }; }; then
32070 ac_cv_type_mbstate_t
=yes
32072 echo "$as_me: failed program was:" >&5
32073 sed 's/^/| /' conftest.
$ac_ext >&5
32075 ac_cv_type_mbstate_t
=no
32077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32079 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
32080 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
32081 if test $ac_cv_type_mbstate_t = yes; then
32083 cat >>confdefs.h
<<_ACEOF
32084 #define HAVE_MBSTATE_T 1
32088 for ac_func
in wcsrtombs
32090 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32091 echo "$as_me:$LINENO: checking for $ac_func" >&5
32092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32093 if eval "test \"\${$as_ac_var+set}\" = set"; then
32094 echo $ECHO_N "(cached) $ECHO_C" >&6
32096 cat >conftest.
$ac_ext <<_ACEOF
32099 cat confdefs.h
>>conftest.
$ac_ext
32100 cat >>conftest.
$ac_ext <<_ACEOF
32101 /* end confdefs.h. */
32102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32104 #define $ac_func innocuous_$ac_func
32106 /* System header to define __stub macros and hopefully few prototypes,
32107 which can conflict with char $ac_func (); below.
32108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32109 <limits.h> exists even on freestanding compilers. */
32112 # include <limits.h>
32114 # include <assert.h>
32119 /* Override any gcc2 internal prototype to avoid an error. */
32124 /* We use char because int might match the return type of a gcc2
32125 builtin and then its argument prototype would still apply. */
32127 /* The GNU C library defines this for functions which it implements
32128 to always fail with ENOSYS. Some functions are actually named
32129 something starting with __ and the normal name is an alias. */
32130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32133 char (*f) () = $ac_func;
32142 return f != $ac_func;
32147 rm -f conftest.
$ac_objext conftest
$ac_exeext
32148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32149 (eval $ac_link) 2>conftest.er1
32151 grep -v '^ *+' conftest.er1
>conftest.err
32153 cat conftest.err
>&5
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); } &&
32156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32158 (eval $ac_try) 2>&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); }; } &&
32162 { ac_try
='test -s conftest$ac_exeext'
32163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32164 (eval $ac_try) 2>&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); }; }; then
32168 eval "$as_ac_var=yes"
32170 echo "$as_me: failed program was:" >&5
32171 sed 's/^/| /' conftest.
$ac_ext >&5
32173 eval "$as_ac_var=no"
32175 rm -f conftest.err conftest.
$ac_objext \
32176 conftest
$ac_exeext conftest.
$ac_ext
32178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32180 if test `eval echo '${'$as_ac_var'}'` = yes; then
32181 cat >>confdefs.h
<<_ACEOF
32182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32191 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
32192 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
32198 ac_cpp
='$CXXCPP $CPPFLAGS'
32199 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32200 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32201 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32206 for ac_func
in snprintf vsnprintf
32208 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32209 echo "$as_me:$LINENO: checking for $ac_func" >&5
32210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32211 if eval "test \"\${$as_ac_var+set}\" = set"; then
32212 echo $ECHO_N "(cached) $ECHO_C" >&6
32214 cat >conftest.
$ac_ext <<_ACEOF
32217 cat confdefs.h
>>conftest.
$ac_ext
32218 cat >>conftest.
$ac_ext <<_ACEOF
32219 /* end confdefs.h. */
32220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32222 #define $ac_func innocuous_$ac_func
32224 /* System header to define __stub macros and hopefully few prototypes,
32225 which can conflict with char $ac_func (); below.
32226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32227 <limits.h> exists even on freestanding compilers. */
32230 # include <limits.h>
32232 # include <assert.h>
32237 /* Override any gcc2 internal prototype to avoid an error. */
32242 /* We use char because int might match the return type of a gcc2
32243 builtin and then its argument prototype would still apply. */
32245 /* The GNU C library defines this for functions which it implements
32246 to always fail with ENOSYS. Some functions are actually named
32247 something starting with __ and the normal name is an alias. */
32248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32251 char (*f) () = $ac_func;
32260 return f != $ac_func;
32265 rm -f conftest.
$ac_objext conftest
$ac_exeext
32266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32267 (eval $ac_link) 2>conftest.er1
32269 grep -v '^ *+' conftest.er1
>conftest.err
32271 cat conftest.err
>&5
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); } &&
32274 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32276 (eval $ac_try) 2>&5
32278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32279 (exit $ac_status); }; } &&
32280 { ac_try
='test -s conftest$ac_exeext'
32281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32282 (eval $ac_try) 2>&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); }; }; then
32286 eval "$as_ac_var=yes"
32288 echo "$as_me: failed program was:" >&5
32289 sed 's/^/| /' conftest.
$ac_ext >&5
32291 eval "$as_ac_var=no"
32293 rm -f conftest.err conftest.
$ac_objext \
32294 conftest
$ac_exeext conftest.
$ac_ext
32296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32298 if test `eval echo '${'$as_ac_var'}'` = yes; then
32299 cat >>confdefs.h
<<_ACEOF
32300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32307 if test "$ac_cv_func_vsnprintf" = "yes"; then
32308 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
32309 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
32310 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
32311 echo $ECHO_N "(cached) $ECHO_C" >&6
32314 cat >conftest.
$ac_ext <<_ACEOF
32317 cat confdefs.h
>>conftest.
$ac_ext
32318 cat >>conftest.
$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32322 #include <stdarg.h>
32324 #if __MSL__ >= 0x6000
32326 using namespace std;
32336 vsnprintf(buf, 10u, "%s", ap);
32342 rm -f conftest.
$ac_objext
32343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32344 (eval $ac_compile) 2>conftest.er1
32346 grep -v '^ *+' conftest.er1
>conftest.err
32348 cat conftest.err
>&5
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); } &&
32351 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32353 (eval $ac_try) 2>&5
32355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356 (exit $ac_status); }; } &&
32357 { ac_try
='test -s conftest.$ac_objext'
32358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32359 (eval $ac_try) 2>&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); }; }; then
32363 wx_cv_func_vsnprintf_decl
=yes
32365 echo "$as_me: failed program was:" >&5
32366 sed 's/^/| /' conftest.
$ac_ext >&5
32368 wx_cv_func_vsnprintf_decl
=no
32371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32375 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
32376 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
32378 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
32379 cat >>confdefs.h
<<\_ACEOF
32380 #define HAVE_VSNPRINTF_DECL 1
32384 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
32385 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
32386 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
32387 echo $ECHO_N "(cached) $ECHO_C" >&6
32390 cat >conftest.
$ac_ext <<_ACEOF
32393 cat confdefs.h
>>conftest.
$ac_ext
32394 cat >>conftest.
$ac_ext <<_ACEOF
32395 /* end confdefs.h. */
32398 #include <stdarg.h>
32400 #if __MSL__ >= 0x6000
32402 using namespace std;
32412 const char *fmt = "%s";
32413 vsnprintf(buf, 10u, fmt, ap);
32419 rm -f conftest.
$ac_objext
32420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32421 (eval $ac_compile) 2>conftest.er1
32423 grep -v '^ *+' conftest.er1
>conftest.err
32425 cat conftest.err
>&5
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); } &&
32428 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32430 (eval $ac_try) 2>&5
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); }; } &&
32434 { ac_try
='test -s conftest.$ac_objext'
32435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32436 (eval $ac_try) 2>&5
32438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32439 (exit $ac_status); }; }; then
32440 wx_cv_func_broken_vsnprintf_decl
=no
32442 echo "$as_me: failed program was:" >&5
32443 sed 's/^/| /' conftest.
$ac_ext >&5
32445 wx_cv_func_broken_vsnprintf_decl
=yes
32448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32452 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
32453 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
32455 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
32456 cat >>confdefs.h
<<\_ACEOF
32457 #define HAVE_BROKEN_VSNPRINTF_DECL 1
32464 if test "$ac_cv_func_snprintf" = "yes"; then
32465 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
32466 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
32467 if test "${wx_cv_func_snprintf_decl+set}" = set; then
32468 echo $ECHO_N "(cached) $ECHO_C" >&6
32471 cat >conftest.
$ac_ext <<_ACEOF
32474 cat confdefs.h
>>conftest.
$ac_ext
32475 cat >>conftest.
$ac_ext <<_ACEOF
32476 /* end confdefs.h. */
32479 #include <stdarg.h>
32481 #if __MSL__ >= 0x6000
32483 using namespace std;
32492 snprintf(buf, 10u, "%s", "wx");
32498 rm -f conftest.
$ac_objext
32499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32500 (eval $ac_compile) 2>conftest.er1
32502 grep -v '^ *+' conftest.er1
>conftest.err
32504 cat conftest.err
>&5
32505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32506 (exit $ac_status); } &&
32507 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32509 (eval $ac_try) 2>&5
32511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512 (exit $ac_status); }; } &&
32513 { ac_try
='test -s conftest.$ac_objext'
32514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32515 (eval $ac_try) 2>&5
32517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32518 (exit $ac_status); }; }; then
32519 wx_cv_func_snprintf_decl
=yes
32521 echo "$as_me: failed program was:" >&5
32522 sed 's/^/| /' conftest.
$ac_ext >&5
32524 wx_cv_func_snprintf_decl
=no
32527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32531 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
32532 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
32534 if test "$wx_cv_func_snprintf_decl" = "yes"; then
32535 cat >>confdefs.h
<<\_ACEOF
32536 #define HAVE_SNPRINTF_DECL 1
32540 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
32541 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
32542 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
32543 echo $ECHO_N "(cached) $ECHO_C" >&6
32546 cat >conftest.
$ac_ext <<_ACEOF
32549 cat confdefs.h
>>conftest.
$ac_ext
32550 cat >>conftest.
$ac_ext <<_ACEOF
32551 /* end confdefs.h. */
32554 #include <stdarg.h>
32556 #if __MSL__ >= 0x6000
32558 using namespace std;
32567 const char *fmt = "%s";
32568 snprintf(buf, 10u, fmt, "wx");
32574 rm -f conftest.
$ac_objext
32575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32576 (eval $ac_compile) 2>conftest.er1
32578 grep -v '^ *+' conftest.er1
>conftest.err
32580 cat conftest.err
>&5
32581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32582 (exit $ac_status); } &&
32583 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32585 (eval $ac_try) 2>&5
32587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588 (exit $ac_status); }; } &&
32589 { ac_try
='test -s conftest.$ac_objext'
32590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32591 (eval $ac_try) 2>&5
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); }; }; then
32595 wx_cv_func_broken_snprintf_decl
=no
32597 echo "$as_me: failed program was:" >&5
32598 sed 's/^/| /' conftest.
$ac_ext >&5
32600 wx_cv_func_broken_snprintf_decl
=yes
32603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32607 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
32608 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
32610 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
32611 cat >>confdefs.h
<<\_ACEOF
32612 #define HAVE_BROKEN_SNPRINTF_DECL 1
32619 if test "$wxUSE_UNICODE" = yes; then
32626 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
32628 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32629 echo "$as_me:$LINENO: checking for $ac_func" >&5
32630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32631 if eval "test \"\${$as_ac_var+set}\" = set"; then
32632 echo $ECHO_N "(cached) $ECHO_C" >&6
32634 cat >conftest.
$ac_ext <<_ACEOF
32637 cat confdefs.h
>>conftest.
$ac_ext
32638 cat >>conftest.
$ac_ext <<_ACEOF
32639 /* end confdefs.h. */
32640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32642 #define $ac_func innocuous_$ac_func
32644 /* System header to define __stub macros and hopefully few prototypes,
32645 which can conflict with char $ac_func (); below.
32646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32647 <limits.h> exists even on freestanding compilers. */
32650 # include <limits.h>
32652 # include <assert.h>
32657 /* Override any gcc2 internal prototype to avoid an error. */
32662 /* We use char because int might match the return type of a gcc2
32663 builtin and then its argument prototype would still apply. */
32665 /* The GNU C library defines this for functions which it implements
32666 to always fail with ENOSYS. Some functions are actually named
32667 something starting with __ and the normal name is an alias. */
32668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32671 char (*f) () = $ac_func;
32680 return f != $ac_func;
32685 rm -f conftest.
$ac_objext conftest
$ac_exeext
32686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32687 (eval $ac_link) 2>conftest.er1
32689 grep -v '^ *+' conftest.er1
>conftest.err
32691 cat conftest.err
>&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); } &&
32694 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32696 (eval $ac_try) 2>&5
32698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32699 (exit $ac_status); }; } &&
32700 { ac_try
='test -s conftest$ac_exeext'
32701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32702 (eval $ac_try) 2>&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); }; }; then
32706 eval "$as_ac_var=yes"
32708 echo "$as_me: failed program was:" >&5
32709 sed 's/^/| /' conftest.
$ac_ext >&5
32711 eval "$as_ac_var=no"
32713 rm -f conftest.err conftest.
$ac_objext \
32714 conftest
$ac_exeext conftest.
$ac_ext
32716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32718 if test `eval echo '${'$as_ac_var'}'` = yes; then
32719 cat >>confdefs.h
<<_ACEOF
32720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32727 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
32728 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
32729 cat >conftest.
$ac_ext <<_ACEOF
32732 cat confdefs.h
>>conftest.
$ac_ext
32733 cat >>conftest.
$ac_ext <<_ACEOF
32734 /* end confdefs.h. */
32744 rm -f conftest.
$ac_objext
32745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32746 (eval $ac_compile) 2>conftest.er1
32748 grep -v '^ *+' conftest.er1
>conftest.err
32750 cat conftest.err
>&5
32751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752 (exit $ac_status); } &&
32753 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32755 (eval $ac_try) 2>&5
32757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32758 (exit $ac_status); }; } &&
32759 { ac_try
='test -s conftest.$ac_objext'
32760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32761 (eval $ac_try) 2>&5
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); }; }; then
32765 echo "$as_me:$LINENO: result: yes" >&5
32766 echo "${ECHO_T}yes" >&6
32767 cat >>confdefs.h
<<\_ACEOF
32768 #define HAVE__VSNWPRINTF 1
32772 echo "$as_me: failed program was:" >&5
32773 sed 's/^/| /' conftest.
$ac_ext >&5
32775 echo "$as_me:$LINENO: result: no" >&5
32776 echo "${ECHO_T}no" >&6
32778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
32782 ac_cpp
='$CPP $CPPFLAGS'
32783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32788 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
32790 for ac_func
in fnmatch
32792 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32793 echo "$as_me:$LINENO: checking for $ac_func" >&5
32794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32795 if eval "test \"\${$as_ac_var+set}\" = set"; then
32796 echo $ECHO_N "(cached) $ECHO_C" >&6
32798 cat >conftest.
$ac_ext <<_ACEOF
32801 cat confdefs.h
>>conftest.
$ac_ext
32802 cat >>conftest.
$ac_ext <<_ACEOF
32803 /* end confdefs.h. */
32804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32806 #define $ac_func innocuous_$ac_func
32808 /* System header to define __stub macros and hopefully few prototypes,
32809 which can conflict with char $ac_func (); below.
32810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32811 <limits.h> exists even on freestanding compilers. */
32814 # include <limits.h>
32816 # include <assert.h>
32821 /* Override any gcc2 internal prototype to avoid an error. */
32826 /* We use char because int might match the return type of a gcc2
32827 builtin and then its argument prototype would still apply. */
32829 /* The GNU C library defines this for functions which it implements
32830 to always fail with ENOSYS. Some functions are actually named
32831 something starting with __ and the normal name is an alias. */
32832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32835 char (*f) () = $ac_func;
32844 return f != $ac_func;
32849 rm -f conftest.
$ac_objext conftest
$ac_exeext
32850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32851 (eval $ac_link) 2>conftest.er1
32853 grep -v '^ *+' conftest.er1
>conftest.err
32855 cat conftest.err
>&5
32856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857 (exit $ac_status); } &&
32858 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32860 (eval $ac_try) 2>&5
32862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32863 (exit $ac_status); }; } &&
32864 { ac_try
='test -s conftest$ac_exeext'
32865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32866 (eval $ac_try) 2>&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); }; }; then
32870 eval "$as_ac_var=yes"
32872 echo "$as_me: failed program was:" >&5
32873 sed 's/^/| /' conftest.
$ac_ext >&5
32875 eval "$as_ac_var=no"
32877 rm -f conftest.err conftest.
$ac_objext \
32878 conftest
$ac_exeext conftest.
$ac_ext
32880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32882 if test `eval echo '${'$as_ac_var'}'` = yes; then
32883 cat >>confdefs.h
<<_ACEOF
32884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32892 if test "$wxUSE_FILE" = "yes"; then
32894 for ac_func
in fsync
32896 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32897 echo "$as_me:$LINENO: checking for $ac_func" >&5
32898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32899 if eval "test \"\${$as_ac_var+set}\" = set"; then
32900 echo $ECHO_N "(cached) $ECHO_C" >&6
32902 cat >conftest.
$ac_ext <<_ACEOF
32905 cat confdefs.h
>>conftest.
$ac_ext
32906 cat >>conftest.
$ac_ext <<_ACEOF
32907 /* end confdefs.h. */
32908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32910 #define $ac_func innocuous_$ac_func
32912 /* System header to define __stub macros and hopefully few prototypes,
32913 which can conflict with char $ac_func (); below.
32914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32915 <limits.h> exists even on freestanding compilers. */
32918 # include <limits.h>
32920 # include <assert.h>
32925 /* Override any gcc2 internal prototype to avoid an error. */
32930 /* We use char because int might match the return type of a gcc2
32931 builtin and then its argument prototype would still apply. */
32933 /* The GNU C library defines this for functions which it implements
32934 to always fail with ENOSYS. Some functions are actually named
32935 something starting with __ and the normal name is an alias. */
32936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32939 char (*f) () = $ac_func;
32948 return f != $ac_func;
32953 rm -f conftest.
$ac_objext conftest
$ac_exeext
32954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32955 (eval $ac_link) 2>conftest.er1
32957 grep -v '^ *+' conftest.er1
>conftest.err
32959 cat conftest.err
>&5
32960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32961 (exit $ac_status); } &&
32962 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32964 (eval $ac_try) 2>&5
32966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32967 (exit $ac_status); }; } &&
32968 { ac_try
='test -s conftest$ac_exeext'
32969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32970 (eval $ac_try) 2>&5
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); }; }; then
32974 eval "$as_ac_var=yes"
32976 echo "$as_me: failed program was:" >&5
32977 sed 's/^/| /' conftest.
$ac_ext >&5
32979 eval "$as_ac_var=no"
32981 rm -f conftest.err conftest.
$ac_objext \
32982 conftest
$ac_exeext conftest.
$ac_ext
32984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32986 if test `eval echo '${'$as_ac_var'}'` = yes; then
32987 cat >>confdefs.h
<<_ACEOF
32988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32997 if test "$TOOLKIT" != "MSW"; then
33003 ac_cpp
='$CXXCPP $CPPFLAGS'
33004 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33011 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
33012 if test "${with_libiconv_prefix+set}" = set; then
33013 withval
="$with_libiconv_prefix"
33015 for dir
in `echo "$withval" | tr : ' '`; do
33016 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
33017 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
33022 echo "$as_me:$LINENO: checking for iconv" >&5
33023 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
33024 if test "${am_cv_func_iconv+set}" = set; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33028 am_cv_func_iconv
="no, consider installing GNU libiconv"
33030 cat >conftest.
$ac_ext <<_ACEOF
33033 cat confdefs.h
>>conftest.
$ac_ext
33034 cat >>conftest.
$ac_ext <<_ACEOF
33035 /* end confdefs.h. */
33036 #include <stdlib.h>
33041 iconv_t cd = iconv_open("","");
33042 iconv(cd,NULL,NULL,NULL,NULL);
33048 rm -f conftest.
$ac_objext conftest
$ac_exeext
33049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33050 (eval $ac_link) 2>conftest.er1
33052 grep -v '^ *+' conftest.er1
>conftest.err
33054 cat conftest.err
>&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); } &&
33057 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33059 (eval $ac_try) 2>&5
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); }; } &&
33063 { ac_try
='test -s conftest$ac_exeext'
33064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33065 (eval $ac_try) 2>&5
33067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 (exit $ac_status); }; }; then
33069 am_cv_func_iconv
=yes
33071 echo "$as_me: failed program was:" >&5
33072 sed 's/^/| /' conftest.
$ac_ext >&5
33075 rm -f conftest.err conftest.
$ac_objext \
33076 conftest
$ac_exeext conftest.
$ac_ext
33077 if test "$am_cv_func_iconv" != yes; then
33078 am_save_LIBS
="$LIBS"
33079 LIBS
="$LIBS -liconv"
33080 cat >conftest.
$ac_ext <<_ACEOF
33083 cat confdefs.h
>>conftest.
$ac_ext
33084 cat >>conftest.
$ac_ext <<_ACEOF
33085 /* end confdefs.h. */
33086 #include <stdlib.h>
33091 iconv_t cd = iconv_open("","");
33092 iconv(cd,NULL,NULL,NULL,NULL);
33098 rm -f conftest.
$ac_objext conftest
$ac_exeext
33099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33100 (eval $ac_link) 2>conftest.er1
33102 grep -v '^ *+' conftest.er1
>conftest.err
33104 cat conftest.err
>&5
33105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33106 (exit $ac_status); } &&
33107 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33109 (eval $ac_try) 2>&5
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); }; } &&
33113 { ac_try
='test -s conftest$ac_exeext'
33114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33115 (eval $ac_try) 2>&5
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); }; }; then
33119 am_cv_lib_iconv
=yes
33120 am_cv_func_iconv
=yes
33122 echo "$as_me: failed program was:" >&5
33123 sed 's/^/| /' conftest.
$ac_ext >&5
33126 rm -f conftest.err conftest.
$ac_objext \
33127 conftest
$ac_exeext conftest.
$ac_ext
33128 LIBS
="$am_save_LIBS"
33132 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
33133 echo "${ECHO_T}$am_cv_func_iconv" >&6
33134 if test "$am_cv_func_iconv" = yes; then
33136 cat >>confdefs.h
<<\_ACEOF
33137 #define HAVE_ICONV 1
33140 echo "$as_me:$LINENO: checking if iconv needs const" >&5
33141 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
33142 if test "${wx_cv_func_iconv_const+set}" = set; then
33143 echo $ECHO_N "(cached) $ECHO_C" >&6
33145 cat >conftest.
$ac_ext <<_ACEOF
33148 cat confdefs.h
>>conftest.
$ac_ext
33149 cat >>conftest.
$ac_ext <<_ACEOF
33150 /* end confdefs.h. */
33152 #include <stdlib.h>
33158 #if defined(__STDC__) || defined(__cplusplus)
33159 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
33172 rm -f conftest.
$ac_objext
33173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33174 (eval $ac_compile) 2>conftest.er1
33176 grep -v '^ *+' conftest.er1
>conftest.err
33178 cat conftest.err
>&5
33179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33180 (exit $ac_status); } &&
33181 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33183 (eval $ac_try) 2>&5
33185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33186 (exit $ac_status); }; } &&
33187 { ac_try
='test -s conftest.$ac_objext'
33188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33189 (eval $ac_try) 2>&5
33191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33192 (exit $ac_status); }; }; then
33193 wx_cv_func_iconv_const
="no"
33195 echo "$as_me: failed program was:" >&5
33196 sed 's/^/| /' conftest.
$ac_ext >&5
33198 wx_cv_func_iconv_const
="yes"
33201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33204 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
33205 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
33208 if test "x$wx_cv_func_iconv_const" = "xyes"; then
33209 iconv_const
="const"
33213 cat >>confdefs.h
<<_ACEOF
33214 #define ICONV_CONST $iconv_const
33219 if test "$am_cv_lib_iconv" = yes; then
33224 LIBS
="$LIBICONV $LIBS"
33226 ac_cpp
='$CPP $CPPFLAGS'
33227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33232 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33234 for ac_func
in sigaction
33236 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33237 echo "$as_me:$LINENO: checking for $ac_func" >&5
33238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33239 if eval "test \"\${$as_ac_var+set}\" = set"; then
33240 echo $ECHO_N "(cached) $ECHO_C" >&6
33242 cat >conftest.
$ac_ext <<_ACEOF
33245 cat confdefs.h
>>conftest.
$ac_ext
33246 cat >>conftest.
$ac_ext <<_ACEOF
33247 /* end confdefs.h. */
33248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33250 #define $ac_func innocuous_$ac_func
33252 /* System header to define __stub macros and hopefully few prototypes,
33253 which can conflict with char $ac_func (); below.
33254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33255 <limits.h> exists even on freestanding compilers. */
33258 # include <limits.h>
33260 # include <assert.h>
33265 /* Override any gcc2 internal prototype to avoid an error. */
33270 /* We use char because int might match the return type of a gcc2
33271 builtin and then its argument prototype would still apply. */
33273 /* The GNU C library defines this for functions which it implements
33274 to always fail with ENOSYS. Some functions are actually named
33275 something starting with __ and the normal name is an alias. */
33276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33279 char (*f) () = $ac_func;
33288 return f != $ac_func;
33293 rm -f conftest.
$ac_objext conftest
$ac_exeext
33294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33295 (eval $ac_link) 2>conftest.er1
33297 grep -v '^ *+' conftest.er1
>conftest.err
33299 cat conftest.err
>&5
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); } &&
33302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33304 (eval $ac_try) 2>&5
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); }; } &&
33308 { ac_try
='test -s conftest$ac_exeext'
33309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310 (eval $ac_try) 2>&5
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); }; }; then
33314 eval "$as_ac_var=yes"
33316 echo "$as_me: failed program was:" >&5
33317 sed 's/^/| /' conftest.
$ac_ext >&5
33319 eval "$as_ac_var=no"
33321 rm -f conftest.err conftest.
$ac_objext \
33322 conftest
$ac_exeext conftest.
$ac_ext
33324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33326 if test `eval echo '${'$as_ac_var'}'` = yes; then
33327 cat >>confdefs.h
<<_ACEOF
33328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33335 if test "$ac_cv_func_sigaction" = "no"; then
33336 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
33337 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
33338 wxUSE_ON_FATAL_EXCEPTION
=no
33341 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
33345 ac_cpp
='$CXXCPP $CPPFLAGS'
33346 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33351 echo "$as_me:$LINENO: checking for sa_handler type" >&5
33352 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
33353 if test "${wx_cv_type_sa_handler+set}" = set; then
33354 echo $ECHO_N "(cached) $ECHO_C" >&6
33357 cat >conftest.
$ac_ext <<_ACEOF
33360 cat confdefs.h
>>conftest.
$ac_ext
33361 cat >>conftest.
$ac_ext <<_ACEOF
33362 /* end confdefs.h. */
33363 #include <signal.h>
33368 extern void testSigHandler(int);
33370 struct sigaction sa;
33371 sa.sa_handler = testSigHandler;
33377 rm -f conftest.
$ac_objext
33378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33379 (eval $ac_compile) 2>conftest.er1
33381 grep -v '^ *+' conftest.er1
>conftest.err
33383 cat conftest.err
>&5
33384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33385 (exit $ac_status); } &&
33386 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33388 (eval $ac_try) 2>&5
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); }; } &&
33392 { ac_try
='test -s conftest.$ac_objext'
33393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394 (eval $ac_try) 2>&5
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); }; }; then
33399 wx_cv_type_sa_handler
=int
33402 echo "$as_me: failed program was:" >&5
33403 sed 's/^/| /' conftest.
$ac_ext >&5
33406 wx_cv_type_sa_handler
=void
33409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33412 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
33413 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
33416 ac_cpp
='$CPP $CPPFLAGS'
33417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33422 cat >>confdefs.h
<<_ACEOF
33423 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
33429 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
33433 ac_cpp
='$CXXCPP $CPPFLAGS'
33434 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33435 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33436 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33439 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
33440 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
33441 if test "${wx_cv_func_backtrace+set}" = set; then
33442 echo $ECHO_N "(cached) $ECHO_C" >&6
33445 cat >conftest.
$ac_ext <<_ACEOF
33448 cat confdefs.h
>>conftest.
$ac_ext
33449 cat >>conftest.
$ac_ext <<_ACEOF
33450 /* end confdefs.h. */
33451 #include <execinfo.h>
33459 backtrace(trace, 1);
33460 messages = backtrace_symbols(trace, 1);
33466 rm -f conftest.
$ac_objext
33467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33468 (eval $ac_compile) 2>conftest.er1
33470 grep -v '^ *+' conftest.er1
>conftest.err
33472 cat conftest.err
>&5
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); } &&
33475 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33477 (eval $ac_try) 2>&5
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); }; } &&
33481 { ac_try
='test -s conftest.$ac_objext'
33482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33483 (eval $ac_try) 2>&5
33485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 (exit $ac_status); }; }; then
33487 wx_cv_func_backtrace
=yes
33489 echo "$as_me: failed program was:" >&5
33490 sed 's/^/| /' conftest.
$ac_ext >&5
33492 wx_cv_func_backtrace
=no
33495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33499 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
33500 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
33503 if test "$wx_cv_func_backtrace" = "no"; then
33504 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
33505 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
33506 wxUSE_STACKWALKER
=no
33508 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
33509 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
33510 if test "${wx_cv_func_cxa_demangle+set}" = set; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33514 cat >conftest.
$ac_ext <<_ACEOF
33517 cat confdefs.h
>>conftest.
$ac_ext
33518 cat >>conftest.
$ac_ext <<_ACEOF
33519 /* end confdefs.h. */
33520 #include <cxxabi.h>
33526 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
33532 rm -f conftest.
$ac_objext conftest
$ac_exeext
33533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33534 (eval $ac_link) 2>conftest.er1
33536 grep -v '^ *+' conftest.er1
>conftest.err
33538 cat conftest.err
>&5
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); } &&
33541 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; } &&
33547 { ac_try
='test -s conftest$ac_exeext'
33548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33549 (eval $ac_try) 2>&5
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); }; }; then
33553 wx_cv_func_cxa_demangle
=yes
33555 echo "$as_me: failed program was:" >&5
33556 sed 's/^/| /' conftest.
$ac_ext >&5
33558 wx_cv_func_cxa_demangle
=no
33561 rm -f conftest.err conftest.
$ac_objext \
33562 conftest
$ac_exeext conftest.
$ac_ext
33566 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
33567 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
33569 if test "$wx_cv_func_cxa_demangle" = "yes"; then
33570 cat >>confdefs.h
<<\_ACEOF
33571 #define HAVE_CXA_DEMANGLE 1
33578 ac_cpp
='$CPP $CPPFLAGS'
33579 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33585 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
33586 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
33587 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
33588 wxUSE_STACKWALKER
=no
33594 for ac_func
in mkstemp mktemp
33596 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33597 echo "$as_me:$LINENO: checking for $ac_func" >&5
33598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33599 if eval "test \"\${$as_ac_var+set}\" = set"; then
33600 echo $ECHO_N "(cached) $ECHO_C" >&6
33602 cat >conftest.
$ac_ext <<_ACEOF
33605 cat confdefs.h
>>conftest.
$ac_ext
33606 cat >>conftest.
$ac_ext <<_ACEOF
33607 /* end confdefs.h. */
33608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33610 #define $ac_func innocuous_$ac_func
33612 /* System header to define __stub macros and hopefully few prototypes,
33613 which can conflict with char $ac_func (); below.
33614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33615 <limits.h> exists even on freestanding compilers. */
33618 # include <limits.h>
33620 # include <assert.h>
33625 /* Override any gcc2 internal prototype to avoid an error. */
33630 /* We use char because int might match the return type of a gcc2
33631 builtin and then its argument prototype would still apply. */
33633 /* The GNU C library defines this for functions which it implements
33634 to always fail with ENOSYS. Some functions are actually named
33635 something starting with __ and the normal name is an alias. */
33636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33639 char (*f) () = $ac_func;
33648 return f != $ac_func;
33653 rm -f conftest.
$ac_objext conftest
$ac_exeext
33654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33655 (eval $ac_link) 2>conftest.er1
33657 grep -v '^ *+' conftest.er1
>conftest.err
33659 cat conftest.err
>&5
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); } &&
33662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33664 (eval $ac_try) 2>&5
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); }; } &&
33668 { ac_try
='test -s conftest$ac_exeext'
33669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33670 (eval $ac_try) 2>&5
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); }; }; then
33674 eval "$as_ac_var=yes"
33676 echo "$as_me: failed program was:" >&5
33677 sed 's/^/| /' conftest.
$ac_ext >&5
33679 eval "$as_ac_var=no"
33681 rm -f conftest.err conftest.
$ac_objext \
33682 conftest
$ac_exeext conftest.
$ac_ext
33684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33686 if test `eval echo '${'$as_ac_var'}'` = yes; then
33687 cat >>confdefs.h
<<_ACEOF
33688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33695 echo "$as_me:$LINENO: checking for statfs" >&5
33696 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
33697 if test "${wx_cv_func_statfs+set}" = set; then
33698 echo $ECHO_N "(cached) $ECHO_C" >&6
33700 cat >conftest.
$ac_ext <<_ACEOF
33703 cat confdefs.h
>>conftest.
$ac_ext
33704 cat >>conftest.
$ac_ext <<_ACEOF
33705 /* end confdefs.h. */
33707 #if defined(__BSD__)
33708 #include <sys/param.h>
33709 #include <sys/mount.h>
33711 #include <sys/vfs.h>
33729 rm -f conftest.
$ac_objext
33730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33731 (eval $ac_compile) 2>conftest.er1
33733 grep -v '^ *+' conftest.er1
>conftest.err
33735 cat conftest.err
>&5
33736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33737 (exit $ac_status); } &&
33738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33740 (eval $ac_try) 2>&5
33742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33743 (exit $ac_status); }; } &&
33744 { ac_try
='test -s conftest.$ac_objext'
33745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33746 (eval $ac_try) 2>&5
33748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33749 (exit $ac_status); }; }; then
33750 wx_cv_func_statfs
=yes
33752 echo "$as_me: failed program was:" >&5
33753 sed 's/^/| /' conftest.
$ac_ext >&5
33755 wx_cv_func_statfs
=no
33758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33761 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
33762 echo "${ECHO_T}$wx_cv_func_statfs" >&6
33764 if test "$wx_cv_func_statfs" = "yes"; then
33768 ac_cpp
='$CXXCPP $CPPFLAGS'
33769 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33770 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33771 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33773 echo "$as_me:$LINENO: checking for statfs declaration" >&5
33774 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
33775 if test "${wx_cv_func_statfs_decl+set}" = set; then
33776 echo $ECHO_N "(cached) $ECHO_C" >&6
33778 cat >conftest.
$ac_ext <<_ACEOF
33781 cat confdefs.h
>>conftest.
$ac_ext
33782 cat >>conftest.
$ac_ext <<_ACEOF
33783 /* end confdefs.h. */
33785 #if defined(__BSD__)
33786 #include <sys/param.h>
33787 #include <sys/mount.h>
33789 #include <sys/vfs.h>
33803 rm -f conftest.
$ac_objext
33804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33805 (eval $ac_compile) 2>conftest.er1
33807 grep -v '^ *+' conftest.er1
>conftest.err
33809 cat conftest.err
>&5
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); } &&
33812 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33814 (eval $ac_try) 2>&5
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); }; } &&
33818 { ac_try
='test -s conftest.$ac_objext'
33819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33820 (eval $ac_try) 2>&5
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); }; }; then
33824 wx_cv_func_statfs_decl
=yes
33826 echo "$as_me: failed program was:" >&5
33827 sed 's/^/| /' conftest.
$ac_ext >&5
33829 wx_cv_func_statfs_decl
=no
33832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33835 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
33836 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
33838 ac_cpp
='$CPP $CPPFLAGS'
33839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33844 if test "$wx_cv_func_statfs_decl" = "yes"; then
33845 cat >>confdefs.h
<<\_ACEOF
33846 #define HAVE_STATFS_DECL 1
33851 wx_cv_type_statvfs_t
="struct statfs"
33852 cat >>confdefs.h
<<\_ACEOF
33853 #define HAVE_STATFS 1
33857 echo "$as_me:$LINENO: checking for statvfs" >&5
33858 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
33859 if test "${wx_cv_func_statvfs+set}" = set; then
33860 echo $ECHO_N "(cached) $ECHO_C" >&6
33862 cat >conftest.
$ac_ext <<_ACEOF
33865 cat confdefs.h
>>conftest.
$ac_ext
33866 cat >>conftest.
$ac_ext <<_ACEOF
33867 /* end confdefs.h. */
33869 #include <stddef.h>
33870 #include <sys/statvfs.h>
33876 statvfs("/", NULL);
33882 rm -f conftest.
$ac_objext
33883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33884 (eval $ac_compile) 2>conftest.er1
33886 grep -v '^ *+' conftest.er1
>conftest.err
33888 cat conftest.err
>&5
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); } &&
33891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33893 (eval $ac_try) 2>&5
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); }; } &&
33897 { ac_try
='test -s conftest.$ac_objext'
33898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33899 (eval $ac_try) 2>&5
33901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33902 (exit $ac_status); }; }; then
33903 wx_cv_func_statvfs
=yes
33905 echo "$as_me: failed program was:" >&5
33906 sed 's/^/| /' conftest.
$ac_ext >&5
33908 wx_cv_func_statvfs
=no
33911 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33914 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
33915 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
33917 if test "$wx_cv_func_statvfs" = "yes"; then
33921 ac_cpp
='$CXXCPP $CPPFLAGS'
33922 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33923 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33924 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33927 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
33928 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
33929 if test "${wx_cv_type_statvfs_t+set}" = set; then
33930 echo $ECHO_N "(cached) $ECHO_C" >&6
33932 cat >conftest.
$ac_ext <<_ACEOF
33935 cat confdefs.h
>>conftest.
$ac_ext
33936 cat >>conftest.
$ac_ext <<_ACEOF
33937 /* end confdefs.h. */
33939 #include <sys/statvfs.h>
33956 rm -f conftest.
$ac_objext
33957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33958 (eval $ac_compile) 2>conftest.er1
33960 grep -v '^ *+' conftest.er1
>conftest.err
33962 cat conftest.err
>&5
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); } &&
33965 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33967 (eval $ac_try) 2>&5
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); }; } &&
33971 { ac_try
='test -s conftest.$ac_objext'
33972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33973 (eval $ac_try) 2>&5
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); }; }; then
33977 wx_cv_type_statvfs_t
=statvfs_t
33979 echo "$as_me: failed program was:" >&5
33980 sed 's/^/| /' conftest.
$ac_ext >&5
33983 cat >conftest.
$ac_ext <<_ACEOF
33986 cat confdefs.h
>>conftest.
$ac_ext
33987 cat >>conftest.
$ac_ext <<_ACEOF
33988 /* end confdefs.h. */
33990 #include <sys/statvfs.h>
34007 rm -f conftest.
$ac_objext
34008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34009 (eval $ac_compile) 2>conftest.er1
34011 grep -v '^ *+' conftest.er1
>conftest.err
34013 cat conftest.err
>&5
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); } &&
34016 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34018 (eval $ac_try) 2>&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; } &&
34022 { ac_try
='test -s conftest.$ac_objext'
34023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34024 (eval $ac_try) 2>&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); }; }; then
34028 wx_cv_type_statvfs_t
="struct statvfs"
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.
$ac_ext >&5
34033 wx_cv_type_statvfs_t
="unknown"
34036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34043 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
34044 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
34047 ac_cpp
='$CPP $CPPFLAGS'
34048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34053 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34054 cat >>confdefs.h
<<\_ACEOF
34055 #define HAVE_STATVFS 1
34060 wx_cv_type_statvfs_t
="unknown"
34064 if test "$wx_cv_type_statvfs_t" != "unknown"; then
34065 cat >>confdefs.h
<<_ACEOF
34066 #define WX_STATFS_T $wx_cv_type_statvfs_t
34070 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
34071 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
34074 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34077 for ac_func
in fcntl flock
34079 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34080 echo "$as_me:$LINENO: checking for $ac_func" >&5
34081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34082 if eval "test \"\${$as_ac_var+set}\" = set"; then
34083 echo $ECHO_N "(cached) $ECHO_C" >&6
34085 cat >conftest.
$ac_ext <<_ACEOF
34088 cat confdefs.h
>>conftest.
$ac_ext
34089 cat >>conftest.
$ac_ext <<_ACEOF
34090 /* end confdefs.h. */
34091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34093 #define $ac_func innocuous_$ac_func
34095 /* System header to define __stub macros and hopefully few prototypes,
34096 which can conflict with char $ac_func (); below.
34097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34098 <limits.h> exists even on freestanding compilers. */
34101 # include <limits.h>
34103 # include <assert.h>
34108 /* Override any gcc2 internal prototype to avoid an error. */
34113 /* We use char because int might match the return type of a gcc2
34114 builtin and then its argument prototype would still apply. */
34116 /* The GNU C library defines this for functions which it implements
34117 to always fail with ENOSYS. Some functions are actually named
34118 something starting with __ and the normal name is an alias. */
34119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34122 char (*f) () = $ac_func;
34131 return f != $ac_func;
34136 rm -f conftest.
$ac_objext conftest
$ac_exeext
34137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34138 (eval $ac_link) 2>conftest.er1
34140 grep -v '^ *+' conftest.er1
>conftest.err
34142 cat conftest.err
>&5
34143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144 (exit $ac_status); } &&
34145 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34147 (eval $ac_try) 2>&5
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); }; } &&
34151 { ac_try
='test -s conftest$ac_exeext'
34152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34153 (eval $ac_try) 2>&5
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); }; }; then
34157 eval "$as_ac_var=yes"
34159 echo "$as_me: failed program was:" >&5
34160 sed 's/^/| /' conftest.
$ac_ext >&5
34162 eval "$as_ac_var=no"
34164 rm -f conftest.err conftest.
$ac_objext \
34165 conftest
$ac_exeext conftest.
$ac_ext
34167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34169 if test `eval echo '${'$as_ac_var'}'` = yes; then
34170 cat >>confdefs.h
<<_ACEOF
34171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34178 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
34179 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
34180 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
34181 wxUSE_SNGLINST_CHECKER
=no
34186 for ac_func
in timegm
34188 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34189 echo "$as_me:$LINENO: checking for $ac_func" >&5
34190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34191 if eval "test \"\${$as_ac_var+set}\" = set"; then
34192 echo $ECHO_N "(cached) $ECHO_C" >&6
34194 cat >conftest.
$ac_ext <<_ACEOF
34197 cat confdefs.h
>>conftest.
$ac_ext
34198 cat >>conftest.
$ac_ext <<_ACEOF
34199 /* end confdefs.h. */
34200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34202 #define $ac_func innocuous_$ac_func
34204 /* System header to define __stub macros and hopefully few prototypes,
34205 which can conflict with char $ac_func (); below.
34206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34207 <limits.h> exists even on freestanding compilers. */
34210 # include <limits.h>
34212 # include <assert.h>
34217 /* Override any gcc2 internal prototype to avoid an error. */
34222 /* We use char because int might match the return type of a gcc2
34223 builtin and then its argument prototype would still apply. */
34225 /* The GNU C library defines this for functions which it implements
34226 to always fail with ENOSYS. Some functions are actually named
34227 something starting with __ and the normal name is an alias. */
34228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34231 char (*f) () = $ac_func;
34240 return f != $ac_func;
34245 rm -f conftest.
$ac_objext conftest
$ac_exeext
34246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34247 (eval $ac_link) 2>conftest.er1
34249 grep -v '^ *+' conftest.er1
>conftest.err
34251 cat conftest.err
>&5
34252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34253 (exit $ac_status); } &&
34254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34256 (eval $ac_try) 2>&5
34258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259 (exit $ac_status); }; } &&
34260 { ac_try
='test -s conftest$ac_exeext'
34261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34262 (eval $ac_try) 2>&5
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); }; }; then
34266 eval "$as_ac_var=yes"
34268 echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.
$ac_ext >&5
34271 eval "$as_ac_var=no"
34273 rm -f conftest.err conftest.
$ac_objext \
34274 conftest
$ac_exeext conftest.
$ac_ext
34276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34278 if test `eval echo '${'$as_ac_var'}'` = yes; then
34279 cat >>confdefs.h
<<_ACEOF
34280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34289 for ac_func
in putenv setenv
34291 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34292 echo "$as_me:$LINENO: checking for $ac_func" >&5
34293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34294 if eval "test \"\${$as_ac_var+set}\" = set"; then
34295 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 cat >conftest.
$ac_ext <<_ACEOF
34300 cat confdefs.h
>>conftest.
$ac_ext
34301 cat >>conftest.
$ac_ext <<_ACEOF
34302 /* end confdefs.h. */
34303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34305 #define $ac_func innocuous_$ac_func
34307 /* System header to define __stub macros and hopefully few prototypes,
34308 which can conflict with char $ac_func (); below.
34309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34310 <limits.h> exists even on freestanding compilers. */
34313 # include <limits.h>
34315 # include <assert.h>
34320 /* Override any gcc2 internal prototype to avoid an error. */
34325 /* We use char because int might match the return type of a gcc2
34326 builtin and then its argument prototype would still apply. */
34328 /* The GNU C library defines this for functions which it implements
34329 to always fail with ENOSYS. Some functions are actually named
34330 something starting with __ and the normal name is an alias. */
34331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34334 char (*f) () = $ac_func;
34343 return f != $ac_func;
34348 rm -f conftest.
$ac_objext conftest
$ac_exeext
34349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34350 (eval $ac_link) 2>conftest.er1
34352 grep -v '^ *+' conftest.er1
>conftest.err
34354 cat conftest.err
>&5
34355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356 (exit $ac_status); } &&
34357 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34359 (eval $ac_try) 2>&5
34361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34362 (exit $ac_status); }; } &&
34363 { ac_try
='test -s conftest$ac_exeext'
34364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34365 (eval $ac_try) 2>&5
34367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34368 (exit $ac_status); }; }; then
34369 eval "$as_ac_var=yes"
34371 echo "$as_me: failed program was:" >&5
34372 sed 's/^/| /' conftest.
$ac_ext >&5
34374 eval "$as_ac_var=no"
34376 rm -f conftest.err conftest.
$ac_objext \
34377 conftest
$ac_exeext conftest.
$ac_ext
34379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34381 if test `eval echo '${'$as_ac_var'}'` = yes; then
34382 cat >>confdefs.h
<<_ACEOF
34383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34390 HAVE_SOME_SLEEP_FUNC
=0
34391 if test "$USE_BEOS" = 1; then
34392 cat >>confdefs.h
<<\_ACEOF
34393 #define HAVE_SLEEP 1
34396 HAVE_SOME_SLEEP_FUNC
=1
34399 if test "$USE_DARWIN" = 1; then
34400 cat >>confdefs.h
<<\_ACEOF
34401 #define HAVE_USLEEP 1
34404 HAVE_SOME_SLEEP_FUNC
=1
34407 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
34410 for ac_func
in nanosleep
34412 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34413 echo "$as_me:$LINENO: checking for $ac_func" >&5
34414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34415 if eval "test \"\${$as_ac_var+set}\" = set"; then
34416 echo $ECHO_N "(cached) $ECHO_C" >&6
34418 cat >conftest.
$ac_ext <<_ACEOF
34421 cat confdefs.h
>>conftest.
$ac_ext
34422 cat >>conftest.
$ac_ext <<_ACEOF
34423 /* end confdefs.h. */
34424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34426 #define $ac_func innocuous_$ac_func
34428 /* System header to define __stub macros and hopefully few prototypes,
34429 which can conflict with char $ac_func (); below.
34430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34431 <limits.h> exists even on freestanding compilers. */
34434 # include <limits.h>
34436 # include <assert.h>
34441 /* Override any gcc2 internal prototype to avoid an error. */
34446 /* We use char because int might match the return type of a gcc2
34447 builtin and then its argument prototype would still apply. */
34449 /* The GNU C library defines this for functions which it implements
34450 to always fail with ENOSYS. Some functions are actually named
34451 something starting with __ and the normal name is an alias. */
34452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34455 char (*f) () = $ac_func;
34464 return f != $ac_func;
34469 rm -f conftest.
$ac_objext conftest
$ac_exeext
34470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34471 (eval $ac_link) 2>conftest.er1
34473 grep -v '^ *+' conftest.er1
>conftest.err
34475 cat conftest.err
>&5
34476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477 (exit $ac_status); } &&
34478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34480 (eval $ac_try) 2>&5
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); }; } &&
34484 { ac_try
='test -s conftest$ac_exeext'
34485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34486 (eval $ac_try) 2>&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); }; }; then
34490 eval "$as_ac_var=yes"
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.
$ac_ext >&5
34495 eval "$as_ac_var=no"
34497 rm -f conftest.err conftest.
$ac_objext \
34498 conftest
$ac_exeext conftest.
$ac_ext
34500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34502 if test `eval echo '${'$as_ac_var'}'` = yes; then
34503 cat >>confdefs.h
<<_ACEOF
34504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34506 cat >>confdefs.h
<<\_ACEOF
34507 #define HAVE_NANOSLEEP 1
34512 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
34513 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
34514 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
34515 echo $ECHO_N "(cached) $ECHO_C" >&6
34517 ac_check_lib_save_LIBS
=$LIBS
34518 LIBS
="-lposix4 $LIBS"
34519 cat >conftest.
$ac_ext <<_ACEOF
34522 cat confdefs.h
>>conftest.
$ac_ext
34523 cat >>conftest.
$ac_ext <<_ACEOF
34524 /* end confdefs.h. */
34526 /* Override any gcc2 internal prototype to avoid an error. */
34530 /* We use char because int might match the return type of a gcc2
34531 builtin and then its argument prototype would still apply. */
34541 rm -f conftest.
$ac_objext conftest
$ac_exeext
34542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34543 (eval $ac_link) 2>conftest.er1
34545 grep -v '^ *+' conftest.er1
>conftest.err
34547 cat conftest.err
>&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } &&
34550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34552 (eval $ac_try) 2>&5
34554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34555 (exit $ac_status); }; } &&
34556 { ac_try
='test -s conftest$ac_exeext'
34557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34558 (eval $ac_try) 2>&5
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); }; }; then
34562 ac_cv_lib_posix4_nanosleep
=yes
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.
$ac_ext >&5
34567 ac_cv_lib_posix4_nanosleep
=no
34569 rm -f conftest.err conftest.
$ac_objext \
34570 conftest
$ac_exeext conftest.
$ac_ext
34571 LIBS
=$ac_check_lib_save_LIBS
34573 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
34574 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
34575 if test $ac_cv_lib_posix4_nanosleep = yes; then
34577 cat >>confdefs.h
<<\_ACEOF
34578 #define HAVE_NANOSLEEP 1
34581 POSIX4_LINK
=" -lposix4"
34586 for ac_func
in usleep
34588 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34589 echo "$as_me:$LINENO: checking for $ac_func" >&5
34590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34591 if eval "test \"\${$as_ac_var+set}\" = set"; then
34592 echo $ECHO_N "(cached) $ECHO_C" >&6
34594 cat >conftest.
$ac_ext <<_ACEOF
34597 cat confdefs.h
>>conftest.
$ac_ext
34598 cat >>conftest.
$ac_ext <<_ACEOF
34599 /* end confdefs.h. */
34600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34602 #define $ac_func innocuous_$ac_func
34604 /* System header to define __stub macros and hopefully few prototypes,
34605 which can conflict with char $ac_func (); below.
34606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34607 <limits.h> exists even on freestanding compilers. */
34610 # include <limits.h>
34612 # include <assert.h>
34617 /* Override any gcc2 internal prototype to avoid an error. */
34622 /* We use char because int might match the return type of a gcc2
34623 builtin and then its argument prototype would still apply. */
34625 /* The GNU C library defines this for functions which it implements
34626 to always fail with ENOSYS. Some functions are actually named
34627 something starting with __ and the normal name is an alias. */
34628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34631 char (*f) () = $ac_func;
34640 return f != $ac_func;
34645 rm -f conftest.
$ac_objext conftest
$ac_exeext
34646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34647 (eval $ac_link) 2>conftest.er1
34649 grep -v '^ *+' conftest.er1
>conftest.err
34651 cat conftest.err
>&5
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); } &&
34654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34656 (eval $ac_try) 2>&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); }; } &&
34660 { ac_try
='test -s conftest$ac_exeext'
34661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34662 (eval $ac_try) 2>&5
34664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34665 (exit $ac_status); }; }; then
34666 eval "$as_ac_var=yes"
34668 echo "$as_me: failed program was:" >&5
34669 sed 's/^/| /' conftest.
$ac_ext >&5
34671 eval "$as_ac_var=no"
34673 rm -f conftest.err conftest.
$ac_objext \
34674 conftest
$ac_exeext conftest.
$ac_ext
34676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34678 if test `eval echo '${'$as_ac_var'}'` = yes; then
34679 cat >>confdefs.h
<<_ACEOF
34680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34682 cat >>confdefs.h
<<\_ACEOF
34683 #define HAVE_USLEEP 1
34687 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
34688 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
34706 for ac_func
in uname gethostname
34708 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34709 echo "$as_me:$LINENO: checking for $ac_func" >&5
34710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34711 if eval "test \"\${$as_ac_var+set}\" = set"; then
34712 echo $ECHO_N "(cached) $ECHO_C" >&6
34714 cat >conftest.
$ac_ext <<_ACEOF
34717 cat confdefs.h
>>conftest.
$ac_ext
34718 cat >>conftest.
$ac_ext <<_ACEOF
34719 /* end confdefs.h. */
34720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34722 #define $ac_func innocuous_$ac_func
34724 /* System header to define __stub macros and hopefully few prototypes,
34725 which can conflict with char $ac_func (); below.
34726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34727 <limits.h> exists even on freestanding compilers. */
34730 # include <limits.h>
34732 # include <assert.h>
34737 /* Override any gcc2 internal prototype to avoid an error. */
34742 /* We use char because int might match the return type of a gcc2
34743 builtin and then its argument prototype would still apply. */
34745 /* The GNU C library defines this for functions which it implements
34746 to always fail with ENOSYS. Some functions are actually named
34747 something starting with __ and the normal name is an alias. */
34748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34751 char (*f) () = $ac_func;
34760 return f != $ac_func;
34765 rm -f conftest.
$ac_objext conftest
$ac_exeext
34766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34767 (eval $ac_link) 2>conftest.er1
34769 grep -v '^ *+' conftest.er1
>conftest.err
34771 cat conftest.err
>&5
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); } &&
34774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34776 (eval $ac_try) 2>&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); }; } &&
34780 { ac_try
='test -s conftest$ac_exeext'
34781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34782 (eval $ac_try) 2>&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); }; }; then
34786 eval "$as_ac_var=yes"
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.
$ac_ext >&5
34791 eval "$as_ac_var=no"
34793 rm -f conftest.err conftest.
$ac_objext \
34794 conftest
$ac_exeext conftest.
$ac_ext
34796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34798 if test `eval echo '${'$as_ac_var'}'` = yes; then
34799 cat >>confdefs.h
<<_ACEOF
34800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34810 ac_cpp
='$CXXCPP $CPPFLAGS'
34811 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34817 for ac_func
in strtok_r
34819 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34820 echo "$as_me:$LINENO: checking for $ac_func" >&5
34821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34822 if eval "test \"\${$as_ac_var+set}\" = set"; then
34823 echo $ECHO_N "(cached) $ECHO_C" >&6
34825 cat >conftest.
$ac_ext <<_ACEOF
34828 cat confdefs.h
>>conftest.
$ac_ext
34829 cat >>conftest.
$ac_ext <<_ACEOF
34830 /* end confdefs.h. */
34831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34833 #define $ac_func innocuous_$ac_func
34835 /* System header to define __stub macros and hopefully few prototypes,
34836 which can conflict with char $ac_func (); below.
34837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34838 <limits.h> exists even on freestanding compilers. */
34841 # include <limits.h>
34843 # include <assert.h>
34848 /* Override any gcc2 internal prototype to avoid an error. */
34853 /* We use char because int might match the return type of a gcc2
34854 builtin and then its argument prototype would still apply. */
34856 /* The GNU C library defines this for functions which it implements
34857 to always fail with ENOSYS. Some functions are actually named
34858 something starting with __ and the normal name is an alias. */
34859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34862 char (*f) () = $ac_func;
34871 return f != $ac_func;
34876 rm -f conftest.
$ac_objext conftest
$ac_exeext
34877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34878 (eval $ac_link) 2>conftest.er1
34880 grep -v '^ *+' conftest.er1
>conftest.err
34882 cat conftest.err
>&5
34883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34884 (exit $ac_status); } &&
34885 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34887 (eval $ac_try) 2>&5
34889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34890 (exit $ac_status); }; } &&
34891 { ac_try
='test -s conftest$ac_exeext'
34892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34893 (eval $ac_try) 2>&5
34895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34896 (exit $ac_status); }; }; then
34897 eval "$as_ac_var=yes"
34899 echo "$as_me: failed program was:" >&5
34900 sed 's/^/| /' conftest.
$ac_ext >&5
34902 eval "$as_ac_var=no"
34904 rm -f conftest.err conftest.
$ac_objext \
34905 conftest
$ac_exeext conftest.
$ac_ext
34907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34909 if test `eval echo '${'$as_ac_var'}'` = yes; then
34910 cat >>confdefs.h
<<_ACEOF
34911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34919 ac_cpp
='$CPP $CPPFLAGS'
34920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34927 for ac_func
in inet_addr
34929 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34930 echo "$as_me:$LINENO: checking for $ac_func" >&5
34931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34932 if eval "test \"\${$as_ac_var+set}\" = set"; then
34933 echo $ECHO_N "(cached) $ECHO_C" >&6
34935 cat >conftest.
$ac_ext <<_ACEOF
34938 cat confdefs.h
>>conftest.
$ac_ext
34939 cat >>conftest.
$ac_ext <<_ACEOF
34940 /* end confdefs.h. */
34941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34943 #define $ac_func innocuous_$ac_func
34945 /* System header to define __stub macros and hopefully few prototypes,
34946 which can conflict with char $ac_func (); below.
34947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34948 <limits.h> exists even on freestanding compilers. */
34951 # include <limits.h>
34953 # include <assert.h>
34958 /* Override any gcc2 internal prototype to avoid an error. */
34963 /* We use char because int might match the return type of a gcc2
34964 builtin and then its argument prototype would still apply. */
34966 /* The GNU C library defines this for functions which it implements
34967 to always fail with ENOSYS. Some functions are actually named
34968 something starting with __ and the normal name is an alias. */
34969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34972 char (*f) () = $ac_func;
34981 return f != $ac_func;
34986 rm -f conftest.
$ac_objext conftest
$ac_exeext
34987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34988 (eval $ac_link) 2>conftest.er1
34990 grep -v '^ *+' conftest.er1
>conftest.err
34992 cat conftest.err
>&5
34993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994 (exit $ac_status); } &&
34995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34997 (eval $ac_try) 2>&5
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); }; } &&
35001 { ac_try
='test -s conftest$ac_exeext'
35002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35003 (eval $ac_try) 2>&5
35005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35006 (exit $ac_status); }; }; then
35007 eval "$as_ac_var=yes"
35009 echo "$as_me: failed program was:" >&5
35010 sed 's/^/| /' conftest.
$ac_ext >&5
35012 eval "$as_ac_var=no"
35014 rm -f conftest.err conftest.
$ac_objext \
35015 conftest
$ac_exeext conftest.
$ac_ext
35017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35019 if test `eval echo '${'$as_ac_var'}'` = yes; then
35020 cat >>confdefs.h
<<_ACEOF
35021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35023 cat >>confdefs.h
<<\_ACEOF
35024 #define HAVE_INET_ADDR 1
35029 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
35030 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
35031 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
35032 echo $ECHO_N "(cached) $ECHO_C" >&6
35034 ac_check_lib_save_LIBS
=$LIBS
35036 cat >conftest.
$ac_ext <<_ACEOF
35039 cat confdefs.h
>>conftest.
$ac_ext
35040 cat >>conftest.
$ac_ext <<_ACEOF
35041 /* end confdefs.h. */
35043 /* Override any gcc2 internal prototype to avoid an error. */
35047 /* We use char because int might match the return type of a gcc2
35048 builtin and then its argument prototype would still apply. */
35058 rm -f conftest.
$ac_objext conftest
$ac_exeext
35059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35060 (eval $ac_link) 2>conftest.er1
35062 grep -v '^ *+' conftest.er1
>conftest.err
35064 cat conftest.err
>&5
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); } &&
35067 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35069 (eval $ac_try) 2>&5
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); }; } &&
35073 { ac_try
='test -s conftest$ac_exeext'
35074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35075 (eval $ac_try) 2>&5
35077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078 (exit $ac_status); }; }; then
35079 ac_cv_lib_nsl_inet_addr
=yes
35081 echo "$as_me: failed program was:" >&5
35082 sed 's/^/| /' conftest.
$ac_ext >&5
35084 ac_cv_lib_nsl_inet_addr
=no
35086 rm -f conftest.err conftest.
$ac_objext \
35087 conftest
$ac_exeext conftest.
$ac_ext
35088 LIBS
=$ac_check_lib_save_LIBS
35090 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
35091 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
35092 if test $ac_cv_lib_nsl_inet_addr = yes; then
35096 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
35097 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
35098 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
35099 echo $ECHO_N "(cached) $ECHO_C" >&6
35101 ac_check_lib_save_LIBS
=$LIBS
35102 LIBS
="-lresolv $LIBS"
35103 cat >conftest.
$ac_ext <<_ACEOF
35106 cat confdefs.h
>>conftest.
$ac_ext
35107 cat >>conftest.
$ac_ext <<_ACEOF
35108 /* end confdefs.h. */
35110 /* Override any gcc2 internal prototype to avoid an error. */
35114 /* We use char because int might match the return type of a gcc2
35115 builtin and then its argument prototype would still apply. */
35125 rm -f conftest.
$ac_objext conftest
$ac_exeext
35126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35127 (eval $ac_link) 2>conftest.er1
35129 grep -v '^ *+' conftest.er1
>conftest.err
35131 cat conftest.err
>&5
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); } &&
35134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35136 (eval $ac_try) 2>&5
35138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35139 (exit $ac_status); }; } &&
35140 { ac_try
='test -s conftest$ac_exeext'
35141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35142 (eval $ac_try) 2>&5
35144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145 (exit $ac_status); }; }; then
35146 ac_cv_lib_resolv_inet_addr
=yes
35148 echo "$as_me: failed program was:" >&5
35149 sed 's/^/| /' conftest.
$ac_ext >&5
35151 ac_cv_lib_resolv_inet_addr
=no
35153 rm -f conftest.err conftest.
$ac_objext \
35154 conftest
$ac_exeext conftest.
$ac_ext
35155 LIBS
=$ac_check_lib_save_LIBS
35157 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
35158 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
35159 if test $ac_cv_lib_resolv_inet_addr = yes; then
35163 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
35164 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
35165 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
35166 echo $ECHO_N "(cached) $ECHO_C" >&6
35168 ac_check_lib_save_LIBS
=$LIBS
35169 LIBS
="-lsocket $LIBS"
35170 cat >conftest.
$ac_ext <<_ACEOF
35173 cat confdefs.h
>>conftest.
$ac_ext
35174 cat >>conftest.
$ac_ext <<_ACEOF
35175 /* end confdefs.h. */
35177 /* Override any gcc2 internal prototype to avoid an error. */
35181 /* We use char because int might match the return type of a gcc2
35182 builtin and then its argument prototype would still apply. */
35192 rm -f conftest.
$ac_objext conftest
$ac_exeext
35193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35194 (eval $ac_link) 2>conftest.er1
35196 grep -v '^ *+' conftest.er1
>conftest.err
35198 cat conftest.err
>&5
35199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200 (exit $ac_status); } &&
35201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; } &&
35207 { ac_try
='test -s conftest$ac_exeext'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; }; then
35213 ac_cv_lib_socket_inet_addr
=yes
35215 echo "$as_me: failed program was:" >&5
35216 sed 's/^/| /' conftest.
$ac_ext >&5
35218 ac_cv_lib_socket_inet_addr
=no
35220 rm -f conftest.err conftest.
$ac_objext \
35221 conftest
$ac_exeext conftest.
$ac_ext
35222 LIBS
=$ac_check_lib_save_LIBS
35224 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
35225 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
35226 if test $ac_cv_lib_socket_inet_addr = yes; then
35246 for ac_func
in inet_aton
35248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35249 echo "$as_me:$LINENO: checking for $ac_func" >&5
35250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35251 if eval "test \"\${$as_ac_var+set}\" = set"; then
35252 echo $ECHO_N "(cached) $ECHO_C" >&6
35254 cat >conftest.
$ac_ext <<_ACEOF
35257 cat confdefs.h
>>conftest.
$ac_ext
35258 cat >>conftest.
$ac_ext <<_ACEOF
35259 /* end confdefs.h. */
35260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35262 #define $ac_func innocuous_$ac_func
35264 /* System header to define __stub macros and hopefully few prototypes,
35265 which can conflict with char $ac_func (); below.
35266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35267 <limits.h> exists even on freestanding compilers. */
35270 # include <limits.h>
35272 # include <assert.h>
35277 /* Override any gcc2 internal prototype to avoid an error. */
35282 /* We use char because int might match the return type of a gcc2
35283 builtin and then its argument prototype would still apply. */
35285 /* The GNU C library defines this for functions which it implements
35286 to always fail with ENOSYS. Some functions are actually named
35287 something starting with __ and the normal name is an alias. */
35288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35291 char (*f) () = $ac_func;
35300 return f != $ac_func;
35305 rm -f conftest.
$ac_objext conftest
$ac_exeext
35306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35307 (eval $ac_link) 2>conftest.er1
35309 grep -v '^ *+' conftest.er1
>conftest.err
35311 cat conftest.err
>&5
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); } &&
35314 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35316 (eval $ac_try) 2>&5
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); }; } &&
35320 { ac_try
='test -s conftest$ac_exeext'
35321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35322 (eval $ac_try) 2>&5
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); }; }; then
35326 eval "$as_ac_var=yes"
35328 echo "$as_me: failed program was:" >&5
35329 sed 's/^/| /' conftest.
$ac_ext >&5
35331 eval "$as_ac_var=no"
35333 rm -f conftest.err conftest.
$ac_objext \
35334 conftest
$ac_exeext conftest.
$ac_ext
35336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35338 if test `eval echo '${'$as_ac_var'}'` = yes; then
35339 cat >>confdefs.h
<<_ACEOF
35340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35342 cat >>confdefs.h
<<\_ACEOF
35343 #define HAVE_INET_ATON 1
35348 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
35349 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
35350 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
35351 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
35352 echo $ECHO_N "(cached) $ECHO_C" >&6
35354 ac_check_lib_save_LIBS
=$LIBS
35355 LIBS
="-l$INET_LINK $LIBS"
35356 cat >conftest.
$ac_ext <<_ACEOF
35359 cat confdefs.h
>>conftest.
$ac_ext
35360 cat >>conftest.
$ac_ext <<_ACEOF
35361 /* end confdefs.h. */
35363 /* Override any gcc2 internal prototype to avoid an error. */
35367 /* We use char because int might match the return type of a gcc2
35368 builtin and then its argument prototype would still apply. */
35378 rm -f conftest.
$ac_objext conftest
$ac_exeext
35379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35380 (eval $ac_link) 2>conftest.er1
35382 grep -v '^ *+' conftest.er1
>conftest.err
35384 cat conftest.err
>&5
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 (exit $ac_status); } &&
35387 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35389 (eval $ac_try) 2>&5
35391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35392 (exit $ac_status); }; } &&
35393 { ac_try
='test -s conftest$ac_exeext'
35394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35395 (eval $ac_try) 2>&5
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); }; }; then
35399 eval "$as_ac_Lib=yes"
35401 echo "$as_me: failed program was:" >&5
35402 sed 's/^/| /' conftest.
$ac_ext >&5
35404 eval "$as_ac_Lib=no"
35406 rm -f conftest.err conftest.
$ac_objext \
35407 conftest
$ac_exeext conftest.
$ac_ext
35408 LIBS
=$ac_check_lib_save_LIBS
35410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
35411 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
35412 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
35413 cat >>confdefs.h
<<\_ACEOF
35414 #define HAVE_INET_ATON 1
35424 if test "x$INET_LINK" != "x"; then
35425 cat >>confdefs.h
<<\_ACEOF
35426 #define HAVE_INET_ADDR 1
35429 INET_LINK
=" -l$INET_LINK"
35437 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
35438 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
35439 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
35440 echo $ECHO_N "(cached) $ECHO_C" >&6
35442 ac_check_lib_save_LIBS
=$LIBS
35444 cat >conftest.
$ac_ext <<_ACEOF
35447 cat confdefs.h
>>conftest.
$ac_ext
35448 cat >>conftest.
$ac_ext <<_ACEOF
35449 /* end confdefs.h. */
35451 /* Override any gcc2 internal prototype to avoid an error. */
35455 /* We use char because int might match the return type of a gcc2
35456 builtin and then its argument prototype would still apply. */
35466 rm -f conftest.
$ac_objext conftest
$ac_exeext
35467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35468 (eval $ac_link) 2>conftest.er1
35470 grep -v '^ *+' conftest.er1
>conftest.err
35472 cat conftest.err
>&5
35473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35474 (exit $ac_status); } &&
35475 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35477 (eval $ac_try) 2>&5
35479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35480 (exit $ac_status); }; } &&
35481 { ac_try
='test -s conftest$ac_exeext'
35482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35483 (eval $ac_try) 2>&5
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); }; }; then
35487 ac_cv_lib_esd_esd_close
=yes
35489 echo "$as_me: failed program was:" >&5
35490 sed 's/^/| /' conftest.
$ac_ext >&5
35492 ac_cv_lib_esd_esd_close
=no
35494 rm -f conftest.err conftest.
$ac_objext \
35495 conftest
$ac_exeext conftest.
$ac_ext
35496 LIBS
=$ac_check_lib_save_LIBS
35498 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
35499 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
35500 if test $ac_cv_lib_esd_esd_close = yes; then
35503 for ac_header
in esd.h
35505 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35507 echo "$as_me:$LINENO: checking for $ac_header" >&5
35508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35510 echo $ECHO_N "(cached) $ECHO_C" >&6
35512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35515 # Is the header compilable?
35516 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35517 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35518 cat >conftest.
$ac_ext <<_ACEOF
35521 cat confdefs.h
>>conftest.
$ac_ext
35522 cat >>conftest.
$ac_ext <<_ACEOF
35523 /* end confdefs.h. */
35524 $ac_includes_default
35525 #include <$ac_header>
35527 rm -f conftest.
$ac_objext
35528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35529 (eval $ac_compile) 2>conftest.er1
35531 grep -v '^ *+' conftest.er1
>conftest.err
35533 cat conftest.err
>&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); } &&
35536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35538 (eval $ac_try) 2>&5
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); }; } &&
35542 { ac_try
='test -s conftest.$ac_objext'
35543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35544 (eval $ac_try) 2>&5
35546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35547 (exit $ac_status); }; }; then
35548 ac_header_compiler
=yes
35550 echo "$as_me: failed program was:" >&5
35551 sed 's/^/| /' conftest.
$ac_ext >&5
35553 ac_header_compiler
=no
35555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35557 echo "${ECHO_T}$ac_header_compiler" >&6
35559 # Is the header present?
35560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35562 cat >conftest.
$ac_ext <<_ACEOF
35565 cat confdefs.h
>>conftest.
$ac_ext
35566 cat >>conftest.
$ac_ext <<_ACEOF
35567 /* end confdefs.h. */
35568 #include <$ac_header>
35570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35571 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35573 grep -v '^ *+' conftest.er1
>conftest.err
35575 cat conftest.err
>&5
35576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35577 (exit $ac_status); } >/dev
/null
; then
35578 if test -s conftest.err
; then
35579 ac_cpp_err
=$ac_c_preproc_warn_flag
35580 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35587 if test -z "$ac_cpp_err"; then
35588 ac_header_preproc
=yes
35590 echo "$as_me: failed program was:" >&5
35591 sed 's/^/| /' conftest.
$ac_ext >&5
35593 ac_header_preproc
=no
35595 rm -f conftest.err conftest.
$ac_ext
35596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35597 echo "${ECHO_T}$ac_header_preproc" >&6
35599 # So? What about this header?
35600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35606 ac_header_preproc
=yes
35609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35623 ## ----------------------------------------- ##
35624 ## Report this to wx-dev@lists.wxwidgets.org ##
35625 ## ----------------------------------------- ##
35628 sed "s/^/$as_me: WARNING: /" >&2
35631 echo "$as_me:$LINENO: checking for $ac_header" >&5
35632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35634 echo $ECHO_N "(cached) $ECHO_C" >&6
35636 eval "$as_ac_Header=\$ac_header_preproc"
35638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35643 cat >>confdefs.h
<<_ACEOF
35644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35647 EXTRALIBS_ESD
="-lesd"
35658 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
35659 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
35660 cat >conftest.
$ac_ext <<_ACEOF
35663 cat confdefs.h
>>conftest.
$ac_ext
35664 cat >>conftest.
$ac_ext <<_ACEOF
35665 /* end confdefs.h. */
35667 #include <linux/cdrom.h>
35670 #include <sys/cdio.h>
35676 struct cdrom_tocentry entry, old_entry;
35681 rm -f conftest.
$ac_objext
35682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35683 (eval $ac_compile) 2>conftest.er1
35685 grep -v '^ *+' conftest.er1
>conftest.err
35687 cat conftest.err
>&5
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); } &&
35690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35692 (eval $ac_try) 2>&5
35694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35695 (exit $ac_status); }; } &&
35696 { ac_try
='test -s conftest.$ac_objext'
35697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35698 (eval $ac_try) 2>&5
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); }; }; then
35702 echo "$as_me:$LINENO: result: yes" >&5
35703 echo "${ECHO_T}yes" >&6
35704 cat >>confdefs.h
<<\_ACEOF
35705 #define HAVE_KNOWN_CDROM_INTERFACE 1
35709 echo "$as_me: failed program was:" >&5
35710 sed 's/^/| /' conftest.
$ac_ext >&5
35712 echo "$as_me:$LINENO: result: no" >&5
35713 echo "${ECHO_T}no" >&6
35715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35718 cat >confcache
<<\_ACEOF
35719 # This file is a shell script that caches the results of configure
35720 # tests run on this system so they can be shared between configure
35721 # scripts and configure runs, see configure's option --config-cache.
35722 # It is not useful on other systems. If it contains results you don't
35723 # want to keep, you may remove or edit it.
35725 # config.status only pays attention to the cache file if you give it
35726 # the --recheck option to rerun configure.
35728 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35729 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35730 # following values.
35734 # The following way of writing the cache mishandles newlines in values,
35735 # but we know of no workaround that is simple, portable, and efficient.
35736 # So, don't put newlines in cache variables' values.
35737 # Ultrix sh set writes to stderr and can't be redirected directly,
35738 # and sets the high bit in the cache file unless we assign to the vars.
35741 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35743 # `set' does not quote correctly, so add quotes (double-quote
35744 # substitution turns \\\\ into \\, and sed turns \\ into \).
35747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35750 # `set' quotes correctly as required by POSIX, so do not add quotes.
35752 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35759 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35761 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35763 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
35764 if test -w $cache_file; then
35765 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35766 cat confcache
>$cache_file
35768 echo "not updating unwritable cache $cache_file"
35775 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
35781 if test "$wxUSE_THREADS" = "yes" ; then
35782 if test "$USE_BEOS" = 1; then
35783 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
35784 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
35789 if test "$wxUSE_THREADS" = "yes" ; then
35792 THREAD_OPTS
="-pthread"
35794 *-*-solaris2* | *-*-sunos4* )
35795 if test "x$GCC" = "xyes"; then
35796 THREAD_OPTS
="-pthreads $THREAD_OPTS"
35798 THREAD_OPTS
="-mt $THREAD_OPTS"
35802 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
35804 *-*-darwin* | *-*-cygwin* )
35808 THREAD_OPTS
="pthreads"
35811 if test "x$GCC" = "xyes"; then
35812 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
35820 if test "x$GCC" = "xyes"; then
35826 if test "x$GCC" != "xyes"; then
35827 THREAD_OPTS
="-Ethread"
35832 THREAD_OPTS
="$THREAD_OPTS pthread none"
35835 for flag
in $THREAD_OPTS; do
35838 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
35839 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
35843 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
35844 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
35845 THREADS_CFLAGS
="$flag"
35849 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
35850 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
35851 THREADS_LINK
="-l$flag"
35856 save_CFLAGS
="$CFLAGS"
35857 LIBS
="$THREADS_LINK $LIBS"
35858 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
35860 cat >conftest.
$ac_ext <<_ACEOF
35863 cat confdefs.h
>>conftest.
$ac_ext
35864 cat >>conftest.
$ac_ext <<_ACEOF
35865 /* end confdefs.h. */
35866 #include <pthread.h>
35870 pthread_create(0,0,0,0);
35875 rm -f conftest.
$ac_objext conftest
$ac_exeext
35876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35877 (eval $ac_link) 2>conftest.er1
35879 grep -v '^ *+' conftest.er1
>conftest.err
35881 cat conftest.err
>&5
35882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35883 (exit $ac_status); } &&
35884 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35886 (eval $ac_try) 2>&5
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); }; } &&
35890 { ac_try
='test -s conftest$ac_exeext'
35891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35892 (eval $ac_try) 2>&5
35894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895 (exit $ac_status); }; }; then
35898 echo "$as_me: failed program was:" >&5
35899 sed 's/^/| /' conftest.
$ac_ext >&5
35902 rm -f conftest.err conftest.
$ac_objext \
35903 conftest
$ac_exeext conftest.
$ac_ext
35906 CFLAGS
="$save_CFLAGS"
35908 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
35909 echo "${ECHO_T}$THREADS_OK" >&6
35910 if test "x$THREADS_OK" = "xyes"; then
35918 if test "x$THREADS_OK" != "xyes"; then
35920 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
35921 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
35923 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
35924 LIBS
="$THREADS_LINK $LIBS"
35926 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
35927 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
35931 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
35932 flag
="-D_THREAD_SAFE"
35935 flag
="-D_THREAD_SAFE"
35938 flag
="-D_REENTRANT"
35939 if test "x$GCC" != "xyes"; then
35940 flag
="$flag -D_RWSTD_MULTI_THREAD"
35943 *solaris
* | alpha
*-osf*)
35944 flag
="-D_REENTRANT"
35947 echo "$as_me:$LINENO: result: ${flag}" >&5
35948 echo "${ECHO_T}${flag}" >&6
35949 if test "x$flag" != xno
; then
35950 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
35953 if test "x$THREADS_CFLAGS" != "x"; then
35954 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
35955 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
35960 if test "$wxUSE_THREADS" = "yes" ; then
35962 for ac_func
in thr_setconcurrency
35964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35965 echo "$as_me:$LINENO: checking for $ac_func" >&5
35966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35967 if eval "test \"\${$as_ac_var+set}\" = set"; then
35968 echo $ECHO_N "(cached) $ECHO_C" >&6
35970 cat >conftest.
$ac_ext <<_ACEOF
35973 cat confdefs.h
>>conftest.
$ac_ext
35974 cat >>conftest.
$ac_ext <<_ACEOF
35975 /* end confdefs.h. */
35976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35978 #define $ac_func innocuous_$ac_func
35980 /* System header to define __stub macros and hopefully few prototypes,
35981 which can conflict with char $ac_func (); below.
35982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35983 <limits.h> exists even on freestanding compilers. */
35986 # include <limits.h>
35988 # include <assert.h>
35993 /* Override any gcc2 internal prototype to avoid an error. */
35998 /* We use char because int might match the return type of a gcc2
35999 builtin and then its argument prototype would still apply. */
36001 /* The GNU C library defines this for functions which it implements
36002 to always fail with ENOSYS. Some functions are actually named
36003 something starting with __ and the normal name is an alias. */
36004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36007 char (*f) () = $ac_func;
36016 return f != $ac_func;
36021 rm -f conftest.
$ac_objext conftest
$ac_exeext
36022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36023 (eval $ac_link) 2>conftest.er1
36025 grep -v '^ *+' conftest.er1
>conftest.err
36027 cat conftest.err
>&5
36028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36029 (exit $ac_status); } &&
36030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36032 (eval $ac_try) 2>&5
36034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36035 (exit $ac_status); }; } &&
36036 { ac_try
='test -s conftest$ac_exeext'
36037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36038 (eval $ac_try) 2>&5
36040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36041 (exit $ac_status); }; }; then
36042 eval "$as_ac_var=yes"
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.
$ac_ext >&5
36047 eval "$as_ac_var=no"
36049 rm -f conftest.err conftest.
$ac_objext \
36050 conftest
$ac_exeext conftest.
$ac_ext
36052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36054 if test `eval echo '${'$as_ac_var'}'` = yes; then
36055 cat >>confdefs.h
<<_ACEOF
36056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36063 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
36064 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
36065 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
36066 echo $ECHO_N "(cached) $ECHO_C" >&6
36069 cat >conftest.
$ac_ext <<_ACEOF
36072 cat confdefs.h
>>conftest.
$ac_ext
36073 cat >>conftest.
$ac_ext <<_ACEOF
36074 /* end confdefs.h. */
36075 #include <pthread.h>
36076 void ThreadCleanupFunc(void *p);
36083 pthread_cleanup_push(ThreadCleanupFunc, p);
36084 pthread_cleanup_pop(0);
36090 rm -f conftest.
$ac_objext
36091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36092 (eval $ac_compile) 2>conftest.er1
36094 grep -v '^ *+' conftest.er1
>conftest.err
36096 cat conftest.err
>&5
36097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098 (exit $ac_status); } &&
36099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36101 (eval $ac_try) 2>&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); }; } &&
36105 { ac_try
='test -s conftest.$ac_objext'
36106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36107 (eval $ac_try) 2>&5
36109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36110 (exit $ac_status); }; }; then
36112 wx_cv_func_pthread_cleanup
=yes
36115 echo "$as_me: failed program was:" >&5
36116 sed 's/^/| /' conftest.
$ac_ext >&5
36119 wx_cv_func_pthread_cleanup
=no
36123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36126 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
36127 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
36128 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
36129 cat >>confdefs.h
<<\_ACEOF
36130 #define wxHAVE_PTHREAD_CLEANUP 1
36136 for ac_header
in sched.h
36138 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36140 echo "$as_me:$LINENO: checking for $ac_header" >&5
36141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36143 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36148 # Is the header compilable?
36149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36151 cat >conftest.
$ac_ext <<_ACEOF
36154 cat confdefs.h
>>conftest.
$ac_ext
36155 cat >>conftest.
$ac_ext <<_ACEOF
36156 /* end confdefs.h. */
36157 $ac_includes_default
36158 #include <$ac_header>
36160 rm -f conftest.
$ac_objext
36161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36162 (eval $ac_compile) 2>conftest.er1
36164 grep -v '^ *+' conftest.er1
>conftest.err
36166 cat conftest.err
>&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); } &&
36169 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36171 (eval $ac_try) 2>&5
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); }; } &&
36175 { ac_try
='test -s conftest.$ac_objext'
36176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36177 (eval $ac_try) 2>&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); }; }; then
36181 ac_header_compiler
=yes
36183 echo "$as_me: failed program was:" >&5
36184 sed 's/^/| /' conftest.
$ac_ext >&5
36186 ac_header_compiler
=no
36188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36189 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36190 echo "${ECHO_T}$ac_header_compiler" >&6
36192 # Is the header present?
36193 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36194 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36195 cat >conftest.
$ac_ext <<_ACEOF
36198 cat confdefs.h
>>conftest.
$ac_ext
36199 cat >>conftest.
$ac_ext <<_ACEOF
36200 /* end confdefs.h. */
36201 #include <$ac_header>
36203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36204 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36206 grep -v '^ *+' conftest.er1
>conftest.err
36208 cat conftest.err
>&5
36209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36210 (exit $ac_status); } >/dev
/null
; then
36211 if test -s conftest.err
; then
36212 ac_cpp_err
=$ac_c_preproc_warn_flag
36213 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36220 if test -z "$ac_cpp_err"; then
36221 ac_header_preproc
=yes
36223 echo "$as_me: failed program was:" >&5
36224 sed 's/^/| /' conftest.
$ac_ext >&5
36226 ac_header_preproc
=no
36228 rm -f conftest.err conftest.
$ac_ext
36229 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36230 echo "${ECHO_T}$ac_header_preproc" >&6
36232 # So? What about this header?
36233 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36239 ac_header_preproc
=yes
36242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36245 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36249 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36256 ## ----------------------------------------- ##
36257 ## Report this to wx-dev@lists.wxwidgets.org ##
36258 ## ----------------------------------------- ##
36261 sed "s/^/$as_me: WARNING: /" >&2
36264 echo "$as_me:$LINENO: checking for $ac_header" >&5
36265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36267 echo $ECHO_N "(cached) $ECHO_C" >&6
36269 eval "$as_ac_Header=\$ac_header_preproc"
36271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36276 cat >>confdefs.h
<<_ACEOF
36277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36284 if test "$ac_cv_header_sched_h" = "yes"; then
36285 echo "$as_me:$LINENO: checking for sched_yield" >&5
36286 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
36287 if test "${ac_cv_func_sched_yield+set}" = set; then
36288 echo $ECHO_N "(cached) $ECHO_C" >&6
36290 cat >conftest.
$ac_ext <<_ACEOF
36293 cat confdefs.h
>>conftest.
$ac_ext
36294 cat >>conftest.
$ac_ext <<_ACEOF
36295 /* end confdefs.h. */
36296 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
36297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36298 #define sched_yield innocuous_sched_yield
36300 /* System header to define __stub macros and hopefully few prototypes,
36301 which can conflict with char sched_yield (); below.
36302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36303 <limits.h> exists even on freestanding compilers. */
36306 # include <limits.h>
36308 # include <assert.h>
36313 /* Override any gcc2 internal prototype to avoid an error. */
36318 /* We use char because int might match the return type of a gcc2
36319 builtin and then its argument prototype would still apply. */
36320 char sched_yield ();
36321 /* The GNU C library defines this for functions which it implements
36322 to always fail with ENOSYS. Some functions are actually named
36323 something starting with __ and the normal name is an alias. */
36324 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
36327 char (*f) () = sched_yield;
36336 return f != sched_yield;
36341 rm -f conftest.
$ac_objext conftest
$ac_exeext
36342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36343 (eval $ac_link) 2>conftest.er1
36345 grep -v '^ *+' conftest.er1
>conftest.err
36347 cat conftest.err
>&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); } &&
36350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352 (eval $ac_try) 2>&5
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); }; } &&
36356 { ac_try
='test -s conftest$ac_exeext'
36357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36358 (eval $ac_try) 2>&5
36360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36361 (exit $ac_status); }; }; then
36362 ac_cv_func_sched_yield
=yes
36364 echo "$as_me: failed program was:" >&5
36365 sed 's/^/| /' conftest.
$ac_ext >&5
36367 ac_cv_func_sched_yield
=no
36369 rm -f conftest.err conftest.
$ac_objext \
36370 conftest
$ac_exeext conftest.
$ac_ext
36372 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
36373 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
36374 if test $ac_cv_func_sched_yield = yes; then
36375 cat >>confdefs.h
<<\_ACEOF
36376 #define HAVE_SCHED_YIELD 1
36381 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
36382 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
36383 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
36384 echo $ECHO_N "(cached) $ECHO_C" >&6
36386 ac_check_lib_save_LIBS
=$LIBS
36387 LIBS
="-lposix4 $LIBS"
36388 cat >conftest.
$ac_ext <<_ACEOF
36391 cat confdefs.h
>>conftest.
$ac_ext
36392 cat >>conftest.
$ac_ext <<_ACEOF
36393 /* end confdefs.h. */
36395 /* Override any gcc2 internal prototype to avoid an error. */
36399 /* We use char because int might match the return type of a gcc2
36400 builtin and then its argument prototype would still apply. */
36401 char sched_yield ();
36410 rm -f conftest.
$ac_objext conftest
$ac_exeext
36411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36412 (eval $ac_link) 2>conftest.er1
36414 grep -v '^ *+' conftest.er1
>conftest.err
36416 cat conftest.err
>&5
36417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36418 (exit $ac_status); } &&
36419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36421 (eval $ac_try) 2>&5
36423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424 (exit $ac_status); }; } &&
36425 { ac_try
='test -s conftest$ac_exeext'
36426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36427 (eval $ac_try) 2>&5
36429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430 (exit $ac_status); }; }; then
36431 ac_cv_lib_posix4_sched_yield
=yes
36433 echo "$as_me: failed program was:" >&5
36434 sed 's/^/| /' conftest.
$ac_ext >&5
36436 ac_cv_lib_posix4_sched_yield
=no
36438 rm -f conftest.err conftest.
$ac_objext \
36439 conftest
$ac_exeext conftest.
$ac_ext
36440 LIBS
=$ac_check_lib_save_LIBS
36442 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
36443 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
36444 if test $ac_cv_lib_posix4_sched_yield = yes; then
36445 cat >>confdefs.h
<<\_ACEOF
36446 #define HAVE_SCHED_YIELD 1
36448 POSIX4_LINK
=" -lposix4"
36450 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
36451 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
36462 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
36463 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
36464 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
36465 echo $ECHO_N "(cached) $ECHO_C" >&6
36467 cat >conftest.
$ac_ext <<_ACEOF
36470 cat confdefs.h
>>conftest.
$ac_ext
36471 cat >>conftest.
$ac_ext <<_ACEOF
36472 /* end confdefs.h. */
36473 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
36474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36475 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
36477 /* System header to define __stub macros and hopefully few prototypes,
36478 which can conflict with char pthread_attr_getschedpolicy (); below.
36479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36480 <limits.h> exists even on freestanding compilers. */
36483 # include <limits.h>
36485 # include <assert.h>
36488 #undef pthread_attr_getschedpolicy
36490 /* Override any gcc2 internal prototype to avoid an error. */
36495 /* We use char because int might match the return type of a gcc2
36496 builtin and then its argument prototype would still apply. */
36497 char pthread_attr_getschedpolicy ();
36498 /* The GNU C library defines this for functions which it implements
36499 to always fail with ENOSYS. Some functions are actually named
36500 something starting with __ and the normal name is an alias. */
36501 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
36504 char (*f) () = pthread_attr_getschedpolicy;
36513 return f != pthread_attr_getschedpolicy;
36518 rm -f conftest.
$ac_objext conftest
$ac_exeext
36519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36520 (eval $ac_link) 2>conftest.er1
36522 grep -v '^ *+' conftest.er1
>conftest.err
36524 cat conftest.err
>&5
36525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36526 (exit $ac_status); } &&
36527 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36529 (eval $ac_try) 2>&5
36531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36532 (exit $ac_status); }; } &&
36533 { ac_try
='test -s conftest$ac_exeext'
36534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36535 (eval $ac_try) 2>&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); }; }; then
36539 ac_cv_func_pthread_attr_getschedpolicy
=yes
36541 echo "$as_me: failed program was:" >&5
36542 sed 's/^/| /' conftest.
$ac_ext >&5
36544 ac_cv_func_pthread_attr_getschedpolicy
=no
36546 rm -f conftest.err conftest.
$ac_objext \
36547 conftest
$ac_exeext conftest.
$ac_ext
36549 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
36550 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
36551 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
36552 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
36553 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
36554 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
36555 echo $ECHO_N "(cached) $ECHO_C" >&6
36557 cat >conftest.
$ac_ext <<_ACEOF
36560 cat confdefs.h
>>conftest.
$ac_ext
36561 cat >>conftest.
$ac_ext <<_ACEOF
36562 /* end confdefs.h. */
36563 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
36564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36565 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
36567 /* System header to define __stub macros and hopefully few prototypes,
36568 which can conflict with char pthread_attr_setschedparam (); below.
36569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36570 <limits.h> exists even on freestanding compilers. */
36573 # include <limits.h>
36575 # include <assert.h>
36578 #undef pthread_attr_setschedparam
36580 /* Override any gcc2 internal prototype to avoid an error. */
36585 /* We use char because int might match the return type of a gcc2
36586 builtin and then its argument prototype would still apply. */
36587 char pthread_attr_setschedparam ();
36588 /* The GNU C library defines this for functions which it implements
36589 to always fail with ENOSYS. Some functions are actually named
36590 something starting with __ and the normal name is an alias. */
36591 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
36594 char (*f) () = pthread_attr_setschedparam;
36603 return f != pthread_attr_setschedparam;
36608 rm -f conftest.
$ac_objext conftest
$ac_exeext
36609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36610 (eval $ac_link) 2>conftest.er1
36612 grep -v '^ *+' conftest.er1
>conftest.err
36614 cat conftest.err
>&5
36615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36616 (exit $ac_status); } &&
36617 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36619 (eval $ac_try) 2>&5
36621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36622 (exit $ac_status); }; } &&
36623 { ac_try
='test -s conftest$ac_exeext'
36624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36625 (eval $ac_try) 2>&5
36627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628 (exit $ac_status); }; }; then
36629 ac_cv_func_pthread_attr_setschedparam
=yes
36631 echo "$as_me: failed program was:" >&5
36632 sed 's/^/| /' conftest.
$ac_ext >&5
36634 ac_cv_func_pthread_attr_setschedparam
=no
36636 rm -f conftest.err conftest.
$ac_objext \
36637 conftest
$ac_exeext conftest.
$ac_ext
36639 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
36640 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
36641 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
36642 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
36643 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
36644 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
36645 echo $ECHO_N "(cached) $ECHO_C" >&6
36647 cat >conftest.
$ac_ext <<_ACEOF
36650 cat confdefs.h
>>conftest.
$ac_ext
36651 cat >>conftest.
$ac_ext <<_ACEOF
36652 /* end confdefs.h. */
36653 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
36654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36655 #define sched_get_priority_max innocuous_sched_get_priority_max
36657 /* System header to define __stub macros and hopefully few prototypes,
36658 which can conflict with char sched_get_priority_max (); below.
36659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36660 <limits.h> exists even on freestanding compilers. */
36663 # include <limits.h>
36665 # include <assert.h>
36668 #undef sched_get_priority_max
36670 /* Override any gcc2 internal prototype to avoid an error. */
36675 /* We use char because int might match the return type of a gcc2
36676 builtin and then its argument prototype would still apply. */
36677 char sched_get_priority_max ();
36678 /* The GNU C library defines this for functions which it implements
36679 to always fail with ENOSYS. Some functions are actually named
36680 something starting with __ and the normal name is an alias. */
36681 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
36684 char (*f) () = sched_get_priority_max;
36693 return f != sched_get_priority_max;
36698 rm -f conftest.
$ac_objext conftest
$ac_exeext
36699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36700 (eval $ac_link) 2>conftest.er1
36702 grep -v '^ *+' conftest.er1
>conftest.err
36704 cat conftest.err
>&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); } &&
36707 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; } &&
36713 { ac_try
='test -s conftest$ac_exeext'
36714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36715 (eval $ac_try) 2>&5
36717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36718 (exit $ac_status); }; }; then
36719 ac_cv_func_sched_get_priority_max
=yes
36721 echo "$as_me: failed program was:" >&5
36722 sed 's/^/| /' conftest.
$ac_ext >&5
36724 ac_cv_func_sched_get_priority_max
=no
36726 rm -f conftest.err conftest.
$ac_objext \
36727 conftest
$ac_exeext conftest.
$ac_ext
36729 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
36730 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
36731 if test $ac_cv_func_sched_get_priority_max = yes; then
36734 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
36735 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
36736 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
36737 echo $ECHO_N "(cached) $ECHO_C" >&6
36739 ac_check_lib_save_LIBS
=$LIBS
36740 LIBS
="-lposix4 $LIBS"
36741 cat >conftest.
$ac_ext <<_ACEOF
36744 cat confdefs.h
>>conftest.
$ac_ext
36745 cat >>conftest.
$ac_ext <<_ACEOF
36746 /* end confdefs.h. */
36748 /* Override any gcc2 internal prototype to avoid an error. */
36752 /* We use char because int might match the return type of a gcc2
36753 builtin and then its argument prototype would still apply. */
36754 char sched_get_priority_max ();
36758 sched_get_priority_max ();
36763 rm -f conftest.
$ac_objext conftest
$ac_exeext
36764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36765 (eval $ac_link) 2>conftest.er1
36767 grep -v '^ *+' conftest.er1
>conftest.err
36769 cat conftest.err
>&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); } &&
36772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36774 (eval $ac_try) 2>&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); }; } &&
36778 { ac_try
='test -s conftest$ac_exeext'
36779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36780 (eval $ac_try) 2>&5
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); }; }; then
36784 ac_cv_lib_posix4_sched_get_priority_max
=yes
36786 echo "$as_me: failed program was:" >&5
36787 sed 's/^/| /' conftest.
$ac_ext >&5
36789 ac_cv_lib_posix4_sched_get_priority_max
=no
36791 rm -f conftest.err conftest.
$ac_objext \
36792 conftest
$ac_exeext conftest.
$ac_ext
36793 LIBS
=$ac_check_lib_save_LIBS
36795 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
36796 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
36797 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
36800 POSIX4_LINK
=" -lposix4"
36814 if test "$HAVE_PRIOR_FUNCS" = 1; then
36815 cat >>confdefs.h
<<\_ACEOF
36816 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
36820 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
36821 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
36824 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
36825 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
36826 if test "${ac_cv_func_pthread_cancel+set}" = set; then
36827 echo $ECHO_N "(cached) $ECHO_C" >&6
36829 cat >conftest.
$ac_ext <<_ACEOF
36832 cat confdefs.h
>>conftest.
$ac_ext
36833 cat >>conftest.
$ac_ext <<_ACEOF
36834 /* end confdefs.h. */
36835 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
36836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36837 #define pthread_cancel innocuous_pthread_cancel
36839 /* System header to define __stub macros and hopefully few prototypes,
36840 which can conflict with char pthread_cancel (); below.
36841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36842 <limits.h> exists even on freestanding compilers. */
36845 # include <limits.h>
36847 # include <assert.h>
36850 #undef pthread_cancel
36852 /* Override any gcc2 internal prototype to avoid an error. */
36857 /* We use char because int might match the return type of a gcc2
36858 builtin and then its argument prototype would still apply. */
36859 char pthread_cancel ();
36860 /* The GNU C library defines this for functions which it implements
36861 to always fail with ENOSYS. Some functions are actually named
36862 something starting with __ and the normal name is an alias. */
36863 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
36866 char (*f) () = pthread_cancel;
36875 return f != pthread_cancel;
36880 rm -f conftest.
$ac_objext conftest
$ac_exeext
36881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36882 (eval $ac_link) 2>conftest.er1
36884 grep -v '^ *+' conftest.er1
>conftest.err
36886 cat conftest.err
>&5
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); } &&
36889 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36891 (eval $ac_try) 2>&5
36893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36894 (exit $ac_status); }; } &&
36895 { ac_try
='test -s conftest$ac_exeext'
36896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36897 (eval $ac_try) 2>&5
36899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36900 (exit $ac_status); }; }; then
36901 ac_cv_func_pthread_cancel
=yes
36903 echo "$as_me: failed program was:" >&5
36904 sed 's/^/| /' conftest.
$ac_ext >&5
36906 ac_cv_func_pthread_cancel
=no
36908 rm -f conftest.err conftest.
$ac_objext \
36909 conftest
$ac_exeext conftest.
$ac_ext
36911 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
36912 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
36913 if test $ac_cv_func_pthread_cancel = yes; then
36914 cat >>confdefs.h
<<\_ACEOF
36915 #define HAVE_PTHREAD_CANCEL 1
36919 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
36920 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
36924 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
36925 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
36926 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
36927 echo $ECHO_N "(cached) $ECHO_C" >&6
36929 cat >conftest.
$ac_ext <<_ACEOF
36932 cat confdefs.h
>>conftest.
$ac_ext
36933 cat >>conftest.
$ac_ext <<_ACEOF
36934 /* end confdefs.h. */
36935 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
36936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36937 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
36939 /* System header to define __stub macros and hopefully few prototypes,
36940 which can conflict with char pthread_attr_setstacksize (); below.
36941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36942 <limits.h> exists even on freestanding compilers. */
36945 # include <limits.h>
36947 # include <assert.h>
36950 #undef pthread_attr_setstacksize
36952 /* Override any gcc2 internal prototype to avoid an error. */
36957 /* We use char because int might match the return type of a gcc2
36958 builtin and then its argument prototype would still apply. */
36959 char pthread_attr_setstacksize ();
36960 /* The GNU C library defines this for functions which it implements
36961 to always fail with ENOSYS. Some functions are actually named
36962 something starting with __ and the normal name is an alias. */
36963 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
36966 char (*f) () = pthread_attr_setstacksize;
36975 return f != pthread_attr_setstacksize;
36980 rm -f conftest.
$ac_objext conftest
$ac_exeext
36981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36982 (eval $ac_link) 2>conftest.er1
36984 grep -v '^ *+' conftest.er1
>conftest.err
36986 cat conftest.err
>&5
36987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36988 (exit $ac_status); } &&
36989 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36991 (eval $ac_try) 2>&5
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); }; } &&
36995 { ac_try
='test -s conftest$ac_exeext'
36996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36997 (eval $ac_try) 2>&5
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); }; }; then
37001 ac_cv_func_pthread_attr_setstacksize
=yes
37003 echo "$as_me: failed program was:" >&5
37004 sed 's/^/| /' conftest.
$ac_ext >&5
37006 ac_cv_func_pthread_attr_setstacksize
=no
37008 rm -f conftest.err conftest.
$ac_objext \
37009 conftest
$ac_exeext conftest.
$ac_ext
37011 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
37012 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
37013 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
37014 cat >>confdefs.h
<<\_ACEOF
37015 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
37022 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
37023 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
37024 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
37025 echo $ECHO_N "(cached) $ECHO_C" >&6
37028 cat >conftest.
$ac_ext <<_ACEOF
37031 cat confdefs.h
>>conftest.
$ac_ext
37032 cat >>conftest.
$ac_ext <<_ACEOF
37033 /* end confdefs.h. */
37034 #include <pthread.h>
37039 pthread_mutexattr_t attr;
37040 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37046 rm -f conftest.
$ac_objext
37047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37048 (eval $ac_compile) 2>conftest.er1
37050 grep -v '^ *+' conftest.er1
>conftest.err
37052 cat conftest.err
>&5
37053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054 (exit $ac_status); } &&
37055 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37057 (eval $ac_try) 2>&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); }; } &&
37061 { ac_try
='test -s conftest.$ac_objext'
37062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37063 (eval $ac_try) 2>&5
37065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37066 (exit $ac_status); }; }; then
37067 wx_cv_type_pthread_mutexattr_t
=yes
37069 echo "$as_me: failed program was:" >&5
37070 sed 's/^/| /' conftest.
$ac_ext >&5
37072 wx_cv_type_pthread_mutexattr_t
=no
37075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37078 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
37079 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
37081 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
37082 cat >>confdefs.h
<<\_ACEOF
37083 #define HAVE_PTHREAD_MUTEXATTR_T 1
37087 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
37088 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
37089 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37093 cat >conftest.
$ac_ext <<_ACEOF
37096 cat confdefs.h
>>conftest.
$ac_ext
37097 cat >>conftest.
$ac_ext <<_ACEOF
37098 /* end confdefs.h. */
37099 #include <pthread.h>
37104 pthread_mutexattr_t attr;
37105 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
37111 rm -f conftest.
$ac_objext
37112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37113 (eval $ac_compile) 2>conftest.er1
37115 grep -v '^ *+' conftest.er1
>conftest.err
37117 cat conftest.err
>&5
37118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37119 (exit $ac_status); } &&
37120 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37122 (eval $ac_try) 2>&5
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); }; } &&
37126 { ac_try
='test -s conftest.$ac_objext'
37127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37128 (eval $ac_try) 2>&5
37130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37131 (exit $ac_status); }; }; then
37132 wx_cv_func_pthread_mutexattr_settype_decl
=yes
37134 echo "$as_me: failed program was:" >&5
37135 sed 's/^/| /' conftest.
$ac_ext >&5
37137 wx_cv_func_pthread_mutexattr_settype_decl
=no
37140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37143 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
37144 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
37145 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
37146 cat >>confdefs.h
<<\_ACEOF
37147 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
37152 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
37153 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
37154 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
37155 echo $ECHO_N "(cached) $ECHO_C" >&6
37158 cat >conftest.
$ac_ext <<_ACEOF
37161 cat confdefs.h
>>conftest.
$ac_ext
37162 cat >>conftest.
$ac_ext <<_ACEOF
37163 /* end confdefs.h. */
37164 #include <pthread.h>
37169 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
37175 rm -f conftest.
$ac_objext
37176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37177 (eval $ac_compile) 2>conftest.er1
37179 grep -v '^ *+' conftest.er1
>conftest.err
37181 cat conftest.err
>&5
37182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183 (exit $ac_status); } &&
37184 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37186 (eval $ac_try) 2>&5
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); }; } &&
37190 { ac_try
='test -s conftest.$ac_objext'
37191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37192 (eval $ac_try) 2>&5
37194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37195 (exit $ac_status); }; }; then
37197 wx_cv_type_pthread_rec_mutex_init
=yes
37200 echo "$as_me: failed program was:" >&5
37201 sed 's/^/| /' conftest.
$ac_ext >&5
37204 wx_cv_type_pthread_rec_mutex_init
=no
37208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37211 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
37212 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
37213 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
37214 cat >>confdefs.h
<<\_ACEOF
37215 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
37219 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
37220 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
37226 if test "$wxUSE_THREADS" = "yes" ; then
37229 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
37230 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
37231 if test "${wx_cv_cflags_mthread+set}" = set; then
37232 echo $ECHO_N "(cached) $ECHO_C" >&6
37235 CFLAGS_OLD
="$CFLAGS"
37236 CFLAGS
="$CFLAGS -mthreads"
37237 cat >conftest.
$ac_ext <<_ACEOF
37240 cat confdefs.h
>>conftest.
$ac_ext
37241 cat >>conftest.
$ac_ext <<_ACEOF
37242 /* end confdefs.h. */
37252 rm -f conftest.
$ac_objext
37253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37254 (eval $ac_compile) 2>conftest.er1
37256 grep -v '^ *+' conftest.er1
>conftest.err
37258 cat conftest.err
>&5
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); } &&
37261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37263 (eval $ac_try) 2>&5
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); }; } &&
37267 { ac_try
='test -s conftest.$ac_objext'
37268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37269 (eval $ac_try) 2>&5
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); }; }; then
37273 wx_cv_cflags_mthread
=yes
37275 echo "$as_me: failed program was:" >&5
37276 sed 's/^/| /' conftest.
$ac_ext >&5
37278 wx_cv_cflags_mthread
=no
37281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37285 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
37286 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
37288 if test "$wx_cv_cflags_mthread" = "yes"; then
37289 CXXFLAGS
="$CXXFLAGS -mthreads"
37290 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
37291 LDFLAGS
="$LDFLAGS -mthreads"
37293 CFLAGS
="$CFLAGS_OLD"
37297 CFLAGS
="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
37298 CXXFLAGS
="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
37299 LDFLAGS
="$LDFLAGS -Zmt"
37305 if test "$wxUSE_THREADS" = "yes"; then
37306 cat >>confdefs.h
<<\_ACEOF
37307 #define wxUSE_THREADS 1
37311 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
37313 if test "$ac_cv_func_strtok_r" = "yes"; then
37314 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
37315 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
37316 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
37317 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
37318 echo "$as_me:$LINENO: result: yes" >&5
37319 echo "${ECHO_T}yes" >&6
37321 echo "$as_me:$LINENO: result: no" >&5
37322 echo "${ECHO_T}no" >&6
37327 if test "$WXGTK20" = 1 ; then
37328 cat >>confdefs.h
<<_ACEOF
37329 #define __WXGTK20__ $WXGTK20
37335 if test "$WXGTK12" = 1 ; then
37336 cat >>confdefs.h
<<_ACEOF
37337 #define __WXGTK12__ $WXGTK12
37342 if test "$WXGTK127" = 1 ; then
37343 cat >>confdefs.h
<<_ACEOF
37344 #define __WXGTK127__ $WXGTK127
37349 if test "$WXGPE" = 1 ; then
37350 cat >>confdefs.h
<<_ACEOF
37351 #define __WXGPE__ $WXGPE
37358 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
37363 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
37364 wxUSE_DEBUG_INFO
=yes
37365 if test "$GCC" = yes; then
37370 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
37371 cat >>confdefs.h
<<\_ACEOF
37375 WXDEBUG_DEFINE
="-D__WXDEBUG__"
37377 if test "$wxUSE_GTK" = 1 ; then
37378 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
37382 if test "$wxUSE_MEM_TRACING" = "yes" ; then
37383 cat >>confdefs.h
<<\_ACEOF
37384 #define wxUSE_MEMORY_TRACING 1
37387 cat >>confdefs.h
<<\_ACEOF
37388 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
37391 cat >>confdefs.h
<<\_ACEOF
37392 #define wxUSE_DEBUG_NEW_ALWAYS 1
37395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
37398 if test "$wxUSE_DMALLOC" = "yes" ; then
37399 DMALLOC_LIBS
="-ldmallocthcxx"
37403 if test "$wxUSE_PROFILE" = "yes" ; then
37408 CODE_GEN_FLAGS_CXX
=
37409 if test "$GCC" = "yes" ; then
37410 if test "$wxUSE_NO_RTTI" = "yes" ; then
37411 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
37413 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37414 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
37416 if test "$wxUSE_PERMISSIVE" = "yes" ; then
37417 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
37422 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
37425 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
37431 if test "$wxUSE_OPTIMISE" = "no" ; then
37432 if test "$GCC" = yes ; then
37436 if test "$GCC" = yes ; then
37440 i586
-*-*|i686
-*-* )
37441 OPTIMISE
="${OPTIMISE} "
37450 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
37451 cat >>confdefs.h
<<\_ACEOF
37452 #define WXWIN_COMPATIBILITY_2_2 1
37456 WXWIN_COMPATIBILITY_2_4
="yes"
37459 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
37460 cat >>confdefs.h
<<\_ACEOF
37461 #define WXWIN_COMPATIBILITY_2_4 1
37467 if test "$wxUSE_GUI" = "yes"; then
37468 cat >>confdefs.h
<<\_ACEOF
37469 #define wxUSE_GUI 1
37476 if test "$wxUSE_UNIX" = "yes"; then
37477 cat >>confdefs.h
<<\_ACEOF
37478 #define wxUSE_UNIX 1
37484 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37488 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
37489 if test "$USE_DARWIN" = 1; then
37491 elif test "$USE_DOS" = 1; then
37495 for ac_func
in dlopen
37497 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37498 echo "$as_me:$LINENO: checking for $ac_func" >&5
37499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37500 if eval "test \"\${$as_ac_var+set}\" = set"; then
37501 echo $ECHO_N "(cached) $ECHO_C" >&6
37503 cat >conftest.
$ac_ext <<_ACEOF
37506 cat confdefs.h
>>conftest.
$ac_ext
37507 cat >>conftest.
$ac_ext <<_ACEOF
37508 /* end confdefs.h. */
37509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37511 #define $ac_func innocuous_$ac_func
37513 /* System header to define __stub macros and hopefully few prototypes,
37514 which can conflict with char $ac_func (); below.
37515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37516 <limits.h> exists even on freestanding compilers. */
37519 # include <limits.h>
37521 # include <assert.h>
37526 /* Override any gcc2 internal prototype to avoid an error. */
37531 /* We use char because int might match the return type of a gcc2
37532 builtin and then its argument prototype would still apply. */
37534 /* The GNU C library defines this for functions which it implements
37535 to always fail with ENOSYS. Some functions are actually named
37536 something starting with __ and the normal name is an alias. */
37537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37540 char (*f) () = $ac_func;
37549 return f != $ac_func;
37554 rm -f conftest.
$ac_objext conftest
$ac_exeext
37555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37556 (eval $ac_link) 2>conftest.er1
37558 grep -v '^ *+' conftest.er1
>conftest.err
37560 cat conftest.err
>&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); } &&
37563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37565 (eval $ac_try) 2>&5
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); }; } &&
37569 { ac_try
='test -s conftest$ac_exeext'
37570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37571 (eval $ac_try) 2>&5
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); }; }; then
37575 eval "$as_ac_var=yes"
37577 echo "$as_me: failed program was:" >&5
37578 sed 's/^/| /' conftest.
$ac_ext >&5
37580 eval "$as_ac_var=no"
37582 rm -f conftest.err conftest.
$ac_objext \
37583 conftest
$ac_exeext conftest.
$ac_ext
37585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37587 if test `eval echo '${'$as_ac_var'}'` = yes; then
37588 cat >>confdefs.h
<<_ACEOF
37589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37592 cat >>confdefs.h
<<\_ACEOF
37593 #define HAVE_DLOPEN 1
37600 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
37601 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
37602 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
37603 echo $ECHO_N "(cached) $ECHO_C" >&6
37605 ac_check_lib_save_LIBS
=$LIBS
37607 cat >conftest.
$ac_ext <<_ACEOF
37610 cat confdefs.h
>>conftest.
$ac_ext
37611 cat >>conftest.
$ac_ext <<_ACEOF
37612 /* end confdefs.h. */
37614 /* Override any gcc2 internal prototype to avoid an error. */
37618 /* We use char because int might match the return type of a gcc2
37619 builtin and then its argument prototype would still apply. */
37629 rm -f conftest.
$ac_objext conftest
$ac_exeext
37630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37631 (eval $ac_link) 2>conftest.er1
37633 grep -v '^ *+' conftest.er1
>conftest.err
37635 cat conftest.err
>&5
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); } &&
37638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37640 (eval $ac_try) 2>&5
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); }; } &&
37644 { ac_try
='test -s conftest$ac_exeext'
37645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37646 (eval $ac_try) 2>&5
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); }; }; then
37650 ac_cv_lib_dl_dlopen
=yes
37652 echo "$as_me: failed program was:" >&5
37653 sed 's/^/| /' conftest.
$ac_ext >&5
37655 ac_cv_lib_dl_dlopen
=no
37657 rm -f conftest.err conftest.
$ac_objext \
37658 conftest
$ac_exeext conftest.
$ac_ext
37659 LIBS
=$ac_check_lib_save_LIBS
37661 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
37662 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
37663 if test $ac_cv_lib_dl_dlopen = yes; then
37665 cat >>confdefs.h
<<\_ACEOF
37666 #define HAVE_DLOPEN 1
37670 DL_LINK
=" -ldl$DL_LINK"
37675 for ac_func
in shl_load
37677 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37678 echo "$as_me:$LINENO: checking for $ac_func" >&5
37679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37680 if eval "test \"\${$as_ac_var+set}\" = set"; then
37681 echo $ECHO_N "(cached) $ECHO_C" >&6
37683 cat >conftest.
$ac_ext <<_ACEOF
37686 cat confdefs.h
>>conftest.
$ac_ext
37687 cat >>conftest.
$ac_ext <<_ACEOF
37688 /* end confdefs.h. */
37689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37691 #define $ac_func innocuous_$ac_func
37693 /* System header to define __stub macros and hopefully few prototypes,
37694 which can conflict with char $ac_func (); below.
37695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37696 <limits.h> exists even on freestanding compilers. */
37699 # include <limits.h>
37701 # include <assert.h>
37706 /* Override any gcc2 internal prototype to avoid an error. */
37711 /* We use char because int might match the return type of a gcc2
37712 builtin and then its argument prototype would still apply. */
37714 /* The GNU C library defines this for functions which it implements
37715 to always fail with ENOSYS. Some functions are actually named
37716 something starting with __ and the normal name is an alias. */
37717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37720 char (*f) () = $ac_func;
37729 return f != $ac_func;
37734 rm -f conftest.
$ac_objext conftest
$ac_exeext
37735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37736 (eval $ac_link) 2>conftest.er1
37738 grep -v '^ *+' conftest.er1
>conftest.err
37740 cat conftest.err
>&5
37741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37742 (exit $ac_status); } &&
37743 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37745 (eval $ac_try) 2>&5
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); }; } &&
37749 { ac_try
='test -s conftest$ac_exeext'
37750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37751 (eval $ac_try) 2>&5
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); }; }; then
37755 eval "$as_ac_var=yes"
37757 echo "$as_me: failed program was:" >&5
37758 sed 's/^/| /' conftest.
$ac_ext >&5
37760 eval "$as_ac_var=no"
37762 rm -f conftest.err conftest.
$ac_objext \
37763 conftest
$ac_exeext conftest.
$ac_ext
37765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37767 if test `eval echo '${'$as_ac_var'}'` = yes; then
37768 cat >>confdefs.h
<<_ACEOF
37769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37772 cat >>confdefs.h
<<\_ACEOF
37773 #define HAVE_SHL_LOAD 1
37780 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
37781 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
37782 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
37783 echo $ECHO_N "(cached) $ECHO_C" >&6
37785 ac_check_lib_save_LIBS
=$LIBS
37786 LIBS
="-lshl_load $LIBS"
37787 cat >conftest.
$ac_ext <<_ACEOF
37790 cat confdefs.h
>>conftest.
$ac_ext
37791 cat >>conftest.
$ac_ext <<_ACEOF
37792 /* end confdefs.h. */
37794 /* Override any gcc2 internal prototype to avoid an error. */
37798 /* We use char because int might match the return type of a gcc2
37799 builtin and then its argument prototype would still apply. */
37809 rm -f conftest.
$ac_objext conftest
$ac_exeext
37810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37811 (eval $ac_link) 2>conftest.er1
37813 grep -v '^ *+' conftest.er1
>conftest.err
37815 cat conftest.err
>&5
37816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37817 (exit $ac_status); } &&
37818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37820 (eval $ac_try) 2>&5
37822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37823 (exit $ac_status); }; } &&
37824 { ac_try
='test -s conftest$ac_exeext'
37825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37826 (eval $ac_try) 2>&5
37828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829 (exit $ac_status); }; }; then
37830 ac_cv_lib_shl_load_dld
=yes
37832 echo "$as_me: failed program was:" >&5
37833 sed 's/^/| /' conftest.
$ac_ext >&5
37835 ac_cv_lib_shl_load_dld
=no
37837 rm -f conftest.err conftest.
$ac_objext \
37838 conftest
$ac_exeext conftest.
$ac_ext
37839 LIBS
=$ac_check_lib_save_LIBS
37841 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
37842 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
37843 if test $ac_cv_lib_shl_load_dld = yes; then
37846 DL_LINK
=" -ldld$DL_LINK"
37862 if test "$HAVE_DL_FUNCS" = 1; then
37864 for ac_func
in dlerror
37866 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37867 echo "$as_me:$LINENO: checking for $ac_func" >&5
37868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37869 if eval "test \"\${$as_ac_var+set}\" = set"; then
37870 echo $ECHO_N "(cached) $ECHO_C" >&6
37872 cat >conftest.
$ac_ext <<_ACEOF
37875 cat confdefs.h
>>conftest.
$ac_ext
37876 cat >>conftest.
$ac_ext <<_ACEOF
37877 /* end confdefs.h. */
37878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37880 #define $ac_func innocuous_$ac_func
37882 /* System header to define __stub macros and hopefully few prototypes,
37883 which can conflict with char $ac_func (); below.
37884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37885 <limits.h> exists even on freestanding compilers. */
37888 # include <limits.h>
37890 # include <assert.h>
37895 /* Override any gcc2 internal prototype to avoid an error. */
37900 /* We use char because int might match the return type of a gcc2
37901 builtin and then its argument prototype would still apply. */
37903 /* The GNU C library defines this for functions which it implements
37904 to always fail with ENOSYS. Some functions are actually named
37905 something starting with __ and the normal name is an alias. */
37906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37909 char (*f) () = $ac_func;
37918 return f != $ac_func;
37923 rm -f conftest.
$ac_objext conftest
$ac_exeext
37924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37925 (eval $ac_link) 2>conftest.er1
37927 grep -v '^ *+' conftest.er1
>conftest.err
37929 cat conftest.err
>&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } &&
37932 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37934 (eval $ac_try) 2>&5
37936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37937 (exit $ac_status); }; } &&
37938 { ac_try
='test -s conftest$ac_exeext'
37939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37940 (eval $ac_try) 2>&5
37942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37943 (exit $ac_status); }; }; then
37944 eval "$as_ac_var=yes"
37946 echo "$as_me: failed program was:" >&5
37947 sed 's/^/| /' conftest.
$ac_ext >&5
37949 eval "$as_ac_var=no"
37951 rm -f conftest.err conftest.
$ac_objext \
37952 conftest
$ac_exeext conftest.
$ac_ext
37954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37956 if test `eval echo '${'$as_ac_var'}'` = yes; then
37957 cat >>confdefs.h
<<_ACEOF
37958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37960 cat >>confdefs.h
<<\_ACEOF
37961 #define HAVE_DLERROR 1
37966 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
37967 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
37968 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
37969 echo $ECHO_N "(cached) $ECHO_C" >&6
37971 ac_check_lib_save_LIBS
=$LIBS
37973 cat >conftest.
$ac_ext <<_ACEOF
37976 cat confdefs.h
>>conftest.
$ac_ext
37977 cat >>conftest.
$ac_ext <<_ACEOF
37978 /* end confdefs.h. */
37980 /* Override any gcc2 internal prototype to avoid an error. */
37984 /* We use char because int might match the return type of a gcc2
37985 builtin and then its argument prototype would still apply. */
37995 rm -f conftest.
$ac_objext conftest
$ac_exeext
37996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37997 (eval $ac_link) 2>conftest.er1
37999 grep -v '^ *+' conftest.er1
>conftest.err
38001 cat conftest.err
>&5
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); } &&
38004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38006 (eval $ac_try) 2>&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); }; } &&
38010 { ac_try
='test -s conftest$ac_exeext'
38011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38012 (eval $ac_try) 2>&5
38014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38015 (exit $ac_status); }; }; then
38016 ac_cv_lib_dl_dlerror
=yes
38018 echo "$as_me: failed program was:" >&5
38019 sed 's/^/| /' conftest.
$ac_ext >&5
38021 ac_cv_lib_dl_dlerror
=no
38023 rm -f conftest.err conftest.
$ac_objext \
38024 conftest
$ac_exeext conftest.
$ac_ext
38025 LIBS
=$ac_check_lib_save_LIBS
38027 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
38028 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
38029 if test $ac_cv_lib_dl_dlerror = yes; then
38030 cat >>confdefs.h
<<\_ACEOF
38031 #define HAVE_DLERROR 1
38044 if test "$HAVE_DL_FUNCS" = 0; then
38045 if test "$HAVE_SHL_FUNCS" = 0; then
38046 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
38047 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
38048 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
38049 wxUSE_DYNAMIC_LOADER
=no
38050 wxUSE_DYNLIB_CLASS
=no
38052 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
38053 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
38060 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
38061 cat >>confdefs.h
<<\_ACEOF
38062 #define wxUSE_DYNAMIC_LOADER 1
38066 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
38067 cat >>confdefs.h
<<\_ACEOF
38068 #define wxUSE_DYNLIB_CLASS 1
38075 if test "$wxUSE_PLUGINS" = "yes" ; then
38076 if test "$wxUSE_SHARED" = "no" ; then
38077 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
38078 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
38081 if test "$wxUSE_MONOLITHIC" = "yes" ; then
38082 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
38083 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
38086 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
38087 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
38088 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
38091 if test "$wxUSE_PLUGINS" = "yes" ; then
38092 cat >>confdefs.h
<<\_ACEOF
38093 #define wxUSE_PLUGINS 1
38100 if test "$wxUSE_STL" = "yes"; then
38101 cat >>confdefs.h
<<\_ACEOF
38102 #define wxUSE_STL 1
38107 if test "$wxUSE_APPLE_IEEE" = "yes"; then
38108 cat >>confdefs.h
<<\_ACEOF
38109 #define wxUSE_APPLE_IEEE 1
38114 if test "$wxUSE_TIMER" = "yes"; then
38115 cat >>confdefs.h
<<\_ACEOF
38116 #define wxUSE_TIMER 1
38121 if test "$USE_UNIX" = "1" ; then
38122 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
38123 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
38124 if test "${ac_cv_header_sys_soundcard+set}" = set; then
38125 echo $ECHO_N "(cached) $ECHO_C" >&6
38128 cat >conftest.
$ac_ext <<_ACEOF
38131 cat confdefs.h
>>conftest.
$ac_ext
38132 cat >>conftest.
$ac_ext <<_ACEOF
38133 /* end confdefs.h. */
38135 #include <sys/soundcard.h>
38141 ioctl(0, SNDCTL_DSP_SYNC, 0);
38147 rm -f conftest.
$ac_objext conftest
$ac_exeext
38148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38149 (eval $ac_link) 2>conftest.er1
38151 grep -v '^ *+' conftest.er1
>conftest.err
38153 cat conftest.err
>&5
38154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155 (exit $ac_status); } &&
38156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38158 (eval $ac_try) 2>&5
38160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38161 (exit $ac_status); }; } &&
38162 { ac_try
='test -s conftest$ac_exeext'
38163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38164 (eval $ac_try) 2>&5
38166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38167 (exit $ac_status); }; }; then
38168 ac_cv_header_sys_soundcard
=yes
38170 echo "$as_me: failed program was:" >&5
38171 sed 's/^/| /' conftest.
$ac_ext >&5
38175 LIBS
="$saveLibs -lossaudio"
38176 cat >conftest.
$ac_ext <<_ACEOF
38179 cat confdefs.h
>>conftest.
$ac_ext
38180 cat >>conftest.
$ac_ext <<_ACEOF
38181 /* end confdefs.h. */
38183 #include <sys/soundcard.h>
38189 ioctl(0, SNDCTL_DSP_SYNC, 0);
38195 rm -f conftest.
$ac_objext conftest
$ac_exeext
38196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38197 (eval $ac_link) 2>conftest.er1
38199 grep -v '^ *+' conftest.er1
>conftest.err
38201 cat conftest.err
>&5
38202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38203 (exit $ac_status); } &&
38204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206 (eval $ac_try) 2>&5
38208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209 (exit $ac_status); }; } &&
38210 { ac_try
='test -s conftest$ac_exeext'
38211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38212 (eval $ac_try) 2>&5
38214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215 (exit $ac_status); }; }; then
38216 ac_cv_header_sys_soundcard
=yes
38218 echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.
$ac_ext >&5
38223 ac_cv_header_sys_soundcard
=no
38227 rm -f conftest.err conftest.
$ac_objext \
38228 conftest
$ac_exeext conftest.
$ac_ext
38232 rm -f conftest.err conftest.
$ac_objext \
38233 conftest
$ac_exeext conftest.
$ac_ext
38236 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
38237 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
38239 if test "$ac_cv_header_sys_soundcard" = "yes"; then
38240 cat >>confdefs.h
<<\_ACEOF
38241 #define HAVE_SYS_SOUNDCARD_H 1
38245 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
38249 if test "$wxUSE_SOUND" = "yes"; then
38250 if test "$USE_UNIX" = "1" ; then
38251 if test "$wxUSE_LIBSDL" != "no"; then
38253 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
38254 if test "${with_sdl_prefix+set}" = set; then
38255 withval
="$with_sdl_prefix"
38256 sdl_prefix
="$withval"
38261 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
38262 if test "${with_sdl_exec_prefix+set}" = set; then
38263 withval
="$with_sdl_exec_prefix"
38264 sdl_exec_prefix
="$withval"
38268 # Check whether --enable-sdltest or --disable-sdltest was given.
38269 if test "${enable_sdltest+set}" = set; then
38270 enableval
="$enable_sdltest"
38276 if test x
$sdl_exec_prefix != x
; then
38277 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
38278 if test x
${SDL_CONFIG+set} != xset
; then
38279 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
38282 if test x
$sdl_prefix != x
; then
38283 sdl_args
="$sdl_args --prefix=$sdl_prefix"
38284 if test x
${SDL_CONFIG+set} != xset
; then
38285 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
38290 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
38291 # Extract the first word of "sdl-config", so it can be a program name with args.
38292 set dummy sdl
-config; ac_word
=$2
38293 echo "$as_me:$LINENO: checking for $ac_word" >&5
38294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38295 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
38296 echo $ECHO_N "(cached) $ECHO_C" >&6
38298 case $SDL_CONFIG in
38300 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
38303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38304 for as_dir
in $PATH
38307 test -z "$as_dir" && as_dir
=.
38308 for ac_exec_ext
in '' $ac_executable_extensions; do
38309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38310 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38317 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
38321 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
38323 if test -n "$SDL_CONFIG"; then
38324 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
38325 echo "${ECHO_T}$SDL_CONFIG" >&6
38327 echo "$as_me:$LINENO: result: no" >&5
38328 echo "${ECHO_T}no" >&6
38331 min_sdl_version
=1.2.0
38332 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
38333 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
38335 if test "$SDL_CONFIG" = "no" ; then
38338 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
38339 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
38341 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
38342 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
38343 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
38344 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
38345 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
38346 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
38347 if test "x$enable_sdltest" = "xyes" ; then
38348 ac_save_CFLAGS
="$CFLAGS"
38349 ac_save_CXXFLAGS
="$CXXFLAGS"
38350 ac_save_LIBS
="$LIBS"
38351 CFLAGS
="$CFLAGS $SDL_CFLAGS"
38352 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
38353 LIBS
="$LIBS $SDL_LIBS"
38355 if test "$cross_compiling" = yes; then
38356 echo $ac_n "cross compiling; assumed OK... $ac_c"
38358 cat >conftest.
$ac_ext <<_ACEOF
38361 cat confdefs.h
>>conftest.
$ac_ext
38362 cat >>conftest.
$ac_ext <<_ACEOF
38363 /* end confdefs.h. */
38366 #include <stdlib.h>
38367 #include <string.h>
38371 my_strdup (char *str)
38377 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
38378 strcpy (new_str, str);
38386 int main (int argc, char *argv[])
38388 int major, minor, micro;
38391 /* This hangs on some systems (?)
38392 system ("touch conf.sdltest");
38394 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
38396 /* HP/UX 9 (%@#!) writes to sscanf strings */
38397 tmp_version = my_strdup("$min_sdl_version");
38398 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
38399 printf("%s, bad version string\n", "$min_sdl_version");
38403 if (($sdl_major_version > major) ||
38404 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
38405 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
38411 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
38412 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
38413 printf("*** best to upgrade to the required version.\n");
38414 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
38415 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
38416 printf("*** config.cache before re-running configure\n");
38423 rm -f conftest
$ac_exeext
38424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38425 (eval $ac_link) 2>&5
38427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38428 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
38429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38430 (eval $ac_try) 2>&5
38432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38433 (exit $ac_status); }; }; then
38436 echo "$as_me: program exited with status $ac_status" >&5
38437 echo "$as_me: failed program was:" >&5
38438 sed 's/^/| /' conftest.
$ac_ext >&5
38440 ( exit $ac_status )
38443 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
38445 CFLAGS
="$ac_save_CFLAGS"
38446 CXXFLAGS
="$ac_save_CXXFLAGS"
38447 LIBS
="$ac_save_LIBS"
38450 if test "x$no_sdl" = x
; then
38451 echo "$as_me:$LINENO: result: yes" >&5
38452 echo "${ECHO_T}yes" >&6
38454 EXTRALIBS_SDL
="$SDL_LIBS"
38455 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
38456 cat >>confdefs.h
<<\_ACEOF
38457 #define wxUSE_LIBSDL 1
38462 echo "$as_me:$LINENO: result: no" >&5
38463 echo "${ECHO_T}no" >&6
38464 if test "$SDL_CONFIG" = "no" ; then
38465 echo "*** The sdl-config script installed by SDL could not be found"
38466 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
38467 echo "*** your path, or set the SDL_CONFIG environment variable to the"
38468 echo "*** full path to sdl-config."
38470 if test -f conf.sdltest
; then
38473 echo "*** Could not run SDL test program, checking why..."
38474 CFLAGS
="$CFLAGS $SDL_CFLAGS"
38475 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
38476 LIBS
="$LIBS $SDL_LIBS"
38477 cat >conftest.
$ac_ext <<_ACEOF
38480 cat confdefs.h
>>conftest.
$ac_ext
38481 cat >>conftest.
$ac_ext <<_ACEOF
38482 /* end confdefs.h. */
38487 int main(int argc, char *argv[])
38490 #define main K_and_R_C_main
38500 rm -f conftest.
$ac_objext conftest
$ac_exeext
38501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38502 (eval $ac_link) 2>conftest.er1
38504 grep -v '^ *+' conftest.er1
>conftest.err
38506 cat conftest.err
>&5
38507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38508 (exit $ac_status); } &&
38509 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38511 (eval $ac_try) 2>&5
38513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38514 (exit $ac_status); }; } &&
38515 { ac_try
='test -s conftest$ac_exeext'
38516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38517 (eval $ac_try) 2>&5
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); }; }; then
38521 echo "*** The test program compiled, but did not run. This usually means"
38522 echo "*** that the run-time linker is not finding SDL or finding the wrong"
38523 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
38524 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
38525 echo "*** to the installed location Also, make sure you have run ldconfig if that"
38526 echo "*** is required on your system"
38528 echo "*** If you have an old version installed, it is best to remove it, although"
38529 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
38531 echo "$as_me: failed program was:" >&5
38532 sed 's/^/| /' conftest.
$ac_ext >&5
38534 echo "*** The test program failed to compile or link. See the file config.log for the"
38535 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
38536 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
38537 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
38539 rm -f conftest.err conftest.
$ac_objext \
38540 conftest
$ac_exeext conftest.
$ac_ext
38541 CFLAGS
="$ac_save_CFLAGS"
38542 CXXFLAGS
="$ac_save_CXXFLAGS"
38543 LIBS
="$ac_save_LIBS"
38554 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
38560 cat >>confdefs.h
<<\_ACEOF
38561 #define wxUSE_SOUND 1
38564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
38567 if test "$WXGTK20" = 1; then
38568 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
38569 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38574 if test -z "$PKG_CONFIG"; then
38575 # Extract the first word of "pkg-config", so it can be a program name with args.
38576 set dummy pkg
-config; ac_word
=$2
38577 echo "$as_me:$LINENO: checking for $ac_word" >&5
38578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38579 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
38580 echo $ECHO_N "(cached) $ECHO_C" >&6
38582 case $PKG_CONFIG in
38584 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
38587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38588 for as_dir
in $PATH
38591 test -z "$as_dir" && as_dir
=.
38592 for ac_exec_ext
in '' $ac_executable_extensions; do
38593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38594 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
38595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38601 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
38605 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
38607 if test -n "$PKG_CONFIG"; then
38608 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
38609 echo "${ECHO_T}$PKG_CONFIG" >&6
38611 echo "$as_me:$LINENO: result: no" >&5
38612 echo "${ECHO_T}no" >&6
38617 if test "$PKG_CONFIG" = "no" ; then
38618 echo "*** The pkg-config script could not be found. Make sure it is"
38619 echo "*** in your path, or set the PKG_CONFIG environment variable"
38620 echo "*** to the full path to pkg-config."
38621 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
38623 PKG_CONFIG_MIN_VERSION
=0.9.0
38624 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
38625 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
38626 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
38628 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
38629 echo "$as_me:$LINENO: result: yes" >&5
38630 echo "${ECHO_T}yes" >&6
38633 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
38634 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
38635 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
38636 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
38637 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
38639 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
38640 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
38641 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
38642 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
38643 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
38645 LIBGNOMEPRINTUI_CFLAGS
=""
38646 LIBGNOMEPRINTUI_LIBS
=""
38647 ## If we have a custom action on failure, don't print errors, but
38648 ## do set a variable so people can do so.
38649 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
38656 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
38657 echo "*** See http://www.freedesktop.org/software/pkgconfig"
38661 if test $succeeded = yes; then
38663 CXXFLAGS
="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
38664 cat >>confdefs.h
<<\_ACEOF
38665 #define wxUSE_LIBGNOMEPRINT 1
38671 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
38672 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
38673 wxUSE_LIBGNOMEPRINT
="no"
38683 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
38684 cat >>confdefs.h
<<\_ACEOF
38685 #define wxUSE_CMDLINE_PARSER 1
38690 if test "$wxUSE_STOPWATCH" = "yes"; then
38691 cat >>confdefs.h
<<\_ACEOF
38692 #define wxUSE_STOPWATCH 1
38697 if test "$wxUSE_DATETIME" = "yes"; then
38698 cat >>confdefs.h
<<\_ACEOF
38699 #define wxUSE_DATETIME 1
38704 if test "$wxUSE_FILE" = "yes"; then
38705 cat >>confdefs.h
<<\_ACEOF
38706 #define wxUSE_FILE 1
38711 if test "$wxUSE_FFILE" = "yes"; then
38712 cat >>confdefs.h
<<\_ACEOF
38713 #define wxUSE_FFILE 1
38718 if test "$wxUSE_FILESYSTEM" = "yes"; then
38719 cat >>confdefs.h
<<\_ACEOF
38720 #define wxUSE_FILESYSTEM 1
38725 if test "$wxUSE_FS_ZIP" = "yes"; then
38726 cat >>confdefs.h
<<\_ACEOF
38727 #define wxUSE_FS_ZIP 1
38732 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
38733 cat >>confdefs.h
<<\_ACEOF
38734 #define wxUSE_ARCHIVE_STREAMS 1
38739 if test "$wxUSE_ZIPSTREAM" = "yes"; then
38740 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
38741 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
38742 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
38743 elif test "$wxUSE_ZLIB" = "no"; then
38744 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
38745 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
38747 cat >>confdefs.h
<<\_ACEOF
38748 #define wxUSE_ZIPSTREAM 1
38754 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38755 if test "$USE_UNIX" != 1; then
38756 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
38757 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
38758 wxUSE_ON_FATAL_EXCEPTION
=no
38760 cat >>confdefs.h
<<\_ACEOF
38761 #define wxUSE_ON_FATAL_EXCEPTION 1
38767 if test "$wxUSE_STACKWALKER" = "yes"; then
38768 cat >>confdefs.h
<<\_ACEOF
38769 #define wxUSE_STACKWALKER 1
38774 if test "$wxUSE_DEBUGREPORT" = "yes"; then
38775 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
38776 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
38777 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
38778 wxUSE_DEBUGREPORT
=no
38780 cat >>confdefs.h
<<\_ACEOF
38781 #define wxUSE_DEBUGREPORT 1
38784 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
38790 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38791 cat >>confdefs.h
<<\_ACEOF
38792 #define wxUSE_SNGLINST_CHECKER 1
38797 if test "$wxUSE_BUSYINFO" = "yes"; then
38798 cat >>confdefs.h
<<\_ACEOF
38799 #define wxUSE_BUSYINFO 1
38804 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
38805 cat >>confdefs.h
<<\_ACEOF
38806 #define wxUSE_STD_IOSTREAM 1
38811 if test "$wxUSE_STD_STRING" = "yes"; then
38812 cat >>confdefs.h
<<\_ACEOF
38813 #define wxUSE_STD_STRING 1
38818 if test "$wxUSE_STDPATHS" = "yes"; then
38819 cat >>confdefs.h
<<\_ACEOF
38820 #define wxUSE_STDPATHS 1
38825 if test "$wxUSE_TEXTBUFFER" = "yes"; then
38826 cat >>confdefs.h
<<\_ACEOF
38827 #define wxUSE_TEXTBUFFER 1
38832 if test "$wxUSE_TEXTFILE" = "yes"; then
38833 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
38834 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
38835 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
38837 cat >>confdefs.h
<<\_ACEOF
38838 #define wxUSE_TEXTFILE 1
38844 if test "$wxUSE_CONFIG" = "yes" ; then
38845 if test "$wxUSE_TEXTFILE" != "yes"; then
38846 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
38847 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
38849 cat >>confdefs.h
<<\_ACEOF
38850 #define wxUSE_CONFIG 1
38853 cat >>confdefs.h
<<\_ACEOF
38854 #define wxUSE_CONFIG_NATIVE 1
38857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
38861 if test "$wxUSE_INTL" = "yes" ; then
38862 if test "$wxUSE_FILE" != "yes"; then
38863 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
38864 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
38866 cat >>confdefs.h
<<\_ACEOF
38867 #define wxUSE_INTL 1
38870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
38871 GUIDIST
="$GUIDIST INTL_DIST"
38875 if test "$wxUSE_LOG" = "yes"; then
38876 cat >>confdefs.h
<<\_ACEOF
38877 #define wxUSE_LOG 1
38881 if test "$wxUSE_LOGGUI" = "yes"; then
38882 cat >>confdefs.h
<<\_ACEOF
38883 #define wxUSE_LOGGUI 1
38888 if test "$wxUSE_LOGWINDOW" = "yes"; then
38889 cat >>confdefs.h
<<\_ACEOF
38890 #define wxUSE_LOGWINDOW 1
38895 if test "$wxUSE_LOGDIALOG" = "yes"; then
38896 cat >>confdefs.h
<<\_ACEOF
38897 #define wxUSE_LOG_DIALOG 1
38902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
38905 if test "$wxUSE_LONGLONG" = "yes"; then
38906 cat >>confdefs.h
<<\_ACEOF
38907 #define wxUSE_LONGLONG 1
38912 if test "$wxUSE_GEOMETRY" = "yes"; then
38913 cat >>confdefs.h
<<\_ACEOF
38914 #define wxUSE_GEOMETRY 1
38919 if test "$wxUSE_STREAMS" = "yes" ; then
38920 cat >>confdefs.h
<<\_ACEOF
38921 #define wxUSE_STREAMS 1
38927 if test "$wxUSE_DATETIME" = "yes"; then
38929 for ac_func
in strptime
38931 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38932 echo "$as_me:$LINENO: checking for $ac_func" >&5
38933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38934 if eval "test \"\${$as_ac_var+set}\" = set"; then
38935 echo $ECHO_N "(cached) $ECHO_C" >&6
38937 cat >conftest.
$ac_ext <<_ACEOF
38940 cat confdefs.h
>>conftest.
$ac_ext
38941 cat >>conftest.
$ac_ext <<_ACEOF
38942 /* end confdefs.h. */
38943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38945 #define $ac_func innocuous_$ac_func
38947 /* System header to define __stub macros and hopefully few prototypes,
38948 which can conflict with char $ac_func (); below.
38949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38950 <limits.h> exists even on freestanding compilers. */
38953 # include <limits.h>
38955 # include <assert.h>
38960 /* Override any gcc2 internal prototype to avoid an error. */
38965 /* We use char because int might match the return type of a gcc2
38966 builtin and then its argument prototype would still apply. */
38968 /* The GNU C library defines this for functions which it implements
38969 to always fail with ENOSYS. Some functions are actually named
38970 something starting with __ and the normal name is an alias. */
38971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38974 char (*f) () = $ac_func;
38983 return f != $ac_func;
38988 rm -f conftest.
$ac_objext conftest
$ac_exeext
38989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38990 (eval $ac_link) 2>conftest.er1
38992 grep -v '^ *+' conftest.er1
>conftest.err
38994 cat conftest.err
>&5
38995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38996 (exit $ac_status); } &&
38997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38999 (eval $ac_try) 2>&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); }; } &&
39003 { ac_try
='test -s conftest$ac_exeext'
39004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39005 (eval $ac_try) 2>&5
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); }; }; then
39009 eval "$as_ac_var=yes"
39011 echo "$as_me: failed program was:" >&5
39012 sed 's/^/| /' conftest.
$ac_ext >&5
39014 eval "$as_ac_var=no"
39016 rm -f conftest.err conftest.
$ac_objext \
39017 conftest
$ac_exeext conftest.
$ac_ext
39019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39021 if test `eval echo '${'$as_ac_var'}'` = yes; then
39022 cat >>confdefs.h
<<_ACEOF
39023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39029 if test "$ac_cv_func_strptime" = "yes"; then
39030 echo "$as_me:$LINENO: checking for strptime declaration" >&5
39031 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
39032 if test "${wx_cv_func_strptime_decl+set}" = set; then
39033 echo $ECHO_N "(cached) $ECHO_C" >&6
39039 ac_cpp
='$CXXCPP $CPPFLAGS'
39040 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39041 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39042 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39044 cat >conftest.
$ac_ext <<_ACEOF
39047 cat confdefs.h
>>conftest.
$ac_ext
39048 cat >>conftest.
$ac_ext <<_ACEOF
39049 /* end confdefs.h. */
39058 strptime("foo", "bar", &t);
39064 rm -f conftest.
$ac_objext
39065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39066 (eval $ac_compile) 2>conftest.er1
39068 grep -v '^ *+' conftest.er1
>conftest.err
39070 cat conftest.err
>&5
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); } &&
39073 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39075 (eval $ac_try) 2>&5
39077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39078 (exit $ac_status); }; } &&
39079 { ac_try
='test -s conftest.$ac_objext'
39080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39081 (eval $ac_try) 2>&5
39083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39084 (exit $ac_status); }; }; then
39085 wx_cv_func_strptime_decl
=yes
39087 echo "$as_me: failed program was:" >&5
39088 sed 's/^/| /' conftest.
$ac_ext >&5
39090 wx_cv_func_strptime_decl
=no
39093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39095 ac_cpp
='$CPP $CPPFLAGS'
39096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39103 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
39104 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
39106 if test "$wx_cv_func_strptime_decl" = "yes"; then
39107 cat >>confdefs.h
<<\_ACEOF
39108 #define HAVE_STRPTIME_DECL 1
39113 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
39114 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
39115 if test "${wx_cv_var_timezone+set}" = set; then
39116 echo $ECHO_N "(cached) $ECHO_C" >&6
39119 cat >conftest.
$ac_ext <<_ACEOF
39122 cat confdefs.h
>>conftest.
$ac_ext
39123 cat >>conftest.
$ac_ext <<_ACEOF
39124 /* end confdefs.h. */
39139 rm -f conftest.
$ac_objext
39140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39141 (eval $ac_compile) 2>conftest.er1
39143 grep -v '^ *+' conftest.er1
>conftest.err
39145 cat conftest.err
>&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); } &&
39148 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39150 (eval $ac_try) 2>&5
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); }; } &&
39154 { ac_try
='test -s conftest.$ac_objext'
39155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39156 (eval $ac_try) 2>&5
39158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159 (exit $ac_status); }; }; then
39161 wx_cv_var_timezone
=timezone
39164 echo "$as_me: failed program was:" >&5
39165 sed 's/^/| /' conftest.
$ac_ext >&5
39168 cat >conftest.
$ac_ext <<_ACEOF
39171 cat confdefs.h
>>conftest.
$ac_ext
39172 cat >>conftest.
$ac_ext <<_ACEOF
39173 /* end confdefs.h. */
39188 rm -f conftest.
$ac_objext
39189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39190 (eval $ac_compile) 2>conftest.er1
39192 grep -v '^ *+' conftest.er1
>conftest.err
39194 cat conftest.err
>&5
39195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39196 (exit $ac_status); } &&
39197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39199 (eval $ac_try) 2>&5
39201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39202 (exit $ac_status); }; } &&
39203 { ac_try
='test -s conftest.$ac_objext'
39204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39205 (eval $ac_try) 2>&5
39207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39208 (exit $ac_status); }; }; then
39210 wx_cv_var_timezone
=_timezone
39213 echo "$as_me: failed program was:" >&5
39214 sed 's/^/| /' conftest.
$ac_ext >&5
39217 cat >conftest.
$ac_ext <<_ACEOF
39220 cat confdefs.h
>>conftest.
$ac_ext
39221 cat >>conftest.
$ac_ext <<_ACEOF
39222 /* end confdefs.h. */
39237 rm -f conftest.
$ac_objext
39238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39239 (eval $ac_compile) 2>conftest.er1
39241 grep -v '^ *+' conftest.er1
>conftest.err
39243 cat conftest.err
>&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } &&
39246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39248 (eval $ac_try) 2>&5
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); }; } &&
39252 { ac_try
='test -s conftest.$ac_objext'
39253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39254 (eval $ac_try) 2>&5
39256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39257 (exit $ac_status); }; }; then
39259 wx_cv_var_timezone
=__timezone
39262 echo "$as_me: failed program was:" >&5
39263 sed 's/^/| /' conftest.
$ac_ext >&5
39266 if test "$USE_DOS" = 0 ; then
39267 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
39268 echo "$as_me: WARNING: no timezone variable" >&2;}
39273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39285 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
39286 echo "${ECHO_T}$wx_cv_var_timezone" >&6
39288 if test "x$wx_cv_var_timezone" != x
; then
39289 cat >>confdefs.h
<<_ACEOF
39290 #define WX_TIMEZONE $wx_cv_var_timezone
39296 for ac_func
in localtime
39298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39299 echo "$as_me:$LINENO: checking for $ac_func" >&5
39300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39301 if eval "test \"\${$as_ac_var+set}\" = set"; then
39302 echo $ECHO_N "(cached) $ECHO_C" >&6
39304 cat >conftest.
$ac_ext <<_ACEOF
39307 cat confdefs.h
>>conftest.
$ac_ext
39308 cat >>conftest.
$ac_ext <<_ACEOF
39309 /* end confdefs.h. */
39310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39312 #define $ac_func innocuous_$ac_func
39314 /* System header to define __stub macros and hopefully few prototypes,
39315 which can conflict with char $ac_func (); below.
39316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39317 <limits.h> exists even on freestanding compilers. */
39320 # include <limits.h>
39322 # include <assert.h>
39327 /* Override any gcc2 internal prototype to avoid an error. */
39332 /* We use char because int might match the return type of a gcc2
39333 builtin and then its argument prototype would still apply. */
39335 /* The GNU C library defines this for functions which it implements
39336 to always fail with ENOSYS. Some functions are actually named
39337 something starting with __ and the normal name is an alias. */
39338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39341 char (*f) () = $ac_func;
39350 return f != $ac_func;
39355 rm -f conftest.
$ac_objext conftest
$ac_exeext
39356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39357 (eval $ac_link) 2>conftest.er1
39359 grep -v '^ *+' conftest.er1
>conftest.err
39361 cat conftest.err
>&5
39362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39363 (exit $ac_status); } &&
39364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39366 (eval $ac_try) 2>&5
39368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369 (exit $ac_status); }; } &&
39370 { ac_try
='test -s conftest$ac_exeext'
39371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39372 (eval $ac_try) 2>&5
39374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375 (exit $ac_status); }; }; then
39376 eval "$as_ac_var=yes"
39378 echo "$as_me: failed program was:" >&5
39379 sed 's/^/| /' conftest.
$ac_ext >&5
39381 eval "$as_ac_var=no"
39383 rm -f conftest.err conftest.
$ac_objext \
39384 conftest
$ac_exeext conftest.
$ac_ext
39386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39388 if test `eval echo '${'$as_ac_var'}'` = yes; then
39389 cat >>confdefs.h
<<_ACEOF
39390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39397 if test "$ac_cv_func_localtime" = "yes"; then
39398 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
39399 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
39400 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
39401 echo $ECHO_N "(cached) $ECHO_C" >&6
39404 cat >conftest.
$ac_ext <<_ACEOF
39407 cat confdefs.h
>>conftest.
$ac_ext
39408 cat >>conftest.
$ac_ext <<_ACEOF
39409 /* end confdefs.h. */
39424 rm -f conftest.
$ac_objext
39425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39426 (eval $ac_compile) 2>conftest.er1
39428 grep -v '^ *+' conftest.er1
>conftest.err
39430 cat conftest.err
>&5
39431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39432 (exit $ac_status); } &&
39433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39435 (eval $ac_try) 2>&5
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); }; } &&
39439 { ac_try
='test -s conftest.$ac_objext'
39440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39441 (eval $ac_try) 2>&5
39443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39444 (exit $ac_status); }; }; then
39446 wx_cv_struct_tm_has_gmtoff
=yes
39449 echo "$as_me: failed program was:" >&5
39450 sed 's/^/| /' conftest.
$ac_ext >&5
39452 wx_cv_struct_tm_has_gmtoff
=no
39455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39458 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
39459 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
39462 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
39463 cat >>confdefs.h
<<\_ACEOF
39464 #define WX_GMTOFF_IN_TM 1
39471 for ac_func
in gettimeofday ftime
39473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39474 echo "$as_me:$LINENO: checking for $ac_func" >&5
39475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39476 if eval "test \"\${$as_ac_var+set}\" = set"; then
39477 echo $ECHO_N "(cached) $ECHO_C" >&6
39479 cat >conftest.
$ac_ext <<_ACEOF
39482 cat confdefs.h
>>conftest.
$ac_ext
39483 cat >>conftest.
$ac_ext <<_ACEOF
39484 /* end confdefs.h. */
39485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39487 #define $ac_func innocuous_$ac_func
39489 /* System header to define __stub macros and hopefully few prototypes,
39490 which can conflict with char $ac_func (); below.
39491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39492 <limits.h> exists even on freestanding compilers. */
39495 # include <limits.h>
39497 # include <assert.h>
39502 /* Override any gcc2 internal prototype to avoid an error. */
39507 /* We use char because int might match the return type of a gcc2
39508 builtin and then its argument prototype would still apply. */
39510 /* The GNU C library defines this for functions which it implements
39511 to always fail with ENOSYS. Some functions are actually named
39512 something starting with __ and the normal name is an alias. */
39513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39516 char (*f) () = $ac_func;
39525 return f != $ac_func;
39530 rm -f conftest.
$ac_objext conftest
$ac_exeext
39531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39532 (eval $ac_link) 2>conftest.er1
39534 grep -v '^ *+' conftest.er1
>conftest.err
39536 cat conftest.err
>&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); } &&
39539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39541 (eval $ac_try) 2>&5
39543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39544 (exit $ac_status); }; } &&
39545 { ac_try
='test -s conftest$ac_exeext'
39546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39547 (eval $ac_try) 2>&5
39549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39550 (exit $ac_status); }; }; then
39551 eval "$as_ac_var=yes"
39553 echo "$as_me: failed program was:" >&5
39554 sed 's/^/| /' conftest.
$ac_ext >&5
39556 eval "$as_ac_var=no"
39558 rm -f conftest.err conftest.
$ac_objext \
39559 conftest
$ac_exeext conftest.
$ac_ext
39561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39563 if test `eval echo '${'$as_ac_var'}'` = yes; then
39564 cat >>confdefs.h
<<_ACEOF
39565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39572 if test "$ac_cv_func_gettimeofday" = "yes"; then
39573 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
39574 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
39575 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
39576 echo $ECHO_N "(cached) $ECHO_C" >&6
39582 ac_cpp
='$CXXCPP $CPPFLAGS'
39583 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39588 cat >conftest.
$ac_ext <<_ACEOF
39591 cat confdefs.h
>>conftest.
$ac_ext
39592 cat >>conftest.
$ac_ext <<_ACEOF
39593 /* end confdefs.h. */
39595 #include <sys/time.h>
39596 #include <unistd.h>
39603 gettimeofday(&tv, NULL);
39609 rm -f conftest.
$ac_objext
39610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39611 (eval $ac_compile) 2>conftest.er1
39613 grep -v '^ *+' conftest.er1
>conftest.err
39615 cat conftest.err
>&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } &&
39618 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39620 (eval $ac_try) 2>&5
39622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39623 (exit $ac_status); }; } &&
39624 { ac_try
='test -s conftest.$ac_objext'
39625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39626 (eval $ac_try) 2>&5
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); }; }; then
39630 wx_cv_func_gettimeofday_has_2_args
=yes
39632 echo "$as_me: failed program was:" >&5
39633 sed 's/^/| /' conftest.
$ac_ext >&5
39635 cat >conftest.
$ac_ext <<_ACEOF
39638 cat confdefs.h
>>conftest.
$ac_ext
39639 cat >>conftest.
$ac_ext <<_ACEOF
39640 /* end confdefs.h. */
39642 #include <sys/time.h>
39643 #include <unistd.h>
39656 rm -f conftest.
$ac_objext
39657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39658 (eval $ac_compile) 2>conftest.er1
39660 grep -v '^ *+' conftest.er1
>conftest.err
39662 cat conftest.err
>&5
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); } &&
39665 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39667 (eval $ac_try) 2>&5
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); }; } &&
39671 { ac_try
='test -s conftest.$ac_objext'
39672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39673 (eval $ac_try) 2>&5
39675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39676 (exit $ac_status); }; }; then
39677 wx_cv_func_gettimeofday_has_2_args
=no
39679 echo "$as_me: failed program was:" >&5
39680 sed 's/^/| /' conftest.
$ac_ext >&5
39683 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
39684 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
39685 wx_cv_func_gettimeofday_has_2_args
=unknown
39689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39694 ac_cpp
='$CPP $CPPFLAGS'
39695 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39696 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39697 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39701 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
39702 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
39704 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
39705 cat >>confdefs.h
<<\_ACEOF
39706 #define WX_GETTIMEOFDAY_NO_TZ 1
39712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
39716 if test "$wxUSE_SOCKETS" = "yes"; then
39717 if test "$wxUSE_MGL" = "1"; then
39718 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
39719 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
39724 if test "$wxUSE_SOCKETS" = "yes"; then
39725 if test "$TOOLKIT" != "MSW"; then
39726 echo "$as_me:$LINENO: checking for socket" >&5
39727 echo $ECHO_N "checking for socket... $ECHO_C" >&6
39728 if test "${ac_cv_func_socket+set}" = set; then
39729 echo $ECHO_N "(cached) $ECHO_C" >&6
39731 cat >conftest.
$ac_ext <<_ACEOF
39734 cat confdefs.h
>>conftest.
$ac_ext
39735 cat >>conftest.
$ac_ext <<_ACEOF
39736 /* end confdefs.h. */
39737 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
39738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39739 #define socket innocuous_socket
39741 /* System header to define __stub macros and hopefully few prototypes,
39742 which can conflict with char socket (); below.
39743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39744 <limits.h> exists even on freestanding compilers. */
39747 # include <limits.h>
39749 # include <assert.h>
39754 /* Override any gcc2 internal prototype to avoid an error. */
39759 /* We use char because int might match the return type of a gcc2
39760 builtin and then its argument prototype would still apply. */
39762 /* The GNU C library defines this for functions which it implements
39763 to always fail with ENOSYS. Some functions are actually named
39764 something starting with __ and the normal name is an alias. */
39765 #if defined (__stub_socket) || defined (__stub___socket)
39768 char (*f) () = socket;
39777 return f != socket;
39782 rm -f conftest.
$ac_objext conftest
$ac_exeext
39783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39784 (eval $ac_link) 2>conftest.er1
39786 grep -v '^ *+' conftest.er1
>conftest.err
39788 cat conftest.err
>&5
39789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39790 (exit $ac_status); } &&
39791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39793 (eval $ac_try) 2>&5
39795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39796 (exit $ac_status); }; } &&
39797 { ac_try
='test -s conftest$ac_exeext'
39798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39799 (eval $ac_try) 2>&5
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); }; }; then
39803 ac_cv_func_socket
=yes
39805 echo "$as_me: failed program was:" >&5
39806 sed 's/^/| /' conftest.
$ac_ext >&5
39808 ac_cv_func_socket
=no
39810 rm -f conftest.err conftest.
$ac_objext \
39811 conftest
$ac_exeext conftest.
$ac_ext
39813 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
39814 echo "${ECHO_T}$ac_cv_func_socket" >&6
39815 if test $ac_cv_func_socket = yes; then
39819 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
39820 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
39821 if test "${ac_cv_lib_socket_socket+set}" = set; then
39822 echo $ECHO_N "(cached) $ECHO_C" >&6
39824 ac_check_lib_save_LIBS
=$LIBS
39825 LIBS
="-lsocket $LIBS"
39826 cat >conftest.
$ac_ext <<_ACEOF
39829 cat confdefs.h
>>conftest.
$ac_ext
39830 cat >>conftest.
$ac_ext <<_ACEOF
39831 /* end confdefs.h. */
39833 /* Override any gcc2 internal prototype to avoid an error. */
39837 /* We use char because int might match the return type of a gcc2
39838 builtin and then its argument prototype would still apply. */
39848 rm -f conftest.
$ac_objext conftest
$ac_exeext
39849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39850 (eval $ac_link) 2>conftest.er1
39852 grep -v '^ *+' conftest.er1
>conftest.err
39854 cat conftest.err
>&5
39855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39856 (exit $ac_status); } &&
39857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39859 (eval $ac_try) 2>&5
39861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39862 (exit $ac_status); }; } &&
39863 { ac_try
='test -s conftest$ac_exeext'
39864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39865 (eval $ac_try) 2>&5
39867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39868 (exit $ac_status); }; }; then
39869 ac_cv_lib_socket_socket
=yes
39871 echo "$as_me: failed program was:" >&5
39872 sed 's/^/| /' conftest.
$ac_ext >&5
39874 ac_cv_lib_socket_socket
=no
39876 rm -f conftest.err conftest.
$ac_objext \
39877 conftest
$ac_exeext conftest.
$ac_ext
39878 LIBS
=$ac_check_lib_save_LIBS
39880 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
39881 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
39882 if test $ac_cv_lib_socket_socket = yes; then
39883 if test "$INET_LINK" != " -lsocket"; then
39884 INET_LINK
="$INET_LINK -lsocket"
39888 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
39889 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
39902 if test "$wxUSE_SOCKETS" = "yes" ; then
39903 if test "$TOOLKIT" != "MSW"; then
39905 ac_cpp
='$CXXCPP $CPPFLAGS'
39906 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39907 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39908 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39910 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
39911 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
39912 if test "${wx_cv_type_getsockname3+set}" = set; then
39913 echo $ECHO_N "(cached) $ECHO_C" >&6
39916 cat >conftest.
$ac_ext <<_ACEOF
39919 cat confdefs.h
>>conftest.
$ac_ext
39920 cat >>conftest.
$ac_ext <<_ACEOF
39921 /* end confdefs.h. */
39923 #include <sys/types.h>
39924 #include <sys/socket.h>
39931 getsockname(0, 0, &len);
39937 rm -f conftest.
$ac_objext
39938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39939 (eval $ac_compile) 2>conftest.er1
39941 grep -v '^ *+' conftest.er1
>conftest.err
39943 cat conftest.err
>&5
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); } &&
39946 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39948 (eval $ac_try) 2>&5
39950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39951 (exit $ac_status); }; } &&
39952 { ac_try
='test -s conftest.$ac_objext'
39953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39954 (eval $ac_try) 2>&5
39956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39957 (exit $ac_status); }; }; then
39958 wx_cv_type_getsockname3
=socklen_t
39960 echo "$as_me: failed program was:" >&5
39961 sed 's/^/| /' conftest.
$ac_ext >&5
39964 CXXFLAGS_OLD
="$CXXFLAGS"
39965 if test "$GCC" = yes ; then
39966 CXXFLAGS
="$CXXFLAGS -Werror"
39969 cat >conftest.
$ac_ext <<_ACEOF
39972 cat confdefs.h
>>conftest.
$ac_ext
39973 cat >>conftest.
$ac_ext <<_ACEOF
39974 /* end confdefs.h. */
39976 #include <sys/types.h>
39977 #include <sys/socket.h>
39984 getsockname(0, 0, &len);
39990 rm -f conftest.
$ac_objext
39991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39992 (eval $ac_compile) 2>conftest.er1
39994 grep -v '^ *+' conftest.er1
>conftest.err
39996 cat conftest.err
>&5
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); } &&
39999 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40001 (eval $ac_try) 2>&5
40003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40004 (exit $ac_status); }; } &&
40005 { ac_try
='test -s conftest.$ac_objext'
40006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40007 (eval $ac_try) 2>&5
40009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40010 (exit $ac_status); }; }; then
40011 wx_cv_type_getsockname3
=size_t
40013 echo "$as_me: failed program was:" >&5
40014 sed 's/^/| /' conftest.
$ac_ext >&5
40016 cat >conftest.
$ac_ext <<_ACEOF
40019 cat confdefs.h
>>conftest.
$ac_ext
40020 cat >>conftest.
$ac_ext <<_ACEOF
40021 /* end confdefs.h. */
40023 #include <sys/types.h>
40024 #include <sys/socket.h>
40031 getsockname(0, 0, &len);
40037 rm -f conftest.
$ac_objext
40038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40039 (eval $ac_compile) 2>conftest.er1
40041 grep -v '^ *+' conftest.er1
>conftest.err
40043 cat conftest.err
>&5
40044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40045 (exit $ac_status); } &&
40046 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40048 (eval $ac_try) 2>&5
40050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40051 (exit $ac_status); }; } &&
40052 { ac_try
='test -s conftest.$ac_objext'
40053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40054 (eval $ac_try) 2>&5
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); }; }; then
40058 wx_cv_type_getsockname3
=int
40060 echo "$as_me: failed program was:" >&5
40061 sed 's/^/| /' conftest.
$ac_ext >&5
40063 wx_cv_type_getsockname3
=unknown
40066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40071 CXXFLAGS
="$CXXFLAGS_OLD"
40075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40078 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
40079 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
40081 if test "$wx_cv_type_getsockname3" = "unknown"; then
40083 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40084 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40086 cat >>confdefs.h
<<_ACEOF
40087 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
40091 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
40092 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
40093 if test "${wx_cv_type_getsockopt5+set}" = set; then
40094 echo $ECHO_N "(cached) $ECHO_C" >&6
40097 cat >conftest.
$ac_ext <<_ACEOF
40100 cat confdefs.h
>>conftest.
$ac_ext
40101 cat >>conftest.
$ac_ext <<_ACEOF
40102 /* end confdefs.h. */
40104 #include <sys/types.h>
40105 #include <sys/socket.h>
40112 getsockopt(0, 0, 0, 0, &len);
40118 rm -f conftest.
$ac_objext
40119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40120 (eval $ac_compile) 2>conftest.er1
40122 grep -v '^ *+' conftest.er1
>conftest.err
40124 cat conftest.err
>&5
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); } &&
40127 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40129 (eval $ac_try) 2>&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); }; } &&
40133 { ac_try
='test -s conftest.$ac_objext'
40134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40135 (eval $ac_try) 2>&5
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); }; }; then
40139 wx_cv_type_getsockopt5
=socklen_t
40141 echo "$as_me: failed program was:" >&5
40142 sed 's/^/| /' conftest.
$ac_ext >&5
40145 CXXFLAGS_OLD
="$CXXFLAGS"
40146 if test "$GCC" = yes ; then
40147 CXXFLAGS
="$CXXFLAGS -Werror"
40150 cat >conftest.
$ac_ext <<_ACEOF
40153 cat confdefs.h
>>conftest.
$ac_ext
40154 cat >>conftest.
$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40157 #include <sys/types.h>
40158 #include <sys/socket.h>
40165 getsockopt(0, 0, 0, 0, &len);
40171 rm -f conftest.
$ac_objext
40172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40173 (eval $ac_compile) 2>conftest.er1
40175 grep -v '^ *+' conftest.er1
>conftest.err
40177 cat conftest.err
>&5
40178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40179 (exit $ac_status); } &&
40180 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40182 (eval $ac_try) 2>&5
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); }; } &&
40186 { ac_try
='test -s conftest.$ac_objext'
40187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40188 (eval $ac_try) 2>&5
40190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191 (exit $ac_status); }; }; then
40192 wx_cv_type_getsockopt5
=size_t
40194 echo "$as_me: failed program was:" >&5
40195 sed 's/^/| /' conftest.
$ac_ext >&5
40197 cat >conftest.
$ac_ext <<_ACEOF
40200 cat confdefs.h
>>conftest.
$ac_ext
40201 cat >>conftest.
$ac_ext <<_ACEOF
40202 /* end confdefs.h. */
40204 #include <sys/types.h>
40205 #include <sys/socket.h>
40212 getsockopt(0, 0, 0, 0, &len);
40218 rm -f conftest.
$ac_objext
40219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40220 (eval $ac_compile) 2>conftest.er1
40222 grep -v '^ *+' conftest.er1
>conftest.err
40224 cat conftest.err
>&5
40225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40226 (exit $ac_status); } &&
40227 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40229 (eval $ac_try) 2>&5
40231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40232 (exit $ac_status); }; } &&
40233 { ac_try
='test -s conftest.$ac_objext'
40234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40235 (eval $ac_try) 2>&5
40237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40238 (exit $ac_status); }; }; then
40239 wx_cv_type_getsockopt5
=int
40241 echo "$as_me: failed program was:" >&5
40242 sed 's/^/| /' conftest.
$ac_ext >&5
40244 wx_cv_type_getsockopt5
=unknown
40247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40252 CXXFLAGS
="$CXXFLAGS_OLD"
40256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40259 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
40260 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
40262 if test "$wx_cv_type_getsockopt5" = "unknown"; then
40264 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
40265 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
40267 cat >>confdefs.h
<<_ACEOF
40268 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
40273 ac_cpp
='$CPP $CPPFLAGS'
40274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40281 if test "$wxUSE_SOCKETS" = "yes" ; then
40282 cat >>confdefs.h
<<\_ACEOF
40283 #define wxUSE_SOCKETS 1
40286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
40289 if test "$wxUSE_PROTOCOL" = "yes"; then
40290 if test "$wxUSE_SOCKETS" != "yes"; then
40291 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
40292 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
40297 if test "$wxUSE_PROTOCOL" = "yes"; then
40298 cat >>confdefs.h
<<\_ACEOF
40299 #define wxUSE_PROTOCOL 1
40303 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
40304 cat >>confdefs.h
<<\_ACEOF
40305 #define wxUSE_PROTOCOL_HTTP 1
40309 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
40310 cat >>confdefs.h
<<\_ACEOF
40311 #define wxUSE_PROTOCOL_FTP 1
40315 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
40316 cat >>confdefs.h
<<\_ACEOF
40317 #define wxUSE_PROTOCOL_FILE 1
40322 if test "$wxUSE_FS_INET" = "yes"; then
40323 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
40324 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
40329 if test "$wxUSE_URL" = "yes"; then
40330 if test "$wxUSE_PROTOCOL" != "yes"; then
40331 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
40332 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
40335 if test "$wxUSE_URL" = "yes"; then
40336 cat >>confdefs.h
<<\_ACEOF
40337 #define wxUSE_URL 1
40343 if test "$wxUSE_FS_INET" = "yes"; then
40344 cat >>confdefs.h
<<\_ACEOF
40345 #define wxUSE_FS_INET 1
40351 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
40354 if test "$TOOLKIT" = "MSW"; then
40357 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
40358 if test "$USE_DARWIN" = 1; then
40359 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
40360 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
40362 ac_cpp
='$CXXCPP $CPPFLAGS'
40363 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40364 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40365 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40367 cat >conftest.
$ac_ext <<_ACEOF
40370 cat confdefs.h
>>conftest.
$ac_ext
40371 cat >>conftest.
$ac_ext <<_ACEOF
40372 /* end confdefs.h. */
40373 #include <IOKit/hid/IOHIDLib.h>
40377 IOHIDQueueInterface *qi = NULL;
40378 IOHIDCallbackFunction cb = NULL;
40379 qi->setEventCallout(NULL, cb, NULL, NULL);
40384 rm -f conftest.
$ac_objext
40385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40386 (eval $ac_compile) 2>conftest.er1
40388 grep -v '^ *+' conftest.er1
>conftest.err
40390 cat conftest.err
>&5
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); } &&
40393 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40395 (eval $ac_try) 2>&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); }; } &&
40399 { ac_try
='test -s conftest.$ac_objext'
40400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40401 (eval $ac_try) 2>&5
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; }; then
40408 echo "$as_me: failed program was:" >&5
40409 sed 's/^/| /' conftest.
$ac_ext >&5
40412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40414 ac_cpp
='$CPP $CPPFLAGS'
40415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40419 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
40420 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
40425 for ac_header
in linux
/joystick.h
40427 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40429 echo "$as_me:$LINENO: checking for $ac_header" >&5
40430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40432 echo $ECHO_N "(cached) $ECHO_C" >&6
40434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40437 # Is the header compilable?
40438 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40440 cat >conftest.
$ac_ext <<_ACEOF
40443 cat confdefs.h
>>conftest.
$ac_ext
40444 cat >>conftest.
$ac_ext <<_ACEOF
40445 /* end confdefs.h. */
40446 $ac_includes_default
40447 #include <$ac_header>
40449 rm -f conftest.
$ac_objext
40450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40451 (eval $ac_compile) 2>conftest.er1
40453 grep -v '^ *+' conftest.er1
>conftest.err
40455 cat conftest.err
>&5
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); } &&
40458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40460 (eval $ac_try) 2>&5
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); }; } &&
40464 { ac_try
='test -s conftest.$ac_objext'
40465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40466 (eval $ac_try) 2>&5
40468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40469 (exit $ac_status); }; }; then
40470 ac_header_compiler
=yes
40472 echo "$as_me: failed program was:" >&5
40473 sed 's/^/| /' conftest.
$ac_ext >&5
40475 ac_header_compiler
=no
40477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40479 echo "${ECHO_T}$ac_header_compiler" >&6
40481 # Is the header present?
40482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40484 cat >conftest.
$ac_ext <<_ACEOF
40487 cat confdefs.h
>>conftest.
$ac_ext
40488 cat >>conftest.
$ac_ext <<_ACEOF
40489 /* end confdefs.h. */
40490 #include <$ac_header>
40492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40493 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
40495 grep -v '^ *+' conftest.er1
>conftest.err
40497 cat conftest.err
>&5
40498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499 (exit $ac_status); } >/dev
/null
; then
40500 if test -s conftest.err
; then
40501 ac_cpp_err
=$ac_c_preproc_warn_flag
40502 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
40509 if test -z "$ac_cpp_err"; then
40510 ac_header_preproc
=yes
40512 echo "$as_me: failed program was:" >&5
40513 sed 's/^/| /' conftest.
$ac_ext >&5
40515 ac_header_preproc
=no
40517 rm -f conftest.err conftest.
$ac_ext
40518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40519 echo "${ECHO_T}$ac_header_preproc" >&6
40521 # So? What about this header?
40522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40528 ac_header_preproc
=yes
40531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40545 ## ----------------------------------------- ##
40546 ## Report this to wx-dev@lists.wxwidgets.org ##
40547 ## ----------------------------------------- ##
40550 sed "s/^/$as_me: WARNING: /" >&2
40553 echo "$as_me:$LINENO: checking for $ac_header" >&5
40554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40556 echo $ECHO_N "(cached) $ECHO_C" >&6
40558 eval "$as_ac_Header=\$ac_header_preproc"
40560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40565 cat >>confdefs.h
<<_ACEOF
40566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40575 if test "$wxUSE_JOYSTICK" = "yes"; then
40576 cat >>confdefs.h
<<\_ACEOF
40577 #define wxUSE_JOYSTICK 1
40580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
40582 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
40583 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
40589 if test "$wxUSE_FONTMAP" = "yes" ; then
40590 cat >>confdefs.h
<<\_ACEOF
40591 #define wxUSE_FONTMAP 1
40596 if test "$wxUSE_UNICODE" = "yes" ; then
40597 cat >>confdefs.h
<<\_ACEOF
40598 #define wxUSE_UNICODE 1
40602 if test "$USE_WIN32" != 1; then
40603 wxUSE_UNICODE_MSLU
=no
40606 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
40607 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
40608 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
40609 if test "${ac_cv_lib_unicows_main+set}" = set; then
40610 echo $ECHO_N "(cached) $ECHO_C" >&6
40612 ac_check_lib_save_LIBS
=$LIBS
40613 LIBS
="-lunicows $LIBS"
40614 cat >conftest.
$ac_ext <<_ACEOF
40617 cat confdefs.h
>>conftest.
$ac_ext
40618 cat >>conftest.
$ac_ext <<_ACEOF
40619 /* end confdefs.h. */
40630 rm -f conftest.
$ac_objext conftest
$ac_exeext
40631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40632 (eval $ac_link) 2>conftest.er1
40634 grep -v '^ *+' conftest.er1
>conftest.err
40636 cat conftest.err
>&5
40637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40638 (exit $ac_status); } &&
40639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40641 (eval $ac_try) 2>&5
40643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40644 (exit $ac_status); }; } &&
40645 { ac_try
='test -s conftest$ac_exeext'
40646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40647 (eval $ac_try) 2>&5
40649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40650 (exit $ac_status); }; }; then
40651 ac_cv_lib_unicows_main
=yes
40653 echo "$as_me: failed program was:" >&5
40654 sed 's/^/| /' conftest.
$ac_ext >&5
40656 ac_cv_lib_unicows_main
=no
40658 rm -f conftest.err conftest.
$ac_objext \
40659 conftest
$ac_exeext conftest.
$ac_ext
40660 LIBS
=$ac_check_lib_save_LIBS
40662 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
40663 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
40664 if test $ac_cv_lib_unicows_main = yes; then
40666 cat >>confdefs.h
<<\_ACEOF
40667 #define wxUSE_UNICODE_MSLU 1
40673 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
40674 Applications will only run on Windows NT/2000/XP!" >&5
40675 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
40676 Applications will only run on Windows NT/2000/XP!" >&2;}
40677 wxUSE_UNICODE_MSLU
=no
40684 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
40685 cat >>confdefs.h
<<\_ACEOF
40686 #define wxUSE_EXPERIMENTAL_PRINTF 1
40692 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
40693 cat >>confdefs.h
<<\_ACEOF
40694 #define wxUSE_POSTSCRIPT 1
40699 cat >>confdefs.h
<<\_ACEOF
40700 #define wxUSE_AFM_FOR_POSTSCRIPT 1
40704 cat >>confdefs.h
<<\_ACEOF
40705 #define wxUSE_NORMALIZED_PS_FONTS 1
40710 if test "$wxUSE_CONSTRAINTS" = "yes"; then
40711 cat >>confdefs.h
<<\_ACEOF
40712 #define wxUSE_CONSTRAINTS 1
40715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
40718 if test "$wxUSE_MDI" = "yes"; then
40719 cat >>confdefs.h
<<\_ACEOF
40720 #define wxUSE_MDI 1
40724 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
40725 cat >>confdefs.h
<<\_ACEOF
40726 #define wxUSE_MDI_ARCHITECTURE 1
40729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
40733 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
40734 cat >>confdefs.h
<<\_ACEOF
40735 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
40738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
40739 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
40740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
40744 if test "$wxUSE_HELP" = "yes"; then
40745 cat >>confdefs.h
<<\_ACEOF
40746 #define wxUSE_HELP 1
40749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
40751 if test "$wxUSE_MSW" = 1; then
40752 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
40753 cat >>confdefs.h
<<\_ACEOF
40754 #define wxUSE_MS_HTML_HELP 1
40760 if test "$wxUSE_WXHTML_HELP" = "yes"; then
40761 if test "$wxUSE_HTML" = "yes"; then
40762 cat >>confdefs.h
<<\_ACEOF
40763 #define wxUSE_WXHTML_HELP 1
40767 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
40768 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
40769 wxUSE_WXHTML_HELP
=no
40774 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40775 if test "$wxUSE_CONSTRAINTS" != "yes"; then
40776 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
40777 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
40779 cat >>confdefs.h
<<\_ACEOF
40780 #define wxUSE_PRINTING_ARCHITECTURE 1
40784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
40787 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
40788 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
40789 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
40790 { (exit 1); exit 1; }; }
40794 if test "$wxUSE_METAFILE" = "yes"; then
40795 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
40796 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
40797 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
40803 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
40804 -o "$wxUSE_CLIPBOARD" = "yes" \
40805 -o "$wxUSE_OLE" = "yes" \
40806 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
40808 for ac_header
in ole2.h
40810 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40812 echo "$as_me:$LINENO: checking for $ac_header" >&5
40813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40815 echo $ECHO_N "(cached) $ECHO_C" >&6
40817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40820 # Is the header compilable?
40821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40823 cat >conftest.
$ac_ext <<_ACEOF
40826 cat confdefs.h
>>conftest.
$ac_ext
40827 cat >>conftest.
$ac_ext <<_ACEOF
40828 /* end confdefs.h. */
40829 $ac_includes_default
40830 #include <$ac_header>
40832 rm -f conftest.
$ac_objext
40833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40834 (eval $ac_compile) 2>conftest.er1
40836 grep -v '^ *+' conftest.er1
>conftest.err
40838 cat conftest.err
>&5
40839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40840 (exit $ac_status); } &&
40841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40843 (eval $ac_try) 2>&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); }; } &&
40847 { ac_try
='test -s conftest.$ac_objext'
40848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40849 (eval $ac_try) 2>&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); }; }; then
40853 ac_header_compiler
=yes
40855 echo "$as_me: failed program was:" >&5
40856 sed 's/^/| /' conftest.
$ac_ext >&5
40858 ac_header_compiler
=no
40860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
40861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40862 echo "${ECHO_T}$ac_header_compiler" >&6
40864 # Is the header present?
40865 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40866 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40867 cat >conftest.
$ac_ext <<_ACEOF
40870 cat confdefs.h
>>conftest.
$ac_ext
40871 cat >>conftest.
$ac_ext <<_ACEOF
40872 /* end confdefs.h. */
40873 #include <$ac_header>
40875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40876 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
40878 grep -v '^ *+' conftest.er1
>conftest.err
40880 cat conftest.err
>&5
40881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40882 (exit $ac_status); } >/dev
/null
; then
40883 if test -s conftest.err
; then
40884 ac_cpp_err
=$ac_c_preproc_warn_flag
40885 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
40892 if test -z "$ac_cpp_err"; then
40893 ac_header_preproc
=yes
40895 echo "$as_me: failed program was:" >&5
40896 sed 's/^/| /' conftest.
$ac_ext >&5
40898 ac_header_preproc
=no
40900 rm -f conftest.err conftest.
$ac_ext
40901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40902 echo "${ECHO_T}$ac_header_preproc" >&6
40904 # So? What about this header?
40905 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40907 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40908 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40910 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40911 ac_header_preproc
=yes
40914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40918 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40919 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40920 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40921 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40924 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40925 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40928 ## ----------------------------------------- ##
40929 ## Report this to wx-dev@lists.wxwidgets.org ##
40930 ## ----------------------------------------- ##
40933 sed "s/^/$as_me: WARNING: /" >&2
40936 echo "$as_me:$LINENO: checking for $ac_header" >&5
40937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40939 echo $ECHO_N "(cached) $ECHO_C" >&6
40941 eval "$as_ac_Header=\$ac_header_preproc"
40943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40948 cat >>confdefs.h
<<_ACEOF
40949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40957 if test "$ac_cv_header_ole2_h" = "yes" ; then
40958 if test "$GCC" = yes ; then
40962 ac_cpp
='$CXXCPP $CPPFLAGS'
40963 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40964 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40965 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40968 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
40969 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
40970 cat >conftest.
$ac_ext <<_ACEOF
40973 cat confdefs.h
>>conftest.
$ac_ext
40974 cat >>conftest.
$ac_ext <<_ACEOF
40975 /* end confdefs.h. */
40976 #include <windows.h>
40986 rm -f conftest.
$ac_objext
40987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40988 (eval $ac_compile) 2>conftest.er1
40990 grep -v '^ *+' conftest.er1
>conftest.err
40992 cat conftest.err
>&5
40993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40994 (exit $ac_status); } &&
40995 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40997 (eval $ac_try) 2>&5
40999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41000 (exit $ac_status); }; } &&
41001 { ac_try
='test -s conftest.$ac_objext'
41002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41003 (eval $ac_try) 2>&5
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); }; }; then
41007 echo "$as_me:$LINENO: result: no" >&5
41008 echo "${ECHO_T}no" >&6
41010 echo "$as_me: failed program was:" >&5
41011 sed 's/^/| /' conftest.
$ac_ext >&5
41013 echo "$as_me:$LINENO: result: yes" >&5
41014 echo "${ECHO_T}yes" >&6
41015 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
41017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41019 ac_cpp
='$CPP $CPPFLAGS'
41020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41024 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
41025 if test "$wxUSE_OLE" = "yes" ; then
41026 cat >>confdefs.h
<<\_ACEOF
41027 #define wxUSE_OLE 1
41030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
41034 if test "$wxUSE_DATAOBJ" = "yes" ; then
41035 cat >>confdefs.h
<<\_ACEOF
41036 #define wxUSE_DATAOBJ 1
41041 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
41042 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
41045 wxUSE_DRAG_AND_DROP
=no
41050 if test "$wxUSE_METAFILE" = "yes"; then
41051 cat >>confdefs.h
<<\_ACEOF
41052 #define wxUSE_METAFILE 1
41056 cat >>confdefs.h
<<\_ACEOF
41057 #define wxUSE_ENH_METAFILE 1
41063 if test "$wxUSE_IPC" = "yes"; then
41064 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
41065 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
41066 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
41070 if test "$wxUSE_IPC" = "yes"; then
41071 cat >>confdefs.h
<<\_ACEOF
41072 #define wxUSE_IPC 1
41075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
41079 if test "$wxUSE_DATAOBJ" = "yes"; then
41080 if test "$wxUSE_MGL" = 1; then
41081 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
41082 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
41085 cat >>confdefs.h
<<\_ACEOF
41086 #define wxUSE_DATAOBJ 1
41091 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
41092 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
41094 wxUSE_DRAG_AND_DROP
=no
41097 if test "$wxUSE_CLIPBOARD" = "yes"; then
41098 if test "$wxUSE_MGL" = 1; then
41099 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
41100 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
41104 if test "$wxUSE_CLIPBOARD" = "yes"; then
41105 cat >>confdefs.h
<<\_ACEOF
41106 #define wxUSE_CLIPBOARD 1
41112 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
41113 if test "$wxUSE_GTK" = 1; then
41114 if test "$WXGTK12" != 1; then
41115 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
41116 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
41117 wxUSE_DRAG_AND_DROP
=no
41121 if test "$wxUSE_MOTIF" = 1; then
41122 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
41123 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
41124 wxUSE_DRAG_AND_DROP
=no
41127 if test "$wxUSE_X11" = 1; then
41128 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
41129 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
41130 wxUSE_DRAG_AND_DROP
=no
41133 if test "$wxUSE_MGL" = 1; then
41134 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
41135 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
41136 wxUSE_DRAG_AND_DROP
=no
41139 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
41140 cat >>confdefs.h
<<\_ACEOF
41141 #define wxUSE_DRAG_AND_DROP 1
41148 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
41149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
41152 if test "$wxUSE_SPLINES" = "yes" ; then
41153 cat >>confdefs.h
<<\_ACEOF
41154 #define wxUSE_SPLINES 1
41159 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
41160 cat >>confdefs.h
<<\_ACEOF
41161 #define wxUSE_MOUSEWHEEL 1
41168 if test "$wxUSE_CONTROLS" = "yes"; then
41172 if test "$wxUSE_ACCEL" = "yes"; then
41173 cat >>confdefs.h
<<\_ACEOF
41174 #define wxUSE_ACCEL 1
41180 if test "$wxUSE_BUTTON" = "yes"; then
41181 cat >>confdefs.h
<<\_ACEOF
41182 #define wxUSE_BUTTON 1
41188 if test "$wxUSE_BMPBUTTON" = "yes"; then
41189 cat >>confdefs.h
<<\_ACEOF
41190 #define wxUSE_BMPBUTTON 1
41196 if test "$wxUSE_CALCTRL" = "yes"; then
41197 cat >>confdefs.h
<<\_ACEOF
41198 #define wxUSE_CALENDARCTRL 1
41202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
41205 if test "$wxUSE_CARET" = "yes"; then
41206 cat >>confdefs.h
<<\_ACEOF
41207 #define wxUSE_CARET 1
41211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
41214 if test "$wxUSE_COMBOBOX" = "yes"; then
41215 cat >>confdefs.h
<<\_ACEOF
41216 #define wxUSE_COMBOBOX 1
41222 if test "$wxUSE_CHOICE" = "yes"; then
41223 cat >>confdefs.h
<<\_ACEOF
41224 #define wxUSE_CHOICE 1
41230 if test "$wxUSE_CHOICEBOOK" = "yes"; then
41231 cat >>confdefs.h
<<\_ACEOF
41232 #define wxUSE_CHOICEBOOK 1
41238 if test "$wxUSE_CHECKBOX" = "yes"; then
41239 cat >>confdefs.h
<<\_ACEOF
41240 #define wxUSE_CHECKBOX 1
41246 if test "$wxUSE_CHECKLST" = "yes"; then
41247 cat >>confdefs.h
<<\_ACEOF
41248 #define wxUSE_CHECKLISTBOX 1
41252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
41255 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
41256 cat >>confdefs.h
<<\_ACEOF
41257 #define wxUSE_DATEPICKCTRL 1
41263 if test "$wxUSE_DISPLAY" = "yes"; then
41264 cat >>confdefs.h
<<\_ACEOF
41265 #define wxUSE_DISPLAY 1
41268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
41271 if test "$wxUSE_GAUGE" = "yes"; then
41272 cat >>confdefs.h
<<\_ACEOF
41273 #define wxUSE_GAUGE 1
41279 if test "$wxUSE_GRID" = "yes"; then
41280 cat >>confdefs.h
<<\_ACEOF
41281 #define wxUSE_GRID 1
41285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
41288 if test "$wxUSE_IMAGLIST" = "yes"; then
41289 cat >>confdefs.h
<<\_ACEOF
41290 #define wxUSE_IMAGLIST 1
41295 if test "$wxUSE_LISTBOOK" = "yes"; then
41296 cat >>confdefs.h
<<\_ACEOF
41297 #define wxUSE_LISTBOOK 1
41303 if test "$wxUSE_LISTBOX" = "yes"; then
41304 cat >>confdefs.h
<<\_ACEOF
41305 #define wxUSE_LISTBOX 1
41309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
41312 if test "$wxUSE_LISTCTRL" = "yes"; then
41313 if test "$wxUSE_IMAGLIST" = "yes"; then
41314 cat >>confdefs.h
<<\_ACEOF
41315 #define wxUSE_LISTCTRL 1
41319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
41321 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
41322 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
41326 if test "$wxUSE_NOTEBOOK" = "yes"; then
41327 cat >>confdefs.h
<<\_ACEOF
41328 #define wxUSE_NOTEBOOK 1
41332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
41336 if test "$wxUSE_RADIOBOX" = "yes"; then
41337 cat >>confdefs.h
<<\_ACEOF
41338 #define wxUSE_RADIOBOX 1
41344 if test "$wxUSE_RADIOBTN" = "yes"; then
41345 cat >>confdefs.h
<<\_ACEOF
41346 #define wxUSE_RADIOBTN 1
41352 if test "$wxUSE_SASH" = "yes"; then
41353 cat >>confdefs.h
<<\_ACEOF
41354 #define wxUSE_SASH 1
41357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
41360 if test "$wxUSE_SCROLLBAR" = "yes"; then
41361 cat >>confdefs.h
<<\_ACEOF
41362 #define wxUSE_SCROLLBAR 1
41366 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
41369 if test "$wxUSE_SLIDER" = "yes"; then
41370 cat >>confdefs.h
<<\_ACEOF
41371 #define wxUSE_SLIDER 1
41377 if test "$wxUSE_SPINBTN" = "yes"; then
41378 cat >>confdefs.h
<<\_ACEOF
41379 #define wxUSE_SPINBTN 1
41385 if test "$wxUSE_SPINCTRL" = "yes"; then
41386 cat >>confdefs.h
<<\_ACEOF
41387 #define wxUSE_SPINCTRL 1
41393 if test "$wxUSE_SPLITTER" = "yes"; then
41394 cat >>confdefs.h
<<\_ACEOF
41395 #define wxUSE_SPLITTER 1
41398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
41401 if test "$wxUSE_STATBMP" = "yes"; then
41402 cat >>confdefs.h
<<\_ACEOF
41403 #define wxUSE_STATBMP 1
41409 if test "$wxUSE_STATBOX" = "yes"; then
41410 cat >>confdefs.h
<<\_ACEOF
41411 #define wxUSE_STATBOX 1
41417 if test "$wxUSE_STATTEXT" = "yes"; then
41418 cat >>confdefs.h
<<\_ACEOF
41419 #define wxUSE_STATTEXT 1
41425 if test "$wxUSE_STATLINE" = "yes"; then
41426 cat >>confdefs.h
<<\_ACEOF
41427 #define wxUSE_STATLINE 1
41433 if test "$wxUSE_STATUSBAR" = "yes"; then
41434 cat >>confdefs.h
<<\_ACEOF
41435 #define wxUSE_NATIVE_STATUSBAR 1
41438 cat >>confdefs.h
<<\_ACEOF
41439 #define wxUSE_STATUSBAR 1
41444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
41447 if test "$wxUSE_TABDIALOG" = "yes"; then
41448 cat >>confdefs.h
<<\_ACEOF
41449 #define wxUSE_TAB_DIALOG 1
41454 if test "$wxUSE_TEXTCTRL" = "yes"; then
41455 cat >>confdefs.h
<<\_ACEOF
41456 #define wxUSE_TEXTCTRL 1
41460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
41463 if test "$wxUSE_TOGGLEBTN" = "yes"; then
41464 if test "$wxUSE_COCOA" = 1 ; then
41465 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
41466 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
41469 if test "$wxUSE_UNIVERSAL" = "yes"; then
41470 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
41471 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
41475 if test "$wxUSE_TOGGLEBTN" = "yes"; then
41476 cat >>confdefs.h
<<\_ACEOF
41477 #define wxUSE_TOGGLEBTN 1
41484 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
41485 cat >>confdefs.h
<<\_ACEOF
41486 #define wxUSE_TOOLBAR_SIMPLE 1
41489 wxUSE_TOOLBAR
="yes"
41493 if test "$wxUSE_TOOLBAR" = "yes"; then
41494 cat >>confdefs.h
<<\_ACEOF
41495 #define wxUSE_TOOLBAR 1
41500 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
41501 wxUSE_TOOLBAR_NATIVE
="yes"
41504 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
41505 cat >>confdefs.h
<<\_ACEOF
41506 #define wxUSE_TOOLBAR_NATIVE 1
41512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
41515 if test "$wxUSE_TOOLTIPS" = "yes"; then
41516 if test "$wxUSE_MOTIF" = 1; then
41517 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
41518 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
41520 if test "$wxUSE_UNIVERSAL" = "yes"; then
41521 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
41522 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
41524 cat >>confdefs.h
<<\_ACEOF
41525 #define wxUSE_TOOLTIPS 1
41532 if test "$wxUSE_TREECTRL" = "yes"; then
41533 if test "$wxUSE_IMAGLIST" = "yes"; then
41534 cat >>confdefs.h
<<\_ACEOF
41535 #define wxUSE_TREECTRL 1
41539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
41541 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
41542 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
41546 if test "$wxUSE_POPUPWIN" = "yes"; then
41547 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
41548 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
41549 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
41551 if test "$wxUSE_PM" = 1; then
41552 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
41553 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
41555 cat >>confdefs.h
<<\_ACEOF
41556 #define wxUSE_POPUPWIN 1
41559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
41566 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
41567 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
41568 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
41569 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
41571 cat >>confdefs.h
<<\_ACEOF
41572 #define wxUSE_DIALUP_MANAGER 1
41575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
41579 if test "$wxUSE_TIPWINDOW" = "yes"; then
41580 if test "$wxUSE_PM" = 1; then
41581 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
41582 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
41584 cat >>confdefs.h
<<\_ACEOF
41585 #define wxUSE_TIPWINDOW 1
41591 if test "$USES_CONTROLS" = 1; then
41592 cat >>confdefs.h
<<\_ACEOF
41593 #define wxUSE_CONTROLS 1
41599 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
41600 cat >>confdefs.h
<<\_ACEOF
41601 #define wxUSE_ACCESSIBILITY 1
41604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
41607 if test "$wxUSE_DC_CACHEING" = "yes"; then
41608 cat >>confdefs.h
<<\_ACEOF
41609 #define wxUSE_DC_CACHEING 1
41614 if test "$wxUSE_DRAGIMAGE" = "yes"; then
41615 cat >>confdefs.h
<<\_ACEOF
41616 #define wxUSE_DRAGIMAGE 1
41619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
41622 if test "$wxUSE_EXCEPTIONS" = "yes"; then
41623 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41624 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
41625 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
41627 cat >>confdefs.h
<<\_ACEOF
41628 #define wxUSE_EXCEPTIONS 1
41631 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
41636 if test "$wxUSE_HTML" = "yes"; then
41637 cat >>confdefs.h
<<\_ACEOF
41638 #define wxUSE_HTML 1
41642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
41643 if test "$wxUSE_MAC" = 1; then
41644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
41647 if test "$wxUSE_WEBKIT" = "yes"; then
41648 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
41649 old_CPPFLAGS
="$CPPFLAGS"
41650 CPPFLAGS
="$CPPFLAGS -x objective-c++"
41651 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
41652 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
41653 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
41654 echo $ECHO_N "(cached) $ECHO_C" >&6
41656 cat >conftest.
$ac_ext <<_ACEOF
41659 cat confdefs.h
>>conftest.
$ac_ext
41660 cat >>conftest.
$ac_ext <<_ACEOF
41661 /* end confdefs.h. */
41662 #include <Carbon/Carbon.h>
41664 #include <WebKit/HIWebView.h>
41666 rm -f conftest.
$ac_objext
41667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41668 (eval $ac_compile) 2>conftest.er1
41670 grep -v '^ *+' conftest.er1
>conftest.err
41672 cat conftest.err
>&5
41673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41674 (exit $ac_status); } &&
41675 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41677 (eval $ac_try) 2>&5
41679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41680 (exit $ac_status); }; } &&
41681 { ac_try
='test -s conftest.$ac_objext'
41682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41683 (eval $ac_try) 2>&5
41685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41686 (exit $ac_status); }; }; then
41687 ac_cv_header_WebKit_HIWebView_h
=yes
41689 echo "$as_me: failed program was:" >&5
41690 sed 's/^/| /' conftest.
$ac_ext >&5
41692 ac_cv_header_WebKit_HIWebView_h
=no
41694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41696 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
41697 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
41698 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
41700 cat >>confdefs.h
<<\_ACEOF
41701 #define wxUSE_WEBKIT 1
41704 WEBKIT_LINK
="-framework WebKit"
41708 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
41709 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
41715 CPPFLAGS
="$old_CPPFLAGS"
41716 elif test "$wxUSE_COCOA" = 1; then
41717 cat >>confdefs.h
<<\_ACEOF
41718 #define wxUSE_WEBKIT 1
41727 if test "$wxUSE_XRC" = "yes"; then
41728 if test "$wxUSE_XML" != "yes"; then
41729 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
41730 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
41733 cat >>confdefs.h
<<\_ACEOF
41734 #define wxUSE_XRC 1
41738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
41742 if test "$wxUSE_MENUS" = "yes"; then
41743 cat >>confdefs.h
<<\_ACEOF
41744 #define wxUSE_MENUS 1
41747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
41750 if test "$wxUSE_METAFILE" = "yes"; then
41751 cat >>confdefs.h
<<\_ACEOF
41752 #define wxUSE_METAFILE 1
41757 if test "$wxUSE_MIMETYPE" = "yes"; then
41758 cat >>confdefs.h
<<\_ACEOF
41759 #define wxUSE_MIMETYPE 1
41764 if test "$wxUSE_MINIFRAME" = "yes"; then
41765 cat >>confdefs.h
<<\_ACEOF
41766 #define wxUSE_MINIFRAME 1
41769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
41772 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
41773 cat >>confdefs.h
<<\_ACEOF
41774 #define wxUSE_SYSTEM_OPTIONS 1
41777 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
41778 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
41779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
41784 if test "$wxUSE_VALIDATORS" = "yes"; then
41785 cat >>confdefs.h
<<\_ACEOF
41786 #define wxUSE_VALIDATORS 1
41789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
41792 if test "$wxUSE_PALETTE" = "yes" ; then
41793 cat >>confdefs.h
<<\_ACEOF
41794 #define wxUSE_PALETTE 1
41799 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
41800 LIBS
=" -lunicows $LIBS"
41804 if test "$wxUSE_IMAGE" = "yes" ; then
41805 cat >>confdefs.h
<<\_ACEOF
41806 #define wxUSE_IMAGE 1
41810 if test "$wxUSE_GIF" = "yes" ; then
41811 cat >>confdefs.h
<<\_ACEOF
41812 #define wxUSE_GIF 1
41817 if test "$wxUSE_PCX" = "yes" ; then
41818 cat >>confdefs.h
<<\_ACEOF
41819 #define wxUSE_PCX 1
41824 if test "$wxUSE_IFF" = "yes" ; then
41825 cat >>confdefs.h
<<\_ACEOF
41826 #define wxUSE_IFF 1
41831 if test "$wxUSE_PNM" = "yes" ; then
41832 cat >>confdefs.h
<<\_ACEOF
41833 #define wxUSE_PNM 1
41838 if test "$wxUSE_XPM" = "yes" ; then
41839 cat >>confdefs.h
<<\_ACEOF
41840 #define wxUSE_XPM 1
41845 if test "$wxUSE_ICO_CUR" = "yes" ; then
41846 cat >>confdefs.h
<<\_ACEOF
41847 #define wxUSE_ICO_CUR 1
41854 if test "$wxUSE_CHOICEDLG" = "yes"; then
41855 cat >>confdefs.h
<<\_ACEOF
41856 #define wxUSE_CHOICEDLG 1
41861 if test "$wxUSE_COLOURDLG" = "yes"; then
41862 cat >>confdefs.h
<<\_ACEOF
41863 #define wxUSE_COLOURDLG 1
41868 if test "$wxUSE_FILEDLG" = "yes"; then
41869 cat >>confdefs.h
<<\_ACEOF
41870 #define wxUSE_FILEDLG 1
41875 if test "$wxUSE_FINDREPLDLG" = "yes"; then
41876 cat >>confdefs.h
<<\_ACEOF
41877 #define wxUSE_FINDREPLDLG 1
41882 if test "$wxUSE_FONTDLG" = "yes"; then
41883 cat >>confdefs.h
<<\_ACEOF
41884 #define wxUSE_FONTDLG 1
41889 if test "$wxUSE_DIRDLG" = "yes"; then
41890 if test "$wxUSE_TREECTRL" != "yes"; then
41891 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
41892 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
41894 cat >>confdefs.h
<<\_ACEOF
41895 #define wxUSE_DIRDLG 1
41901 if test "$wxUSE_MSGDLG" = "yes"; then
41902 cat >>confdefs.h
<<\_ACEOF
41903 #define wxUSE_MSGDLG 1
41908 if test "$wxUSE_NUMBERDLG" = "yes"; then
41909 cat >>confdefs.h
<<\_ACEOF
41910 #define wxUSE_NUMBERDLG 1
41915 if test "$wxUSE_PROGRESSDLG" = "yes"; then
41916 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41917 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
41918 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
41920 cat >>confdefs.h
<<\_ACEOF
41921 #define wxUSE_PROGRESSDLG 1
41927 if test "$wxUSE_SPLASH" = "yes"; then
41928 cat >>confdefs.h
<<\_ACEOF
41929 #define wxUSE_SPLASH 1
41932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
41935 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
41936 if test "$wxUSE_CONSTRAINTS" != "yes"; then
41937 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
41938 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
41940 cat >>confdefs.h
<<\_ACEOF
41941 #define wxUSE_STARTUP_TIPS 1
41947 if test "$wxUSE_TEXTDLG" = "yes"; then
41948 cat >>confdefs.h
<<\_ACEOF
41949 #define wxUSE_TEXTDLG 1
41954 if test "$wxUSE_WIZARDDLG" = "yes"; then
41955 cat >>confdefs.h
<<\_ACEOF
41956 #define wxUSE_WIZARDDLG 1
41959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
41963 if test "$wxUSE_MEDIACTRL" = "yes"; then
41964 if test "$wxUSE_GTK" = 1; then
41965 wxUSE_GSTREAMER
="yes"
41970 if test -z "$PKG_CONFIG"; then
41971 # Extract the first word of "pkg-config", so it can be a program name with args.
41972 set dummy pkg
-config; ac_word
=$2
41973 echo "$as_me:$LINENO: checking for $ac_word" >&5
41974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41975 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41976 echo $ECHO_N "(cached) $ECHO_C" >&6
41978 case $PKG_CONFIG in
41980 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
41983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41984 for as_dir
in $PATH
41987 test -z "$as_dir" && as_dir
=.
41988 for ac_exec_ext
in '' $ac_executable_extensions; do
41989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41990 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41997 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
42001 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42003 if test -n "$PKG_CONFIG"; then
42004 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42005 echo "${ECHO_T}$PKG_CONFIG" >&6
42007 echo "$as_me:$LINENO: result: no" >&5
42008 echo "${ECHO_T}no" >&6
42013 if test "$PKG_CONFIG" = "no" ; then
42014 echo "*** The pkg-config script could not be found. Make sure it is"
42015 echo "*** in your path, or set the PKG_CONFIG environment variable"
42016 echo "*** to the full path to pkg-config."
42017 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
42019 PKG_CONFIG_MIN_VERSION
=0.9.0
42020 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
42021 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
42022 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
42024 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
42025 echo "$as_me:$LINENO: result: yes" >&5
42026 echo "${ECHO_T}yes" >&6
42029 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
42030 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
42031 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
42032 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
42033 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
42035 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
42036 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
42037 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
42038 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
42039 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
42041 GSTREAMER_CFLAGS
=""
42043 ## If we have a custom action on failure, don't print errors, but
42044 ## do set a variable so people can do so.
42045 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
42052 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
42053 echo "*** See http://www.freedesktop.org/software/pkgconfig"
42057 if test $succeeded = yes; then
42059 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
42060 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
42064 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
42065 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
42066 wxUSE_GSTREAMER
="no"
42074 if test "x$GST_INSPECT" == "x"; then
42075 # Extract the first word of "gst-inspect", so it can be a program name with args.
42076 set dummy gst
-inspect; ac_word
=$2
42077 echo "$as_me:$LINENO: checking for $ac_word" >&5
42078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42079 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
42080 echo $ECHO_N "(cached) $ECHO_C" >&6
42082 if test -n "$GST_INSPECT"; then
42083 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
42085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42086 for as_dir
in $PATH
42089 test -z "$as_dir" && as_dir
=.
42090 for ac_exec_ext
in '' $ac_executable_extensions; do
42091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42092 ac_cv_prog_GST_INSPECT
="gst-inspect"
42093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42101 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
42102 if test -n "$GST_INSPECT"; then
42103 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
42104 echo "${ECHO_T}$GST_INSPECT" >&6
42106 echo "$as_me:$LINENO: result: no" >&5
42107 echo "${ECHO_T}no" >&6
42112 if test "x$GST_INSPECT" != "x"; then
42113 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
42114 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
42115 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
42116 echo "$as_me:$LINENO: result: found." >&5
42117 echo "${ECHO_T}found." >&6
42120 echo "$as_me:$LINENO: result: not found." >&5
42121 echo "${ECHO_T}not found." >&6
42123 wxUSE_GSTREAMER
="no"
42124 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
42125 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
42131 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
42132 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
42133 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
42134 echo $ECHO_N "(cached) $ECHO_C" >&6
42136 cat >conftest.
$ac_ext <<_ACEOF
42139 cat confdefs.h
>>conftest.
$ac_ext
42140 cat >>conftest.
$ac_ext <<_ACEOF
42141 /* end confdefs.h. */
42142 #include <gst/gst.h>
42144 #include <gst/xoverlay/xoverlay.h>
42146 rm -f conftest.
$ac_objext
42147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42148 (eval $ac_compile) 2>conftest.er1
42150 grep -v '^ *+' conftest.er1
>conftest.err
42152 cat conftest.err
>&5
42153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42154 (exit $ac_status); } &&
42155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42157 (eval $ac_try) 2>&5
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); }; } &&
42161 { ac_try
='test -s conftest.$ac_objext'
42162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42163 (eval $ac_try) 2>&5
42165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166 (exit $ac_status); }; }; then
42167 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
42169 echo "$as_me: failed program was:" >&5
42170 sed 's/^/| /' conftest.
$ac_ext >&5
42172 ac_cv_header_gst_xoverlay_xoverlay_h
=no
42174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42176 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
42177 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
42178 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
42182 wxUSE_GSTREAMER
="no"
42183 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
42184 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
42190 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
42191 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
42194 for ac_dir
in $SEARCH_LIB;
42196 for ac_extension
in a so sl dylib dll.a
; do
42197 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
42198 ac_find_libraries
=$ac_dir
42205 if test "$ac_find_libraries" = "" ; then
42206 echo "$as_me:$LINENO: result: no" >&5
42207 echo "${ECHO_T}no" >&6
42208 wxUSE_GSTREAMER
="no"
42210 echo "$as_me:$LINENO: result: yes" >&5
42211 echo "${ECHO_T}yes" >&6
42214 if test "$wxUSE_GSTREAMER" = "yes"; then
42215 cat >>confdefs.h
<<\_ACEOF
42216 #define wxUSE_GSTREAMER 1
42219 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
42220 echo "${ECHO_T}GStreamer detection successful" >&6
42223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
42224 cat >>confdefs.h
<<\_ACEOF
42225 #define wxUSE_MEDIACTRL 1
42231 if test "$cross_compiling" = "yes"; then
42234 OSINFO
=`uname -s -r -m`
42235 OSINFO
="\"$OSINFO\""
42238 cat >>confdefs.h
<<_ACEOF
42239 #define WXWIN_OS_DESCRIPTION $OSINFO
42244 if test "x$prefix" != "xNONE"; then
42247 wxPREFIX
=$ac_default_prefix
42250 cat >>confdefs.h
<<_ACEOF
42251 #define wxINSTALL_PREFIX "$wxPREFIX"
42257 CORE_BASE_LIBS
="net base"
42258 CORE_GUI_LIBS
="adv core"
42260 if test "$wxUSE_XML" = "yes" ; then
42261 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
42263 if test "$wxUSE_ODBC" != "no" ; then
42264 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
42265 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
42267 if test "$wxUSE_HTML" = "yes" ; then
42268 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
42270 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42271 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
42273 if test "$wxUSE_XRC" = "yes" ; then
42274 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
42277 if test "$wxUSE_GUI" != "yes"; then
42288 if test "$wxUSE_MAC" = 1 ; then
42289 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
42290 if test "$USE_DARWIN" = 1; then
42291 LDFLAGS
="$LDFLAGS -framework QuickTime"
42293 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
42296 if test "$USE_DARWIN" = 1; then
42297 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
42299 LDFLAGS
="$LDFLAGS -lCarbonLib"
42302 if test "$wxUSE_COCOA" = 1 ; then
42303 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
42304 if test "$wxUSE_MEDIACTRL" = "yes"; then
42305 LDFLAGS
="$LDFLAGS -framework QuickTime"
42308 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
42309 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
42313 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
42320 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42321 echo "$as_me:$LINENO: checking for $ac_func" >&5
42322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42323 if eval "test \"\${$as_ac_var+set}\" = set"; then
42324 echo $ECHO_N "(cached) $ECHO_C" >&6
42326 cat >conftest.
$ac_ext <<_ACEOF
42329 cat confdefs.h
>>conftest.
$ac_ext
42330 cat >>conftest.
$ac_ext <<_ACEOF
42331 /* end confdefs.h. */
42332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42334 #define $ac_func innocuous_$ac_func
42336 /* System header to define __stub macros and hopefully few prototypes,
42337 which can conflict with char $ac_func (); below.
42338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42339 <limits.h> exists even on freestanding compilers. */
42342 # include <limits.h>
42344 # include <assert.h>
42349 /* Override any gcc2 internal prototype to avoid an error. */
42354 /* We use char because int might match the return type of a gcc2
42355 builtin and then its argument prototype would still apply. */
42357 /* The GNU C library defines this for functions which it implements
42358 to always fail with ENOSYS. Some functions are actually named
42359 something starting with __ and the normal name is an alias. */
42360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42363 char (*f) () = $ac_func;
42372 return f != $ac_func;
42377 rm -f conftest.
$ac_objext conftest
$ac_exeext
42378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42379 (eval $ac_link) 2>conftest.er1
42381 grep -v '^ *+' conftest.er1
>conftest.err
42383 cat conftest.err
>&5
42384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42385 (exit $ac_status); } &&
42386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42388 (eval $ac_try) 2>&5
42390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42391 (exit $ac_status); }; } &&
42392 { ac_try
='test -s conftest$ac_exeext'
42393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42394 (eval $ac_try) 2>&5
42396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42397 (exit $ac_status); }; }; then
42398 eval "$as_ac_var=yes"
42400 echo "$as_me: failed program was:" >&5
42401 sed 's/^/| /' conftest.
$ac_ext >&5
42403 eval "$as_ac_var=no"
42405 rm -f conftest.err conftest.
$ac_objext \
42406 conftest
$ac_exeext conftest.
$ac_ext
42408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42410 if test `eval echo '${'$as_ac_var'}'` = yes; then
42411 cat >>confdefs.h
<<_ACEOF
42412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42419 for ac_func
in floor
42421 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42422 echo "$as_me:$LINENO: checking for $ac_func" >&5
42423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42424 if eval "test \"\${$as_ac_var+set}\" = set"; then
42425 echo $ECHO_N "(cached) $ECHO_C" >&6
42427 cat >conftest.
$ac_ext <<_ACEOF
42430 cat confdefs.h
>>conftest.
$ac_ext
42431 cat >>conftest.
$ac_ext <<_ACEOF
42432 /* end confdefs.h. */
42433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42435 #define $ac_func innocuous_$ac_func
42437 /* System header to define __stub macros and hopefully few prototypes,
42438 which can conflict with char $ac_func (); below.
42439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42440 <limits.h> exists even on freestanding compilers. */
42443 # include <limits.h>
42445 # include <assert.h>
42450 /* Override any gcc2 internal prototype to avoid an error. */
42455 /* We use char because int might match the return type of a gcc2
42456 builtin and then its argument prototype would still apply. */
42458 /* The GNU C library defines this for functions which it implements
42459 to always fail with ENOSYS. Some functions are actually named
42460 something starting with __ and the normal name is an alias. */
42461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42464 char (*f) () = $ac_func;
42473 return f != $ac_func;
42478 rm -f conftest.
$ac_objext conftest
$ac_exeext
42479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42480 (eval $ac_link) 2>conftest.er1
42482 grep -v '^ *+' conftest.er1
>conftest.err
42484 cat conftest.err
>&5
42485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42486 (exit $ac_status); } &&
42487 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42489 (eval $ac_try) 2>&5
42491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42492 (exit $ac_status); }; } &&
42493 { ac_try
='test -s conftest$ac_exeext'
42494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42495 (eval $ac_try) 2>&5
42497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42498 (exit $ac_status); }; }; then
42499 eval "$as_ac_var=yes"
42501 echo "$as_me: failed program was:" >&5
42502 sed 's/^/| /' conftest.
$ac_ext >&5
42504 eval "$as_ac_var=no"
42506 rm -f conftest.err conftest.
$ac_objext \
42507 conftest
$ac_exeext conftest.
$ac_ext
42509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42511 if test `eval echo '${'$as_ac_var'}'` = yes; then
42512 cat >>confdefs.h
<<_ACEOF
42513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42519 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
42520 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
42521 if test "$have_cos" = 1 -a "$have_floor" = 1; then
42522 echo "$as_me:$LINENO: result: yes" >&5
42523 echo "${ECHO_T}yes" >&6
42525 echo "$as_me:$LINENO: result: no" >&5
42526 echo "${ECHO_T}no" >&6
42528 # use different functions to avoid configure caching
42534 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42535 echo "$as_me:$LINENO: checking for $ac_func" >&5
42536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42537 if eval "test \"\${$as_ac_var+set}\" = set"; then
42538 echo $ECHO_N "(cached) $ECHO_C" >&6
42540 cat >conftest.
$ac_ext <<_ACEOF
42543 cat confdefs.h
>>conftest.
$ac_ext
42544 cat >>conftest.
$ac_ext <<_ACEOF
42545 /* end confdefs.h. */
42546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42548 #define $ac_func innocuous_$ac_func
42550 /* System header to define __stub macros and hopefully few prototypes,
42551 which can conflict with char $ac_func (); below.
42552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42553 <limits.h> exists even on freestanding compilers. */
42556 # include <limits.h>
42558 # include <assert.h>
42563 /* Override any gcc2 internal prototype to avoid an error. */
42568 /* We use char because int might match the return type of a gcc2
42569 builtin and then its argument prototype would still apply. */
42571 /* The GNU C library defines this for functions which it implements
42572 to always fail with ENOSYS. Some functions are actually named
42573 something starting with __ and the normal name is an alias. */
42574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42577 char (*f) () = $ac_func;
42586 return f != $ac_func;
42591 rm -f conftest.
$ac_objext conftest
$ac_exeext
42592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42593 (eval $ac_link) 2>conftest.er1
42595 grep -v '^ *+' conftest.er1
>conftest.err
42597 cat conftest.err
>&5
42598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42599 (exit $ac_status); } &&
42600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42602 (eval $ac_try) 2>&5
42604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42605 (exit $ac_status); }; } &&
42606 { ac_try
='test -s conftest$ac_exeext'
42607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42608 (eval $ac_try) 2>&5
42610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42611 (exit $ac_status); }; }; then
42612 eval "$as_ac_var=yes"
42614 echo "$as_me: failed program was:" >&5
42615 sed 's/^/| /' conftest.
$ac_ext >&5
42617 eval "$as_ac_var=no"
42619 rm -f conftest.err conftest.
$ac_objext \
42620 conftest
$ac_exeext conftest.
$ac_ext
42622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42624 if test `eval echo '${'$as_ac_var'}'` = yes; then
42625 cat >>confdefs.h
<<_ACEOF
42626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42633 for ac_func
in ceil
42635 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42636 echo "$as_me:$LINENO: checking for $ac_func" >&5
42637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42638 if eval "test \"\${$as_ac_var+set}\" = set"; then
42639 echo $ECHO_N "(cached) $ECHO_C" >&6
42641 cat >conftest.
$ac_ext <<_ACEOF
42644 cat confdefs.h
>>conftest.
$ac_ext
42645 cat >>conftest.
$ac_ext <<_ACEOF
42646 /* end confdefs.h. */
42647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42649 #define $ac_func innocuous_$ac_func
42651 /* System header to define __stub macros and hopefully few prototypes,
42652 which can conflict with char $ac_func (); below.
42653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42654 <limits.h> exists even on freestanding compilers. */
42657 # include <limits.h>
42659 # include <assert.h>
42664 /* Override any gcc2 internal prototype to avoid an error. */
42669 /* We use char because int might match the return type of a gcc2
42670 builtin and then its argument prototype would still apply. */
42672 /* The GNU C library defines this for functions which it implements
42673 to always fail with ENOSYS. Some functions are actually named
42674 something starting with __ and the normal name is an alias. */
42675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42678 char (*f) () = $ac_func;
42687 return f != $ac_func;
42692 rm -f conftest.
$ac_objext conftest
$ac_exeext
42693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42694 (eval $ac_link) 2>conftest.er1
42696 grep -v '^ *+' conftest.er1
>conftest.err
42698 cat conftest.err
>&5
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); } &&
42701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42703 (eval $ac_try) 2>&5
42705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706 (exit $ac_status); }; } &&
42707 { ac_try
='test -s conftest$ac_exeext'
42708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42709 (eval $ac_try) 2>&5
42711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42712 (exit $ac_status); }; }; then
42713 eval "$as_ac_var=yes"
42715 echo "$as_me: failed program was:" >&5
42716 sed 's/^/| /' conftest.
$ac_ext >&5
42718 eval "$as_ac_var=no"
42720 rm -f conftest.err conftest.
$ac_objext \
42721 conftest
$ac_exeext conftest.
$ac_ext
42723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42725 if test `eval echo '${'$as_ac_var'}'` = yes; then
42726 cat >>confdefs.h
<<_ACEOF
42727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42733 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
42734 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
42735 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
42736 echo "$as_me:$LINENO: result: yes" >&5
42737 echo "${ECHO_T}yes" >&6
42739 echo "$as_me:$LINENO: result: no" >&5
42740 echo "${ECHO_T}no" >&6
42741 # not sure we should warn the user, crash, etc.
42745 if test "$wxUSE_GUI" = "yes"; then
42748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
42749 dynamic erase event exec font image minimal mobile \
42750 mobile/wxedit mobile/styles propsize render \
42751 richedit rotate shaped vscroll widgets"
42753 if test "$wxUSE_MONOLITHIC" != "yes"; then
42754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
42756 if test "$TOOLKIT" = "MSW"; then
42757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
42758 if test "$wxUSE_UNIVERSAL" != "yes"; then
42759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
42762 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
42763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
42766 SAMPLES_SUBDIRS
="console"
42770 INCLUDES
="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
42771 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
42773 if test "x$INTELCC" = "xyes" ; then
42774 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
42775 elif test "$GCC" = yes ; then
42776 CWARNINGS
="-Wall -Wundef"
42779 if test "x$INTELCXX" = "xyes" ; then
42780 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
42781 elif test "$GXX" = yes ; then
42782 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
42785 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
42787 CPPFLAGS
=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
42788 CFLAGS
=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CWARNINGS`
42789 CXXFLAGS
=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
42791 if test "x$MWCC" = "xyes"; then
42793 CC
="$CC -cwd source -I-"
42794 CXX
="$CXX -cwd source -I-"
42799 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
42800 EXTRALIBS_XML
="$EXPAT_LINK"
42801 EXTRALIBS_HTML
="$MSPACK_LINK"
42802 EXTRALIBS_ODBC
="$ODBC_LINK"
42803 if test "$wxUSE_GUI" = "yes"; then
42804 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_GNOMEPRINT`
42806 if test "$wxUSE_OPENGL" = "yes"; then
42807 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
42810 LDFLAGS
="$LDFLAGS $PROFILE"
42812 if test "$wxUSE_GTK" = 1; then
42815 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
42818 WXCONFIG_EXTRALIBS
="$LIBS"
42820 if test "$wxUSE_REGEX" = "builtin" ; then
42821 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
42823 if test "$wxUSE_EXPAT" = "builtin" ; then
42824 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
42826 if test "$wxUSE_ODBC" = "builtin" ; then
42827 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
42829 if test "$wxUSE_LIBTIFF" = "builtin" ; then
42830 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
42832 if test "$wxUSE_LIBJPEG" = "builtin" ; then
42833 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
42835 if test "$wxUSE_LIBPNG" = "builtin" ; then
42836 wxconfig_3rdparty
="png $wxconfig_3rdparty"
42838 if test "$wxUSE_ZLIB" = "builtin" ; then
42839 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
42842 for i
in $wxconfig_3rdparty ; do
42843 WXCONFIG_EXTRALIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_EXTRALIBS"
42847 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
42861 if test $wxUSE_MONOLITHIC = "yes" ; then
42867 if test $wxUSE_PLUGINS = "yes" ; then
42873 if test $wxUSE_ODBC != "no" ; then
42879 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
42885 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
42913 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
42924 TOOLKIT_USER
="GTK+"
42925 if test "$WXGTK20" = 1; then
42926 TOOLKIT_USER
="$TOOLKIT_USER 2"
42931 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
42935 if test "$wxUSE_WINE" = "yes"; then
42936 BAKEFILE_FORCE_PLATFORM
=win32
42942 if test "x$BAKEFILE_HOST" = "x"; then
42943 BAKEFILE_HOST
="${host}"
42946 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
42948 if test -n "$ac_tool_prefix"; then
42949 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
42950 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
42951 echo "$as_me:$LINENO: checking for $ac_word" >&5
42952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42953 if test "${ac_cv_prog_RANLIB+set}" = set; then
42954 echo $ECHO_N "(cached) $ECHO_C" >&6
42956 if test -n "$RANLIB"; then
42957 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
42959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42960 for as_dir
in $PATH
42963 test -z "$as_dir" && as_dir
=.
42964 for ac_exec_ext
in '' $ac_executable_extensions; do
42965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42966 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
42967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42975 RANLIB
=$ac_cv_prog_RANLIB
42976 if test -n "$RANLIB"; then
42977 echo "$as_me:$LINENO: result: $RANLIB" >&5
42978 echo "${ECHO_T}$RANLIB" >&6
42980 echo "$as_me:$LINENO: result: no" >&5
42981 echo "${ECHO_T}no" >&6
42985 if test -z "$ac_cv_prog_RANLIB"; then
42986 ac_ct_RANLIB
=$RANLIB
42987 # Extract the first word of "ranlib", so it can be a program name with args.
42988 set dummy ranlib
; ac_word
=$2
42989 echo "$as_me:$LINENO: checking for $ac_word" >&5
42990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42991 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
42992 echo $ECHO_N "(cached) $ECHO_C" >&6
42994 if test -n "$ac_ct_RANLIB"; then
42995 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
42997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42998 for as_dir
in $PATH
43001 test -z "$as_dir" && as_dir
=.
43002 for ac_exec_ext
in '' $ac_executable_extensions; do
43003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43004 ac_cv_prog_ac_ct_RANLIB
="ranlib"
43005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43011 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
43014 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
43015 if test -n "$ac_ct_RANLIB"; then
43016 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
43017 echo "${ECHO_T}$ac_ct_RANLIB" >&6
43019 echo "$as_me:$LINENO: result: no" >&5
43020 echo "${ECHO_T}no" >&6
43023 RANLIB
=$ac_ct_RANLIB
43025 RANLIB
="$ac_cv_prog_RANLIB"
43028 # Find a good install program. We prefer a C program (faster),
43029 # so one script is as good as another. But avoid the broken or
43030 # incompatible versions:
43031 # SysV /etc/install, /usr/sbin/install
43032 # SunOS /usr/etc/install
43033 # IRIX /sbin/install
43035 # AmigaOS /C/install, which installs bootblocks on floppy discs
43036 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
43037 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
43038 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
43039 # OS/2's system install, which has a completely different semantic
43040 # ./install, which can be erroneously created by make from ./install.sh.
43041 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
43042 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
43043 if test -z "$INSTALL"; then
43044 if test "${ac_cv_path_install+set}" = set; then
43045 echo $ECHO_N "(cached) $ECHO_C" >&6
43047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43048 for as_dir
in $PATH
43051 test -z "$as_dir" && as_dir
=.
43052 # Account for people who put trailing slashes in PATH elements.
43054 .
/ | .
// | /cC
/* | \
43055 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
43056 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
43059 # OSF1 and SCO ODT 3.0 have their own names for install.
43060 # Don't use installbsd from OSF since it installs stuff as root
43062 for ac_prog
in ginstall scoinst
install; do
43063 for ac_exec_ext
in '' $ac_executable_extensions; do
43064 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
43065 if test $ac_prog = install &&
43066 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43067 # AIX install. It has an incompatible calling convention.
43069 elif test $ac_prog = install &&
43070 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
43071 # program-specific install script used by HP pwplus--don't use.
43074 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
43086 if test "${ac_cv_path_install+set}" = set; then
43087 INSTALL
=$ac_cv_path_install
43089 # As a last resort, use the slow shell script. We don't cache a
43090 # path for INSTALL within a source directory, because that will
43091 # break other packages using the cache if that directory is
43092 # removed, or if the path is relative.
43093 INSTALL
=$ac_install_sh
43096 echo "$as_me:$LINENO: result: $INSTALL" >&5
43097 echo "${ECHO_T}$INSTALL" >&6
43099 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
43100 # It thinks the first close brace ends the variable substitution.
43101 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
43103 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
43105 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
43107 echo "$as_me:$LINENO: checking whether ln -s works" >&5
43108 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
43110 if test "$LN_S" = "ln -s"; then
43111 echo "$as_me:$LINENO: result: yes" >&5
43112 echo "${ECHO_T}yes" >&6
43114 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
43115 echo "${ECHO_T}no, using $LN_S" >&6
43119 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
43120 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
43121 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
43122 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
43123 echo $ECHO_N "(cached) $ECHO_C" >&6
43125 cat >conftest.
make <<\_ACEOF
43127 @
echo 'ac_maketemp="$(MAKE)"'
43129 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
43130 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
43131 if test -n "$ac_maketemp"; then
43132 eval ac_cv_prog_make_
${ac_make}_set
=yes
43134 eval ac_cv_prog_make_
${ac_make}_set
=no
43136 rm -f conftest.
make
43138 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
43139 echo "$as_me:$LINENO: result: yes" >&5
43140 echo "${ECHO_T}yes" >&6
43143 echo "$as_me:$LINENO: result: no" >&5
43144 echo "${ECHO_T}no" >&6
43145 SET_MAKE
="MAKE=${MAKE-make}"
43150 if test -n "$ac_tool_prefix"; then
43151 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
43152 set dummy
${ac_tool_prefix}ar; ac_word
=$2
43153 echo "$as_me:$LINENO: checking for $ac_word" >&5
43154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43155 if test "${ac_cv_prog_AR+set}" = set; then
43156 echo $ECHO_N "(cached) $ECHO_C" >&6
43158 if test -n "$AR"; then
43159 ac_cv_prog_AR
="$AR" # Let the user override the test.
43161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43162 for as_dir
in $PATH
43165 test -z "$as_dir" && as_dir
=.
43166 for ac_exec_ext
in '' $ac_executable_extensions; do
43167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43168 ac_cv_prog_AR
="${ac_tool_prefix}ar"
43169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43178 if test -n "$AR"; then
43179 echo "$as_me:$LINENO: result: $AR" >&5
43180 echo "${ECHO_T}$AR" >&6
43182 echo "$as_me:$LINENO: result: no" >&5
43183 echo "${ECHO_T}no" >&6
43187 if test -z "$ac_cv_prog_AR"; then
43189 # Extract the first word of "ar", so it can be a program name with args.
43190 set dummy
ar; ac_word
=$2
43191 echo "$as_me:$LINENO: checking for $ac_word" >&5
43192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43193 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
43194 echo $ECHO_N "(cached) $ECHO_C" >&6
43196 if test -n "$ac_ct_AR"; then
43197 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
43199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43200 for as_dir
in $PATH
43203 test -z "$as_dir" && as_dir
=.
43204 for ac_exec_ext
in '' $ac_executable_extensions; do
43205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43206 ac_cv_prog_ac_ct_AR
="ar"
43207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43213 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
43216 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
43217 if test -n "$ac_ct_AR"; then
43218 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
43219 echo "${ECHO_T}$ac_ct_AR" >&6
43221 echo "$as_me:$LINENO: result: no" >&5
43222 echo "${ECHO_T}no" >&6
43227 AR
="$ac_cv_prog_AR"
43230 if test -n "$ac_tool_prefix"; then
43231 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
43232 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
43233 echo "$as_me:$LINENO: checking for $ac_word" >&5
43234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43235 if test "${ac_cv_prog_STRIP+set}" = set; then
43236 echo $ECHO_N "(cached) $ECHO_C" >&6
43238 if test -n "$STRIP"; then
43239 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
43241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43242 for as_dir
in $PATH
43245 test -z "$as_dir" && as_dir
=.
43246 for ac_exec_ext
in '' $ac_executable_extensions; do
43247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43248 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
43249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43257 STRIP
=$ac_cv_prog_STRIP
43258 if test -n "$STRIP"; then
43259 echo "$as_me:$LINENO: result: $STRIP" >&5
43260 echo "${ECHO_T}$STRIP" >&6
43262 echo "$as_me:$LINENO: result: no" >&5
43263 echo "${ECHO_T}no" >&6
43267 if test -z "$ac_cv_prog_STRIP"; then
43269 # Extract the first word of "strip", so it can be a program name with args.
43270 set dummy strip
; ac_word
=$2
43271 echo "$as_me:$LINENO: checking for $ac_word" >&5
43272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43273 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
43274 echo $ECHO_N "(cached) $ECHO_C" >&6
43276 if test -n "$ac_ct_STRIP"; then
43277 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
43279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43280 for as_dir
in $PATH
43283 test -z "$as_dir" && as_dir
=.
43284 for ac_exec_ext
in '' $ac_executable_extensions; do
43285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43286 ac_cv_prog_ac_ct_STRIP
="strip"
43287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43293 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
43296 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
43297 if test -n "$ac_ct_STRIP"; then
43298 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
43299 echo "${ECHO_T}$ac_ct_STRIP" >&6
43301 echo "$as_me:$LINENO: result: no" >&5
43302 echo "${ECHO_T}no" >&6
43307 STRIP
="$ac_cv_prog_STRIP"
43310 if test -n "$ac_tool_prefix"; then
43311 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
43312 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
43313 echo "$as_me:$LINENO: checking for $ac_word" >&5
43314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43315 if test "${ac_cv_prog_NM+set}" = set; then
43316 echo $ECHO_N "(cached) $ECHO_C" >&6
43318 if test -n "$NM"; then
43319 ac_cv_prog_NM
="$NM" # Let the user override the test.
43321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43322 for as_dir
in $PATH
43325 test -z "$as_dir" && as_dir
=.
43326 for ac_exec_ext
in '' $ac_executable_extensions; do
43327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43328 ac_cv_prog_NM
="${ac_tool_prefix}nm"
43329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43338 if test -n "$NM"; then
43339 echo "$as_me:$LINENO: result: $NM" >&5
43340 echo "${ECHO_T}$NM" >&6
43342 echo "$as_me:$LINENO: result: no" >&5
43343 echo "${ECHO_T}no" >&6
43347 if test -z "$ac_cv_prog_NM"; then
43349 # Extract the first word of "nm", so it can be a program name with args.
43350 set dummy nm
; ac_word
=$2
43351 echo "$as_me:$LINENO: checking for $ac_word" >&5
43352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43353 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
43354 echo $ECHO_N "(cached) $ECHO_C" >&6
43356 if test -n "$ac_ct_NM"; then
43357 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
43359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43360 for as_dir
in $PATH
43363 test -z "$as_dir" && as_dir
=.
43364 for ac_exec_ext
in '' $ac_executable_extensions; do
43365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43366 ac_cv_prog_ac_ct_NM
="nm"
43367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43373 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
43376 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
43377 if test -n "$ac_ct_NM"; then
43378 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
43379 echo "${ECHO_T}$ac_ct_NM" >&6
43381 echo "$as_me:$LINENO: result: no" >&5
43382 echo "${ECHO_T}no" >&6
43387 NM
="$ac_cv_prog_NM"
43391 case ${BAKEFILE_HOST} in
43393 INSTALL_DIR
="mkdir -p"
43395 *) INSTALL_DIR
="$INSTALL -d"
43401 case ${BAKEFILE_HOST} in
43402 *-*-cygwin* | *-*-mingw32* )
43403 LDFLAGS_GUI
="-mwindows"
43409 echo "$as_me:$LINENO: checking if make is GNU make" >&5
43410 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
43411 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
43412 echo $ECHO_N "(cached) $ECHO_C" >&6
43415 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
43416 egrep -s GNU
> /dev
/null
); then
43417 bakefile_cv_prog_makeisgnu
="yes"
43419 bakefile_cv_prog_makeisgnu
="no"
43423 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
43424 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
43426 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
43443 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
43444 case "${BAKEFILE_HOST}" in
43451 *-pc-os2_emx | *-pc-os2-emx )
43461 powerpc
-apple-macos* )
43470 case "$BAKEFILE_FORCE_PLATFORM" in
43491 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
43492 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
43493 { (exit 1); exit 1; }; }
43508 # Check whether --enable-omf or --disable-omf was given.
43509 if test "${enable_omf+set}" = set; then
43510 enableval
="$enable_omf"
43511 bk_os2_use_omf
="$enableval"
43514 case "${BAKEFILE_HOST}" in
43516 if test "x$GCC" = "xyes"; then
43517 CFLAGS
="$CFLAGS -fno-common"
43518 CXXFLAGS
="$CXXFLAGS -fno-common"
43520 if test "x$XLCC" = "xyes"; then
43521 CFLAGS
="$CFLAGS -qnocommon"
43522 CXXFLAGS
="$CXXFLAGS -qnocommon"
43526 *-pc-os2_emx | *-pc-os2-emx )
43527 if test "x$bk_os2_use_omf" = "xyes" ; then
43530 LDFLAGS
="-Zomf $LDFLAGS"
43531 CFLAGS
="-Zomf $CFLAGS"
43532 CXXFLAGS
="-Zomf $CXXFLAGS"
43540 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
43546 SO_SUFFIX_MODULE
="so"
43551 DLLPREFIX_MODULE
=""
43555 case "${BAKEFILE_HOST}" in
43558 SO_SUFFIX_MODULE
="sl"
43562 SO_SUFFIX_MODULE
="a"
43566 SO_SUFFIX_MODULE
="dll"
43567 DLLIMP_SUFFIX
="dll.a"
43574 SO_SUFFIX_MODULE
="dll"
43575 DLLIMP_SUFFIX
="dll.a"
43585 *-pc-os2_emx | *-pc-os2-emx )
43587 SO_SUFFIX_MODULE
="dll"
43588 DLLIMP_SUFFIX
=$OS2_LIBEXT
43592 LIBEXT
=".$OS2_LIBEXT"
43597 SO_SUFFIX_MODULE
="bundle"
43601 if test "x$DLLIMP_SUFFIX" = "x" ; then
43602 DLLIMP_SUFFIX
="$SO_SUFFIX"
43617 if test "x$GCC" = "xyes"; then
43621 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
43622 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
43625 case "${BAKEFILE_HOST}" in
43627 if test "x$GCC" != "xyes"; then
43628 LDFLAGS
="$LDFLAGS -L/usr/lib"
43630 SHARED_LD_CC
="${CC} -b -o"
43631 SHARED_LD_CXX
="${CXX} -b -o"
43637 if test "x$GCC" != "xyes"; then
43638 echo "$as_me:$LINENO: checking for Intel compiler" >&5
43639 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
43640 if test "${bakefile_cv_prog_icc+set}" = set; then
43641 echo $ECHO_N "(cached) $ECHO_C" >&6
43644 cat >conftest.
$ac_ext <<_ACEOF
43647 cat confdefs.h
>>conftest.
$ac_ext
43648 cat >>conftest.
$ac_ext <<_ACEOF
43649 /* end confdefs.h. */
43655 #ifndef __INTEL_COMPILER
43663 rm -f conftest.
$ac_objext
43664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43665 (eval $ac_compile) 2>conftest.er1
43667 grep -v '^ *+' conftest.er1
>conftest.err
43669 cat conftest.err
>&5
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); } &&
43672 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43674 (eval $ac_try) 2>&5
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); }; } &&
43678 { ac_try
='test -s conftest.$ac_objext'
43679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43680 (eval $ac_try) 2>&5
43682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43683 (exit $ac_status); }; }; then
43684 bakefile_cv_prog_icc
=yes
43686 echo "$as_me: failed program was:" >&5
43687 sed 's/^/| /' conftest.
$ac_ext >&5
43689 bakefile_cv_prog_icc
=no
43692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43695 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
43696 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
43697 if test "$bakefile_cv_prog_icc" = "yes"; then
43704 if test "x$GCC" != xyes
; then
43705 SHARED_LD_CC
="${CC} -G -o"
43706 SHARED_LD_CXX
="${CXX} -G -o"
43713 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
43714 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
43715 if test "${wx_cv_gcc31+set}" = set; then
43716 echo $ECHO_N "(cached) $ECHO_C" >&6
43719 cat >conftest.
$ac_ext <<_ACEOF
43722 cat confdefs.h
>>conftest.
$ac_ext
43723 cat >>conftest.
$ac_ext <<_ACEOF
43724 /* end confdefs.h. */
43730 #if (__GNUC__ < 3) || \
43731 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
43739 rm -f conftest.
$ac_objext
43740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43741 (eval $ac_compile) 2>conftest.er1
43743 grep -v '^ *+' conftest.er1
>conftest.err
43745 cat conftest.err
>&5
43746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747 (exit $ac_status); } &&
43748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43750 (eval $ac_try) 2>&5
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); }; } &&
43754 { ac_try
='test -s conftest.$ac_objext'
43755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43756 (eval $ac_try) 2>&5
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); }; }; then
43764 echo "$as_me: failed program was:" >&5
43765 sed 's/^/| /' conftest.
$ac_ext >&5
43772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43775 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
43776 echo "${ECHO_T}$wx_cv_gcc31" >&6
43777 if test "$wx_cv_gcc31" = "no"; then
43780 cat <<EOF >shared-ld-sh
43782 #-----------------------------------------------------------------------------
43783 #-- Name: distrib/mac/shared-ld-sh
43784 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
43785 #-- Author: Gilles Depeyrot
43786 #-- Copyright: (c) 2002 Gilles Depeyrot
43787 #-- Licence: any use permitted
43788 #-----------------------------------------------------------------------------
43793 linking_flag="-dynamiclib"
43794 ldargs="-r -keep_private_externs -nostdlib"
43796 while test ${D}# -gt 0; do
43803 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
43804 # collect these options and values
43805 args="${D}{args} ${D}1 ${D}2"
43810 # collect these load args
43811 ldargs="${D}{ldargs} ${D}1"
43814 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
43815 # collect these options
43816 args="${D}{args} ${D}1"
43819 -dynamiclib|-bundle)
43820 linking_flag="${D}1"
43824 echo "shared-ld: unhandled option '${D}1'"
43828 *.o | *.a | *.dylib)
43829 # collect object files
43830 objects="${D}{objects} ${D}1"
43834 echo "shared-ld: unhandled argument '${D}1'"
43845 # Link one module containing all the others
43847 if test ${D}{verbose} = 1; then
43848 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
43850 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
43854 # Link the shared library from the single module created, but only if the
43855 # previous command didn't fail:
43857 if test ${D}{status} = 0; then
43858 if test ${D}{verbose} = 1; then
43859 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
43861 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
43866 # Remove intermediate module
43868 rm -f master.${D}${D}.o
43873 chmod +x shared
-ld-sh
43875 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
43876 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
43877 SHARED_LD_CXX
="$SHARED_LD_CC"
43878 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
43880 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
43881 SHARED_LD_MODULE_CC
="\${CC} -bundle -single_module -headerpad_max_install_names -o"
43882 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
43883 SHARED_LD_MODULE_CXX
="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
43886 if test "x$GCC" == "xyes"; then
43887 PIC_FLAG
="-dynamic -fPIC"
43889 if test "x$XLCC" = "xyes"; then
43890 PIC_FLAG
="-dynamic -DPIC"
43895 if test "x$GCC" = "xyes"; then
43898 case "${BAKEFILE_HOST}" in
43900 LD_EXPFULL
="-Wl,-bexpfull"
43904 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
43905 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
43907 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
43908 set dummy makeC
++SharedLib
; ac_word
=$2
43909 echo "$as_me:$LINENO: checking for $ac_word" >&5
43910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43911 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
43912 echo $ECHO_N "(cached) $ECHO_C" >&6
43914 if test -n "$AIX_CXX_LD"; then
43915 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
43917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43918 for as_dir
in $PATH
43921 test -z "$as_dir" && as_dir
=.
43922 for ac_exec_ext
in '' $ac_executable_extensions; do
43923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43924 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
43925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43931 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
43934 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
43935 if test -n "$AIX_CXX_LD"; then
43936 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
43937 echo "${ECHO_T}$AIX_CXX_LD" >&6
43939 echo "$as_me:$LINENO: result: no" >&5
43940 echo "${ECHO_T}no" >&6
43943 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
43944 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
43949 SHARED_LD_CC
="${LD} -nostart -o"
43950 SHARED_LD_CXX
="${LD} -nostart -o"
43954 if test "x$GCC" != "xyes"; then
43959 *-*-cygwin* | *-*-mingw32* )
43961 SHARED_LD_CC
="\$(CC) -shared -o"
43962 SHARED_LD_CXX
="\$(CXX) -shared -o"
43966 *-pc-os2_emx | *-pc-os2-emx )
43967 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43968 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
43972 cat <<EOF >dllar.sh
43975 # dllar - a tool to build both a .dll and an .a file
43976 # from a set of object (.o) files for EMX/OS2.
43978 # Written by Andrew Zabolotny, bit@freya.etu.ru
43979 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
43981 # This script will accept a set of files on the command line.
43982 # All the public symbols from the .o files will be exported into
43983 # a .DEF file, then linker will be run (through gcc) against them to
43984 # build a shared library consisting of all given .o files. All libraries
43985 # (.a) will be first decompressed into component .o files then act as
43986 # described above. You can optionally give a description (-d "description")
43987 # which will be put into .DLL. To see the list of accepted options (as well
43988 # as command-line format) simply run this program without options. The .DLL
43989 # is built to be imported by name (there is no guarantee that new versions
43990 # of the library you build will have same ordinals for same symbols).
43992 # dllar is free software; you can redistribute it and/or modify
43993 # it under the terms of the GNU General Public License as published by
43994 # the Free Software Foundation; either version 2, or (at your option)
43995 # any later version.
43997 # dllar is distributed in the hope that it will be useful,
43998 # but WITHOUT ANY WARRANTY; without even the implied warranty of
43999 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
44000 # GNU General Public License for more details.
44002 # You should have received a copy of the GNU General Public License
44003 # along with dllar; see the file COPYING. If not, write to the Free
44004 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
44007 # To successfuly run this program you will need:
44008 # - Current drive should have LFN support (HPFS, ext2, network, etc)
44009 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
44011 # (used to build the .dll)
44013 # (used to create .def file from .o files)
44015 # (used to create .a file from .def file)
44016 # - GNU text utilites (cat, sort, uniq)
44017 # used to process emxexp output
44018 # - GNU file utilities (mv, rm)
44020 # - lxlite (optional, see flag below)
44021 # (used for general .dll cleanup)
44028 # basnam, variant of basename, which does _not_ remove the path, _iff_
44029 # second argument (suffix to remove) is given
44033 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
44036 echo ${D}1 | sed 's/'${D}2'${D}//'
44039 echo "error in basnam ${D}*"
44045 # Cleanup temporary files and output
44048 for i in ${D}inputFiles ; do
44051 rm -rf \`basnam ${D}i !\`
44058 # Kill result in case of failure as there is just to many stupid make/nmake
44059 # things out there which doesn't do this.
44060 if [ ${D}# -eq 0 ]; then
44061 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
44065 # Print usage and exit script with rc=1.
44067 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
44068 echo ' [-name-mangler-script script.sh]'
44069 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
44070 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
44071 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
44072 echo ' [*.o] [*.a]'
44073 echo '*> "output_file" should have no extension.'
44074 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
44075 echo ' The import library name is derived from this and is set to "name".a,'
44076 echo ' unless overridden by -import'
44077 echo '*> "importlib_name" should have no extension.'
44078 echo ' If it has the .o, or .a extension, it is automatically removed.'
44079 echo ' This name is used as the import library name and may be longer and'
44080 echo ' more descriptive than the DLL name which has to follow the old '
44081 echo ' 8.3 convention of FAT.'
44082 echo '*> "script.sh may be given to override the output_file name by a'
44083 echo ' different name. It is mainly useful if the regular make process'
44084 echo ' of some package does not take into account OS/2 restriction of'
44085 echo ' DLL name lengths. It takes the importlib name as input and is'
44086 echo ' supposed to procude a shorter name as output. The script should'
44087 echo ' expect to get importlib_name without extension and should produce'
44088 echo ' a (max.) 8 letter name without extension.'
44089 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
44090 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
44091 echo ' These flags will be put at the start of GCC command line.'
44092 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
44093 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
44094 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
44095 echo ' If the last character of a symbol is "*", all symbols beginning'
44096 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
44097 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
44098 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
44099 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
44100 echo ' C runtime DLLs.'
44101 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
44102 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
44103 echo ' unchanged to GCC at the end of command line.'
44104 echo '*> If you create a DLL from a library and you do not specify -o,'
44105 echo ' the basename for DLL and import library will be set to library name,'
44106 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
44107 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
44108 echo ' library will be renamed into gcc_s.a.'
44111 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
44112 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
44117 # Execute a command.
44118 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
44119 # @Uses Whatever CleanUp() uses.
44125 if [ ${D}rcCmd -ne 0 ]; then
44126 echo "command failed, exit code="${D}rcCmd
44141 CFLAGS="-s -Zcrtdll"
44143 EXPORT_BY_ORDINALS=0
44148 case ${D}curDirS in
44152 curDirS=${D}{curDirS}"/"
44155 # Parse commandline
44158 while [ ${D}1 ]; do
44161 EXPORT_BY_ORDINALS=1;
44171 -name-mangler-script)
44192 exclude_symbols=${D}{exclude_symbols}${D}1" "
44196 library_flags=${D}{library_flags}${D}1" "
44215 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44218 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
44219 if [ ${D}omfLinking -eq 1 ]; then
44220 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
44222 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
44227 if [ ${D}libsToLink -ne 0 ]; then
44228 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
44230 for file in ${D}1 ; do
44231 if [ -f ${D}file ]; then
44232 inputFiles="${D}{inputFiles} ${D}file"
44236 if [ ${D}found -eq 0 ]; then
44237 echo "ERROR: No file(s) found: "${D}1
44244 done # iterate cmdline words
44247 if [ -z "${D}inputFiles" ]; then
44248 echo "dllar: no input files"
44252 # Now extract all .o files from .a files
44254 for file in ${D}inputFiles ; do
44265 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
44270 dirname=\`basnam ${D}file ${D}suffix\`"_%"
44272 if [ ${D}? -ne 0 ]; then
44273 echo "Failed to create subdirectory ./${D}dirname"
44277 # Append '!' to indicate archive
44278 newInputFiles="${D}newInputFiles ${D}{dirname}!"
44279 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
44282 for subfile in ${D}dirname/*.o* ; do
44283 if [ -f ${D}subfile ]; then
44285 if [ -s ${D}subfile ]; then
44286 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
44287 newInputFiles="${D}newInputFiles ${D}subfile"
44291 if [ ${D}found -eq 0 ]; then
44292 echo "WARNING: there are no files in archive \\'${D}file\\'"
44296 newInputFiles="${D}{newInputFiles} ${D}file"
44300 inputFiles="${D}newInputFiles"
44302 # Output filename(s).
44304 if [ -z ${D}outFile ]; then
44306 set outFile ${D}inputFiles; outFile=${D}2
44309 # If it is an archive, remove the '!' and the '_%' suffixes
44310 case ${D}outFile in
44312 outFile=\`basnam ${D}outFile _%!\`
44317 case ${D}outFile in
44319 outFile=\`basnam ${D}outFile .dll\`
44322 outFile=\`basnam ${D}outFile .DLL\`
44325 outFile=\`basnam ${D}outFile .o\`
44328 outFile=\`basnam ${D}outFile .obj\`
44331 outFile=\`basnam ${D}outFile .a\`
44334 outFile=\`basnam ${D}outFile .lib\`
44339 case ${D}outimpFile in
44341 outimpFile=\`basnam ${D}outimpFile .a\`
44344 outimpFile=\`basnam ${D}outimpFile .lib\`
44349 if [ -z ${D}outimpFile ]; then
44350 outimpFile=${D}outFile
44352 defFile="${D}{outFile}.def"
44353 arcFile="${D}{outimpFile}.a"
44354 arcFile2="${D}{outimpFile}.lib"
44356 #create ${D}dllFile as something matching 8.3 restrictions,
44357 if [ -z ${D}renameScript ] ; then
44358 dllFile="${D}outFile"
44360 dllFile=\`${D}renameScript ${D}outimpFile\`
44363 if [ ${D}do_backup -ne 0 ] ; then
44364 if [ -f ${D}arcFile ] ; then
44365 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
44367 if [ -f ${D}arcFile2 ] ; then
44368 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
44372 # Extract public symbols from all the object files.
44373 tmpdefFile=${D}{defFile}_%
44374 rm -f ${D}tmpdefFile
44375 for file in ${D}inputFiles ; do
44380 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
44385 # Create the def file.
44387 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
44388 dllFile="${D}{dllFile}.dll"
44389 if [ ! -z ${D}description ]; then
44390 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
44392 echo "EXPORTS" >> ${D}defFile
44394 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
44395 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
44397 # Checks if the export is ok or not.
44398 for word in ${D}exclude_symbols; do
44399 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
44400 mv ${D}{tmpdefFile}% ${D}tmpdefFile
44404 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44405 sed "=" < ${D}tmpdefFile | \\
44409 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
44411 ' > ${D}{tmpdefFile}%
44412 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
44414 rm -f ${D}{tmpdefFile}%
44416 cat ${D}tmpdefFile >> ${D}defFile
44417 rm -f ${D}tmpdefFile
44419 # Do linking, create implib, and apply lxlite.
44421 for file in ${D}inputFiles ; do
44426 gccCmdl="${D}gccCmdl ${D}file"
44430 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
44431 touch "${D}{outFile}.dll"
44433 doCommand "emximp -o ${D}arcFile ${D}defFile"
44434 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
44436 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
44439 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
44441 doCommand "emxomf -s -l ${D}arcFile"
44451 powerpc
-apple-macos* | \
44452 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
44461 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
44462 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
44463 { (exit 1); exit 1; }; }
44466 if test "x$PIC_FLAG" != "x" ; then
44467 PIC_FLAG
="$PIC_FLAG -DPIC"
44470 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
44471 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
44473 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
44474 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
44493 case "${BAKEFILE_HOST}" in
44494 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
44495 SONAME_FLAG
="-Wl,-soname,"
44529 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
44530 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
44533 if test "x$GCC" = "xyes"; then
44535 case "${BAKEFILE_HOST}" in
44537 DEPSFLAG
="-no-cpp-precomp -MMD"
44543 echo "$as_me:$LINENO: result: gcc" >&5
44544 echo "${ECHO_T}gcc" >&6
44545 elif test "x$MWCC" = "xyes"; then
44548 echo "$as_me:$LINENO: result: mwcc" >&5
44549 echo "${ECHO_T}mwcc" >&6
44550 elif test "x$SUNCC" = "xyes"; then
44553 echo "$as_me:$LINENO: result: Sun cc" >&5
44554 echo "${ECHO_T}Sun cc" >&6
44555 elif test "x$SGICC" = "xyes"; then
44558 echo "$as_me:$LINENO: result: SGI cc" >&5
44559 echo "${ECHO_T}SGI cc" >&6
44562 echo "$as_me:$LINENO: result: none" >&5
44563 echo "${ECHO_T}none" >&6
44566 if test $DEPS_TRACKING = 1 ; then
44572 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
44573 # script. It is used to track C/C++ files dependencies in portable way.
44575 # Permission is given to use this file in any way.
44577 DEPSMODE=${DEPSMODE}
44579 DEPSFLAG="${DEPSFLAG}"
44581 mkdir -p ${D}DEPSDIR
44583 if test ${D}DEPSMODE = gcc ; then
44584 ${D}* ${D}{DEPSFLAG}
44586 if test ${D}{status} != 0 ; then
44589 # move created file to the location we want it in:
44590 while test ${D}# -gt 0; do
44604 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
44605 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
44606 if test -f ${D}depfile ; then
44607 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
44610 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
44611 if test -f ${D}depfile ; then
44612 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
44617 elif test ${D}DEPSMODE = mwcc ; then
44618 ${D}* || exit ${D}?
44619 # Run mwcc again with -MM and redirect into the dep file we want
44620 # NOTE: We can't use shift here because we need ${D}* to be valid
44622 for arg in ${D}* ; do
44623 if test "${D}prevarg" = "-o"; then
44636 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
44638 elif test ${D}DEPSMODE = unixcc; then
44639 ${D}* || exit ${D}?
44640 # Run compiler again with deps flag and redirect into the dep file.
44641 # It doesn't work if the '-o FILE' option is used, but without it the
44642 # dependency file will contain the wrong name for the object. So it is
44643 # removed from the command line, and the dep file is fixed with sed.
44645 while test ${D}# -gt 0; do
44652 eval arg${D}#=\\${D}1
44653 cmd="${D}cmd \\${D}arg${D}#"
44658 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
44675 case ${BAKEFILE_HOST} in
44676 *-*-cygwin* | *-*-mingw32* )
44677 if test "$build" != "$host" ; then
44678 RESCOMP
=$host_alias-windres
44680 # Extract the first word of "windres", so it can be a program name with args.
44681 set dummy windres
; ac_word
=$2
44682 echo "$as_me:$LINENO: checking for $ac_word" >&5
44683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44684 if test "${ac_cv_prog_RESCOMP+set}" = set; then
44685 echo $ECHO_N "(cached) $ECHO_C" >&6
44687 if test -n "$RESCOMP"; then
44688 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
44690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44691 for as_dir
in $PATH
44694 test -z "$as_dir" && as_dir
=.
44695 for ac_exec_ext
in '' $ac_executable_extensions; do
44696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44697 ac_cv_prog_RESCOMP
="windres"
44698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44704 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="windres"
44707 RESCOMP
=$ac_cv_prog_RESCOMP
44708 if test -n "$RESCOMP"; then
44709 echo "$as_me:$LINENO: result: $RESCOMP" >&5
44710 echo "${ECHO_T}$RESCOMP" >&6
44712 echo "$as_me:$LINENO: result: no" >&5
44713 echo "${ECHO_T}no" >&6
44719 *-*-darwin* | powerpc
-apple-macos* )
44720 # Extract the first word of "Rez", so it can be a program name with args.
44721 set dummy Rez
; ac_word
=$2
44722 echo "$as_me:$LINENO: checking for $ac_word" >&5
44723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44724 if test "${ac_cv_prog_RESCOMP+set}" = set; then
44725 echo $ECHO_N "(cached) $ECHO_C" >&6
44727 if test -n "$RESCOMP"; then
44728 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
44730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44731 for as_dir
in $PATH
44734 test -z "$as_dir" && as_dir
=.
44735 for ac_exec_ext
in '' $ac_executable_extensions; do
44736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44737 ac_cv_prog_RESCOMP
="Rez"
44738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44744 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
44747 RESCOMP
=$ac_cv_prog_RESCOMP
44748 if test -n "$RESCOMP"; then
44749 echo "$as_me:$LINENO: result: $RESCOMP" >&5
44750 echo "${ECHO_T}$RESCOMP" >&6
44752 echo "$as_me:$LINENO: result: no" >&5
44753 echo "${ECHO_T}no" >&6
44756 # Extract the first word of "SetFile", so it can be a program name with args.
44757 set dummy SetFile
; ac_word
=$2
44758 echo "$as_me:$LINENO: checking for $ac_word" >&5
44759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44760 if test "${ac_cv_prog_SETFILE+set}" = set; then
44761 echo $ECHO_N "(cached) $ECHO_C" >&6
44763 if test -n "$SETFILE"; then
44764 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
44766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44767 for as_dir
in $PATH
44770 test -z "$as_dir" && as_dir
=.
44771 for ac_exec_ext
in '' $ac_executable_extensions; do
44772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44773 ac_cv_prog_SETFILE
="SetFile"
44774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44780 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
44783 SETFILE
=$ac_cv_prog_SETFILE
44784 if test -n "$SETFILE"; then
44785 echo "$as_me:$LINENO: result: $SETFILE" >&5
44786 echo "${ECHO_T}$SETFILE" >&6
44788 echo "$as_me:$LINENO: result: no" >&5
44789 echo "${ECHO_T}no" >&6
44799 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
44802 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
44806 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
44807 if test "${enable_precomp_headers+set}" = set; then
44808 enableval
="$enable_precomp_headers"
44809 bk_use_pch
="$enableval"
44814 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
44815 if test "x$GCC" = "xyes"; then
44816 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
44817 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
44818 cat >conftest.
$ac_ext <<_ACEOF
44821 cat confdefs.h
>>conftest.
$ac_ext
44822 cat >>conftest.
$ac_ext <<_ACEOF
44823 /* end confdefs.h. */
44829 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
44830 #error "no pch support"
44833 #error "no pch support"
44835 #if (__GNUC__ == 3) && \
44836 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
44837 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
44838 #error "no pch support"
44845 rm -f conftest.
$ac_objext
44846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44847 (eval $ac_compile) 2>conftest.er1
44849 grep -v '^ *+' conftest.er1
>conftest.err
44851 cat conftest.err
>&5
44852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44853 (exit $ac_status); } &&
44854 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44856 (eval $ac_try) 2>&5
44858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44859 (exit $ac_status); }; } &&
44860 { ac_try
='test -s conftest.$ac_objext'
44861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44862 (eval $ac_try) 2>&5
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); }; }; then
44867 echo "$as_me:$LINENO: result: yes" >&5
44868 echo "${ECHO_T}yes" >&6
44872 echo "$as_me: failed program was:" >&5
44873 sed 's/^/| /' conftest.
$ac_ext >&5
44876 echo "$as_me:$LINENO: result: no" >&5
44877 echo "${ECHO_T}no" >&6
44880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44881 if test $GCC_PCH = 1 ; then
44884 cat <<EOF >bk-make-pch
44887 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
44888 # script. It is used to generated precompiled headers.
44890 # Permission is given to use this file in any way.
44899 while test ${D}{#} -gt 0; do
44902 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
44903 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
44904 headerfile="${D}{incdir}/${D}{header}"
44908 compiler="${D}{compiler} ${D}{1}"
44912 if test "x${D}{headerfile}" = "x" ; then
44913 echo "error: can't find header ${D}{header} in include paths" >2
44915 if test -f ${D}{outfile} ; then
44916 rm -f ${D}{outfile}
44918 mkdir -p \`dirname ${D}{outfile}\`
44920 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
44922 # can do this because gcc is >= 3.4:
44923 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
44928 chmod +x bk
-make-pch
44935 COND_BUILD_DEBUG
="#"
44936 if test "x$BUILD" = "xdebug" ; then
44937 COND_BUILD_DEBUG
=""
44940 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
44941 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
44942 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
44945 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
44946 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
44947 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
44950 COND_BUILD_DEBUG_UNICODE_0
="#"
44951 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
44952 COND_BUILD_DEBUG_UNICODE_0
=""
44955 COND_BUILD_DEBUG_UNICODE_1
="#"
44956 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
44957 COND_BUILD_DEBUG_UNICODE_1
=""
44960 COND_BUILD_RELEASE
="#"
44961 if test "x$BUILD" = "xrelease" ; then
44962 COND_BUILD_RELEASE
=""
44965 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
44966 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
44967 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
44970 COND_BUILD_RELEASE_UNICODE_0
="#"
44971 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
44972 COND_BUILD_RELEASE_UNICODE_0
=""
44975 COND_BUILD_RELEASE_UNICODE_1
="#"
44976 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
44977 COND_BUILD_RELEASE_UNICODE_1
=""
44980 COND_DEBUG_FLAG_1
="#"
44981 if test "x$DEBUG_FLAG" = "x1" ; then
44982 COND_DEBUG_FLAG_1
=""
44985 COND_DEBUG_INFO_0
="#"
44986 if test "x$DEBUG_INFO" = "x0" ; then
44987 COND_DEBUG_INFO_0
=""
44990 COND_DEBUG_INFO_1
="#"
44991 if test "x$DEBUG_INFO" = "x1" ; then
44992 COND_DEBUG_INFO_1
=""
44995 COND_DEPS_TRACKING_0
="#"
44996 if test "x$DEPS_TRACKING" = "x0" ; then
44997 COND_DEPS_TRACKING_0
=""
45000 COND_DEPS_TRACKING_1
="#"
45001 if test "x$DEPS_TRACKING" = "x1" ; then
45002 COND_DEPS_TRACKING_1
=""
45006 if test "x$GCC_PCH" = "x1" ; then
45010 COND_MONOLITHIC_0
="#"
45011 if test "x$MONOLITHIC" = "x0" ; then
45012 COND_MONOLITHIC_0
=""
45015 COND_MONOLITHIC_0_SHARED_0
="#"
45016 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
45017 COND_MONOLITHIC_0_SHARED_0
=""
45020 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
45021 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
45022 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
45025 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
45026 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45027 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
45030 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
45031 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45032 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
45035 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
45036 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45037 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
45040 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
45041 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
45042 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
45045 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
45046 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45047 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
45050 COND_MONOLITHIC_0_SHARED_1
="#"
45051 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
45052 COND_MONOLITHIC_0_SHARED_1
=""
45055 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
45056 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
45057 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
45060 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
45061 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
45062 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
45065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
45066 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
45067 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
45070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
45071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
45072 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
45075 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
45076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
45077 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
45080 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
45081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45082 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
45085 COND_MONOLITHIC_0_USE_ODBC_1
="#"
45086 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
45087 COND_MONOLITHIC_0_USE_ODBC_1
=""
45090 COND_MONOLITHIC_1
="#"
45091 if test "x$MONOLITHIC" = "x1" ; then
45092 COND_MONOLITHIC_1
=""
45095 COND_MONOLITHIC_1_SHARED_0
="#"
45096 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
45097 COND_MONOLITHIC_1_SHARED_0
=""
45100 COND_MONOLITHIC_1_SHARED_1
="#"
45101 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
45102 COND_MONOLITHIC_1_SHARED_1
=""
45105 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
45106 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
45107 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
45110 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
45111 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
45112 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
45115 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
45116 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45117 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
45120 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
45121 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
45122 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
45125 COND_PLATFORM_MACOSX_1
="#"
45126 if test "x$PLATFORM_MACOSX" = "x1" ; then
45127 COND_PLATFORM_MACOSX_1
=""
45130 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
45131 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
45132 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
45135 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
45136 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
45137 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
45140 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
45141 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
45142 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
45145 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
45146 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
45147 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
45150 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
45151 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45152 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
45155 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
45156 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45157 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
45160 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
45161 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
45162 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
45165 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
45166 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
45167 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
45170 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
45171 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
45172 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
45175 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
45176 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45177 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
45180 COND_PLATFORM_MACOS_1
="#"
45181 if test "x$PLATFORM_MACOS" = "x1" ; then
45182 COND_PLATFORM_MACOS_1
=""
45185 COND_PLATFORM_MAC_1
="#"
45186 if test "x$PLATFORM_MAC" = "x1" ; then
45187 COND_PLATFORM_MAC_1
=""
45190 COND_PLATFORM_MSDOS_1
="#"
45191 if test "x$PLATFORM_MSDOS" = "x1" ; then
45192 COND_PLATFORM_MSDOS_1
=""
45195 COND_PLATFORM_OS2_1
="#"
45196 if test "x$PLATFORM_OS2" = "x1" ; then
45197 COND_PLATFORM_OS2_1
=""
45200 COND_PLATFORM_UNIX_0
="#"
45201 if test "x$PLATFORM_UNIX" = "x0" ; then
45202 COND_PLATFORM_UNIX_0
=""
45205 COND_PLATFORM_UNIX_1
="#"
45206 if test "x$PLATFORM_UNIX" = "x1" ; then
45207 COND_PLATFORM_UNIX_1
=""
45210 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
45211 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
45212 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
45215 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
45216 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
45217 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
45220 COND_PLATFORM_WIN32_0
="#"
45221 if test "x$PLATFORM_WIN32" = "x0" ; then
45222 COND_PLATFORM_WIN32_0
=""
45225 COND_PLATFORM_WIN32_1
="#"
45226 if test "x$PLATFORM_WIN32" = "x1" ; then
45227 COND_PLATFORM_WIN32_1
=""
45231 if test "x$SHARED" = "x0" ; then
45235 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
45236 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
45237 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
45240 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
45241 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
45242 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
45245 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
45246 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
45247 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
45250 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
45251 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45252 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
45255 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
45256 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45257 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
45260 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
45261 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45262 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
45265 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
45266 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45267 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
45270 COND_SHARED_0_USE_XRC_1
="#"
45271 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
45272 COND_SHARED_0_USE_XRC_1
=""
45275 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
45276 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
45277 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
45280 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
45281 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
45282 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
45285 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
45286 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
45287 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
45290 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
45291 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
45292 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
45296 if test "x$SHARED" = "x1" ; then
45300 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
45301 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
45302 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
45305 COND_SHARED_1_USE_XRC_1
="#"
45306 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
45307 COND_SHARED_1_USE_XRC_1
=""
45311 if test "x$TOOLKIT" = "x" ; then
45315 COND_TOOLKIT_COCOA
="#"
45316 if test "x$TOOLKIT" = "xCOCOA" ; then
45317 COND_TOOLKIT_COCOA
=""
45320 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
45321 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
45322 COND_TOOLKIT_COCOA_USE_GUI_1
=""
45325 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
45326 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45327 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
45330 COND_TOOLKIT_GTK
="#"
45331 if test "x$TOOLKIT" = "xGTK" ; then
45332 COND_TOOLKIT_GTK
=""
45335 COND_TOOLKIT_GTK_USE_GUI_1
="#"
45336 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
45337 COND_TOOLKIT_GTK_USE_GUI_1
=""
45340 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
45341 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45342 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
45345 COND_TOOLKIT_MAC
="#"
45346 if test "x$TOOLKIT" = "xMAC" ; then
45347 COND_TOOLKIT_MAC
=""
45350 COND_TOOLKIT_MAC_USE_GUI_1
="#"
45351 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
45352 COND_TOOLKIT_MAC_USE_GUI_1
=""
45355 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
45356 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45357 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
45360 COND_TOOLKIT_MGL
="#"
45361 if test "x$TOOLKIT" = "xMGL" ; then
45362 COND_TOOLKIT_MGL
=""
45365 COND_TOOLKIT_MGL_USE_GUI_1
="#"
45366 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
45367 COND_TOOLKIT_MGL_USE_GUI_1
=""
45370 COND_TOOLKIT_MOTIF
="#"
45371 if test "x$TOOLKIT" = "xMOTIF" ; then
45372 COND_TOOLKIT_MOTIF
=""
45375 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
45376 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
45377 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
45380 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
45381 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45382 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
45385 COND_TOOLKIT_MSW
="#"
45386 if test "x$TOOLKIT" = "xMSW" ; then
45387 COND_TOOLKIT_MSW
=""
45390 COND_TOOLKIT_MSW_USE_GUI_1
="#"
45391 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
45392 COND_TOOLKIT_MSW_USE_GUI_1
=""
45395 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
45396 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45397 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
45400 COND_TOOLKIT_PM
="#"
45401 if test "x$TOOLKIT" = "xPM" ; then
45405 COND_TOOLKIT_PM_USE_GUI_1
="#"
45406 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
45407 COND_TOOLKIT_PM_USE_GUI_1
=""
45410 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
45411 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45412 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
45415 COND_TOOLKIT_WINCE
="#"
45416 if test "x$TOOLKIT" = "xWINCE" ; then
45417 COND_TOOLKIT_WINCE
=""
45420 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
45421 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
45422 COND_TOOLKIT_WINCE_USE_GUI_1
=""
45425 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
45426 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45427 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
45430 COND_TOOLKIT_X11
="#"
45431 if test "x$TOOLKIT" = "xX11" ; then
45432 COND_TOOLKIT_X11
=""
45435 COND_TOOLKIT_X11_USE_GUI_1
="#"
45436 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
45437 COND_TOOLKIT_X11_USE_GUI_1
=""
45441 if test "x$UNICODE" = "x1" ; then
45445 COND_USE_EXCEPTIONS_0
="#"
45446 if test "x$USE_EXCEPTIONS" = "x0" ; then
45447 COND_USE_EXCEPTIONS_0
=""
45450 COND_USE_EXCEPTIONS_1
="#"
45451 if test "x$USE_EXCEPTIONS" = "x1" ; then
45452 COND_USE_EXCEPTIONS_1
=""
45456 if test "x$USE_GUI" = "x0" ; then
45461 if test "x$USE_GUI" = "x1" ; then
45465 COND_USE_GUI_1_WXUNIV_0
="#"
45466 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
45467 COND_USE_GUI_1_WXUNIV_0
=""
45470 COND_USE_GUI_1_WXUNIV_1
="#"
45471 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
45472 COND_USE_GUI_1_WXUNIV_1
=""
45475 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
45476 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45477 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
45480 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
45481 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45482 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
45485 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
45486 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45487 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
45490 COND_USE_ODBC_1
="#"
45491 if test "x$USE_ODBC" = "x1" ; then
45495 COND_USE_OPENGL_1
="#"
45496 if test "x$USE_OPENGL" = "x1" ; then
45497 COND_USE_OPENGL_1
=""
45500 COND_USE_PLUGINS_0
="#"
45501 if test "x$USE_PLUGINS" = "x0" ; then
45502 COND_USE_PLUGINS_0
=""
45505 COND_USE_RTTI_0
="#"
45506 if test "x$USE_RTTI" = "x0" ; then
45510 COND_USE_RTTI_1
="#"
45511 if test "x$USE_RTTI" = "x1" ; then
45515 COND_USE_SOSYMLINKS_1
="#"
45516 if test "x$USE_SOSYMLINKS" = "x1" ; then
45517 COND_USE_SOSYMLINKS_1
=""
45520 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
45521 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
45522 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
45525 COND_USE_SOVERLINUX_1
="#"
45526 if test "x$USE_SOVERLINUX" = "x1" ; then
45527 COND_USE_SOVERLINUX_1
=""
45530 COND_USE_SOVERSION_0
="#"
45531 if test "x$USE_SOVERSION" = "x0" ; then
45532 COND_USE_SOVERSION_0
=""
45535 COND_USE_SOVERSOLARIS_1
="#"
45536 if test "x$USE_SOVERSOLARIS" = "x1" ; then
45537 COND_USE_SOVERSOLARIS_1
=""
45540 COND_USE_THREADS_0
="#"
45541 if test "x$USE_THREADS" = "x0" ; then
45542 COND_USE_THREADS_0
=""
45545 COND_USE_THREADS_1
="#"
45546 if test "x$USE_THREADS" = "x1" ; then
45547 COND_USE_THREADS_1
=""
45551 if test "x$USE_XRC" = "x1" ; then
45555 COND_WINDOWS_IMPLIB_1
="#"
45556 if test "x$WINDOWS_IMPLIB" = "x1" ; then
45557 COND_WINDOWS_IMPLIB_1
=""
45560 COND_WITH_PLUGIN_SDL_1
="#"
45561 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
45562 COND_WITH_PLUGIN_SDL_1
=""
45566 if test "x$WXUNIV" = "x0" ; then
45571 if test "x$WXUNIV" = "x1" ; then
45575 COND_WXUSE_EXPAT_BUILTIN
="#"
45576 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
45577 COND_WXUSE_EXPAT_BUILTIN
=""
45580 COND_WXUSE_LIBJPEG_BUILTIN
="#"
45581 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
45582 COND_WXUSE_LIBJPEG_BUILTIN
=""
45585 COND_WXUSE_LIBPNG_BUILTIN
="#"
45586 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
45587 COND_WXUSE_LIBPNG_BUILTIN
=""
45590 COND_WXUSE_LIBTIFF_BUILTIN
="#"
45591 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
45592 COND_WXUSE_LIBTIFF_BUILTIN
=""
45595 COND_WXUSE_ODBC_BUILTIN
="#"
45596 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
45597 COND_WXUSE_ODBC_BUILTIN
=""
45600 COND_WXUSE_REGEX_BUILTIN
="#"
45601 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
45602 COND_WXUSE_REGEX_BUILTIN
=""
45605 COND_WXUSE_ZLIB_BUILTIN
="#"
45606 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
45607 COND_WXUSE_ZLIB_BUILTIN
=""
45612 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
45613 { { 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
45614 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;}
45615 { (exit 1); exit 1; }; }
45618 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
45619 { { 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
45620 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;}
45621 { (exit 1); exit 1; }; }
45625 if test "$wxUSE_SHARED" = "yes"; then
45627 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
45628 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
45631 *-pc-os2_emx | *-pc-os2-emx )
45632 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45633 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
45634 cp -p ${srcdir}/src
/os
2/dllnames.sh .
45635 cp -p ${srcdir}/src
/os
2/dllar.sh .
45640 EXE_LINKER
="$CXX -o"
45643 if test "$wxUSE_OMF" = "yes"; then
45645 *-pc-os2_emx | *-pc-os2-emx )
45646 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
45647 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
45648 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
45653 if test $GCC_PCH = 1 ; then
45654 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
45658 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
45722 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45723 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45724 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45725 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45726 echo $ECHO_N "(cached) $ECHO_C" >&6
45728 cat >conftest.
make <<\_ACEOF
45730 @
echo 'ac_maketemp="$(MAKE)"'
45732 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45733 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45734 if test -n "$ac_maketemp"; then
45735 eval ac_cv_prog_make_
${ac_make}_set
=yes
45737 eval ac_cv_prog_make_
${ac_make}_set
=no
45739 rm -f conftest.
make
45741 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45742 echo "$as_me:$LINENO: result: yes" >&5
45743 echo "${ECHO_T}yes" >&6
45746 echo "$as_me:$LINENO: result: no" >&5
45747 echo "${ECHO_T}no" >&6
45748 SET_MAKE
="MAKE=${MAKE-make}"
45753 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
45756 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
45759 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
45762 ac_config_files
="$ac_config_files version-script Makefile"
45765 ac_config_commands
="$ac_config_commands wx-config
45771 if test "$wxUSE_GUI" = "yes"; then
45772 SUBDIRS
="samples demos utils contrib"
45773 else SUBDIRS
="samples utils"
45778 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
45779 if test "${with_cppunit_prefix+set}" = set; then
45780 withval
="$with_cppunit_prefix"
45781 cppunit_config_prefix
="$withval"
45783 cppunit_config_prefix
=""
45786 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
45787 if test "${with_cppunit_exec_prefix+set}" = set; then
45788 withval
="$with_cppunit_exec_prefix"
45789 cppunit_config_exec_prefix
="$withval"
45791 cppunit_config_exec_prefix
=""
45794 if test x
$cppunit_config_exec_prefix != x
; then
45795 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
45796 if test x
${CPPUNIT_CONFIG+set} != xset
; then
45797 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
45800 if test x
$cppunit_config_prefix != x
; then
45801 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
45802 if test x
${CPPUNIT_CONFIG+set} != xset
; then
45803 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
45807 # Extract the first word of "cppunit-config", so it can be a program name with args.
45808 set dummy cppunit
-config; ac_word
=$2
45809 echo "$as_me:$LINENO: checking for $ac_word" >&5
45810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45811 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
45812 echo $ECHO_N "(cached) $ECHO_C" >&6
45814 case $CPPUNIT_CONFIG in
45816 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
45819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45820 for as_dir
in $PATH
45823 test -z "$as_dir" && as_dir
=.
45824 for ac_exec_ext
in '' $ac_executable_extensions; do
45825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45826 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
45827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45833 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
45837 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
45839 if test -n "$CPPUNIT_CONFIG"; then
45840 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
45841 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
45843 echo "$as_me:$LINENO: result: no" >&5
45844 echo "${ECHO_T}no" >&6
45847 cppunit_version_min
=1.8.0
45849 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
45850 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
45852 if test "$CPPUNIT_CONFIG" = "no" ; then
45855 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
45856 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
45857 cppunit_version
=`$CPPUNIT_CONFIG --version`
45859 cppunit_major_version
=`echo $cppunit_version | \
45860 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45861 cppunit_minor_version
=`echo $cppunit_version | \
45862 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45863 cppunit_micro_version
=`echo $cppunit_version | \
45864 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45866 cppunit_major_min
=`echo $cppunit_version_min | \
45867 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
45868 cppunit_minor_min
=`echo $cppunit_version_min | \
45869 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
45870 cppunit_micro_min
=`echo $cppunit_version_min | \
45871 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
45873 cppunit_version_proper
=`expr \
45874 $cppunit_major_version \> $cppunit_major_min \| \
45875 $cppunit_major_version \= $cppunit_major_min \& \
45876 $cppunit_minor_version \> $cppunit_minor_min \| \
45877 $cppunit_major_version \= $cppunit_major_min \& \
45878 $cppunit_minor_version \= $cppunit_minor_min \& \
45879 $cppunit_micro_version \>= $cppunit_micro_min `
45881 if test "$cppunit_version_proper" = "1" ; then
45882 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
45883 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
45885 echo "$as_me:$LINENO: result: no" >&5
45886 echo "${ECHO_T}no" >&6
45891 if test "x$no_cppunit" = x
; then
45892 SUBDIRS
="$SUBDIRS tests"
45903 for subdir
in `echo $SUBDIRS`; do
45904 if test -d ${srcdir}/${subdir} ; then
45905 if test "$wxUSE_GUI" = "yes"; then
45906 if test ${subdir} = "samples"; then
45907 makefiles
="samples/Makefile.in $makefiles"
45908 for sample
in `echo $SAMPLES_SUBDIRS`; do
45909 if test -d $srcdir/samples
/$sample; then
45910 makefiles
="samples/$sample/Makefile.in $makefiles"
45914 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
45915 eval "disabled=\$$disabled_var"
45916 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
45917 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
45919 else if test ${subdir} = "samples"; then
45920 makefiles
="samples/Makefile.in samples/console/Makefile.in"
45921 elif test ${subdir} = "utils"; then
45923 for util
in HelpGen tex2rtf
; do
45924 if test -d $srcdir/utils
/$util ; then
45925 makefiles
="utils/$util/Makefile.in \
45926 utils/$util/src/Makefile.in \
45930 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
45934 for mkin
in $makefiles ; do
45935 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
45936 ac_config_files
="$ac_config_files $mk"
45943 cat >confcache
<<\_ACEOF
45944 # This file is a shell script that caches the results of configure
45945 # tests run on this system so they can be shared between configure
45946 # scripts and configure runs, see configure's option --config-cache.
45947 # It is not useful on other systems. If it contains results you don't
45948 # want to keep, you may remove or edit it.
45950 # config.status only pays attention to the cache file if you give it
45951 # the --recheck option to rerun configure.
45953 # `ac_cv_env_foo' variables (set or unset) will be overridden when
45954 # loading this file, other *unset* `ac_cv_foo' will be assigned the
45955 # following values.
45959 # The following way of writing the cache mishandles newlines in values,
45960 # but we know of no workaround that is simple, portable, and efficient.
45961 # So, don't put newlines in cache variables' values.
45962 # Ultrix sh set writes to stderr and can't be redirected directly,
45963 # and sets the high bit in the cache file unless we assign to the vars.
45966 case `(ac_space=' '; set | grep ac_space) 2>&1` in
45968 # `set' does not quote correctly, so add quotes (double-quote
45969 # substitution turns \\\\ into \\, and sed turns \\ into \).
45972 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
45975 # `set' quotes correctly as required by POSIX, so do not add quotes.
45977 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
45984 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
45986 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
45988 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
45989 if test -w $cache_file; then
45990 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
45991 cat confcache
>$cache_file
45993 echo "not updating unwritable cache $cache_file"
45998 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
45999 # Let make expand exec_prefix.
46000 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
46002 # VPATH may cause trouble with some makes, so we remove $(srcdir),
46003 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
46004 # trailing colons and then remove the whole line if VPATH becomes empty
46005 # (actually we leave an empty line to preserve line numbers).
46006 if test "x$srcdir" = x.
; then
46007 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
46008 s/:*\$(srcdir):*/:/;
46009 s/:*\${srcdir}:*/:/;
46011 s/^\([^=]*=[ ]*\):*/\1/;
46017 DEFS
=-DHAVE_CONFIG_H
46021 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
46022 # 1. Remove the extension, and $U if already installed.
46023 ac_i
=`echo "$ac_i" |
46024 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
46026 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
46027 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
46029 LIBOBJS
=$ac_libobjs
46031 LTLIBOBJS
=$ac_ltlibobjs
46035 : ${CONFIG_STATUS=./config.status}
46036 ac_clean_files_save
=$ac_clean_files
46037 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
46038 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
46039 echo "$as_me: creating $CONFIG_STATUS" >&6;}
46040 cat >$CONFIG_STATUS <<_ACEOF
46042 # Generated by $as_me.
46043 # Run this file to recreate the current configuration.
46044 # Compiler output produced by configure, useful for debugging
46045 # configure, is in config.log if it exists.
46048 ac_cs_recheck=false
46050 SHELL=\${CONFIG_SHELL-$SHELL}
46053 cat >>$CONFIG_STATUS <<\_ACEOF
46054 ## --------------------- ##
46055 ## M4sh Initialization. ##
46056 ## --------------------- ##
46058 # Be Bourne compatible
46059 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
46062 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
46063 # is contrary to our usage. Disable this feature.
46064 alias -g '${1+"$@"}'='"$@"'
46065 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
46068 DUALCASE
=1; export DUALCASE
# for MKS sh
46070 # Support unset when possible.
46071 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
46078 # Work around bugs in pre-3.0 UWIN ksh.
46079 $as_unset ENV MAIL MAILPATH
46086 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46087 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46088 LC_TELEPHONE LC_TIME
46090 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46091 eval $as_var=C
; export $as_var
46097 # Required to use basename.
46098 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46104 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
46105 as_basename
=basename
46111 # Name of the executable.
46112 as_me
=`$as_basename "$0" ||
46113 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
46114 X"$0" : 'X\(//\)$' \| \
46115 X"$0" : 'X\(/\)$' \| \
46116 . : '\(.\)' 2>/dev/null ||
46118 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
46119 /^X\/\(\/\/\)$/{ s//\1/; q; }
46120 /^X\/\(\/\).*/{ s//\1/; q; }
46124 # PATH needs CR, and LINENO needs CR and PATH.
46125 # Avoid depending upon Character Ranges.
46126 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
46127 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
46128 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
46129 as_cr_digits
='0123456789'
46130 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46132 # The user is always right.
46133 if test "${PATH_SEPARATOR+set}" != set; then
46134 echo "#! /bin/sh" >conf$$.sh
46135 echo "exit 0" >>conf$$.sh
46137 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
46146 as_lineno_1
=$LINENO
46147 as_lineno_2
=$LINENO
46148 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
46149 test "x$as_lineno_1" != "x$as_lineno_2" &&
46150 test "x$as_lineno_3" = "x$as_lineno_2" || {
46151 # Find who we are. Look in the path if we contain no path at all
46154 *[\\/]* ) as_myself
=$0 ;;
46155 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46156 for as_dir
in $PATH
46159 test -z "$as_dir" && as_dir
=.
46160 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
46165 # We did not find ourselves, most probably we were run as `sh COMMAND'
46166 # in which case we are not to be found in the path.
46167 if test "x$as_myself" = x
; then
46170 if test ! -f "$as_myself"; then
46171 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
46172 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
46173 { (exit 1); exit 1; }; }
46175 case $CONFIG_SHELL in
46177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46178 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
46181 test -z "$as_dir" && as_dir
=.
46182 for as_base
in sh bash ksh sh5
; do
46185 if ("$as_dir/$as_base" -c '
46186 as_lineno_1=$LINENO
46187 as_lineno_2=$LINENO
46188 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
46189 test "x$as_lineno_1" != "x$as_lineno_2" &&
46190 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
46191 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
46192 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
46193 CONFIG_SHELL
=$as_dir/$as_base
46194 export CONFIG_SHELL
46195 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
46203 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
46204 # uniformly replaced by the line number. The first 'sed' inserts a
46205 # line-number line before each line; the second 'sed' does the real
46206 # work. The second script uses 'N' to pair each line-number line
46207 # with the numbered line, and appends trailing '-' during
46208 # substitution so that $LINENO is not a special case at line end.
46209 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
46210 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
46211 sed '=' <$as_myself |
46216 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
46219 s,^['$as_cr_digits']*\n,,
46220 ' >$as_me.lineno
&&
46221 chmod +x
$as_me.lineno
||
46222 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
46223 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
46224 { (exit 1); exit 1; }; }
46226 # Don't try to exec as it changes $[0], causing all sort of problems
46227 # (the dirname of $[0] is not the place where we might find the
46228 # original and so on. Autoconf is especially sensible to this).
46230 # Exit status is that of the last command.
46235 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
46236 *c
*,-n*) ECHO_N
= ECHO_C
='
46238 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
46239 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
46242 if expr a
: '\(a\)' >/dev
/null
2>&1; then
46248 rm -f conf$$ conf$$.exe conf$$.
file
46250 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
46251 # We could just check for DJGPP; but this test a) works b) is more generic
46252 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
46253 if test -f conf$$.exe
; then
46254 # Don't use ln at all; we don't have any links
46259 elif ln conf$$.
file conf$$
2>/dev
/null
; then
46264 rm -f conf$$ conf$$.exe conf$$.
file
46266 if mkdir -p .
2>/dev
/null
; then
46269 test -d .
/-p && rmdir .
/-p
46273 as_executable_p
="test -f"
46275 # Sed expression to map a string onto a valid CPP name.
46276 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
46278 # Sed expression to map a string onto a valid variable name.
46279 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
46283 # We need space, tab and new line, in precisely that order.
46293 # Open the log real soon, to keep \$[0] and so on meaningful, and to
46294 # report actual input values of CONFIG_FILES etc. instead of their
46295 # values after options handling. Logging --version etc. is OK.
46299 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
46300 ## Running $as_me. ##
46305 This file was extended by wxWidgets $as_me 2.6.2, which was
46306 generated by GNU Autoconf 2.59. Invocation command line was
46308 CONFIG_FILES = $CONFIG_FILES
46309 CONFIG_HEADERS = $CONFIG_HEADERS
46310 CONFIG_LINKS = $CONFIG_LINKS
46311 CONFIG_COMMANDS = $CONFIG_COMMANDS
46315 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
46319 # Files that config.status was made for.
46320 if test -n "$ac_config_files"; then
46321 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
46324 if test -n "$ac_config_headers"; then
46325 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
46328 if test -n "$ac_config_links"; then
46329 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
46332 if test -n "$ac_config_commands"; then
46333 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
46336 cat >>$CONFIG_STATUS <<\_ACEOF
46339 \`$as_me' instantiates files from templates according to the
46340 current configuration.
46342 Usage: $0 [OPTIONS] [FILE]...
46344 -h, --help print this help, then exit
46345 -V, --version print version number, then exit
46346 -q, --quiet do not print progress messages
46347 -d, --debug don't remove temporary files
46348 --recheck update $as_me by reconfiguring in the same conditions
46349 --file=FILE[:TEMPLATE]
46350 instantiate the configuration file FILE
46351 --header=FILE[:TEMPLATE]
46352 instantiate the configuration header FILE
46354 Configuration files:
46357 Configuration headers:
46360 Configuration commands:
46363 Report bugs to <bug-autoconf@gnu.org>."
46366 cat >>$CONFIG_STATUS <<_ACEOF
46368 wxWidgets config.status 2.6.2
46369 configured by $0, generated by GNU Autoconf 2.59,
46370 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
46372 Copyright (C) 2003 Free Software Foundation, Inc.
46373 This config.status script is free software; the Free Software Foundation
46374 gives unlimited permission to copy, distribute and modify it."
46379 cat >>$CONFIG_STATUS <<\_ACEOF
46380 # If no file are specified by the user, then we need to provide default
46381 # value. By we need to know if files were specified by the user.
46387 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
46388 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
46396 *) # This is not an option, so the user has probably given explicit
46399 ac_need_defaults
=false
;;
46403 # Handling of the options.
46405 cat >>$CONFIG_STATUS <<\_ACEOF
46406 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
46408 --version | --vers* | -V )
46409 echo "$ac_cs_version"; exit 0 ;;
46411 # Conflict between --help and --header
46412 { { echo "$as_me:$LINENO: error: ambiguous option: $1
46413 Try \`$0 --help' for more information." >&5
46414 echo "$as_me: error: ambiguous option: $1
46415 Try \`$0 --help' for more information." >&2;}
46416 { (exit 1); exit 1; }; };;
46417 --help | --hel | -h )
46418 echo "$ac_cs_usage"; exit 0 ;;
46419 --debug | --d* | -d )
46421 --file | --fil | --fi | --f )
46423 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
46424 ac_need_defaults
=false
;;
46425 --header | --heade | --head | --hea )
46427 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
46428 ac_need_defaults
=false
;;
46429 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
46430 | -silent | --silent | --silen | --sile | --sil | --si | --s)
46433 # This is an error.
46434 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
46435 Try \`$0 --help' for more information." >&5
46436 echo "$as_me: error: unrecognized option: $1
46437 Try \`$0 --help' for more information." >&2;}
46438 { (exit 1); exit 1; }; } ;;
46440 *) ac_config_targets
="$ac_config_targets $1" ;;
46446 ac_configure_extra_args
=
46448 if $ac_cs_silent; then
46450 ac_configure_extra_args
="$ac_configure_extra_args --silent"
46454 cat >>$CONFIG_STATUS <<_ACEOF
46455 if \$ac_cs_recheck; then
46456 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
46457 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
46462 cat >>$CONFIG_STATUS <<_ACEOF
46464 # INIT-COMMANDS section.
46467 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46468 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46469 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
46477 cat >>$CONFIG_STATUS <<\_ACEOF
46478 for ac_config_target
in $ac_config_targets
46480 case "$ac_config_target" in
46481 # Handling of arguments.
46482 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
46483 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
46484 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
46485 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
46486 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
46487 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
46488 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
46489 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
46490 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
46491 { (exit 1); exit 1; }; };;
46495 # If the user did not use the arguments to specify the items to instantiate,
46496 # then the envvar interface is used. Set only those that are not.
46497 # We use the long form for the default assignment because of an extremely
46498 # bizarre bug on SunOS 4.1.3.
46499 if $ac_need_defaults; then
46500 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
46501 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
46502 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
46505 # Have a temporary directory for convenience. Make it in the build tree
46506 # simply because there is no reason to put it here, and in addition,
46507 # creating and moving files from /tmp can sometimes cause problems.
46508 # Create a temporary directory, and hook for its removal unless debugging.
46511 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
46512 trap '{ (exit 1); exit 1; }' 1 2 13 15
46515 # Create a (secure) tmp directory for tmp files.
46518 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
46519 test -n "$tmp" && test -d "$tmp"
46522 tmp
=.
/confstat$$
-$RANDOM
46523 (umask 077 && mkdir $tmp)
46526 echo "$me: cannot create a temporary directory in ." >&2
46527 { (exit 1); exit 1; }
46532 cat >>$CONFIG_STATUS <<_ACEOF
46535 # CONFIG_FILES section.
46538 # No need to generate the scripts if there are no CONFIG_FILES.
46539 # This happens for instance when ./config.status config.h
46540 if test -n "\$CONFIG_FILES"; then
46541 # Protect against being on the right side of a sed subst in config.status.
46542 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
46543 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
46544 s,@SHELL@,$SHELL,;t t
46545 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
46546 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
46547 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
46548 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
46549 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
46550 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
46551 s,@exec_prefix@,$exec_prefix,;t t
46552 s,@prefix@,$prefix,;t t
46553 s,@program_transform_name@,$program_transform_name,;t t
46554 s,@bindir@,$bindir,;t t
46555 s,@sbindir@,$sbindir,;t t
46556 s,@libexecdir@,$libexecdir,;t t
46557 s,@datadir@,$datadir,;t t
46558 s,@sysconfdir@,$sysconfdir,;t t
46559 s,@sharedstatedir@,$sharedstatedir,;t t
46560 s,@localstatedir@,$localstatedir,;t t
46561 s,@libdir@,$libdir,;t t
46562 s,@includedir@,$includedir,;t t
46563 s,@oldincludedir@,$oldincludedir,;t t
46564 s,@infodir@,$infodir,;t t
46565 s,@mandir@,$mandir,;t t
46566 s,@build_alias@,$build_alias,;t t
46567 s,@host_alias@,$host_alias,;t t
46568 s,@target_alias@,$target_alias,;t t
46569 s,@DEFS@,$DEFS,;t t
46570 s,@ECHO_C@,$ECHO_C,;t t
46571 s,@ECHO_N@,$ECHO_N,;t t
46572 s,@ECHO_T@,$ECHO_T,;t t
46573 s,@LIBS@,$LIBS,;t t
46574 s,@build@,$build,;t t
46575 s,@build_cpu@,$build_cpu,;t t
46576 s,@build_vendor@,$build_vendor,;t t
46577 s,@build_os@,$build_os,;t t
46578 s,@host@,$host,;t t
46579 s,@host_cpu@,$host_cpu,;t t
46580 s,@host_vendor@,$host_vendor,;t t
46581 s,@host_os@,$host_os,;t t
46582 s,@target@,$target,;t t
46583 s,@target_cpu@,$target_cpu,;t t
46584 s,@target_vendor@,$target_vendor,;t t
46585 s,@target_os@,$target_os,;t t
46587 s,@CFLAGS@,$CFLAGS,;t t
46588 s,@LDFLAGS@,$LDFLAGS,;t t
46589 s,@CPPFLAGS@,$CPPFLAGS,;t t
46590 s,@ac_ct_CC@,$ac_ct_CC,;t t
46591 s,@EXEEXT@,$EXEEXT,;t t
46592 s,@OBJEXT@,$OBJEXT,;t t
46594 s,@EGREP@,$EGREP,;t t
46596 s,@CXXFLAGS@,$CXXFLAGS,;t t
46597 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
46598 s,@RANLIB@,$RANLIB,;t t
46599 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
46601 s,@ac_ct_AR@,$ac_ct_AR,;t t
46602 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
46603 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
46604 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
46605 s,@STRIP@,$STRIP,;t t
46606 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
46607 s,@RESCOMP@,$RESCOMP,;t t
46608 s,@ac_ct_RESCOMP@,$ac_ct_RESCOMP,;t t
46609 s,@DLLTOOL@,$DLLTOOL,;t t
46610 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
46611 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
46612 s,@LN_S@,$LN_S,;t t
46613 s,@CXXCPP@,$CXXCPP,;t t
46614 s,@subdirs@,$subdirs,;t t
46615 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
46616 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
46617 s,@GTK_LIBS@,$GTK_LIBS,;t t
46618 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
46619 s,@X_CFLAGS@,$X_CFLAGS,;t t
46620 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
46621 s,@X_LIBS@,$X_LIBS,;t t
46622 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
46623 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
46624 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
46625 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
46626 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
46627 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
46628 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
46629 s,@DEREZ@,$DEREZ,;t t
46630 s,@SETFILE@,$SETFILE,;t t
46631 s,@LIBICONV@,$LIBICONV,;t t
46632 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
46633 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
46634 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
46635 s,@SDL_LIBS@,$SDL_LIBS,;t t
46636 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
46637 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
46638 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
46639 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
46640 s,@GST_INSPECT@,$GST_INSPECT,;t t
46641 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
46642 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
46643 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
46644 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
46645 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
46646 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
46647 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
46648 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
46649 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
46650 s,@VENDOR@,$VENDOR,;t t
46651 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
46652 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
46653 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
46654 s,@WXUNIV@,$WXUNIV,;t t
46655 s,@MONOLITHIC@,$MONOLITHIC,;t t
46656 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
46657 s,@EXTRALIBS@,$EXTRALIBS,;t t
46658 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
46659 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
46660 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
46661 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
46662 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
46663 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
46664 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
46665 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
46666 s,@UNICODE@,$UNICODE,;t t
46667 s,@BUILD@,$BUILD,;t t
46668 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
46669 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
46670 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
46671 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
46672 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
46673 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
46674 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
46675 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
46676 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
46677 s,@SET_MAKE@,$SET_MAKE,;t t
46678 s,@MAKE_SET@,$MAKE_SET,;t t
46680 s,@ac_ct_NM@,$ac_ct_NM,;t t
46681 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
46682 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
46683 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
46684 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
46685 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
46686 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
46687 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
46688 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
46689 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
46690 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
46691 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
46692 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
46693 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
46694 s,@LIBPREFIX@,$LIBPREFIX,;t t
46695 s,@LIBEXT@,$LIBEXT,;t t
46696 s,@DLLPREFIX@,$DLLPREFIX,;t t
46697 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
46698 s,@dlldir@,$dlldir,;t t
46699 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
46700 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
46701 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
46702 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
46703 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
46704 s,@PIC_FLAG@,$PIC_FLAG,;t t
46705 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
46706 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
46707 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
46708 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
46709 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
46710 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
46711 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
46712 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
46713 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
46714 s,@GCC_PCH@,$GCC_PCH,;t t
46715 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
46716 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
46717 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
46718 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
46719 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
46720 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
46721 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
46722 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
46723 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
46724 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
46725 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
46726 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
46727 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
46728 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
46729 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
46730 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
46731 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
46732 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
46733 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
46734 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
46735 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
46736 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
46737 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
46738 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
46739 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
46740 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
46741 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
46742 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
46743 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
46744 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
46745 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
46746 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
46747 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
46748 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
46749 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
46750 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
46751 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
46752 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
46753 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
46754 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
46755 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
46756 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
46757 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
46758 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
46759 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
46760 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
46761 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
46762 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
46763 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
46764 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
46765 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
46766 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
46767 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
46768 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
46769 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
46770 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
46771 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
46772 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
46773 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
46774 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
46775 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
46776 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
46777 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
46778 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
46779 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46780 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46781 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46782 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
46783 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
46784 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
46785 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
46786 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
46787 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
46788 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
46789 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
46790 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
46791 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
46792 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
46793 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
46794 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
46795 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
46796 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
46797 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
46798 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
46799 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
46800 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
46801 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
46802 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
46803 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
46804 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
46805 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
46806 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
46807 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
46808 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
46809 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
46810 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
46811 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
46812 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
46813 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
46814 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
46815 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
46816 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
46817 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
46818 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
46819 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
46820 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
46821 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
46822 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
46823 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
46824 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
46825 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
46826 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
46827 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
46828 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
46829 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
46830 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
46831 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
46832 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
46833 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
46834 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
46835 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
46836 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
46837 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
46838 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
46839 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
46840 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
46841 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
46842 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
46843 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
46844 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
46845 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
46846 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
46847 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
46848 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
46849 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
46850 s,@SHARED@,$SHARED,;t t
46851 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
46852 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
46853 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
46854 s,@USE_GUI@,$USE_GUI,;t t
46855 s,@AFMINSTALL@,$AFMINSTALL,;t t
46856 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
46857 s,@TOOLKIT@,$TOOLKIT,;t t
46858 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
46859 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
46860 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
46861 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
46862 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
46863 s,@cross_compiling@,$cross_compiling,;t t
46864 s,@WIDGET_SET@,$WIDGET_SET,;t t
46865 s,@WX_RELEASE@,$WX_RELEASE,;t t
46866 s,@WX_VERSION@,$WX_VERSION,;t t
46867 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
46868 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
46869 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
46870 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
46871 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
46872 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
46873 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
46874 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
46875 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
46876 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
46877 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
46878 s,@EXE_LINKER@,$EXE_LINKER,;t t
46879 s,@GUIDIST@,$GUIDIST,;t t
46880 s,@DISTDIR@,$DISTDIR,;t t
46881 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
46882 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
46883 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
46884 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
46885 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
46886 s,@RESFLAGS@,$RESFLAGS,;t t
46887 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
46888 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
46889 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
46890 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
46891 s,@MACRESCOMP@,$MACRESCOMP,;t t
46892 s,@MACSETFILE@,$MACSETFILE,;t t
46893 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
46895 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
46896 s,@LIBOBJS@,$LIBOBJS,;t t
46897 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
46902 cat >>$CONFIG_STATUS <<\_ACEOF
46903 # Split the substitutions into bite-sized pieces for seds with
46904 # small command number limits, like on Digital OSF/1 and HP-UX.
46905 ac_max_sed_lines
=48
46906 ac_sed_frag
=1 # Number of current file.
46907 ac_beg
=1 # First line for current file.
46908 ac_end
=$ac_max_sed_lines # Line after last line for current file.
46911 while $ac_more_lines; do
46912 if test $ac_beg -gt 1; then
46913 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
46915 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
46917 if test ! -s $tmp/subs.frag
; then
46918 ac_more_lines
=false
46920 # The purpose of the label and of the branching condition is to
46921 # speed up the sed processing (if there are no `@' at all, there
46922 # is no need to browse any of the substitutions).
46923 # These are the two extra sed commands mentioned above.
46925 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
46926 if test -z "$ac_sed_cmds"; then
46927 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
46929 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
46931 ac_sed_frag
=`expr $ac_sed_frag + 1`
46933 ac_end
=`expr $ac_end + $ac_max_sed_lines`
46936 if test -z "$ac_sed_cmds"; then
46939 fi # test -n "$CONFIG_FILES"
46942 cat >>$CONFIG_STATUS <<\_ACEOF
46943 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
46944 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
46946 - | *:- | *:-:* ) # input from stdin
46948 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46949 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46950 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
46951 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
46952 * ) ac_file_in
=$ac_file.
in ;;
46955 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
46956 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
46957 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46958 X"$ac_file" : 'X\(//\)[^/]' \| \
46959 X"$ac_file" : 'X\(//\)$' \| \
46960 X"$ac_file" : 'X\(/\)' \| \
46961 . : '\(.\)' 2>/dev/null ||
46963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46964 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46965 /^X\(\/\/\)$/{ s//\1/; q; }
46966 /^X\(\/\).*/{ s//\1/; q; }
46968 { if $as_mkdir_p; then
46973 while test ! -d "$as_dir"; do
46974 as_dirs
="$as_dir $as_dirs"
46975 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
46976 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
46977 X"$as_dir" : 'X\(//\)[^/]' \| \
46978 X"$as_dir" : 'X\(//\)$' \| \
46979 X"$as_dir" : 'X\(/\)' \| \
46980 . : '\(.\)' 2>/dev/null ||
46982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
46983 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
46984 /^X\(\/\/\)$/{ s//\1/; q; }
46985 /^X\(\/\).*/{ s//\1/; q; }
46988 test ! -n "$as_dirs" || mkdir $as_dirs
46989 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
46990 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
46991 { (exit 1); exit 1; }; }; }
46995 if test "$ac_dir" != .
; then
46996 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
46997 # A "../" for each directory in $ac_dir_suffix.
46998 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47000 ac_dir_suffix
= ac_top_builddir
=
47004 .
) # No --srcdir option. We are building in place.
47006 if test -z "$ac_top_builddir"; then
47009 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47011 [\\/]* | ?
:[\\/]* ) # Absolute path.
47012 ac_srcdir
=$srcdir$ac_dir_suffix;
47013 ac_top_srcdir
=$srcdir ;;
47014 *) # Relative path.
47015 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47016 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47019 # Do not use `cd foo && pwd` to compute absolute paths, because
47020 # the directories may not exist.
47022 .
) ac_abs_builddir
="$ac_dir";;
47025 .
) ac_abs_builddir
=`pwd`;;
47026 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47027 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47030 case $ac_abs_builddir in
47031 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47033 case ${ac_top_builddir}.
in
47034 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47035 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47036 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47039 case $ac_abs_builddir in
47040 .
) ac_abs_srcdir
=$ac_srcdir;;
47043 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47044 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47045 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47048 case $ac_abs_builddir in
47049 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47051 case $ac_top_srcdir in
47052 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47053 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47054 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47060 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
47061 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
47064 # Let's still pretend it is `configure' which instantiates (i.e., don't
47065 # use $as_me), people would be surprised to read:
47066 # /* config.h. Generated by config.status. */
47067 if test x
"$ac_file" = x
-; then
47070 configure_input
="$ac_file. "
47072 configure_input
=$configure_input"Generated from `echo $ac_file_in |
47073 sed 's,.*/,,'` by configure."
47075 # First look for the input files in the build tree, otherwise in the
47077 ac_file_inputs
=`IFS=:
47078 for f in $ac_file_in; do
47080 -) echo $tmp/stdin ;;
47082 # Absolute (can't be DOS-style, as IFS=:)
47083 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47084 echo "$as_me: error: cannot find input file: $f" >&2;}
47085 { (exit 1); exit 1; }; }
47088 if test -f "$f"; then
47091 elif test -f "$srcdir/$f"; then
47096 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47097 echo "$as_me: error: cannot find input file: $f" >&2;}
47098 { (exit 1); exit 1; }; }
47101 done` || { (exit 1); exit 1; }
47103 if test x
"$ac_file" != x
-; then
47104 { echo "$as_me:$LINENO: creating $ac_file" >&5
47105 echo "$as_me: creating $ac_file" >&6;}
47109 cat >>$CONFIG_STATUS <<_ACEOF
47113 cat >>$CONFIG_STATUS <<\_ACEOF
47115 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
47116 s
,@configure_input@
,$configure_input,;t t
47117 s
,@srcdir@
,$ac_srcdir,;t t
47118 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
47119 s
,@top_srcdir@
,$ac_top_srcdir,;t t
47120 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
47121 s
,@builddir@
,$ac_builddir,;t t
47122 s
,@abs_builddir@
,$ac_abs_builddir,;t t
47123 s
,@top_builddir@
,$ac_top_builddir,;t t
47124 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
47125 s
,@INSTALL@
,$ac_INSTALL,;t t
47126 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
47128 if test x"$ac_file" != x-; then
47129 mv $tmp/out $ac_file
47135 # Run the commands associated with the file.
47137 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
47138 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
47142 cat >>$CONFIG_STATUS <<\_ACEOF
47145 # CONFIG_HEADER section.
47148 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
47149 # NAME is the cpp macro being defined and VALUE is the value it is being given.
47151 # ac_d sets the value in "#define NAME VALUE" lines.
47152 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
47153 ac_dB
='[ ].*$,\1#\2'
47156 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
47157 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
47158 ac_uB
='$,\1#\2define\3'
47162 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
47163 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
47165 - | *:- | *:-:* ) # input from stdin
47167 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47168 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47169 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47170 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
47171 * ) ac_file_in
=$ac_file.
in ;;
47174 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
47175 echo "$as_me: creating $ac_file" >&6;}
47177 # First look for the input files in the build tree, otherwise in the
47179 ac_file_inputs
=`IFS=:
47180 for f in $ac_file_in; do
47182 -) echo $tmp/stdin ;;
47184 # Absolute (can't be DOS-style, as IFS=:)
47185 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
47186 echo "$as_me: error: cannot find input file: $f" >&2;}
47187 { (exit 1); exit 1; }; }
47188 # Do quote $f, to prevent DOS paths from being IFS'd.
47191 if test -f "$f"; then
47194 elif test -f "$srcdir/$f"; then
47199 { { 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; }; }
47204 done` || { (exit 1); exit 1; }
47205 # Remove the trailing spaces.
47206 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
47210 # Transform confdefs.h into two sed scripts, `conftest.defines' and
47211 # `conftest.undefs', that substitutes the proper values into
47212 # config.h.in to produce config.h. The first handles `#define'
47213 # templates, and the second `#undef' templates.
47214 # And first: Protect against being on the right side of a sed subst in
47215 # config.status. Protect against being in an unquoted here document
47216 # in config.status.
47217 rm -f conftest.defines conftest.undefs
47218 # Using a here document instead of a string reduces the quoting nightmare.
47219 # Putting comments in sed scripts is not portable.
47221 # `end' is used to avoid that the second main sed command (meant for
47222 # 0-ary CPP macros) applies to n-ary macro definitions.
47223 # See the Autoconf documentation for `clear'.
47224 cat >confdef2sed.
sed <<\_ACEOF
47229 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
47231 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
47234 # If some macros were called several times there might be several times
47235 # the same #defines, which is useless. Nevertheless, we may not want to
47236 # sort them, since we want the *last* AC-DEFINE to be honored.
47237 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
47238 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
47239 rm -f confdef2sed.sed
47241 # This sed command replaces #undef with comments. This is necessary, for
47242 # example, in the case of _POSIX_SOURCE, which is predefined and required
47243 # on some systems where configure will not decide to define it.
47244 cat >>conftest.undefs <<\_ACEOF
47245 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
47248 # Break up conftest.defines because some shells have a limit on the size
47249 # of here documents, and old seds have small limits too (100 cmds).
47250 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
47251 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
47252 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
47253 echo ' :' >>$CONFIG_STATUS
47254 rm -f conftest.tail
47255 while grep . conftest.defines >/dev/null
47257 # Write a limited-size here document to $tmp/defines.sed.
47258 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
47259 # Speed up: don't consider the non `#define' lines.
47260 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
47261 # Work around the forget-to-reset-the-flag bug.
47262 echo 't clr' >>$CONFIG_STATUS
47263 echo ': clr' >>$CONFIG_STATUS
47264 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
47266 sed -f $tmp/defines.sed $tmp/in >$tmp/out
47268 mv $tmp/out $tmp/in
47270 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
47271 rm -f conftest.defines
47272 mv conftest.
tail conftest.defines
47274 rm -f conftest.defines
47275 echo ' fi # grep' >>$CONFIG_STATUS
47276 echo >>$CONFIG_STATUS
47278 # Break up conftest.undefs because some shells have a limit on the size
47279 # of here documents, and old seds have small limits too (100 cmds).
47280 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
47281 rm -f conftest.
tail
47282 while grep . conftest.undefs
>/dev
/null
47284 # Write a limited-size here document to $tmp/undefs.sed.
47285 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
47286 # Speed up: don't consider the non
`#undef'
47287 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
47288 # Work around the forget-to-reset-the-flag bug.
47289 echo 't clr' >>$CONFIG_STATUS
47290 echo ': clr' >>$CONFIG_STATUS
47291 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
47293 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
47295 mv $tmp/out $tmp/in
47297 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
47298 rm -f conftest.undefs
47299 mv conftest.tail conftest.undefs
47301 rm -f conftest.undefs
47303 cat >>$CONFIG_STATUS <<\_ACEOF
47304 # Let's still pretend it is `configure
' which instantiates (i.e., don't
47305 # use $as_me), people would be surprised to read:
47306 # /* config.h. Generated by config.status. */
47307 if test x
"$ac_file" = x
-; then
47308 echo "/* Generated by configure. */" >$tmp/config.h
47310 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
47312 cat $tmp/in >>$tmp/config.h
47314 if test x
"$ac_file" != x
-; then
47315 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
47316 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
47317 echo "$as_me: $ac_file is unchanged" >&6;}
47319 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
47320 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47321 X"$ac_file" : 'X\(//\)[^/]' \| \
47322 X"$ac_file" : 'X\(//\)$' \| \
47323 X"$ac_file" : 'X\(/\)' \| \
47324 . : '\(.\)' 2>/dev/null ||
47326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47327 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47328 /^X\(\/\/\)$/{ s//\1/; q; }
47329 /^X\(\/\).*/{ s//\1/; q; }
47331 { if $as_mkdir_p; then
47336 while test ! -d "$as_dir"; do
47337 as_dirs
="$as_dir $as_dirs"
47338 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47340 X"$as_dir" : 'X\(//\)[^/]' \| \
47341 X"$as_dir" : 'X\(//\)$' \| \
47342 X"$as_dir" : 'X\(/\)' \| \
47343 . : '\(.\)' 2>/dev/null ||
47345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47346 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47347 /^X\(\/\/\)$/{ s//\1/; q; }
47348 /^X\(\/\).*/{ s//\1/; q; }
47351 test ! -n "$as_dirs" || mkdir $as_dirs
47352 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47353 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47354 { (exit 1); exit 1; }; }; }
47357 mv $tmp/config.h
$ac_file
47361 rm -f $tmp/config.h
47365 cat >>$CONFIG_STATUS <<\_ACEOF
47368 # CONFIG_COMMANDS section.
47370 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
47371 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
47372 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
47373 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
47374 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47375 X"$ac_dest" : 'X\(//\)[^/]' \| \
47376 X"$ac_dest" : 'X\(//\)$' \| \
47377 X"$ac_dest" : 'X\(/\)' \| \
47378 . : '\(.\)' 2>/dev/null ||
47380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47381 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47382 /^X\(\/\/\)$/{ s//\1/; q; }
47383 /^X\(\/\).*/{ s//\1/; q; }
47385 { if $as_mkdir_p; then
47390 while test ! -d "$as_dir"; do
47391 as_dirs
="$as_dir $as_dirs"
47392 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47393 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47394 X"$as_dir" : 'X\(//\)[^/]' \| \
47395 X"$as_dir" : 'X\(//\)$' \| \
47396 X"$as_dir" : 'X\(/\)' \| \
47397 . : '\(.\)' 2>/dev/null ||
47399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47400 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47401 /^X\(\/\/\)$/{ s//\1/; q; }
47402 /^X\(\/\).*/{ s//\1/; q; }
47405 test ! -n "$as_dirs" || mkdir $as_dirs
47406 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47407 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47408 { (exit 1); exit 1; }; }; }
47412 if test "$ac_dir" != .
; then
47413 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47414 # A "../" for each directory in $ac_dir_suffix.
47415 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47417 ac_dir_suffix
= ac_top_builddir
=
47421 .
) # No --srcdir option. We are building in place.
47423 if test -z "$ac_top_builddir"; then
47426 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47428 [\\/]* | ?
:[\\/]* ) # Absolute path.
47429 ac_srcdir
=$srcdir$ac_dir_suffix;
47430 ac_top_srcdir
=$srcdir ;;
47431 *) # Relative path.
47432 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47433 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47436 # Do not use `cd foo && pwd` to compute absolute paths, because
47437 # the directories may not exist.
47439 .
) ac_abs_builddir
="$ac_dir";;
47442 .
) ac_abs_builddir
=`pwd`;;
47443 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47444 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47447 case $ac_abs_builddir in
47448 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47450 case ${ac_top_builddir}.
in
47451 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47452 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47453 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47456 case $ac_abs_builddir in
47457 .
) ac_abs_srcdir
=$ac_srcdir;;
47460 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47461 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47462 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47465 case $ac_abs_builddir in
47466 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47468 case $ac_top_srcdir in
47469 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47470 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47471 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47476 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
47477 echo "$as_me: executing $ac_dest commands" >&6;}
47479 wx
-config ) rm -f wx
-config
47480 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
47486 cat >>$CONFIG_STATUS <<\_ACEOF
47488 { (exit 0); exit 0; }
47490 chmod +x
$CONFIG_STATUS
47491 ac_clean_files
=$ac_clean_files_save
47494 # configure is writing to config.log, and then calls config.status.
47495 # config.status does its own redirection, appending to config.log.
47496 # Unfortunately, on DOS this fails, as config.log is still kept open
47497 # by configure, so config.status won't be able to write to it; its
47498 # output is simply discarded. So we exec the FD to /dev/null,
47499 # effectively closing config.log, so it can be properly (re)opened and
47500 # appended to by config.status. When coming back to configure, we
47501 # need to make the FD available again.
47502 if test "$no_create" != yes; then
47504 ac_config_status_args
=
47505 test "$silent" = yes &&
47506 ac_config_status_args
="$ac_config_status_args --quiet"
47508 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
47510 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
47511 # would make configure fail if this is the last instruction.
47512 $ac_cs_success || { (exit 1); exit 1; }
47516 # CONFIG_SUBDIRS section.
47518 if test "$no_recursion" != yes; then
47520 # Remove --cache-file and --srcdir arguments so they do not pile up.
47521 ac_sub_configure_args
=
47523 for ac_arg
in $ac_configure_args; do
47524 if test -n "$ac_prev"; then
47529 -cache-file | --cache-file | --cache-fil | --cache-fi \
47530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
47531 ac_prev
=cache_file
;;
47532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
47533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
47536 --config-cache | -C)
47538 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
47540 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
47542 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
47544 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
47546 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
47550 # Always prepend --prefix to ensure using the same prefix
47551 # in subdir configurations.
47552 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
47555 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
47557 # Do not complain, so a configure script can configure whichever
47558 # parts of a large source tree are present.
47559 test -d $srcdir/$ac_dir || continue
47561 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
47562 echo "$as_me: configuring in $ac_dir" >&6;}
47563 { if $as_mkdir_p; then
47568 while test ! -d "$as_dir"; do
47569 as_dirs
="$as_dir $as_dirs"
47570 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
47571 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47572 X"$as_dir" : 'X\(//\)[^/]' \| \
47573 X"$as_dir" : 'X\(//\)$' \| \
47574 X"$as_dir" : 'X\(/\)' \| \
47575 . : '\(.\)' 2>/dev/null ||
47577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
47578 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
47579 /^X\(\/\/\)$/{ s//\1/; q; }
47580 /^X\(\/\).*/{ s//\1/; q; }
47583 test ! -n "$as_dirs" || mkdir $as_dirs
47584 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
47585 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
47586 { (exit 1); exit 1; }; }; }
47590 if test "$ac_dir" != .
; then
47591 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
47592 # A "../" for each directory in $ac_dir_suffix.
47593 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
47595 ac_dir_suffix
= ac_top_builddir
=
47599 .
) # No --srcdir option. We are building in place.
47601 if test -z "$ac_top_builddir"; then
47604 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
47606 [\\/]* | ?
:[\\/]* ) # Absolute path.
47607 ac_srcdir
=$srcdir$ac_dir_suffix;
47608 ac_top_srcdir
=$srcdir ;;
47609 *) # Relative path.
47610 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
47611 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
47614 # Do not use `cd foo && pwd` to compute absolute paths, because
47615 # the directories may not exist.
47617 .
) ac_abs_builddir
="$ac_dir";;
47620 .
) ac_abs_builddir
=`pwd`;;
47621 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
47622 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
47625 case $ac_abs_builddir in
47626 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47628 case ${ac_top_builddir}.
in
47629 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
47630 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
47631 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
47634 case $ac_abs_builddir in
47635 .
) ac_abs_srcdir
=$ac_srcdir;;
47638 .
) ac_abs_srcdir
=$ac_abs_builddir;;
47639 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
47640 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
47643 case $ac_abs_builddir in
47644 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
47646 case $ac_top_srcdir in
47647 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
47648 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
47649 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
47656 # Check for guested configure; otherwise get Cygnus style configure.
47657 if test -f $ac_srcdir/configure.gnu
; then
47658 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
47659 elif test -f $ac_srcdir/configure
; then
47660 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
47661 elif test -f $ac_srcdir/configure.
in; then
47662 ac_sub_configure
=$ac_configure
47664 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
47665 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
47669 # The recursion is here.
47670 if test -n "$ac_sub_configure"; then
47671 # Make the cache file name correct relative to the subdirectory.
47672 case $cache_file in
47673 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
47674 *) # Relative path.
47675 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
47678 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
47679 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
47680 # The eval makes quoting arguments work.
47681 eval $ac_sub_configure $ac_sub_configure_args \
47682 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
47683 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
47684 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
47685 { (exit 1); exit 1; }; }
47694 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
47696 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
47697 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
47699 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
47700 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
47701 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
47703 echo " What level of wxWidgets compatibility should be enabled?"
47704 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
47705 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
47707 echo " Which libraries should wxWidgets use?"
47708 echo " jpeg ${wxUSE_LIBJPEG-none}"
47709 echo " png ${wxUSE_LIBPNG-none}"
47710 echo " regex ${wxUSE_REGEX}"
47711 echo " tiff ${wxUSE_LIBTIFF-none}"
47712 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
47713 echo " xpm ${wxUSE_LIBXPM-none}"
47715 echo " zlib ${wxUSE_ZLIB}"
47716 echo " odbc ${wxUSE_ODBC}"
47717 echo " expat ${wxUSE_EXPAT}"
47718 echo " libmspack ${wxUSE_LIBMSPACK}"
47719 echo " sdl ${wxUSE_LIBSDL}"
47720 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"