2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
25 DUALCASE
=1; export DUALCASE
# for MKS sh
27 # Support unset when possible.
28 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C
; export $as_var
54 # Required to use basename.
55 if expr a
: '\(a\)' >/dev
/null
2>&1; then
61 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
68 # Name of the executable.
69 as_me
=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits
='0123456789'
87 as_cr_alnum
=$as_cr_Letters$as_cr_digits
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
94 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
105 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
111 *[\\/]* ) as_myself
=$0 ;;
112 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
116 test -z "$as_dir" && as_dir
=.
117 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x
; then
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
131 case $CONFIG_SHELL in
133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
134 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
137 test -z "$as_dir" && as_dir
=.
138 for as_base
in sh bash ksh sh5
; do
141 if ("$as_dir/$as_base" -c '
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
147 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
148 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
149 CONFIG_SHELL
=$as_dir/$as_base
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175 s,^['$as_cr_digits']*\n,,
177 chmod +x
$as_me.lineno
||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
185 # Exit status is that of the last command.
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c
*,-n*) ECHO_N
= ECHO_C
='
193 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
194 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
197 if expr a
: '\(a\)' >/dev
/null
2>&1; then
203 rm -f conf$$ conf$$.exe conf$$.
file
205 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe
; then
209 # Don't use ln at all; we don't have any links
214 elif ln conf$$.
file conf$$
2>/dev
/null
; then
219 rm -f conf$$ conf$$.exe conf$$.
file
221 if mkdir -p .
2>/dev
/null
; then
224 test -d .
/-p && rmdir .
/-p
228 as_executable_p
="test -f"
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
238 # We need space, tab and new line, in precisely that order.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
257 ac_default_prefix
=/usr
/local
258 ac_config_libobj_dir
=.
263 SHELL
=${CONFIG_SHELL-/bin/sh}
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
270 # Identity of this package.
271 PACKAGE_NAME
='wxWidgets'
272 PACKAGE_TARNAME
='wxwidgets'
273 PACKAGE_VERSION
='2.7.0'
274 PACKAGE_STRING
='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
277 ac_unique_file
="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default
="\
282 # include <sys/types.h>
285 # include <sys/stat.h>
296 # if !STDC_HEADERS && HAVE_MEMORY_H
302 # include <strings.h>
305 # include <inttypes.h>
315 ac_subdirs_all
="$ac_subdirs_all src/expat"
316 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S LNDIR CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS HILDON_CFLAGS HILDON_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 EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
319 # Initialize some variables set by options.
321 ac_init_version
=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
331 program_transform_name
=s
,x
,x
,
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir
='${exec_prefix}/bin'
345 sbindir
='${exec_prefix}/sbin'
346 libexecdir
='${exec_prefix}/libexec'
347 datadir
='${prefix}/share'
348 sysconfdir
='${prefix}/etc'
349 sharedstatedir
='${prefix}/com'
350 localstatedir
='${prefix}/var'
351 libdir
='${exec_prefix}/lib'
352 includedir
='${prefix}/include'
353 oldincludedir
='/usr/include'
354 infodir
='${prefix}/info'
355 mandir
='${prefix}/man'
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
367 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
369 # Accept the important Cygnus configure options, so we can diagnose typos.
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 -build | --build | --buil | --bui | --bu)
379 ac_prev
=build_alias
;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias
=$ac_optarg ;;
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev
=cache_file
;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file
=$ac_optarg ;;
391 cache_file
=config.cache
;;
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
397 datadir
=$ac_optarg ;;
399 -disable-* | --disable-*)
400 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
408 -enable-* | --enable-*)
409 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
416 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 eval "enable_$ac_feature='$ac_optarg'" ;;
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev
=exec_prefix
;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix
=$ac_optarg ;;
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
434 -help | --help | --hel | --he | -h)
436 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
437 ac_init_help
=recursive
;;
438 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
439 ac_init_help
=short
;;
441 -host | --host | --hos | --ho)
442 ac_prev
=host_alias
;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias
=$ac_optarg ;;
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev
=includedir
;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir
=$ac_optarg ;;
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir
=$ac_optarg ;;
458 -libdir | --libdir | --libdi | --libd)
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev
=libexecdir
;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir
=$ac_optarg ;;
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev
=localstatedir
;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir
=$ac_optarg ;;
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 # Obsolete; use --without-fp.
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev
=oldincludedir
;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir
=$ac_optarg ;;
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev
=program_prefix
;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix
=$ac_optarg ;;
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev
=program_suffix
;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix
=$ac_optarg ;;
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev
=program_transform_name
;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name
=$ac_optarg ;;
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
549 sbindir
=$ac_optarg ;;
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
555 ac_prev
=sharedstatedir
;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
560 sharedstatedir
=$ac_optarg ;;
562 -site | --site | --sit)
564 -site=* | --site=* | --sit=*)
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev
=sysconfdir
;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir
=$ac_optarg ;;
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev
=target_alias
;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias
=$ac_optarg ;;
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
587 -version | --version | --versio | --versi | --vers | -V)
591 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 eval "with_$ac_package='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package
=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
=$ac_optarg ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
=$ac_optarg ;;
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
636 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
656 if test -n "$ac_prev"; then
657 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
662 # Be sure to have absolute paths.
663 for ac_var
in exec_prefix prefix
665 eval ac_val
=$
`echo $ac_var`
667 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
673 # Be sure to have absolute paths.
674 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
677 eval ac_val
=$
`echo $ac_var`
679 [\\/$
]* | ?
:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x
; then
694 if test "x$build_alias" = x
; then
695 cross_compiling
=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
704 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
706 test "$silent" = yes && exec 6>/dev
/null
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir
=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
726 if test ! -r $srcdir/$ac_unique_file; then
730 ac_srcdir_defaulted
=no
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
741 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null
||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set
=${build_alias+set}
746 ac_env_build_alias_value
=$build_alias
747 ac_cv_env_build_alias_set
=${build_alias+set}
748 ac_cv_env_build_alias_value
=$build_alias
749 ac_env_host_alias_set
=${host_alias+set}
750 ac_env_host_alias_value
=$host_alias
751 ac_cv_env_host_alias_set
=${host_alias+set}
752 ac_cv_env_host_alias_value
=$host_alias
753 ac_env_target_alias_set
=${target_alias+set}
754 ac_env_target_alias_value
=$target_alias
755 ac_cv_env_target_alias_set
=${target_alias+set}
756 ac_cv_env_target_alias_value
=$target_alias
757 ac_env_CC_set
=${CC+set}
759 ac_cv_env_CC_set
=${CC+set}
760 ac_cv_env_CC_value
=$CC
761 ac_env_CFLAGS_set
=${CFLAGS+set}
762 ac_env_CFLAGS_value
=$CFLAGS
763 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value
=$CFLAGS
765 ac_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_env_LDFLAGS_value
=$LDFLAGS
767 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value
=$LDFLAGS
769 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
773 ac_env_CPP_set
=${CPP+set}
774 ac_env_CPP_value
=$CPP
775 ac_cv_env_CPP_set
=${CPP+set}
776 ac_cv_env_CPP_value
=$CPP
777 ac_env_CXX_set
=${CXX+set}
778 ac_env_CXX_value
=$CXX
779 ac_cv_env_CXX_set
=${CXX+set}
780 ac_cv_env_CXX_value
=$CXX
781 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
785 ac_env_CXXCPP_set
=${CXXCPP+set}
786 ac_env_CXXCPP_value
=$CXXCPP
787 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value
=$CXXCPP
791 # Report the --help message.
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
799 Usage: $0 [OPTION]... [VAR=VALUE]...
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
804 Defaults for the options are specified in brackets.
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
831 For better control, use the options below.
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
851 --x-includes=DIR X include files are
in DIR
852 --x-libraries=DIR X library files are
in DIR
855 --build=BUILD configure
for building on BUILD
[guessed
]
856 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
857 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short
| recursive
) echo "Configuration of wxWidgets 2.7.0:";;
868 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
869 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK
+ 1.2 instead of
2.0
876 --enable-gpe use GNOME PDA Environment features
if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL
for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag
(recommended
for developers
!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C
++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat24 enable wxWidgets
2.4 compatibility
893 --disable-compat26 disable wxWidgets
2.6 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-richtext use wxRichTextCtrl
963 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
964 --enable-prologio not available
; see contrib
965 --enable-resources not available
; see contrib
966 --enable-clipboard use wxClipboard class
967 --enable-dnd use Drag
'n'Drop classes
968 --enable-metafile use win32 metafiles
969 --enable-controls use all usual controls
970 --enable-accel use accelerators
971 --enable-button use wxButton class
972 --enable-bmpbutton use wxBitmapButton class
973 --enable-calendar use wxCalendarCtrl class
974 --enable-caret use wxCaret class
975 --enable-checkbox use wxCheckBox class
976 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
977 --enable-choice use wxChoice class
978 --enable-choicebook use wxChoicebook class
979 --enable-combobox use wxComboBox class
980 --enable-datepick use wxDatePickerCtrl class
981 --enable-display use wxDisplay class
982 --enable-gauge use wxGauge class
983 --enable-grid use wxGrid class
984 --enable-dataviewctrl, use wxDataViewCtrl class
985 --enable-imaglist use wxImageList class
986 --enable-listbook use wxListbook class
987 --enable-listbox use wxListBox class
988 --enable-listctrl use wxListCtrl class
989 --enable-notebook use wxNotebook class
990 --enable-radiobox use wxRadioBox class
991 --enable-radiobtn use wxRadioButton class
992 --enable-sash use wxSashWindow class
993 --enable-scrollbar use wxScrollBar class and scrollable windows
994 --enable-slider use wxSlider class
995 --enable-spinbtn use wxSpinButton class
996 --enable-spinctrl use wxSpinCtrl class
997 --enable-splitter use wxSplitterWindow class
998 --enable-statbmp use wxStaticBitmap class
999 --enable-statbox use wxStaticBox class
1000 --enable-statline use wxStaticLine class
1001 --enable-stattext use wxStaticText class
1002 --enable-statusbar use wxStatusBar class
1003 --enable-tabdialog use wxTabControl class
1004 --enable-textctrl use wxTextCtrl class
1005 --enable-togglebtn use wxToggleButton class
1006 --enable-toolbar use wxToolBar class
1007 --enable-tbarnative use native wxToolBar class
1008 --enable-tbarsmpl use wxToolBarSimple class
1009 --enable-treebook use wxTreebook class
1010 --enable-treectrl use wxTreeCtrl class
1011 --enable-tipwindow use wxTipWindow class
1012 --enable-popupwin use wxPopUpWindow class
1013 --enable-commondlg use all common dialogs
1014 --enable-choicedlg use wxChoiceDialog
1015 --enable-coldlg use wxColourDialog
1016 --enable-filedlg use wxFileDialog
1017 --enable-finddlg use wxFindReplaceDialog
1018 --enable-fontdlg use wxFontDialog
1019 --enable-dirdlg use wxDirDialog
1020 --enable-msgdlg use wxMessageDialog
1021 --enable-numberdlg use wxNumberEntryDialog
1022 --enable-splash use wxSplashScreen
1023 --enable-textdlg use wxTextDialog
1024 --enable-tipdlg use startup tips
1025 --enable-progressdlg use wxProgressDialog
1026 --enable-wizarddlg use wxWizard
1027 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1028 --enable-miniframe use wxMiniFrame class
1029 --enable-tooltips use wxToolTip class
1030 --enable-splines use spline drawing code
1031 --enable-mousewheel use mousewheel
1032 --enable-validators use wxValidator and derived classes
1033 --enable-busyinfo use wxBusyInfo
1034 --enable-joystick use wxJoystick
1035 --enable-metafiles use wxMetaFile
(Win32 only
)
1036 --enable-dragimage use wxDragImage
1037 --enable-accessibility enable accessibility support
1038 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1039 --enable-palette use wxPalette class
1040 --enable-image use wxImage class
1041 --enable-gif use gif images
(GIF
file format
)
1042 --enable-pcx use pcx images
(PCX
file format
)
1043 --enable-iff use iff images
(IFF
file format
)
1044 --enable-pnm use pnm images
(PNM
file format
)
1045 --enable-xpm use xpm images
(XPM
file format
)
1046 --enable-icocur use Windows ICO and CUR formats
1047 --enable-official_build official build of wxWidgets
(win32 DLL only
)
1048 --enable-vendor=VENDOR vendor name
(win32 DLL only
)
1049 --disable-largefile omit support
for large files
1050 --disable-gtktest do not try to compile and run a
test GTK
+ program
1051 --disable-gtktest Do not try to compile and run a
test GTK program
1052 --disable-sdltest Do not try to compile and run a
test SDL program
1053 --enable-omf use OMF object format
(OS
/2)
1054 --disable-precomp-headers
1055 don
't use precompiled headers even if compiler can
1058 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1059 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1060 --without-subdirs don't generate makefiles
for samples
/demos
/...
1061 --with-gtk[=VERSION
] use GTK
+, VERSION can be
2 (default
), 1 or
"any"
1062 --with-motif use Motif
/Lesstif
1063 --with-mac use Mac OS X
1064 --with-cocoa use Cocoa
1065 --with-wine use Wine
1066 --with-msw use MS
-Windows
1067 --with-pm use OS
/2 Presentation Manager
1068 --with-mgl use SciTech MGL
1069 --with-microwin use MicroWindows
1071 --with-libpng use libpng
(PNG image format
)
1072 --with-libjpeg use libjpeg
(JPEG
file format
)
1073 --with-libtiff use libtiff
(TIFF
file format
)
1074 --with-libxpm use libxpm
(XPM
file format
)
1075 --with-libmspack use libmspack
(CHM
help files loading
)
1076 --with-sdl use SDL
for audio on Unix
1077 --with-gnomeprint use GNOME print
for printing under Unix
1078 --with-hildon use Hildon framework
for Nokia
770
1079 --with-opengl use OpenGL
(or Mesa
)
1080 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
1081 --with-regex enable support
for wxRegEx class
1082 --with-zlib use zlib
for LZW compression
1083 --with-odbc use the IODBC and wxODBC classes
1084 --with-expat enable XML support using expat parser
1085 --with-flavour=NAME specify a name to identify this build
1086 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1087 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1088 --with-x use the X Window System
1089 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
1090 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1091 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1092 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
1093 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
1095 Some influential environment variables
:
1096 CC C compiler
command
1097 CFLAGS C compiler flags
1098 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1099 nonstandard directory
<lib dir
>
1100 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1101 headers
in a nonstandard directory
<include dir
>
1103 CXX C
++ compiler
command
1104 CXXFLAGS C
++ compiler flags
1105 CXXCPP C
++ preprocessor
1107 Use these variables to override the choices made by
`configure' or to help
1108 it to find libraries and programs with nonstandard names/locations.
1110 Report bugs to <wx-dev@lists.wxwidgets.org>.
1114 if test "$ac_init_help" = "recursive"; then
1115 # If there are subdirs, report their specific --help.
1117 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1118 test -d $ac_dir || continue
1121 if test "$ac_dir" != .; then
1122 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1123 # A "../" for each directory in $ac_dir_suffix.
1124 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1126 ac_dir_suffix= ac_top_builddir=
1130 .) # No --srcdir option. We are building in place.
1132 if test -z "$ac_top_builddir"; then
1135 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1137 [\\/]* | ?:[\\/]* ) # Absolute path.
1138 ac_srcdir=$srcdir$ac_dir_suffix;
1139 ac_top_srcdir=$srcdir ;;
1141 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1142 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1145 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1146 # the directories may not exist.
1148 .) ac_abs_builddir="$ac_dir";;
1151 .) ac_abs_builddir=`pwd`;;
1152 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1153 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1156 case $ac_abs_builddir in
1157 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1159 case ${ac_top_builddir}. in
1160 .) ac_abs_top_builddir=$ac_abs_builddir;;
1161 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1162 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1165 case $ac_abs_builddir in
1166 .) ac_abs_srcdir=$ac_srcdir;;
1169 .) ac_abs_srcdir=$ac_abs_builddir;;
1170 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1171 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1174 case $ac_abs_builddir in
1175 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1177 case $ac_top_srcdir in
1178 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1179 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1180 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1185 # Check for guested configure; otherwise get Cygnus style configure.
1186 if test -f $ac_srcdir/configure.gnu; then
1188 $SHELL $ac_srcdir/configure.gnu --help=recursive
1189 elif test -f $ac_srcdir/configure; then
1191 $SHELL $ac_srcdir/configure --help=recursive
1192 elif test -f $ac_srcdir/configure.ac ||
1193 test -f $ac_srcdir/configure.in; then
1195 $ac_configure --help
1197 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1203 test -n "$ac_init_help" && exit 0
1204 if $ac_init_version; then
1206 wxWidgets configure 2.7.0
1207 generated by GNU Autoconf 2.59
1209 Copyright (C) 2003 Free Software Foundation, Inc.
1210 This configure script is free software; the Free Software Foundation
1211 gives unlimited permission to copy, distribute and modify it.
1217 This file contains any messages produced by compilers while
1218 running configure, to aid debugging if configure makes a mistake.
1220 It was created by wxWidgets $as_me 2.7.0, which was
1221 generated by GNU Autoconf 2.59. Invocation command line was
1232 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
1233 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
1234 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
1235 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
1236 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
1238 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
1239 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
1241 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
1242 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
1243 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
1244 hostinfo = `(hostinfo
) 2>/dev
/null
|| echo unknown
`
1245 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
1246 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
1247 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
1251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1255 test -z "$as_dir" && as_dir=.
1256 echo "PATH: $as_dir"
1271 # Keep a trace of the command line.
1272 # Strip out --no-create and --no-recursion so they do not pile up.
1273 # Strip out --silent because we don't want to record it for future runs.
1274 # Also quote any args containing shell meta-characters.
1275 # Make two passes to allow for proper duplicate-argument suppression.
1280 ac_must_keep_next=false
1286 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1287 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1288 | -silent | --silent | --silen | --sile | --sil)
1290 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1291 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1294 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1296 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1297 if test $ac_must_keep_next = true; then
1298 ac_must_keep_next=false # Got value, back to normal.
1301 *=* | --config-cache | -C | -disable-* | --disable-* \
1302 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1303 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1304 | -with-* | --with-* | -without-* | --without-* | --x)
1305 case "$ac_configure_args0 " in
1306 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1309 -* ) ac_must_keep_next=true ;;
1312 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1313 # Get rid of the leading space.
1319 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1320 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1322 # When interrupted or exit'd, cleanup temporary files, and complete
1323 # config.log. We remove comments because anyway the quotes in there
1324 # would cause problems or look ugly.
1325 # WARNING: Be sure not to use single quotes in there, as some shells,
1326 # such as our DU 5.0 friend, will then `close
' the trap.
1327 trap 'exit_status
=$?
1328 # Save into config.log some information that might help in debugging.
1333 ## ---------------- ##
1334 ## Cache variables. ##
1335 ## ---------------- ##
1338 # The following way of writing the cache mishandles newlines in values,
1341 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1344 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1345 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1349 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1356 ## ----------------- ##
1357 ## Output variables. ##
1358 ## ----------------- ##
1361 for ac_var
in $ac_subst_vars
1363 eval ac_val
=$
`echo $ac_var`
1364 echo "$ac_var='"'"'$ac_val'"'"'"
1368 if test -n "$ac_subst_files"; then
1375 for ac_var
in $ac_subst_files
1377 eval ac_val
=$
`echo $ac_var`
1378 echo "$ac_var='"'"'$ac_val'"'"'"
1383 if test -s confdefs.h
; then
1390 sed "/^$/d" confdefs.h
| sort
1393 test "$ac_signal" != 0 &&
1394 echo "$as_me: caught signal $ac_signal"
1395 echo "$as_me: exit $exit_status"
1397 rm -f core
*.core
&&
1398 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1401 for ac_signal in 1 2 13 15; do
1402 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1406 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1407 rm -rf conftest* confdefs.h
1408 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1411 # Predefined preprocessor variables.
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_NAME "$PACKAGE_NAME"
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1423 cat >>confdefs.h <<_ACEOF
1424 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_STRING "$PACKAGE_STRING"
1433 cat >>confdefs.h <<_ACEOF
1434 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1438 # Let the site file select an alternate cache file if it wants to.
1439 # Prefer explicitly selected file to automatically selected ones.
1440 if test -z "$CONFIG_SITE"; then
1441 if test "x$prefix" != xNONE; then
1442 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1444 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1447 for ac_site_file in $CONFIG_SITE; do
1448 if test -r "$ac_site_file"; then
1449 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1450 echo "$as_me: loading site script $ac_site_file" >&6;}
1451 sed 's
/^
/| /' "$ac_site_file" >&5
1456 if test -r "$cache_file"; then
1457 # Some versions of bash will fail to source /dev/null (special
1458 # files actually), so we avoid doing that.
1459 if test -f "$cache_file"; then
1460 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1461 echo "$as_me: loading cache $cache_file" >&6;}
1463 [\\/]* | ?:[\\/]* ) . $cache_file;;
1464 *) . ./$cache_file;;
1468 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1469 echo "$as_me: creating cache $cache_file" >&6;}
1473 # Check that the precious variables saved in the cache have kept the same
1475 ac_cache_corrupted=false
1476 for ac_var in `(set) 2>&1 |
1477 sed -n 's
/^ac_env_\
([a
-zA-Z_0-9]*\
)_set
=.
*/\
1/p
'`; do
1478 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1479 eval ac_new_set=\$ac_env_${ac_var}_set
1480 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1481 eval ac_new_val="\$ac_env_${ac_var}_value"
1482 case $ac_old_set,$ac_new_set in
1484 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1485 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1486 ac_cache_corrupted=: ;;
1488 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1489 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1490 ac_cache_corrupted=: ;;
1493 if test "x$ac_old_val" != "x$ac_new_val"; then
1494 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1495 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1496 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1497 echo "$as_me: former value: $ac_old_val" >&2;}
1498 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1499 echo "$as_me: current value: $ac_new_val" >&2;}
1500 ac_cache_corrupted=:
1503 # Pass precious variables to config.status.
1504 if test "$ac_new_set" = set; then
1506 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1507 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1508 *) ac_arg=$ac_var=$ac_new_val ;;
1510 case " $ac_configure_args " in
1511 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1512 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1516 if $ac_cache_corrupted; then
1517 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1518 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1519 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1520 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1521 { (exit 1); exit 1; }; }
1525 ac_cpp='$CPP $CPPFLAGS'
1526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1527 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1560 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1561 if test -f $ac_dir/install-sh; then
1563 ac_install_sh="$ac_aux_dir/install-sh -c"
1565 elif test -f $ac_dir/install.sh; then
1567 ac_install_sh="$ac_aux_dir/install.sh -c"
1569 elif test -f $ac_dir/shtool; then
1571 ac_install_sh="$ac_aux_dir/shtool install -c"
1575 if test -z "$ac_aux_dir"; then
1576 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1577 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1578 { (exit 1); exit 1; }; }
1580 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1581 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1582 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1584 # Make sure we can run config.sub.
1585 $ac_config_sub sun4 >/dev/null 2>&1 ||
1586 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1587 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1588 { (exit 1); exit 1; }; }
1590 echo "$as_me:$LINENO: checking build system type" >&5
1591 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1592 if test "${ac_cv_build+set}" = set; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 ac_cv_build_alias=$build_alias
1596 test -z "$ac_cv_build_alias" &&
1597 ac_cv_build_alias=`$ac_config_guess`
1598 test -z "$ac_cv_build_alias" &&
1599 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1600 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1601 { (exit 1); exit 1; }; }
1602 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1603 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1604 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1605 { (exit 1); exit 1; }; }
1608 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1609 echo "${ECHO_T}$ac_cv_build" >&6
1611 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1612 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1613 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1616 echo "$as_me:$LINENO: checking host system type" >&5
1617 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1618 if test "${ac_cv_host+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 ac_cv_host_alias=$host_alias
1622 test -z "$ac_cv_host_alias" &&
1623 ac_cv_host_alias=$ac_cv_build_alias
1624 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1625 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1626 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1627 { (exit 1); exit 1; }; }
1630 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1631 echo "${ECHO_T}$ac_cv_host" >&6
1633 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1634 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1635 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1638 echo "$as_me:$LINENO: checking target system type" >&5
1639 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1640 if test "${ac_cv_target+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 ac_cv_target_alias=$target_alias
1644 test "x$ac_cv_target_alias" = "x" &&
1645 ac_cv_target_alias=$ac_cv_host_alias
1646 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1647 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1648 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1649 { (exit 1); exit 1; }; }
1652 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1653 echo "${ECHO_T}$ac_cv_target" >&6
1654 target=$ac_cv_target
1655 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1656 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1657 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1660 # The aliases save the names the user supplied, while $host etc.
1661 # will get canonicalized.
1662 test -n "$target_alias" &&
1663 test "$program_prefix$program_suffix$program_transform_name" = \
1665 program_prefix=${target_alias}-
1669 wx_major_version_number=2
1670 wx_minor_version_number=7
1672 wx_subrelease_number=0
1674 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1675 WX_VERSION=$WX_RELEASE.$wx_release_number
1676 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1678 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1691 USE_BSD= USE_DARWIN= USE_FREEBSD=
1697 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1703 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1705 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1707 DEFAULT_wxUSE_COCOA=0
1711 DEFAULT_wxUSE_MICROWIN=0
1712 DEFAULT_wxUSE_MOTIF=0
1717 DEFAULT_DEFAULT_wxUSE_COCOA=0
1718 DEFAULT_DEFAULT_wxUSE_GTK=0
1719 DEFAULT_DEFAULT_wxUSE_MAC=0
1720 DEFAULT_DEFAULT_wxUSE_MGL=0
1721 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1722 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1723 DEFAULT_DEFAULT_wxUSE_MSW=0
1724 DEFAULT_DEFAULT_wxUSE_PM=0
1725 DEFAULT_DEFAULT_wxUSE_X11=0
1730 SAMPLES_RPATH_POSTLINK=
1732 DEFAULT_STD_FLAG=yes
1737 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1738 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1740 cat >>confdefs.h <<\_ACEOF
1745 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1749 cat >>confdefs.h <<\_ACEOF
1754 if test "x$TMP" = "xalpha"; then
1756 cat >>confdefs.h <<\_ACEOF
1761 DEFAULT_DEFAULT_wxUSE_GTK=1
1763 *-*-gnu* | *-*-k*bsd*-gnu )
1766 if test "x$TMP" = "xalpha"; then
1768 cat >>confdefs.h <<\_ACEOF
1773 DEFAULT_DEFAULT_wxUSE_GTK=1
1775 *-*-irix5* | *-*-irix6* )
1778 cat >>confdefs.h <<\_ACEOF
1782 cat >>confdefs.h <<\_ACEOF
1786 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1792 cat >>confdefs.h <<\_ACEOF
1796 cat >>confdefs.h <<\_ACEOF
1797 #define __SOLARIS__ 1
1800 cat >>confdefs.h <<\_ACEOF
1804 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1805 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1811 cat >>confdefs.h <<\_ACEOF
1815 cat >>confdefs.h <<\_ACEOF
1819 cat >>confdefs.h <<\_ACEOF
1823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1828 cat >>confdefs.h <<\_ACEOF
1829 #define __FREEBSD__ 1
1832 cat >>confdefs.h <<\_ACEOF
1836 DEFAULT_DEFAULT_wxUSE_GTK=1
1841 cat >>confdefs.h <<\_ACEOF
1842 #define __OPENBSD__ 1
1845 cat >>confdefs.h <<\_ACEOF
1849 DEFAULT_DEFAULT_wxUSE_GTK=1
1854 cat >>confdefs.h <<\_ACEOF
1855 #define __NETBSD__ 1
1858 cat >>confdefs.h <<\_ACEOF
1862 DEFAULT_DEFAULT_wxUSE_GTK=1
1867 cat >>confdefs.h <<\_ACEOF
1871 cat >>confdefs.h <<\_ACEOF
1875 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1876 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1881 cat >>confdefs.h <<\_ACEOF
1885 cat >>confdefs.h <<\_ACEOF
1889 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1894 cat >>confdefs.h <<\_ACEOF
1898 cat >>confdefs.h <<\_ACEOF
1902 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1909 cat >>confdefs.h <<\_ACEOF
1913 cat >>confdefs.h <<\_ACEOF
1917 cat >>confdefs.h <<\_ACEOF
1921 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __UNIXWARE__ 1
1934 *-*-cygwin* | *-*-mingw32* )
1937 DEFAULT_DEFAULT_wxUSE_MSW=1
1944 cat >>confdefs.h <<\_ACEOF
1949 DEFAULT_DEFAULT_wxUSE_MGL=1
1952 *-pc-os2_emx | *-pc-os2-emx )
1953 cat >>confdefs.h <<\_ACEOF
1958 cat >>confdefs.h <<\_ACEOF
1963 DEFAULT_DEFAULT_wxUSE_PM=1
1965 LDFLAGS="$LDFLAGS -Zcrtdll"
1966 ac_executable_extensions=".exe"
1967 export ac_executable_extensions
1971 for ac_dir in $PATH; do
1973 if test -z "$ac_TEMP_PATH"; then
1974 ac_TEMP_PATH="$ac_dir"
1976 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1979 export PATH="$ac_TEMP_PATH"
1988 cat >>confdefs.h <<\_ACEOF
1992 cat >>confdefs.h <<\_ACEOF
1993 #define __DARWIN__ 1
1996 cat >>confdefs.h <<\_ACEOF
1997 #define TARGET_CARBON 1
2000 DEFAULT_DEFAULT_wxUSE_MAC=1
2003 powerpc-apple-macos* )
2005 ac_cv_c_bigendian=yes
2007 DEFAULT_DEFAULT_wxUSE_MAC=1
2013 cat >>confdefs.h <<\_ACEOF
2020 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2021 echo "$as_me: error: unknown system type ${host}." >&2;}
2022 { (exit 1); exit 1; }; }
2028 wx_arg_cache_file="configarg.cache"
2029 echo "loading argument cache $wx_arg_cache_file"
2030 rm -f ${wx_arg_cache_file}.tmp
2031 touch ${wx_arg_cache_file}.tmp
2032 touch ${wx_arg_cache_file}
2036 if test $DEBUG_CONFIGURE = 1; then
2037 DEFAULT_wxUSE_UNIVERSAL=no
2038 DEFAULT_wxUSE_STL=no
2040 DEFAULT_wxUSE_NANOX=no
2042 DEFAULT_wxUSE_THREADS=yes
2044 DEFAULT_wxUSE_SHARED=yes
2045 DEFAULT_wxUSE_OPTIMISE=no
2046 DEFAULT_wxUSE_PROFILE=no
2047 DEFAULT_wxUSE_NO_DEPS=no
2048 DEFAULT_wxUSE_NO_RTTI=no
2049 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2050 DEFAULT_wxUSE_RPATH=yes
2051 DEFAULT_wxUSE_PERMISSIVE=no
2052 DEFAULT_wxUSE_DEBUG_FLAG=yes
2053 DEFAULT_wxUSE_DEBUG_INFO=yes
2054 DEFAULT_wxUSE_DEBUG_GDB=yes
2055 DEFAULT_wxUSE_MEM_TRACING=no
2056 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2057 DEFAULT_wxUSE_DMALLOC=no
2058 DEFAULT_wxUSE_APPLE_IEEE=no
2060 DEFAULT_wxUSE_EXCEPTIONS=no
2061 DEFAULT_wxUSE_LOG=yes
2062 DEFAULT_wxUSE_LOGWINDOW=no
2063 DEFAULT_wxUSE_LOGGUI=no
2064 DEFAULT_wxUSE_LOGDIALOG=no
2066 DEFAULT_wxUSE_GUI=yes
2067 DEFAULT_wxUSE_CONTROLS=no
2069 DEFAULT_wxUSE_REGEX=no
2070 DEFAULT_wxUSE_XML=no
2071 DEFAULT_wxUSE_EXPAT=no
2072 DEFAULT_wxUSE_ZLIB=no
2073 DEFAULT_wxUSE_LIBPNG=no
2074 DEFAULT_wxUSE_LIBJPEG=no
2075 DEFAULT_wxUSE_LIBTIFF=no
2076 DEFAULT_wxUSE_LIBXPM=no
2077 DEFAULT_wxUSE_LIBMSPACK=no
2078 DEFAULT_wxUSE_LIBSDL=no
2079 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2080 DEFAULT_wxUSE_LIBHILDON=no
2081 DEFAULT_wxUSE_ODBC=no
2082 DEFAULT_wxUSE_OPENGL=no
2084 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2085 DEFAULT_wxUSE_STACKWALKER=no
2086 DEFAULT_wxUSE_DEBUGREPORT=no
2087 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2088 DEFAULT_wxUSE_STD_IOSTREAM=no
2089 DEFAULT_wxUSE_STD_STRING=no
2090 DEFAULT_wxUSE_CMDLINE_PARSER=no
2091 DEFAULT_wxUSE_DATETIME=no
2092 DEFAULT_wxUSE_TIMER=no
2093 DEFAULT_wxUSE_STOPWATCH=no
2094 DEFAULT_wxUSE_FILE=no
2095 DEFAULT_wxUSE_FFILE=no
2096 DEFAULT_wxUSE_STDPATHS=no
2097 DEFAULT_wxUSE_TEXTBUFFER=no
2098 DEFAULT_wxUSE_TEXTFILE=no
2099 DEFAULT_wxUSE_SOUND=no
2100 DEFAULT_wxUSE_MEDIACTRL=no
2101 DEFAULT_wxUSE_INTL=no
2102 DEFAULT_wxUSE_CONFIG=no
2103 DEFAULT_wxUSE_FONTMAP=no
2104 DEFAULT_wxUSE_STREAMS=no
2105 DEFAULT_wxUSE_SOCKETS=no
2106 DEFAULT_wxUSE_OLE=no
2107 DEFAULT_wxUSE_DATAOBJ=no
2108 DEFAULT_wxUSE_DIALUP_MANAGER=no
2109 DEFAULT_wxUSE_JOYSTICK=no
2110 DEFAULT_wxUSE_DYNLIB_CLASS=no
2111 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2112 DEFAULT_wxUSE_LONGLONG=no
2113 DEFAULT_wxUSE_GEOMETRY=no
2115 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2116 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2117 DEFAULT_wxUSE_POSTSCRIPT=no
2119 DEFAULT_wxUSE_CLIPBOARD=no
2120 DEFAULT_wxUSE_TOOLTIPS=no
2121 DEFAULT_wxUSE_DRAG_AND_DROP=no
2122 DEFAULT_wxUSE_DRAGIMAGE=no
2123 DEFAULT_wxUSE_SPLINES=no
2124 DEFAULT_wxUSE_MOUSEWHEEL=no
2126 DEFAULT_wxUSE_MDI=no
2127 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2128 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2129 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2131 DEFAULT_wxUSE_RESOURCES=no
2132 DEFAULT_wxUSE_CONSTRAINTS=no
2133 DEFAULT_wxUSE_IPC=no
2134 DEFAULT_wxUSE_HELP=no
2135 DEFAULT_wxUSE_MS_HTML_HELP=no
2136 DEFAULT_wxUSE_WXHTML_HELP=no
2137 DEFAULT_wxUSE_TREELAYOUT=no
2138 DEFAULT_wxUSE_METAFILE=no
2139 DEFAULT_wxUSE_MIMETYPE=no
2140 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2141 DEFAULT_wxUSE_PROTOCOL=no
2142 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2143 DEFAULT_wxUSE_PROTOCOL_FTP=no
2144 DEFAULT_wxUSE_PROTOCOL_FILE=no
2145 DEFAULT_wxUSE_URL=no
2147 DEFAULT_wxUSE_COMMONDLGS=no
2148 DEFAULT_wxUSE_CHOICEDLG=no
2149 DEFAULT_wxUSE_COLOURDLG=no
2150 DEFAULT_wxUSE_DIRDLG=no
2151 DEFAULT_wxUSE_FILEDLG=no
2152 DEFAULT_wxUSE_FINDREPLDLG=no
2153 DEFAULT_wxUSE_FONTDLG=no
2154 DEFAULT_wxUSE_MSGDLG=no
2155 DEFAULT_wxUSE_NUMBERDLG=no
2156 DEFAULT_wxUSE_TEXTDLG=no
2157 DEFAULT_wxUSE_SPLASH=no
2158 DEFAULT_wxUSE_STARTUP_TIPS=no
2159 DEFAULT_wxUSE_PROGRESSDLG=no
2160 DEFAULT_wxUSE_WIZARDDLG=no
2162 DEFAULT_wxUSE_MENUS=no
2163 DEFAULT_wxUSE_MINIFRAME=no
2164 DEFAULT_wxUSE_HTML=no
2165 DEFAULT_wxUSE_RICHTEXT=no
2166 DEFAULT_wxUSE_XRC=no
2167 DEFAULT_wxUSE_WEBKIT=no
2168 DEFAULT_wxUSE_FILESYSTEM=no
2169 DEFAULT_wxUSE_FS_INET=no
2170 DEFAULT_wxUSE_FS_ZIP=no
2171 DEFAULT_wxUSE_BUSYINFO=no
2172 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2173 DEFAULT_wxUSE_ZIPSTREAM=no
2174 DEFAULT_wxUSE_VALIDATORS=no
2176 DEFAULT_wxUSE_ACCEL=no
2177 DEFAULT_wxUSE_BUTTON=no
2178 DEFAULT_wxUSE_BMPBUTTON=no
2179 DEFAULT_wxUSE_CALCTRL=no
2180 DEFAULT_wxUSE_CARET=no
2181 DEFAULT_wxUSE_CHECKBOX=no
2182 DEFAULT_wxUSE_CHECKLST=no
2183 DEFAULT_wxUSE_CHOICE=no
2184 DEFAULT_wxUSE_CHOICEBOOK=no
2185 DEFAULT_wxUSE_COMBOBOX=no
2186 DEFAULT_wxUSE_DATEPICKCTRL=no
2187 DEFAULT_wxUSE_DISPLAY=no
2188 DEFAULT_wxUSE_GAUGE=no
2189 DEFAULT_wxUSE_GRID=no
2190 DEFAULT_wxUSE_DATAVIEWCTRL=no
2191 DEFAULT_wxUSE_IMAGLIST=no
2192 DEFAULT_wxUSE_LISTBOOK=no
2193 DEFAULT_wxUSE_LISTBOX=no
2194 DEFAULT_wxUSE_LISTCTRL=no
2195 DEFAULT_wxUSE_NOTEBOOK=no
2196 DEFAULT_wxUSE_RADIOBOX=no
2197 DEFAULT_wxUSE_RADIOBTN=no
2198 DEFAULT_wxUSE_SASH=no
2199 DEFAULT_wxUSE_SCROLLBAR=no
2200 DEFAULT_wxUSE_SLIDER=no
2201 DEFAULT_wxUSE_SPINBTN=no
2202 DEFAULT_wxUSE_SPINCTRL=no
2203 DEFAULT_wxUSE_SPLITTER=no
2204 DEFAULT_wxUSE_STATBMP=no
2205 DEFAULT_wxUSE_STATBOX=no
2206 DEFAULT_wxUSE_STATLINE=no
2207 DEFAULT_wxUSE_STATTEXT=no
2208 DEFAULT_wxUSE_STATUSBAR=yes
2209 DEFAULT_wxUSE_TABDIALOG=no
2210 DEFAULT_wxUSE_TEXTCTRL=no
2211 DEFAULT_wxUSE_TOGGLEBTN=no
2212 DEFAULT_wxUSE_TOOLBAR=no
2213 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2214 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2215 DEFAULT_wxUSE_TREEBOOK=no
2216 DEFAULT_wxUSE_TREECTRL=no
2217 DEFAULT_wxUSE_POPUPWIN=no
2218 DEFAULT_wxUSE_TIPWINDOW=no
2220 DEFAULT_wxUSE_UNICODE=no
2221 DEFAULT_wxUSE_UNICODE_MSLU=no
2222 DEFAULT_wxUSE_WCSRTOMBS=no
2224 DEFAULT_wxUSE_PALETTE=no
2225 DEFAULT_wxUSE_IMAGE=no
2226 DEFAULT_wxUSE_GIF=no
2227 DEFAULT_wxUSE_PCX=no
2228 DEFAULT_wxUSE_PNM=no
2229 DEFAULT_wxUSE_IFF=no
2230 DEFAULT_wxUSE_XPM=no
2231 DEFAULT_wxUSE_ICO_CUR=no
2232 DEFAULT_wxUSE_ACCESSIBILITY=no
2234 DEFAULT_wxUSE_MONOLITHIC=no
2235 DEFAULT_wxUSE_PLUGINS=no
2236 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2238 DEFAULT_wxUSE_UNIVERSAL=no
2239 DEFAULT_wxUSE_STL=no
2241 DEFAULT_wxUSE_NANOX=no
2243 DEFAULT_wxUSE_THREADS=yes
2245 DEFAULT_wxUSE_SHARED=yes
2246 DEFAULT_wxUSE_OPTIMISE=yes
2247 DEFAULT_wxUSE_PROFILE=no
2248 DEFAULT_wxUSE_NO_DEPS=no
2249 DEFAULT_wxUSE_NO_RTTI=no
2250 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2251 DEFAULT_wxUSE_RPATH=yes
2252 DEFAULT_wxUSE_PERMISSIVE=no
2253 DEFAULT_wxUSE_DEBUG_FLAG=no
2254 DEFAULT_wxUSE_DEBUG_INFO=no
2255 DEFAULT_wxUSE_DEBUG_GDB=no
2256 DEFAULT_wxUSE_MEM_TRACING=no
2257 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2258 DEFAULT_wxUSE_DMALLOC=no
2259 DEFAULT_wxUSE_APPLE_IEEE=yes
2261 DEFAULT_wxUSE_EXCEPTIONS=yes
2262 DEFAULT_wxUSE_LOG=yes
2263 DEFAULT_wxUSE_LOGWINDOW=yes
2264 DEFAULT_wxUSE_LOGGUI=yes
2265 DEFAULT_wxUSE_LOGDIALOG=yes
2267 DEFAULT_wxUSE_GUI=yes
2269 DEFAULT_wxUSE_REGEX=yes
2270 DEFAULT_wxUSE_XML=yes
2271 DEFAULT_wxUSE_EXPAT=yes
2272 DEFAULT_wxUSE_ZLIB=yes
2273 DEFAULT_wxUSE_LIBPNG=yes
2274 DEFAULT_wxUSE_LIBJPEG=yes
2275 DEFAULT_wxUSE_LIBTIFF=yes
2276 DEFAULT_wxUSE_LIBXPM=yes
2277 DEFAULT_wxUSE_LIBMSPACK=yes
2278 DEFAULT_wxUSE_LIBSDL=no
2279 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2280 DEFAULT_wxUSE_LIBHILDON=no
2281 DEFAULT_wxUSE_ODBC=no
2282 DEFAULT_wxUSE_OPENGL=no
2284 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2285 DEFAULT_wxUSE_STACKWALKER=yes
2286 DEFAULT_wxUSE_DEBUGREPORT=yes
2287 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2288 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2289 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2290 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2291 DEFAULT_wxUSE_DATETIME=yes
2292 DEFAULT_wxUSE_TIMER=yes
2293 DEFAULT_wxUSE_STOPWATCH=yes
2294 DEFAULT_wxUSE_FILE=yes
2295 DEFAULT_wxUSE_FFILE=yes
2296 DEFAULT_wxUSE_STDPATHS=yes
2297 DEFAULT_wxUSE_TEXTBUFFER=yes
2298 DEFAULT_wxUSE_TEXTFILE=yes
2299 DEFAULT_wxUSE_SOUND=yes
2300 DEFAULT_wxUSE_MEDIACTRL=no
2301 DEFAULT_wxUSE_INTL=yes
2302 DEFAULT_wxUSE_CONFIG=yes
2303 DEFAULT_wxUSE_FONTMAP=yes
2304 DEFAULT_wxUSE_STREAMS=yes
2305 DEFAULT_wxUSE_SOCKETS=yes
2306 DEFAULT_wxUSE_OLE=yes
2307 DEFAULT_wxUSE_DATAOBJ=yes
2308 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2309 DEFAULT_wxUSE_JOYSTICK=yes
2310 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2311 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2312 DEFAULT_wxUSE_LONGLONG=yes
2313 DEFAULT_wxUSE_GEOMETRY=yes
2315 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2316 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2317 DEFAULT_wxUSE_POSTSCRIPT=yes
2319 DEFAULT_wxUSE_CLIPBOARD=yes
2320 DEFAULT_wxUSE_TOOLTIPS=yes
2321 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2322 DEFAULT_wxUSE_DRAGIMAGE=yes
2323 DEFAULT_wxUSE_SPLINES=yes
2324 DEFAULT_wxUSE_MOUSEWHEEL=yes
2326 DEFAULT_wxUSE_MDI=yes
2327 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2328 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2329 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2331 DEFAULT_wxUSE_RESOURCES=no
2332 DEFAULT_wxUSE_CONSTRAINTS=yes
2333 DEFAULT_wxUSE_IPC=yes
2334 DEFAULT_wxUSE_HELP=yes
2335 DEFAULT_wxUSE_MS_HTML_HELP=yes
2336 DEFAULT_wxUSE_WXHTML_HELP=yes
2337 DEFAULT_wxUSE_TREELAYOUT=yes
2338 DEFAULT_wxUSE_METAFILE=yes
2339 DEFAULT_wxUSE_MIMETYPE=yes
2340 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2341 DEFAULT_wxUSE_PROTOCOL=yes
2342 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2343 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2344 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2345 DEFAULT_wxUSE_URL=yes
2347 DEFAULT_wxUSE_COMMONDLGS=yes
2348 DEFAULT_wxUSE_CHOICEDLG=yes
2349 DEFAULT_wxUSE_COLOURDLG=yes
2350 DEFAULT_wxUSE_DIRDLG=yes
2351 DEFAULT_wxUSE_FILEDLG=yes
2352 DEFAULT_wxUSE_FINDREPLDLG=yes
2353 DEFAULT_wxUSE_FONTDLG=yes
2354 DEFAULT_wxUSE_MSGDLG=yes
2355 DEFAULT_wxUSE_NUMBERDLG=yes
2356 DEFAULT_wxUSE_TEXTDLG=yes
2357 DEFAULT_wxUSE_SPLASH=yes
2358 DEFAULT_wxUSE_STARTUP_TIPS=yes
2359 DEFAULT_wxUSE_PROGRESSDLG=yes
2360 DEFAULT_wxUSE_WIZARDDLG=yes
2362 DEFAULT_wxUSE_MENUS=yes
2363 DEFAULT_wxUSE_MINIFRAME=yes
2364 DEFAULT_wxUSE_HTML=yes
2365 DEFAULT_wxUSE_RICHTEXT=yes
2366 DEFAULT_wxUSE_XRC=yes
2367 DEFAULT_wxUSE_WEBKIT=yes
2368 DEFAULT_wxUSE_FILESYSTEM=yes
2369 DEFAULT_wxUSE_FS_INET=yes
2370 DEFAULT_wxUSE_FS_ZIP=yes
2371 DEFAULT_wxUSE_BUSYINFO=yes
2372 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2373 DEFAULT_wxUSE_ZIPSTREAM=yes
2374 DEFAULT_wxUSE_VALIDATORS=yes
2376 DEFAULT_wxUSE_ACCEL=yes
2377 DEFAULT_wxUSE_BUTTON=yes
2378 DEFAULT_wxUSE_BMPBUTTON=yes
2379 DEFAULT_wxUSE_CALCTRL=yes
2380 DEFAULT_wxUSE_CARET=yes
2381 DEFAULT_wxUSE_CHECKBOX=yes
2382 DEFAULT_wxUSE_CHECKLST=yes
2383 DEFAULT_wxUSE_CHOICE=yes
2384 DEFAULT_wxUSE_CHOICEBOOK=yes
2385 DEFAULT_wxUSE_COMBOBOX=yes
2386 DEFAULT_wxUSE_DATEPICKCTRL=yes
2387 DEFAULT_wxUSE_DISPLAY=yes
2388 DEFAULT_wxUSE_GAUGE=yes
2389 DEFAULT_wxUSE_GRID=yes
2390 DEFAULT_wxUSE_DATAVIEWCTRL=no
2391 DEFAULT_wxUSE_IMAGLIST=yes
2392 DEFAULT_wxUSE_LISTBOOK=yes
2393 DEFAULT_wxUSE_LISTBOX=yes
2394 DEFAULT_wxUSE_LISTCTRL=yes
2395 DEFAULT_wxUSE_NOTEBOOK=yes
2396 DEFAULT_wxUSE_RADIOBOX=yes
2397 DEFAULT_wxUSE_RADIOBTN=yes
2398 DEFAULT_wxUSE_SASH=yes
2399 DEFAULT_wxUSE_SCROLLBAR=yes
2400 DEFAULT_wxUSE_SLIDER=yes
2401 DEFAULT_wxUSE_SPINBTN=yes
2402 DEFAULT_wxUSE_SPINCTRL=yes
2403 DEFAULT_wxUSE_SPLITTER=yes
2404 DEFAULT_wxUSE_STATBMP=yes
2405 DEFAULT_wxUSE_STATBOX=yes
2406 DEFAULT_wxUSE_STATLINE=yes
2407 DEFAULT_wxUSE_STATTEXT=yes
2408 DEFAULT_wxUSE_STATUSBAR=yes
2409 DEFAULT_wxUSE_TABDIALOG=no
2410 DEFAULT_wxUSE_TEXTCTRL=yes
2411 DEFAULT_wxUSE_TOGGLEBTN=yes
2412 DEFAULT_wxUSE_TOOLBAR=yes
2413 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2414 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2415 DEFAULT_wxUSE_TREEBOOK=yes
2416 DEFAULT_wxUSE_TREECTRL=yes
2417 DEFAULT_wxUSE_POPUPWIN=yes
2418 DEFAULT_wxUSE_TIPWINDOW=yes
2420 DEFAULT_wxUSE_UNICODE=no
2421 DEFAULT_wxUSE_UNICODE_MSLU=yes
2422 DEFAULT_wxUSE_WCSRTOMBS=no
2424 DEFAULT_wxUSE_PALETTE=yes
2425 DEFAULT_wxUSE_IMAGE=yes
2426 DEFAULT_wxUSE_GIF=yes
2427 DEFAULT_wxUSE_PCX=yes
2428 DEFAULT_wxUSE_IFF=no
2429 DEFAULT_wxUSE_PNM=yes
2430 DEFAULT_wxUSE_XPM=yes
2431 DEFAULT_wxUSE_ICO_CUR=yes
2432 DEFAULT_wxUSE_ACCESSIBILITY=no
2434 DEFAULT_wxUSE_MONOLITHIC=no
2435 DEFAULT_wxUSE_PLUGINS=no
2436 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2438 DEFAULT_wxUSE_GTK2=yes
2444 for toolkit in `echo $ALL_TOOLKITS`; do
2445 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2446 if test "x$LINE" != "x" ; then
2447 has_toolkit_in_cache=1
2448 eval "DEFAULT_$LINE"
2449 eval "CACHE_$toolkit=1"
2451 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2452 if test "x$LINE" != "x" ; then
2453 eval "DEFAULT_$LINE"
2461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2462 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2464 # Check whether --enable-gui or --disable-gui was given.
2465 if test "${enable_gui+set}" = set; then
2466 enableval="$enable_gui"
2468 if test "$enableval" = yes; then
2469 ac_cv_use_gui='wxUSE_GUI
=yes'
2471 ac_cv_use_gui='wxUSE_GUI
=no
'
2476 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2477 if test "x$LINE" != x ; then
2478 eval "DEFAULT_$LINE"
2483 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2487 eval "$ac_cv_use_gui"
2488 if test "$no_cache" != 1; then
2489 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2492 if test "$wxUSE_GUI" = yes; then
2493 echo "$as_me:$LINENO: result: yes" >&5
2494 echo "${ECHO_T}yes" >&6
2496 echo "$as_me:$LINENO: result: no" >&5
2497 echo "${ECHO_T}no" >&6
2502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2503 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2505 # Check whether --enable-monolithic or --disable-monolithic was given.
2506 if test "${enable_monolithic+set}" = set; then
2507 enableval="$enable_monolithic"
2509 if test "$enableval" = yes; then
2510 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2512 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2517 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2518 if test "x$LINE" != x ; then
2519 eval "DEFAULT_$LINE"
2524 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2528 eval "$ac_cv_use_monolithic"
2529 if test "$no_cache" != 1; then
2530 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2533 if test "$wxUSE_MONOLITHIC" = yes; then
2534 echo "$as_me:$LINENO: result: yes" >&5
2535 echo "${ECHO_T}yes" >&6
2537 echo "$as_me:$LINENO: result: no" >&5
2538 echo "${ECHO_T}no" >&6
2543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2544 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2546 # Check whether --enable-plugins or --disable-plugins was given.
2547 if test "${enable_plugins+set}" = set; then
2548 enableval="$enable_plugins"
2550 if test "$enableval" = yes; then
2551 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2553 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2558 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2559 if test "x$LINE" != x ; then
2560 eval "DEFAULT_$LINE"
2565 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2569 eval "$ac_cv_use_plugins"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2574 if test "$wxUSE_PLUGINS" = yes; then
2575 echo "$as_me:$LINENO: result: yes" >&5
2576 echo "${ECHO_T}yes" >&6
2578 echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2584 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2585 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2588 # Check whether --with-subdirs or --without-subdirs was given.
2589 if test "${with_subdirs+set}" = set; then
2590 withval="$with_subdirs"
2592 if test "$withval" = yes; then
2593 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2595 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2600 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2601 if test "x$LINE" != x ; then
2602 eval "DEFAULT_$LINE"
2607 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2611 eval "$ac_cv_use_subdirs"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2616 if test "$wxWITH_SUBDIRS" = yes; then
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2620 echo "$as_me:$LINENO: result: no" >&5
2621 echo "${ECHO_T}no" >&6
2625 if test "$wxUSE_GUI" = "yes"; then
2629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2630 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2632 # Check whether --enable-universal or --disable-universal was given.
2633 if test "${enable_universal+set}" = set; then
2634 enableval="$enable_universal"
2636 if test "$enableval" = yes; then
2637 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2639 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2644 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2645 if test "x$LINE" != x ; then
2646 eval "DEFAULT_$LINE"
2651 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2655 eval "$ac_cv_use_universal"
2656 if test "$no_cache" != 1; then
2657 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2660 if test "$wxUSE_UNIVERSAL" = yes; then
2661 echo "$as_me:$LINENO: result: yes" >&5
2662 echo "${ECHO_T}yes" >&6
2664 echo "$as_me:$LINENO: result: no" >&5
2665 echo "${ECHO_T}no" >&6
2669 # Check whether --with-gtk or --without-gtk was given.
2670 if test "${with_gtk+set}" = set; then
2672 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2675 # Check whether --with-motif or --without-motif was given.
2676 if test "${with_motif+set}" = set; then
2677 withval="$with_motif"
2678 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2681 # Check whether --with-mac or --without-mac was given.
2682 if test "${with_mac+set}" = set; then
2684 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2687 # Check whether --with-cocoa or --without-cocoa was given.
2688 if test "${with_cocoa+set}" = set; then
2689 withval="$with_cocoa"
2690 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2693 # Check whether --with-wine or --without-wine was given.
2694 if test "${with_wine+set}" = set; then
2695 withval="$with_wine"
2696 wxUSE_WINE="$withval" CACHE_WINE=1
2699 # Check whether --with-msw or --without-msw was given.
2700 if test "${with_msw+set}" = set; then
2702 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2705 # Check whether --with-pm or --without-pm was given.
2706 if test "${with_pm+set}" = set; then
2708 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2711 # Check whether --with-mgl or --without-mgl was given.
2712 if test "${with_mgl+set}" = set; then
2714 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2717 # Check whether --with-microwin or --without-microwin was given.
2718 if test "${with_microwin+set}" = set; then
2719 withval="$with_microwin"
2720 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2723 # Check whether --with-x11 or --without-x11 was given.
2724 if test "${with_x11+set}" = set; then
2726 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2731 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2733 # Check whether --enable-nanox or --disable-nanox was given.
2734 if test "${enable_nanox+set}" = set; then
2735 enableval="$enable_nanox"
2737 if test "$enableval" = yes; then
2738 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2740 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2745 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2746 if test "x$LINE" != x ; then
2747 eval "DEFAULT_$LINE"
2752 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2756 eval "$ac_cv_use_nanox"
2757 if test "$no_cache" != 1; then
2758 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2761 if test "$wxUSE_NANOX" = yes; then
2762 echo "$as_me:$LINENO: result: yes" >&5
2763 echo "${ECHO_T}yes" >&6
2765 echo "$as_me:$LINENO: result: no" >&5
2766 echo "${ECHO_T}no" >&6
2770 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2771 if test "${enable_gtk2+set}" = set; then
2772 enableval="$enable_gtk2"
2773 wxUSE_GTK2="$enableval"
2777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2778 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2780 # Check whether --enable-gpe or --disable-gpe was given.
2781 if test "${enable_gpe+set}" = set; then
2782 enableval="$enable_gpe"
2784 if test "$enableval" = yes; then
2785 ac_cv_use_gpe='wxUSE_GPE
=yes'
2787 ac_cv_use_gpe='wxUSE_GPE
=no
'
2792 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2793 if test "x$LINE" != x ; then
2794 eval "DEFAULT_$LINE"
2799 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
2803 eval "$ac_cv_use_gpe"
2804 if test "$no_cache" != 1; then
2805 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2808 if test "$wxUSE_GPE" = yes; then
2809 echo "$as_me:$LINENO: result: yes" >&5
2810 echo "${ECHO_T}yes" >&6
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2818 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2819 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2822 # Check whether --with-libpng or --without-libpng was given.
2823 if test "${with_libpng+set}" = set; then
2824 withval="$with_libpng"
2826 if test "$withval" = yes; then
2827 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2828 elif test "$withval" = no; then
2829 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2830 elif test "$withval" = sys; then
2831 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2832 elif test "$withval" = builtin; then
2833 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2835 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2836 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2837 { (exit 1); exit 1; }; }
2842 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2843 if test "x$LINE" != x ; then
2844 eval "DEFAULT_$LINE"
2849 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2853 eval "$ac_cv_use_libpng"
2854 if test "$no_cache" != 1; then
2855 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2858 if test "$wxUSE_LIBPNG" = yes; then
2859 echo "$as_me:$LINENO: result: yes" >&5
2860 echo "${ECHO_T}yes" >&6
2861 elif test "$wxUSE_LIBPNG" = no; then
2862 echo "$as_me:$LINENO: result: no" >&5
2863 echo "${ECHO_T}no" >&6
2864 elif test "$wxUSE_LIBPNG" = sys; then
2865 echo "$as_me:$LINENO: result: system version" >&5
2866 echo "${ECHO_T}system version" >&6
2867 elif test "$wxUSE_LIBPNG" = builtin; then
2868 echo "$as_me:$LINENO: result: builtin version" >&5
2869 echo "${ECHO_T}builtin version" >&6
2871 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2872 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2873 { (exit 1); exit 1; }; }
2877 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2878 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2881 # Check whether --with-libjpeg or --without-libjpeg was given.
2882 if test "${with_libjpeg+set}" = set; then
2883 withval="$with_libjpeg"
2885 if test "$withval" = yes; then
2886 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2887 elif test "$withval" = no; then
2888 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2889 elif test "$withval" = sys; then
2890 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2891 elif test "$withval" = builtin; then
2892 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2894 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2895 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2896 { (exit 1); exit 1; }; }
2901 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2902 if test "x$LINE" != x ; then
2903 eval "DEFAULT_$LINE"
2908 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2912 eval "$ac_cv_use_libjpeg"
2913 if test "$no_cache" != 1; then
2914 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2917 if test "$wxUSE_LIBJPEG" = yes; then
2918 echo "$as_me:$LINENO: result: yes" >&5
2919 echo "${ECHO_T}yes" >&6
2920 elif test "$wxUSE_LIBJPEG" = no; then
2921 echo "$as_me:$LINENO: result: no" >&5
2922 echo "${ECHO_T}no" >&6
2923 elif test "$wxUSE_LIBJPEG" = sys; then
2924 echo "$as_me:$LINENO: result: system version" >&5
2925 echo "${ECHO_T}system version" >&6
2926 elif test "$wxUSE_LIBJPEG" = builtin; then
2927 echo "$as_me:$LINENO: result: builtin version" >&5
2928 echo "${ECHO_T}builtin version" >&6
2930 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2931 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2932 { (exit 1); exit 1; }; }
2936 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2937 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2940 # Check whether --with-libtiff or --without-libtiff was given.
2941 if test "${with_libtiff+set}" = set; then
2942 withval="$with_libtiff"
2944 if test "$withval" = yes; then
2945 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2946 elif test "$withval" = no; then
2947 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2948 elif test "$withval" = sys; then
2949 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2950 elif test "$withval" = builtin; then
2951 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2953 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2954 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2955 { (exit 1); exit 1; }; }
2960 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2961 if test "x$LINE" != x ; then
2962 eval "DEFAULT_$LINE"
2967 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2971 eval "$ac_cv_use_libtiff"
2972 if test "$no_cache" != 1; then
2973 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2976 if test "$wxUSE_LIBTIFF" = yes; then
2977 echo "$as_me:$LINENO: result: yes" >&5
2978 echo "${ECHO_T}yes" >&6
2979 elif test "$wxUSE_LIBTIFF" = no; then
2980 echo "$as_me:$LINENO: result: no" >&5
2981 echo "${ECHO_T}no" >&6
2982 elif test "$wxUSE_LIBTIFF" = sys; then
2983 echo "$as_me:$LINENO: result: system version" >&5
2984 echo "${ECHO_T}system version" >&6
2985 elif test "$wxUSE_LIBTIFF" = builtin; then
2986 echo "$as_me:$LINENO: result: builtin version" >&5
2987 echo "${ECHO_T}builtin version" >&6
2989 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2990 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2991 { (exit 1); exit 1; }; }
2995 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2996 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2999 # Check whether --with-libxpm or --without-libxpm was given.
3000 if test "${with_libxpm+set}" = set; then
3001 withval="$with_libxpm"
3003 if test "$withval" = yes; then
3004 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
3005 elif test "$withval" = no; then
3006 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3007 elif test "$withval" = sys; then
3008 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3009 elif test "$withval" = builtin; then
3010 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3012 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3013 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3014 { (exit 1); exit 1; }; }
3019 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3020 if test "x$LINE" != x ; then
3021 eval "DEFAULT_$LINE"
3026 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3030 eval "$ac_cv_use_libxpm"
3031 if test "$no_cache" != 1; then
3032 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3035 if test "$wxUSE_LIBXPM" = yes; then
3036 echo "$as_me:$LINENO: result: yes" >&5
3037 echo "${ECHO_T}yes" >&6
3038 elif test "$wxUSE_LIBXPM" = no; then
3039 echo "$as_me:$LINENO: result: no" >&5
3040 echo "${ECHO_T}no" >&6
3041 elif test "$wxUSE_LIBXPM" = sys; then
3042 echo "$as_me:$LINENO: result: system version" >&5
3043 echo "${ECHO_T}system version" >&6
3044 elif test "$wxUSE_LIBXPM" = builtin; then
3045 echo "$as_me:$LINENO: result: builtin version" >&5
3046 echo "${ECHO_T}builtin version" >&6
3048 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3049 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3050 { (exit 1); exit 1; }; }
3055 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3056 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3059 # Check whether --with-libmspack or --without-libmspack was given.
3060 if test "${with_libmspack+set}" = set; then
3061 withval="$with_libmspack"
3063 if test "$withval" = yes; then
3064 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3066 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3071 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3072 if test "x$LINE" != x ; then
3073 eval "DEFAULT_$LINE"
3078 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3082 eval "$ac_cv_use_libmspack"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3087 if test "$wxUSE_LIBMSPACK" = yes; then
3088 echo "$as_me:$LINENO: result: yes" >&5
3089 echo "${ECHO_T}yes" >&6
3091 echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3097 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3098 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3101 # Check whether --with-sdl or --without-sdl was given.
3102 if test "${with_sdl+set}" = set; then
3105 if test "$withval" = yes; then
3106 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3108 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3113 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3114 if test "x$LINE" != x ; then
3115 eval "DEFAULT_$LINE"
3120 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3124 eval "$ac_cv_use_sdl"
3125 if test "$no_cache" != 1; then
3126 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3129 if test "$wxUSE_LIBSDL" = yes; then
3130 echo "$as_me:$LINENO: result: yes" >&5
3131 echo "${ECHO_T}yes" >&6
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3139 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3140 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3143 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3144 if test "${with_gnomeprint+set}" = set; then
3145 withval="$with_gnomeprint"
3147 if test "$withval" = yes; then
3148 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3150 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3155 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x ; then
3157 eval "DEFAULT_$LINE"
3162 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3166 eval "$ac_cv_use_gnomeprint"
3167 if test "$no_cache" != 1; then
3168 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3171 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3172 echo "$as_me:$LINENO: result: yes" >&5
3173 echo "${ECHO_T}yes" >&6
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3181 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3182 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3185 # Check whether --with-hildon or --without-hildon was given.
3186 if test "${with_hildon+set}" = set; then
3187 withval="$with_hildon"
3189 if test "$withval" = yes; then
3190 ac_cv_use_hildon='wxUSE_LIBHILDON
=yes'
3192 ac_cv_use_hildon='wxUSE_LIBHILDON
=no
'
3197 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3198 if test "x$LINE" != x ; then
3199 eval "DEFAULT_$LINE"
3204 ac_cv_use_hildon='wxUSE_LIBHILDON
='$DEFAULT_wxUSE_LIBHILDON
3208 eval "$ac_cv_use_hildon"
3209 if test "$no_cache" != 1; then
3210 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3213 if test "$wxUSE_LIBHILDON" = yes; then
3214 echo "$as_me:$LINENO: result: yes" >&5
3215 echo "${ECHO_T}yes" >&6
3217 echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3223 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3224 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3227 # Check whether --with-opengl or --without-opengl was given.
3228 if test "${with_opengl+set}" = set; then
3229 withval="$with_opengl"
3231 if test "$withval" = yes; then
3232 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3234 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3239 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3240 if test "x$LINE" != x ; then
3241 eval "DEFAULT_$LINE"
3246 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3250 eval "$ac_cv_use_opengl"
3251 if test "$no_cache" != 1; then
3252 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3255 if test "$wxUSE_OPENGL" = yes; then
3256 echo "$as_me:$LINENO: result: yes" >&5
3257 echo "${ECHO_T}yes" >&6
3259 echo "$as_me:$LINENO: result: no" >&5
3260 echo "${ECHO_T}no" >&6
3268 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3269 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3272 # Check whether --with-dmalloc or --without-dmalloc was given.
3273 if test "${with_dmalloc+set}" = set; then
3274 withval="$with_dmalloc"
3276 if test "$withval" = yes; then
3277 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3279 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3284 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3285 if test "x$LINE" != x ; then
3286 eval "DEFAULT_$LINE"
3291 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3295 eval "$ac_cv_use_dmalloc"
3296 if test "$no_cache" != 1; then
3297 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3300 if test "$wxUSE_DMALLOC" = yes; then
3301 echo "$as_me:$LINENO: result: yes" >&5
3302 echo "${ECHO_T}yes" >&6
3304 echo "$as_me:$LINENO: result: no" >&5
3305 echo "${ECHO_T}no" >&6
3309 echo "$as_me:$LINENO: checking for --with-regex" >&5
3310 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3313 # Check whether --with-regex or --without-regex was given.
3314 if test "${with_regex+set}" = set; then
3315 withval="$with_regex"
3317 if test "$withval" = yes; then
3318 ac_cv_use_regex='wxUSE_REGEX
=yes'
3319 elif test "$withval" = no; then
3320 ac_cv_use_regex='wxUSE_REGEX
=no
'
3321 elif test "$withval" = sys; then
3322 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3323 elif test "$withval" = builtin; then
3324 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3326 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3327 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3328 { (exit 1); exit 1; }; }
3333 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x ; then
3335 eval "DEFAULT_$LINE"
3340 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3344 eval "$ac_cv_use_regex"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3349 if test "$wxUSE_REGEX" = yes; then
3350 echo "$as_me:$LINENO: result: yes" >&5
3351 echo "${ECHO_T}yes" >&6
3352 elif test "$wxUSE_REGEX" = no; then
3353 echo "$as_me:$LINENO: result: no" >&5
3354 echo "${ECHO_T}no" >&6
3355 elif test "$wxUSE_REGEX" = sys; then
3356 echo "$as_me:$LINENO: result: system version" >&5
3357 echo "${ECHO_T}system version" >&6
3358 elif test "$wxUSE_REGEX" = builtin; then
3359 echo "$as_me:$LINENO: result: builtin version" >&5
3360 echo "${ECHO_T}builtin version" >&6
3362 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3363 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3364 { (exit 1); exit 1; }; }
3368 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3369 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3372 # Check whether --with-zlib or --without-zlib was given.
3373 if test "${with_zlib+set}" = set; then
3374 withval="$with_zlib"
3376 if test "$withval" = yes; then
3377 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3378 elif test "$withval" = no; then
3379 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3380 elif test "$withval" = sys; then
3381 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3382 elif test "$withval" = builtin; then
3383 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3385 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3386 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3387 { (exit 1); exit 1; }; }
3392 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3393 if test "x$LINE" != x ; then
3394 eval "DEFAULT_$LINE"
3399 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3403 eval "$ac_cv_use_zlib"
3404 if test "$no_cache" != 1; then
3405 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3408 if test "$wxUSE_ZLIB" = yes; then
3409 echo "$as_me:$LINENO: result: yes" >&5
3410 echo "${ECHO_T}yes" >&6
3411 elif test "$wxUSE_ZLIB" = no; then
3412 echo "$as_me:$LINENO: result: no" >&5
3413 echo "${ECHO_T}no" >&6
3414 elif test "$wxUSE_ZLIB" = sys; then
3415 echo "$as_me:$LINENO: result: system version" >&5
3416 echo "${ECHO_T}system version" >&6
3417 elif test "$wxUSE_ZLIB" = builtin; then
3418 echo "$as_me:$LINENO: result: builtin version" >&5
3419 echo "${ECHO_T}builtin version" >&6
3421 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3422 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3423 { (exit 1); exit 1; }; }
3427 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3428 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3431 # Check whether --with-odbc or --without-odbc was given.
3432 if test "${with_odbc+set}" = set; then
3433 withval="$with_odbc"
3435 if test "$withval" = yes; then
3436 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3437 elif test "$withval" = no; then
3438 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3439 elif test "$withval" = sys; then
3440 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3441 elif test "$withval" = builtin; then
3442 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3444 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3445 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3446 { (exit 1); exit 1; }; }
3451 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3452 if test "x$LINE" != x ; then
3453 eval "DEFAULT_$LINE"
3458 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3462 eval "$ac_cv_use_odbc"
3463 if test "$no_cache" != 1; then
3464 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3467 if test "$wxUSE_ODBC" = yes; then
3468 echo "$as_me:$LINENO: result: yes" >&5
3469 echo "${ECHO_T}yes" >&6
3470 elif test "$wxUSE_ODBC" = no; then
3471 echo "$as_me:$LINENO: result: no" >&5
3472 echo "${ECHO_T}no" >&6
3473 elif test "$wxUSE_ODBC" = sys; then
3474 echo "$as_me:$LINENO: result: system version" >&5
3475 echo "${ECHO_T}system version" >&6
3476 elif test "$wxUSE_ODBC" = builtin; then
3477 echo "$as_me:$LINENO: result: builtin version" >&5
3478 echo "${ECHO_T}builtin version" >&6
3480 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3481 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3482 { (exit 1); exit 1; }; }
3486 echo "$as_me:$LINENO: checking for --with-expat" >&5
3487 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3490 # Check whether --with-expat or --without-expat was given.
3491 if test "${with_expat+set}" = set; then
3492 withval="$with_expat"
3494 if test "$withval" = yes; then
3495 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3496 elif test "$withval" = no; then
3497 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3498 elif test "$withval" = sys; then
3499 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3500 elif test "$withval" = builtin; then
3501 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3503 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3504 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3505 { (exit 1); exit 1; }; }
3510 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3511 if test "x$LINE" != x ; then
3512 eval "DEFAULT_$LINE"
3517 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3521 eval "$ac_cv_use_expat"
3522 if test "$no_cache" != 1; then
3523 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3526 if test "$wxUSE_EXPAT" = yes; then
3527 echo "$as_me:$LINENO: result: yes" >&5
3528 echo "${ECHO_T}yes" >&6
3529 elif test "$wxUSE_EXPAT" = no; then
3530 echo "$as_me:$LINENO: result: no" >&5
3531 echo "${ECHO_T}no" >&6
3532 elif test "$wxUSE_EXPAT" = sys; then
3533 echo "$as_me:$LINENO: result: system version" >&5
3534 echo "${ECHO_T}system version" >&6
3535 elif test "$wxUSE_EXPAT" = builtin; then
3536 echo "$as_me:$LINENO: result: builtin version" >&5
3537 echo "${ECHO_T}builtin version" >&6
3539 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3540 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3541 { (exit 1); exit 1; }; }
3548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3549 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3551 # Check whether --enable-shared or --disable-shared was given.
3552 if test "${enable_shared+set}" = set; then
3553 enableval="$enable_shared"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_shared='wxUSE_SHARED
=yes'
3558 ac_cv_use_shared='wxUSE_SHARED
=no
'
3563 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x ; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3574 eval "$ac_cv_use_shared"
3575 if test "$no_cache" != 1; then
3576 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3579 if test "$wxUSE_SHARED" = yes; then
3580 echo "$as_me:$LINENO: result: yes" >&5
3581 echo "${ECHO_T}yes" >&6
3583 echo "$as_me:$LINENO: result: no" >&5
3584 echo "${ECHO_T}no" >&6
3589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3590 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3592 # Check whether --enable-optimise or --disable-optimise was given.
3593 if test "${enable_optimise+set}" = set; then
3594 enableval="$enable_optimise"
3596 if test "$enableval" = yes; then
3597 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3599 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3604 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x ; then
3606 eval "DEFAULT_$LINE"
3611 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3615 eval "$ac_cv_use_optimise"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_OPTIMISE" = yes; then
3621 echo "$as_me:$LINENO: result: yes" >&5
3622 echo "${ECHO_T}yes" >&6
3624 echo "$as_me:$LINENO: result: no" >&5
3625 echo "${ECHO_T}no" >&6
3630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3631 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3633 # Check whether --enable-debug or --disable-debug was given.
3634 if test "${enable_debug+set}" = set; then
3635 enableval="$enable_debug"
3637 if test "$enableval" = yes; then
3638 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3640 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3645 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3646 if test "x$LINE" != x ; then
3647 eval "DEFAULT_$LINE"
3652 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3656 eval "$ac_cv_use_debug"
3657 if test "$no_cache" != 1; then
3658 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3661 if test "$wxUSE_DEBUG" = yes; then
3662 echo "$as_me:$LINENO: result: yes" >&5
3663 echo "${ECHO_T}yes" >&6
3665 echo "$as_me:$LINENO: result: no" >&5
3666 echo "${ECHO_T}no" >&6
3671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3672 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3674 # Check whether --enable-stl or --disable-stl was given.
3675 if test "${enable_stl+set}" = set; then
3676 enableval="$enable_stl"
3678 if test "$enableval" = yes; then
3679 ac_cv_use_stl='wxUSE_STL
=yes'
3681 ac_cv_use_stl='wxUSE_STL
=no
'
3686 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3687 if test "x$LINE" != x ; then
3688 eval "DEFAULT_$LINE"
3693 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3697 eval "$ac_cv_use_stl"
3698 if test "$no_cache" != 1; then
3699 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3702 if test "$wxUSE_STL" = yes; then
3703 echo "$as_me:$LINENO: result: yes" >&5
3704 echo "${ECHO_T}yes" >&6
3706 echo "$as_me:$LINENO: result: no" >&5
3707 echo "${ECHO_T}no" >&6
3710 if test "$USE_OS2" = "1"; then
3711 DEFAULT_wxUSE_OMF=no
3714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3715 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3717 # Check whether --enable-omf or --disable-omf was given.
3718 if test "${enable_omf+set}" = set; then
3719 enableval="$enable_omf"
3721 if test "$enableval" = yes; then
3722 ac_cv_use_omf='wxUSE_OMF
=yes'
3724 ac_cv_use_omf='wxUSE_OMF
=no
'
3729 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3730 if test "x$LINE" != x ; then
3731 eval "DEFAULT_$LINE"
3736 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3740 eval "$ac_cv_use_omf"
3741 if test "$no_cache" != 1; then
3742 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3745 if test "$wxUSE_OMF" = yes; then
3746 echo "$as_me:$LINENO: result: yes" >&5
3747 echo "${ECHO_T}yes" >&6
3749 echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6
3755 if test "$wxUSE_DEBUG" = "yes"; then
3756 DEFAULT_wxUSE_DEBUG_FLAG=yes
3757 DEFAULT_wxUSE_DEBUG_INFO=yes
3759 elif test "$wxUSE_DEBUG" = "no"; then
3760 DEFAULT_wxUSE_DEBUG_FLAG=no
3761 DEFAULT_wxUSE_DEBUG_INFO=no
3767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3768 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3770 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3771 if test "${enable_debug_flag+set}" = set; then
3772 enableval="$enable_debug_flag"
3774 if test "$enableval" = yes; then
3775 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3777 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3782 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3783 if test "x$LINE" != x ; then
3784 eval "DEFAULT_$LINE"
3789 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3793 eval "$ac_cv_use_debug_flag"
3794 if test "$no_cache" != 1; then
3795 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3798 if test "$wxUSE_DEBUG_FLAG" = yes; then
3799 echo "$as_me:$LINENO: result: yes" >&5
3800 echo "${ECHO_T}yes" >&6
3802 echo "$as_me:$LINENO: result: no" >&5
3803 echo "${ECHO_T}no" >&6
3808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3809 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3811 # Check whether --enable-debug_info or --disable-debug_info was given.
3812 if test "${enable_debug_info+set}" = set; then
3813 enableval="$enable_debug_info"
3815 if test "$enableval" = yes; then
3816 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3818 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3823 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3824 if test "x$LINE" != x ; then
3825 eval "DEFAULT_$LINE"
3830 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3834 eval "$ac_cv_use_debug_info"
3835 if test "$no_cache" != 1; then
3836 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3839 if test "$wxUSE_DEBUG_INFO" = yes; then
3840 echo "$as_me:$LINENO: result: yes" >&5
3841 echo "${ECHO_T}yes" >&6
3843 echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6
3849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3850 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3852 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3853 if test "${enable_debug_gdb+set}" = set; then
3854 enableval="$enable_debug_gdb"
3856 if test "$enableval" = yes; then
3857 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3859 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3864 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x ; then
3866 eval "DEFAULT_$LINE"
3871 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3875 eval "$ac_cv_use_debug_gdb"
3876 if test "$no_cache" != 1; then
3877 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3880 if test "$wxUSE_DEBUG_GDB" = yes; then
3881 echo "$as_me:$LINENO: result: yes" >&5
3882 echo "${ECHO_T}yes" >&6
3884 echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6
3890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3891 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3893 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3894 if test "${enable_debug_cntxt+set}" = set; then
3895 enableval="$enable_debug_cntxt"
3897 if test "$enableval" = yes; then
3898 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3900 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3905 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3906 if test "x$LINE" != x ; then
3907 eval "DEFAULT_$LINE"
3912 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3916 eval "$ac_cv_use_debug_cntxt"
3917 if test "$no_cache" != 1; then
3918 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3921 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3922 echo "$as_me:$LINENO: result: yes" >&5
3923 echo "${ECHO_T}yes" >&6
3925 echo "$as_me:$LINENO: result: no" >&5
3926 echo "${ECHO_T}no" >&6
3931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3932 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3934 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3935 if test "${enable_mem_tracing+set}" = set; then
3936 enableval="$enable_mem_tracing"
3938 if test "$enableval" = yes; then
3939 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3941 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3946 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3947 if test "x$LINE" != x ; then
3948 eval "DEFAULT_$LINE"
3953 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3957 eval "$ac_cv_use_mem_tracing"
3958 if test "$no_cache" != 1; then
3959 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3962 if test "$wxUSE_MEM_TRACING" = yes; then
3963 echo "$as_me:$LINENO: result: yes" >&5
3964 echo "${ECHO_T}yes" >&6
3966 echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3973 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3975 # Check whether --enable-profile or --disable-profile was given.
3976 if test "${enable_profile+set}" = set; then
3977 enableval="$enable_profile"
3979 if test "$enableval" = yes; then
3980 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3982 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3987 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x ; then
3989 eval "DEFAULT_$LINE"
3994 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3998 eval "$ac_cv_use_profile"
3999 if test "$no_cache" != 1; then
4000 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4003 if test "$wxUSE_PROFILE" = yes; then
4004 echo "$as_me:$LINENO: result: yes" >&5
4005 echo "${ECHO_T}yes" >&6
4007 echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6
4013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4014 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4016 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4017 if test "${enable_no_rtti+set}" = set; then
4018 enableval="$enable_no_rtti"
4020 if test "$enableval" = yes; then
4021 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
4023 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
4028 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4029 if test "x$LINE" != x ; then
4030 eval "DEFAULT_$LINE"
4035 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
4039 eval "$ac_cv_use_no_rtti"
4040 if test "$no_cache" != 1; then
4041 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4044 if test "$wxUSE_NO_RTTI" = yes; then
4045 echo "$as_me:$LINENO: result: yes" >&5
4046 echo "${ECHO_T}yes" >&6
4048 echo "$as_me:$LINENO: result: no" >&5
4049 echo "${ECHO_T}no" >&6
4054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4055 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4057 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4058 if test "${enable_no_exceptions+set}" = set; then
4059 enableval="$enable_no_exceptions"
4061 if test "$enableval" = yes; then
4062 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4064 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4069 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x ; then
4071 eval "DEFAULT_$LINE"
4076 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4080 eval "$ac_cv_use_no_exceptions"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4085 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4086 echo "$as_me:$LINENO: result: yes" >&5
4087 echo "${ECHO_T}yes" >&6
4089 echo "$as_me:$LINENO: result: no" >&5
4090 echo "${ECHO_T}no" >&6
4095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4096 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4098 # Check whether --enable-permissive or --disable-permissive was given.
4099 if test "${enable_permissive+set}" = set; then
4100 enableval="$enable_permissive"
4102 if test "$enableval" = yes; then
4103 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4105 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4110 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x ; then
4112 eval "DEFAULT_$LINE"
4117 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4121 eval "$ac_cv_use_permissive"
4122 if test "$no_cache" != 1; then
4123 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4126 if test "$wxUSE_PERMISSIVE" = yes; then
4127 echo "$as_me:$LINENO: result: yes" >&5
4128 echo "${ECHO_T}yes" >&6
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4137 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4139 # Check whether --enable-no_deps or --disable-no_deps was given.
4140 if test "${enable_no_deps+set}" = set; then
4141 enableval="$enable_no_deps"
4143 if test "$enableval" = yes; then
4144 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4146 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4151 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x ; then
4153 eval "DEFAULT_$LINE"
4158 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4162 eval "$ac_cv_use_no_deps"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4167 if test "$wxUSE_NO_DEPS" = yes; then
4168 echo "$as_me:$LINENO: result: yes" >&5
4169 echo "${ECHO_T}yes" >&6
4171 echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4179 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4181 # Check whether --enable-compat24 or --disable-compat24 was given.
4182 if test "${enable_compat24+set}" = set; then
4183 enableval="$enable_compat24"
4185 if test "$enableval" = yes; then
4186 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4188 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4193 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x ; then
4195 eval "DEFAULT_$LINE"
4200 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4204 eval "$ac_cv_use_compat24"
4205 if test "$no_cache" != 1; then
4206 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4209 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4210 echo "$as_me:$LINENO: result: yes" >&5
4211 echo "${ECHO_T}yes" >&6
4213 echo "$as_me:$LINENO: result: no" >&5
4214 echo "${ECHO_T}no" >&6
4218 enablestring=disable
4219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4220 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4222 # Check whether --enable-compat26 or --disable-compat26 was given.
4223 if test "${enable_compat26+set}" = set; then
4224 enableval="$enable_compat26"
4226 if test "$enableval" = yes; then
4227 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4229 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4234 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4235 if test "x$LINE" != x ; then
4236 eval "DEFAULT_$LINE"
4241 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4245 eval "$ac_cv_use_compat26"
4246 if test "$no_cache" != 1; then
4247 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4250 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4251 echo "$as_me:$LINENO: result: yes" >&5
4252 echo "${ECHO_T}yes" >&6
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4262 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4264 # Check whether --enable-rpath or --disable-rpath was given.
4265 if test "${enable_rpath+set}" = set; then
4266 enableval="$enable_rpath"
4268 if test "$enableval" = yes; then
4269 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4271 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4276 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4277 if test "x$LINE" != x ; then
4278 eval "DEFAULT_$LINE"
4283 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4287 eval "$ac_cv_use_rpath"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4292 if test "$wxUSE_RPATH" = yes; then
4293 echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4306 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4308 # Check whether --enable-intl or --disable-intl was given.
4309 if test "${enable_intl+set}" = set; then
4310 enableval="$enable_intl"
4312 if test "$enableval" = yes; then
4313 ac_cv_use_intl='wxUSE_INTL
=yes'
4315 ac_cv_use_intl='wxUSE_INTL
=no
'
4320 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4321 if test "x$LINE" != x ; then
4322 eval "DEFAULT_$LINE"
4327 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4331 eval "$ac_cv_use_intl"
4332 if test "$no_cache" != 1; then
4333 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4336 if test "$wxUSE_INTL" = yes; then
4337 echo "$as_me:$LINENO: result: yes" >&5
4338 echo "${ECHO_T}yes" >&6
4340 echo "$as_me:$LINENO: result: no" >&5
4341 echo "${ECHO_T}no" >&6
4346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4347 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4349 # Check whether --enable-config or --disable-config was given.
4350 if test "${enable_config+set}" = set; then
4351 enableval="$enable_config"
4353 if test "$enableval" = yes; then
4354 ac_cv_use_config='wxUSE_CONFIG
=yes'
4356 ac_cv_use_config='wxUSE_CONFIG
=no
'
4361 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4362 if test "x$LINE" != x ; then
4363 eval "DEFAULT_$LINE"
4368 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4372 eval "$ac_cv_use_config"
4373 if test "$no_cache" != 1; then
4374 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4377 if test "$wxUSE_CONFIG" = yes; then
4378 echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6
4381 echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6
4388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4389 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4391 # Check whether --enable-protocols or --disable-protocols was given.
4392 if test "${enable_protocols+set}" = set; then
4393 enableval="$enable_protocols"
4395 if test "$enableval" = yes; then
4396 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4398 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4403 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x ; then
4405 eval "DEFAULT_$LINE"
4410 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4414 eval "$ac_cv_use_protocols"
4415 if test "$no_cache" != 1; then
4416 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4419 if test "$wxUSE_PROTOCOL" = yes; then
4420 echo "$as_me:$LINENO: result: yes" >&5
4421 echo "${ECHO_T}yes" >&6
4423 echo "$as_me:$LINENO: result: no" >&5
4424 echo "${ECHO_T}no" >&6
4429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4430 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4432 # Check whether --enable-ftp or --disable-ftp was given.
4433 if test "${enable_ftp+set}" = set; then
4434 enableval="$enable_ftp"
4436 if test "$enableval" = yes; then
4437 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4439 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4444 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4445 if test "x$LINE" != x ; then
4446 eval "DEFAULT_$LINE"
4451 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4455 eval "$ac_cv_use_ftp"
4456 if test "$no_cache" != 1; then
4457 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4460 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4461 echo "$as_me:$LINENO: result: yes" >&5
4462 echo "${ECHO_T}yes" >&6
4464 echo "$as_me:$LINENO: result: no" >&5
4465 echo "${ECHO_T}no" >&6
4470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4471 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4473 # Check whether --enable-http or --disable-http was given.
4474 if test "${enable_http+set}" = set; then
4475 enableval="$enable_http"
4477 if test "$enableval" = yes; then
4478 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4480 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4485 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4486 if test "x$LINE" != x ; then
4487 eval "DEFAULT_$LINE"
4492 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4496 eval "$ac_cv_use_http"
4497 if test "$no_cache" != 1; then
4498 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4501 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4502 echo "$as_me:$LINENO: result: yes" >&5
4503 echo "${ECHO_T}yes" >&6
4505 echo "$as_me:$LINENO: result: no" >&5
4506 echo "${ECHO_T}no" >&6
4511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4512 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4514 # Check whether --enable-fileproto or --disable-fileproto was given.
4515 if test "${enable_fileproto+set}" = set; then
4516 enableval="$enable_fileproto"
4518 if test "$enableval" = yes; then
4519 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4521 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4526 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4527 if test "x$LINE" != x ; then
4528 eval "DEFAULT_$LINE"
4533 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4537 eval "$ac_cv_use_fileproto"
4538 if test "$no_cache" != 1; then
4539 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4542 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4543 echo "$as_me:$LINENO: result: yes" >&5
4544 echo "${ECHO_T}yes" >&6
4546 echo "$as_me:$LINENO: result: no" >&5
4547 echo "${ECHO_T}no" >&6
4552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4555 # Check whether --enable-sockets or --disable-sockets was given.
4556 if test "${enable_sockets+set}" = set; then
4557 enableval="$enable_sockets"
4559 if test "$enableval" = yes; then
4560 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4562 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4567 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4568 if test "x$LINE" != x ; then
4569 eval "DEFAULT_$LINE"
4574 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4578 eval "$ac_cv_use_sockets"
4579 if test "$no_cache" != 1; then
4580 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4583 if test "$wxUSE_SOCKETS" = yes; then
4584 echo "$as_me:$LINENO: result: yes" >&5
4585 echo "${ECHO_T}yes" >&6
4587 echo "$as_me:$LINENO: result: no" >&5
4588 echo "${ECHO_T}no" >&6
4593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4596 # Check whether --enable-ole or --disable-ole was given.
4597 if test "${enable_ole+set}" = set; then
4598 enableval="$enable_ole"
4600 if test "$enableval" = yes; then
4601 ac_cv_use_ole='wxUSE_OLE
=yes'
4603 ac_cv_use_ole='wxUSE_OLE
=no
'
4608 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x ; then
4610 eval "DEFAULT_$LINE"
4615 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4619 eval "$ac_cv_use_ole"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4624 if test "$wxUSE_OLE" = yes; then
4625 echo "$as_me:$LINENO: result: yes" >&5
4626 echo "${ECHO_T}yes" >&6
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4635 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4637 # Check whether --enable-dataobj or --disable-dataobj was given.
4638 if test "${enable_dataobj+set}" = set; then
4639 enableval="$enable_dataobj"
4641 if test "$enableval" = yes; then
4642 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4644 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4649 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4650 if test "x$LINE" != x ; then
4651 eval "DEFAULT_$LINE"
4656 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4660 eval "$ac_cv_use_dataobj"
4661 if test "$no_cache" != 1; then
4662 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4665 if test "$wxUSE_DATAOBJ" = yes; then
4666 echo "$as_me:$LINENO: result: yes" >&5
4667 echo "${ECHO_T}yes" >&6
4669 echo "$as_me:$LINENO: result: no" >&5
4670 echo "${ECHO_T}no" >&6
4676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4677 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4679 # Check whether --enable-ipc or --disable-ipc was given.
4680 if test "${enable_ipc+set}" = set; then
4681 enableval="$enable_ipc"
4683 if test "$enableval" = yes; then
4684 ac_cv_use_ipc='wxUSE_IPC
=yes'
4686 ac_cv_use_ipc='wxUSE_IPC
=no
'
4691 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x ; then
4693 eval "DEFAULT_$LINE"
4698 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4702 eval "$ac_cv_use_ipc"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4707 if test "$wxUSE_IPC" = yes; then
4708 echo "$as_me:$LINENO: result: yes" >&5
4709 echo "${ECHO_T}yes" >&6
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4719 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4721 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4722 if test "${enable_apple_ieee+set}" = set; then
4723 enableval="$enable_apple_ieee"
4725 if test "$enableval" = yes; then
4726 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4728 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4733 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4734 if test "x$LINE" != x ; then
4735 eval "DEFAULT_$LINE"
4740 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4744 eval "$ac_cv_use_apple_ieee"
4745 if test "$no_cache" != 1; then
4746 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4749 if test "$wxUSE_APPLE_IEEE" = yes; then
4750 echo "$as_me:$LINENO: result: yes" >&5
4751 echo "${ECHO_T}yes" >&6
4753 echo "$as_me:$LINENO: result: no" >&5
4754 echo "${ECHO_T}no" >&6
4759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4762 # Check whether --enable-arcstream or --disable-arcstream was given.
4763 if test "${enable_arcstream+set}" = set; then
4764 enableval="$enable_arcstream"
4766 if test "$enableval" = yes; then
4767 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
4769 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
4774 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4775 if test "x$LINE" != x ; then
4776 eval "DEFAULT_$LINE"
4781 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4785 eval "$ac_cv_use_arcstream"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4790 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4791 echo "$as_me:$LINENO: result: yes" >&5
4792 echo "${ECHO_T}yes" >&6
4794 echo "$as_me:$LINENO: result: no" >&5
4795 echo "${ECHO_T}no" >&6
4800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4801 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4803 # Check whether --enable-backtrace or --disable-backtrace was given.
4804 if test "${enable_backtrace+set}" = set; then
4805 enableval="$enable_backtrace"
4807 if test "$enableval" = yes; then
4808 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
4810 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
4815 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4822 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
4826 eval "$ac_cv_use_backtrace"
4827 if test "$no_cache" != 1; then
4828 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4831 if test "$wxUSE_STACKWALKER" = yes; then
4832 echo "$as_me:$LINENO: result: yes" >&5
4833 echo "${ECHO_T}yes" >&6
4835 echo "$as_me:$LINENO: result: no" >&5
4836 echo "${ECHO_T}no" >&6
4841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4842 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4844 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4845 if test "${enable_catch_segvs+set}" = set; then
4846 enableval="$enable_catch_segvs"
4848 if test "$enableval" = yes; then
4849 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4851 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4856 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4857 if test "x$LINE" != x ; then
4858 eval "DEFAULT_$LINE"
4863 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4867 eval "$ac_cv_use_catch_segvs"
4868 if test "$no_cache" != 1; then
4869 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4872 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4873 echo "$as_me:$LINENO: result: yes" >&5
4874 echo "${ECHO_T}yes" >&6
4876 echo "$as_me:$LINENO: result: no" >&5
4877 echo "${ECHO_T}no" >&6
4882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4883 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4885 # Check whether --enable-cmdline or --disable-cmdline was given.
4886 if test "${enable_cmdline+set}" = set; then
4887 enableval="$enable_cmdline"
4889 if test "$enableval" = yes; then
4890 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4892 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4897 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x ; then
4899 eval "DEFAULT_$LINE"
4904 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4908 eval "$ac_cv_use_cmdline"
4909 if test "$no_cache" != 1; then
4910 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4913 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4914 echo "$as_me:$LINENO: result: yes" >&5
4915 echo "${ECHO_T}yes" >&6
4917 echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4926 # Check whether --enable-datetime or --disable-datetime was given.
4927 if test "${enable_datetime+set}" = set; then
4928 enableval="$enable_datetime"
4930 if test "$enableval" = yes; then
4931 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4933 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4938 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x ; then
4940 eval "DEFAULT_$LINE"
4945 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4949 eval "$ac_cv_use_datetime"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4954 if test "$wxUSE_DATETIME" = yes; then
4955 echo "$as_me:$LINENO: result: yes" >&5
4956 echo "${ECHO_T}yes" >&6
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4965 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4967 # Check whether --enable-debugreport or --disable-debugreport was given.
4968 if test "${enable_debugreport+set}" = set; then
4969 enableval="$enable_debugreport"
4971 if test "$enableval" = yes; then
4972 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
4974 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
4979 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x ; then
4981 eval "DEFAULT_$LINE"
4986 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
4990 eval "$ac_cv_use_debugreport"
4991 if test "$no_cache" != 1; then
4992 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4995 if test "$wxUSE_DEBUGREPORT" = yes; then
4996 echo "$as_me:$LINENO: result: yes" >&5
4997 echo "${ECHO_T}yes" >&6
4999 echo "$as_me:$LINENO: result: no" >&5
5000 echo "${ECHO_T}no" >&6
5005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5006 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5008 # Check whether --enable-dialupman or --disable-dialupman was given.
5009 if test "${enable_dialupman+set}" = set; then
5010 enableval="$enable_dialupman"
5012 if test "$enableval" = yes; then
5013 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
5015 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
5020 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5021 if test "x$LINE" != x ; then
5022 eval "DEFAULT_$LINE"
5027 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
5031 eval "$ac_cv_use_dialupman"
5032 if test "$no_cache" != 1; then
5033 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5036 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5037 echo "$as_me:$LINENO: result: yes" >&5
5038 echo "${ECHO_T}yes" >&6
5040 echo "$as_me:$LINENO: result: no" >&5
5041 echo "${ECHO_T}no" >&6
5046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5047 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5049 # Check whether --enable-dynlib or --disable-dynlib was given.
5050 if test "${enable_dynlib+set}" = set; then
5051 enableval="$enable_dynlib"
5053 if test "$enableval" = yes; then
5054 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5056 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5061 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5062 if test "x$LINE" != x ; then
5063 eval "DEFAULT_$LINE"
5068 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5072 eval "$ac_cv_use_dynlib"
5073 if test "$no_cache" != 1; then
5074 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5077 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5078 echo "$as_me:$LINENO: result: yes" >&5
5079 echo "${ECHO_T}yes" >&6
5081 echo "$as_me:$LINENO: result: no" >&5
5082 echo "${ECHO_T}no" >&6
5087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5088 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5090 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5091 if test "${enable_dynamicloader+set}" = set; then
5092 enableval="$enable_dynamicloader"
5094 if test "$enableval" = yes; then
5095 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5097 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5102 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5103 if test "x$LINE" != x ; then
5104 eval "DEFAULT_$LINE"
5109 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5113 eval "$ac_cv_use_dynamicloader"
5114 if test "$no_cache" != 1; then
5115 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5118 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5119 echo "$as_me:$LINENO: result: yes" >&5
5120 echo "${ECHO_T}yes" >&6
5122 echo "$as_me:$LINENO: result: no" >&5
5123 echo "${ECHO_T}no" >&6
5128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5129 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5131 # Check whether --enable-exceptions or --disable-exceptions was given.
5132 if test "${enable_exceptions+set}" = set; then
5133 enableval="$enable_exceptions"
5135 if test "$enableval" = yes; then
5136 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5138 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5143 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5144 if test "x$LINE" != x ; then
5145 eval "DEFAULT_$LINE"
5150 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5154 eval "$ac_cv_use_exceptions"
5155 if test "$no_cache" != 1; then
5156 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5159 if test "$wxUSE_EXCEPTIONS" = yes; then
5160 echo "$as_me:$LINENO: result: yes" >&5
5161 echo "${ECHO_T}yes" >&6
5163 echo "$as_me:$LINENO: result: no" >&5
5164 echo "${ECHO_T}no" >&6
5169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5170 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5172 # Check whether --enable-ffile or --disable-ffile was given.
5173 if test "${enable_ffile+set}" = set; then
5174 enableval="$enable_ffile"
5176 if test "$enableval" = yes; then
5177 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5179 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5184 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5185 if test "x$LINE" != x ; then
5186 eval "DEFAULT_$LINE"
5191 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5195 eval "$ac_cv_use_ffile"
5196 if test "$no_cache" != 1; then
5197 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5200 if test "$wxUSE_FFILE" = yes; then
5201 echo "$as_me:$LINENO: result: yes" >&5
5202 echo "${ECHO_T}yes" >&6
5204 echo "$as_me:$LINENO: result: no" >&5
5205 echo "${ECHO_T}no" >&6
5210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5211 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5213 # Check whether --enable-file or --disable-file was given.
5214 if test "${enable_file+set}" = set; then
5215 enableval="$enable_file"
5217 if test "$enableval" = yes; then
5218 ac_cv_use_file='wxUSE_FILE
=yes'
5220 ac_cv_use_file='wxUSE_FILE
=no
'
5225 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5226 if test "x$LINE" != x ; then
5227 eval "DEFAULT_$LINE"
5232 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5236 eval "$ac_cv_use_file"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5241 if test "$wxUSE_FILE" = yes; then
5242 echo "$as_me:$LINENO: result: yes" >&5
5243 echo "${ECHO_T}yes" >&6
5245 echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6
5251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5252 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5254 # Check whether --enable-filesystem or --disable-filesystem was given.
5255 if test "${enable_filesystem+set}" = set; then
5256 enableval="$enable_filesystem"
5258 if test "$enableval" = yes; then
5259 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5261 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5266 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5267 if test "x$LINE" != x ; then
5268 eval "DEFAULT_$LINE"
5273 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5277 eval "$ac_cv_use_filesystem"
5278 if test "$no_cache" != 1; then
5279 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5282 if test "$wxUSE_FILESYSTEM" = yes; then
5283 echo "$as_me:$LINENO: result: yes" >&5
5284 echo "${ECHO_T}yes" >&6
5286 echo "$as_me:$LINENO: result: no" >&5
5287 echo "${ECHO_T}no" >&6
5292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5293 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5295 # Check whether --enable-fontmap or --disable-fontmap was given.
5296 if test "${enable_fontmap+set}" = set; then
5297 enableval="$enable_fontmap"
5299 if test "$enableval" = yes; then
5300 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5302 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5307 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x ; then
5309 eval "DEFAULT_$LINE"
5314 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5318 eval "$ac_cv_use_fontmap"
5319 if test "$no_cache" != 1; then
5320 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5323 if test "$wxUSE_FONTMAP" = yes; then
5324 echo "$as_me:$LINENO: result: yes" >&5
5325 echo "${ECHO_T}yes" >&6
5327 echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6
5333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5334 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5336 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5337 if test "${enable_fs_inet+set}" = set; then
5338 enableval="$enable_fs_inet"
5340 if test "$enableval" = yes; then
5341 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5343 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5348 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5349 if test "x$LINE" != x ; then
5350 eval "DEFAULT_$LINE"
5355 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5359 eval "$ac_cv_use_fs_inet"
5360 if test "$no_cache" != 1; then
5361 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5364 if test "$wxUSE_FS_INET" = yes; then
5365 echo "$as_me:$LINENO: result: yes" >&5
5366 echo "${ECHO_T}yes" >&6
5368 echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6
5374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5375 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5377 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5378 if test "${enable_fs_zip+set}" = set; then
5379 enableval="$enable_fs_zip"
5381 if test "$enableval" = yes; then
5382 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5384 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5389 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5390 if test "x$LINE" != x ; then
5391 eval "DEFAULT_$LINE"
5396 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5400 eval "$ac_cv_use_fs_zip"
5401 if test "$no_cache" != 1; then
5402 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5405 if test "$wxUSE_FS_ZIP" = yes; then
5406 echo "$as_me:$LINENO: result: yes" >&5
5407 echo "${ECHO_T}yes" >&6
5409 echo "$as_me:$LINENO: result: no" >&5
5410 echo "${ECHO_T}no" >&6
5415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5416 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5418 # Check whether --enable-geometry or --disable-geometry was given.
5419 if test "${enable_geometry+set}" = set; then
5420 enableval="$enable_geometry"
5422 if test "$enableval" = yes; then
5423 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5425 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5430 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5431 if test "x$LINE" != x ; then
5432 eval "DEFAULT_$LINE"
5437 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5441 eval "$ac_cv_use_geometry"
5442 if test "$no_cache" != 1; then
5443 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5446 if test "$wxUSE_GEOMETRY" = yes; then
5447 echo "$as_me:$LINENO: result: yes" >&5
5448 echo "${ECHO_T}yes" >&6
5450 echo "$as_me:$LINENO: result: no" >&5
5451 echo "${ECHO_T}no" >&6
5456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5457 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5459 # Check whether --enable-log or --disable-log was given.
5460 if test "${enable_log+set}" = set; then
5461 enableval="$enable_log"
5463 if test "$enableval" = yes; then
5464 ac_cv_use_log='wxUSE_LOG
=yes'
5466 ac_cv_use_log='wxUSE_LOG
=no
'
5471 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5472 if test "x$LINE" != x ; then
5473 eval "DEFAULT_$LINE"
5478 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5482 eval "$ac_cv_use_log"
5483 if test "$no_cache" != 1; then
5484 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5487 if test "$wxUSE_LOG" = yes; then
5488 echo "$as_me:$LINENO: result: yes" >&5
5489 echo "${ECHO_T}yes" >&6
5491 echo "$as_me:$LINENO: result: no" >&5
5492 echo "${ECHO_T}no" >&6
5497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5498 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5500 # Check whether --enable-longlong or --disable-longlong was given.
5501 if test "${enable_longlong+set}" = set; then
5502 enableval="$enable_longlong"
5504 if test "$enableval" = yes; then
5505 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5507 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5512 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5513 if test "x$LINE" != x ; then
5514 eval "DEFAULT_$LINE"
5519 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5523 eval "$ac_cv_use_longlong"
5524 if test "$no_cache" != 1; then
5525 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5528 if test "$wxUSE_LONGLONG" = yes; then
5529 echo "$as_me:$LINENO: result: yes" >&5
5530 echo "${ECHO_T}yes" >&6
5532 echo "$as_me:$LINENO: result: no" >&5
5533 echo "${ECHO_T}no" >&6
5538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5539 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5541 # Check whether --enable-mimetype or --disable-mimetype was given.
5542 if test "${enable_mimetype+set}" = set; then
5543 enableval="$enable_mimetype"
5545 if test "$enableval" = yes; then
5546 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5548 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5553 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5554 if test "x$LINE" != x ; then
5555 eval "DEFAULT_$LINE"
5560 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5564 eval "$ac_cv_use_mimetype"
5565 if test "$no_cache" != 1; then
5566 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5569 if test "$wxUSE_MIMETYPE" = yes; then
5570 echo "$as_me:$LINENO: result: yes" >&5
5571 echo "${ECHO_T}yes" >&6
5573 echo "$as_me:$LINENO: result: no" >&5
5574 echo "${ECHO_T}no" >&6
5579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5582 # Check whether --enable-mslu or --disable-mslu was given.
5583 if test "${enable_mslu+set}" = set; then
5584 enableval="$enable_mslu"
5586 if test "$enableval" = yes; then
5587 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5589 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5594 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5595 if test "x$LINE" != x ; then
5596 eval "DEFAULT_$LINE"
5601 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5605 eval "$ac_cv_use_mslu"
5606 if test "$no_cache" != 1; then
5607 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5610 if test "$wxUSE_UNICODE_MSLU" = yes; then
5611 echo "$as_me:$LINENO: result: yes" >&5
5612 echo "${ECHO_T}yes" >&6
5614 echo "$as_me:$LINENO: result: no" >&5
5615 echo "${ECHO_T}no" >&6
5620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5621 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5623 # Check whether --enable-snglinst or --disable-snglinst was given.
5624 if test "${enable_snglinst+set}" = set; then
5625 enableval="$enable_snglinst"
5627 if test "$enableval" = yes; then
5628 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5630 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5635 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5636 if test "x$LINE" != x ; then
5637 eval "DEFAULT_$LINE"
5642 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5646 eval "$ac_cv_use_snglinst"
5647 if test "$no_cache" != 1; then
5648 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5651 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5652 echo "$as_me:$LINENO: result: yes" >&5
5653 echo "${ECHO_T}yes" >&6
5655 echo "$as_me:$LINENO: result: no" >&5
5656 echo "${ECHO_T}no" >&6
5661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5662 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5664 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5665 if test "${enable_std_iostreams+set}" = set; then
5666 enableval="$enable_std_iostreams"
5668 if test "$enableval" = yes; then
5669 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5671 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5676 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5677 if test "x$LINE" != x ; then
5678 eval "DEFAULT_$LINE"
5683 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5687 eval "$ac_cv_use_std_iostreams"
5688 if test "$no_cache" != 1; then
5689 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5692 if test "$wxUSE_STD_IOSTREAM" = yes; then
5693 echo "$as_me:$LINENO: result: yes" >&5
5694 echo "${ECHO_T}yes" >&6
5696 echo "$as_me:$LINENO: result: no" >&5
5697 echo "${ECHO_T}no" >&6
5702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5703 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5705 # Check whether --enable-std_string or --disable-std_string was given.
5706 if test "${enable_std_string+set}" = set; then
5707 enableval="$enable_std_string"
5709 if test "$enableval" = yes; then
5710 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
5712 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
5717 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5718 if test "x$LINE" != x ; then
5719 eval "DEFAULT_$LINE"
5724 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
5728 eval "$ac_cv_use_std_string"
5729 if test "$no_cache" != 1; then
5730 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5733 if test "$wxUSE_STD_STRING" = yes; then
5734 echo "$as_me:$LINENO: result: yes" >&5
5735 echo "${ECHO_T}yes" >&6
5737 echo "$as_me:$LINENO: result: no" >&5
5738 echo "${ECHO_T}no" >&6
5743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5744 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5746 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5747 if test "${enable_stdpaths+set}" = set; then
5748 enableval="$enable_stdpaths"
5750 if test "$enableval" = yes; then
5751 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
5753 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
5758 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x ; then
5760 eval "DEFAULT_$LINE"
5765 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
5769 eval "$ac_cv_use_stdpaths"
5770 if test "$no_cache" != 1; then
5771 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5774 if test "$wxUSE_STDPATHS" = yes; then
5775 echo "$as_me:$LINENO: result: yes" >&5
5776 echo "${ECHO_T}yes" >&6
5778 echo "$as_me:$LINENO: result: no" >&5
5779 echo "${ECHO_T}no" >&6
5784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5785 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5787 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5788 if test "${enable_stopwatch+set}" = set; then
5789 enableval="$enable_stopwatch"
5791 if test "$enableval" = yes; then
5792 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5794 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5799 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5800 if test "x$LINE" != x ; then
5801 eval "DEFAULT_$LINE"
5806 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5810 eval "$ac_cv_use_stopwatch"
5811 if test "$no_cache" != 1; then
5812 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5815 if test "$wxUSE_STOPWATCH" = yes; then
5816 echo "$as_me:$LINENO: result: yes" >&5
5817 echo "${ECHO_T}yes" >&6
5819 echo "$as_me:$LINENO: result: no" >&5
5820 echo "${ECHO_T}no" >&6
5825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5826 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5828 # Check whether --enable-streams or --disable-streams was given.
5829 if test "${enable_streams+set}" = set; then
5830 enableval="$enable_streams"
5832 if test "$enableval" = yes; then
5833 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5835 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5840 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5841 if test "x$LINE" != x ; then
5842 eval "DEFAULT_$LINE"
5847 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5851 eval "$ac_cv_use_streams"
5852 if test "$no_cache" != 1; then
5853 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5856 if test "$wxUSE_STREAMS" = yes; then
5857 echo "$as_me:$LINENO: result: yes" >&5
5858 echo "${ECHO_T}yes" >&6
5860 echo "$as_me:$LINENO: result: no" >&5
5861 echo "${ECHO_T}no" >&6
5866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5867 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5869 # Check whether --enable-system_options or --disable-system_options was given.
5870 if test "${enable_system_options+set}" = set; then
5871 enableval="$enable_system_options"
5873 if test "$enableval" = yes; then
5874 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5876 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5881 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5882 if test "x$LINE" != x ; then
5883 eval "DEFAULT_$LINE"
5888 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5892 eval "$ac_cv_use_system_options"
5893 if test "$no_cache" != 1; then
5894 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5897 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5898 echo "$as_me:$LINENO: result: yes" >&5
5899 echo "${ECHO_T}yes" >&6
5901 echo "$as_me:$LINENO: result: no" >&5
5902 echo "${ECHO_T}no" >&6
5907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5908 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5910 # Check whether --enable-textbuf or --disable-textbuf was given.
5911 if test "${enable_textbuf+set}" = set; then
5912 enableval="$enable_textbuf"
5914 if test "$enableval" = yes; then
5915 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5917 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5922 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5923 if test "x$LINE" != x ; then
5924 eval "DEFAULT_$LINE"
5929 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5933 eval "$ac_cv_use_textbuf"
5934 if test "$no_cache" != 1; then
5935 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5938 if test "$wxUSE_TEXTBUFFER" = yes; then
5939 echo "$as_me:$LINENO: result: yes" >&5
5940 echo "${ECHO_T}yes" >&6
5942 echo "$as_me:$LINENO: result: no" >&5
5943 echo "${ECHO_T}no" >&6
5948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5949 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5951 # Check whether --enable-textfile or --disable-textfile was given.
5952 if test "${enable_textfile+set}" = set; then
5953 enableval="$enable_textfile"
5955 if test "$enableval" = yes; then
5956 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5958 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5963 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5964 if test "x$LINE" != x ; then
5965 eval "DEFAULT_$LINE"
5970 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5974 eval "$ac_cv_use_textfile"
5975 if test "$no_cache" != 1; then
5976 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5979 if test "$wxUSE_TEXTFILE" = yes; then
5980 echo "$as_me:$LINENO: result: yes" >&5
5981 echo "${ECHO_T}yes" >&6
5983 echo "$as_me:$LINENO: result: no" >&5
5984 echo "${ECHO_T}no" >&6
5989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5990 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5992 # Check whether --enable-timer or --disable-timer was given.
5993 if test "${enable_timer+set}" = set; then
5994 enableval="$enable_timer"
5996 if test "$enableval" = yes; then
5997 ac_cv_use_timer='wxUSE_TIMER
=yes'
5999 ac_cv_use_timer='wxUSE_TIMER
=no
'
6004 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6005 if test "x$LINE" != x ; then
6006 eval "DEFAULT_$LINE"
6011 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
6015 eval "$ac_cv_use_timer"
6016 if test "$no_cache" != 1; then
6017 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6020 if test "$wxUSE_TIMER" = yes; then
6021 echo "$as_me:$LINENO: result: yes" >&5
6022 echo "${ECHO_T}yes" >&6
6024 echo "$as_me:$LINENO: result: no" >&5
6025 echo "${ECHO_T}no" >&6
6030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6031 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6033 # Check whether --enable-unicode or --disable-unicode was given.
6034 if test "${enable_unicode+set}" = set; then
6035 enableval="$enable_unicode"
6037 if test "$enableval" = yes; then
6038 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
6040 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
6045 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x ; then
6047 eval "DEFAULT_$LINE"
6052 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6056 eval "$ac_cv_use_unicode"
6057 if test "$no_cache" != 1; then
6058 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6061 if test "$wxUSE_UNICODE" = yes; then
6062 echo "$as_me:$LINENO: result: yes" >&5
6063 echo "${ECHO_T}yes" >&6
6065 echo "$as_me:$LINENO: result: no" >&5
6066 echo "${ECHO_T}no" >&6
6071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6072 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6074 # Check whether --enable-sound or --disable-sound was given.
6075 if test "${enable_sound+set}" = set; then
6076 enableval="$enable_sound"
6078 if test "$enableval" = yes; then
6079 ac_cv_use_sound='wxUSE_SOUND
=yes'
6081 ac_cv_use_sound='wxUSE_SOUND
=no
'
6086 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6087 if test "x$LINE" != x ; then
6088 eval "DEFAULT_$LINE"
6093 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6097 eval "$ac_cv_use_sound"
6098 if test "$no_cache" != 1; then
6099 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6102 if test "$wxUSE_SOUND" = yes; then
6103 echo "$as_me:$LINENO: result: yes" >&5
6104 echo "${ECHO_T}yes" >&6
6106 echo "$as_me:$LINENO: result: no" >&5
6107 echo "${ECHO_T}no" >&6
6112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6113 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6115 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6116 if test "${enable_mediactrl+set}" = set; then
6117 enableval="$enable_mediactrl"
6119 if test "$enableval" = yes; then
6120 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6122 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6127 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6134 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6138 eval "$ac_cv_use_mediactrl"
6139 if test "$no_cache" != 1; then
6140 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6143 if test "$wxUSE_MEDIACTRL" = yes; then
6144 echo "$as_me:$LINENO: result: yes" >&5
6145 echo "${ECHO_T}yes" >&6
6147 echo "$as_me:$LINENO: result: no" >&5
6148 echo "${ECHO_T}no" >&6
6153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6156 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6157 if test "${enable_wxprintfv+set}" = set; then
6158 enableval="$enable_wxprintfv"
6160 if test "$enableval" = yes; then
6161 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
6163 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
6168 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6169 if test "x$LINE" != x ; then
6170 eval "DEFAULT_$LINE"
6175 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6179 eval "$ac_cv_use_wxprintfv"
6180 if test "$no_cache" != 1; then
6181 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6184 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6185 echo "$as_me:$LINENO: result: yes" >&5
6186 echo "${ECHO_T}yes" >&6
6188 echo "$as_me:$LINENO: result: no" >&5
6189 echo "${ECHO_T}no" >&6
6194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6195 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6197 # Check whether --enable-zipstream or --disable-zipstream was given.
6198 if test "${enable_zipstream+set}" = set; then
6199 enableval="$enable_zipstream"
6201 if test "$enableval" = yes; then
6202 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6204 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6209 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6210 if test "x$LINE" != x ; then
6211 eval "DEFAULT_$LINE"
6216 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6220 eval "$ac_cv_use_zipstream"
6221 if test "$no_cache" != 1; then
6222 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6225 if test "$wxUSE_ZIPSTREAM" = yes; then
6226 echo "$as_me:$LINENO: result: yes" >&5
6227 echo "${ECHO_T}yes" >&6
6229 echo "$as_me:$LINENO: result: no" >&5
6230 echo "${ECHO_T}no" >&6
6236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6239 # Check whether --enable-url or --disable-url was given.
6240 if test "${enable_url+set}" = set; then
6241 enableval="$enable_url"
6243 if test "$enableval" = yes; then
6244 ac_cv_use_url='wxUSE_URL
=yes'
6246 ac_cv_use_url='wxUSE_URL
=no
'
6251 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x ; then
6253 eval "DEFAULT_$LINE"
6258 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6262 eval "$ac_cv_use_url"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6267 if test "$wxUSE_URL" = yes; then
6268 echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6280 # Check whether --enable-protocol or --disable-protocol was given.
6281 if test "${enable_protocol+set}" = set; then
6282 enableval="$enable_protocol"
6284 if test "$enableval" = yes; then
6285 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6287 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6292 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x ; then
6294 eval "DEFAULT_$LINE"
6299 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6303 eval "$ac_cv_use_protocol"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6308 if test "$wxUSE_PROTOCOL" = yes; then
6309 echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6321 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6322 if test "${enable_protocol_http+set}" = set; then
6323 enableval="$enable_protocol_http"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6328 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6333 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x ; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6344 eval "$ac_cv_use_protocol_http"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6349 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6350 echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6
6353 echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6
6359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6362 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6363 if test "${enable_protocol_ftp+set}" = set; then
6364 enableval="$enable_protocol_ftp"
6366 if test "$enableval" = yes; then
6367 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6369 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6374 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6375 if test "x$LINE" != x ; then
6376 eval "DEFAULT_$LINE"
6381 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6385 eval "$ac_cv_use_protocol_ftp"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6390 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6391 echo "$as_me:$LINENO: result: yes" >&5
6392 echo "${ECHO_T}yes" >&6
6394 echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6
6400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6403 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6404 if test "${enable_protocol_file+set}" = set; then
6405 enableval="$enable_protocol_file"
6407 if test "$enableval" = yes; then
6408 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6410 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6415 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6416 if test "x$LINE" != x ; then
6417 eval "DEFAULT_$LINE"
6422 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6426 eval "$ac_cv_use_protocol_file"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6431 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6432 echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6
6435 echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6
6444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6447 # Check whether --enable-threads or --disable-threads was given.
6448 if test "${enable_threads+set}" = set; then
6449 enableval="$enable_threads"
6451 if test "$enableval" = yes; then
6452 ac_cv_use_threads='wxUSE_THREADS
=yes'
6454 ac_cv_use_threads='wxUSE_THREADS
=no
'
6459 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6460 if test "x$LINE" != x ; then
6461 eval "DEFAULT_$LINE"
6466 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6470 eval "$ac_cv_use_threads"
6471 if test "$no_cache" != 1; then
6472 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6475 if test "$wxUSE_THREADS" = yes; then
6476 echo "$as_me:$LINENO: result: yes" >&5
6477 echo "${ECHO_T}yes" >&6
6479 echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6
6484 if test "$wxUSE_GUI" = "yes"; then
6489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6490 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6492 # Check whether --enable-docview or --disable-docview was given.
6493 if test "${enable_docview+set}" = set; then
6494 enableval="$enable_docview"
6496 if test "$enableval" = yes; then
6497 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6499 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6504 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6505 if test "x$LINE" != x ; then
6506 eval "DEFAULT_$LINE"
6511 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6515 eval "$ac_cv_use_docview"
6516 if test "$no_cache" != 1; then
6517 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6520 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6521 echo "$as_me:$LINENO: result: yes" >&5
6522 echo "${ECHO_T}yes" >&6
6524 echo "$as_me:$LINENO: result: no" >&5
6525 echo "${ECHO_T}no" >&6
6530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6531 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6533 # Check whether --enable-help or --disable-help was given.
6534 if test "${enable_help+set}" = set; then
6535 enableval="$enable_help"
6537 if test "$enableval" = yes; then
6538 ac_cv_use_help='wxUSE_HELP
=yes'
6540 ac_cv_use_help='wxUSE_HELP
=no
'
6545 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6546 if test "x$LINE" != x ; then
6547 eval "DEFAULT_$LINE"
6552 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
6556 eval "$ac_cv_use_help"
6557 if test "$no_cache" != 1; then
6558 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6561 if test "$wxUSE_HELP" = yes; then
6562 echo "$as_me:$LINENO: result: yes" >&5
6563 echo "${ECHO_T}yes" >&6
6565 echo "$as_me:$LINENO: result: no" >&5
6566 echo "${ECHO_T}no" >&6
6571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6572 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6574 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6575 if test "${enable_mshtmlhelp+set}" = set; then
6576 enableval="$enable_mshtmlhelp"
6578 if test "$enableval" = yes; then
6579 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6581 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6586 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6587 if test "x$LINE" != x ; then
6588 eval "DEFAULT_$LINE"
6593 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6597 eval "$ac_cv_use_mshtmlhelp"
6598 if test "$no_cache" != 1; then
6599 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6602 if test "$wxUSE_MS_HTML_HELP" = yes; then
6603 echo "$as_me:$LINENO: result: yes" >&5
6604 echo "${ECHO_T}yes" >&6
6606 echo "$as_me:$LINENO: result: no" >&5
6607 echo "${ECHO_T}no" >&6
6612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6613 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6615 # Check whether --enable-html or --disable-html was given.
6616 if test "${enable_html+set}" = set; then
6617 enableval="$enable_html"
6619 if test "$enableval" = yes; then
6620 ac_cv_use_html='wxUSE_HTML
=yes'
6622 ac_cv_use_html='wxUSE_HTML
=no
'
6627 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6628 if test "x$LINE" != x ; then
6629 eval "DEFAULT_$LINE"
6634 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6638 eval "$ac_cv_use_html"
6639 if test "$no_cache" != 1; then
6640 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6643 if test "$wxUSE_HTML" = yes; then
6644 echo "$as_me:$LINENO: result: yes" >&5
6645 echo "${ECHO_T}yes" >&6
6647 echo "$as_me:$LINENO: result: no" >&5
6648 echo "${ECHO_T}no" >&6
6653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6654 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6656 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6657 if test "${enable_htmlhelp+set}" = set; then
6658 enableval="$enable_htmlhelp"
6660 if test "$enableval" = yes; then
6661 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6663 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6668 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6669 if test "x$LINE" != x ; then
6670 eval "DEFAULT_$LINE"
6675 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6679 eval "$ac_cv_use_htmlhelp"
6680 if test "$no_cache" != 1; then
6681 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6684 if test "$wxUSE_WXHTML_HELP" = yes; then
6685 echo "$as_me:$LINENO: result: yes" >&5
6686 echo "${ECHO_T}yes" >&6
6688 echo "$as_me:$LINENO: result: no" >&5
6689 echo "${ECHO_T}no" >&6
6694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6695 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6697 # Check whether --enable-xrc or --disable-xrc was given.
6698 if test "${enable_xrc+set}" = set; then
6699 enableval="$enable_xrc"
6701 if test "$enableval" = yes; then
6702 ac_cv_use_xrc='wxUSE_XRC
=yes'
6704 ac_cv_use_xrc='wxUSE_XRC
=no
'
6709 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6710 if test "x$LINE" != x ; then
6711 eval "DEFAULT_$LINE"
6716 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
6720 eval "$ac_cv_use_xrc"
6721 if test "$no_cache" != 1; then
6722 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6725 if test "$wxUSE_XRC" = yes; then
6726 echo "$as_me:$LINENO: result: yes" >&5
6727 echo "${ECHO_T}yes" >&6
6729 echo "$as_me:$LINENO: result: no" >&5
6730 echo "${ECHO_T}no" >&6
6735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6736 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6738 # Check whether --enable-constraints or --disable-constraints was given.
6739 if test "${enable_constraints+set}" = set; then
6740 enableval="$enable_constraints"
6742 if test "$enableval" = yes; then
6743 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6745 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6750 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6751 if test "x$LINE" != x ; then
6752 eval "DEFAULT_$LINE"
6757 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6761 eval "$ac_cv_use_constraints"
6762 if test "$no_cache" != 1; then
6763 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6766 if test "$wxUSE_CONSTRAINTS" = yes; then
6767 echo "$as_me:$LINENO: result: yes" >&5
6768 echo "${ECHO_T}yes" >&6
6770 echo "$as_me:$LINENO: result: no" >&5
6771 echo "${ECHO_T}no" >&6
6776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6777 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6779 # Check whether --enable-printarch or --disable-printarch was given.
6780 if test "${enable_printarch+set}" = set; then
6781 enableval="$enable_printarch"
6783 if test "$enableval" = yes; then
6784 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6786 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6791 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6792 if test "x$LINE" != x ; then
6793 eval "DEFAULT_$LINE"
6798 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6802 eval "$ac_cv_use_printarch"
6803 if test "$no_cache" != 1; then
6804 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6807 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6808 echo "$as_me:$LINENO: result: yes" >&5
6809 echo "${ECHO_T}yes" >&6
6811 echo "$as_me:$LINENO: result: no" >&5
6812 echo "${ECHO_T}no" >&6
6817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6818 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6820 # Check whether --enable-mdi or --disable-mdi was given.
6821 if test "${enable_mdi+set}" = set; then
6822 enableval="$enable_mdi"
6824 if test "$enableval" = yes; then
6825 ac_cv_use_mdi='wxUSE_MDI
=yes'
6827 ac_cv_use_mdi='wxUSE_MDI
=no
'
6832 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6833 if test "x$LINE" != x ; then
6834 eval "DEFAULT_$LINE"
6839 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
6843 eval "$ac_cv_use_mdi"
6844 if test "$no_cache" != 1; then
6845 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6848 if test "$wxUSE_MDI" = yes; then
6849 echo "$as_me:$LINENO: result: yes" >&5
6850 echo "${ECHO_T}yes" >&6
6852 echo "$as_me:$LINENO: result: no" >&5
6853 echo "${ECHO_T}no" >&6
6858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6861 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6862 if test "${enable_mdidoc+set}" = set; then
6863 enableval="$enable_mdidoc"
6865 if test "$enableval" = yes; then
6866 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
6868 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
6873 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x ; then
6875 eval "DEFAULT_$LINE"
6880 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6884 eval "$ac_cv_use_mdidoc"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6889 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6890 echo "$as_me:$LINENO: result: yes" >&5
6891 echo "${ECHO_T}yes" >&6
6893 echo "$as_me:$LINENO: result: no" >&5
6894 echo "${ECHO_T}no" >&6
6899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6900 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6902 # Check whether --enable-loggui or --disable-loggui was given.
6903 if test "${enable_loggui+set}" = set; then
6904 enableval="$enable_loggui"
6906 if test "$enableval" = yes; then
6907 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6909 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6914 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6915 if test "x$LINE" != x ; then
6916 eval "DEFAULT_$LINE"
6921 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6925 eval "$ac_cv_use_loggui"
6926 if test "$no_cache" != 1; then
6927 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6930 if test "$wxUSE_LOGGUI" = yes; then
6931 echo "$as_me:$LINENO: result: yes" >&5
6932 echo "${ECHO_T}yes" >&6
6934 echo "$as_me:$LINENO: result: no" >&5
6935 echo "${ECHO_T}no" >&6
6940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6941 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6943 # Check whether --enable-logwin or --disable-logwin was given.
6944 if test "${enable_logwin+set}" = set; then
6945 enableval="$enable_logwin"
6947 if test "$enableval" = yes; then
6948 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6950 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6955 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6956 if test "x$LINE" != x ; then
6957 eval "DEFAULT_$LINE"
6962 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6966 eval "$ac_cv_use_logwin"
6967 if test "$no_cache" != 1; then
6968 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6971 if test "$wxUSE_LOGWINDOW" = yes; then
6972 echo "$as_me:$LINENO: result: yes" >&5
6973 echo "${ECHO_T}yes" >&6
6975 echo "$as_me:$LINENO: result: no" >&5
6976 echo "${ECHO_T}no" >&6
6981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6982 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6984 # Check whether --enable-logdialog or --disable-logdialog was given.
6985 if test "${enable_logdialog+set}" = set; then
6986 enableval="$enable_logdialog"
6988 if test "$enableval" = yes; then
6989 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6991 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6996 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6997 if test "x$LINE" != x ; then
6998 eval "DEFAULT_$LINE"
7003 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
7007 eval "$ac_cv_use_logdialog"
7008 if test "$no_cache" != 1; then
7009 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7012 if test "$wxUSE_LOGDIALOG" = yes; then
7013 echo "$as_me:$LINENO: result: yes" >&5
7014 echo "${ECHO_T}yes" >&6
7016 echo "$as_me:$LINENO: result: no" >&5
7017 echo "${ECHO_T}no" >&6
7022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7023 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7025 # Check whether --enable-webkit or --disable-webkit was given.
7026 if test "${enable_webkit+set}" = set; then
7027 enableval="$enable_webkit"
7029 if test "$enableval" = yes; then
7030 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
7032 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
7037 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7038 if test "x$LINE" != x ; then
7039 eval "DEFAULT_$LINE"
7044 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7048 eval "$ac_cv_use_webkit"
7049 if test "$no_cache" != 1; then
7050 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7053 if test "$wxUSE_WEBKIT" = yes; then
7054 echo "$as_me:$LINENO: result: yes" >&5
7055 echo "${ECHO_T}yes" >&6
7057 echo "$as_me:$LINENO: result: no" >&5
7058 echo "${ECHO_T}no" >&6
7063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7064 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7066 # Check whether --enable-html or --disable-html was given.
7067 if test "${enable_html+set}" = set; then
7068 enableval="$enable_html"
7070 if test "$enableval" = yes; then
7071 ac_cv_use_html='wxUSE_RICHTEXT
=yes'
7073 ac_cv_use_html='wxUSE_RICHTEXT
=no
'
7078 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7079 if test "x$LINE" != x ; then
7080 eval "DEFAULT_$LINE"
7085 ac_cv_use_html='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7089 eval "$ac_cv_use_html"
7090 if test "$no_cache" != 1; then
7091 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7094 if test "$wxUSE_RICHTEXT" = yes; then
7095 echo "$as_me:$LINENO: result: yes" >&5
7096 echo "${ECHO_T}yes" >&6
7098 echo "$as_me:$LINENO: result: no" >&5
7099 echo "${ECHO_T}no" >&6
7105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7108 # Check whether --enable-postscript or --disable-postscript was given.
7109 if test "${enable_postscript+set}" = set; then
7110 enableval="$enable_postscript"
7112 if test "$enableval" = yes; then
7113 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7115 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7120 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x ; then
7122 eval "DEFAULT_$LINE"
7127 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7131 eval "$ac_cv_use_postscript"
7132 if test "$no_cache" != 1; then
7133 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7136 if test "$wxUSE_POSTSCRIPT" = yes; then
7137 echo "$as_me:$LINENO: result: yes" >&5
7138 echo "${ECHO_T}yes" >&6
7140 echo "$as_me:$LINENO: result: no" >&5
7141 echo "${ECHO_T}no" >&6
7149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7152 # Check whether --enable-prologio or --disable-prologio was given.
7153 if test "${enable_prologio+set}" = set; then
7154 enableval="$enable_prologio"
7156 if test "$enableval" = yes; then
7157 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7159 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7164 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x ; then
7166 eval "DEFAULT_$LINE"
7171 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7175 eval "$ac_cv_use_prologio"
7176 if test "$no_cache" != 1; then
7177 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7180 if test "$wxUSE_PROLOGIO" = yes; then
7181 echo "$as_me:$LINENO: result: yes" >&5
7182 echo "${ECHO_T}yes" >&6
7184 echo "$as_me:$LINENO: result: no" >&5
7185 echo "${ECHO_T}no" >&6
7190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7191 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7193 # Check whether --enable-resources or --disable-resources was given.
7194 if test "${enable_resources+set}" = set; then
7195 enableval="$enable_resources"
7197 if test "$enableval" = yes; then
7198 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7200 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7205 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7206 if test "x$LINE" != x ; then
7207 eval "DEFAULT_$LINE"
7212 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7216 eval "$ac_cv_use_resources"
7217 if test "$no_cache" != 1; then
7218 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7221 if test "$wxUSE_RESOURCES" = yes; then
7222 echo "$as_me:$LINENO: result: yes" >&5
7223 echo "${ECHO_T}yes" >&6
7225 echo "$as_me:$LINENO: result: no" >&5
7226 echo "${ECHO_T}no" >&6
7233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7234 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7236 # Check whether --enable-clipboard or --disable-clipboard was given.
7237 if test "${enable_clipboard+set}" = set; then
7238 enableval="$enable_clipboard"
7240 if test "$enableval" = yes; then
7241 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7243 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7248 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7249 if test "x$LINE" != x ; then
7250 eval "DEFAULT_$LINE"
7255 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7259 eval "$ac_cv_use_clipboard"
7260 if test "$no_cache" != 1; then
7261 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7264 if test "$wxUSE_CLIPBOARD" = yes; then
7265 echo "$as_me:$LINENO: result: yes" >&5
7266 echo "${ECHO_T}yes" >&6
7268 echo "$as_me:$LINENO: result: no" >&5
7269 echo "${ECHO_T}no" >&6
7274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7275 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7277 # Check whether --enable-dnd or --disable-dnd was given.
7278 if test "${enable_dnd+set}" = set; then
7279 enableval="$enable_dnd"
7281 if test "$enableval" = yes; then
7282 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7284 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7289 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7290 if test "x$LINE" != x ; then
7291 eval "DEFAULT_$LINE"
7296 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7300 eval "$ac_cv_use_dnd"
7301 if test "$no_cache" != 1; then
7302 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7305 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7306 echo "$as_me:$LINENO: result: yes" >&5
7307 echo "${ECHO_T}yes" >&6
7309 echo "$as_me:$LINENO: result: no" >&5
7310 echo "${ECHO_T}no" >&6
7315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7316 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7318 # Check whether --enable-metafile or --disable-metafile was given.
7319 if test "${enable_metafile+set}" = set; then
7320 enableval="$enable_metafile"
7322 if test "$enableval" = yes; then
7323 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7325 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7330 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x ; then
7332 eval "DEFAULT_$LINE"
7337 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7341 eval "$ac_cv_use_metafile"
7342 if test "$no_cache" != 1; then
7343 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7346 if test "$wxUSE_METAFILE" = yes; then
7347 echo "$as_me:$LINENO: result: yes" >&5
7348 echo "${ECHO_T}yes" >&6
7350 echo "$as_me:$LINENO: result: no" >&5
7351 echo "${ECHO_T}no" >&6
7359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7360 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7362 # Check whether --enable-controls or --disable-controls was given.
7363 if test "${enable_controls+set}" = set; then
7364 enableval="$enable_controls"
7366 if test "$enableval" = yes; then
7367 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7369 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7374 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x ; then
7376 eval "DEFAULT_$LINE"
7381 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7385 eval "$ac_cv_use_controls"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7390 if test "$wxUSE_CONTROLS" = yes; then
7391 echo "$as_me:$LINENO: result: yes" >&5
7392 echo "${ECHO_T}yes" >&6
7394 echo "$as_me:$LINENO: result: no" >&5
7395 echo "${ECHO_T}no" >&6
7399 if test "$wxUSE_CONTROLS" = "yes"; then
7400 DEFAULT_wxUSE_ACCEL=yes
7401 DEFAULT_wxUSE_BMPBUTTON=yes
7402 DEFAULT_wxUSE_BUTTON=yes
7403 DEFAULT_wxUSE_CALCTRL=yes
7404 DEFAULT_wxUSE_CARET=yes
7405 DEFAULT_wxUSE_COMBOBOX=yes
7406 DEFAULT_wxUSE_CHECKBOX=yes
7407 DEFAULT_wxUSE_CHECKLISTBOX=yes
7408 DEFAULT_wxUSE_CHOICE=yes
7409 DEFAULT_wxUSE_CHOICEBOOK=yes
7410 DEFAULT_wxUSE_DATEPICKCTRL=yes
7411 DEFAULT_wxUSE_GAUGE=yes
7412 DEFAULT_wxUSE_GRID=yes
7413 DEFAULT_wxUSE_DATAVIEWCTRL=no
7414 DEFAULT_wxUSE_IMAGLIST=yes
7415 DEFAULT_wxUSE_LISTBOOK=yes
7416 DEFAULT_wxUSE_LISTBOX=yes
7417 DEFAULT_wxUSE_LISTCTRL=yes
7418 DEFAULT_wxUSE_NOTEBOOK=yes
7419 DEFAULT_wxUSE_RADIOBOX=yes
7420 DEFAULT_wxUSE_RADIOBTN=yes
7421 DEFAULT_wxUSE_SASH=yes
7422 DEFAULT_wxUSE_SCROLLBAR=yes
7423 DEFAULT_wxUSE_SLIDER=yes
7424 DEFAULT_wxUSE_SPINBTN=yes
7425 DEFAULT_wxUSE_SPINCTRL=yes
7426 DEFAULT_wxUSE_SPLITTER=yes
7427 DEFAULT_wxUSE_STATBMP=yes
7428 DEFAULT_wxUSE_STATBOX=yes
7429 DEFAULT_wxUSE_STATLINE=yes
7430 DEFAULT_wxUSE_STATUSBAR=yes
7431 DEFAULT_wxUSE_TAB_DIALOG=yes
7432 DEFAULT_wxUSE_TOGGLEBTN=yes
7433 DEFAULT_wxUSE_TOOLBAR=yes
7434 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7435 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7436 DEFAULT_wxUSE_TOOLTIPS=yes
7437 DEFAULT_wxUSE_TREEBOOK=yes
7438 DEFAULT_wxUSE_TREECTRL=yes
7439 DEFAULT_wxUSE_POPUPWIN=yes
7440 DEFAULT_wxUSE_TIPWINDOW=yes
7441 elif test "$wxUSE_CONTROLS" = "no"; then
7442 DEFAULT_wxUSE_ACCEL=no
7443 DEFAULT_wxUSE_BMPBUTTON=no
7444 DEFAULT_wxUSE_BUTTON=no
7445 DEFAULT_wxUSE_CALCTRL=no
7446 DEFAULT_wxUSE_CARET=no
7447 DEFAULT_wxUSE_COMBOBOX=no
7448 DEFAULT_wxUSE_CHECKBOX=no
7449 DEFAULT_wxUSE_CHECKLISTBOX=no
7450 DEFAULT_wxUSE_CHOICE=no
7451 DEFAULT_wxUSE_CHOICEBOOK=no
7452 DEFAULT_wxUSE_DATEPICKCTRL=no
7453 DEFAULT_wxUSE_GAUGE=no
7454 DEFAULT_wxUSE_GRID=no
7455 DEFAULT_wxUSE_DATAVIEWCTRL=no
7456 DEFAULT_wxUSE_IMAGLIST=no
7457 DEFAULT_wxUSE_LISTBOOK=no
7458 DEFAULT_wxUSE_LISTBOX=no
7459 DEFAULT_wxUSE_LISTCTRL=no
7460 DEFAULT_wxUSE_NOTEBOOK=no
7461 DEFAULT_wxUSE_RADIOBOX=no
7462 DEFAULT_wxUSE_RADIOBTN=no
7463 DEFAULT_wxUSE_SASH=no
7464 DEFAULT_wxUSE_SCROLLBAR=no
7465 DEFAULT_wxUSE_SLIDER=no
7466 DEFAULT_wxUSE_SPINBTN=no
7467 DEFAULT_wxUSE_SPINCTRL=no
7468 DEFAULT_wxUSE_SPLITTER=no
7469 DEFAULT_wxUSE_STATBMP=no
7470 DEFAULT_wxUSE_STATBOX=no
7471 DEFAULT_wxUSE_STATLINE=no
7472 DEFAULT_wxUSE_STATUSBAR=no
7473 DEFAULT_wxUSE_TAB_DIALOG=no
7474 DEFAULT_wxUSE_TOGGLEBTN=no
7475 DEFAULT_wxUSE_TOOLBAR=no
7476 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7477 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7478 DEFAULT_wxUSE_TOOLTIPS=no
7479 DEFAULT_wxUSE_TREEBOOK=no
7480 DEFAULT_wxUSE_TREECTRL=no
7481 DEFAULT_wxUSE_POPUPWIN=no
7482 DEFAULT_wxUSE_TIPWINDOW=no
7487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7488 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7490 # Check whether --enable-accel or --disable-accel was given.
7491 if test "${enable_accel+set}" = set; then
7492 enableval="$enable_accel"
7494 if test "$enableval" = yes; then
7495 ac_cv_use_accel='wxUSE_ACCEL
=yes'
7497 ac_cv_use_accel='wxUSE_ACCEL
=no
'
7502 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7503 if test "x$LINE" != x ; then
7504 eval "DEFAULT_$LINE"
7509 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
7513 eval "$ac_cv_use_accel"
7514 if test "$no_cache" != 1; then
7515 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7518 if test "$wxUSE_ACCEL" = yes; then
7519 echo "$as_me:$LINENO: result: yes" >&5
7520 echo "${ECHO_T}yes" >&6
7522 echo "$as_me:$LINENO: result: no" >&5
7523 echo "${ECHO_T}no" >&6
7528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7529 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7531 # Check whether --enable-button or --disable-button was given.
7532 if test "${enable_button+set}" = set; then
7533 enableval="$enable_button"
7535 if test "$enableval" = yes; then
7536 ac_cv_use_button='wxUSE_BUTTON
=yes'
7538 ac_cv_use_button='wxUSE_BUTTON
=no
'
7543 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7544 if test "x$LINE" != x ; then
7545 eval "DEFAULT_$LINE"
7550 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
7554 eval "$ac_cv_use_button"
7555 if test "$no_cache" != 1; then
7556 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7559 if test "$wxUSE_BUTTON" = yes; then
7560 echo "$as_me:$LINENO: result: yes" >&5
7561 echo "${ECHO_T}yes" >&6
7563 echo "$as_me:$LINENO: result: no" >&5
7564 echo "${ECHO_T}no" >&6
7569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7570 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7572 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7573 if test "${enable_bmpbutton+set}" = set; then
7574 enableval="$enable_bmpbutton"
7576 if test "$enableval" = yes; then
7577 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
7579 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
7584 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7585 if test "x$LINE" != x ; then
7586 eval "DEFAULT_$LINE"
7591 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
7595 eval "$ac_cv_use_bmpbutton"
7596 if test "$no_cache" != 1; then
7597 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7600 if test "$wxUSE_BMPBUTTON" = yes; then
7601 echo "$as_me:$LINENO: result: yes" >&5
7602 echo "${ECHO_T}yes" >&6
7604 echo "$as_me:$LINENO: result: no" >&5
7605 echo "${ECHO_T}no" >&6
7610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7611 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7613 # Check whether --enable-calendar or --disable-calendar was given.
7614 if test "${enable_calendar+set}" = set; then
7615 enableval="$enable_calendar"
7617 if test "$enableval" = yes; then
7618 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
7620 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
7625 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7626 if test "x$LINE" != x ; then
7627 eval "DEFAULT_$LINE"
7632 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
7636 eval "$ac_cv_use_calendar"
7637 if test "$no_cache" != 1; then
7638 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7641 if test "$wxUSE_CALCTRL" = yes; then
7642 echo "$as_me:$LINENO: result: yes" >&5
7643 echo "${ECHO_T}yes" >&6
7645 echo "$as_me:$LINENO: result: no" >&5
7646 echo "${ECHO_T}no" >&6
7651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7652 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7654 # Check whether --enable-caret or --disable-caret was given.
7655 if test "${enable_caret+set}" = set; then
7656 enableval="$enable_caret"
7658 if test "$enableval" = yes; then
7659 ac_cv_use_caret='wxUSE_CARET
=yes'
7661 ac_cv_use_caret='wxUSE_CARET
=no
'
7666 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7667 if test "x$LINE" != x ; then
7668 eval "DEFAULT_$LINE"
7673 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
7677 eval "$ac_cv_use_caret"
7678 if test "$no_cache" != 1; then
7679 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7682 if test "$wxUSE_CARET" = yes; then
7683 echo "$as_me:$LINENO: result: yes" >&5
7684 echo "${ECHO_T}yes" >&6
7686 echo "$as_me:$LINENO: result: no" >&5
7687 echo "${ECHO_T}no" >&6
7692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7693 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7695 # Check whether --enable-checkbox or --disable-checkbox was given.
7696 if test "${enable_checkbox+set}" = set; then
7697 enableval="$enable_checkbox"
7699 if test "$enableval" = yes; then
7700 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
7702 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
7707 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7708 if test "x$LINE" != x ; then
7709 eval "DEFAULT_$LINE"
7714 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
7718 eval "$ac_cv_use_checkbox"
7719 if test "$no_cache" != 1; then
7720 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7723 if test "$wxUSE_CHECKBOX" = yes; then
7724 echo "$as_me:$LINENO: result: yes" >&5
7725 echo "${ECHO_T}yes" >&6
7727 echo "$as_me:$LINENO: result: no" >&5
7728 echo "${ECHO_T}no" >&6
7733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7734 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7736 # Check whether --enable-checklst or --disable-checklst was given.
7737 if test "${enable_checklst+set}" = set; then
7738 enableval="$enable_checklst"
7740 if test "$enableval" = yes; then
7741 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7743 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7748 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7749 if test "x$LINE" != x ; then
7750 eval "DEFAULT_$LINE"
7755 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7759 eval "$ac_cv_use_checklst"
7760 if test "$no_cache" != 1; then
7761 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7764 if test "$wxUSE_CHECKLST" = yes; then
7765 echo "$as_me:$LINENO: result: yes" >&5
7766 echo "${ECHO_T}yes" >&6
7768 echo "$as_me:$LINENO: result: no" >&5
7769 echo "${ECHO_T}no" >&6
7774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7775 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7777 # Check whether --enable-choice or --disable-choice was given.
7778 if test "${enable_choice+set}" = set; then
7779 enableval="$enable_choice"
7781 if test "$enableval" = yes; then
7782 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7784 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7789 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7790 if test "x$LINE" != x ; then
7791 eval "DEFAULT_$LINE"
7796 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7800 eval "$ac_cv_use_choice"
7801 if test "$no_cache" != 1; then
7802 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7805 if test "$wxUSE_CHOICE" = yes; then
7806 echo "$as_me:$LINENO: result: yes" >&5
7807 echo "${ECHO_T}yes" >&6
7809 echo "$as_me:$LINENO: result: no" >&5
7810 echo "${ECHO_T}no" >&6
7815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7816 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7818 # Check whether --enable-choicebook or --disable-choicebook was given.
7819 if test "${enable_choicebook+set}" = set; then
7820 enableval="$enable_choicebook"
7822 if test "$enableval" = yes; then
7823 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
7825 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
7830 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7831 if test "x$LINE" != x ; then
7832 eval "DEFAULT_$LINE"
7837 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
7841 eval "$ac_cv_use_choicebook"
7842 if test "$no_cache" != 1; then
7843 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7846 if test "$wxUSE_CHOICEBOOK" = yes; then
7847 echo "$as_me:$LINENO: result: yes" >&5
7848 echo "${ECHO_T}yes" >&6
7850 echo "$as_me:$LINENO: result: no" >&5
7851 echo "${ECHO_T}no" >&6
7856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7857 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7859 # Check whether --enable-combobox or --disable-combobox was given.
7860 if test "${enable_combobox+set}" = set; then
7861 enableval="$enable_combobox"
7863 if test "$enableval" = yes; then
7864 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7866 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7871 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7872 if test "x$LINE" != x ; then
7873 eval "DEFAULT_$LINE"
7878 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7882 eval "$ac_cv_use_combobox"
7883 if test "$no_cache" != 1; then
7884 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7887 if test "$wxUSE_COMBOBOX" = yes; then
7888 echo "$as_me:$LINENO: result: yes" >&5
7889 echo "${ECHO_T}yes" >&6
7891 echo "$as_me:$LINENO: result: no" >&5
7892 echo "${ECHO_T}no" >&6
7897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7898 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7900 # Check whether --enable-datepick or --disable-datepick was given.
7901 if test "${enable_datepick+set}" = set; then
7902 enableval="$enable_datepick"
7904 if test "$enableval" = yes; then
7905 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
7907 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
7912 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7913 if test "x$LINE" != x ; then
7914 eval "DEFAULT_$LINE"
7919 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
7923 eval "$ac_cv_use_datepick"
7924 if test "$no_cache" != 1; then
7925 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7928 if test "$wxUSE_DATEPICKCTRL" = yes; then
7929 echo "$as_me:$LINENO: result: yes" >&5
7930 echo "${ECHO_T}yes" >&6
7932 echo "$as_me:$LINENO: result: no" >&5
7933 echo "${ECHO_T}no" >&6
7938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7939 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7941 # Check whether --enable-display or --disable-display was given.
7942 if test "${enable_display+set}" = set; then
7943 enableval="$enable_display"
7945 if test "$enableval" = yes; then
7946 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7948 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7953 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7954 if test "x$LINE" != x ; then
7955 eval "DEFAULT_$LINE"
7960 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7964 eval "$ac_cv_use_display"
7965 if test "$no_cache" != 1; then
7966 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7969 if test "$wxUSE_DISPLAY" = yes; then
7970 echo "$as_me:$LINENO: result: yes" >&5
7971 echo "${ECHO_T}yes" >&6
7973 echo "$as_me:$LINENO: result: no" >&5
7974 echo "${ECHO_T}no" >&6
7979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7980 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7982 # Check whether --enable-gauge or --disable-gauge was given.
7983 if test "${enable_gauge+set}" = set; then
7984 enableval="$enable_gauge"
7986 if test "$enableval" = yes; then
7987 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7989 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7994 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7995 if test "x$LINE" != x ; then
7996 eval "DEFAULT_$LINE"
8001 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
8005 eval "$ac_cv_use_gauge"
8006 if test "$no_cache" != 1; then
8007 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8010 if test "$wxUSE_GAUGE" = yes; then
8011 echo "$as_me:$LINENO: result: yes" >&5
8012 echo "${ECHO_T}yes" >&6
8014 echo "$as_me:$LINENO: result: no" >&5
8015 echo "${ECHO_T}no" >&6
8020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8021 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8023 # Check whether --enable-grid or --disable-grid was given.
8024 if test "${enable_grid+set}" = set; then
8025 enableval="$enable_grid"
8027 if test "$enableval" = yes; then
8028 ac_cv_use_grid='wxUSE_GRID
=yes'
8030 ac_cv_use_grid='wxUSE_GRID
=no
'
8035 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8036 if test "x$LINE" != x ; then
8037 eval "DEFAULT_$LINE"
8042 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
8046 eval "$ac_cv_use_grid"
8047 if test "$no_cache" != 1; then
8048 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8051 if test "$wxUSE_GRID" = yes; then
8052 echo "$as_me:$LINENO: result: yes" >&5
8053 echo "${ECHO_T}yes" >&6
8055 echo "$as_me:$LINENO: result: no" >&5
8056 echo "${ECHO_T}no" >&6
8061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8062 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8064 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8065 if test "${enable_dataviewctrl+set}" = set; then
8066 enableval="$enable_dataviewctrl"
8068 if test "$enableval" = yes; then
8069 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
8071 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
8076 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8077 if test "x$LINE" != x ; then
8078 eval "DEFAULT_$LINE"
8083 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
='$DEFAULT_wxUSE_DATAVIEWCTRL
8087 eval "$ac_cv_use_dataviewctrl"
8088 if test "$no_cache" != 1; then
8089 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8092 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8093 echo "$as_me:$LINENO: result: yes" >&5
8094 echo "${ECHO_T}yes" >&6
8096 echo "$as_me:$LINENO: result: no" >&5
8097 echo "${ECHO_T}no" >&6
8102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8103 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8105 # Check whether --enable-imaglist or --disable-imaglist was given.
8106 if test "${enable_imaglist+set}" = set; then
8107 enableval="$enable_imaglist"
8109 if test "$enableval" = yes; then
8110 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
8112 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
8117 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8118 if test "x$LINE" != x ; then
8119 eval "DEFAULT_$LINE"
8124 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
8128 eval "$ac_cv_use_imaglist"
8129 if test "$no_cache" != 1; then
8130 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8133 if test "$wxUSE_IMAGLIST" = yes; then
8134 echo "$as_me:$LINENO: result: yes" >&5
8135 echo "${ECHO_T}yes" >&6
8137 echo "$as_me:$LINENO: result: no" >&5
8138 echo "${ECHO_T}no" >&6
8143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8146 # Check whether --enable-listbook or --disable-listbook was given.
8147 if test "${enable_listbook+set}" = set; then
8148 enableval="$enable_listbook"
8150 if test "$enableval" = yes; then
8151 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
8153 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
8158 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8159 if test "x$LINE" != x ; then
8160 eval "DEFAULT_$LINE"
8165 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
8169 eval "$ac_cv_use_listbook"
8170 if test "$no_cache" != 1; then
8171 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8174 if test "$wxUSE_LISTBOOK" = yes; then
8175 echo "$as_me:$LINENO: result: yes" >&5
8176 echo "${ECHO_T}yes" >&6
8178 echo "$as_me:$LINENO: result: no" >&5
8179 echo "${ECHO_T}no" >&6
8184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8187 # Check whether --enable-listbox or --disable-listbox was given.
8188 if test "${enable_listbox+set}" = set; then
8189 enableval="$enable_listbox"
8191 if test "$enableval" = yes; then
8192 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
8194 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
8199 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x ; then
8201 eval "DEFAULT_$LINE"
8206 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
8210 eval "$ac_cv_use_listbox"
8211 if test "$no_cache" != 1; then
8212 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8215 if test "$wxUSE_LISTBOX" = yes; then
8216 echo "$as_me:$LINENO: result: yes" >&5
8217 echo "${ECHO_T}yes" >&6
8219 echo "$as_me:$LINENO: result: no" >&5
8220 echo "${ECHO_T}no" >&6
8225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8226 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8228 # Check whether --enable-listctrl or --disable-listctrl was given.
8229 if test "${enable_listctrl+set}" = set; then
8230 enableval="$enable_listctrl"
8232 if test "$enableval" = yes; then
8233 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
8235 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
8240 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8241 if test "x$LINE" != x ; then
8242 eval "DEFAULT_$LINE"
8247 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
8251 eval "$ac_cv_use_listctrl"
8252 if test "$no_cache" != 1; then
8253 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8256 if test "$wxUSE_LISTCTRL" = yes; then
8257 echo "$as_me:$LINENO: result: yes" >&5
8258 echo "${ECHO_T}yes" >&6
8260 echo "$as_me:$LINENO: result: no" >&5
8261 echo "${ECHO_T}no" >&6
8266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8267 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8269 # Check whether --enable-notebook or --disable-notebook was given.
8270 if test "${enable_notebook+set}" = set; then
8271 enableval="$enable_notebook"
8273 if test "$enableval" = yes; then
8274 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
8276 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
8281 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8282 if test "x$LINE" != x ; then
8283 eval "DEFAULT_$LINE"
8288 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
8292 eval "$ac_cv_use_notebook"
8293 if test "$no_cache" != 1; then
8294 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8297 if test "$wxUSE_NOTEBOOK" = yes; then
8298 echo "$as_me:$LINENO: result: yes" >&5
8299 echo "${ECHO_T}yes" >&6
8301 echo "$as_me:$LINENO: result: no" >&5
8302 echo "${ECHO_T}no" >&6
8307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8310 # Check whether --enable-radiobox or --disable-radiobox was given.
8311 if test "${enable_radiobox+set}" = set; then
8312 enableval="$enable_radiobox"
8314 if test "$enableval" = yes; then
8315 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
8317 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
8322 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8323 if test "x$LINE" != x ; then
8324 eval "DEFAULT_$LINE"
8329 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
8333 eval "$ac_cv_use_radiobox"
8334 if test "$no_cache" != 1; then
8335 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8338 if test "$wxUSE_RADIOBOX" = yes; then
8339 echo "$as_me:$LINENO: result: yes" >&5
8340 echo "${ECHO_T}yes" >&6
8342 echo "$as_me:$LINENO: result: no" >&5
8343 echo "${ECHO_T}no" >&6
8348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8351 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8352 if test "${enable_radiobtn+set}" = set; then
8353 enableval="$enable_radiobtn"
8355 if test "$enableval" = yes; then
8356 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
8358 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
8363 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8364 if test "x$LINE" != x ; then
8365 eval "DEFAULT_$LINE"
8370 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
8374 eval "$ac_cv_use_radiobtn"
8375 if test "$no_cache" != 1; then
8376 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8379 if test "$wxUSE_RADIOBTN" = yes; then
8380 echo "$as_me:$LINENO: result: yes" >&5
8381 echo "${ECHO_T}yes" >&6
8383 echo "$as_me:$LINENO: result: no" >&5
8384 echo "${ECHO_T}no" >&6
8389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8392 # Check whether --enable-sash or --disable-sash was given.
8393 if test "${enable_sash+set}" = set; then
8394 enableval="$enable_sash"
8396 if test "$enableval" = yes; then
8397 ac_cv_use_sash='wxUSE_SASH
=yes'
8399 ac_cv_use_sash='wxUSE_SASH
=no
'
8404 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8405 if test "x$LINE" != x ; then
8406 eval "DEFAULT_$LINE"
8411 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
8415 eval "$ac_cv_use_sash"
8416 if test "$no_cache" != 1; then
8417 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8420 if test "$wxUSE_SASH" = yes; then
8421 echo "$as_me:$LINENO: result: yes" >&5
8422 echo "${ECHO_T}yes" >&6
8424 echo "$as_me:$LINENO: result: no" >&5
8425 echo "${ECHO_T}no" >&6
8430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8433 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8434 if test "${enable_scrollbar+set}" = set; then
8435 enableval="$enable_scrollbar"
8437 if test "$enableval" = yes; then
8438 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
8440 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
8445 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8446 if test "x$LINE" != x ; then
8447 eval "DEFAULT_$LINE"
8452 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
8456 eval "$ac_cv_use_scrollbar"
8457 if test "$no_cache" != 1; then
8458 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8461 if test "$wxUSE_SCROLLBAR" = yes; then
8462 echo "$as_me:$LINENO: result: yes" >&5
8463 echo "${ECHO_T}yes" >&6
8465 echo "$as_me:$LINENO: result: no" >&5
8466 echo "${ECHO_T}no" >&6
8471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8472 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8474 # Check whether --enable-slider or --disable-slider was given.
8475 if test "${enable_slider+set}" = set; then
8476 enableval="$enable_slider"
8478 if test "$enableval" = yes; then
8479 ac_cv_use_slider='wxUSE_SLIDER
=yes'
8481 ac_cv_use_slider='wxUSE_SLIDER
=no
'
8486 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8487 if test "x$LINE" != x ; then
8488 eval "DEFAULT_$LINE"
8493 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
8497 eval "$ac_cv_use_slider"
8498 if test "$no_cache" != 1; then
8499 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8502 if test "$wxUSE_SLIDER" = yes; then
8503 echo "$as_me:$LINENO: result: yes" >&5
8504 echo "${ECHO_T}yes" >&6
8506 echo "$as_me:$LINENO: result: no" >&5
8507 echo "${ECHO_T}no" >&6
8512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8513 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8515 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8516 if test "${enable_spinbtn+set}" = set; then
8517 enableval="$enable_spinbtn"
8519 if test "$enableval" = yes; then
8520 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
8522 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
8527 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8528 if test "x$LINE" != x ; then
8529 eval "DEFAULT_$LINE"
8534 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
8538 eval "$ac_cv_use_spinbtn"
8539 if test "$no_cache" != 1; then
8540 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8543 if test "$wxUSE_SPINBTN" = yes; then
8544 echo "$as_me:$LINENO: result: yes" >&5
8545 echo "${ECHO_T}yes" >&6
8547 echo "$as_me:$LINENO: result: no" >&5
8548 echo "${ECHO_T}no" >&6
8553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8554 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8556 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8557 if test "${enable_spinctrl+set}" = set; then
8558 enableval="$enable_spinctrl"
8560 if test "$enableval" = yes; then
8561 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
8563 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
8568 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8569 if test "x$LINE" != x ; then
8570 eval "DEFAULT_$LINE"
8575 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
8579 eval "$ac_cv_use_spinctrl"
8580 if test "$no_cache" != 1; then
8581 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8584 if test "$wxUSE_SPINCTRL" = yes; then
8585 echo "$as_me:$LINENO: result: yes" >&5
8586 echo "${ECHO_T}yes" >&6
8588 echo "$as_me:$LINENO: result: no" >&5
8589 echo "${ECHO_T}no" >&6
8594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8595 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8597 # Check whether --enable-splitter or --disable-splitter was given.
8598 if test "${enable_splitter+set}" = set; then
8599 enableval="$enable_splitter"
8601 if test "$enableval" = yes; then
8602 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
8604 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
8609 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8610 if test "x$LINE" != x ; then
8611 eval "DEFAULT_$LINE"
8616 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
8620 eval "$ac_cv_use_splitter"
8621 if test "$no_cache" != 1; then
8622 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8625 if test "$wxUSE_SPLITTER" = yes; then
8626 echo "$as_me:$LINENO: result: yes" >&5
8627 echo "${ECHO_T}yes" >&6
8629 echo "$as_me:$LINENO: result: no" >&5
8630 echo "${ECHO_T}no" >&6
8635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8638 # Check whether --enable-statbmp or --disable-statbmp was given.
8639 if test "${enable_statbmp+set}" = set; then
8640 enableval="$enable_statbmp"
8642 if test "$enableval" = yes; then
8643 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
8645 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
8650 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8651 if test "x$LINE" != x ; then
8652 eval "DEFAULT_$LINE"
8657 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
8661 eval "$ac_cv_use_statbmp"
8662 if test "$no_cache" != 1; then
8663 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8666 if test "$wxUSE_STATBMP" = yes; then
8667 echo "$as_me:$LINENO: result: yes" >&5
8668 echo "${ECHO_T}yes" >&6
8670 echo "$as_me:$LINENO: result: no" >&5
8671 echo "${ECHO_T}no" >&6
8676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8677 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8679 # Check whether --enable-statbox or --disable-statbox was given.
8680 if test "${enable_statbox+set}" = set; then
8681 enableval="$enable_statbox"
8683 if test "$enableval" = yes; then
8684 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
8686 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
8691 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8692 if test "x$LINE" != x ; then
8693 eval "DEFAULT_$LINE"
8698 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
8702 eval "$ac_cv_use_statbox"
8703 if test "$no_cache" != 1; then
8704 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8707 if test "$wxUSE_STATBOX" = yes; then
8708 echo "$as_me:$LINENO: result: yes" >&5
8709 echo "${ECHO_T}yes" >&6
8711 echo "$as_me:$LINENO: result: no" >&5
8712 echo "${ECHO_T}no" >&6
8717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8720 # Check whether --enable-statline or --disable-statline was given.
8721 if test "${enable_statline+set}" = set; then
8722 enableval="$enable_statline"
8724 if test "$enableval" = yes; then
8725 ac_cv_use_statline='wxUSE_STATLINE
=yes'
8727 ac_cv_use_statline='wxUSE_STATLINE
=no
'
8732 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8733 if test "x$LINE" != x ; then
8734 eval "DEFAULT_$LINE"
8739 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
8743 eval "$ac_cv_use_statline"
8744 if test "$no_cache" != 1; then
8745 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8748 if test "$wxUSE_STATLINE" = yes; then
8749 echo "$as_me:$LINENO: result: yes" >&5
8750 echo "${ECHO_T}yes" >&6
8752 echo "$as_me:$LINENO: result: no" >&5
8753 echo "${ECHO_T}no" >&6
8758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8761 # Check whether --enable-stattext or --disable-stattext was given.
8762 if test "${enable_stattext+set}" = set; then
8763 enableval="$enable_stattext"
8765 if test "$enableval" = yes; then
8766 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
8768 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
8773 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8774 if test "x$LINE" != x ; then
8775 eval "DEFAULT_$LINE"
8780 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
8784 eval "$ac_cv_use_stattext"
8785 if test "$no_cache" != 1; then
8786 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8789 if test "$wxUSE_STATTEXT" = yes; then
8790 echo "$as_me:$LINENO: result: yes" >&5
8791 echo "${ECHO_T}yes" >&6
8793 echo "$as_me:$LINENO: result: no" >&5
8794 echo "${ECHO_T}no" >&6
8799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8802 # Check whether --enable-statusbar or --disable-statusbar was given.
8803 if test "${enable_statusbar+set}" = set; then
8804 enableval="$enable_statusbar"
8806 if test "$enableval" = yes; then
8807 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
8809 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
8814 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8815 if test "x$LINE" != x ; then
8816 eval "DEFAULT_$LINE"
8821 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
8825 eval "$ac_cv_use_statusbar"
8826 if test "$no_cache" != 1; then
8827 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8830 if test "$wxUSE_STATUSBAR" = yes; then
8831 echo "$as_me:$LINENO: result: yes" >&5
8832 echo "${ECHO_T}yes" >&6
8834 echo "$as_me:$LINENO: result: no" >&5
8835 echo "${ECHO_T}no" >&6
8840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8841 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8843 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8844 if test "${enable_tabdialog+set}" = set; then
8845 enableval="$enable_tabdialog"
8847 if test "$enableval" = yes; then
8848 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
8850 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
8855 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8856 if test "x$LINE" != x ; then
8857 eval "DEFAULT_$LINE"
8862 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8866 eval "$ac_cv_use_tabdialog"
8867 if test "$no_cache" != 1; then
8868 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8871 if test "$wxUSE_TABDIALOG" = yes; then
8872 echo "$as_me:$LINENO: result: yes" >&5
8873 echo "${ECHO_T}yes" >&6
8875 echo "$as_me:$LINENO: result: no" >&5
8876 echo "${ECHO_T}no" >&6
8881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8882 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8884 # Check whether --enable-textctrl or --disable-textctrl was given.
8885 if test "${enable_textctrl+set}" = set; then
8886 enableval="$enable_textctrl"
8888 if test "$enableval" = yes; then
8889 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8891 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8896 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8897 if test "x$LINE" != x ; then
8898 eval "DEFAULT_$LINE"
8903 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8907 eval "$ac_cv_use_textctrl"
8908 if test "$no_cache" != 1; then
8909 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8912 if test "$wxUSE_TEXTCTRL" = yes; then
8913 echo "$as_me:$LINENO: result: yes" >&5
8914 echo "${ECHO_T}yes" >&6
8916 echo "$as_me:$LINENO: result: no" >&5
8917 echo "${ECHO_T}no" >&6
8922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8925 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8926 if test "${enable_togglebtn+set}" = set; then
8927 enableval="$enable_togglebtn"
8929 if test "$enableval" = yes; then
8930 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8932 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8937 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8944 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8948 eval "$ac_cv_use_togglebtn"
8949 if test "$no_cache" != 1; then
8950 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8953 if test "$wxUSE_TOGGLEBTN" = yes; then
8954 echo "$as_me:$LINENO: result: yes" >&5
8955 echo "${ECHO_T}yes" >&6
8957 echo "$as_me:$LINENO: result: no" >&5
8958 echo "${ECHO_T}no" >&6
8963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8964 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8966 # Check whether --enable-toolbar or --disable-toolbar was given.
8967 if test "${enable_toolbar+set}" = set; then
8968 enableval="$enable_toolbar"
8970 if test "$enableval" = yes; then
8971 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8973 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8978 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8979 if test "x$LINE" != x ; then
8980 eval "DEFAULT_$LINE"
8985 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8989 eval "$ac_cv_use_toolbar"
8990 if test "$no_cache" != 1; then
8991 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8994 if test "$wxUSE_TOOLBAR" = yes; then
8995 echo "$as_me:$LINENO: result: yes" >&5
8996 echo "${ECHO_T}yes" >&6
8998 echo "$as_me:$LINENO: result: no" >&5
8999 echo "${ECHO_T}no" >&6
9004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9007 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9008 if test "${enable_tbarnative+set}" = set; then
9009 enableval="$enable_tbarnative"
9011 if test "$enableval" = yes; then
9012 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
9014 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
9019 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x ; then
9021 eval "DEFAULT_$LINE"
9026 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9030 eval "$ac_cv_use_tbarnative"
9031 if test "$no_cache" != 1; then
9032 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9035 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9036 echo "$as_me:$LINENO: result: yes" >&5
9037 echo "${ECHO_T}yes" >&6
9039 echo "$as_me:$LINENO: result: no" >&5
9040 echo "${ECHO_T}no" >&6
9045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9046 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9048 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9049 if test "${enable_tbarsmpl+set}" = set; then
9050 enableval="$enable_tbarsmpl"
9052 if test "$enableval" = yes; then
9053 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
9055 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
9060 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x ; then
9062 eval "DEFAULT_$LINE"
9067 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9071 eval "$ac_cv_use_tbarsmpl"
9072 if test "$no_cache" != 1; then
9073 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9076 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9077 echo "$as_me:$LINENO: result: yes" >&5
9078 echo "${ECHO_T}yes" >&6
9080 echo "$as_me:$LINENO: result: no" >&5
9081 echo "${ECHO_T}no" >&6
9086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9087 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9089 # Check whether --enable-treebook or --disable-treebook was given.
9090 if test "${enable_treebook+set}" = set; then
9091 enableval="$enable_treebook"
9093 if test "$enableval" = yes; then
9094 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
9096 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
9101 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x ; then
9103 eval "DEFAULT_$LINE"
9108 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
9112 eval "$ac_cv_use_treebook"
9113 if test "$no_cache" != 1; then
9114 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9117 if test "$wxUSE_TREEBOOK" = yes; then
9118 echo "$as_me:$LINENO: result: yes" >&5
9119 echo "${ECHO_T}yes" >&6
9121 echo "$as_me:$LINENO: result: no" >&5
9122 echo "${ECHO_T}no" >&6
9127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9128 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9130 # Check whether --enable-treectrl or --disable-treectrl was given.
9131 if test "${enable_treectrl+set}" = set; then
9132 enableval="$enable_treectrl"
9134 if test "$enableval" = yes; then
9135 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
9137 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
9142 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9143 if test "x$LINE" != x ; then
9144 eval "DEFAULT_$LINE"
9149 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
9153 eval "$ac_cv_use_treectrl"
9154 if test "$no_cache" != 1; then
9155 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9158 if test "$wxUSE_TREECTRL" = yes; then
9159 echo "$as_me:$LINENO: result: yes" >&5
9160 echo "${ECHO_T}yes" >&6
9162 echo "$as_me:$LINENO: result: no" >&5
9163 echo "${ECHO_T}no" >&6
9168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9171 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9172 if test "${enable_tipwindow+set}" = set; then
9173 enableval="$enable_tipwindow"
9175 if test "$enableval" = yes; then
9176 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
9178 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
9183 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9184 if test "x$LINE" != x ; then
9185 eval "DEFAULT_$LINE"
9190 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
9194 eval "$ac_cv_use_tipwindow"
9195 if test "$no_cache" != 1; then
9196 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9199 if test "$wxUSE_TIPWINDOW" = yes; then
9200 echo "$as_me:$LINENO: result: yes" >&5
9201 echo "${ECHO_T}yes" >&6
9203 echo "$as_me:$LINENO: result: no" >&5
9204 echo "${ECHO_T}no" >&6
9209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9212 # Check whether --enable-popupwin or --disable-popupwin was given.
9213 if test "${enable_popupwin+set}" = set; then
9214 enableval="$enable_popupwin"
9216 if test "$enableval" = yes; then
9217 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
9219 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
9224 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x ; then
9226 eval "DEFAULT_$LINE"
9231 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
9235 eval "$ac_cv_use_popupwin"
9236 if test "$no_cache" != 1; then
9237 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9240 if test "$wxUSE_POPUPWIN" = yes; then
9241 echo "$as_me:$LINENO: result: yes" >&5
9242 echo "${ECHO_T}yes" >&6
9244 echo "$as_me:$LINENO: result: no" >&5
9245 echo "${ECHO_T}no" >&6
9252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9255 # Check whether --enable-commondlg or --disable-commondlg was given.
9256 if test "${enable_commondlg+set}" = set; then
9257 enableval="$enable_commondlg"
9259 if test "$enableval" = yes; then
9260 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
9262 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
9267 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9268 if test "x$LINE" != x ; then
9269 eval "DEFAULT_$LINE"
9274 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
9278 eval "$ac_cv_use_commondlg"
9279 if test "$no_cache" != 1; then
9280 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9283 if test "$wxUSE_COMMONDLGS" = yes; then
9284 echo "$as_me:$LINENO: result: yes" >&5
9285 echo "${ECHO_T}yes" >&6
9287 echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6
9293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9296 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9297 if test "${enable_choicedlg+set}" = set; then
9298 enableval="$enable_choicedlg"
9300 if test "$enableval" = yes; then
9301 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
9303 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
9308 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9309 if test "x$LINE" != x ; then
9310 eval "DEFAULT_$LINE"
9315 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
9319 eval "$ac_cv_use_choicedlg"
9320 if test "$no_cache" != 1; then
9321 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9324 if test "$wxUSE_CHOICEDLG" = yes; then
9325 echo "$as_me:$LINENO: result: yes" >&5
9326 echo "${ECHO_T}yes" >&6
9328 echo "$as_me:$LINENO: result: no" >&5
9329 echo "${ECHO_T}no" >&6
9334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9337 # Check whether --enable-coldlg or --disable-coldlg was given.
9338 if test "${enable_coldlg+set}" = set; then
9339 enableval="$enable_coldlg"
9341 if test "$enableval" = yes; then
9342 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
9344 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
9349 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9350 if test "x$LINE" != x ; then
9351 eval "DEFAULT_$LINE"
9356 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
9360 eval "$ac_cv_use_coldlg"
9361 if test "$no_cache" != 1; then
9362 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9365 if test "$wxUSE_COLOURDLG" = yes; then
9366 echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6
9369 echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6
9375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9378 # Check whether --enable-filedlg or --disable-filedlg was given.
9379 if test "${enable_filedlg+set}" = set; then
9380 enableval="$enable_filedlg"
9382 if test "$enableval" = yes; then
9383 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
9385 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
9390 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9391 if test "x$LINE" != x ; then
9392 eval "DEFAULT_$LINE"
9397 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
9401 eval "$ac_cv_use_filedlg"
9402 if test "$no_cache" != 1; then
9403 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9406 if test "$wxUSE_FILEDLG" = yes; then
9407 echo "$as_me:$LINENO: result: yes" >&5
9408 echo "${ECHO_T}yes" >&6
9410 echo "$as_me:$LINENO: result: no" >&5
9411 echo "${ECHO_T}no" >&6
9416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9419 # Check whether --enable-finddlg or --disable-finddlg was given.
9420 if test "${enable_finddlg+set}" = set; then
9421 enableval="$enable_finddlg"
9423 if test "$enableval" = yes; then
9424 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
9426 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
9431 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9432 if test "x$LINE" != x ; then
9433 eval "DEFAULT_$LINE"
9438 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
9442 eval "$ac_cv_use_finddlg"
9443 if test "$no_cache" != 1; then
9444 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9447 if test "$wxUSE_FINDREPLDLG" = yes; then
9448 echo "$as_me:$LINENO: result: yes" >&5
9449 echo "${ECHO_T}yes" >&6
9451 echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6
9457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9458 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9460 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9461 if test "${enable_fontdlg+set}" = set; then
9462 enableval="$enable_fontdlg"
9464 if test "$enableval" = yes; then
9465 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
9467 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
9472 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9473 if test "x$LINE" != x ; then
9474 eval "DEFAULT_$LINE"
9479 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
9483 eval "$ac_cv_use_fontdlg"
9484 if test "$no_cache" != 1; then
9485 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9488 if test "$wxUSE_FONTDLG" = yes; then
9489 echo "$as_me:$LINENO: result: yes" >&5
9490 echo "${ECHO_T}yes" >&6
9492 echo "$as_me:$LINENO: result: no" >&5
9493 echo "${ECHO_T}no" >&6
9498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9501 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9502 if test "${enable_dirdlg+set}" = set; then
9503 enableval="$enable_dirdlg"
9505 if test "$enableval" = yes; then
9506 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
9508 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
9513 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9514 if test "x$LINE" != x ; then
9515 eval "DEFAULT_$LINE"
9520 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
9524 eval "$ac_cv_use_dirdlg"
9525 if test "$no_cache" != 1; then
9526 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9529 if test "$wxUSE_DIRDLG" = yes; then
9530 echo "$as_me:$LINENO: result: yes" >&5
9531 echo "${ECHO_T}yes" >&6
9533 echo "$as_me:$LINENO: result: no" >&5
9534 echo "${ECHO_T}no" >&6
9539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9542 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9543 if test "${enable_msgdlg+set}" = set; then
9544 enableval="$enable_msgdlg"
9546 if test "$enableval" = yes; then
9547 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
9549 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
9554 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9555 if test "x$LINE" != x ; then
9556 eval "DEFAULT_$LINE"
9561 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
9565 eval "$ac_cv_use_msgdlg"
9566 if test "$no_cache" != 1; then
9567 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9570 if test "$wxUSE_MSGDLG" = yes; then
9571 echo "$as_me:$LINENO: result: yes" >&5
9572 echo "${ECHO_T}yes" >&6
9574 echo "$as_me:$LINENO: result: no" >&5
9575 echo "${ECHO_T}no" >&6
9580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9583 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9584 if test "${enable_numberdlg+set}" = set; then
9585 enableval="$enable_numberdlg"
9587 if test "$enableval" = yes; then
9588 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
9590 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
9595 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9596 if test "x$LINE" != x ; then
9597 eval "DEFAULT_$LINE"
9602 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
9606 eval "$ac_cv_use_numberdlg"
9607 if test "$no_cache" != 1; then
9608 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9611 if test "$wxUSE_NUMBERDLG" = yes; then
9612 echo "$as_me:$LINENO: result: yes" >&5
9613 echo "${ECHO_T}yes" >&6
9615 echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6
9621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9624 # Check whether --enable-splash or --disable-splash was given.
9625 if test "${enable_splash+set}" = set; then
9626 enableval="$enable_splash"
9628 if test "$enableval" = yes; then
9629 ac_cv_use_splash='wxUSE_SPLASH
=yes'
9631 ac_cv_use_splash='wxUSE_SPLASH
=no
'
9636 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9637 if test "x$LINE" != x ; then
9638 eval "DEFAULT_$LINE"
9643 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
9647 eval "$ac_cv_use_splash"
9648 if test "$no_cache" != 1; then
9649 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9652 if test "$wxUSE_SPLASH" = yes; then
9653 echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6
9656 echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6
9662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9663 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9665 # Check whether --enable-textdlg or --disable-textdlg was given.
9666 if test "${enable_textdlg+set}" = set; then
9667 enableval="$enable_textdlg"
9669 if test "$enableval" = yes; then
9670 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
9672 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
9677 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9678 if test "x$LINE" != x ; then
9679 eval "DEFAULT_$LINE"
9684 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
9688 eval "$ac_cv_use_textdlg"
9689 if test "$no_cache" != 1; then
9690 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9693 if test "$wxUSE_TEXTDLG" = yes; then
9694 echo "$as_me:$LINENO: result: yes" >&5
9695 echo "${ECHO_T}yes" >&6
9697 echo "$as_me:$LINENO: result: no" >&5
9698 echo "${ECHO_T}no" >&6
9703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9704 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9706 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9707 if test "${enable_tipdlg+set}" = set; then
9708 enableval="$enable_tipdlg"
9710 if test "$enableval" = yes; then
9711 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
9713 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
9718 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9719 if test "x$LINE" != x ; then
9720 eval "DEFAULT_$LINE"
9725 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
9729 eval "$ac_cv_use_tipdlg"
9730 if test "$no_cache" != 1; then
9731 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9734 if test "$wxUSE_STARTUP_TIPS" = yes; then
9735 echo "$as_me:$LINENO: result: yes" >&5
9736 echo "${ECHO_T}yes" >&6
9738 echo "$as_me:$LINENO: result: no" >&5
9739 echo "${ECHO_T}no" >&6
9744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9745 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9747 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9748 if test "${enable_progressdlg+set}" = set; then
9749 enableval="$enable_progressdlg"
9751 if test "$enableval" = yes; then
9752 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
9754 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
9759 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9760 if test "x$LINE" != x ; then
9761 eval "DEFAULT_$LINE"
9766 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
9770 eval "$ac_cv_use_progressdlg"
9771 if test "$no_cache" != 1; then
9772 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9775 if test "$wxUSE_PROGRESSDLG" = yes; then
9776 echo "$as_me:$LINENO: result: yes" >&5
9777 echo "${ECHO_T}yes" >&6
9779 echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6
9785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9786 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9788 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9789 if test "${enable_wizarddlg+set}" = set; then
9790 enableval="$enable_wizarddlg"
9792 if test "$enableval" = yes; then
9793 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
9795 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
9800 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9801 if test "x$LINE" != x ; then
9802 eval "DEFAULT_$LINE"
9807 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
9811 eval "$ac_cv_use_wizarddlg"
9812 if test "$no_cache" != 1; then
9813 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9816 if test "$wxUSE_WIZARDDLG" = yes; then
9817 echo "$as_me:$LINENO: result: yes" >&5
9818 echo "${ECHO_T}yes" >&6
9820 echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6
9828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9829 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9831 # Check whether --enable-menus or --disable-menus was given.
9832 if test "${enable_menus+set}" = set; then
9833 enableval="$enable_menus"
9835 if test "$enableval" = yes; then
9836 ac_cv_use_menus='wxUSE_MENUS
=yes'
9838 ac_cv_use_menus='wxUSE_MENUS
=no
'
9843 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9844 if test "x$LINE" != x ; then
9845 eval "DEFAULT_$LINE"
9850 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
9854 eval "$ac_cv_use_menus"
9855 if test "$no_cache" != 1; then
9856 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9859 if test "$wxUSE_MENUS" = yes; then
9860 echo "$as_me:$LINENO: result: yes" >&5
9861 echo "${ECHO_T}yes" >&6
9863 echo "$as_me:$LINENO: result: no" >&5
9864 echo "${ECHO_T}no" >&6
9869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9870 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9872 # Check whether --enable-miniframe or --disable-miniframe was given.
9873 if test "${enable_miniframe+set}" = set; then
9874 enableval="$enable_miniframe"
9876 if test "$enableval" = yes; then
9877 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
9879 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
9884 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9885 if test "x$LINE" != x ; then
9886 eval "DEFAULT_$LINE"
9891 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
9895 eval "$ac_cv_use_miniframe"
9896 if test "$no_cache" != 1; then
9897 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9900 if test "$wxUSE_MINIFRAME" = yes; then
9901 echo "$as_me:$LINENO: result: yes" >&5
9902 echo "${ECHO_T}yes" >&6
9904 echo "$as_me:$LINENO: result: no" >&5
9905 echo "${ECHO_T}no" >&6
9910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9911 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9913 # Check whether --enable-tooltips or --disable-tooltips was given.
9914 if test "${enable_tooltips+set}" = set; then
9915 enableval="$enable_tooltips"
9917 if test "$enableval" = yes; then
9918 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9920 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9925 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9926 if test "x$LINE" != x ; then
9927 eval "DEFAULT_$LINE"
9932 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9936 eval "$ac_cv_use_tooltips"
9937 if test "$no_cache" != 1; then
9938 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9941 if test "$wxUSE_TOOLTIPS" = yes; then
9942 echo "$as_me:$LINENO: result: yes" >&5
9943 echo "${ECHO_T}yes" >&6
9945 echo "$as_me:$LINENO: result: no" >&5
9946 echo "${ECHO_T}no" >&6
9951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9952 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9954 # Check whether --enable-splines or --disable-splines was given.
9955 if test "${enable_splines+set}" = set; then
9956 enableval="$enable_splines"
9958 if test "$enableval" = yes; then
9959 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9961 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9966 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9967 if test "x$LINE" != x ; then
9968 eval "DEFAULT_$LINE"
9973 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9977 eval "$ac_cv_use_splines"
9978 if test "$no_cache" != 1; then
9979 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9982 if test "$wxUSE_SPLINES" = yes; then
9983 echo "$as_me:$LINENO: result: yes" >&5
9984 echo "${ECHO_T}yes" >&6
9986 echo "$as_me:$LINENO: result: no" >&5
9987 echo "${ECHO_T}no" >&6
9992 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9993 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9995 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9996 if test "${enable_mousewheel+set}" = set; then
9997 enableval="$enable_mousewheel"
9999 if test "$enableval" = yes; then
10000 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
10002 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
10007 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10008 if test "x$LINE" != x ; then
10009 eval "DEFAULT_$LINE"
10014 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
10018 eval "$ac_cv_use_mousewheel"
10019 if test "$no_cache" != 1; then
10020 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10023 if test "$wxUSE_MOUSEWHEEL" = yes; then
10024 echo "$as_me:$LINENO: result: yes" >&5
10025 echo "${ECHO_T}yes" >&6
10027 echo "$as_me:$LINENO: result: no" >&5
10028 echo "${ECHO_T}no" >&6
10033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10034 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10036 # Check whether --enable-validators or --disable-validators was given.
10037 if test "${enable_validators+set}" = set; then
10038 enableval="$enable_validators"
10040 if test "$enableval" = yes; then
10041 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
10043 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
10048 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10049 if test "x$LINE" != x ; then
10050 eval "DEFAULT_$LINE"
10055 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
10059 eval "$ac_cv_use_validators"
10060 if test "$no_cache" != 1; then
10061 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10064 if test "$wxUSE_VALIDATORS" = yes; then
10065 echo "$as_me:$LINENO: result: yes" >&5
10066 echo "${ECHO_T}yes" >&6
10068 echo "$as_me:$LINENO: result: no" >&5
10069 echo "${ECHO_T}no" >&6
10074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10075 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10077 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10078 if test "${enable_busyinfo+set}" = set; then
10079 enableval="$enable_busyinfo"
10081 if test "$enableval" = yes; then
10082 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
10084 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
10089 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10090 if test "x$LINE" != x ; then
10091 eval "DEFAULT_$LINE"
10096 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
10100 eval "$ac_cv_use_busyinfo"
10101 if test "$no_cache" != 1; then
10102 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10105 if test "$wxUSE_BUSYINFO" = yes; then
10106 echo "$as_me:$LINENO: result: yes" >&5
10107 echo "${ECHO_T}yes" >&6
10109 echo "$as_me:$LINENO: result: no" >&5
10110 echo "${ECHO_T}no" >&6
10115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10116 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10118 # Check whether --enable-joystick or --disable-joystick was given.
10119 if test "${enable_joystick+set}" = set; then
10120 enableval="$enable_joystick"
10122 if test "$enableval" = yes; then
10123 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
10125 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
10130 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10131 if test "x$LINE" != x ; then
10132 eval "DEFAULT_$LINE"
10137 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
10141 eval "$ac_cv_use_joystick"
10142 if test "$no_cache" != 1; then
10143 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10146 if test "$wxUSE_JOYSTICK" = yes; then
10147 echo "$as_me:$LINENO: result: yes" >&5
10148 echo "${ECHO_T}yes" >&6
10150 echo "$as_me:$LINENO: result: no" >&5
10151 echo "${ECHO_T}no" >&6
10156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10157 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10159 # Check whether --enable-metafile or --disable-metafile was given.
10160 if test "${enable_metafile+set}" = set; then
10161 enableval="$enable_metafile"
10163 if test "$enableval" = yes; then
10164 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
10166 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
10171 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10172 if test "x$LINE" != x ; then
10173 eval "DEFAULT_$LINE"
10178 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
10182 eval "$ac_cv_use_metafile"
10183 if test "$no_cache" != 1; then
10184 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10187 if test "$wxUSE_METAFILE" = yes; then
10188 echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6
10191 echo "$as_me:$LINENO: result: no" >&5
10192 echo "${ECHO_T}no" >&6
10197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10200 # Check whether --enable-dragimage or --disable-dragimage was given.
10201 if test "${enable_dragimage+set}" = set; then
10202 enableval="$enable_dragimage"
10204 if test "$enableval" = yes; then
10205 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
10207 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
10212 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10213 if test "x$LINE" != x ; then
10214 eval "DEFAULT_$LINE"
10219 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
10223 eval "$ac_cv_use_dragimage"
10224 if test "$no_cache" != 1; then
10225 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10228 if test "$wxUSE_DRAGIMAGE" = yes; then
10229 echo "$as_me:$LINENO: result: yes" >&5
10230 echo "${ECHO_T}yes" >&6
10232 echo "$as_me:$LINENO: result: no" >&5
10233 echo "${ECHO_T}no" >&6
10238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10239 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10241 # Check whether --enable-accessibility or --disable-accessibility was given.
10242 if test "${enable_accessibility+set}" = set; then
10243 enableval="$enable_accessibility"
10245 if test "$enableval" = yes; then
10246 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
10248 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
10253 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10254 if test "x$LINE" != x ; then
10255 eval "DEFAULT_$LINE"
10260 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
10264 eval "$ac_cv_use_accessibility"
10265 if test "$no_cache" != 1; then
10266 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10269 if test "$wxUSE_ACCESSIBILITY" = yes; then
10270 echo "$as_me:$LINENO: result: yes" >&5
10271 echo "${ECHO_T}yes" >&6
10273 echo "$as_me:$LINENO: result: no" >&5
10274 echo "${ECHO_T}no" >&6
10278 if test "$wxUSE_MSW" = "1"; then
10281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10282 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10284 # Check whether --enable-dccache or --disable-dccache was given.
10285 if test "${enable_dccache+set}" = set; then
10286 enableval="$enable_dccache"
10288 if test "$enableval" = yes; then
10289 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
10291 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
10296 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10297 if test "x$LINE" != x ; then
10298 eval "DEFAULT_$LINE"
10303 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
10307 eval "$ac_cv_use_dccache"
10308 if test "$no_cache" != 1; then
10309 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10312 if test "$wxUSE_DC_CACHEING" = yes; then
10313 echo "$as_me:$LINENO: result: yes" >&5
10314 echo "${ECHO_T}yes" >&6
10316 echo "$as_me:$LINENO: result: no" >&5
10317 echo "${ECHO_T}no" >&6
10325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10328 # Check whether --enable-palette or --disable-palette was given.
10329 if test "${enable_palette+set}" = set; then
10330 enableval="$enable_palette"
10332 if test "$enableval" = yes; then
10333 ac_cv_use_palette='wxUSE_PALETTE
=yes'
10335 ac_cv_use_palette='wxUSE_PALETTE
=no
'
10340 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10341 if test "x$LINE" != x ; then
10342 eval "DEFAULT_$LINE"
10347 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
10351 eval "$ac_cv_use_palette"
10352 if test "$no_cache" != 1; then
10353 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10356 if test "$wxUSE_PALETTE" = yes; then
10357 echo "$as_me:$LINENO: result: yes" >&5
10358 echo "${ECHO_T}yes" >&6
10360 echo "$as_me:$LINENO: result: no" >&5
10361 echo "${ECHO_T}no" >&6
10366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10367 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10369 # Check whether --enable-image or --disable-image was given.
10370 if test "${enable_image+set}" = set; then
10371 enableval="$enable_image"
10373 if test "$enableval" = yes; then
10374 ac_cv_use_image='wxUSE_IMAGE
=yes'
10376 ac_cv_use_image='wxUSE_IMAGE
=no
'
10381 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10382 if test "x$LINE" != x ; then
10383 eval "DEFAULT_$LINE"
10388 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
10392 eval "$ac_cv_use_image"
10393 if test "$no_cache" != 1; then
10394 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10397 if test "$wxUSE_IMAGE" = yes; then
10398 echo "$as_me:$LINENO: result: yes" >&5
10399 echo "${ECHO_T}yes" >&6
10401 echo "$as_me:$LINENO: result: no" >&5
10402 echo "${ECHO_T}no" >&6
10407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10408 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10410 # Check whether --enable-gif or --disable-gif was given.
10411 if test "${enable_gif+set}" = set; then
10412 enableval="$enable_gif"
10414 if test "$enableval" = yes; then
10415 ac_cv_use_gif='wxUSE_GIF
=yes'
10417 ac_cv_use_gif='wxUSE_GIF
=no
'
10422 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10423 if test "x$LINE" != x ; then
10424 eval "DEFAULT_$LINE"
10429 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
10433 eval "$ac_cv_use_gif"
10434 if test "$no_cache" != 1; then
10435 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10438 if test "$wxUSE_GIF" = yes; then
10439 echo "$as_me:$LINENO: result: yes" >&5
10440 echo "${ECHO_T}yes" >&6
10442 echo "$as_me:$LINENO: result: no" >&5
10443 echo "${ECHO_T}no" >&6
10448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10449 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10451 # Check whether --enable-pcx or --disable-pcx was given.
10452 if test "${enable_pcx+set}" = set; then
10453 enableval="$enable_pcx"
10455 if test "$enableval" = yes; then
10456 ac_cv_use_pcx='wxUSE_PCX
=yes'
10458 ac_cv_use_pcx='wxUSE_PCX
=no
'
10463 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10464 if test "x$LINE" != x ; then
10465 eval "DEFAULT_$LINE"
10470 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
10474 eval "$ac_cv_use_pcx"
10475 if test "$no_cache" != 1; then
10476 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10479 if test "$wxUSE_PCX" = yes; then
10480 echo "$as_me:$LINENO: result: yes" >&5
10481 echo "${ECHO_T}yes" >&6
10483 echo "$as_me:$LINENO: result: no" >&5
10484 echo "${ECHO_T}no" >&6
10489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10490 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10492 # Check whether --enable-iff or --disable-iff was given.
10493 if test "${enable_iff+set}" = set; then
10494 enableval="$enable_iff"
10496 if test "$enableval" = yes; then
10497 ac_cv_use_iff='wxUSE_IFF
=yes'
10499 ac_cv_use_iff='wxUSE_IFF
=no
'
10504 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10505 if test "x$LINE" != x ; then
10506 eval "DEFAULT_$LINE"
10511 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
10515 eval "$ac_cv_use_iff"
10516 if test "$no_cache" != 1; then
10517 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10520 if test "$wxUSE_IFF" = yes; then
10521 echo "$as_me:$LINENO: result: yes" >&5
10522 echo "${ECHO_T}yes" >&6
10524 echo "$as_me:$LINENO: result: no" >&5
10525 echo "${ECHO_T}no" >&6
10530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10533 # Check whether --enable-pnm or --disable-pnm was given.
10534 if test "${enable_pnm+set}" = set; then
10535 enableval="$enable_pnm"
10537 if test "$enableval" = yes; then
10538 ac_cv_use_pnm='wxUSE_PNM
=yes'
10540 ac_cv_use_pnm='wxUSE_PNM
=no
'
10545 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10546 if test "x$LINE" != x ; then
10547 eval "DEFAULT_$LINE"
10552 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
10556 eval "$ac_cv_use_pnm"
10557 if test "$no_cache" != 1; then
10558 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10561 if test "$wxUSE_PNM" = yes; then
10562 echo "$as_me:$LINENO: result: yes" >&5
10563 echo "${ECHO_T}yes" >&6
10565 echo "$as_me:$LINENO: result: no" >&5
10566 echo "${ECHO_T}no" >&6
10571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10572 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10574 # Check whether --enable-xpm or --disable-xpm was given.
10575 if test "${enable_xpm+set}" = set; then
10576 enableval="$enable_xpm"
10578 if test "$enableval" = yes; then
10579 ac_cv_use_xpm='wxUSE_XPM
=yes'
10581 ac_cv_use_xpm='wxUSE_XPM
=no
'
10586 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10587 if test "x$LINE" != x ; then
10588 eval "DEFAULT_$LINE"
10593 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
10597 eval "$ac_cv_use_xpm"
10598 if test "$no_cache" != 1; then
10599 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10602 if test "$wxUSE_XPM" = yes; then
10603 echo "$as_me:$LINENO: result: yes" >&5
10604 echo "${ECHO_T}yes" >&6
10606 echo "$as_me:$LINENO: result: no" >&5
10607 echo "${ECHO_T}no" >&6
10612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10613 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10615 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10616 if test "${enable_ico_cur+set}" = set; then
10617 enableval="$enable_ico_cur"
10619 if test "$enableval" = yes; then
10620 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
10622 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
10627 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10628 if test "x$LINE" != x ; then
10629 eval "DEFAULT_$LINE"
10634 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
10638 eval "$ac_cv_use_ico_cur"
10639 if test "$no_cache" != 1; then
10640 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10643 if test "$wxUSE_ICO_CUR" = yes; then
10644 echo "$as_me:$LINENO: result: yes" >&5
10645 echo "${ECHO_T}yes" >&6
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10656 # Check whether --with-flavour or --without-flavour was given.
10657 if test "${with_flavour+set}" = set; then
10658 withval="$with_flavour"
10659 WX_FLAVOUR="$withval"
10665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10666 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10668 # Check whether --enable-official_build or --disable-official_build was given.
10669 if test "${enable_official_build+set}" = set; then
10670 enableval="$enable_official_build"
10672 if test "$enableval" = yes; then
10673 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
10675 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
10680 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10681 if test "x$LINE" != x ; then
10682 eval "DEFAULT_$LINE"
10687 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
10691 eval "$ac_cv_use_official_build"
10692 if test "$no_cache" != 1; then
10693 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10696 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10697 echo "$as_me:$LINENO: result: yes" >&5
10698 echo "${ECHO_T}yes" >&6
10700 echo "$as_me:$LINENO: result: no" >&5
10701 echo "${ECHO_T}no" >&6
10704 # Check whether --enable-vendor or --disable-vendor was given.
10705 if test "${enable_vendor+set}" = set; then
10706 enableval="$enable_vendor"
10707 VENDOR="$enableval"
10709 if test "x$VENDOR" = "x"; then
10716 echo "saving argument cache $wx_arg_cache_file"
10717 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10721 echo "$as_me:$LINENO: checking for toolkit" >&5
10722 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10724 # In Wine, we need to default to MSW, not GTK or MOTIF
10725 if test "$wxUSE_WINE" = "yes"; then
10726 DEFAULT_DEFAULT_wxUSE_GTK=0
10727 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10728 DEFAULT_DEFAULT_wxUSE_MSW=1
10733 if test "$wxUSE_GUI" = "yes"; then
10735 if test "$USE_BEOS" = 1; then
10736 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10737 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10738 { (exit 1); exit 1; }; }
10741 if test "$TOOLKIT_GIVEN" = 1; then
10742 for toolkit in `echo $ALL_TOOLKITS`; do
10744 eval "value=\$${var}"
10745 if test "x$value" = "xno"; then
10747 elif test "x$value" != "x"; then
10751 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10752 eval "wx${toolkit}_VERSION=$value"
10756 for toolkit in `echo $ALL_TOOLKITS`; do
10757 if test "$has_toolkit_in_cache" != 1; then
10758 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10760 var=DEFAULT_wxUSE_$toolkit
10762 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10763 if test "x$version" != "x"; then
10764 eval "wx${toolkit}_VERSION=$version"
10767 eval "wxUSE_$toolkit=\$${var}"
10771 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10772 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10773 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10776 *-pc-os2_emx | *-pc-os2-emx )
10777 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10780 case "$NUM_TOOLKITS" in
10784 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10785 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10786 { (exit 1); exit 1; }; }
10789 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10790 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10791 { (exit 1); exit 1; }; }
10794 # to be removed when --disable-gtk2 isn't needed
10795 if test "x$wxUSE_GTK2" = "xyes"; then
10797 elif test "x$wxUSE_GTK2" = "xno"; then
10801 for toolkit
in `echo $ALL_TOOLKITS`; do
10803 eval "value=\$${var}"
10804 if test "x$value" != x
; then
10805 cache_var
=CACHE_
$toolkit
10806 eval "cache=\$${cache_var}"
10807 if test "$cache" = 1; then
10808 echo "$var=$value" >> ${wx_arg_cache_file}
10809 eval "version=\$wx${toolkit}_VERSION"
10810 if test "x$version" != "x"; then
10811 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10814 if test "$value" = 1; then
10815 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10816 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10817 echo "${ECHO_T}$toolkit_echo" >&6
10822 if test "x$host_alias" != "x"; then
10823 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10824 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10826 echo "$as_me:$LINENO: result: base only" >&5
10827 echo "${ECHO_T}base only" >&6
10832 doesnt_want_win32
=0
10835 if test "$wxUSE_MSW" = 1 ; then
10837 BAKEFILE_FORCE_PLATFORM
=win32
10839 doesnt_want_win32
=1
10847 if test "$wxUSE_WINE" = "yes"; then
10851 LDFLAGS_GUI
="-mwindows"
10854 if test "$wants_win32" = 1 ; then
10857 cat >>confdefs.h
<<\_ACEOF
10858 #define __WIN32__ 1
10861 cat >>confdefs.h
<<\_ACEOF
10862 #define __WIN95__ 1
10865 cat >>confdefs.h
<<\_ACEOF
10866 #define __WINDOWS__ 1
10869 cat >>confdefs.h
<<\_ACEOF
10870 #define __GNUWIN32__ 1
10873 cat >>confdefs.h
<<\_ACEOF
10877 cat >>confdefs.h
<<\_ACEOF
10878 #define WINVER 0x0400
10882 if test "$doesnt_want_win32" = 1 ; then
10887 if test "$USE_UNIX" = 1 ; then
10889 cat >>confdefs.h
<<\_ACEOF
10896 cat >confcache
<<\_ACEOF
10897 # This file is a shell script that caches the results of configure
10898 # tests run on this system so they can be shared between configure
10899 # scripts and configure runs, see configure's option --config-cache.
10900 # It is not useful on other systems. If it contains results you don't
10901 # want to keep, you may remove or edit it.
10903 # config.status only pays attention to the cache file if you give it
10904 # the --recheck option to rerun configure.
10906 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10907 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10908 # following values.
10912 # The following way of writing the cache mishandles newlines in values,
10913 # but we know of no workaround that is simple, portable, and efficient.
10914 # So, don't put newlines in cache variables' values.
10915 # Ultrix sh set writes to stderr and can't be redirected directly,
10916 # and sets the high bit in the cache file unless we assign to the vars.
10919 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10921 # `set' does not quote correctly, so add quotes (double-quote
10922 # substitution turns \\\\ into \\, and sed turns \\ into \).
10925 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10928 # `set' quotes correctly as required by POSIX, so do not add quotes.
10930 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10937 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10939 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10941 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10942 if test -w $cache_file; then
10943 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10944 cat confcache
>$cache_file
10946 echo "not updating unwritable cache $cache_file"
10956 ac_cpp
='$CPP $CPPFLAGS'
10957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10960 if test -n "$ac_tool_prefix"; then
10961 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10962 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10963 echo "$as_me:$LINENO: checking for $ac_word" >&5
10964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10965 if test "${ac_cv_prog_CC+set}" = set; then
10966 echo $ECHO_N "(cached) $ECHO_C" >&6
10968 if test -n "$CC"; then
10969 ac_cv_prog_CC
="$CC" # Let the user override the test.
10971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10972 for as_dir
in $PATH
10975 test -z "$as_dir" && as_dir
=.
10976 for ac_exec_ext
in '' $ac_executable_extensions; do
10977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10978 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10988 if test -n "$CC"; then
10989 echo "$as_me:$LINENO: result: $CC" >&5
10990 echo "${ECHO_T}$CC" >&6
10992 echo "$as_me:$LINENO: result: no" >&5
10993 echo "${ECHO_T}no" >&6
10997 if test -z "$ac_cv_prog_CC"; then
10999 # Extract the first word of "gcc", so it can be a program name with args.
11000 set dummy gcc
; ac_word
=$2
11001 echo "$as_me:$LINENO: checking for $ac_word" >&5
11002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11003 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11004 echo $ECHO_N "(cached) $ECHO_C" >&6
11006 if test -n "$ac_ct_CC"; then
11007 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11010 for as_dir
in $PATH
11013 test -z "$as_dir" && as_dir
=.
11014 for ac_exec_ext
in '' $ac_executable_extensions; do
11015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11016 ac_cv_prog_ac_ct_CC
="gcc"
11017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11025 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11026 if test -n "$ac_ct_CC"; then
11027 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11028 echo "${ECHO_T}$ac_ct_CC" >&6
11030 echo "$as_me:$LINENO: result: no" >&5
11031 echo "${ECHO_T}no" >&6
11036 CC
="$ac_cv_prog_CC"
11039 if test -z "$CC"; then
11040 if test -n "$ac_tool_prefix"; then
11041 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11042 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11043 echo "$as_me:$LINENO: checking for $ac_word" >&5
11044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11045 if test "${ac_cv_prog_CC+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11048 if test -n "$CC"; then
11049 ac_cv_prog_CC
="$CC" # Let the user override the test.
11051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11052 for as_dir
in $PATH
11055 test -z "$as_dir" && as_dir
=.
11056 for ac_exec_ext
in '' $ac_executable_extensions; do
11057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11058 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11068 if test -n "$CC"; then
11069 echo "$as_me:$LINENO: result: $CC" >&5
11070 echo "${ECHO_T}$CC" >&6
11072 echo "$as_me:$LINENO: result: no" >&5
11073 echo "${ECHO_T}no" >&6
11077 if test -z "$ac_cv_prog_CC"; then
11079 # Extract the first word of "cc", so it can be a program name with args.
11080 set dummy cc
; ac_word
=$2
11081 echo "$as_me:$LINENO: checking for $ac_word" >&5
11082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11083 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11084 echo $ECHO_N "(cached) $ECHO_C" >&6
11086 if test -n "$ac_ct_CC"; then
11087 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11090 for as_dir
in $PATH
11093 test -z "$as_dir" && as_dir
=.
11094 for ac_exec_ext
in '' $ac_executable_extensions; do
11095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11096 ac_cv_prog_ac_ct_CC
="cc"
11097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11105 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11106 if test -n "$ac_ct_CC"; then
11107 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11108 echo "${ECHO_T}$ac_ct_CC" >&6
11110 echo "$as_me:$LINENO: result: no" >&5
11111 echo "${ECHO_T}no" >&6
11116 CC
="$ac_cv_prog_CC"
11120 if test -z "$CC"; then
11121 # Extract the first word of "cc", so it can be a program name with args.
11122 set dummy cc
; ac_word
=$2
11123 echo "$as_me:$LINENO: checking for $ac_word" >&5
11124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11125 if test "${ac_cv_prog_CC+set}" = set; then
11126 echo $ECHO_N "(cached) $ECHO_C" >&6
11128 if test -n "$CC"; then
11129 ac_cv_prog_CC
="$CC" # Let the user override the test.
11131 ac_prog_rejected
=no
11132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11133 for as_dir
in $PATH
11136 test -z "$as_dir" && as_dir
=.
11137 for ac_exec_ext
in '' $ac_executable_extensions; do
11138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11139 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11140 ac_prog_rejected
=yes
11144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11150 if test $ac_prog_rejected = yes; then
11151 # We found a bogon in the path, so make sure we never use it.
11152 set dummy
$ac_cv_prog_CC
11154 if test $# != 0; then
11155 # We chose a different compiler from the bogus one.
11156 # However, it has the same basename, so the bogon will be chosen
11157 # first if we set CC to just the basename; use the full file name.
11159 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11165 if test -n "$CC"; then
11166 echo "$as_me:$LINENO: result: $CC" >&5
11167 echo "${ECHO_T}$CC" >&6
11169 echo "$as_me:$LINENO: result: no" >&5
11170 echo "${ECHO_T}no" >&6
11174 if test -z "$CC"; then
11175 if test -n "$ac_tool_prefix"; then
11178 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11179 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11180 echo "$as_me:$LINENO: checking for $ac_word" >&5
11181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11182 if test "${ac_cv_prog_CC+set}" = set; then
11183 echo $ECHO_N "(cached) $ECHO_C" >&6
11185 if test -n "$CC"; then
11186 ac_cv_prog_CC
="$CC" # Let the user override the test.
11188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11189 for as_dir
in $PATH
11192 test -z "$as_dir" && as_dir
=.
11193 for ac_exec_ext
in '' $ac_executable_extensions; do
11194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11195 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11205 if test -n "$CC"; then
11206 echo "$as_me:$LINENO: result: $CC" >&5
11207 echo "${ECHO_T}$CC" >&6
11209 echo "$as_me:$LINENO: result: no" >&5
11210 echo "${ECHO_T}no" >&6
11213 test -n "$CC" && break
11216 if test -z "$CC"; then
11220 # Extract the first word of "$ac_prog", so it can be a program name with args.
11221 set dummy
$ac_prog; ac_word
=$2
11222 echo "$as_me:$LINENO: checking for $ac_word" >&5
11223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11224 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11225 echo $ECHO_N "(cached) $ECHO_C" >&6
11227 if test -n "$ac_ct_CC"; then
11228 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11231 for as_dir
in $PATH
11234 test -z "$as_dir" && as_dir
=.
11235 for ac_exec_ext
in '' $ac_executable_extensions; do
11236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11237 ac_cv_prog_ac_ct_CC
="$ac_prog"
11238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11246 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11247 if test -n "$ac_ct_CC"; then
11248 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11249 echo "${ECHO_T}$ac_ct_CC" >&6
11251 echo "$as_me:$LINENO: result: no" >&5
11252 echo "${ECHO_T}no" >&6
11255 test -n "$ac_ct_CC" && break
11264 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11265 See \`config.log' for more details." >&5
11266 echo "$as_me: error: no acceptable C compiler found in \$PATH
11267 See \`config.log' for more details." >&2;}
11268 { (exit 1); exit 1; }; }
11270 # Provide some information about the compiler.
11271 echo "$as_me:$LINENO:" \
11272 "checking for C compiler version" >&5
11273 ac_compiler
=`set X $ac_compile; echo $2`
11274 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11275 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); }
11279 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11280 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }
11284 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11285 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }
11290 cat >conftest.
$ac_ext <<_ACEOF
11293 cat confdefs.h
>>conftest.
$ac_ext
11294 cat >>conftest.
$ac_ext <<_ACEOF
11295 /* end confdefs.h. */
11305 ac_clean_files_save
=$ac_clean_files
11306 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11307 # Try to create an executable without -o first, disregard a.out.
11308 # It will help us diagnose broken compilers, and finding out an intuition
11310 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11311 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11312 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11313 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11314 (eval $ac_link_default) 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; then
11318 # Find the output, starting from the most likely. This scheme is
11319 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11322 # Be careful to initialize this variable, since it used to be cached.
11323 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11325 # b.out is created by i960 compilers.
11326 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11328 test -f "$ac_file" || continue
11330 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11333 # This is the source file.
11336 # We found the default executable, but exeext='' is most
11340 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11341 # FIXME: I believe we export ac_cv_exeext for Libtool,
11342 # but it would be cool to find out if it's true. Does anybody
11343 # maintain Libtool? --akim.
11344 export ac_cv_exeext
11351 echo "$as_me: failed program was:" >&5
11352 sed 's/^/| /' conftest.
$ac_ext >&5
11354 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11355 See \`config.log' for more details." >&5
11356 echo "$as_me: error: C compiler cannot create executables
11357 See \`config.log' for more details." >&2;}
11358 { (exit 77); exit 77; }; }
11361 ac_exeext
=$ac_cv_exeext
11362 echo "$as_me:$LINENO: result: $ac_file" >&5
11363 echo "${ECHO_T}$ac_file" >&6
11365 # Check the compiler produces executables we can run. If not, either
11366 # the compiler is broken, or we cross compile.
11367 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11368 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11369 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11370 # If not cross compiling, check that we can run a simple program.
11371 if test "$cross_compiling" != yes; then
11372 if { ac_try
='./$ac_file'
11373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11374 (eval $ac_try) 2>&5
11376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377 (exit $ac_status); }; }; then
11380 if test "$cross_compiling" = maybe
; then
11381 cross_compiling
=yes
11383 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11384 If you meant to cross compile, use \`--host'.
11385 See \`config.log' for more details." >&5
11386 echo "$as_me: error: cannot run C compiled programs.
11387 If you meant to cross compile, use \`--host'.
11388 See \`config.log' for more details." >&2;}
11389 { (exit 1); exit 1; }; }
11393 echo "$as_me:$LINENO: result: yes" >&5
11394 echo "${ECHO_T}yes" >&6
11396 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11397 ac_clean_files
=$ac_clean_files_save
11398 # Check the compiler produces executables we can run. If not, either
11399 # the compiler is broken, or we cross compile.
11400 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11401 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11402 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11403 echo "${ECHO_T}$cross_compiling" >&6
11405 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11406 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11408 (eval $ac_link) 2>&5
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); }; then
11412 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11413 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11414 # work properly (i.e., refer to `conftest.exe'), while it won't with
11416 for ac_file
in conftest.exe conftest conftest.
*; do
11417 test -f "$ac_file" || continue
11419 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11420 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11421 export ac_cv_exeext
11427 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11428 See \`config.log' for more details." >&5
11429 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11430 See \`config.log' for more details." >&2;}
11431 { (exit 1); exit 1; }; }
11434 rm -f conftest
$ac_cv_exeext
11435 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11436 echo "${ECHO_T}$ac_cv_exeext" >&6
11438 rm -f conftest.
$ac_ext
11439 EXEEXT
=$ac_cv_exeext
11441 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11442 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11443 if test "${ac_cv_objext+set}" = set; then
11444 echo $ECHO_N "(cached) $ECHO_C" >&6
11446 cat >conftest.
$ac_ext <<_ACEOF
11449 cat confdefs.h
>>conftest.
$ac_ext
11450 cat >>conftest.
$ac_ext <<_ACEOF
11451 /* end confdefs.h. */
11461 rm -f conftest.o conftest.obj
11462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11463 (eval $ac_compile) 2>&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); }; then
11467 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11469 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11470 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11475 echo "$as_me: failed program was:" >&5
11476 sed 's/^/| /' conftest.
$ac_ext >&5
11478 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11479 See \`config.log' for more details." >&5
11480 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11481 See \`config.log' for more details." >&2;}
11482 { (exit 1); exit 1; }; }
11485 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11487 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11488 echo "${ECHO_T}$ac_cv_objext" >&6
11489 OBJEXT
=$ac_cv_objext
11491 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11492 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11493 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11494 echo $ECHO_N "(cached) $ECHO_C" >&6
11496 cat >conftest.
$ac_ext <<_ACEOF
11499 cat confdefs.h
>>conftest.
$ac_ext
11500 cat >>conftest.
$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11514 rm -f conftest.
$ac_objext
11515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11516 (eval $ac_compile) 2>conftest.er1
11518 grep -v '^ *+' conftest.er1
>conftest.err
11520 cat conftest.err
>&5
11521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11522 (exit $ac_status); } &&
11523 { ac_try
='test -z "$ac_c_werror_flag"
11524 || test ! -s conftest.err'
11525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11526 (eval $ac_try) 2>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); }; } &&
11530 { ac_try
='test -s conftest.$ac_objext'
11531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11532 (eval $ac_try) 2>&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); }; }; then
11536 ac_compiler_gnu
=yes
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.
$ac_ext >&5
11543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11544 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11547 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11548 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11549 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11550 ac_test_CFLAGS
=${CFLAGS+set}
11551 ac_save_CFLAGS
=$CFLAGS
11553 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11554 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11555 if test "${ac_cv_prog_cc_g+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11558 cat >conftest.
$ac_ext <<_ACEOF
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11573 rm -f conftest.
$ac_objext
11574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11575 (eval $ac_compile) 2>conftest.er1
11577 grep -v '^ *+' conftest.er1
>conftest.err
11579 cat conftest.err
>&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); } &&
11582 { ac_try
='test -z "$ac_c_werror_flag"
11583 || test ! -s conftest.err'
11584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11585 (eval $ac_try) 2>&5
11587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11588 (exit $ac_status); }; } &&
11589 { ac_try
='test -s conftest.$ac_objext'
11590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11591 (eval $ac_try) 2>&5
11593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11594 (exit $ac_status); }; }; then
11595 ac_cv_prog_cc_g
=yes
11597 echo "$as_me: failed program was:" >&5
11598 sed 's/^/| /' conftest.
$ac_ext >&5
11602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11604 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11605 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11606 if test "$ac_test_CFLAGS" = set; then
11607 CFLAGS
=$ac_save_CFLAGS
11608 elif test $ac_cv_prog_cc_g = yes; then
11609 if test "$GCC" = yes; then
11615 if test "$GCC" = yes; then
11621 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11622 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11623 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11624 echo $ECHO_N "(cached) $ECHO_C" >&6
11626 ac_cv_prog_cc_stdc
=no
11628 cat >conftest.
$ac_ext <<_ACEOF
11631 cat confdefs.h
>>conftest.
$ac_ext
11632 cat >>conftest.
$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11634 #include <stdarg.h>
11636 #include <sys/types.h>
11637 #include <sys/stat.h>
11638 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11639 struct buf { int x; };
11640 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11641 static char *e (p, i)
11647 static char *f (char * (*g) (char **, int), char **p, ...)
11652 s = g (p, va_arg (v,int));
11657 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11658 function prototypes and stuff, but not '\xHH' hex character constants.
11659 These don't provoke an error unfortunately, instead are silently treated
11660 as 'x'. The following induces an error, until -std1 is added to get
11661 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11662 array size at least. It's necessary to write '\x00'==0 to get something
11663 that's true only with -std1. */
11664 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11666 int test (int i, double x);
11667 struct s1 {int (*f) (int a);};
11668 struct s2 {int (*f) (double a);};
11669 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11675 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11680 # Don't try gcc -ansi; that turns off useful extensions and
11681 # breaks some systems' header files.
11682 # AIX -qlanglvl=ansi
11683 # Ultrix and OSF/1 -std1
11684 # HP-UX 10.20 and later -Ae
11685 # HP-UX older versions -Aa -D_HPUX_SOURCE
11686 # SVR4 -Xc -D__EXTENSIONS__
11687 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11689 CC
="$ac_save_CC $ac_arg"
11690 rm -f conftest.
$ac_objext
11691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11692 (eval $ac_compile) 2>conftest.er1
11694 grep -v '^ *+' conftest.er1
>conftest.err
11696 cat conftest.err
>&5
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); } &&
11699 { ac_try
='test -z "$ac_c_werror_flag"
11700 || test ! -s conftest.err'
11701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11702 (eval $ac_try) 2>&5
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); }; } &&
11706 { ac_try
='test -s conftest.$ac_objext'
11707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11708 (eval $ac_try) 2>&5
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }; }; then
11712 ac_cv_prog_cc_stdc
=$ac_arg
11715 echo "$as_me: failed program was:" >&5
11716 sed 's/^/| /' conftest.
$ac_ext >&5
11719 rm -f conftest.err conftest.
$ac_objext
11721 rm -f conftest.
$ac_ext conftest.
$ac_objext
11726 case "x$ac_cv_prog_cc_stdc" in
11728 echo "$as_me:$LINENO: result: none needed" >&5
11729 echo "${ECHO_T}none needed" >&6 ;;
11731 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11732 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11733 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11736 # Some people use a C++ compiler to compile C. Since we use `exit',
11737 # in C++ we need to declare it. In case someone uses the same compiler
11738 # for both compiling C and C++ we need to have the C++ compiler decide
11739 # the declaration of exit, since it's the most demanding environment.
11740 cat >conftest.
$ac_ext <<_ACEOF
11741 #ifndef __cplusplus
11745 rm -f conftest.
$ac_objext
11746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11747 (eval $ac_compile) 2>conftest.er1
11749 grep -v '^ *+' conftest.er1
>conftest.err
11751 cat conftest.err
>&5
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); } &&
11754 { ac_try
='test -z "$ac_c_werror_flag"
11755 || test ! -s conftest.err'
11756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11757 (eval $ac_try) 2>&5
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); }; } &&
11761 { ac_try
='test -s conftest.$ac_objext'
11762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11763 (eval $ac_try) 2>&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); }; }; then
11767 for ac_declaration
in \
11769 'extern "C" void std::exit (int) throw (); using std::exit;' \
11770 'extern "C" void std::exit (int); using std::exit;' \
11771 'extern "C" void exit (int) throw ();' \
11772 'extern "C" void exit (int);' \
11775 cat >conftest.
$ac_ext <<_ACEOF
11778 cat confdefs.h
>>conftest.
$ac_ext
11779 cat >>conftest.
$ac_ext <<_ACEOF
11780 /* end confdefs.h. */
11782 #include <stdlib.h>
11791 rm -f conftest.
$ac_objext
11792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11793 (eval $ac_compile) 2>conftest.er1
11795 grep -v '^ *+' conftest.er1
>conftest.err
11797 cat conftest.err
>&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); } &&
11800 { ac_try
='test -z "$ac_c_werror_flag"
11801 || test ! -s conftest.err'
11802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11803 (eval $ac_try) 2>&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; } &&
11807 { ac_try
='test -s conftest.$ac_objext'
11808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11809 (eval $ac_try) 2>&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); }; }; then
11815 echo "$as_me: failed program was:" >&5
11816 sed 's/^/| /' conftest.
$ac_ext >&5
11820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11821 cat >conftest.
$ac_ext <<_ACEOF
11824 cat confdefs.h
>>conftest.
$ac_ext
11825 cat >>conftest.
$ac_ext <<_ACEOF
11826 /* end confdefs.h. */
11836 rm -f conftest.
$ac_objext
11837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11838 (eval $ac_compile) 2>conftest.er1
11840 grep -v '^ *+' conftest.er1
>conftest.err
11842 cat conftest.err
>&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); } &&
11845 { ac_try
='test -z "$ac_c_werror_flag"
11846 || test ! -s conftest.err'
11847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11848 (eval $ac_try) 2>&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); }; } &&
11852 { ac_try
='test -s conftest.$ac_objext'
11853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11854 (eval $ac_try) 2>&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 (exit $ac_status); }; }; then
11860 echo "$as_me: failed program was:" >&5
11861 sed 's/^/| /' conftest.
$ac_ext >&5
11864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11867 if test -n "$ac_declaration"; then
11868 echo '#ifdef __cplusplus' >>confdefs.h
11869 echo $ac_declaration >>confdefs.h
11870 echo '#endif' >>confdefs.h
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.
$ac_ext >&5
11878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11880 ac_cpp
='$CPP $CPPFLAGS'
11881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11888 ac_cpp
='$CPP $CPPFLAGS'
11889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11893 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11894 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11895 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11896 echo $ECHO_N "(cached) $ECHO_C" >&6
11898 cat >conftest.
$ac_ext <<_ACEOF
11901 cat confdefs.h
>>conftest.
$ac_ext
11902 cat >>conftest.
$ac_ext <<_ACEOF
11903 /* end confdefs.h. */
11909 #ifndef __INTEL_COMPILER
11917 rm -f conftest.
$ac_objext
11918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11919 (eval $ac_compile) 2>conftest.er1
11921 grep -v '^ *+' conftest.er1
>conftest.err
11923 cat conftest.err
>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); } &&
11926 { ac_try
='test -z "$ac_c_werror_flag"
11927 || test ! -s conftest.err'
11928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11929 (eval $ac_try) 2>&5
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; } &&
11933 { ac_try
='test -s conftest.$ac_objext'
11934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11935 (eval $ac_try) 2>&5
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11939 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
11941 echo "$as_me: failed program was:" >&5
11942 sed 's/^/| /' conftest.
$ac_ext >&5
11944 bakefile_cv_c_compiler___INTEL_COMPILER
=no
11947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11951 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11952 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11954 ac_cpp
='$CPP $CPPFLAGS'
11955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11959 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11966 if test "x$GCC" != "xyes"; then
11967 if test "xCC" = "xC"; then
11968 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11969 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11970 if test "${bakefile_cv_c_exto+set}" = set; then
11971 echo $ECHO_N "(cached) $ECHO_C" >&6
11973 cat >conftest.
$ac_ext <<_ACEOF
11976 cat confdefs.h
>>conftest.
$ac_ext
11977 cat >>conftest.
$ac_ext <<_ACEOF
11978 /* end confdefs.h. */
11988 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11990 (eval $ac_compile) 2>&5
11992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993 (exit $ac_status); }; then
11994 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11996 conftest.
$ac_ext.o
)
11997 bakefile_cv_c_exto
="-ext o"
12004 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12005 See \`config.log' for more details." >&5
12006 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12007 See \`config.log' for more details." >&2;}
12008 { (exit 1); exit 1; }; }
12012 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12015 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12016 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12017 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12018 if test "c" = "c"; then
12019 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12021 if test "c" = "cxx"; then
12022 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12026 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12027 unset ac_cv_prog_cc_g
12028 ac_test_CFLAGS
=${CFLAGS+set}
12029 ac_save_CFLAGS
=$CFLAGS
12031 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12032 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12033 if test "${ac_cv_prog_cc_g+set}" = set; then
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
12036 cat >conftest.
$ac_ext <<_ACEOF
12039 cat confdefs.h
>>conftest.
$ac_ext
12040 cat >>conftest.
$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12051 rm -f conftest.
$ac_objext
12052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12053 (eval $ac_compile) 2>conftest.er1
12055 grep -v '^ *+' conftest.er1
>conftest.err
12057 cat conftest.err
>&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); } &&
12060 { ac_try
='test -z "$ac_c_werror_flag"
12061 || test ! -s conftest.err'
12062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12063 (eval $ac_try) 2>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; } &&
12067 { ac_try
='test -s conftest.$ac_objext'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; }; then
12073 ac_cv_prog_cc_g
=yes
12075 echo "$as_me: failed program was:" >&5
12076 sed 's/^/| /' conftest.
$ac_ext >&5
12080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12082 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12083 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12084 if test "$ac_test_CFLAGS" = set; then
12085 CFLAGS
=$ac_save_CFLAGS
12086 elif test $ac_cv_prog_cc_g = yes; then
12087 if test "$GCC" = yes; then
12093 if test "$GCC" = yes; then
12105 ac_cpp
='$CPP $CPPFLAGS'
12106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12110 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12111 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12112 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12113 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 cat >conftest.
$ac_ext <<_ACEOF
12118 cat confdefs.h
>>conftest.
$ac_ext
12119 cat >>conftest.
$ac_ext <<_ACEOF
12120 /* end confdefs.h. */
12133 rm -f conftest.
$ac_objext
12134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12135 (eval $ac_compile) 2>conftest.er1
12137 grep -v '^ *+' conftest.er1
>conftest.err
12139 cat conftest.err
>&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); } &&
12142 { ac_try
='test -z "$ac_c_werror_flag"
12143 || test ! -s conftest.err'
12144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12145 (eval $ac_try) 2>&5
12147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12148 (exit $ac_status); }; } &&
12149 { ac_try
='test -s conftest.$ac_objext'
12150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12151 (eval $ac_try) 2>&5
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); }; }; then
12155 bakefile_compiler_xlc
=yes
12157 echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.
$ac_ext >&5
12160 bakefile_compiler_xlc
=no
12162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12163 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12166 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12167 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12169 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12171 ac_cpp
='$CPP $CPPFLAGS'
12172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12181 ac_cpp
='$CPP $CPPFLAGS'
12182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12186 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12187 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12188 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 cat >conftest.
$ac_ext <<_ACEOF
12194 cat confdefs.h
>>conftest.
$ac_ext
12195 cat >>conftest.
$ac_ext <<_ACEOF
12196 /* end confdefs.h. */
12209 rm -f conftest.
$ac_objext
12210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12211 (eval $ac_compile) 2>conftest.er1
12213 grep -v '^ *+' conftest.er1
>conftest.err
12215 cat conftest.err
>&5
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); } &&
12218 { ac_try
='test -z "$ac_c_werror_flag"
12219 || test ! -s conftest.err'
12220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12221 (eval $ac_try) 2>&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }; } &&
12225 { ac_try
='test -s conftest.$ac_objext'
12226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12227 (eval $ac_try) 2>&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); }; }; then
12231 bakefile_compiler_mwerks
=yes
12233 echo "$as_me: failed program was:" >&5
12234 sed 's/^/| /' conftest.
$ac_ext >&5
12236 bakefile_compiler_mwerks
=no
12238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12239 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12242 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12243 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12245 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12247 ac_cpp
='$CPP $CPPFLAGS'
12248 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12249 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12250 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12254 ac_cpp
='$CPP $CPPFLAGS'
12255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12259 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12260 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12261 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12262 echo $ECHO_N "(cached) $ECHO_C" >&6
12264 cat >conftest.
$ac_ext <<_ACEOF
12267 cat confdefs.h
>>conftest.
$ac_ext
12268 cat >>conftest.
$ac_ext <<_ACEOF
12269 /* end confdefs.h. */
12282 rm -f conftest.
$ac_objext
12283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12284 (eval $ac_compile) 2>conftest.er1
12286 grep -v '^ *+' conftest.er1
>conftest.err
12288 cat conftest.err
>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); } &&
12291 { ac_try
='test -z "$ac_c_werror_flag"
12292 || test ! -s conftest.err'
12293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12294 (eval $ac_try) 2>&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); }; } &&
12298 { ac_try
='test -s conftest.$ac_objext'
12299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12300 (eval $ac_try) 2>&5
12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 (exit $ac_status); }; }; then
12304 bakefile_compiler_xlc
=yes
12306 echo "$as_me: failed program was:" >&5
12307 sed 's/^/| /' conftest.
$ac_ext >&5
12309 bakefile_compiler_xlc
=no
12311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12312 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12315 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12316 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12318 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12320 ac_cpp
='$CPP $CPPFLAGS'
12321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12332 ac_cpp
='$CPP $CPPFLAGS'
12333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12337 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12338 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12339 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12340 echo $ECHO_N "(cached) $ECHO_C" >&6
12342 cat >conftest.
$ac_ext <<_ACEOF
12345 cat confdefs.h
>>conftest.
$ac_ext
12346 cat >>conftest.
$ac_ext <<_ACEOF
12347 /* end confdefs.h. */
12353 #ifndef _SGI_COMPILER_VERSION
12361 rm -f conftest.
$ac_objext
12362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12363 (eval $ac_compile) 2>conftest.er1
12365 grep -v '^ *+' conftest.er1
>conftest.err
12367 cat conftest.err
>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); } &&
12370 { ac_try
='test -z "$ac_c_werror_flag"
12371 || test ! -s conftest.err'
12372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12373 (eval $ac_try) 2>&5
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); }; } &&
12377 { ac_try
='test -s conftest.$ac_objext'
12378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12379 (eval $ac_try) 2>&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); }; }; then
12383 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12385 echo "$as_me: failed program was:" >&5
12386 sed 's/^/| /' conftest.
$ac_ext >&5
12388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12395 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12396 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12398 ac_cpp
='$CPP $CPPFLAGS'
12399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12416 ac_cpp
='$CPP $CPPFLAGS'
12417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12421 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12422 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12423 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12424 echo $ECHO_N "(cached) $ECHO_C" >&6
12426 cat >conftest.
$ac_ext <<_ACEOF
12429 cat confdefs.h
>>conftest.
$ac_ext
12430 cat >>conftest.
$ac_ext <<_ACEOF
12431 /* end confdefs.h. */
12445 rm -f conftest.
$ac_objext
12446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12447 (eval $ac_compile) 2>conftest.er1
12449 grep -v '^ *+' conftest.er1
>conftest.err
12451 cat conftest.err
>&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); } &&
12454 { ac_try
='test -z "$ac_c_werror_flag"
12455 || test ! -s conftest.err'
12456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12457 (eval $ac_try) 2>&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); }; } &&
12461 { ac_try
='test -s conftest.$ac_objext'
12462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); }; }; then
12467 bakefile_cv_c_compiler___HP_cc
=yes
12469 echo "$as_me: failed program was:" >&5
12470 sed 's/^/| /' conftest.
$ac_ext >&5
12472 bakefile_cv_c_compiler___HP_cc
=no
12475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12479 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12480 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12482 ac_cpp
='$CPP $CPPFLAGS'
12483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12487 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12500 ac_cpp
='$CPP $CPPFLAGS'
12501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12505 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12506 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12507 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12508 echo $ECHO_N "(cached) $ECHO_C" >&6
12510 cat >conftest.
$ac_ext <<_ACEOF
12513 cat confdefs.h
>>conftest.
$ac_ext
12514 cat >>conftest.
$ac_ext <<_ACEOF
12515 /* end confdefs.h. */
12529 rm -f conftest.
$ac_objext
12530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12531 (eval $ac_compile) 2>conftest.er1
12533 grep -v '^ *+' conftest.er1
>conftest.err
12535 cat conftest.err
>&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); } &&
12538 { ac_try
='test -z "$ac_c_werror_flag"
12539 || test ! -s conftest.err'
12540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12541 (eval $ac_try) 2>&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); }; } &&
12545 { ac_try
='test -s conftest.$ac_objext'
12546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12547 (eval $ac_try) 2>&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); }; }; then
12551 bakefile_cv_c_compiler___DECC
=yes
12553 echo "$as_me: failed program was:" >&5
12554 sed 's/^/| /' conftest.
$ac_ext >&5
12556 bakefile_cv_c_compiler___DECC
=no
12559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12563 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12564 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12566 ac_cpp
='$CPP $CPPFLAGS'
12567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12571 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12584 ac_cpp
='$CPP $CPPFLAGS'
12585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12589 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12590 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12591 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12592 echo $ECHO_N "(cached) $ECHO_C" >&6
12594 cat >conftest.
$ac_ext <<_ACEOF
12597 cat confdefs.h
>>conftest.
$ac_ext
12598 cat >>conftest.
$ac_ext <<_ACEOF
12599 /* end confdefs.h. */
12613 rm -f conftest.
$ac_objext
12614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12615 (eval $ac_compile) 2>conftest.er1
12617 grep -v '^ *+' conftest.er1
>conftest.err
12619 cat conftest.err
>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); } &&
12622 { ac_try
='test -z "$ac_c_werror_flag"
12623 || test ! -s conftest.err'
12624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12625 (eval $ac_try) 2>&5
12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628 (exit $ac_status); }; } &&
12629 { ac_try
='test -s conftest.$ac_objext'
12630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12631 (eval $ac_try) 2>&5
12633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634 (exit $ac_status); }; }; then
12635 bakefile_cv_c_compiler___SUNPRO_C
=yes
12637 echo "$as_me: failed program was:" >&5
12638 sed 's/^/| /' conftest.
$ac_ext >&5
12640 bakefile_cv_c_compiler___SUNPRO_C
=no
12643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12647 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12648 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12650 ac_cpp
='$CPP $CPPFLAGS'
12651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12655 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12669 ac_cpp
='$CPP $CPPFLAGS'
12670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12673 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12674 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12675 # On Suns, sometimes $CPP names a directory.
12676 if test -n "$CPP" && test -d "$CPP"; then
12679 if test -z "$CPP"; then
12680 if test "${ac_cv_prog_CPP+set}" = set; then
12681 echo $ECHO_N "(cached) $ECHO_C" >&6
12683 # Double quotes because CPP needs to be expanded
12684 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12686 ac_preproc_ok
=false
12687 for ac_c_preproc_warn_flag
in '' yes
12689 # Use a header file that comes with gcc, so configuring glibc
12690 # with a fresh cross-compiler works.
12691 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12692 # <limits.h> exists even on freestanding compilers.
12693 # On the NeXT, cc -E runs the code through the compiler's parser,
12694 # not just through cpp. "Syntax error" is here to catch this case.
12695 cat >conftest.
$ac_ext <<_ACEOF
12698 cat confdefs.h
>>conftest.
$ac_ext
12699 cat >>conftest.
$ac_ext <<_ACEOF
12700 /* end confdefs.h. */
12702 # include <limits.h>
12704 # include <assert.h>
12708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12709 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12711 grep -v '^ *+' conftest.er1
>conftest.err
12713 cat conftest.err
>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); } >/dev
/null
; then
12716 if test -s conftest.err
; then
12717 ac_cpp_err
=$ac_c_preproc_warn_flag
12718 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12725 if test -z "$ac_cpp_err"; then
12728 echo "$as_me: failed program was:" >&5
12729 sed 's/^/| /' conftest.
$ac_ext >&5
12731 # Broken: fails on valid input.
12734 rm -f conftest.err conftest.
$ac_ext
12736 # OK, works on sane cases. Now check whether non-existent headers
12737 # can be detected and how.
12738 cat >conftest.
$ac_ext <<_ACEOF
12741 cat confdefs.h
>>conftest.
$ac_ext
12742 cat >>conftest.
$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12744 #include <ac_nonexistent.h>
12746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12747 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12749 grep -v '^ *+' conftest.er1
>conftest.err
12751 cat conftest.err
>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); } >/dev
/null
; then
12754 if test -s conftest.err
; then
12755 ac_cpp_err
=$ac_c_preproc_warn_flag
12756 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12763 if test -z "$ac_cpp_err"; then
12764 # Broken: success on invalid input.
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.
$ac_ext >&5
12770 # Passes both tests.
12774 rm -f conftest.err conftest.
$ac_ext
12777 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12778 rm -f conftest.err conftest.
$ac_ext
12779 if $ac_preproc_ok; then
12784 ac_cv_prog_CPP
=$CPP
12787 CPP
=$ac_cv_prog_CPP
12789 ac_cv_prog_CPP
=$CPP
12791 echo "$as_me:$LINENO: result: $CPP" >&5
12792 echo "${ECHO_T}$CPP" >&6
12793 ac_preproc_ok
=false
12794 for ac_c_preproc_warn_flag
in '' yes
12796 # Use a header file that comes with gcc, so configuring glibc
12797 # with a fresh cross-compiler works.
12798 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12799 # <limits.h> exists even on freestanding compilers.
12800 # On the NeXT, cc -E runs the code through the compiler's parser,
12801 # not just through cpp. "Syntax error" is here to catch this case.
12802 cat >conftest.
$ac_ext <<_ACEOF
12805 cat confdefs.h
>>conftest.
$ac_ext
12806 cat >>conftest.
$ac_ext <<_ACEOF
12807 /* end confdefs.h. */
12809 # include <limits.h>
12811 # include <assert.h>
12815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12816 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12818 grep -v '^ *+' conftest.er1
>conftest.err
12820 cat conftest.err
>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } >/dev
/null
; then
12823 if test -s conftest.err
; then
12824 ac_cpp_err
=$ac_c_preproc_warn_flag
12825 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12832 if test -z "$ac_cpp_err"; then
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.
$ac_ext >&5
12838 # Broken: fails on valid input.
12841 rm -f conftest.err conftest.
$ac_ext
12843 # OK, works on sane cases. Now check whether non-existent headers
12844 # can be detected and how.
12845 cat >conftest.
$ac_ext <<_ACEOF
12848 cat confdefs.h
>>conftest.
$ac_ext
12849 cat >>conftest.
$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12851 #include <ac_nonexistent.h>
12853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12854 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12856 grep -v '^ *+' conftest.er1
>conftest.err
12858 cat conftest.err
>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); } >/dev
/null
; then
12861 if test -s conftest.err
; then
12862 ac_cpp_err
=$ac_c_preproc_warn_flag
12863 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12870 if test -z "$ac_cpp_err"; then
12871 # Broken: success on invalid input.
12874 echo "$as_me: failed program was:" >&5
12875 sed 's/^/| /' conftest.
$ac_ext >&5
12877 # Passes both tests.
12881 rm -f conftest.err conftest.
$ac_ext
12884 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12885 rm -f conftest.err conftest.
$ac_ext
12886 if $ac_preproc_ok; then
12889 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12890 See \`config.log' for more details." >&5
12891 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12892 See \`config.log' for more details." >&2;}
12893 { (exit 1); exit 1; }; }
12897 ac_cpp
='$CPP $CPPFLAGS'
12898 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12899 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12900 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12903 echo "$as_me:$LINENO: checking for egrep" >&5
12904 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12905 if test "${ac_cv_prog_egrep+set}" = set; then
12906 echo $ECHO_N "(cached) $ECHO_C" >&6
12908 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12909 then ac_cv_prog_egrep
='grep -E'
12910 else ac_cv_prog_egrep
='egrep'
12913 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12914 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12915 EGREP
=$ac_cv_prog_egrep
12918 if test $ac_cv_c_compiler_gnu = yes; then
12919 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12920 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12921 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12924 ac_pattern
="Autoconf.*'x'"
12925 cat >conftest.
$ac_ext <<_ACEOF
12928 cat confdefs.h
>>conftest.
$ac_ext
12929 cat >>conftest.
$ac_ext <<_ACEOF
12930 /* end confdefs.h. */
12934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12935 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12936 ac_cv_prog_gcc_traditional
=yes
12938 ac_cv_prog_gcc_traditional
=no
12943 if test $ac_cv_prog_gcc_traditional = no
; then
12944 cat >conftest.
$ac_ext <<_ACEOF
12947 cat confdefs.h
>>conftest.
$ac_ext
12948 cat >>conftest.
$ac_ext <<_ACEOF
12949 /* end confdefs.h. */
12950 #include <termio.h>
12953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12954 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12955 ac_cv_prog_gcc_traditional
=yes
12961 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12962 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12963 if test $ac_cv_prog_gcc_traditional = yes; then
12964 CC
="$CC -traditional"
12972 ac_cpp
='$CXXCPP $CPPFLAGS'
12973 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12974 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12975 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12978 CXXFLAGS
=${CXXFLAGS:=}
12983 ac_cpp
='$CXXCPP $CPPFLAGS'
12984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12987 if test -n "$ac_tool_prefix"; then
12988 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12990 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12991 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12992 echo "$as_me:$LINENO: checking for $ac_word" >&5
12993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12994 if test "${ac_cv_prog_CXX+set}" = set; then
12995 echo $ECHO_N "(cached) $ECHO_C" >&6
12997 if test -n "$CXX"; then
12998 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13001 for as_dir
in $PATH
13004 test -z "$as_dir" && as_dir
=.
13005 for ac_exec_ext
in '' $ac_executable_extensions; do
13006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13007 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13016 CXX
=$ac_cv_prog_CXX
13017 if test -n "$CXX"; then
13018 echo "$as_me:$LINENO: result: $CXX" >&5
13019 echo "${ECHO_T}$CXX" >&6
13021 echo "$as_me:$LINENO: result: no" >&5
13022 echo "${ECHO_T}no" >&6
13025 test -n "$CXX" && break
13028 if test -z "$CXX"; then
13030 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13032 # Extract the first word of "$ac_prog", so it can be a program name with args.
13033 set dummy
$ac_prog; ac_word
=$2
13034 echo "$as_me:$LINENO: checking for $ac_word" >&5
13035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13036 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 if test -n "$ac_ct_CXX"; then
13040 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13043 for as_dir
in $PATH
13046 test -z "$as_dir" && as_dir
=.
13047 for ac_exec_ext
in '' $ac_executable_extensions; do
13048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13049 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13058 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13059 if test -n "$ac_ct_CXX"; then
13060 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13061 echo "${ECHO_T}$ac_ct_CXX" >&6
13063 echo "$as_me:$LINENO: result: no" >&5
13064 echo "${ECHO_T}no" >&6
13067 test -n "$ac_ct_CXX" && break
13069 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13075 # Provide some information about the compiler.
13076 echo "$as_me:$LINENO:" \
13077 "checking for C++ compiler version" >&5
13078 ac_compiler
=`set X $ac_compile; echo $2`
13079 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13080 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }
13084 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13085 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); }
13089 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13090 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }
13095 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13096 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13097 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13100 cat >conftest.
$ac_ext <<_ACEOF
13103 cat confdefs.h
>>conftest.
$ac_ext
13104 cat >>conftest.
$ac_ext <<_ACEOF
13105 /* end confdefs.h. */
13118 rm -f conftest.
$ac_objext
13119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13120 (eval $ac_compile) 2>conftest.er1
13122 grep -v '^ *+' conftest.er1
>conftest.err
13124 cat conftest.err
>&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); } &&
13127 { ac_try
='test -z "$ac_cxx_werror_flag"
13128 || test ! -s conftest.err'
13129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13130 (eval $ac_try) 2>&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); }; } &&
13134 { ac_try
='test -s conftest.$ac_objext'
13135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136 (eval $ac_try) 2>&5
13138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 (exit $ac_status); }; }; then
13140 ac_compiler_gnu
=yes
13142 echo "$as_me: failed program was:" >&5
13143 sed 's/^/| /' conftest.
$ac_ext >&5
13147 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13148 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13151 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13152 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13153 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13154 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13155 ac_save_CXXFLAGS
=$CXXFLAGS
13157 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13158 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13159 if test "${ac_cv_prog_cxx_g+set}" = set; then
13160 echo $ECHO_N "(cached) $ECHO_C" >&6
13162 cat >conftest.
$ac_ext <<_ACEOF
13165 cat confdefs.h
>>conftest.
$ac_ext
13166 cat >>conftest.
$ac_ext <<_ACEOF
13167 /* end confdefs.h. */
13177 rm -f conftest.
$ac_objext
13178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13179 (eval $ac_compile) 2>conftest.er1
13181 grep -v '^ *+' conftest.er1
>conftest.err
13183 cat conftest.err
>&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); } &&
13186 { ac_try
='test -z "$ac_cxx_werror_flag"
13187 || test ! -s conftest.err'
13188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13189 (eval $ac_try) 2>&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); }; } &&
13193 { ac_try
='test -s conftest.$ac_objext'
13194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13195 (eval $ac_try) 2>&5
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); }; }; then
13199 ac_cv_prog_cxx_g
=yes
13201 echo "$as_me: failed program was:" >&5
13202 sed 's/^/| /' conftest.
$ac_ext >&5
13204 ac_cv_prog_cxx_g
=no
13206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13208 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13209 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13210 if test "$ac_test_CXXFLAGS" = set; then
13211 CXXFLAGS
=$ac_save_CXXFLAGS
13212 elif test $ac_cv_prog_cxx_g = yes; then
13213 if test "$GXX" = yes; then
13219 if test "$GXX" = yes; then
13225 for ac_declaration
in \
13227 'extern "C" void std::exit (int) throw (); using std::exit;' \
13228 'extern "C" void std::exit (int); using std::exit;' \
13229 'extern "C" void exit (int) throw ();' \
13230 'extern "C" void exit (int);' \
13233 cat >conftest.
$ac_ext <<_ACEOF
13236 cat confdefs.h
>>conftest.
$ac_ext
13237 cat >>conftest.
$ac_ext <<_ACEOF
13238 /* end confdefs.h. */
13240 #include <stdlib.h>
13249 rm -f conftest.
$ac_objext
13250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13251 (eval $ac_compile) 2>conftest.er1
13253 grep -v '^ *+' conftest.er1
>conftest.err
13255 cat conftest.err
>&5
13256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13257 (exit $ac_status); } &&
13258 { ac_try
='test -z "$ac_cxx_werror_flag"
13259 || test ! -s conftest.err'
13260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13261 (eval $ac_try) 2>&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }; } &&
13265 { ac_try
='test -s conftest.$ac_objext'
13266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13267 (eval $ac_try) 2>&5
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); }; }; then
13273 echo "$as_me: failed program was:" >&5
13274 sed 's/^/| /' conftest.
$ac_ext >&5
13278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13279 cat >conftest.
$ac_ext <<_ACEOF
13282 cat confdefs.h
>>conftest.
$ac_ext
13283 cat >>conftest.
$ac_ext <<_ACEOF
13284 /* end confdefs.h. */
13294 rm -f conftest.
$ac_objext
13295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13296 (eval $ac_compile) 2>conftest.er1
13298 grep -v '^ *+' conftest.er1
>conftest.err
13300 cat conftest.err
>&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); } &&
13303 { ac_try
='test -z "$ac_cxx_werror_flag"
13304 || test ! -s conftest.err'
13305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13306 (eval $ac_try) 2>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; } &&
13310 { ac_try
='test -s conftest.$ac_objext'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; }; then
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.
$ac_ext >&5
13322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13325 if test -n "$ac_declaration"; then
13326 echo '#ifdef __cplusplus' >>confdefs.h
13327 echo $ac_declaration >>confdefs.h
13328 echo '#endif' >>confdefs.h
13332 ac_cpp
='$CXXCPP $CPPFLAGS'
13333 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13334 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13335 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13340 ac_cpp
='$CXXCPP $CPPFLAGS'
13341 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13342 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13343 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13345 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13346 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13347 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 cat >conftest.
$ac_ext <<_ACEOF
13353 cat confdefs.h
>>conftest.
$ac_ext
13354 cat >>conftest.
$ac_ext <<_ACEOF
13355 /* end confdefs.h. */
13361 #ifndef __INTEL_COMPILER
13369 rm -f conftest.
$ac_objext
13370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13371 (eval $ac_compile) 2>conftest.er1
13373 grep -v '^ *+' conftest.er1
>conftest.err
13375 cat conftest.err
>&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); } &&
13378 { ac_try
='test -z "$ac_cxx_werror_flag"
13379 || test ! -s conftest.err'
13380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13381 (eval $ac_try) 2>&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); }; } &&
13385 { ac_try
='test -s conftest.$ac_objext'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; }; then
13391 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.
$ac_ext >&5
13396 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13403 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13404 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13406 ac_cpp
='$CXXCPP $CPPFLAGS'
13407 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13408 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13409 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13411 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13418 if test "x$GCXX" != "xyes"; then
13419 if test "xCXX" = "xC"; then
13420 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13421 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13422 if test "${bakefile_cv_cxx_exto+set}" = set; then
13423 echo $ECHO_N "(cached) $ECHO_C" >&6
13425 cat >conftest.
$ac_ext <<_ACEOF
13428 cat confdefs.h
>>conftest.
$ac_ext
13429 cat >>conftest.
$ac_ext <<_ACEOF
13430 /* end confdefs.h. */
13440 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13442 (eval $ac_compile) 2>&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); }; then
13446 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13448 conftest.
$ac_ext.o
)
13449 bakefile_cv_cxx_exto
="-ext o"
13456 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13457 See \`config.log' for more details." >&5
13458 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13459 See \`config.log' for more details." >&2;}
13460 { (exit 1); exit 1; }; }
13464 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13467 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13468 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13469 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13470 if test "cxx" = "c"; then
13471 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13473 if test "cxx" = "cxx"; then
13474 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13478 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13479 unset ac_cv_prog_cc_g
13480 ac_test_CFLAGS
=${CFLAGS+set}
13481 ac_save_CFLAGS
=$CFLAGS
13483 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13484 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13485 if test "${ac_cv_prog_cc_g+set}" = set; then
13486 echo $ECHO_N "(cached) $ECHO_C" >&6
13488 cat >conftest.
$ac_ext <<_ACEOF
13491 cat confdefs.h
>>conftest.
$ac_ext
13492 cat >>conftest.
$ac_ext <<_ACEOF
13493 /* end confdefs.h. */
13503 rm -f conftest.
$ac_objext
13504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13505 (eval $ac_compile) 2>conftest.er1
13507 grep -v '^ *+' conftest.er1
>conftest.err
13509 cat conftest.err
>&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } &&
13512 { ac_try
='test -z "$ac_cxx_werror_flag"
13513 || test ! -s conftest.err'
13514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13515 (eval $ac_try) 2>&5
13517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13518 (exit $ac_status); }; } &&
13519 { ac_try
='test -s conftest.$ac_objext'
13520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13521 (eval $ac_try) 2>&5
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); }; }; then
13525 ac_cv_prog_cc_g
=yes
13527 echo "$as_me: failed program was:" >&5
13528 sed 's/^/| /' conftest.
$ac_ext >&5
13532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13534 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13535 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13536 if test "$ac_test_CFLAGS" = set; then
13537 CFLAGS
=$ac_save_CFLAGS
13538 elif test $ac_cv_prog_cc_g = yes; then
13539 if test "$GCC" = yes; then
13545 if test "$GCC" = yes; then
13557 ac_cpp
='$CXXCPP $CPPFLAGS'
13558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13562 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13563 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13564 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13565 echo $ECHO_N "(cached) $ECHO_C" >&6
13567 cat >conftest.
$ac_ext <<_ACEOF
13570 cat confdefs.h
>>conftest.
$ac_ext
13571 cat >>conftest.
$ac_ext <<_ACEOF
13572 /* end confdefs.h. */
13585 rm -f conftest.
$ac_objext
13586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13587 (eval $ac_compile) 2>conftest.er1
13589 grep -v '^ *+' conftest.er1
>conftest.err
13591 cat conftest.err
>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); } &&
13594 { ac_try
='test -z "$ac_cxx_werror_flag"
13595 || test ! -s conftest.err'
13596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13597 (eval $ac_try) 2>&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); }; } &&
13601 { ac_try
='test -s conftest.$ac_objext'
13602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13603 (eval $ac_try) 2>&5
13605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13606 (exit $ac_status); }; }; then
13607 bakefile_compiler_xlc
=yes
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.
$ac_ext >&5
13612 bakefile_compiler_xlc
=no
13614 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13615 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13618 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13619 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13621 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13623 ac_cpp
='$CXXCPP $CPPFLAGS'
13624 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13625 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13626 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13633 ac_cpp
='$CXXCPP $CPPFLAGS'
13634 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13635 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13636 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13638 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13639 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13640 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 cat >conftest.
$ac_ext <<_ACEOF
13646 cat confdefs.h
>>conftest.
$ac_ext
13647 cat >>conftest.
$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13661 rm -f conftest.
$ac_objext
13662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13663 (eval $ac_compile) 2>conftest.er1
13665 grep -v '^ *+' conftest.er1
>conftest.err
13667 cat conftest.err
>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); } &&
13670 { ac_try
='test -z "$ac_cxx_werror_flag"
13671 || test ! -s conftest.err'
13672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13673 (eval $ac_try) 2>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); }; } &&
13677 { ac_try
='test -s conftest.$ac_objext'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; }; then
13683 bakefile_compiler_mwerks
=yes
13685 echo "$as_me: failed program was:" >&5
13686 sed 's/^/| /' conftest.
$ac_ext >&5
13688 bakefile_compiler_mwerks
=no
13690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13691 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13694 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13695 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13697 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13699 ac_cpp
='$CXXCPP $CPPFLAGS'
13700 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13701 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13702 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13706 ac_cpp
='$CXXCPP $CPPFLAGS'
13707 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13708 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13709 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13711 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13712 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13713 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13714 echo $ECHO_N "(cached) $ECHO_C" >&6
13716 cat >conftest.
$ac_ext <<_ACEOF
13719 cat confdefs.h
>>conftest.
$ac_ext
13720 cat >>conftest.
$ac_ext <<_ACEOF
13721 /* end confdefs.h. */
13734 rm -f conftest.
$ac_objext
13735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13736 (eval $ac_compile) 2>conftest.er1
13738 grep -v '^ *+' conftest.er1
>conftest.err
13740 cat conftest.err
>&5
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); } &&
13743 { ac_try
='test -z "$ac_cxx_werror_flag"
13744 || test ! -s conftest.err'
13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746 (eval $ac_try) 2>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); }; } &&
13750 { ac_try
='test -s conftest.$ac_objext'
13751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13752 (eval $ac_try) 2>&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); }; }; then
13756 bakefile_compiler_xlc
=yes
13758 echo "$as_me: failed program was:" >&5
13759 sed 's/^/| /' conftest.
$ac_ext >&5
13761 bakefile_compiler_xlc
=no
13763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13764 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13767 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13768 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13770 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13772 ac_cpp
='$CXXCPP $CPPFLAGS'
13773 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13774 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13775 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13784 ac_cpp
='$CXXCPP $CPPFLAGS'
13785 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13786 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13787 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13789 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13790 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13791 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13794 cat >conftest.
$ac_ext <<_ACEOF
13797 cat confdefs.h
>>conftest.
$ac_ext
13798 cat >>conftest.
$ac_ext <<_ACEOF
13799 /* end confdefs.h. */
13805 #ifndef _SGI_COMPILER_VERSION
13813 rm -f conftest.
$ac_objext
13814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13815 (eval $ac_compile) 2>conftest.er1
13817 grep -v '^ *+' conftest.er1
>conftest.err
13819 cat conftest.err
>&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } &&
13822 { ac_try
='test -z "$ac_cxx_werror_flag"
13823 || test ! -s conftest.err'
13824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13825 (eval $ac_try) 2>&5
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); }; } &&
13829 { ac_try
='test -s conftest.$ac_objext'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; }; then
13835 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13837 echo "$as_me: failed program was:" >&5
13838 sed 's/^/| /' conftest.
$ac_ext >&5
13840 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13847 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13848 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13850 ac_cpp
='$CXXCPP $CPPFLAGS'
13851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13855 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13868 ac_cpp
='$CXXCPP $CPPFLAGS'
13869 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13870 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13871 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13873 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13874 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13875 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13876 echo $ECHO_N "(cached) $ECHO_C" >&6
13878 cat >conftest.
$ac_ext <<_ACEOF
13881 cat confdefs.h
>>conftest.
$ac_ext
13882 cat >>conftest.
$ac_ext <<_ACEOF
13883 /* end confdefs.h. */
13897 rm -f conftest.
$ac_objext
13898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13899 (eval $ac_compile) 2>conftest.er1
13901 grep -v '^ *+' conftest.er1
>conftest.err
13903 cat conftest.err
>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); } &&
13906 { ac_try
='test -z "$ac_cxx_werror_flag"
13907 || test ! -s conftest.err'
13908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13909 (eval $ac_try) 2>&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; } &&
13913 { ac_try
='test -s conftest.$ac_objext'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; }; then
13919 bakefile_cv_cxx_compiler___HP_aCC
=yes
13921 echo "$as_me: failed program was:" >&5
13922 sed 's/^/| /' conftest.
$ac_ext >&5
13924 bakefile_cv_cxx_compiler___HP_aCC
=no
13927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13931 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13932 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13934 ac_cpp
='$CXXCPP $CPPFLAGS'
13935 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13936 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13937 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13939 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13952 ac_cpp
='$CXXCPP $CPPFLAGS'
13953 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13954 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13955 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13957 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
13958 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
13959 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 cat >conftest.
$ac_ext <<_ACEOF
13965 cat confdefs.h
>>conftest.
$ac_ext
13966 cat >>conftest.
$ac_ext <<_ACEOF
13967 /* end confdefs.h. */
13981 rm -f conftest.
$ac_objext
13982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13983 (eval $ac_compile) 2>conftest.er1
13985 grep -v '^ *+' conftest.er1
>conftest.err
13987 cat conftest.err
>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); } &&
13990 { ac_try
='test -z "$ac_cxx_werror_flag"
13991 || test ! -s conftest.err'
13992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13993 (eval $ac_try) 2>&5
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; } &&
13997 { ac_try
='test -s conftest.$ac_objext'
13998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13999 (eval $ac_try) 2>&5
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); }; }; then
14003 bakefile_cv_cxx_compiler___DECCXX
=yes
14005 echo "$as_me: failed program was:" >&5
14006 sed 's/^/| /' conftest.
$ac_ext >&5
14008 bakefile_cv_cxx_compiler___DECCXX
=no
14011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14015 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14016 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14018 ac_cpp
='$CXXCPP $CPPFLAGS'
14019 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14020 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14021 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14023 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14036 ac_cpp
='$CXXCPP $CPPFLAGS'
14037 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14038 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14039 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14041 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14042 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14043 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14044 echo $ECHO_N "(cached) $ECHO_C" >&6
14046 cat >conftest.
$ac_ext <<_ACEOF
14049 cat confdefs.h
>>conftest.
$ac_ext
14050 cat >>conftest.
$ac_ext <<_ACEOF
14051 /* end confdefs.h. */
14057 #ifndef __SUNPRO_CC
14065 rm -f conftest.
$ac_objext
14066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14067 (eval $ac_compile) 2>conftest.er1
14069 grep -v '^ *+' conftest.er1
>conftest.err
14071 cat conftest.err
>&5
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); } &&
14074 { ac_try
='test -z "$ac_cxx_werror_flag"
14075 || test ! -s conftest.err'
14076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14077 (eval $ac_try) 2>&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); }; } &&
14081 { ac_try
='test -s conftest.$ac_objext'
14082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14083 (eval $ac_try) 2>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); }; }; then
14087 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14089 echo "$as_me: failed program was:" >&5
14090 sed 's/^/| /' conftest.
$ac_ext >&5
14092 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14099 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14100 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14102 ac_cpp
='$CXXCPP $CPPFLAGS'
14103 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14104 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14105 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14107 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14121 ac_cpp
='$CPP $CPPFLAGS'
14122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14127 if test -n "$ac_tool_prefix"; then
14128 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14129 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14130 echo "$as_me:$LINENO: checking for $ac_word" >&5
14131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14132 if test "${ac_cv_prog_RANLIB+set}" = set; then
14133 echo $ECHO_N "(cached) $ECHO_C" >&6
14135 if test -n "$RANLIB"; then
14136 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14139 for as_dir
in $PATH
14142 test -z "$as_dir" && as_dir
=.
14143 for ac_exec_ext
in '' $ac_executable_extensions; do
14144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14145 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14154 RANLIB
=$ac_cv_prog_RANLIB
14155 if test -n "$RANLIB"; then
14156 echo "$as_me:$LINENO: result: $RANLIB" >&5
14157 echo "${ECHO_T}$RANLIB" >&6
14159 echo "$as_me:$LINENO: result: no" >&5
14160 echo "${ECHO_T}no" >&6
14164 if test -z "$ac_cv_prog_RANLIB"; then
14165 ac_ct_RANLIB
=$RANLIB
14166 # Extract the first word of "ranlib", so it can be a program name with args.
14167 set dummy ranlib
; ac_word
=$2
14168 echo "$as_me:$LINENO: checking for $ac_word" >&5
14169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14170 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14171 echo $ECHO_N "(cached) $ECHO_C" >&6
14173 if test -n "$ac_ct_RANLIB"; then
14174 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14177 for as_dir
in $PATH
14180 test -z "$as_dir" && as_dir
=.
14181 for ac_exec_ext
in '' $ac_executable_extensions; do
14182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14183 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14190 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14193 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14194 if test -n "$ac_ct_RANLIB"; then
14195 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14196 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14198 echo "$as_me:$LINENO: result: no" >&5
14199 echo "${ECHO_T}no" >&6
14202 RANLIB
=$ac_ct_RANLIB
14204 RANLIB
="$ac_cv_prog_RANLIB"
14208 if test -n "$ac_tool_prefix"; then
14209 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14210 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14211 echo "$as_me:$LINENO: checking for $ac_word" >&5
14212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14213 if test "${ac_cv_prog_AR+set}" = set; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 if test -n "$AR"; then
14217 ac_cv_prog_AR
="$AR" # Let the user override the test.
14219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14220 for as_dir
in $PATH
14223 test -z "$as_dir" && as_dir
=.
14224 for ac_exec_ext
in '' $ac_executable_extensions; do
14225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14226 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14236 if test -n "$AR"; then
14237 echo "$as_me:$LINENO: result: $AR" >&5
14238 echo "${ECHO_T}$AR" >&6
14240 echo "$as_me:$LINENO: result: no" >&5
14241 echo "${ECHO_T}no" >&6
14245 if test -z "$ac_cv_prog_AR"; then
14247 # Extract the first word of "ar", so it can be a program name with args.
14248 set dummy
ar; ac_word
=$2
14249 echo "$as_me:$LINENO: checking for $ac_word" >&5
14250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14251 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14252 echo $ECHO_N "(cached) $ECHO_C" >&6
14254 if test -n "$ac_ct_AR"; then
14255 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14258 for as_dir
in $PATH
14261 test -z "$as_dir" && as_dir
=.
14262 for ac_exec_ext
in '' $ac_executable_extensions; do
14263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14264 ac_cv_prog_ac_ct_AR
="ar"
14265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14273 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14274 if test -n "$ac_ct_AR"; then
14275 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14276 echo "${ECHO_T}$ac_ct_AR" >&6
14278 echo "$as_me:$LINENO: result: no" >&5
14279 echo "${ECHO_T}no" >&6
14284 AR
="$ac_cv_prog_AR"
14287 if test "x$AR" = "x" ; then
14288 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14289 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14290 { (exit 1); exit 1; }; }
14293 # Find a good install program. We prefer a C program (faster),
14294 # so one script is as good as another. But avoid the broken or
14295 # incompatible versions:
14296 # SysV /etc/install, /usr/sbin/install
14297 # SunOS /usr/etc/install
14298 # IRIX /sbin/install
14300 # AmigaOS /C/install, which installs bootblocks on floppy discs
14301 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14302 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14303 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14304 # OS/2's system install, which has a completely different semantic
14305 # ./install, which can be erroneously created by make from ./install.sh.
14306 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14307 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14308 if test -z "$INSTALL"; then
14309 if test "${ac_cv_path_install+set}" = set; then
14310 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14313 for as_dir
in $PATH
14316 test -z "$as_dir" && as_dir
=.
14317 # Account for people who put trailing slashes in PATH elements.
14319 .
/ | .
// | /cC
/* | \
14320 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14321 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14324 # OSF1 and SCO ODT 3.0 have their own names for install.
14325 # Don't use installbsd from OSF since it installs stuff as root
14327 for ac_prog
in ginstall scoinst
install; do
14328 for ac_exec_ext
in '' $ac_executable_extensions; do
14329 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14330 if test $ac_prog = install &&
14331 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14332 # AIX install. It has an incompatible calling convention.
14334 elif test $ac_prog = install &&
14335 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14336 # program-specific install script used by HP pwplus--don't use.
14339 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14351 if test "${ac_cv_path_install+set}" = set; then
14352 INSTALL
=$ac_cv_path_install
14354 # As a last resort, use the slow shell script. We don't cache a
14355 # path for INSTALL within a source directory, because that will
14356 # break other packages using the cache if that directory is
14357 # removed, or if the path is relative.
14358 INSTALL
=$ac_install_sh
14361 echo "$as_me:$LINENO: result: $INSTALL" >&5
14362 echo "${ECHO_T}$INSTALL" >&6
14364 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14365 # It thinks the first close brace ends the variable substitution.
14366 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14368 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14370 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14376 ?
:* ) # Drive letter, considered as absolute.
14379 INSTALL
=`pwd`/${INSTALL} ;;
14386 INSTALL_PROGRAM
="cp -fp"
14387 INSTALL_DATA
="cp -fp"
14393 if test -n "$ac_tool_prefix"; then
14394 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14395 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14396 echo "$as_me:$LINENO: checking for $ac_word" >&5
14397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14398 if test "${ac_cv_prog_STRIP+set}" = set; then
14399 echo $ECHO_N "(cached) $ECHO_C" >&6
14401 if test -n "$STRIP"; then
14402 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14405 for as_dir
in $PATH
14408 test -z "$as_dir" && as_dir
=.
14409 for ac_exec_ext
in '' $ac_executable_extensions; do
14410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14411 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14420 STRIP
=$ac_cv_prog_STRIP
14421 if test -n "$STRIP"; then
14422 echo "$as_me:$LINENO: result: $STRIP" >&5
14423 echo "${ECHO_T}$STRIP" >&6
14425 echo "$as_me:$LINENO: result: no" >&5
14426 echo "${ECHO_T}no" >&6
14430 if test -z "$ac_cv_prog_STRIP"; then
14432 # Extract the first word of "strip", so it can be a program name with args.
14433 set dummy strip
; ac_word
=$2
14434 echo "$as_me:$LINENO: checking for $ac_word" >&5
14435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14436 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14439 if test -n "$ac_ct_STRIP"; then
14440 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14443 for as_dir
in $PATH
14446 test -z "$as_dir" && as_dir
=.
14447 for ac_exec_ext
in '' $ac_executable_extensions; do
14448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14449 ac_cv_prog_ac_ct_STRIP
="strip"
14450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14456 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14459 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14460 if test -n "$ac_ct_STRIP"; then
14461 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14462 echo "${ECHO_T}$ac_ct_STRIP" >&6
14464 echo "$as_me:$LINENO: result: no" >&5
14465 echo "${ECHO_T}no" >&6
14470 STRIP
="$ac_cv_prog_STRIP"
14474 if test "$wxUSE_WINE" = "yes"; then
14475 if test -n "$ac_tool_prefix"; then
14476 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14477 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14478 echo "$as_me:$LINENO: checking for $ac_word" >&5
14479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14480 if test "${ac_cv_prog_WINDRES+set}" = set; then
14481 echo $ECHO_N "(cached) $ECHO_C" >&6
14483 if test -n "$WINDRES"; then
14484 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14487 for as_dir
in $PATH
14490 test -z "$as_dir" && as_dir
=.
14491 for ac_exec_ext
in '' $ac_executable_extensions; do
14492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14493 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14502 WINDRES
=$ac_cv_prog_WINDRES
14503 if test -n "$WINDRES"; then
14504 echo "$as_me:$LINENO: result: $WINDRES" >&5
14505 echo "${ECHO_T}$WINDRES" >&6
14507 echo "$as_me:$LINENO: result: no" >&5
14508 echo "${ECHO_T}no" >&6
14512 if test -z "$ac_cv_prog_WINDRES"; then
14513 ac_ct_WINDRES
=$WINDRES
14514 # Extract the first word of "wrc", so it can be a program name with args.
14515 set dummy wrc
; ac_word
=$2
14516 echo "$as_me:$LINENO: checking for $ac_word" >&5
14517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14518 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14519 echo $ECHO_N "(cached) $ECHO_C" >&6
14521 if test -n "$ac_ct_WINDRES"; then
14522 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14525 for as_dir
in $PATH
14528 test -z "$as_dir" && as_dir
=.
14529 for ac_exec_ext
in '' $ac_executable_extensions; do
14530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14531 ac_cv_prog_ac_ct_WINDRES
="wrc"
14532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14540 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14541 if test -n "$ac_ct_WINDRES"; then
14542 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14543 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14545 echo "$as_me:$LINENO: result: no" >&5
14546 echo "${ECHO_T}no" >&6
14549 WINDRES
=$ac_ct_WINDRES
14551 WINDRES
="$ac_cv_prog_WINDRES"
14557 *-*-cygwin* | *-*-mingw32* )
14558 if test -n "$ac_tool_prefix"; then
14559 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14560 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14561 echo "$as_me:$LINENO: checking for $ac_word" >&5
14562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14563 if test "${ac_cv_prog_WINDRES+set}" = set; then
14564 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 if test -n "$WINDRES"; then
14567 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14570 for as_dir
in $PATH
14573 test -z "$as_dir" && as_dir
=.
14574 for ac_exec_ext
in '' $ac_executable_extensions; do
14575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14576 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
14577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14585 WINDRES
=$ac_cv_prog_WINDRES
14586 if test -n "$WINDRES"; then
14587 echo "$as_me:$LINENO: result: $WINDRES" >&5
14588 echo "${ECHO_T}$WINDRES" >&6
14590 echo "$as_me:$LINENO: result: no" >&5
14591 echo "${ECHO_T}no" >&6
14595 if test -z "$ac_cv_prog_WINDRES"; then
14596 ac_ct_WINDRES
=$WINDRES
14597 # Extract the first word of "windres", so it can be a program name with args.
14598 set dummy windres
; ac_word
=$2
14599 echo "$as_me:$LINENO: checking for $ac_word" >&5
14600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14601 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14602 echo $ECHO_N "(cached) $ECHO_C" >&6
14604 if test -n "$ac_ct_WINDRES"; then
14605 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14608 for as_dir
in $PATH
14611 test -z "$as_dir" && as_dir
=.
14612 for ac_exec_ext
in '' $ac_executable_extensions; do
14613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14614 ac_cv_prog_ac_ct_WINDRES
="windres"
14615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14623 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14624 if test -n "$ac_ct_WINDRES"; then
14625 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14626 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14628 echo "$as_me:$LINENO: result: no" >&5
14629 echo "${ECHO_T}no" >&6
14632 WINDRES
=$ac_ct_WINDRES
14634 WINDRES
="$ac_cv_prog_WINDRES"
14638 if test -n "$ac_tool_prefix"; then
14639 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14640 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14641 echo "$as_me:$LINENO: checking for $ac_word" >&5
14642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14643 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14644 echo $ECHO_N "(cached) $ECHO_C" >&6
14646 if test -n "$DLLTOOL"; then
14647 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14650 for as_dir
in $PATH
14653 test -z "$as_dir" && as_dir
=.
14654 for ac_exec_ext
in '' $ac_executable_extensions; do
14655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14656 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14665 DLLTOOL
=$ac_cv_prog_DLLTOOL
14666 if test -n "$DLLTOOL"; then
14667 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14668 echo "${ECHO_T}$DLLTOOL" >&6
14670 echo "$as_me:$LINENO: result: no" >&5
14671 echo "${ECHO_T}no" >&6
14675 if test -z "$ac_cv_prog_DLLTOOL"; then
14676 ac_ct_DLLTOOL
=$DLLTOOL
14677 # Extract the first word of "dlltool", so it can be a program name with args.
14678 set dummy dlltool
; ac_word
=$2
14679 echo "$as_me:$LINENO: checking for $ac_word" >&5
14680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14681 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14682 echo $ECHO_N "(cached) $ECHO_C" >&6
14684 if test -n "$ac_ct_DLLTOOL"; then
14685 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14688 for as_dir
in $PATH
14691 test -z "$as_dir" && as_dir
=.
14692 for ac_exec_ext
in '' $ac_executable_extensions; do
14693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14694 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14703 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14704 if test -n "$ac_ct_DLLTOOL"; then
14705 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14706 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14708 echo "$as_me:$LINENO: result: no" >&5
14709 echo "${ECHO_T}no" >&6
14712 DLLTOOL
=$ac_ct_DLLTOOL
14714 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14721 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14722 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14723 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14724 echo $ECHO_N "(cached) $ECHO_C" >&6
14727 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14728 egrep -s GNU
> /dev
/null
); then
14729 wx_cv_prog_makeisgnu
="yes"
14731 wx_cv_prog_makeisgnu
="no"
14735 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14736 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14738 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14746 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14747 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14748 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14749 if test "${wx_cv_prog_makevpath+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 cat - << EOF > confMake
14759 if test ! -d sub
; then
14762 echo dummy
> sub
/file
14763 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14765 rm -f sub
/file check final_file confMake
14767 if test "$RESULT" = 0; then
14768 wx_cv_prog_makevpath
="yes"
14770 wx_cv_prog_makevpath
="no"
14774 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14775 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14777 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14778 { { echo "$as_me:$LINENO: error:
14779 You need a make-utility that is able to use the variable
14781 If your version of make does not support VPATH correctly,
14782 please install GNU-make (possibly as gmake), and start
14783 configure with the following command:
14784 export MAKE=gmake; ./configure for sh-type shells
14785 setenv MAKE gmake; ./configure for csh-type shells
14786 Also please do remember to use gmake in this case every time
14787 you are trying to compile.
14789 echo "$as_me: error:
14790 You need a make-utility that is able to use the variable
14792 If your version of make does not support VPATH correctly,
14793 please install GNU-make (possibly as gmake), and start
14794 configure with the following command:
14795 export MAKE=gmake; ./configure for sh-type shells
14796 setenv MAKE gmake; ./configure for csh-type shells
14797 Also please do remember to use gmake in this case every time
14798 you are trying to compile.
14800 { (exit 1); exit 1; }; }
14802 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14803 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14805 if test "$LN_S" = "ln -s"; then
14806 echo "$as_me:$LINENO: result: yes" >&5
14807 echo "${ECHO_T}yes" >&6
14809 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14810 echo "${ECHO_T}no, using $LN_S" >&6
14814 for ac_prog
in lndir
14816 # Extract the first word of "$ac_prog", so it can be a program name with args.
14817 set dummy
$ac_prog; ac_word
=$2
14818 echo "$as_me:$LINENO: checking for $ac_word" >&5
14819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14820 if test "${ac_cv_prog_LNDIR+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14823 if test -n "$LNDIR"; then
14824 ac_cv_prog_LNDIR
="$LNDIR" # Let the user override the test.
14826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14827 for as_dir
in $PATH
14830 test -z "$as_dir" && as_dir
=.
14831 for ac_exec_ext
in '' $ac_executable_extensions; do
14832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14833 ac_cv_prog_LNDIR
="$ac_prog"
14834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14842 LNDIR
=$ac_cv_prog_LNDIR
14843 if test -n "$LNDIR"; then
14844 echo "$as_me:$LINENO: result: $LNDIR" >&5
14845 echo "${ECHO_T}$LNDIR" >&6
14847 echo "$as_me:$LINENO: result: no" >&5
14848 echo "${ECHO_T}no" >&6
14851 test -n "$LNDIR" && break
14853 test -n "$LNDIR" || LNDIR
="cp -pR"
14858 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14859 CXXFLAGS
="-qunique $CXXFLAGS"
14863 powerpc
-*-darwin* )
14864 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14865 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14866 cat >conftest.
$ac_ext <<_ACEOF
14869 cat confdefs.h
>>conftest.
$ac_ext
14870 cat >>conftest.
$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14876 #ifndef __POWERPC__
14877 choke me for lack of PowerPC
14884 rm -f conftest.
$ac_objext
14885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14886 (eval $ac_compile) 2>conftest.er1
14888 grep -v '^ *+' conftest.er1
>conftest.err
14890 cat conftest.err
>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); } &&
14893 { ac_try
='test -z "$ac_c_werror_flag"
14894 || test ! -s conftest.err'
14895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14896 (eval $ac_try) 2>&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); }; } &&
14900 { ac_try
='test -s conftest.$ac_objext'
14901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14902 (eval $ac_try) 2>&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; }; then
14906 echo "$as_me:$LINENO: result: yes" >&5
14907 echo "${ECHO_T}yes" >&6
14909 echo "$as_me: failed program was:" >&5
14910 sed 's/^/| /' conftest.
$ac_ext >&5
14912 echo "$as_me:$LINENO: result: no" >&5
14913 echo "${ECHO_T}no" >&6
14914 cat >>confdefs.h
<<\_ACEOF
14915 #define __POWERPC__ 1
14920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14926 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14927 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14928 cat >conftest.
$ac_ext <<_ACEOF
14931 cat confdefs.h
>>conftest.
$ac_ext
14932 cat >>conftest.
$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14934 #include <CoreFoundation/CFBase.h>
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"
14954 || test ! -s conftest.err'
14955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956 (eval $ac_try) 2>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); }; } &&
14960 { ac_try
='test -s conftest.$ac_objext'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; }; then
14966 echo "$as_me:$LINENO: result: yes" >&5
14967 echo "${ECHO_T}yes" >&6
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.
$ac_ext >&5
14972 echo "$as_me:$LINENO: result: no" >&5
14973 echo "${ECHO_T}no" >&6
14974 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14975 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14976 cat >conftest.
$ac_ext <<_ACEOF
14979 cat confdefs.h
>>conftest.
$ac_ext
14980 cat >>conftest.
$ac_ext <<_ACEOF
14981 /* end confdefs.h. */
14982 #define __CF_USE_FRAMEWORK_INCLUDES__
14983 #include <CoreFoundation/CFBase.h>
14993 rm -f conftest.
$ac_objext
14994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14995 (eval $ac_compile) 2>conftest.er1
14997 grep -v '^ *+' conftest.er1
>conftest.err
14999 cat conftest.err
>&5
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); } &&
15002 { ac_try
='test -z "$ac_c_werror_flag"
15003 || test ! -s conftest.err'
15004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005 (eval $ac_try) 2>&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; } &&
15009 { ac_try
='test -s conftest.$ac_objext'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; }; then
15015 echo "$as_me:$LINENO: result: yes" >&5
15016 echo "${ECHO_T}yes" >&6
15017 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.
$ac_ext >&5
15022 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15023 See \`config.log' for more details." >&5
15024 echo "$as_me: error: no. CoreFoundation not available.
15025 See \`config.log' for more details." >&2;}
15026 { (exit 1); exit 1; }; }
15029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15038 *-pc-os2_emx | *-pc-os2-emx )
15039 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15040 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15041 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15042 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 ac_check_lib_save_LIBS
=$LIBS
15046 LIBS
="-lcExt $LIBS"
15047 cat >conftest.
$ac_ext <<_ACEOF
15050 cat confdefs.h
>>conftest.
$ac_ext
15051 cat >>conftest.
$ac_ext <<_ACEOF
15052 /* end confdefs.h. */
15054 /* Override any gcc2 internal prototype to avoid an error. */
15058 /* We use char because int might match the return type of a gcc2
15059 builtin and then its argument prototype would still apply. */
15069 rm -f conftest.
$ac_objext conftest
$ac_exeext
15070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15071 (eval $ac_link) 2>conftest.er1
15073 grep -v '^ *+' conftest.er1
>conftest.err
15075 cat conftest.err
>&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); } &&
15078 { ac_try
='test -z "$ac_c_werror_flag"
15079 || test ! -s conftest.err'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; } &&
15085 { ac_try
='test -s conftest$ac_exeext'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; }; then
15091 ac_cv_lib_cExt_drand48
=yes
15093 echo "$as_me: failed program was:" >&5
15094 sed 's/^/| /' conftest.
$ac_ext >&5
15096 ac_cv_lib_cExt_drand48
=no
15098 rm -f conftest.err conftest.
$ac_objext \
15099 conftest
$ac_exeext conftest.
$ac_ext
15100 LIBS
=$ac_check_lib_save_LIBS
15102 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15103 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15104 if test $ac_cv_lib_cExt_drand48 = yes; then
15105 LIBS
="$LIBS -lcExt"
15109 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15111 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15112 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15113 if test "${wx_cv_gccversion+set}" = set; then
15114 echo $ECHO_N "(cached) $ECHO_C" >&6
15117 if test "$cross_compiling" = yes; then
15118 wx_cv_gccversion
="EMX2"
15121 cat >conftest.
$ac_ext <<_ACEOF
15124 cat confdefs.h
>>conftest.
$ac_ext
15125 cat >>conftest.
$ac_ext <<_ACEOF
15126 /* end confdefs.h. */
15132 FILE *f=fopen("conftestval", "w");
15137 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15139 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15149 rm -f conftest
$ac_exeext
15150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15151 (eval $ac_link) 2>&5
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15160 wx_cv_gccversion
=`cat conftestval`
15162 echo "$as_me: program exited with status $ac_status" >&5
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.
$ac_ext >&5
15166 ( exit $ac_status )
15167 wx_cv_gccversion
="EMX2"
15169 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15173 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15174 echo "${ECHO_T}$wx_cv_gccversion" >&6
15175 if test "$wx_cv_gccversion" = "EMX2"; then
15176 LIBS
="$LIBS -lstdcpp"
15177 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15179 if test "$wx_cv_gccversion" = "EMX3"; then
15180 LIBS
="$LIBS -lstdcxx -lgcc"
15181 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15183 LIBS
="$LIBS -lstdc++"
15186 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15187 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15188 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15198 ac_cpp
='$CXXCPP $CPPFLAGS'
15199 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15200 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15201 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15204 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15205 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15206 if test "${ac_cv_string_strcasecmp+set}" = set; then
15207 echo $ECHO_N "(cached) $ECHO_C" >&6
15210 cat >conftest.
$ac_ext <<_ACEOF
15213 cat confdefs.h
>>conftest.
$ac_ext
15214 cat >>conftest.
$ac_ext <<_ACEOF
15215 /* end confdefs.h. */
15217 #include <string.h>
15223 strcasecmp("foo", "bar");
15229 rm -f conftest.
$ac_objext conftest
$ac_exeext
15230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15231 (eval $ac_link) 2>conftest.er1
15233 grep -v '^ *+' conftest.er1
>conftest.err
15235 cat conftest.err
>&5
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); } &&
15238 { ac_try
='test -z "$ac_cxx_werror_flag"
15239 || test ! -s conftest.err'
15240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15241 (eval $ac_try) 2>&5
15243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244 (exit $ac_status); }; } &&
15245 { ac_try
='test -s conftest$ac_exeext'
15246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15247 (eval $ac_try) 2>&5
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); }; }; then
15251 ac_cv_string_strcasecmp
=yes
15253 echo "$as_me: failed program was:" >&5
15254 sed 's/^/| /' conftest.
$ac_ext >&5
15256 ac_cv_string_strcasecmp
=no
15259 rm -f conftest.err conftest.
$ac_objext \
15260 conftest
$ac_exeext conftest.
$ac_ext
15263 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15264 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15266 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15267 cat >>confdefs.h
<<\_ACEOF
15268 #define HAVE_STRCASECMP_IN_STRING_H 1
15272 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15273 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15274 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15278 cat >conftest.
$ac_ext <<_ACEOF
15281 cat confdefs.h
>>conftest.
$ac_ext
15282 cat >>conftest.
$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15285 #include <strings.h>
15291 strcasecmp("foo", "bar");
15297 rm -f conftest.
$ac_objext conftest
$ac_exeext
15298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15299 (eval $ac_link) 2>conftest.er1
15301 grep -v '^ *+' conftest.er1
>conftest.err
15303 cat conftest.err
>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); } &&
15306 { ac_try
='test -z "$ac_cxx_werror_flag"
15307 || test ! -s conftest.err'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; } &&
15313 { ac_try
='test -s conftest$ac_exeext'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15319 ac_cv_strings_strcasecmp
=yes
15321 echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.
$ac_ext >&5
15324 ac_cv_strings_strcasecmp
=no
15327 rm -f conftest.err conftest.
$ac_objext \
15328 conftest
$ac_exeext conftest.
$ac_ext
15331 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15332 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15334 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15335 cat >>confdefs.h
<<\_ACEOF
15336 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15340 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15341 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15342 { (exit 1); exit 1; }; }
15347 ac_cpp
='$CPP $CPPFLAGS'
15348 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15349 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15350 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15356 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15357 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15358 if test "${ac_cv_header_stdc+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 cat >conftest.
$ac_ext <<_ACEOF
15364 cat confdefs.h
>>conftest.
$ac_ext
15365 cat >>conftest.
$ac_ext <<_ACEOF
15366 /* end confdefs.h. */
15367 #include <stdlib.h>
15368 #include <stdarg.h>
15369 #include <string.h>
15380 rm -f conftest.
$ac_objext
15381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15382 (eval $ac_compile) 2>conftest.er1
15384 grep -v '^ *+' conftest.er1
>conftest.err
15386 cat conftest.err
>&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); } &&
15389 { ac_try
='test -z "$ac_c_werror_flag"
15390 || test ! -s conftest.err'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; } &&
15396 { ac_try
='test -s conftest.$ac_objext'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; }; then
15402 ac_cv_header_stdc
=yes
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.
$ac_ext >&5
15407 ac_cv_header_stdc
=no
15409 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15411 if test $ac_cv_header_stdc = yes; then
15412 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15413 cat >conftest.
$ac_ext <<_ACEOF
15416 cat confdefs.h
>>conftest.
$ac_ext
15417 cat >>conftest.
$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419 #include <string.h>
15422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15423 $EGREP "memchr" >/dev
/null
2>&1; then
15426 ac_cv_header_stdc
=no
15432 if test $ac_cv_header_stdc = yes; then
15433 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15434 cat >conftest.
$ac_ext <<_ACEOF
15437 cat confdefs.h
>>conftest.
$ac_ext
15438 cat >>conftest.
$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15440 #include <stdlib.h>
15443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15444 $EGREP "free" >/dev
/null
2>&1; then
15447 ac_cv_header_stdc
=no
15453 if test $ac_cv_header_stdc = yes; then
15454 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15455 if test "$cross_compiling" = yes; then
15458 cat >conftest.
$ac_ext <<_ACEOF
15461 cat confdefs.h
>>conftest.
$ac_ext
15462 cat >>conftest.
$ac_ext <<_ACEOF
15463 /* end confdefs.h. */
15465 #if ((' ' & 0x0FF) == 0x020)
15466 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15467 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15469 # define ISLOWER(c) \
15470 (('a' <= (c) && (c) <= 'i') \
15471 || ('j' <= (c) && (c) <= 'r') \
15472 || ('s' <= (c) && (c) <= 'z'))
15473 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15476 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15481 for (i = 0; i < 256; i++)
15482 if (XOR (islower (i), ISLOWER (i))
15483 || toupper (i) != TOUPPER (i))
15488 rm -f conftest
$ac_exeext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15490 (eval $ac_link) 2>&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15495 (eval $ac_try) 2>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; }; then
15501 echo "$as_me: program exited with status $ac_status" >&5
15502 echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.
$ac_ext >&5
15505 ( exit $ac_status )
15506 ac_cv_header_stdc
=no
15508 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15512 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15513 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15514 if test $ac_cv_header_stdc = yes; then
15516 cat >>confdefs.h
<<\_ACEOF
15517 #define STDC_HEADERS 1
15522 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15532 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15533 inttypes.h stdint.h unistd.h
15535 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15536 echo "$as_me:$LINENO: checking for $ac_header" >&5
15537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 cat >conftest.
$ac_ext <<_ACEOF
15544 cat confdefs.h
>>conftest.
$ac_ext
15545 cat >>conftest.
$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15547 $ac_includes_default
15549 #include <$ac_header>
15551 rm -f conftest.
$ac_objext
15552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15553 (eval $ac_compile) 2>conftest.er1
15555 grep -v '^ *+' conftest.er1
>conftest.err
15557 cat conftest.err
>&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } &&
15560 { ac_try
='test -z "$ac_c_werror_flag"
15561 || test ! -s conftest.err'
15562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15563 (eval $ac_try) 2>&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; } &&
15567 { ac_try
='test -s conftest.$ac_objext'
15568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15569 (eval $ac_try) 2>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); }; }; then
15573 eval "$as_ac_Header=yes"
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.
$ac_ext >&5
15578 eval "$as_ac_Header=no"
15580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15585 cat >>confdefs.h
<<_ACEOF
15586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15595 for ac_header
in stdlib.h
15597 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15599 echo "$as_me:$LINENO: checking for $ac_header" >&5
15600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15602 echo $ECHO_N "(cached) $ECHO_C" >&6
15604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15607 # Is the header compilable?
15608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15610 cat >conftest.
$ac_ext <<_ACEOF
15613 cat confdefs.h
>>conftest.
$ac_ext
15614 cat >>conftest.
$ac_ext <<_ACEOF
15615 /* end confdefs.h. */
15616 $ac_includes_default
15617 #include <$ac_header>
15619 rm -f conftest.
$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>conftest.er1
15623 grep -v '^ *+' conftest.er1
>conftest.err
15625 cat conftest.err
>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try
='test -z "$ac_c_werror_flag"
15629 || test ! -s conftest.err'
15630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15631 (eval $ac_try) 2>&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; } &&
15635 { ac_try
='test -s conftest.$ac_objext'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; }; then
15641 ac_header_compiler
=yes
15643 echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.
$ac_ext >&5
15646 ac_header_compiler
=no
15648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15650 echo "${ECHO_T}$ac_header_compiler" >&6
15652 # Is the header present?
15653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15655 cat >conftest.
$ac_ext <<_ACEOF
15658 cat confdefs.h
>>conftest.
$ac_ext
15659 cat >>conftest.
$ac_ext <<_ACEOF
15660 /* end confdefs.h. */
15661 #include <$ac_header>
15663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15664 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15666 grep -v '^ *+' conftest.er1
>conftest.err
15668 cat conftest.err
>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); } >/dev
/null
; then
15671 if test -s conftest.err
; then
15672 ac_cpp_err
=$ac_c_preproc_warn_flag
15673 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15680 if test -z "$ac_cpp_err"; then
15681 ac_header_preproc
=yes
15683 echo "$as_me: failed program was:" >&5
15684 sed 's/^/| /' conftest.
$ac_ext >&5
15686 ac_header_preproc
=no
15688 rm -f conftest.err conftest.
$ac_ext
15689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15690 echo "${ECHO_T}$ac_header_preproc" >&6
15692 # So? What about this header?
15693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15695 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15699 ac_header_preproc
=yes
15702 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15704 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15705 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15706 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15708 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15709 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15712 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15716 ## ----------------------------------------- ##
15717 ## Report this to wx-dev@lists.wxwidgets.org ##
15718 ## ----------------------------------------- ##
15721 sed "s/^/$as_me: WARNING: /" >&2
15724 echo "$as_me:$LINENO: checking for $ac_header" >&5
15725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15729 eval "$as_ac_Header=\$ac_header_preproc"
15731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15736 cat >>confdefs.h
<<_ACEOF
15737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15745 for ac_header
in malloc.h
15747 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15749 echo "$as_me:$LINENO: checking for $ac_header" >&5
15750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15752 echo $ECHO_N "(cached) $ECHO_C" >&6
15754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15757 # Is the header compilable?
15758 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15760 cat >conftest.
$ac_ext <<_ACEOF
15763 cat confdefs.h
>>conftest.
$ac_ext
15764 cat >>conftest.
$ac_ext <<_ACEOF
15765 /* end confdefs.h. */
15766 $ac_includes_default
15767 #include <$ac_header>
15769 rm -f conftest.
$ac_objext
15770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15771 (eval $ac_compile) 2>conftest.er1
15773 grep -v '^ *+' conftest.er1
>conftest.err
15775 cat conftest.err
>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); } &&
15778 { ac_try
='test -z "$ac_c_werror_flag"
15779 || test ! -s conftest.err'
15780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15781 (eval $ac_try) 2>&5
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); }; } &&
15785 { ac_try
='test -s conftest.$ac_objext'
15786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15787 (eval $ac_try) 2>&5
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); }; }; then
15791 ac_header_compiler
=yes
15793 echo "$as_me: failed program was:" >&5
15794 sed 's/^/| /' conftest.
$ac_ext >&5
15796 ac_header_compiler
=no
15798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15800 echo "${ECHO_T}$ac_header_compiler" >&6
15802 # Is the header present?
15803 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15804 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15805 cat >conftest.
$ac_ext <<_ACEOF
15808 cat confdefs.h
>>conftest.
$ac_ext
15809 cat >>conftest.
$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15811 #include <$ac_header>
15813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15814 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15816 grep -v '^ *+' conftest.er1
>conftest.err
15818 cat conftest.err
>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } >/dev
/null
; then
15821 if test -s conftest.err
; then
15822 ac_cpp_err
=$ac_c_preproc_warn_flag
15823 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15830 if test -z "$ac_cpp_err"; then
15831 ac_header_preproc
=yes
15833 echo "$as_me: failed program was:" >&5
15834 sed 's/^/| /' conftest.
$ac_ext >&5
15836 ac_header_preproc
=no
15838 rm -f conftest.err conftest.
$ac_ext
15839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15840 echo "${ECHO_T}$ac_header_preproc" >&6
15842 # So? What about this header?
15843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15845 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15846 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15848 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15849 ac_header_preproc
=yes
15852 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15853 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15854 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15855 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15856 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15857 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15858 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15859 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15862 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15863 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15866 ## ----------------------------------------- ##
15867 ## Report this to wx-dev@lists.wxwidgets.org ##
15868 ## ----------------------------------------- ##
15871 sed "s/^/$as_me: WARNING: /" >&2
15874 echo "$as_me:$LINENO: checking for $ac_header" >&5
15875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15877 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 eval "$as_ac_Header=\$ac_header_preproc"
15881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15886 cat >>confdefs.h
<<_ACEOF
15887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15895 for ac_header
in unistd.h
15897 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15899 echo "$as_me:$LINENO: checking for $ac_header" >&5
15900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15902 echo $ECHO_N "(cached) $ECHO_C" >&6
15904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15907 # Is the header compilable?
15908 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15909 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15910 cat >conftest.
$ac_ext <<_ACEOF
15913 cat confdefs.h
>>conftest.
$ac_ext
15914 cat >>conftest.
$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15916 $ac_includes_default
15917 #include <$ac_header>
15919 rm -f conftest.
$ac_objext
15920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15921 (eval $ac_compile) 2>conftest.er1
15923 grep -v '^ *+' conftest.er1
>conftest.err
15925 cat conftest.err
>&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); } &&
15928 { ac_try
='test -z "$ac_c_werror_flag"
15929 || test ! -s conftest.err'
15930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15931 (eval $ac_try) 2>&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); }; } &&
15935 { ac_try
='test -s conftest.$ac_objext'
15936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15937 (eval $ac_try) 2>&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); }; }; then
15941 ac_header_compiler
=yes
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.
$ac_ext >&5
15946 ac_header_compiler
=no
15948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15950 echo "${ECHO_T}$ac_header_compiler" >&6
15952 # Is the header present?
15953 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15954 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15955 cat >conftest.
$ac_ext <<_ACEOF
15958 cat confdefs.h
>>conftest.
$ac_ext
15959 cat >>conftest.
$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15961 #include <$ac_header>
15963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15964 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15966 grep -v '^ *+' conftest.er1
>conftest.err
15968 cat conftest.err
>&5
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); } >/dev
/null
; then
15971 if test -s conftest.err
; then
15972 ac_cpp_err
=$ac_c_preproc_warn_flag
15973 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15980 if test -z "$ac_cpp_err"; then
15981 ac_header_preproc
=yes
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.
$ac_ext >&5
15986 ac_header_preproc
=no
15988 rm -f conftest.err conftest.
$ac_ext
15989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15990 echo "${ECHO_T}$ac_header_preproc" >&6
15992 # So? What about this header?
15993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15995 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15996 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15998 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15999 ac_header_preproc
=yes
16002 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16003 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16004 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16005 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16006 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16007 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16008 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16009 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16011 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16012 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16013 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16016 ## ----------------------------------------- ##
16017 ## Report this to wx-dev@lists.wxwidgets.org ##
16018 ## ----------------------------------------- ##
16021 sed "s/^/$as_me: WARNING: /" >&2
16024 echo "$as_me:$LINENO: checking for $ac_header" >&5
16025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16027 echo $ECHO_N "(cached) $ECHO_C" >&6
16029 eval "$as_ac_Header=\$ac_header_preproc"
16031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16036 cat >>confdefs.h
<<_ACEOF
16037 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16045 for ac_header
in wchar.h
16047 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16049 echo "$as_me:$LINENO: checking for $ac_header" >&5
16050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16057 # Is the header compilable?
16058 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16060 cat >conftest.
$ac_ext <<_ACEOF
16063 cat confdefs.h
>>conftest.
$ac_ext
16064 cat >>conftest.
$ac_ext <<_ACEOF
16065 /* end confdefs.h. */
16066 $ac_includes_default
16067 #include <$ac_header>
16069 rm -f conftest.
$ac_objext
16070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16071 (eval $ac_compile) 2>conftest.er1
16073 grep -v '^ *+' conftest.er1
>conftest.err
16075 cat conftest.err
>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); } &&
16078 { ac_try
='test -z "$ac_c_werror_flag"
16079 || test ! -s conftest.err'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; } &&
16085 { ac_try
='test -s conftest.$ac_objext'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; }; then
16091 ac_header_compiler
=yes
16093 echo "$as_me: failed program was:" >&5
16094 sed 's/^/| /' conftest.
$ac_ext >&5
16096 ac_header_compiler
=no
16098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16100 echo "${ECHO_T}$ac_header_compiler" >&6
16102 # Is the header present?
16103 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16105 cat >conftest.
$ac_ext <<_ACEOF
16108 cat confdefs.h
>>conftest.
$ac_ext
16109 cat >>conftest.
$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16111 #include <$ac_header>
16113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16114 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16116 grep -v '^ *+' conftest.er1
>conftest.err
16118 cat conftest.err
>&5
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); } >/dev
/null
; then
16121 if test -s conftest.err
; then
16122 ac_cpp_err
=$ac_c_preproc_warn_flag
16123 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16130 if test -z "$ac_cpp_err"; then
16131 ac_header_preproc
=yes
16133 echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.
$ac_ext >&5
16136 ac_header_preproc
=no
16138 rm -f conftest.err conftest.
$ac_ext
16139 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16140 echo "${ECHO_T}$ac_header_preproc" >&6
16142 # So? What about this header?
16143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16145 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16146 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16148 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16149 ac_header_preproc
=yes
16152 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16153 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16154 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16155 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16156 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16157 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16158 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16159 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16162 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16163 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16166 ## ----------------------------------------- ##
16167 ## Report this to wx-dev@lists.wxwidgets.org ##
16168 ## ----------------------------------------- ##
16171 sed "s/^/$as_me: WARNING: /" >&2
16174 echo "$as_me:$LINENO: checking for $ac_header" >&5
16175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16177 echo $ECHO_N "(cached) $ECHO_C" >&6
16179 eval "$as_ac_Header=\$ac_header_preproc"
16181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16186 cat >>confdefs.h
<<_ACEOF
16187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16195 if test "$ac_cv_header_wchar_h" != "yes"; then
16197 for ac_header
in wcstr.h
16199 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16201 echo "$as_me:$LINENO: checking for $ac_header" >&5
16202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16204 echo $ECHO_N "(cached) $ECHO_C" >&6
16206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16209 # Is the header compilable?
16210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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
16219 #include <$ac_header>
16221 rm -f conftest.
$ac_objext
16222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16223 (eval $ac_compile) 2>conftest.er1
16225 grep -v '^ *+' conftest.er1
>conftest.err
16227 cat conftest.err
>&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } &&
16230 { ac_try
='test -z "$ac_c_werror_flag"
16231 || test ! -s conftest.err'
16232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16233 (eval $ac_try) 2>&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); }; } &&
16237 { ac_try
='test -s conftest.$ac_objext'
16238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16239 (eval $ac_try) 2>&5
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); }; }; then
16243 ac_header_compiler
=yes
16245 echo "$as_me: failed program was:" >&5
16246 sed 's/^/| /' conftest.
$ac_ext >&5
16248 ac_header_compiler
=no
16250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16252 echo "${ECHO_T}$ac_header_compiler" >&6
16254 # Is the header present?
16255 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16256 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16257 cat >conftest.
$ac_ext <<_ACEOF
16260 cat confdefs.h
>>conftest.
$ac_ext
16261 cat >>conftest.
$ac_ext <<_ACEOF
16262 /* end confdefs.h. */
16263 #include <$ac_header>
16265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16266 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16268 grep -v '^ *+' conftest.er1
>conftest.err
16270 cat conftest.err
>&5
16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); } >/dev
/null
; then
16273 if test -s conftest.err
; then
16274 ac_cpp_err
=$ac_c_preproc_warn_flag
16275 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16282 if test -z "$ac_cpp_err"; then
16283 ac_header_preproc
=yes
16285 echo "$as_me: failed program was:" >&5
16286 sed 's/^/| /' conftest.
$ac_ext >&5
16288 ac_header_preproc
=no
16290 rm -f conftest.err conftest.
$ac_ext
16291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16292 echo "${ECHO_T}$ac_header_preproc" >&6
16294 # So? What about this header?
16295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16301 ac_header_preproc
=yes
16304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16318 ## ----------------------------------------- ##
16319 ## Report this to wx-dev@lists.wxwidgets.org ##
16320 ## ----------------------------------------- ##
16323 sed "s/^/$as_me: WARNING: /" >&2
16326 echo "$as_me:$LINENO: checking for $ac_header" >&5
16327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 eval "$as_ac_Header=\$ac_header_preproc"
16333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16338 cat >>confdefs.h
<<_ACEOF
16339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16349 for ac_header
in fnmatch.h
16351 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16353 echo "$as_me:$LINENO: checking for $ac_header" >&5
16354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16356 echo $ECHO_N "(cached) $ECHO_C" >&6
16358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16361 # Is the header compilable?
16362 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16363 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16364 cat >conftest.
$ac_ext <<_ACEOF
16367 cat confdefs.h
>>conftest.
$ac_ext
16368 cat >>conftest.
$ac_ext <<_ACEOF
16369 /* end confdefs.h. */
16370 $ac_includes_default
16371 #include <$ac_header>
16373 rm -f conftest.
$ac_objext
16374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16375 (eval $ac_compile) 2>conftest.er1
16377 grep -v '^ *+' conftest.er1
>conftest.err
16379 cat conftest.err
>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } &&
16382 { ac_try
='test -z "$ac_c_werror_flag"
16383 || test ! -s conftest.err'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; } &&
16389 { ac_try
='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_header_compiler
=yes
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.
$ac_ext >&5
16400 ac_header_compiler
=no
16402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16403 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16404 echo "${ECHO_T}$ac_header_compiler" >&6
16406 # Is the header present?
16407 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16408 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16409 cat >conftest.
$ac_ext <<_ACEOF
16412 cat confdefs.h
>>conftest.
$ac_ext
16413 cat >>conftest.
$ac_ext <<_ACEOF
16414 /* end confdefs.h. */
16415 #include <$ac_header>
16417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16418 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16420 grep -v '^ *+' conftest.er1
>conftest.err
16422 cat conftest.err
>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } >/dev
/null
; then
16425 if test -s conftest.err
; then
16426 ac_cpp_err
=$ac_c_preproc_warn_flag
16427 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16434 if test -z "$ac_cpp_err"; then
16435 ac_header_preproc
=yes
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.
$ac_ext >&5
16440 ac_header_preproc
=no
16442 rm -f conftest.err conftest.
$ac_ext
16443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16444 echo "${ECHO_T}$ac_header_preproc" >&6
16446 # So? What about this header?
16447 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16449 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16450 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16452 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16453 ac_header_preproc
=yes
16456 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16457 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16458 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16459 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16460 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16461 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16462 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16463 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16465 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16466 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16467 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16470 ## ----------------------------------------- ##
16471 ## Report this to wx-dev@lists.wxwidgets.org ##
16472 ## ----------------------------------------- ##
16475 sed "s/^/$as_me: WARNING: /" >&2
16478 echo "$as_me:$LINENO: checking for $ac_header" >&5
16479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16481 echo $ECHO_N "(cached) $ECHO_C" >&6
16483 eval "$as_ac_Header=\$ac_header_preproc"
16485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16486 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16490 cat >>confdefs.h
<<_ACEOF
16491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16500 for ac_header
in langinfo.h
16502 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16504 echo "$as_me:$LINENO: checking for $ac_header" >&5
16505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16507 echo $ECHO_N "(cached) $ECHO_C" >&6
16509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16510 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16512 # Is the header compilable?
16513 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16514 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16515 cat >conftest.
$ac_ext <<_ACEOF
16518 cat confdefs.h
>>conftest.
$ac_ext
16519 cat >>conftest.
$ac_ext <<_ACEOF
16520 /* end confdefs.h. */
16521 $ac_includes_default
16522 #include <$ac_header>
16524 rm -f conftest.
$ac_objext
16525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16526 (eval $ac_compile) 2>conftest.er1
16528 grep -v '^ *+' conftest.er1
>conftest.err
16530 cat conftest.err
>&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); } &&
16533 { ac_try
='test -z "$ac_c_werror_flag"
16534 || test ! -s conftest.err'
16535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16536 (eval $ac_try) 2>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; } &&
16540 { ac_try
='test -s conftest.$ac_objext'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; }; then
16546 ac_header_compiler
=yes
16548 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.
$ac_ext >&5
16551 ac_header_compiler
=no
16553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16554 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16555 echo "${ECHO_T}$ac_header_compiler" >&6
16557 # Is the header present?
16558 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16559 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16560 cat >conftest.
$ac_ext <<_ACEOF
16563 cat confdefs.h
>>conftest.
$ac_ext
16564 cat >>conftest.
$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16566 #include <$ac_header>
16568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16569 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16571 grep -v '^ *+' conftest.er1
>conftest.err
16573 cat conftest.err
>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } >/dev
/null
; then
16576 if test -s conftest.err
; then
16577 ac_cpp_err
=$ac_c_preproc_warn_flag
16578 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16585 if test -z "$ac_cpp_err"; then
16586 ac_header_preproc
=yes
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.
$ac_ext >&5
16591 ac_header_preproc
=no
16593 rm -f conftest.err conftest.
$ac_ext
16594 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16595 echo "${ECHO_T}$ac_header_preproc" >&6
16597 # So? What about this header?
16598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16604 ac_header_preproc
=yes
16607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16621 ## ----------------------------------------- ##
16622 ## Report this to wx-dev@lists.wxwidgets.org ##
16623 ## ----------------------------------------- ##
16626 sed "s/^/$as_me: WARNING: /" >&2
16629 echo "$as_me:$LINENO: checking for $ac_header" >&5
16630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16632 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 eval "$as_ac_Header=\$ac_header_preproc"
16636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16641 cat >>confdefs.h
<<_ACEOF
16642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16651 *-pc-os2_emx | *-pc-os2-emx )
16652 if test $ac_cv_header_langinfo_h = "yes" \
16653 -a \
( "$wx_cv_gccversion" = "EMX2" \
16654 -o "$wx_cv_gccversion" = "EMX3" \
16655 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16656 LIBS
="$LIBS -lintl"
16662 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16663 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16664 if test "${ac_cv_c_const+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 cat >conftest.
$ac_ext <<_ACEOF
16670 cat confdefs.h
>>conftest.
$ac_ext
16671 cat >>conftest.
$ac_ext <<_ACEOF
16672 /* end confdefs.h. */
16677 /* FIXME: Include the comments suggested by Paul. */
16678 #ifndef __cplusplus
16679 /* Ultrix mips cc rejects this. */
16680 typedef int charset[2];
16682 /* SunOS 4.1.1 cc rejects this. */
16683 char const *const *ccp;
16685 /* NEC SVR4.0.2 mips cc rejects this. */
16686 struct point {int x, y;};
16687 static struct point const zero = {0,0};
16688 /* AIX XL C 1.02.0.0 rejects this.
16689 It does not let you subtract one const X* pointer from another in
16690 an arm of an if-expression whose if-part is not a constant
16692 const char *g = "string";
16693 ccp = &g + (g ? g-g : 0);
16694 /* HPUX 7.0 cc rejects these. */
16697 ccp = (char const *const *) p;
16698 { /* SCO 3.2v4 cc rejects this. */
16700 char const *s = 0 ? (char *) 0 : (char const *) 0;
16704 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16705 int x[] = {25, 17};
16706 const int *foo = &x[0];
16709 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16710 typedef const int *iptr;
16714 { /* AIX XL C 1.02.0.0 rejects this saying
16715 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16716 struct s { int j; const int *ap[3]; };
16717 struct s *b; b->j = 5;
16719 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16720 const int foo = 10;
16728 rm -f conftest.
$ac_objext
16729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16730 (eval $ac_compile) 2>conftest.er1
16732 grep -v '^ *+' conftest.er1
>conftest.err
16734 cat conftest.err
>&5
16735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736 (exit $ac_status); } &&
16737 { ac_try
='test -z "$ac_c_werror_flag"
16738 || test ! -s conftest.err'
16739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740 (eval $ac_try) 2>&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; } &&
16744 { ac_try
='test -s conftest.$ac_objext'
16745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16746 (eval $ac_try) 2>&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); }; }; then
16752 echo "$as_me: failed program was:" >&5
16753 sed 's/^/| /' conftest.
$ac_ext >&5
16757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16759 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16760 echo "${ECHO_T}$ac_cv_c_const" >&6
16761 if test $ac_cv_c_const = no
; then
16763 cat >>confdefs.h
<<\_ACEOF
16769 echo "$as_me:$LINENO: checking for inline" >&5
16770 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16771 if test "${ac_cv_c_inline+set}" = set; then
16772 echo $ECHO_N "(cached) $ECHO_C" >&6
16775 for ac_kw
in inline __inline__ __inline
; do
16776 cat >conftest.
$ac_ext <<_ACEOF
16779 cat confdefs.h
>>conftest.
$ac_ext
16780 cat >>conftest.
$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16782 #ifndef __cplusplus
16784 static $ac_kw foo_t static_foo () {return 0; }
16785 $ac_kw foo_t foo () {return 0; }
16789 rm -f conftest.
$ac_objext
16790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16791 (eval $ac_compile) 2>conftest.er1
16793 grep -v '^ *+' conftest.er1
>conftest.err
16795 cat conftest.err
>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); } &&
16798 { ac_try
='test -z "$ac_c_werror_flag"
16799 || test ! -s conftest.err'
16800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16801 (eval $ac_try) 2>&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); }; } &&
16805 { ac_try
='test -s conftest.$ac_objext'
16806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16807 (eval $ac_try) 2>&5
16809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16810 (exit $ac_status); }; }; then
16811 ac_cv_c_inline
=$ac_kw; break
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.
$ac_ext >&5
16817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16821 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16822 echo "${ECHO_T}$ac_cv_c_inline" >&6
16825 case $ac_cv_c_inline in
16828 case $ac_cv_c_inline in
16830 *) ac_val
=$ac_cv_c_inline;;
16832 cat >>confdefs.h
<<_ACEOF
16833 #ifndef __cplusplus
16834 #define inline $ac_val
16841 echo "$as_me:$LINENO: checking for char" >&5
16842 echo $ECHO_N "checking for char... $ECHO_C" >&6
16843 if test "${ac_cv_type_char+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 cat >conftest.
$ac_ext <<_ACEOF
16849 cat confdefs.h
>>conftest.
$ac_ext
16850 cat >>conftest.
$ac_ext <<_ACEOF
16851 /* end confdefs.h. */
16852 $ac_includes_default
16864 rm -f conftest.
$ac_objext
16865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16866 (eval $ac_compile) 2>conftest.er1
16868 grep -v '^ *+' conftest.er1
>conftest.err
16870 cat conftest.err
>&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); } &&
16873 { ac_try
='test -z "$ac_c_werror_flag"
16874 || test ! -s conftest.err'
16875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876 (eval $ac_try) 2>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; } &&
16880 { ac_try
='test -s conftest.$ac_objext'
16881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882 (eval $ac_try) 2>&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); }; }; then
16886 ac_cv_type_char
=yes
16888 echo "$as_me: failed program was:" >&5
16889 sed 's/^/| /' conftest.
$ac_ext >&5
16893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16895 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16896 echo "${ECHO_T}$ac_cv_type_char" >&6
16898 echo "$as_me:$LINENO: checking size of char" >&5
16899 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16900 if test "${ac_cv_sizeof_char+set}" = set; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16903 if test "$ac_cv_type_char" = yes; then
16904 # The cast to unsigned long works around a bug in the HP C Compiler
16905 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16906 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16907 # This bug is HP SR number 8606223364.
16908 if test "$cross_compiling" = yes; then
16909 # Depending upon the size, compute the lo and hi bounds.
16910 cat >conftest.
$ac_ext <<_ACEOF
16913 cat confdefs.h
>>conftest.
$ac_ext
16914 cat >>conftest.
$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16916 $ac_includes_default
16920 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16927 rm -f conftest.
$ac_objext
16928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16929 (eval $ac_compile) 2>conftest.er1
16931 grep -v '^ *+' conftest.er1
>conftest.err
16933 cat conftest.err
>&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } &&
16936 { ac_try
='test -z "$ac_c_werror_flag"
16937 || test ! -s conftest.err'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; } &&
16943 { ac_try
='test -s conftest.$ac_objext'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; }; then
16951 cat >conftest.
$ac_ext <<_ACEOF
16954 cat confdefs.h
>>conftest.
$ac_ext
16955 cat >>conftest.
$ac_ext <<_ACEOF
16956 /* end confdefs.h. */
16957 $ac_includes_default
16961 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16968 rm -f conftest.
$ac_objext
16969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16970 (eval $ac_compile) 2>conftest.er1
16972 grep -v '^ *+' conftest.er1
>conftest.err
16974 cat conftest.err
>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } &&
16977 { ac_try
='test -z "$ac_c_werror_flag"
16978 || test ! -s conftest.err'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; } &&
16984 { ac_try
='test -s conftest.$ac_objext'
16985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16986 (eval $ac_try) 2>&5
16988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16989 (exit $ac_status); }; }; then
16990 ac_hi
=$ac_mid; break
16992 echo "$as_me: failed program was:" >&5
16993 sed 's/^/| /' conftest.
$ac_ext >&5
16995 ac_lo
=`expr $ac_mid + 1`
16996 if test $ac_lo -le $ac_mid; then
17000 ac_mid
=`expr 2 '*' $ac_mid + 1`
17002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.
$ac_ext >&5
17008 cat >conftest.
$ac_ext <<_ACEOF
17011 cat confdefs.h
>>conftest.
$ac_ext
17012 cat >>conftest.
$ac_ext <<_ACEOF
17013 /* end confdefs.h. */
17014 $ac_includes_default
17018 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17025 rm -f conftest.
$ac_objext
17026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17027 (eval $ac_compile) 2>conftest.er1
17029 grep -v '^ *+' conftest.er1
>conftest.err
17031 cat conftest.err
>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); } &&
17034 { ac_try
='test -z "$ac_c_werror_flag"
17035 || test ! -s conftest.err'
17036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17037 (eval $ac_try) 2>&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; } &&
17041 { ac_try
='test -s conftest.$ac_objext'
17042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17043 (eval $ac_try) 2>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }; }; then
17049 cat >conftest.
$ac_ext <<_ACEOF
17052 cat confdefs.h
>>conftest.
$ac_ext
17053 cat >>conftest.
$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 $ac_includes_default
17059 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17066 rm -f conftest.
$ac_objext
17067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17068 (eval $ac_compile) 2>conftest.er1
17070 grep -v '^ *+' conftest.er1
>conftest.err
17072 cat conftest.err
>&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } &&
17075 { ac_try
='test -z "$ac_c_werror_flag"
17076 || test ! -s conftest.err'
17077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17078 (eval $ac_try) 2>&5
17080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17081 (exit $ac_status); }; } &&
17082 { ac_try
='test -s conftest.$ac_objext'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; }; then
17088 ac_lo
=$ac_mid; break
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.
$ac_ext >&5
17093 ac_hi
=`expr '(' $ac_mid ')' - 1`
17094 if test $ac_mid -le $ac_hi; then
17098 ac_mid
=`expr 2 '*' $ac_mid`
17100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17103 echo "$as_me: failed program was:" >&5
17104 sed 's/^/| /' conftest.
$ac_ext >&5
17108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17111 # Binary search between lo and hi bounds.
17112 while test "x$ac_lo" != "x$ac_hi"; do
17113 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17114 cat >conftest.
$ac_ext <<_ACEOF
17117 cat confdefs.h
>>conftest.
$ac_ext
17118 cat >>conftest.
$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17120 $ac_includes_default
17124 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17131 rm -f conftest.
$ac_objext
17132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17133 (eval $ac_compile) 2>conftest.er1
17135 grep -v '^ *+' conftest.er1
>conftest.err
17137 cat conftest.err
>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); } &&
17140 { ac_try
='test -z "$ac_c_werror_flag"
17141 || test ! -s conftest.err'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; } &&
17147 { ac_try
='test -s conftest.$ac_objext'
17148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17149 (eval $ac_try) 2>&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); }; }; then
17155 echo "$as_me: failed program was:" >&5
17156 sed 's/^/| /' conftest.
$ac_ext >&5
17158 ac_lo
=`expr '(' $ac_mid ')' + 1`
17160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17163 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17164 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17165 See \`config.log' for more details." >&5
17166 echo "$as_me: error: cannot compute sizeof (char), 77
17167 See \`config.log' for more details." >&2;}
17168 { (exit 1); exit 1; }; } ;;
17171 if test "$cross_compiling" = yes; then
17172 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17173 See \`config.log' for more details." >&5
17174 echo "$as_me: error: cannot run test program while cross compiling
17175 See \`config.log' for more details." >&2;}
17176 { (exit 1); exit 1; }; }
17178 cat >conftest.
$ac_ext <<_ACEOF
17181 cat confdefs.h
>>conftest.
$ac_ext
17182 cat >>conftest.
$ac_ext <<_ACEOF
17183 /* end confdefs.h. */
17184 $ac_includes_default
17185 long longval () { return (long) (sizeof (char)); }
17186 unsigned long ulongval () { return (long) (sizeof (char)); }
17188 #include <stdlib.h>
17193 FILE *f = fopen ("conftest.val", "w");
17196 if (((long) (sizeof (char))) < 0)
17198 long i = longval ();
17199 if (i != ((long) (sizeof (char))))
17201 fprintf (f, "%ld\n", i);
17205 unsigned long i = ulongval ();
17206 if (i != ((long) (sizeof (char))))
17208 fprintf (f, "%lu\n", i);
17210 exit (ferror (f) || fclose (f) != 0);
17216 rm -f conftest
$ac_exeext
17217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17218 (eval $ac_link) 2>&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17223 (eval $ac_try) 2>&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); }; }; then
17227 ac_cv_sizeof_char
=`cat conftest.val`
17229 echo "$as_me: program exited with status $ac_status" >&5
17230 echo "$as_me: failed program was:" >&5
17231 sed 's/^/| /' conftest.
$ac_ext >&5
17233 ( exit $ac_status )
17234 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17235 See \`config.log' for more details." >&5
17236 echo "$as_me: error: cannot compute sizeof (char), 77
17237 See \`config.log' for more details." >&2;}
17238 { (exit 1); exit 1; }; }
17240 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17245 ac_cv_sizeof_char
=0
17248 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17249 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17250 cat >>confdefs.h
<<_ACEOF
17251 #define SIZEOF_CHAR $ac_cv_sizeof_char
17255 echo "$as_me:$LINENO: checking for short" >&5
17256 echo $ECHO_N "checking for short... $ECHO_C" >&6
17257 if test "${ac_cv_type_short+set}" = set; then
17258 echo $ECHO_N "(cached) $ECHO_C" >&6
17260 cat >conftest.
$ac_ext <<_ACEOF
17263 cat confdefs.h
>>conftest.
$ac_ext
17264 cat >>conftest.
$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 $ac_includes_default
17272 if (sizeof (short))
17278 rm -f conftest.
$ac_objext
17279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17280 (eval $ac_compile) 2>conftest.er1
17282 grep -v '^ *+' conftest.er1
>conftest.err
17284 cat conftest.err
>&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); } &&
17287 { ac_try
='test -z "$ac_c_werror_flag"
17288 || test ! -s conftest.err'
17289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17290 (eval $ac_try) 2>&5
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); }; } &&
17294 { ac_try
='test -s conftest.$ac_objext'
17295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296 (eval $ac_try) 2>&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); }; }; then
17300 ac_cv_type_short
=yes
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.
$ac_ext >&5
17305 ac_cv_type_short
=no
17307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17309 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17310 echo "${ECHO_T}$ac_cv_type_short" >&6
17312 echo "$as_me:$LINENO: checking size of short" >&5
17313 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17314 if test "${ac_cv_sizeof_short+set}" = set; then
17315 echo $ECHO_N "(cached) $ECHO_C" >&6
17317 if test "$ac_cv_type_short" = yes; then
17318 # The cast to unsigned long works around a bug in the HP C Compiler
17319 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17320 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17321 # This bug is HP SR number 8606223364.
17322 if test "$cross_compiling" = yes; then
17323 # Depending upon the size, compute the lo and hi bounds.
17324 cat >conftest.
$ac_ext <<_ACEOF
17327 cat confdefs.h
>>conftest.
$ac_ext
17328 cat >>conftest.
$ac_ext <<_ACEOF
17329 /* end confdefs.h. */
17330 $ac_includes_default
17334 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17341 rm -f conftest.
$ac_objext
17342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17343 (eval $ac_compile) 2>conftest.er1
17345 grep -v '^ *+' conftest.er1
>conftest.err
17347 cat conftest.err
>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); } &&
17350 { ac_try
='test -z "$ac_c_werror_flag"
17351 || test ! -s conftest.err'
17352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17353 (eval $ac_try) 2>&5
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); }; } &&
17357 { ac_try
='test -s conftest.$ac_objext'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; }; then
17365 cat >conftest.
$ac_ext <<_ACEOF
17368 cat confdefs.h
>>conftest.
$ac_ext
17369 cat >>conftest.
$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17371 $ac_includes_default
17375 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17382 rm -f conftest.
$ac_objext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384 (eval $ac_compile) 2>conftest.er1
17386 grep -v '^ *+' conftest.er1
>conftest.err
17388 cat conftest.err
>&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } &&
17391 { ac_try
='test -z "$ac_c_werror_flag"
17392 || test ! -s conftest.err'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; } &&
17398 { ac_try
='test -s conftest.$ac_objext'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; }; then
17404 ac_hi
=$ac_mid; break
17406 echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.
$ac_ext >&5
17409 ac_lo
=`expr $ac_mid + 1`
17410 if test $ac_lo -le $ac_mid; then
17414 ac_mid
=`expr 2 '*' $ac_mid + 1`
17416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17419 echo "$as_me: failed program was:" >&5
17420 sed 's/^/| /' conftest.
$ac_ext >&5
17422 cat >conftest.
$ac_ext <<_ACEOF
17425 cat confdefs.h
>>conftest.
$ac_ext
17426 cat >>conftest.
$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17428 $ac_includes_default
17432 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17439 rm -f conftest.
$ac_objext
17440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17441 (eval $ac_compile) 2>conftest.er1
17443 grep -v '^ *+' conftest.er1
>conftest.err
17445 cat conftest.err
>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); } &&
17448 { ac_try
='test -z "$ac_c_werror_flag"
17449 || test ! -s conftest.err'
17450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451 (eval $ac_try) 2>&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }; } &&
17455 { ac_try
='test -s conftest.$ac_objext'
17456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; }; then
17463 cat >conftest.
$ac_ext <<_ACEOF
17466 cat confdefs.h
>>conftest.
$ac_ext
17467 cat >>conftest.
$ac_ext <<_ACEOF
17468 /* end confdefs.h. */
17469 $ac_includes_default
17473 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17480 rm -f conftest.
$ac_objext
17481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17482 (eval $ac_compile) 2>conftest.er1
17484 grep -v '^ *+' conftest.er1
>conftest.err
17486 cat conftest.err
>&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } &&
17489 { ac_try
='test -z "$ac_c_werror_flag"
17490 || test ! -s conftest.err'
17491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17492 (eval $ac_try) 2>&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); }; } &&
17496 { ac_try
='test -s conftest.$ac_objext'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; }; then
17502 ac_lo
=$ac_mid; break
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.
$ac_ext >&5
17507 ac_hi
=`expr '(' $ac_mid ')' - 1`
17508 if test $ac_mid -le $ac_hi; then
17512 ac_mid
=`expr 2 '*' $ac_mid`
17514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.
$ac_ext >&5
17522 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17525 # Binary search between lo and hi bounds.
17526 while test "x$ac_lo" != "x$ac_hi"; do
17527 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17528 cat >conftest.
$ac_ext <<_ACEOF
17531 cat confdefs.h
>>conftest.
$ac_ext
17532 cat >>conftest.
$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534 $ac_includes_default
17538 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17545 rm -f conftest.
$ac_objext
17546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17547 (eval $ac_compile) 2>conftest.er1
17549 grep -v '^ *+' conftest.er1
>conftest.err
17551 cat conftest.err
>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); } &&
17554 { ac_try
='test -z "$ac_c_werror_flag"
17555 || test ! -s conftest.err'
17556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17557 (eval $ac_try) 2>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; } &&
17561 { ac_try
='test -s conftest.$ac_objext'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; }; then
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.
$ac_ext >&5
17572 ac_lo
=`expr '(' $ac_mid ')' + 1`
17574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17577 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17578 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17579 See \`config.log' for more details." >&5
17580 echo "$as_me: error: cannot compute sizeof (short), 77
17581 See \`config.log' for more details." >&2;}
17582 { (exit 1); exit 1; }; } ;;
17585 if test "$cross_compiling" = yes; then
17586 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17587 See \`config.log' for more details." >&5
17588 echo "$as_me: error: cannot run test program while cross compiling
17589 See \`config.log' for more details." >&2;}
17590 { (exit 1); exit 1; }; }
17592 cat >conftest.
$ac_ext <<_ACEOF
17595 cat confdefs.h
>>conftest.
$ac_ext
17596 cat >>conftest.
$ac_ext <<_ACEOF
17597 /* end confdefs.h. */
17598 $ac_includes_default
17599 long longval () { return (long) (sizeof (short)); }
17600 unsigned long ulongval () { return (long) (sizeof (short)); }
17602 #include <stdlib.h>
17607 FILE *f = fopen ("conftest.val", "w");
17610 if (((long) (sizeof (short))) < 0)
17612 long i = longval ();
17613 if (i != ((long) (sizeof (short))))
17615 fprintf (f, "%ld\n", i);
17619 unsigned long i = ulongval ();
17620 if (i != ((long) (sizeof (short))))
17622 fprintf (f, "%lu\n", i);
17624 exit (ferror (f) || fclose (f) != 0);
17630 rm -f conftest
$ac_exeext
17631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17632 (eval $ac_link) 2>&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17637 (eval $ac_try) 2>&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); }; }; then
17641 ac_cv_sizeof_short
=`cat conftest.val`
17643 echo "$as_me: program exited with status $ac_status" >&5
17644 echo "$as_me: failed program was:" >&5
17645 sed 's/^/| /' conftest.
$ac_ext >&5
17647 ( exit $ac_status )
17648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17649 See \`config.log' for more details." >&5
17650 echo "$as_me: error: cannot compute sizeof (short), 77
17651 See \`config.log' for more details." >&2;}
17652 { (exit 1); exit 1; }; }
17654 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17659 ac_cv_sizeof_short
=0
17662 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17663 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17664 cat >>confdefs.h
<<_ACEOF
17665 #define SIZEOF_SHORT $ac_cv_sizeof_short
17669 echo "$as_me:$LINENO: checking for void *" >&5
17670 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17671 if test "${ac_cv_type_void_p+set}" = set; then
17672 echo $ECHO_N "(cached) $ECHO_C" >&6
17674 cat >conftest.
$ac_ext <<_ACEOF
17677 cat confdefs.h
>>conftest.
$ac_ext
17678 cat >>conftest.
$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17680 $ac_includes_default
17686 if (sizeof (void *))
17692 rm -f conftest.
$ac_objext
17693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17694 (eval $ac_compile) 2>conftest.er1
17696 grep -v '^ *+' conftest.er1
>conftest.err
17698 cat conftest.err
>&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } &&
17701 { ac_try
='test -z "$ac_c_werror_flag"
17702 || test ! -s conftest.err'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; } &&
17708 { ac_try
='test -s conftest.$ac_objext'
17709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17710 (eval $ac_try) 2>&5
17712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); }; }; then
17714 ac_cv_type_void_p
=yes
17716 echo "$as_me: failed program was:" >&5
17717 sed 's/^/| /' conftest.
$ac_ext >&5
17719 ac_cv_type_void_p
=no
17721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17723 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17724 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17726 echo "$as_me:$LINENO: checking size of void *" >&5
17727 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17728 if test "${ac_cv_sizeof_void_p+set}" = set; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17731 if test "$ac_cv_type_void_p" = yes; then
17732 # The cast to unsigned long works around a bug in the HP C Compiler
17733 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17734 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17735 # This bug is HP SR number 8606223364.
17736 if test "$cross_compiling" = yes; then
17737 # Depending upon the size, compute the lo and hi bounds.
17738 cat >conftest.
$ac_ext <<_ACEOF
17741 cat confdefs.h
>>conftest.
$ac_ext
17742 cat >>conftest.
$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17744 $ac_includes_default
17748 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17755 rm -f conftest.
$ac_objext
17756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17757 (eval $ac_compile) 2>conftest.er1
17759 grep -v '^ *+' conftest.er1
>conftest.err
17761 cat conftest.err
>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } &&
17764 { ac_try
='test -z "$ac_c_werror_flag"
17765 || test ! -s conftest.err'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; } &&
17771 { ac_try
='test -s conftest.$ac_objext'
17772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17773 (eval $ac_try) 2>&5
17775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); }; }; then
17779 cat >conftest.
$ac_ext <<_ACEOF
17782 cat confdefs.h
>>conftest.
$ac_ext
17783 cat >>conftest.
$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 $ac_includes_default
17789 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17796 rm -f conftest.
$ac_objext
17797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17798 (eval $ac_compile) 2>conftest.er1
17800 grep -v '^ *+' conftest.er1
>conftest.err
17802 cat conftest.err
>&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 { ac_try
='test -z "$ac_c_werror_flag"
17806 || test ! -s conftest.err'
17807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 (eval $ac_try) 2>&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); }; } &&
17812 { ac_try
='test -s conftest.$ac_objext'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; }; then
17818 ac_hi
=$ac_mid; break
17820 echo "$as_me: failed program was:" >&5
17821 sed 's/^/| /' conftest.
$ac_ext >&5
17823 ac_lo
=`expr $ac_mid + 1`
17824 if test $ac_lo -le $ac_mid; then
17828 ac_mid
=`expr 2 '*' $ac_mid + 1`
17830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17833 echo "$as_me: failed program was:" >&5
17834 sed 's/^/| /' conftest.
$ac_ext >&5
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 (void *))) < 0)];
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"
17863 || test ! -s conftest.err'
17864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17865 (eval $ac_try) 2>&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); }; } &&
17869 { ac_try
='test -s conftest.$ac_objext'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; }; then
17877 cat >conftest.
$ac_ext <<_ACEOF
17880 cat confdefs.h
>>conftest.
$ac_ext
17881 cat >>conftest.
$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883 $ac_includes_default
17887 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17894 rm -f conftest.
$ac_objext
17895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17896 (eval $ac_compile) 2>conftest.er1
17898 grep -v '^ *+' conftest.er1
>conftest.err
17900 cat conftest.err
>&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } &&
17903 { ac_try
='test -z "$ac_c_werror_flag"
17904 || test ! -s conftest.err'
17905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17906 (eval $ac_try) 2>&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); }; } &&
17910 { ac_try
='test -s conftest.$ac_objext'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; }; then
17916 ac_lo
=$ac_mid; break
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.
$ac_ext >&5
17921 ac_hi
=`expr '(' $ac_mid ')' - 1`
17922 if test $ac_mid -le $ac_hi; then
17926 ac_mid
=`expr 2 '*' $ac_mid`
17928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17931 echo "$as_me: failed program was:" >&5
17932 sed 's/^/| /' conftest.
$ac_ext >&5
17936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17939 # Binary search between lo and hi bounds.
17940 while test "x$ac_lo" != "x$ac_hi"; do
17941 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17942 cat >conftest.
$ac_ext <<_ACEOF
17945 cat confdefs.h
>>conftest.
$ac_ext
17946 cat >>conftest.
$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17948 $ac_includes_default
17952 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17959 rm -f conftest.
$ac_objext
17960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17961 (eval $ac_compile) 2>conftest.er1
17963 grep -v '^ *+' conftest.er1
>conftest.err
17965 cat conftest.err
>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); } &&
17968 { ac_try
='test -z "$ac_c_werror_flag"
17969 || test ! -s conftest.err'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; } &&
17975 { ac_try
='test -s conftest.$ac_objext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17983 echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.
$ac_ext >&5
17986 ac_lo
=`expr '(' $ac_mid ')' + 1`
17988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17991 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17992 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17993 See \`config.log' for more details." >&5
17994 echo "$as_me: error: cannot compute sizeof (void *), 77
17995 See \`config.log' for more details." >&2;}
17996 { (exit 1); exit 1; }; } ;;
17999 if test "$cross_compiling" = yes; then
18000 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18001 See \`config.log' for more details." >&5
18002 echo "$as_me: error: cannot run test program while cross compiling
18003 See \`config.log' for more details." >&2;}
18004 { (exit 1); exit 1; }; }
18006 cat >conftest.
$ac_ext <<_ACEOF
18009 cat confdefs.h
>>conftest.
$ac_ext
18010 cat >>conftest.
$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18012 $ac_includes_default
18013 long longval () { return (long) (sizeof (void *)); }
18014 unsigned long ulongval () { return (long) (sizeof (void *)); }
18016 #include <stdlib.h>
18021 FILE *f = fopen ("conftest.val", "w");
18024 if (((long) (sizeof (void *))) < 0)
18026 long i = longval ();
18027 if (i != ((long) (sizeof (void *))))
18029 fprintf (f, "%ld\n", i);
18033 unsigned long i = ulongval ();
18034 if (i != ((long) (sizeof (void *))))
18036 fprintf (f, "%lu\n", i);
18038 exit (ferror (f) || fclose (f) != 0);
18044 rm -f conftest
$ac_exeext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18046 (eval $ac_link) 2>&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; }; then
18055 ac_cv_sizeof_void_p
=`cat conftest.val`
18057 echo "$as_me: program exited with status $ac_status" >&5
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.
$ac_ext >&5
18061 ( exit $ac_status )
18062 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18063 See \`config.log' for more details." >&5
18064 echo "$as_me: error: cannot compute sizeof (void *), 77
18065 See \`config.log' for more details." >&2;}
18066 { (exit 1); exit 1; }; }
18068 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18073 ac_cv_sizeof_void_p
=0
18076 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18077 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18078 cat >>confdefs.h
<<_ACEOF
18079 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18083 echo "$as_me:$LINENO: checking for int" >&5
18084 echo $ECHO_N "checking for int... $ECHO_C" >&6
18085 if test "${ac_cv_type_int+set}" = set; then
18086 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 cat >conftest.
$ac_ext <<_ACEOF
18091 cat confdefs.h
>>conftest.
$ac_ext
18092 cat >>conftest.
$ac_ext <<_ACEOF
18093 /* end confdefs.h. */
18094 $ac_includes_default
18106 rm -f conftest.
$ac_objext
18107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18108 (eval $ac_compile) 2>conftest.er1
18110 grep -v '^ *+' conftest.er1
>conftest.err
18112 cat conftest.err
>&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } &&
18115 { ac_try
='test -z "$ac_c_werror_flag"
18116 || test ! -s conftest.err'
18117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118 (eval $ac_try) 2>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); }; } &&
18122 { ac_try
='test -s conftest.$ac_objext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.
$ac_ext >&5
18135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18137 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18138 echo "${ECHO_T}$ac_cv_type_int" >&6
18140 echo "$as_me:$LINENO: checking size of int" >&5
18141 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18142 if test "${ac_cv_sizeof_int+set}" = set; then
18143 echo $ECHO_N "(cached) $ECHO_C" >&6
18145 if test "$ac_cv_type_int" = yes; then
18146 # The cast to unsigned long works around a bug in the HP C Compiler
18147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18149 # This bug is HP SR number 8606223364.
18150 if test "$cross_compiling" = yes; then
18151 # Depending upon the size, compute the lo and hi bounds.
18152 cat >conftest.
$ac_ext <<_ACEOF
18155 cat confdefs.h
>>conftest.
$ac_ext
18156 cat >>conftest.
$ac_ext <<_ACEOF
18157 /* end confdefs.h. */
18158 $ac_includes_default
18162 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18169 rm -f conftest.
$ac_objext
18170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18171 (eval $ac_compile) 2>conftest.er1
18173 grep -v '^ *+' conftest.er1
>conftest.err
18175 cat conftest.err
>&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } &&
18178 { ac_try
='test -z "$ac_c_werror_flag"
18179 || test ! -s conftest.err'
18180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18181 (eval $ac_try) 2>&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); }; } &&
18185 { ac_try
='test -s conftest.$ac_objext'
18186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18187 (eval $ac_try) 2>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); }; }; then
18193 cat >conftest.
$ac_ext <<_ACEOF
18196 cat confdefs.h
>>conftest.
$ac_ext
18197 cat >>conftest.
$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 $ac_includes_default
18203 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18210 rm -f conftest.
$ac_objext
18211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18212 (eval $ac_compile) 2>conftest.er1
18214 grep -v '^ *+' conftest.er1
>conftest.err
18216 cat conftest.err
>&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } &&
18219 { ac_try
='test -z "$ac_c_werror_flag"
18220 || test ! -s conftest.err'
18221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18222 (eval $ac_try) 2>&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); }; } &&
18226 { ac_try
='test -s conftest.$ac_objext'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; }; then
18232 ac_hi
=$ac_mid; break
18234 echo "$as_me: failed program was:" >&5
18235 sed 's/^/| /' conftest.
$ac_ext >&5
18237 ac_lo
=`expr $ac_mid + 1`
18238 if test $ac_lo -le $ac_mid; then
18242 ac_mid
=`expr 2 '*' $ac_mid + 1`
18244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18247 echo "$as_me: failed program was:" >&5
18248 sed 's/^/| /' conftest.
$ac_ext >&5
18250 cat >conftest.
$ac_ext <<_ACEOF
18253 cat confdefs.h
>>conftest.
$ac_ext
18254 cat >>conftest.
$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256 $ac_includes_default
18260 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18267 rm -f conftest.
$ac_objext
18268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18269 (eval $ac_compile) 2>conftest.er1
18271 grep -v '^ *+' conftest.er1
>conftest.err
18273 cat conftest.err
>&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); } &&
18276 { ac_try
='test -z "$ac_c_werror_flag"
18277 || test ! -s conftest.err'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; } &&
18283 { ac_try
='test -s conftest.$ac_objext'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; }; then
18291 cat >conftest.
$ac_ext <<_ACEOF
18294 cat confdefs.h
>>conftest.
$ac_ext
18295 cat >>conftest.
$ac_ext <<_ACEOF
18296 /* end confdefs.h. */
18297 $ac_includes_default
18301 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18308 rm -f conftest.
$ac_objext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18310 (eval $ac_compile) 2>conftest.er1
18312 grep -v '^ *+' conftest.er1
>conftest.err
18314 cat conftest.err
>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } &&
18317 { ac_try
='test -z "$ac_c_werror_flag"
18318 || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try
='test -s conftest.$ac_objext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18330 ac_lo
=$ac_mid; break
18332 echo "$as_me: failed program was:" >&5
18333 sed 's/^/| /' conftest.
$ac_ext >&5
18335 ac_hi
=`expr '(' $ac_mid ')' - 1`
18336 if test $ac_mid -le $ac_hi; then
18340 ac_mid
=`expr 2 '*' $ac_mid`
18342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18345 echo "$as_me: failed program was:" >&5
18346 sed 's/^/| /' conftest.
$ac_ext >&5
18350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18353 # Binary search between lo and hi bounds.
18354 while test "x$ac_lo" != "x$ac_hi"; do
18355 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18356 cat >conftest.
$ac_ext <<_ACEOF
18359 cat confdefs.h
>>conftest.
$ac_ext
18360 cat >>conftest.
$ac_ext <<_ACEOF
18361 /* end confdefs.h. */
18362 $ac_includes_default
18366 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18373 rm -f conftest.
$ac_objext
18374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18375 (eval $ac_compile) 2>conftest.er1
18377 grep -v '^ *+' conftest.er1
>conftest.err
18379 cat conftest.err
>&5
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); } &&
18382 { ac_try
='test -z "$ac_c_werror_flag"
18383 || test ! -s conftest.err'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; } &&
18389 { ac_try
='test -s conftest.$ac_objext'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; }; then
18397 echo "$as_me: failed program was:" >&5
18398 sed 's/^/| /' conftest.
$ac_ext >&5
18400 ac_lo
=`expr '(' $ac_mid ')' + 1`
18402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18405 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18406 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18407 See \`config.log' for more details." >&5
18408 echo "$as_me: error: cannot compute sizeof (int), 77
18409 See \`config.log' for more details." >&2;}
18410 { (exit 1); exit 1; }; } ;;
18413 if test "$cross_compiling" = yes; then
18414 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18415 See \`config.log' for more details." >&5
18416 echo "$as_me: error: cannot run test program while cross compiling
18417 See \`config.log' for more details." >&2;}
18418 { (exit 1); exit 1; }; }
18420 cat >conftest.
$ac_ext <<_ACEOF
18423 cat confdefs.h
>>conftest.
$ac_ext
18424 cat >>conftest.
$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18426 $ac_includes_default
18427 long longval () { return (long) (sizeof (int)); }
18428 unsigned long ulongval () { return (long) (sizeof (int)); }
18430 #include <stdlib.h>
18435 FILE *f = fopen ("conftest.val", "w");
18438 if (((long) (sizeof (int))) < 0)
18440 long i = longval ();
18441 if (i != ((long) (sizeof (int))))
18443 fprintf (f, "%ld\n", i);
18447 unsigned long i = ulongval ();
18448 if (i != ((long) (sizeof (int))))
18450 fprintf (f, "%lu\n", i);
18452 exit (ferror (f) || fclose (f) != 0);
18458 rm -f conftest
$ac_exeext
18459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18460 (eval $ac_link) 2>&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
18469 ac_cv_sizeof_int
=`cat conftest.val`
18471 echo "$as_me: program exited with status $ac_status" >&5
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.
$ac_ext >&5
18475 ( exit $ac_status )
18476 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18477 See \`config.log' for more details." >&5
18478 echo "$as_me: error: cannot compute sizeof (int), 77
18479 See \`config.log' for more details." >&2;}
18480 { (exit 1); exit 1; }; }
18482 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18490 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18491 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18492 cat >>confdefs.h
<<_ACEOF
18493 #define SIZEOF_INT $ac_cv_sizeof_int
18497 echo "$as_me:$LINENO: checking for long" >&5
18498 echo $ECHO_N "checking for long... $ECHO_C" >&6
18499 if test "${ac_cv_type_long+set}" = set; then
18500 echo $ECHO_N "(cached) $ECHO_C" >&6
18502 cat >conftest.
$ac_ext <<_ACEOF
18505 cat confdefs.h
>>conftest.
$ac_ext
18506 cat >>conftest.
$ac_ext <<_ACEOF
18507 /* end confdefs.h. */
18508 $ac_includes_default
18520 rm -f conftest.
$ac_objext
18521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18522 (eval $ac_compile) 2>conftest.er1
18524 grep -v '^ *+' conftest.er1
>conftest.err
18526 cat conftest.err
>&5
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); } &&
18529 { ac_try
='test -z "$ac_c_werror_flag"
18530 || test ! -s conftest.err'
18531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18532 (eval $ac_try) 2>&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; } &&
18536 { ac_try
='test -s conftest.$ac_objext'
18537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18538 (eval $ac_try) 2>&5
18540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18541 (exit $ac_status); }; }; then
18542 ac_cv_type_long
=yes
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.
$ac_ext >&5
18549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18551 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18552 echo "${ECHO_T}$ac_cv_type_long" >&6
18554 echo "$as_me:$LINENO: checking size of long" >&5
18555 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18556 if test "${ac_cv_sizeof_long+set}" = set; then
18557 echo $ECHO_N "(cached) $ECHO_C" >&6
18559 if test "$ac_cv_type_long" = yes; then
18560 # The cast to unsigned long works around a bug in the HP C Compiler
18561 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18562 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18563 # This bug is HP SR number 8606223364.
18564 if test "$cross_compiling" = yes; then
18565 # Depending upon the size, compute the lo and hi bounds.
18566 cat >conftest.
$ac_ext <<_ACEOF
18569 cat confdefs.h
>>conftest.
$ac_ext
18570 cat >>conftest.
$ac_ext <<_ACEOF
18571 /* end confdefs.h. */
18572 $ac_includes_default
18576 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18583 rm -f conftest.
$ac_objext
18584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18585 (eval $ac_compile) 2>conftest.er1
18587 grep -v '^ *+' conftest.er1
>conftest.err
18589 cat conftest.err
>&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try
='test -z "$ac_c_werror_flag"
18593 || test ! -s conftest.err'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try
='test -s conftest.$ac_objext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18607 cat >conftest.
$ac_ext <<_ACEOF
18610 cat confdefs.h
>>conftest.
$ac_ext
18611 cat >>conftest.
$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18613 $ac_includes_default
18617 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18624 rm -f conftest.
$ac_objext
18625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18626 (eval $ac_compile) 2>conftest.er1
18628 grep -v '^ *+' conftest.er1
>conftest.err
18630 cat conftest.err
>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } &&
18633 { ac_try
='test -z "$ac_c_werror_flag"
18634 || test ! -s conftest.err'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; } &&
18640 { ac_try
='test -s conftest.$ac_objext'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; }; then
18646 ac_hi
=$ac_mid; break
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.
$ac_ext >&5
18651 ac_lo
=`expr $ac_mid + 1`
18652 if test $ac_lo -le $ac_mid; then
18656 ac_mid
=`expr 2 '*' $ac_mid + 1`
18658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.
$ac_ext >&5
18664 cat >conftest.
$ac_ext <<_ACEOF
18667 cat confdefs.h
>>conftest.
$ac_ext
18668 cat >>conftest.
$ac_ext <<_ACEOF
18669 /* end confdefs.h. */
18670 $ac_includes_default
18674 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18681 rm -f conftest.
$ac_objext
18682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18683 (eval $ac_compile) 2>conftest.er1
18685 grep -v '^ *+' conftest.er1
>conftest.err
18687 cat conftest.err
>&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); } &&
18690 { ac_try
='test -z "$ac_c_werror_flag"
18691 || test ! -s conftest.err'
18692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18693 (eval $ac_try) 2>&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); }; } &&
18697 { ac_try
='test -s conftest.$ac_objext'
18698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18699 (eval $ac_try) 2>&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; }; then
18705 cat >conftest.
$ac_ext <<_ACEOF
18708 cat confdefs.h
>>conftest.
$ac_ext
18709 cat >>conftest.
$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18711 $ac_includes_default
18715 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18722 rm -f conftest.
$ac_objext
18723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18724 (eval $ac_compile) 2>conftest.er1
18726 grep -v '^ *+' conftest.er1
>conftest.err
18728 cat conftest.err
>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } &&
18731 { ac_try
='test -z "$ac_c_werror_flag"
18732 || test ! -s conftest.err'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; } &&
18738 { ac_try
='test -s conftest.$ac_objext'
18739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18740 (eval $ac_try) 2>&5
18742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18743 (exit $ac_status); }; }; then
18744 ac_lo
=$ac_mid; break
18746 echo "$as_me: failed program was:" >&5
18747 sed 's/^/| /' conftest.
$ac_ext >&5
18749 ac_hi
=`expr '(' $ac_mid ')' - 1`
18750 if test $ac_mid -le $ac_hi; then
18754 ac_mid
=`expr 2 '*' $ac_mid`
18756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18759 echo "$as_me: failed program was:" >&5
18760 sed 's/^/| /' conftest.
$ac_ext >&5
18764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18767 # Binary search between lo and hi bounds.
18768 while test "x$ac_lo" != "x$ac_hi"; do
18769 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18770 cat >conftest.
$ac_ext <<_ACEOF
18773 cat confdefs.h
>>conftest.
$ac_ext
18774 cat >>conftest.
$ac_ext <<_ACEOF
18775 /* end confdefs.h. */
18776 $ac_includes_default
18780 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18787 rm -f conftest.
$ac_objext
18788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18789 (eval $ac_compile) 2>conftest.er1
18791 grep -v '^ *+' conftest.er1
>conftest.err
18793 cat conftest.err
>&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); } &&
18796 { ac_try
='test -z "$ac_c_werror_flag"
18797 || test ! -s conftest.err'
18798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799 (eval $ac_try) 2>&5
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); }; } &&
18803 { ac_try
='test -s conftest.$ac_objext'
18804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18805 (eval $ac_try) 2>&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); }; }; then
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.
$ac_ext >&5
18814 ac_lo
=`expr '(' $ac_mid ')' + 1`
18816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18819 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18820 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18821 See \`config.log' for more details." >&5
18822 echo "$as_me: error: cannot compute sizeof (long), 77
18823 See \`config.log' for more details." >&2;}
18824 { (exit 1); exit 1; }; } ;;
18827 if test "$cross_compiling" = yes; then
18828 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18829 See \`config.log' for more details." >&5
18830 echo "$as_me: error: cannot run test program while cross compiling
18831 See \`config.log' for more details." >&2;}
18832 { (exit 1); exit 1; }; }
18834 cat >conftest.
$ac_ext <<_ACEOF
18837 cat confdefs.h
>>conftest.
$ac_ext
18838 cat >>conftest.
$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 $ac_includes_default
18841 long longval () { return (long) (sizeof (long)); }
18842 unsigned long ulongval () { return (long) (sizeof (long)); }
18844 #include <stdlib.h>
18849 FILE *f = fopen ("conftest.val", "w");
18852 if (((long) (sizeof (long))) < 0)
18854 long i = longval ();
18855 if (i != ((long) (sizeof (long))))
18857 fprintf (f, "%ld\n", i);
18861 unsigned long i = ulongval ();
18862 if (i != ((long) (sizeof (long))))
18864 fprintf (f, "%lu\n", i);
18866 exit (ferror (f) || fclose (f) != 0);
18872 rm -f conftest
$ac_exeext
18873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18874 (eval $ac_link) 2>&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; }; then
18883 ac_cv_sizeof_long
=`cat conftest.val`
18885 echo "$as_me: program exited with status $ac_status" >&5
18886 echo "$as_me: failed program was:" >&5
18887 sed 's/^/| /' conftest.
$ac_ext >&5
18889 ( exit $ac_status )
18890 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18891 See \`config.log' for more details." >&5
18892 echo "$as_me: error: cannot compute sizeof (long), 77
18893 See \`config.log' for more details." >&2;}
18894 { (exit 1); exit 1; }; }
18896 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18901 ac_cv_sizeof_long
=0
18904 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18905 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18906 cat >>confdefs.h
<<_ACEOF
18907 #define SIZEOF_LONG $ac_cv_sizeof_long
18911 echo "$as_me:$LINENO: checking for size_t" >&5
18912 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18913 if test "${ac_cv_type_size_t+set}" = set; then
18914 echo $ECHO_N "(cached) $ECHO_C" >&6
18916 cat >conftest.
$ac_ext <<_ACEOF
18919 cat confdefs.h
>>conftest.
$ac_ext
18920 cat >>conftest.
$ac_ext <<_ACEOF
18921 /* end confdefs.h. */
18922 $ac_includes_default
18928 if (sizeof (size_t))
18934 rm -f conftest.
$ac_objext
18935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18936 (eval $ac_compile) 2>conftest.er1
18938 grep -v '^ *+' conftest.er1
>conftest.err
18940 cat conftest.err
>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); } &&
18943 { ac_try
='test -z "$ac_c_werror_flag"
18944 || test ! -s conftest.err'
18945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18946 (eval $ac_try) 2>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); }; } &&
18950 { ac_try
='test -s conftest.$ac_objext'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; }; then
18956 ac_cv_type_size_t
=yes
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.
$ac_ext >&5
18961 ac_cv_type_size_t
=no
18963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18965 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18966 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18968 echo "$as_me:$LINENO: checking size of size_t" >&5
18969 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18970 if test "${ac_cv_sizeof_size_t+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18973 if test "$ac_cv_type_size_t" = yes; then
18974 # The cast to unsigned long works around a bug in the HP C Compiler
18975 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18976 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18977 # This bug is HP SR number 8606223364.
18978 if test "$cross_compiling" = yes; then
18979 # Depending upon the size, compute the lo and hi bounds.
18980 cat >conftest.
$ac_ext <<_ACEOF
18983 cat confdefs.h
>>conftest.
$ac_ext
18984 cat >>conftest.
$ac_ext <<_ACEOF
18985 /* end confdefs.h. */
18986 $ac_includes_default
18990 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18997 rm -f conftest.
$ac_objext
18998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18999 (eval $ac_compile) 2>conftest.er1
19001 grep -v '^ *+' conftest.er1
>conftest.err
19003 cat conftest.err
>&5
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } &&
19006 { ac_try
='test -z "$ac_c_werror_flag"
19007 || test ! -s conftest.err'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; } &&
19013 { ac_try
='test -s conftest.$ac_objext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19021 cat >conftest.
$ac_ext <<_ACEOF
19024 cat confdefs.h
>>conftest.
$ac_ext
19025 cat >>conftest.
$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 $ac_includes_default
19031 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19038 rm -f conftest.
$ac_objext
19039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19040 (eval $ac_compile) 2>conftest.er1
19042 grep -v '^ *+' conftest.er1
>conftest.err
19044 cat conftest.err
>&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); } &&
19047 { ac_try
='test -z "$ac_c_werror_flag"
19048 || test ! -s conftest.err'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; } &&
19054 { ac_try
='test -s conftest.$ac_objext'
19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056 (eval $ac_try) 2>&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }; }; then
19060 ac_hi
=$ac_mid; break
19062 echo "$as_me: failed program was:" >&5
19063 sed 's/^/| /' conftest.
$ac_ext >&5
19065 ac_lo
=`expr $ac_mid + 1`
19066 if test $ac_lo -le $ac_mid; then
19070 ac_mid
=`expr 2 '*' $ac_mid + 1`
19072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.
$ac_ext >&5
19078 cat >conftest.
$ac_ext <<_ACEOF
19081 cat confdefs.h
>>conftest.
$ac_ext
19082 cat >>conftest.
$ac_ext <<_ACEOF
19083 /* end confdefs.h. */
19084 $ac_includes_default
19088 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19095 rm -f conftest.
$ac_objext
19096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19097 (eval $ac_compile) 2>conftest.er1
19099 grep -v '^ *+' conftest.er1
>conftest.err
19101 cat conftest.err
>&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } &&
19104 { ac_try
='test -z "$ac_c_werror_flag"
19105 || test ! -s conftest.err'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; } &&
19111 { ac_try
='test -s conftest.$ac_objext'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; }; then
19119 cat >conftest.
$ac_ext <<_ACEOF
19122 cat confdefs.h
>>conftest.
$ac_ext
19123 cat >>conftest.
$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 $ac_includes_default
19129 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19136 rm -f conftest.
$ac_objext
19137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19138 (eval $ac_compile) 2>conftest.er1
19140 grep -v '^ *+' conftest.er1
>conftest.err
19142 cat conftest.err
>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } &&
19145 { ac_try
='test -z "$ac_c_werror_flag"
19146 || test ! -s conftest.err'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; } &&
19152 { ac_try
='test -s conftest.$ac_objext'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; }; then
19158 ac_lo
=$ac_mid; break
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.
$ac_ext >&5
19163 ac_hi
=`expr '(' $ac_mid ')' - 1`
19164 if test $ac_mid -le $ac_hi; then
19168 ac_mid
=`expr 2 '*' $ac_mid`
19170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19173 echo "$as_me: failed program was:" >&5
19174 sed 's/^/| /' conftest.
$ac_ext >&5
19178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19180 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19181 # Binary search between lo and hi bounds.
19182 while test "x$ac_lo" != "x$ac_hi"; do
19183 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
19194 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19201 rm -f conftest.
$ac_objext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19203 (eval $ac_compile) 2>conftest.er1
19205 grep -v '^ *+' conftest.er1
>conftest.err
19207 cat conftest.err
>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); } &&
19210 { ac_try
='test -z "$ac_c_werror_flag"
19211 || test ! -s conftest.err'
19212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19213 (eval $ac_try) 2>&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); }; } &&
19217 { ac_try
='test -s conftest.$ac_objext'
19218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19219 (eval $ac_try) 2>&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); }; }; then
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.
$ac_ext >&5
19228 ac_lo
=`expr '(' $ac_mid ')' + 1`
19230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19233 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19234 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19235 See \`config.log' for more details." >&5
19236 echo "$as_me: error: cannot compute sizeof (size_t), 77
19237 See \`config.log' for more details." >&2;}
19238 { (exit 1); exit 1; }; } ;;
19241 if test "$cross_compiling" = yes; then
19242 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19243 See \`config.log' for more details." >&5
19244 echo "$as_me: error: cannot run test program while cross compiling
19245 See \`config.log' for more details." >&2;}
19246 { (exit 1); exit 1; }; }
19248 cat >conftest.
$ac_ext <<_ACEOF
19251 cat confdefs.h
>>conftest.
$ac_ext
19252 cat >>conftest.
$ac_ext <<_ACEOF
19253 /* end confdefs.h. */
19254 $ac_includes_default
19255 long longval () { return (long) (sizeof (size_t)); }
19256 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19258 #include <stdlib.h>
19263 FILE *f = fopen ("conftest.val", "w");
19266 if (((long) (sizeof (size_t))) < 0)
19268 long i = longval ();
19269 if (i != ((long) (sizeof (size_t))))
19271 fprintf (f, "%ld\n", i);
19275 unsigned long i = ulongval ();
19276 if (i != ((long) (sizeof (size_t))))
19278 fprintf (f, "%lu\n", i);
19280 exit (ferror (f) || fclose (f) != 0);
19286 rm -f conftest
$ac_exeext
19287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19288 (eval $ac_link) 2>&5
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; }; then
19297 ac_cv_sizeof_size_t
=`cat conftest.val`
19299 echo "$as_me: program exited with status $ac_status" >&5
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.
$ac_ext >&5
19303 ( exit $ac_status )
19304 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19305 See \`config.log' for more details." >&5
19306 echo "$as_me: error: cannot compute sizeof (size_t), 77
19307 See \`config.log' for more details." >&2;}
19308 { (exit 1); exit 1; }; }
19310 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19315 ac_cv_sizeof_size_t
=0
19318 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19319 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19320 cat >>confdefs.h
<<_ACEOF
19321 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19328 echo "$as_me:$LINENO: checking for long long" >&5
19329 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19330 if test "${ac_cv_type_long_long+set}" = set; then
19331 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 cat >conftest.
$ac_ext <<_ACEOF
19336 cat confdefs.h
>>conftest.
$ac_ext
19337 cat >>conftest.
$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19339 $ac_includes_default
19343 if ((long long *) 0)
19345 if (sizeof (long long))
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"
19361 || test ! -s conftest.err'
19362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19363 (eval $ac_try) 2>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); }; } &&
19367 { ac_try
='test -s conftest.$ac_objext'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; }; then
19373 ac_cv_type_long_long
=yes
19375 echo "$as_me: failed program was:" >&5
19376 sed 's/^/| /' conftest.
$ac_ext >&5
19378 ac_cv_type_long_long
=no
19380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19382 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19383 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19385 echo "$as_me:$LINENO: checking size of long long" >&5
19386 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19387 if test "${ac_cv_sizeof_long_long+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19390 if test "$ac_cv_type_long_long" = yes; then
19391 # The cast to unsigned long works around a bug in the HP C Compiler
19392 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19393 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19394 # This bug is HP SR number 8606223364.
19395 if test "$cross_compiling" = yes; then
19396 # Depending upon the size, compute the lo and hi bounds.
19397 cat >conftest.
$ac_ext <<_ACEOF
19400 cat confdefs.h
>>conftest.
$ac_ext
19401 cat >>conftest.
$ac_ext <<_ACEOF
19402 /* end confdefs.h. */
19403 $ac_includes_default
19407 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19414 rm -f conftest.
$ac_objext
19415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19416 (eval $ac_compile) 2>conftest.er1
19418 grep -v '^ *+' conftest.er1
>conftest.err
19420 cat conftest.err
>&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); } &&
19423 { ac_try
='test -z "$ac_c_werror_flag"
19424 || test ! -s conftest.err'
19425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19426 (eval $ac_try) 2>&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); }; } &&
19430 { ac_try
='test -s conftest.$ac_objext'
19431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19432 (eval $ac_try) 2>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); }; }; then
19438 cat >conftest.
$ac_ext <<_ACEOF
19441 cat confdefs.h
>>conftest.
$ac_ext
19442 cat >>conftest.
$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19444 $ac_includes_default
19448 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19455 rm -f conftest.
$ac_objext
19456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19457 (eval $ac_compile) 2>conftest.er1
19459 grep -v '^ *+' conftest.er1
>conftest.err
19461 cat conftest.err
>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); } &&
19464 { ac_try
='test -z "$ac_c_werror_flag"
19465 || test ! -s conftest.err'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; } &&
19471 { ac_try
='test -s conftest.$ac_objext'
19472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19473 (eval $ac_try) 2>&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); }; }; then
19477 ac_hi
=$ac_mid; break
19479 echo "$as_me: failed program was:" >&5
19480 sed 's/^/| /' conftest.
$ac_ext >&5
19482 ac_lo
=`expr $ac_mid + 1`
19483 if test $ac_lo -le $ac_mid; then
19487 ac_mid
=`expr 2 '*' $ac_mid + 1`
19489 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.
$ac_ext >&5
19495 cat >conftest.
$ac_ext <<_ACEOF
19498 cat confdefs.h
>>conftest.
$ac_ext
19499 cat >>conftest.
$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19501 $ac_includes_default
19505 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19512 rm -f conftest.
$ac_objext
19513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19514 (eval $ac_compile) 2>conftest.er1
19516 grep -v '^ *+' conftest.er1
>conftest.err
19518 cat conftest.err
>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } &&
19521 { ac_try
='test -z "$ac_c_werror_flag"
19522 || test ! -s conftest.err'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; } &&
19528 { ac_try
='test -s conftest.$ac_objext'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; }; then
19536 cat >conftest.
$ac_ext <<_ACEOF
19539 cat confdefs.h
>>conftest.
$ac_ext
19540 cat >>conftest.
$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19542 $ac_includes_default
19546 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19553 rm -f conftest.
$ac_objext
19554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19555 (eval $ac_compile) 2>conftest.er1
19557 grep -v '^ *+' conftest.er1
>conftest.err
19559 cat conftest.err
>&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } &&
19562 { ac_try
='test -z "$ac_c_werror_flag"
19563 || test ! -s conftest.err'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; } &&
19569 { ac_try
='test -s conftest.$ac_objext'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; }; then
19575 ac_lo
=$ac_mid; break
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.
$ac_ext >&5
19580 ac_hi
=`expr '(' $ac_mid ')' - 1`
19581 if test $ac_mid -le $ac_hi; then
19585 ac_mid
=`expr 2 '*' $ac_mid`
19587 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.
$ac_ext >&5
19595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19598 # Binary search between lo and hi bounds.
19599 while test "x$ac_lo" != "x$ac_hi"; do
19600 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19601 cat >conftest.
$ac_ext <<_ACEOF
19604 cat confdefs.h
>>conftest.
$ac_ext
19605 cat >>conftest.
$ac_ext <<_ACEOF
19606 /* end confdefs.h. */
19607 $ac_includes_default
19611 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19618 rm -f conftest.
$ac_objext
19619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19620 (eval $ac_compile) 2>conftest.er1
19622 grep -v '^ *+' conftest.er1
>conftest.err
19624 cat conftest.err
>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); } &&
19627 { ac_try
='test -z "$ac_c_werror_flag"
19628 || test ! -s conftest.err'
19629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19630 (eval $ac_try) 2>&5
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; } &&
19634 { ac_try
='test -s conftest.$ac_objext'
19635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19636 (eval $ac_try) 2>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); }; }; then
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.
$ac_ext >&5
19645 ac_lo
=`expr '(' $ac_mid ')' + 1`
19647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19650 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
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; }; } ;;
19658 if test "$cross_compiling" = yes; then
19659 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19660 See \`config.log' for more details." >&5
19661 echo "$as_me: error: cannot run test program while cross compiling
19662 See \`config.log' for more details." >&2;}
19663 { (exit 1); exit 1; }; }
19665 cat >conftest.
$ac_ext <<_ACEOF
19668 cat confdefs.h
>>conftest.
$ac_ext
19669 cat >>conftest.
$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 $ac_includes_default
19672 long longval () { return (long) (sizeof (long long)); }
19673 unsigned long ulongval () { return (long) (sizeof (long long)); }
19675 #include <stdlib.h>
19680 FILE *f = fopen ("conftest.val", "w");
19683 if (((long) (sizeof (long long))) < 0)
19685 long i = longval ();
19686 if (i != ((long) (sizeof (long long))))
19688 fprintf (f, "%ld\n", i);
19692 unsigned long i = ulongval ();
19693 if (i != ((long) (sizeof (long long))))
19695 fprintf (f, "%lu\n", i);
19697 exit (ferror (f) || fclose (f) != 0);
19703 rm -f conftest
$ac_exeext
19704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19705 (eval $ac_link) 2>&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; }; then
19714 ac_cv_sizeof_long_long
=`cat conftest.val`
19716 echo "$as_me: program exited with status $ac_status" >&5
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.
$ac_ext >&5
19720 ( exit $ac_status )
19721 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19722 See \`config.log' for more details." >&5
19723 echo "$as_me: error: cannot compute sizeof (long long), 77
19724 See \`config.log' for more details." >&2;}
19725 { (exit 1); exit 1; }; }
19727 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19732 ac_cv_sizeof_long_long
=0
19735 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19736 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19737 cat >>confdefs.h
<<_ACEOF
19738 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19744 echo "$as_me:$LINENO: checking for long long" >&5
19745 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19746 if test "${ac_cv_type_long_long+set}" = set; then
19747 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 cat >conftest.
$ac_ext <<_ACEOF
19752 cat confdefs.h
>>conftest.
$ac_ext
19753 cat >>conftest.
$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19759 if ((long long *) 0)
19761 if (sizeof (long long))
19767 rm -f conftest.
$ac_objext
19768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19769 (eval $ac_compile) 2>conftest.er1
19771 grep -v '^ *+' conftest.er1
>conftest.err
19773 cat conftest.err
>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } &&
19776 { ac_try
='test -z "$ac_c_werror_flag"
19777 || test ! -s conftest.err'
19778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779 (eval $ac_try) 2>&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); }; } &&
19783 { ac_try
='test -s conftest.$ac_objext'
19784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19785 (eval $ac_try) 2>&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); }; }; then
19789 ac_cv_type_long_long
=yes
19791 echo "$as_me: failed program was:" >&5
19792 sed 's/^/| /' conftest.
$ac_ext >&5
19794 ac_cv_type_long_long
=no
19796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19798 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19799 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19801 echo "$as_me:$LINENO: checking size of long long" >&5
19802 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19803 if test "${ac_cv_sizeof_long_long+set}" = set; then
19804 echo $ECHO_N "(cached) $ECHO_C" >&6
19806 if test "$ac_cv_type_long_long" = yes; then
19807 # The cast to unsigned long works around a bug in the HP C Compiler
19808 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19809 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19810 # This bug is HP SR number 8606223364.
19811 if test "$cross_compiling" = yes; then
19812 # Depending upon the size, compute the lo and hi bounds.
19813 cat >conftest.
$ac_ext <<_ACEOF
19816 cat confdefs.h
>>conftest.
$ac_ext
19817 cat >>conftest.
$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 $ac_includes_default
19823 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19830 rm -f conftest.
$ac_objext
19831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19832 (eval $ac_compile) 2>conftest.er1
19834 grep -v '^ *+' conftest.er1
>conftest.err
19836 cat conftest.err
>&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } &&
19839 { ac_try
='test -z "$ac_c_werror_flag"
19840 || test ! -s conftest.err'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; } &&
19846 { ac_try
='test -s conftest.$ac_objext'
19847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19848 (eval $ac_try) 2>&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); }; }; then
19854 cat >conftest.
$ac_ext <<_ACEOF
19857 cat confdefs.h
>>conftest.
$ac_ext
19858 cat >>conftest.
$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19860 $ac_includes_default
19864 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19871 rm -f conftest.
$ac_objext
19872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19873 (eval $ac_compile) 2>conftest.er1
19875 grep -v '^ *+' conftest.er1
>conftest.err
19877 cat conftest.err
>&5
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); } &&
19880 { ac_try
='test -z "$ac_c_werror_flag"
19881 || test ! -s conftest.err'
19882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19883 (eval $ac_try) 2>&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); }; } &&
19887 { ac_try
='test -s conftest.$ac_objext'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; }; then
19893 ac_hi
=$ac_mid; break
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.
$ac_ext >&5
19898 ac_lo
=`expr $ac_mid + 1`
19899 if test $ac_lo -le $ac_mid; then
19903 ac_mid
=`expr 2 '*' $ac_mid + 1`
19905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19908 echo "$as_me: failed program was:" >&5
19909 sed 's/^/| /' conftest.
$ac_ext >&5
19911 cat >conftest.
$ac_ext <<_ACEOF
19914 cat confdefs.h
>>conftest.
$ac_ext
19915 cat >>conftest.
$ac_ext <<_ACEOF
19916 /* end confdefs.h. */
19917 $ac_includes_default
19921 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19928 rm -f conftest.
$ac_objext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19930 (eval $ac_compile) 2>conftest.er1
19932 grep -v '^ *+' conftest.er1
>conftest.err
19934 cat conftest.err
>&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } &&
19937 { ac_try
='test -z "$ac_c_werror_flag"
19938 || test ! -s conftest.err'
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); }; } &&
19944 { ac_try
='test -s conftest.$ac_objext'
19945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19946 (eval $ac_try) 2>&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19952 cat >conftest.
$ac_ext <<_ACEOF
19955 cat confdefs.h
>>conftest.
$ac_ext
19956 cat >>conftest.
$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19958 $ac_includes_default
19962 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19969 rm -f conftest.
$ac_objext
19970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19971 (eval $ac_compile) 2>conftest.er1
19973 grep -v '^ *+' conftest.er1
>conftest.err
19975 cat conftest.err
>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try
='test -z "$ac_c_werror_flag"
19979 || test ! -s conftest.err'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; } &&
19985 { ac_try
='test -s conftest.$ac_objext'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; }; then
19991 ac_lo
=$ac_mid; break
19993 echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.
$ac_ext >&5
19996 ac_hi
=`expr '(' $ac_mid ')' - 1`
19997 if test $ac_mid -le $ac_hi; then
20001 ac_mid
=`expr 2 '*' $ac_mid`
20003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20006 echo "$as_me: failed program was:" >&5
20007 sed 's/^/| /' conftest.
$ac_ext >&5
20011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20014 # Binary search between lo and hi bounds.
20015 while test "x$ac_lo" != "x$ac_hi"; do
20016 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20017 cat >conftest.
$ac_ext <<_ACEOF
20020 cat confdefs.h
>>conftest.
$ac_ext
20021 cat >>conftest.
$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20023 $ac_includes_default
20027 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20034 rm -f conftest.
$ac_objext
20035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20036 (eval $ac_compile) 2>conftest.er1
20038 grep -v '^ *+' conftest.er1
>conftest.err
20040 cat conftest.err
>&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } &&
20043 { ac_try
='test -z "$ac_c_werror_flag"
20044 || test ! -s conftest.err'
20045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20046 (eval $ac_try) 2>&5
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); }; } &&
20050 { ac_try
='test -s conftest.$ac_objext'
20051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20052 (eval $ac_try) 2>&5
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); }; }; then
20058 echo "$as_me: failed program was:" >&5
20059 sed 's/^/| /' conftest.
$ac_ext >&5
20061 ac_lo
=`expr '(' $ac_mid ')' + 1`
20063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20066 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20067 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20068 See \`config.log' for more details." >&5
20069 echo "$as_me: error: cannot compute sizeof (long long), 77
20070 See \`config.log' for more details." >&2;}
20071 { (exit 1); exit 1; }; } ;;
20074 if test "$cross_compiling" = yes; then
20075 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20076 See \`config.log' for more details." >&5
20077 echo "$as_me: error: cannot run test program while cross compiling
20078 See \`config.log' for more details." >&2;}
20079 { (exit 1); exit 1; }; }
20081 cat >conftest.
$ac_ext <<_ACEOF
20084 cat confdefs.h
>>conftest.
$ac_ext
20085 cat >>conftest.
$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 $ac_includes_default
20088 long longval () { return (long) (sizeof (long long)); }
20089 unsigned long ulongval () { return (long) (sizeof (long long)); }
20091 #include <stdlib.h>
20096 FILE *f = fopen ("conftest.val", "w");
20099 if (((long) (sizeof (long long))) < 0)
20101 long i = longval ();
20102 if (i != ((long) (sizeof (long long))))
20104 fprintf (f, "%ld\n", i);
20108 unsigned long i = ulongval ();
20109 if (i != ((long) (sizeof (long long))))
20111 fprintf (f, "%lu\n", i);
20113 exit (ferror (f) || fclose (f) != 0);
20119 rm -f conftest
$ac_exeext
20120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20121 (eval $ac_link) 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; }; then
20130 ac_cv_sizeof_long_long
=`cat conftest.val`
20132 echo "$as_me: program exited with status $ac_status" >&5
20133 echo "$as_me: failed program was:" >&5
20134 sed 's/^/| /' conftest.
$ac_ext >&5
20136 ( exit $ac_status )
20137 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20138 See \`config.log' for more details." >&5
20139 echo "$as_me: error: cannot compute sizeof (long long), 77
20140 See \`config.log' for more details." >&2;}
20141 { (exit 1); exit 1; }; }
20143 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20148 ac_cv_sizeof_long_long
=0
20151 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20152 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20153 cat >>confdefs.h
<<_ACEOF
20154 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20158 if test "$ac_cv_sizeof_long_long" != "0"; then
20159 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20163 echo "$as_me:$LINENO: checking for long long" >&5
20164 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20165 if test "${ac_cv_type_long_long+set}" = set; then
20166 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 cat >conftest.
$ac_ext <<_ACEOF
20171 cat confdefs.h
>>conftest.
$ac_ext
20172 cat >>conftest.
$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 $ac_includes_default
20178 if ((long long *) 0)
20180 if (sizeof (long long))
20186 rm -f conftest.
$ac_objext
20187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20188 (eval $ac_compile) 2>conftest.er1
20190 grep -v '^ *+' conftest.er1
>conftest.err
20192 cat conftest.err
>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); } &&
20195 { ac_try
='test -z "$ac_c_werror_flag"
20196 || test ! -s conftest.err'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; } &&
20202 { ac_try
='test -s conftest.$ac_objext'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; }; then
20208 ac_cv_type_long_long
=yes
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.
$ac_ext >&5
20213 ac_cv_type_long_long
=no
20215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20217 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20218 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20220 echo "$as_me:$LINENO: checking size of long long" >&5
20221 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20222 if test "${ac_cv_sizeof_long_long+set}" = set; then
20223 echo $ECHO_N "(cached) $ECHO_C" >&6
20225 if test "$ac_cv_type_long_long" = yes; then
20226 # The cast to unsigned long works around a bug in the HP C Compiler
20227 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20228 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20229 # This bug is HP SR number 8606223364.
20230 if test "$cross_compiling" = yes; then
20231 # Depending upon the size, compute the lo and hi bounds.
20232 cat >conftest.
$ac_ext <<_ACEOF
20235 cat confdefs.h
>>conftest.
$ac_ext
20236 cat >>conftest.
$ac_ext <<_ACEOF
20237 /* end confdefs.h. */
20238 $ac_includes_default
20242 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20249 rm -f conftest.
$ac_objext
20250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20251 (eval $ac_compile) 2>conftest.er1
20253 grep -v '^ *+' conftest.er1
>conftest.err
20255 cat conftest.err
>&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } &&
20258 { ac_try
='test -z "$ac_c_werror_flag"
20259 || test ! -s conftest.err'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; } &&
20265 { ac_try
='test -s conftest.$ac_objext'
20266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20267 (eval $ac_try) 2>&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); }; }; then
20273 cat >conftest.
$ac_ext <<_ACEOF
20276 cat confdefs.h
>>conftest.
$ac_ext
20277 cat >>conftest.
$ac_ext <<_ACEOF
20278 /* end confdefs.h. */
20279 $ac_includes_default
20283 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20290 rm -f conftest.
$ac_objext
20291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20292 (eval $ac_compile) 2>conftest.er1
20294 grep -v '^ *+' conftest.er1
>conftest.err
20296 cat conftest.err
>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } &&
20299 { ac_try
='test -z "$ac_c_werror_flag"
20300 || test ! -s conftest.err'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; } &&
20306 { ac_try
='test -s conftest.$ac_objext'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; }; then
20312 ac_hi
=$ac_mid; break
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.
$ac_ext >&5
20317 ac_lo
=`expr $ac_mid + 1`
20318 if test $ac_lo -le $ac_mid; then
20322 ac_mid
=`expr 2 '*' $ac_mid + 1`
20324 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20327 echo "$as_me: failed program was:" >&5
20328 sed 's/^/| /' conftest.
$ac_ext >&5
20330 cat >conftest.
$ac_ext <<_ACEOF
20333 cat confdefs.h
>>conftest.
$ac_ext
20334 cat >>conftest.
$ac_ext <<_ACEOF
20335 /* end confdefs.h. */
20336 $ac_includes_default
20340 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20347 rm -f conftest.
$ac_objext
20348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20349 (eval $ac_compile) 2>conftest.er1
20351 grep -v '^ *+' conftest.er1
>conftest.err
20353 cat conftest.err
>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } &&
20356 { ac_try
='test -z "$ac_c_werror_flag"
20357 || test ! -s conftest.err'
20358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20359 (eval $ac_try) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; } &&
20363 { ac_try
='test -s conftest.$ac_objext'
20364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20365 (eval $ac_try) 2>&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); }; }; then
20371 cat >conftest.
$ac_ext <<_ACEOF
20374 cat confdefs.h
>>conftest.
$ac_ext
20375 cat >>conftest.
$ac_ext <<_ACEOF
20376 /* end confdefs.h. */
20377 $ac_includes_default
20381 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20388 rm -f conftest.
$ac_objext
20389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20390 (eval $ac_compile) 2>conftest.er1
20392 grep -v '^ *+' conftest.er1
>conftest.err
20394 cat conftest.err
>&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); } &&
20397 { ac_try
='test -z "$ac_c_werror_flag"
20398 || test ! -s conftest.err'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; } &&
20404 { ac_try
='test -s conftest.$ac_objext'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; }; then
20410 ac_lo
=$ac_mid; break
20412 echo "$as_me: failed program was:" >&5
20413 sed 's/^/| /' conftest.
$ac_ext >&5
20415 ac_hi
=`expr '(' $ac_mid ')' - 1`
20416 if test $ac_mid -le $ac_hi; then
20420 ac_mid
=`expr 2 '*' $ac_mid`
20422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.
$ac_ext >&5
20430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20433 # Binary search between lo and hi bounds.
20434 while test "x$ac_lo" != "x$ac_hi"; do
20435 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20436 cat >conftest.
$ac_ext <<_ACEOF
20439 cat confdefs.h
>>conftest.
$ac_ext
20440 cat >>conftest.
$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 $ac_includes_default
20446 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20453 rm -f conftest.
$ac_objext
20454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20455 (eval $ac_compile) 2>conftest.er1
20457 grep -v '^ *+' conftest.er1
>conftest.err
20459 cat conftest.err
>&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); } &&
20462 { ac_try
='test -z "$ac_c_werror_flag"
20463 || test ! -s conftest.err'
20464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20465 (eval $ac_try) 2>&5
20467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); }; } &&
20469 { ac_try
='test -s conftest.$ac_objext'
20470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20471 (eval $ac_try) 2>&5
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); }; }; then
20477 echo "$as_me: failed program was:" >&5
20478 sed 's/^/| /' conftest.
$ac_ext >&5
20480 ac_lo
=`expr '(' $ac_mid ')' + 1`
20482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20485 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20486 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20487 See \`config.log' for more details." >&5
20488 echo "$as_me: error: cannot compute sizeof (long long), 77
20489 See \`config.log' for more details." >&2;}
20490 { (exit 1); exit 1; }; } ;;
20493 if test "$cross_compiling" = yes; then
20494 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20495 See \`config.log' for more details." >&5
20496 echo "$as_me: error: cannot run test program while cross compiling
20497 See \`config.log' for more details." >&2;}
20498 { (exit 1); exit 1; }; }
20500 cat >conftest.
$ac_ext <<_ACEOF
20503 cat confdefs.h
>>conftest.
$ac_ext
20504 cat >>conftest.
$ac_ext <<_ACEOF
20505 /* end confdefs.h. */
20506 $ac_includes_default
20507 long longval () { return (long) (sizeof (long long)); }
20508 unsigned long ulongval () { return (long) (sizeof (long long)); }
20510 #include <stdlib.h>
20515 FILE *f = fopen ("conftest.val", "w");
20518 if (((long) (sizeof (long long))) < 0)
20520 long i = longval ();
20521 if (i != ((long) (sizeof (long long))))
20523 fprintf (f, "%ld\n", i);
20527 unsigned long i = ulongval ();
20528 if (i != ((long) (sizeof (long long))))
20530 fprintf (f, "%lu\n", i);
20532 exit (ferror (f) || fclose (f) != 0);
20538 rm -f conftest
$ac_exeext
20539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20540 (eval $ac_link) 2>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20545 (eval $ac_try) 2>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); }; }; then
20549 ac_cv_sizeof_long_long
=`cat conftest.val`
20551 echo "$as_me: program exited with status $ac_status" >&5
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.
$ac_ext >&5
20555 ( exit $ac_status )
20556 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20557 See \`config.log' for more details." >&5
20558 echo "$as_me: error: cannot compute sizeof (long long), 77
20559 See \`config.log' for more details." >&2;}
20560 { (exit 1); exit 1; }; }
20562 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20567 ac_cv_sizeof_long_long
=0
20570 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20571 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20572 cat >>confdefs.h
<<_ACEOF
20573 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20579 echo "$as_me:$LINENO: checking for wchar_t" >&5
20580 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20581 if test "${ac_cv_type_wchar_t+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 cat >conftest.
$ac_ext <<_ACEOF
20587 cat confdefs.h
>>conftest.
$ac_ext
20588 cat >>conftest.
$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20591 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20592 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20593 # error "fake wchar_t"
20595 #ifdef HAVE_WCHAR_H
20597 # include <stddef.h>
20599 # include <wchar.h>
20601 #ifdef HAVE_STDLIB_H
20602 # include <stdlib.h>
20613 if (sizeof (wchar_t))
20619 rm -f conftest.
$ac_objext
20620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20621 (eval $ac_compile) 2>conftest.er1
20623 grep -v '^ *+' conftest.er1
>conftest.err
20625 cat conftest.err
>&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); } &&
20628 { ac_try
='test -z "$ac_c_werror_flag"
20629 || test ! -s conftest.err'
20630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20631 (eval $ac_try) 2>&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; } &&
20635 { ac_try
='test -s conftest.$ac_objext'
20636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20637 (eval $ac_try) 2>&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); }; }; then
20641 ac_cv_type_wchar_t
=yes
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.
$ac_ext >&5
20646 ac_cv_type_wchar_t
=no
20648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20650 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20651 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20653 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20654 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20655 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20656 echo $ECHO_N "(cached) $ECHO_C" >&6
20658 if test "$ac_cv_type_wchar_t" = yes; then
20659 # The cast to unsigned long works around a bug in the HP C Compiler
20660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20662 # This bug is HP SR number 8606223364.
20663 if test "$cross_compiling" = yes; then
20664 # Depending upon the size, compute the lo and hi bounds.
20665 cat >conftest.
$ac_ext <<_ACEOF
20668 cat confdefs.h
>>conftest.
$ac_ext
20669 cat >>conftest.
$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20672 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20673 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20674 # error "fake wchar_t"
20676 #ifdef HAVE_WCHAR_H
20678 # include <stddef.h>
20680 # include <wchar.h>
20682 #ifdef HAVE_STDLIB_H
20683 # include <stdlib.h>
20692 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20699 rm -f conftest.
$ac_objext
20700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20701 (eval $ac_compile) 2>conftest.er1
20703 grep -v '^ *+' conftest.er1
>conftest.err
20705 cat conftest.err
>&5
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); } &&
20708 { ac_try
='test -z "$ac_c_werror_flag"
20709 || test ! -s conftest.err'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; } &&
20715 { ac_try
='test -s conftest.$ac_objext'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20723 cat >conftest.
$ac_ext <<_ACEOF
20726 cat confdefs.h
>>conftest.
$ac_ext
20727 cat >>conftest.
$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20730 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20731 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20732 # error "fake wchar_t"
20734 #ifdef HAVE_WCHAR_H
20736 # include <stddef.h>
20738 # include <wchar.h>
20740 #ifdef HAVE_STDLIB_H
20741 # include <stdlib.h>
20750 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20757 rm -f conftest.
$ac_objext
20758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20759 (eval $ac_compile) 2>conftest.er1
20761 grep -v '^ *+' conftest.er1
>conftest.err
20763 cat conftest.err
>&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); } &&
20766 { ac_try
='test -z "$ac_c_werror_flag"
20767 || test ! -s conftest.err'
20768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20769 (eval $ac_try) 2>&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); }; } &&
20773 { ac_try
='test -s conftest.$ac_objext'
20774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20775 (eval $ac_try) 2>&5
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); }; }; then
20779 ac_hi
=$ac_mid; break
20781 echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.
$ac_ext >&5
20784 ac_lo
=`expr $ac_mid + 1`
20785 if test $ac_lo -le $ac_mid; then
20789 ac_mid
=`expr 2 '*' $ac_mid + 1`
20791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.
$ac_ext >&5
20797 cat >conftest.
$ac_ext <<_ACEOF
20800 cat confdefs.h
>>conftest.
$ac_ext
20801 cat >>conftest.
$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20804 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20805 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20806 # error "fake wchar_t"
20808 #ifdef HAVE_WCHAR_H
20810 # include <stddef.h>
20812 # include <wchar.h>
20814 #ifdef HAVE_STDLIB_H
20815 # include <stdlib.h>
20824 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20831 rm -f conftest.
$ac_objext
20832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20833 (eval $ac_compile) 2>conftest.er1
20835 grep -v '^ *+' conftest.er1
>conftest.err
20837 cat conftest.err
>&5
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } &&
20840 { ac_try
='test -z "$ac_c_werror_flag"
20841 || test ! -s conftest.err'
20842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20843 (eval $ac_try) 2>&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); }; } &&
20847 { ac_try
='test -s conftest.$ac_objext'
20848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20849 (eval $ac_try) 2>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); }; }; then
20855 cat >conftest.
$ac_ext <<_ACEOF
20858 cat confdefs.h
>>conftest.
$ac_ext
20859 cat >>conftest.
$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20862 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20863 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20864 # error "fake wchar_t"
20866 #ifdef HAVE_WCHAR_H
20868 # include <stddef.h>
20870 # include <wchar.h>
20872 #ifdef HAVE_STDLIB_H
20873 # include <stdlib.h>
20882 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20889 rm -f conftest.
$ac_objext
20890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20891 (eval $ac_compile) 2>conftest.er1
20893 grep -v '^ *+' conftest.er1
>conftest.err
20895 cat conftest.err
>&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); } &&
20898 { ac_try
='test -z "$ac_c_werror_flag"
20899 || test ! -s conftest.err'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; } &&
20905 { ac_try
='test -s conftest.$ac_objext'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; }; then
20911 ac_lo
=$ac_mid; break
20913 echo "$as_me: failed program was:" >&5
20914 sed 's/^/| /' conftest.
$ac_ext >&5
20916 ac_hi
=`expr '(' $ac_mid ')' - 1`
20917 if test $ac_mid -le $ac_hi; then
20921 ac_mid
=`expr 2 '*' $ac_mid`
20923 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.
$ac_ext >&5
20931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20934 # Binary search between lo and hi bounds.
20935 while test "x$ac_lo" != "x$ac_hi"; do
20936 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20937 cat >conftest.
$ac_ext <<_ACEOF
20940 cat confdefs.h
>>conftest.
$ac_ext
20941 cat >>conftest.
$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20944 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20945 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20946 # error "fake wchar_t"
20948 #ifdef HAVE_WCHAR_H
20950 # include <stddef.h>
20952 # include <wchar.h>
20954 #ifdef HAVE_STDLIB_H
20955 # include <stdlib.h>
20964 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20971 rm -f conftest.
$ac_objext
20972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20973 (eval $ac_compile) 2>conftest.er1
20975 grep -v '^ *+' conftest.er1
>conftest.err
20977 cat conftest.err
>&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } &&
20980 { ac_try
='test -z "$ac_c_werror_flag"
20981 || test ! -s conftest.err'
20982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20983 (eval $ac_try) 2>&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); }; } &&
20987 { ac_try
='test -s conftest.$ac_objext'
20988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20989 (eval $ac_try) 2>&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; }; then
20995 echo "$as_me: failed program was:" >&5
20996 sed 's/^/| /' conftest.
$ac_ext >&5
20998 ac_lo
=`expr '(' $ac_mid ')' + 1`
21000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21003 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21004 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21005 See \`config.log' for more details." >&5
21006 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21007 See \`config.log' for more details." >&2;}
21008 { (exit 1); exit 1; }; } ;;
21011 if test "$cross_compiling" = yes; then
21012 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21013 See \`config.log' for more details." >&5
21014 echo "$as_me: error: cannot run test program while cross compiling
21015 See \`config.log' for more details." >&2;}
21016 { (exit 1); exit 1; }; }
21018 cat >conftest.
$ac_ext <<_ACEOF
21021 cat confdefs.h
>>conftest.
$ac_ext
21022 cat >>conftest.
$ac_ext <<_ACEOF
21023 /* end confdefs.h. */
21025 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21026 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21027 # error "fake wchar_t"
21029 #ifdef HAVE_WCHAR_H
21031 # include <stddef.h>
21033 # include <wchar.h>
21035 #ifdef HAVE_STDLIB_H
21036 # include <stdlib.h>
21042 long longval () { return (long) (sizeof (wchar_t)); }
21043 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21045 #include <stdlib.h>
21050 FILE *f = fopen ("conftest.val", "w");
21053 if (((long) (sizeof (wchar_t))) < 0)
21055 long i = longval ();
21056 if (i != ((long) (sizeof (wchar_t))))
21058 fprintf (f, "%ld\n", i);
21062 unsigned long i = ulongval ();
21063 if (i != ((long) (sizeof (wchar_t))))
21065 fprintf (f, "%lu\n", i);
21067 exit (ferror (f) || fclose (f) != 0);
21073 rm -f conftest
$ac_exeext
21074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21075 (eval $ac_link) 2>&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21080 (eval $ac_try) 2>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); }; }; then
21084 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21086 echo "$as_me: program exited with status $ac_status" >&5
21087 echo "$as_me: failed program was:" >&5
21088 sed 's/^/| /' conftest.
$ac_ext >&5
21090 ( exit $ac_status )
21091 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21092 See \`config.log' for more details." >&5
21093 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21094 See \`config.log' for more details." >&2;}
21095 { (exit 1); exit 1; }; }
21097 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21102 ac_cv_sizeof_wchar_t
=0
21105 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21106 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21107 cat >>confdefs.h
<<_ACEOF
21108 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21112 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21118 echo "$as_me:$LINENO: checking for va_copy" >&5
21119 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21120 if test "${wx_cv_func_va_copy+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21124 cat >conftest.
$ac_ext <<_ACEOF
21126 #include <stdarg.h>
21127 void foo(char *f, ...)
21141 rm -f conftest.
$ac_objext conftest
$ac_exeext
21142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21143 (eval $ac_link) 2>conftest.er1
21145 grep -v '^ *+' conftest.er1
>conftest.err
21147 cat conftest.err
>&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); } &&
21150 { ac_try
='test -z "$ac_c_werror_flag"
21151 || test ! -s conftest.err'
21152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21153 (eval $ac_try) 2>&5
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); }; } &&
21157 { ac_try
='test -s conftest$ac_exeext'
21158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159 (eval $ac_try) 2>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; }; then
21163 wx_cv_func_va_copy
=yes
21165 echo "$as_me: failed program was:" >&5
21166 sed 's/^/| /' conftest.
$ac_ext >&5
21168 wx_cv_func_va_copy
=no
21171 rm -f conftest.err conftest.
$ac_objext \
21172 conftest
$ac_exeext conftest.
$ac_ext
21176 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21177 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21179 if test $wx_cv_func_va_copy = "yes"; then
21180 cat >>confdefs.h
<<\_ACEOF
21181 #define HAVE_VA_COPY 1
21185 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21186 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21187 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21188 echo $ECHO_N "(cached) $ECHO_C" >&6
21191 if test "$cross_compiling" = yes; then
21192 wx_cv_type_va_list_lvalue
=yes
21195 cat >conftest.
$ac_ext <<_ACEOF
21197 #include <stdarg.h>
21198 int foo(char *f, ...)
21203 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21211 return foo("hi", 17);
21214 rm -f conftest
$ac_exeext
21215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21216 (eval $ac_link) 2>&5
21218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21221 (eval $ac_try) 2>&5
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); }; }; then
21225 wx_cv_type_va_list_lvalue
=yes
21227 echo "$as_me: program exited with status $ac_status" >&5
21228 echo "$as_me: failed program was:" >&5
21229 sed 's/^/| /' conftest.
$ac_ext >&5
21231 ( exit $ac_status )
21232 wx_cv_type_va_list_lvalue
=no
21234 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21239 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21240 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21242 if test $wx_cv_type_va_list_lvalue != "yes"; then
21243 cat >>confdefs.h
<<\_ACEOF
21244 #define VA_LIST_IS_ARRAY 1
21250 # Check whether --enable-largefile or --disable-largefile was given.
21251 if test "${enable_largefile+set}" = set; then
21252 enableval
="$enable_largefile"
21255 if test "$enable_largefile" != no
; then
21258 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21259 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21260 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21261 echo $ECHO_N "(cached) $ECHO_C" >&6
21264 cat >conftest.
$ac_ext <<_ACEOF
21267 cat confdefs.h
>>conftest.
$ac_ext
21268 cat >>conftest.
$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 #define _FILE_OFFSET_BITS 64
21271 #include <sys/types.h>
21276 unsigned int field: sizeof(off_t) == 8;
21283 rm -f conftest.
$ac_objext
21284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21285 (eval $ac_compile) 2>conftest.er1
21287 grep -v '^ *+' conftest.er1
>conftest.err
21289 cat conftest.err
>&5
21290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21291 (exit $ac_status); } &&
21292 { ac_try
='test -z "$ac_c_werror_flag"
21293 || test ! -s conftest.err'
21294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21295 (eval $ac_try) 2>&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); }; } &&
21299 { ac_try
='test -s conftest.$ac_objext'
21300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21301 (eval $ac_try) 2>&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); }; }; then
21305 ac_cv_sys_file_offset_bits
=64
21307 echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.
$ac_ext >&5
21310 ac_cv_sys_file_offset_bits
=no
21312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21316 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21317 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21319 if test "$ac_cv_sys_file_offset_bits" != no
; then
21321 cat >>confdefs.h
<<_ACEOF
21322 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21327 if test "x$wx_largefile" != "xyes"; then
21329 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21330 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21331 if test "${ac_cv_sys_large_files+set}" = set; then
21332 echo $ECHO_N "(cached) $ECHO_C" >&6
21335 cat >conftest.
$ac_ext <<_ACEOF
21338 cat confdefs.h
>>conftest.
$ac_ext
21339 cat >>conftest.
$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 #define _LARGE_FILES 1
21342 #include <sys/types.h>
21347 unsigned int field: sizeof(off_t) == 8;
21354 rm -f conftest.
$ac_objext
21355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21356 (eval $ac_compile) 2>conftest.er1
21358 grep -v '^ *+' conftest.er1
>conftest.err
21360 cat conftest.err
>&5
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); } &&
21363 { ac_try
='test -z "$ac_c_werror_flag"
21364 || test ! -s conftest.err'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; } &&
21370 { ac_try
='test -s conftest.$ac_objext'
21371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21372 (eval $ac_try) 2>&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; }; then
21376 ac_cv_sys_large_files
=1
21378 echo "$as_me: failed program was:" >&5
21379 sed 's/^/| /' conftest.
$ac_ext >&5
21381 ac_cv_sys_large_files
=no
21383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21387 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21388 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21390 if test "$ac_cv_sys_large_files" != no
; then
21392 cat >>confdefs.h
<<_ACEOF
21393 #define _LARGE_FILES $ac_cv_sys_large_files
21400 echo "$as_me:$LINENO: checking if large file support is available" >&5
21401 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21402 if test "x$wx_largefile" = "xyes"; then
21403 cat >>confdefs.h
<<\_ACEOF
21404 #define HAVE_LARGEFILE_SUPPORT 1
21408 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21409 echo "${ECHO_T}$wx_largefile" >&6
21413 if test "x$wx_largefile" = "xyes"; then
21414 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21415 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21417 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21418 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21419 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21420 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21421 echo $ECHO_N "(cached) $ECHO_C" >&6
21427 ac_cpp
='$CXXCPP $CPPFLAGS'
21428 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21429 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21430 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21432 cat >conftest.
$ac_ext <<_ACEOF
21435 cat confdefs.h
>>conftest.
$ac_ext
21436 cat >>conftest.
$ac_ext <<_ACEOF
21437 /* end confdefs.h. */
21443 #ifndef __STDC_EXT__
21451 rm -f conftest.
$ac_objext
21452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21453 (eval $ac_compile) 2>conftest.er1
21455 grep -v '^ *+' conftest.er1
>conftest.err
21457 cat conftest.err
>&5
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); } &&
21460 { ac_try
='test -z "$ac_cxx_werror_flag"
21461 || test ! -s conftest.err'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; } &&
21467 { ac_try
='test -s conftest.$ac_objext'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; }; then
21473 wx_cv_STDC_EXT_required
=no
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.
$ac_ext >&5
21478 wx_cv_STDC_EXT_required
=yes
21481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21483 ac_cpp
='$CPP $CPPFLAGS'
21484 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21491 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21492 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21493 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21494 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21498 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21500 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21501 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21502 if test "${ac_cv_sys_largefile_source+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21506 ac_cv_sys_largefile_source
=no
21507 cat >conftest.
$ac_ext <<_ACEOF
21510 cat confdefs.h
>>conftest.
$ac_ext
21511 cat >>conftest.
$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21522 rm -f conftest.
$ac_objext
21523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21524 (eval $ac_compile) 2>conftest.er1
21526 grep -v '^ *+' conftest.er1
>conftest.err
21528 cat conftest.err
>&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } &&
21531 { ac_try
='test -z "$ac_c_werror_flag"
21532 || test ! -s conftest.err'
21533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21534 (eval $ac_try) 2>&5
21536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); }; } &&
21538 { ac_try
='test -s conftest.$ac_objext'
21539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21540 (eval $ac_try) 2>&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); }; }; then
21546 echo "$as_me: failed program was:" >&5
21547 sed 's/^/| /' conftest.
$ac_ext >&5
21550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21551 cat >conftest.
$ac_ext <<_ACEOF
21554 cat confdefs.h
>>conftest.
$ac_ext
21555 cat >>conftest.
$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21557 #define _LARGEFILE_SOURCE 1
21567 rm -f conftest.
$ac_objext
21568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21569 (eval $ac_compile) 2>conftest.er1
21571 grep -v '^ *+' conftest.er1
>conftest.err
21573 cat conftest.err
>&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } &&
21576 { ac_try
='test -z "$ac_c_werror_flag"
21577 || test ! -s conftest.err'
21578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21579 (eval $ac_try) 2>&5
21581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582 (exit $ac_status); }; } &&
21583 { ac_try
='test -s conftest.$ac_objext'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; }; then
21589 ac_cv_sys_largefile_source
=1; break
21591 echo "$as_me: failed program was:" >&5
21592 sed 's/^/| /' conftest.
$ac_ext >&5
21595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21599 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21600 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21601 if test "$ac_cv_sys_largefile_source" != no
; then
21603 cat >>confdefs.h
<<_ACEOF
21604 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21610 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21611 # in glibc 2.1.3, but that breaks too many other things.
21612 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21613 echo "$as_me:$LINENO: checking for fseeko" >&5
21614 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21615 if test "${ac_cv_func_fseeko+set}" = set; then
21616 echo $ECHO_N "(cached) $ECHO_C" >&6
21618 cat >conftest.
$ac_ext <<_ACEOF
21621 cat confdefs.h
>>conftest.
$ac_ext
21622 cat >>conftest.
$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21628 return fseeko && fseeko (stdin, 0, 0);
21633 rm -f conftest.
$ac_objext conftest
$ac_exeext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21635 (eval $ac_link) 2>conftest.er1
21637 grep -v '^ *+' conftest.er1
>conftest.err
21639 cat conftest.err
>&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try
='test -z "$ac_c_werror_flag"
21643 || test ! -s conftest.err'
21644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21645 (eval $ac_try) 2>&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); }; } &&
21649 { ac_try
='test -s conftest$ac_exeext'
21650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21651 (eval $ac_try) 2>&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); }; }; then
21655 ac_cv_func_fseeko
=yes
21657 echo "$as_me: failed program was:" >&5
21658 sed 's/^/| /' conftest.
$ac_ext >&5
21660 ac_cv_func_fseeko
=no
21662 rm -f conftest.err conftest.
$ac_objext \
21663 conftest
$ac_exeext conftest.
$ac_ext
21665 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21666 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21667 if test $ac_cv_func_fseeko = yes; then
21669 cat >>confdefs.h
<<\_ACEOF
21670 #define HAVE_FSEEKO 1
21675 if test "$ac_cv_sys_largefile_source" != no
; then
21676 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21680 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21681 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21682 if test "${ac_cv_c_bigendian+set}" = set; then
21683 echo $ECHO_N "(cached) $ECHO_C" >&6
21685 ac_cv_c_bigendian
=unknown
21686 # See if sys/param.h defines the BYTE_ORDER macro.
21687 cat >conftest.
$ac_ext <<_ACEOF
21690 cat confdefs.h
>>conftest.
$ac_ext
21691 cat >>conftest.
$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21693 #include <sys/types.h>
21694 #include <sys/param.h>
21699 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21700 bogus endian macros
21706 rm -f conftest.
$ac_objext
21707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21708 (eval $ac_compile) 2>conftest.er1
21710 grep -v '^ *+' conftest.er1
>conftest.err
21712 cat conftest.err
>&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); } &&
21715 { ac_try
='test -z "$ac_c_werror_flag"
21716 || test ! -s conftest.err'
21717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21718 (eval $ac_try) 2>&5
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); }; } &&
21722 { ac_try
='test -s conftest.$ac_objext'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; }; then
21728 # It does; now see whether it defined to BIG_ENDIAN or not.
21729 cat >conftest.
$ac_ext <<_ACEOF
21732 cat confdefs.h
>>conftest.
$ac_ext
21733 cat >>conftest.
$ac_ext <<_ACEOF
21734 /* end confdefs.h. */
21735 #include <sys/types.h>
21736 #include <sys/param.h>
21741 #if BYTE_ORDER != BIG_ENDIAN
21748 rm -f conftest.
$ac_objext
21749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21750 (eval $ac_compile) 2>conftest.er1
21752 grep -v '^ *+' conftest.er1
>conftest.err
21754 cat conftest.err
>&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); } &&
21757 { ac_try
='test -z "$ac_c_werror_flag"
21758 || test ! -s conftest.err'
21759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21760 (eval $ac_try) 2>&5
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); }; } &&
21764 { ac_try
='test -s conftest.$ac_objext'
21765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21766 (eval $ac_try) 2>&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); }; }; then
21770 ac_cv_c_bigendian
=yes
21772 echo "$as_me: failed program was:" >&5
21773 sed 's/^/| /' conftest.
$ac_ext >&5
21775 ac_cv_c_bigendian
=no
21777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.
$ac_ext >&5
21783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21784 if test $ac_cv_c_bigendian = unknown
; then
21785 if test "$cross_compiling" = yes; then
21786 ac_cv_c_bigendian
=unknown
21788 cat >conftest.
$ac_ext <<_ACEOF
21791 cat confdefs.h
>>conftest.
$ac_ext
21792 cat >>conftest.
$ac_ext <<_ACEOF
21793 /* end confdefs.h. */
21795 /* Are we little or big endian? From Harbison&Steele. */
21799 char c[sizeof (long)];
21802 exit (u.c[sizeof (long) - 1] == 1);
21805 rm -f conftest
$ac_exeext
21806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21807 (eval $ac_link) 2>&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21812 (eval $ac_try) 2>&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; }; then
21816 ac_cv_c_bigendian
=no
21818 echo "$as_me: program exited with status $ac_status" >&5
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.
$ac_ext >&5
21822 ( exit $ac_status )
21823 ac_cv_c_bigendian
=yes
21825 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21829 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21830 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21831 if test $ac_cv_c_bigendian = unknown
; then
21832 { 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
21833 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;}
21835 if test $ac_cv_c_bigendian = yes; then
21836 cat >>confdefs.h
<<\_ACEOF
21837 #define WORDS_BIGENDIAN 1
21844 ac_cpp
='$CXXCPP $CPPFLAGS'
21845 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21846 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21847 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21848 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21849 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21850 if test -z "$CXXCPP"; then
21851 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21852 echo $ECHO_N "(cached) $ECHO_C" >&6
21854 # Double quotes because CXXCPP needs to be expanded
21855 for CXXCPP
in "$CXX -E" "/lib/cpp"
21857 ac_preproc_ok
=false
21858 for ac_cxx_preproc_warn_flag
in '' yes
21860 # Use a header file that comes with gcc, so configuring glibc
21861 # with a fresh cross-compiler works.
21862 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21863 # <limits.h> exists even on freestanding compilers.
21864 # On the NeXT, cc -E runs the code through the compiler's parser,
21865 # not just through cpp. "Syntax error" is here to catch this case.
21866 cat >conftest.
$ac_ext <<_ACEOF
21869 cat confdefs.h
>>conftest.
$ac_ext
21870 cat >>conftest.
$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21873 # include <limits.h>
21875 # include <assert.h>
21879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21880 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21882 grep -v '^ *+' conftest.er1
>conftest.err
21884 cat conftest.err
>&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); } >/dev
/null
; then
21887 if test -s conftest.err
; then
21888 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21889 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21896 if test -z "$ac_cpp_err"; then
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.
$ac_ext >&5
21902 # Broken: fails on valid input.
21905 rm -f conftest.err conftest.
$ac_ext
21907 # OK, works on sane cases. Now check whether non-existent headers
21908 # can be detected and how.
21909 cat >conftest.
$ac_ext <<_ACEOF
21912 cat confdefs.h
>>conftest.
$ac_ext
21913 cat >>conftest.
$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 #include <ac_nonexistent.h>
21917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21918 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21920 grep -v '^ *+' conftest.er1
>conftest.err
21922 cat conftest.err
>&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); } >/dev
/null
; then
21925 if test -s conftest.err
; then
21926 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21927 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21934 if test -z "$ac_cpp_err"; then
21935 # Broken: success on invalid input.
21938 echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.
$ac_ext >&5
21941 # Passes both tests.
21945 rm -f conftest.err conftest.
$ac_ext
21948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21949 rm -f conftest.err conftest.
$ac_ext
21950 if $ac_preproc_ok; then
21955 ac_cv_prog_CXXCPP
=$CXXCPP
21958 CXXCPP
=$ac_cv_prog_CXXCPP
21960 ac_cv_prog_CXXCPP
=$CXXCPP
21962 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21963 echo "${ECHO_T}$CXXCPP" >&6
21964 ac_preproc_ok
=false
21965 for ac_cxx_preproc_warn_flag
in '' yes
21967 # Use a header file that comes with gcc, so configuring glibc
21968 # with a fresh cross-compiler works.
21969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21970 # <limits.h> exists even on freestanding compilers.
21971 # On the NeXT, cc -E runs the code through the compiler's parser,
21972 # not just through cpp. "Syntax error" is here to catch this case.
21973 cat >conftest.
$ac_ext <<_ACEOF
21976 cat confdefs.h
>>conftest.
$ac_ext
21977 cat >>conftest.
$ac_ext <<_ACEOF
21978 /* end confdefs.h. */
21980 # include <limits.h>
21982 # include <assert.h>
21986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21987 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21989 grep -v '^ *+' conftest.er1
>conftest.err
21991 cat conftest.err
>&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } >/dev
/null
; then
21994 if test -s conftest.err
; then
21995 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21996 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22003 if test -z "$ac_cpp_err"; then
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.
$ac_ext >&5
22009 # Broken: fails on valid input.
22012 rm -f conftest.err conftest.
$ac_ext
22014 # OK, works on sane cases. Now check whether non-existent headers
22015 # can be detected and how.
22016 cat >conftest.
$ac_ext <<_ACEOF
22019 cat confdefs.h
>>conftest.
$ac_ext
22020 cat >>conftest.
$ac_ext <<_ACEOF
22021 /* end confdefs.h. */
22022 #include <ac_nonexistent.h>
22024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22025 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22027 grep -v '^ *+' conftest.er1
>conftest.err
22029 cat conftest.err
>&5
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); } >/dev
/null
; then
22032 if test -s conftest.err
; then
22033 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22034 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22041 if test -z "$ac_cpp_err"; then
22042 # Broken: success on invalid input.
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.
$ac_ext >&5
22048 # Passes both tests.
22052 rm -f conftest.err conftest.
$ac_ext
22055 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22056 rm -f conftest.err conftest.
$ac_ext
22057 if $ac_preproc_ok; then
22060 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22061 See \`config.log' for more details." >&5
22062 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22063 See \`config.log' for more details." >&2;}
22064 { (exit 1); exit 1; }; }
22068 ac_cpp
='$CXXCPP $CPPFLAGS'
22069 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22070 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22071 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22078 ac_cpp
='$CXXCPP $CPPFLAGS'
22079 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22080 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22081 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22085 for ac_header
in iostream
22087 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22089 echo "$as_me:$LINENO: checking for $ac_header" >&5
22090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22092 echo $ECHO_N "(cached) $ECHO_C" >&6
22094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22097 # Is the header compilable?
22098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22100 cat >conftest.
$ac_ext <<_ACEOF
22103 cat confdefs.h
>>conftest.
$ac_ext
22104 cat >>conftest.
$ac_ext <<_ACEOF
22105 /* end confdefs.h. */
22106 $ac_includes_default
22107 #include <$ac_header>
22109 rm -f conftest.
$ac_objext
22110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22111 (eval $ac_compile) 2>conftest.er1
22113 grep -v '^ *+' conftest.er1
>conftest.err
22115 cat conftest.err
>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } &&
22118 { ac_try
='test -z "$ac_cxx_werror_flag"
22119 || test ! -s conftest.err'
22120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121 (eval $ac_try) 2>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; } &&
22125 { ac_try
='test -s conftest.$ac_objext'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; }; then
22131 ac_header_compiler
=yes
22133 echo "$as_me: failed program was:" >&5
22134 sed 's/^/| /' conftest.
$ac_ext >&5
22136 ac_header_compiler
=no
22138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22140 echo "${ECHO_T}$ac_header_compiler" >&6
22142 # Is the header present?
22143 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22144 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22145 cat >conftest.
$ac_ext <<_ACEOF
22148 cat confdefs.h
>>conftest.
$ac_ext
22149 cat >>conftest.
$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151 #include <$ac_header>
22153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22154 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22156 grep -v '^ *+' conftest.er1
>conftest.err
22158 cat conftest.err
>&5
22159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160 (exit $ac_status); } >/dev
/null
; then
22161 if test -s conftest.err
; then
22162 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22163 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22170 if test -z "$ac_cpp_err"; then
22171 ac_header_preproc
=yes
22173 echo "$as_me: failed program was:" >&5
22174 sed 's/^/| /' conftest.
$ac_ext >&5
22176 ac_header_preproc
=no
22178 rm -f conftest.err conftest.
$ac_ext
22179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22180 echo "${ECHO_T}$ac_header_preproc" >&6
22182 # So? What about this header?
22183 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22185 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22186 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22188 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22189 ac_header_preproc
=yes
22192 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22193 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22194 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22195 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22196 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22197 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22198 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22199 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22202 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22203 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22206 ## ----------------------------------------- ##
22207 ## Report this to wx-dev@lists.wxwidgets.org ##
22208 ## ----------------------------------------- ##
22211 sed "s/^/$as_me: WARNING: /" >&2
22214 echo "$as_me:$LINENO: checking for $ac_header" >&5
22215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22217 echo $ECHO_N "(cached) $ECHO_C" >&6
22219 eval "$as_ac_Header=\$ac_header_preproc"
22221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22226 cat >>confdefs.h
<<_ACEOF
22227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22235 if test "$ac_cv_header_iostream" = "yes" ; then
22238 cat >>confdefs.h
<<\_ACEOF
22239 #define wxUSE_IOSTREAMH 1
22245 ac_cpp
='$CPP $CPPFLAGS'
22246 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22247 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22248 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22253 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22254 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22255 if test "${wx_cv_cpp_bool+set}" = set; then
22256 echo $ECHO_N "(cached) $ECHO_C" >&6
22262 ac_cpp
='$CXXCPP $CPPFLAGS'
22263 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22264 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22265 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22268 cat >conftest.
$ac_ext <<_ACEOF
22271 cat confdefs.h
>>conftest.
$ac_ext
22272 cat >>conftest.
$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22288 rm -f conftest.
$ac_objext
22289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22290 (eval $ac_compile) 2>conftest.er1
22292 grep -v '^ *+' conftest.er1
>conftest.err
22294 cat conftest.err
>&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); } &&
22297 { ac_try
='test -z "$ac_cxx_werror_flag"
22298 || test ! -s conftest.err'
22299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22300 (eval $ac_try) 2>&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); }; } &&
22304 { ac_try
='test -s conftest.$ac_objext'
22305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22306 (eval $ac_try) 2>&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); }; }; then
22314 echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.
$ac_ext >&5
22322 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22325 ac_cpp
='$CPP $CPPFLAGS'
22326 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22332 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22333 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22335 if test "$wx_cv_cpp_bool" = "yes"; then
22336 cat >>confdefs.h
<<\_ACEOF
22337 #define HAVE_BOOL 1
22344 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22345 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22346 if test "${wx_cv_explicit+set}" = set; then
22347 echo $ECHO_N "(cached) $ECHO_C" >&6
22353 ac_cpp
='$CXXCPP $CPPFLAGS'
22354 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22355 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22356 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22359 cat >conftest.
$ac_ext <<_ACEOF
22362 cat confdefs.h
>>conftest.
$ac_ext
22363 cat >>conftest.
$ac_ext <<_ACEOF
22364 /* end confdefs.h. */
22366 class Foo { public: explicit Foo(int) {} };
22378 rm -f conftest.
$ac_objext
22379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22380 (eval $ac_compile) 2>conftest.er1
22382 grep -v '^ *+' conftest.er1
>conftest.err
22384 cat conftest.err
>&5
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); } &&
22387 { ac_try
='test -z "$ac_cxx_werror_flag"
22388 || test ! -s conftest.err'
22389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22390 (eval $ac_try) 2>&5
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); }; } &&
22394 { ac_try
='test -s conftest.$ac_objext'
22395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22396 (eval $ac_try) 2>&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); }; }; then
22401 cat >conftest.
$ac_ext <<_ACEOF
22404 cat confdefs.h
>>conftest.
$ac_ext
22405 cat >>conftest.
$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22408 class Foo { public: explicit Foo(int) {} };
22409 static void TakeFoo(const Foo& foo) { }
22422 rm -f conftest.
$ac_objext
22423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22424 (eval $ac_compile) 2>conftest.er1
22426 grep -v '^ *+' conftest.er1
>conftest.err
22428 cat conftest.err
>&5
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); } &&
22431 { ac_try
='test -z "$ac_cxx_werror_flag"
22432 || test ! -s conftest.err'
22433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22434 (eval $ac_try) 2>&5
22436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437 (exit $ac_status); }; } &&
22438 { ac_try
='test -s conftest.$ac_objext'
22439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22440 (eval $ac_try) 2>&5
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); }; }; then
22446 echo "$as_me: failed program was:" >&5
22447 sed 's/^/| /' conftest.
$ac_ext >&5
22452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.
$ac_ext >&5
22461 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22464 ac_cpp
='$CPP $CPPFLAGS'
22465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22471 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22472 echo "${ECHO_T}$wx_cv_explicit" >&6
22474 if test "$wx_cv_explicit" = "yes"; then
22475 cat >>confdefs.h
<<\_ACEOF
22476 #define HAVE_EXPLICIT 1
22482 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22483 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22484 if test "${ac_cv_cxx_const_cast+set}" = set; then
22485 echo $ECHO_N "(cached) $ECHO_C" >&6
22490 ac_cpp
='$CXXCPP $CPPFLAGS'
22491 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22495 cat >conftest.
$ac_ext <<_ACEOF
22498 cat confdefs.h
>>conftest.
$ac_ext
22499 cat >>conftest.
$ac_ext <<_ACEOF
22500 /* end confdefs.h. */
22505 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22510 rm -f conftest.
$ac_objext
22511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22512 (eval $ac_compile) 2>conftest.er1
22514 grep -v '^ *+' conftest.er1
>conftest.err
22516 cat conftest.err
>&5
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); } &&
22519 { ac_try
='test -z "$ac_cxx_werror_flag"
22520 || test ! -s conftest.err'
22521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22522 (eval $ac_try) 2>&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); }; } &&
22526 { ac_try
='test -s conftest.$ac_objext'
22527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528 (eval $ac_try) 2>&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; }; then
22532 ac_cv_cxx_const_cast
=yes
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.
$ac_ext >&5
22537 ac_cv_cxx_const_cast
=no
22539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22541 ac_cpp
='$CPP $CPPFLAGS'
22542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22548 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22549 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22550 if test "$ac_cv_cxx_const_cast" = yes; then
22552 cat >>confdefs.h
<<\_ACEOF
22553 #define HAVE_CONST_CAST
22558 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22559 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22560 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22561 echo $ECHO_N "(cached) $ECHO_C" >&6
22566 ac_cpp
='$CXXCPP $CPPFLAGS'
22567 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22568 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22569 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22571 cat >conftest.
$ac_ext <<_ACEOF
22574 cat confdefs.h
>>conftest.
$ac_ext
22575 cat >>conftest.
$ac_ext <<_ACEOF
22576 /* end confdefs.h. */
22577 #include <typeinfo>
22578 class Base { public : Base () {} virtual void f () = 0;};
22579 class Derived : public Base { public : Derived () {} virtual void f () {} };
22580 class Unrelated { public : Unrelated () {} };
22581 int g (Unrelated&) { return 0; }
22586 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22591 rm -f conftest.
$ac_objext
22592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22593 (eval $ac_compile) 2>conftest.er1
22595 grep -v '^ *+' conftest.er1
>conftest.err
22597 cat conftest.err
>&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } &&
22600 { ac_try
='test -z "$ac_cxx_werror_flag"
22601 || test ! -s conftest.err'
22602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22603 (eval $ac_try) 2>&5
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); }; } &&
22607 { ac_try
='test -s conftest.$ac_objext'
22608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22609 (eval $ac_try) 2>&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); }; }; then
22613 ac_cv_cxx_reinterpret_cast
=yes
22615 echo "$as_me: failed program was:" >&5
22616 sed 's/^/| /' conftest.
$ac_ext >&5
22618 ac_cv_cxx_reinterpret_cast
=no
22620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22622 ac_cpp
='$CPP $CPPFLAGS'
22623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22629 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22630 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22631 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22633 cat >>confdefs.h
<<\_ACEOF
22634 #define HAVE_REINTERPRET_CAST
22639 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22640 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22641 if test "${ac_cv_cxx_static_cast+set}" = set; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22647 ac_cpp
='$CXXCPP $CPPFLAGS'
22648 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22649 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22650 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22652 cat >conftest.
$ac_ext <<_ACEOF
22655 cat confdefs.h
>>conftest.
$ac_ext
22656 cat >>conftest.
$ac_ext <<_ACEOF
22657 /* end confdefs.h. */
22658 #include <typeinfo>
22659 class Base { public : Base () {} virtual void f () = 0; };
22660 class Derived : public Base { public : Derived () {} virtual void f () {} };
22661 int g (Derived&) { return 0; }
22666 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22671 rm -f conftest.
$ac_objext
22672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22673 (eval $ac_compile) 2>conftest.er1
22675 grep -v '^ *+' conftest.er1
>conftest.err
22677 cat conftest.err
>&5
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); } &&
22680 { ac_try
='test -z "$ac_cxx_werror_flag"
22681 || test ! -s conftest.err'
22682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22683 (eval $ac_try) 2>&5
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); }; } &&
22687 { ac_try
='test -s conftest.$ac_objext'
22688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22689 (eval $ac_try) 2>&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); }; }; then
22693 ac_cv_cxx_static_cast
=yes
22695 echo "$as_me: failed program was:" >&5
22696 sed 's/^/| /' conftest.
$ac_ext >&5
22698 ac_cv_cxx_static_cast
=no
22700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22702 ac_cpp
='$CPP $CPPFLAGS'
22703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22709 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22710 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22711 if test "$ac_cv_cxx_static_cast" = yes; then
22713 cat >>confdefs.h
<<\_ACEOF
22714 #define HAVE_STATIC_CAST
22720 if test "x$SUNCXX" = xyes
; then
22721 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22724 if test "x$SUNCC" = xyes
; then
22725 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22728 if test "x$SGICC" = "xyes"; then
22729 CFLAGS
="-woff 3970 $CFLAGS"
22731 if test "x$SGICXX" = "xyes"; then
22732 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22735 if test "x$HPCC" = "xyes"; then
22736 CFLAGS
="+W 2011,2450 $CFLAGS"
22738 if test "x$HPCXX" = "xyes"; then
22739 CXXFLAGS
="+W 2340 $CXXFLAGS"
22742 if test "x$COMPAQCXX" = "xyes"; then
22743 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22746 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22748 ac_cpp
='$CXXCPP $CPPFLAGS'
22749 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22754 if test "$wxUSE_UNICODE" = "yes"; then
22755 std_string
="std::wstring"
22756 char_type
="wchar_t"
22758 std_string
="std::string"
22762 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22763 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22764 cat >conftest.
$ac_ext <<_ACEOF
22767 cat confdefs.h
>>conftest.
$ac_ext
22768 cat >>conftest.
$ac_ext <<_ACEOF
22769 /* end confdefs.h. */
22779 rm -f conftest.
$ac_objext
22780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22781 (eval $ac_compile) 2>conftest.er1
22783 grep -v '^ *+' conftest.er1
>conftest.err
22785 cat conftest.err
>&5
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } &&
22788 { ac_try
='test -z "$ac_cxx_werror_flag"
22789 || test ! -s conftest.err'
22790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22791 (eval $ac_try) 2>&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); }; } &&
22795 { ac_try
='test -s conftest.$ac_objext'
22796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797 (eval $ac_try) 2>&5
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; }; then
22801 echo "$as_me:$LINENO: result: yes" >&5
22802 echo "${ECHO_T}yes" >&6
22803 cat >>confdefs.h
<<\_ACEOF
22804 #define HAVE_STD_WSTRING 1
22808 echo "$as_me: failed program was:" >&5
22809 sed 's/^/| /' conftest.
$ac_ext >&5
22811 echo "$as_me:$LINENO: result: no" >&5
22812 echo "${ECHO_T}no" >&6
22813 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22814 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22815 cat >conftest.
$ac_ext <<_ACEOF
22818 cat confdefs.h
>>conftest.
$ac_ext
22819 cat >>conftest.
$ac_ext <<_ACEOF
22820 /* end confdefs.h. */
22822 #ifdef HAVE_WCHAR_H
22824 # include <stddef.h>
22826 # include <wchar.h>
22828 #ifdef HAVE_STDLIB_H
22829 # include <stdlib.h>
22837 std::basic_string<$char_type> foo;
22838 const $char_type* dummy = foo.c_str();
22843 rm -f conftest.
$ac_objext
22844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22845 (eval $ac_compile) 2>conftest.er1
22847 grep -v '^ *+' conftest.er1
>conftest.err
22849 cat conftest.err
>&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); } &&
22852 { ac_try
='test -z "$ac_cxx_werror_flag"
22853 || test ! -s conftest.err'
22854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22855 (eval $ac_try) 2>&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); }; } &&
22859 { ac_try
='test -s conftest.$ac_objext'
22860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22861 (eval $ac_try) 2>&5
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); }; }; then
22865 echo "$as_me:$LINENO: result: yes" >&5
22866 echo "${ECHO_T}yes" >&6
22868 echo "$as_me: failed program was:" >&5
22869 sed 's/^/| /' conftest.
$ac_ext >&5
22871 echo "$as_me:$LINENO: result: no" >&5
22872 echo "${ECHO_T}no" >&6
22873 if test "$wxUSE_STL" = "yes"; then
22874 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22875 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22876 { (exit 1); exit 1; }; }
22877 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22878 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22879 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22880 { (exit 1); exit 1; }; }
22882 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22883 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22884 wxUSE_STD_STRING
=no
22889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22895 ac_cpp
='$CPP $CPPFLAGS'
22896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22902 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22904 ac_cpp
='$CXXCPP $CPPFLAGS'
22905 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22910 echo "$as_me:$LINENO: checking for std::istream" >&5
22911 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22912 if test "${ac_cv_type_std__istream+set}" = set; then
22913 echo $ECHO_N "(cached) $ECHO_C" >&6
22915 cat >conftest.
$ac_ext <<_ACEOF
22918 cat confdefs.h
>>conftest.
$ac_ext
22919 cat >>conftest.
$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921 #include <iostream>
22926 if ((std::istream *) 0)
22928 if (sizeof (std::istream))
22934 rm -f conftest.
$ac_objext
22935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22936 (eval $ac_compile) 2>conftest.er1
22938 grep -v '^ *+' conftest.er1
>conftest.err
22940 cat conftest.err
>&5
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); } &&
22943 { ac_try
='test -z "$ac_cxx_werror_flag"
22944 || test ! -s conftest.err'
22945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22946 (eval $ac_try) 2>&5
22948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22949 (exit $ac_status); }; } &&
22950 { ac_try
='test -s conftest.$ac_objext'
22951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22952 (eval $ac_try) 2>&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); }; }; then
22956 ac_cv_type_std__istream
=yes
22958 echo "$as_me: failed program was:" >&5
22959 sed 's/^/| /' conftest.
$ac_ext >&5
22961 ac_cv_type_std__istream
=no
22963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22965 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22966 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22967 if test $ac_cv_type_std__istream = yes; then
22969 cat >>confdefs.h
<<_ACEOF
22970 #define HAVE_STD__ISTREAM 1
22975 wxUSE_STD_IOSTREAM
=no
22977 echo "$as_me:$LINENO: checking for std::ostream" >&5
22978 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22979 if test "${ac_cv_type_std__ostream+set}" = set; then
22980 echo $ECHO_N "(cached) $ECHO_C" >&6
22982 cat >conftest.
$ac_ext <<_ACEOF
22985 cat confdefs.h
>>conftest.
$ac_ext
22986 cat >>conftest.
$ac_ext <<_ACEOF
22987 /* end confdefs.h. */
22988 #include <iostream>
22993 if ((std::ostream *) 0)
22995 if (sizeof (std::ostream))
23001 rm -f conftest.
$ac_objext
23002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23003 (eval $ac_compile) 2>conftest.er1
23005 grep -v '^ *+' conftest.er1
>conftest.err
23007 cat conftest.err
>&5
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); } &&
23010 { ac_try
='test -z "$ac_cxx_werror_flag"
23011 || test ! -s conftest.err'
23012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23013 (eval $ac_try) 2>&5
23015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016 (exit $ac_status); }; } &&
23017 { ac_try
='test -s conftest.$ac_objext'
23018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23019 (eval $ac_try) 2>&5
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); }; }; then
23023 ac_cv_type_std__ostream
=yes
23025 echo "$as_me: failed program was:" >&5
23026 sed 's/^/| /' conftest.
$ac_ext >&5
23028 ac_cv_type_std__ostream
=no
23030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23032 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23033 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23034 if test $ac_cv_type_std__ostream = yes; then
23036 cat >>confdefs.h
<<_ACEOF
23037 #define HAVE_STD__OSTREAM 1
23042 wxUSE_STD_IOSTREAM
=no
23046 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23047 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23048 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23049 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23050 { (exit 1); exit 1; }; }
23052 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23053 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23058 ac_cpp
='$CPP $CPPFLAGS'
23059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23065 if test "$wxUSE_STL" = "yes"; then
23067 ac_cpp
='$CXXCPP $CPPFLAGS'
23068 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23069 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23070 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23073 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23074 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23075 cat >conftest.
$ac_ext <<_ACEOF
23078 cat confdefs.h
>>conftest.
$ac_ext
23079 cat >>conftest.
$ac_ext <<_ACEOF
23080 /* end confdefs.h. */
23082 #include <functional>
23083 #include <algorithm>
23089 std::vector<int> moo;
23090 std::list<int> foo;
23091 std::vector<int>::iterator it =
23092 std::find_if(moo.begin(), moo.end(),
23093 std::bind2nd(std::less<int>(), 3));
23098 rm -f conftest.
$ac_objext
23099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23100 (eval $ac_compile) 2>conftest.er1
23102 grep -v '^ *+' conftest.er1
>conftest.err
23104 cat conftest.err
>&5
23105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106 (exit $ac_status); } &&
23107 { ac_try
='test -z "$ac_cxx_werror_flag"
23108 || test ! -s conftest.err'
23109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23110 (eval $ac_try) 2>&5
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); }; } &&
23114 { ac_try
='test -s conftest.$ac_objext'
23115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23116 (eval $ac_try) 2>&5
23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); }; }; then
23120 echo "$as_me:$LINENO: result: yes" >&5
23121 echo "${ECHO_T}yes" >&6
23123 echo "$as_me: failed program was:" >&5
23124 sed 's/^/| /' conftest.
$ac_ext >&5
23126 echo "$as_me:$LINENO: result: no" >&5
23127 echo "${ECHO_T}no" >&6
23128 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23129 echo "$as_me: error: Basic STL functionality missing" >&2;}
23130 { (exit 1); exit 1; }; }
23132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23134 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23135 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23136 cat >conftest.
$ac_ext <<_ACEOF
23139 cat confdefs.h
>>conftest.
$ac_ext
23140 cat >>conftest.
$ac_ext <<_ACEOF
23141 /* end confdefs.h. */
23146 std::string foo, bar;
23148 foo.compare(1, 1, bar);
23149 foo.compare(1, 1, bar, 1, 1);
23151 foo.compare(1, 1, "");
23152 foo.compare(1, 1, "", 2);
23157 rm -f conftest.
$ac_objext
23158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23159 (eval $ac_compile) 2>conftest.er1
23161 grep -v '^ *+' conftest.er1
>conftest.err
23163 cat conftest.err
>&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); } &&
23166 { ac_try
='test -z "$ac_cxx_werror_flag"
23167 || test ! -s conftest.err'
23168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169 (eval $ac_try) 2>&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; } &&
23173 { ac_try
='test -s conftest.$ac_objext'
23174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23175 (eval $ac_try) 2>&5
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); }; }; then
23179 echo "$as_me:$LINENO: result: yes" >&5
23180 echo "${ECHO_T}yes" >&6
23181 cat >>confdefs.h
<<\_ACEOF
23182 #define HAVE_STD_STRING_COMPARE 1
23186 echo "$as_me: failed program was:" >&5
23187 sed 's/^/| /' conftest.
$ac_ext >&5
23189 echo "$as_me:$LINENO: result: no" >&5
23190 echo "${ECHO_T}no" >&6
23192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23194 if test "${ac_cv_header_hash_map+set}" = set; then
23195 echo "$as_me:$LINENO: checking for hash_map" >&5
23196 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23197 if test "${ac_cv_header_hash_map+set}" = set; then
23198 echo $ECHO_N "(cached) $ECHO_C" >&6
23200 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23201 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23203 # Is the header compilable?
23204 echo "$as_me:$LINENO: checking hash_map usability" >&5
23205 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23206 cat >conftest.
$ac_ext <<_ACEOF
23209 cat confdefs.h
>>conftest.
$ac_ext
23210 cat >>conftest.
$ac_ext <<_ACEOF
23211 /* end confdefs.h. */
23212 $ac_includes_default
23213 #include <hash_map>
23215 rm -f conftest.
$ac_objext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23217 (eval $ac_compile) 2>conftest.er1
23219 grep -v '^ *+' conftest.er1
>conftest.err
23221 cat conftest.err
>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } &&
23224 { ac_try
='test -z "$ac_cxx_werror_flag"
23225 || test ! -s conftest.err'
23226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23227 (eval $ac_try) 2>&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); }; } &&
23231 { ac_try
='test -s conftest.$ac_objext'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23237 ac_header_compiler
=yes
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.
$ac_ext >&5
23242 ac_header_compiler
=no
23244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23246 echo "${ECHO_T}$ac_header_compiler" >&6
23248 # Is the header present?
23249 echo "$as_me:$LINENO: checking hash_map presence" >&5
23250 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23251 cat >conftest.
$ac_ext <<_ACEOF
23254 cat confdefs.h
>>conftest.
$ac_ext
23255 cat >>conftest.
$ac_ext <<_ACEOF
23256 /* end confdefs.h. */
23257 #include <hash_map>
23259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23260 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23262 grep -v '^ *+' conftest.er1
>conftest.err
23264 cat conftest.err
>&5
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); } >/dev
/null
; then
23267 if test -s conftest.err
; then
23268 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23269 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23276 if test -z "$ac_cpp_err"; then
23277 ac_header_preproc
=yes
23279 echo "$as_me: failed program was:" >&5
23280 sed 's/^/| /' conftest.
$ac_ext >&5
23282 ac_header_preproc
=no
23284 rm -f conftest.err conftest.
$ac_ext
23285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23286 echo "${ECHO_T}$ac_header_preproc" >&6
23288 # So? What about this header?
23289 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23291 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23292 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23293 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23294 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23295 ac_header_preproc
=yes
23298 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23299 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23300 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23301 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23302 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23303 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23304 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23305 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23306 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23307 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23308 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23309 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23312 ## ----------------------------------------- ##
23313 ## Report this to wx-dev@lists.wxwidgets.org ##
23314 ## ----------------------------------------- ##
23317 sed "s/^/$as_me: WARNING: /" >&2
23320 echo "$as_me:$LINENO: checking for hash_map" >&5
23321 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23322 if test "${ac_cv_header_hash_map+set}" = set; then
23323 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 ac_cv_header_hash_map
=$ac_header_preproc
23327 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23328 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23331 if test $ac_cv_header_hash_map = yes; then
23332 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23333 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23334 cat >conftest.
$ac_ext <<_ACEOF
23337 cat confdefs.h
>>conftest.
$ac_ext
23338 cat >>conftest.
$ac_ext <<_ACEOF
23339 /* end confdefs.h. */
23340 #include <hash_map>
23341 #include <hash_set>
23345 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23346 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23351 rm -f conftest.
$ac_objext
23352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23353 (eval $ac_compile) 2>conftest.er1
23355 grep -v '^ *+' conftest.er1
>conftest.err
23357 cat conftest.err
>&5
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); } &&
23360 { ac_try
='test -z "$ac_cxx_werror_flag"
23361 || test ! -s conftest.err'
23362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23363 (eval $ac_try) 2>&5
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); }; } &&
23367 { ac_try
='test -s conftest.$ac_objext'
23368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23369 (eval $ac_try) 2>&5
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); }; }; then
23373 echo "$as_me:$LINENO: result: yes" >&5
23374 echo "${ECHO_T}yes" >&6
23375 cat >>confdefs.h
<<\_ACEOF
23376 #define HAVE_HASH_MAP 1
23379 cat >>confdefs.h
<<\_ACEOF
23380 #define HAVE_STD_HASH_MAP 1
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.
$ac_ext >&5
23387 echo "$as_me:$LINENO: result: no" >&5
23388 echo "${ECHO_T}no" >&6
23390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23396 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23397 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23398 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23399 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23402 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23403 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23405 # Is the header compilable?
23406 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23407 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23408 cat >conftest.
$ac_ext <<_ACEOF
23411 cat confdefs.h
>>conftest.
$ac_ext
23412 cat >>conftest.
$ac_ext <<_ACEOF
23413 /* end confdefs.h. */
23414 $ac_includes_default
23415 #include <ext/hash_map>
23417 rm -f conftest.
$ac_objext
23418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23419 (eval $ac_compile) 2>conftest.er1
23421 grep -v '^ *+' conftest.er1
>conftest.err
23423 cat conftest.err
>&5
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); } &&
23426 { ac_try
='test -z "$ac_cxx_werror_flag"
23427 || test ! -s conftest.err'
23428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23429 (eval $ac_try) 2>&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); }; } &&
23433 { ac_try
='test -s conftest.$ac_objext'
23434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435 (eval $ac_try) 2>&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; }; then
23439 ac_header_compiler
=yes
23441 echo "$as_me: failed program was:" >&5
23442 sed 's/^/| /' conftest.
$ac_ext >&5
23444 ac_header_compiler
=no
23446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23448 echo "${ECHO_T}$ac_header_compiler" >&6
23450 # Is the header present?
23451 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23452 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23453 cat >conftest.
$ac_ext <<_ACEOF
23456 cat confdefs.h
>>conftest.
$ac_ext
23457 cat >>conftest.
$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23459 #include <ext/hash_map>
23461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23464 grep -v '^ *+' conftest.er1
>conftest.err
23466 cat conftest.err
>&5
23467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468 (exit $ac_status); } >/dev
/null
; then
23469 if test -s conftest.err
; then
23470 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23471 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23478 if test -z "$ac_cpp_err"; then
23479 ac_header_preproc
=yes
23481 echo "$as_me: failed program was:" >&5
23482 sed 's/^/| /' conftest.
$ac_ext >&5
23484 ac_header_preproc
=no
23486 rm -f conftest.err conftest.
$ac_ext
23487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23488 echo "${ECHO_T}$ac_header_preproc" >&6
23490 # So? What about this header?
23491 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23493 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23494 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23495 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23496 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23497 ac_header_preproc
=yes
23500 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23501 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23502 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23503 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23504 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23505 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23506 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23507 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23508 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23509 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23510 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23511 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23514 ## ----------------------------------------- ##
23515 ## Report this to wx-dev@lists.wxwidgets.org ##
23516 ## ----------------------------------------- ##
23519 sed "s/^/$as_me: WARNING: /" >&2
23522 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23523 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23524 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23525 echo $ECHO_N "(cached) $ECHO_C" >&6
23527 ac_cv_header_ext_hash_map
=$ac_header_preproc
23529 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23530 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23533 if test $ac_cv_header_ext_hash_map = yes; then
23534 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23535 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23536 cat >conftest.
$ac_ext <<_ACEOF
23539 cat confdefs.h
>>conftest.
$ac_ext
23540 cat >>conftest.
$ac_ext <<_ACEOF
23541 /* end confdefs.h. */
23542 #include <ext/hash_map>
23543 #include <ext/hash_set>
23547 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23548 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23553 rm -f conftest.
$ac_objext
23554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23555 (eval $ac_compile) 2>conftest.er1
23557 grep -v '^ *+' conftest.er1
>conftest.err
23559 cat conftest.err
>&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); } &&
23562 { ac_try
='test -z "$ac_cxx_werror_flag"
23563 || test ! -s conftest.err'
23564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23565 (eval $ac_try) 2>&5
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); }; } &&
23569 { ac_try
='test -s conftest.$ac_objext'
23570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23571 (eval $ac_try) 2>&5
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); }; }; then
23575 echo "$as_me:$LINENO: result: yes" >&5
23576 echo "${ECHO_T}yes" >&6
23577 cat >>confdefs.h
<<\_ACEOF
23578 #define HAVE_EXT_HASH_MAP 1
23581 cat >>confdefs.h
<<\_ACEOF
23582 #define HAVE_GNU_CXX_HASH_MAP 1
23586 echo "$as_me: failed program was:" >&5
23587 sed 's/^/| /' conftest.
$ac_ext >&5
23589 echo "$as_me:$LINENO: result: no" >&5
23590 echo "${ECHO_T}no" >&6
23592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23599 ac_cpp
='$CPP $CPPFLAGS'
23600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23608 /usr/local/include \
23610 /usr/Motif-2.1/include \
23611 /usr/Motif-1.2/include \
23612 /usr/include/Motif1.2 \
23615 /usr/openwin/include \
23619 /usr/X11R6/include \
23620 /usr/X11R6.4/include \
23621 /usr/X11R5/include \
23622 /usr/X11R4/include \
23624 /usr/include/X11R6 \
23625 /usr/include/X11R5 \
23626 /usr/include/X11R4 \
23628 /usr/local/X11R6/include \
23629 /usr/local/X11R5/include \
23630 /usr/local/X11R4/include \
23632 /usr/local/include/X11R6 \
23633 /usr/local/include/X11R5 \
23634 /usr/local/include/X11R4 \
23638 /usr/local/X11/include \
23639 /usr/local/include/X11 \
23641 /usr/XFree86/include/X11 \
23644 /usr/openwin/share/include"
23646 echo "$as_me:$LINENO: checking for libraries directory" >&5
23647 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23651 if test "${wx_cv_std_libpath+set}" = set; then
23652 echo $ECHO_N "(cached) $ECHO_C" >&6
23655 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23656 for e
in a so sl dylib dll.a
; do
23658 if test -f $libc; then
23661 cat >conftest.
$ac_ext <<_ACEOF
23662 int main() { return 0; }
23664 rm -f conftest.
$ac_objext conftest
$ac_exeext
23665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23666 (eval $ac_link) 2>conftest.er1
23668 grep -v '^ *+' conftest.er1
>conftest.err
23670 cat conftest.err
>&5
23671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23672 (exit $ac_status); } &&
23673 { ac_try
='test -z "$ac_c_werror_flag"
23674 || test ! -s conftest.err'
23675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23676 (eval $ac_try) 2>&5
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); }; } &&
23680 { ac_try
='test -s conftest$ac_exeext'
23681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23682 (eval $ac_try) 2>&5
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); }; }; then
23686 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23688 echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.
$ac_ext >&5
23692 rm -f conftest.err conftest.
$ac_objext \
23693 conftest
$ac_exeext conftest.
$ac_ext
23695 if test "x$wx_cv_std_libpath" != "x"; then
23701 if test "x$wx_cv_std_libpath" = "x"; then
23702 wx_cv_std_libpath
="lib"
23711 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23712 wx_cv_std_libpath
="lib/64"
23714 wx_cv_std_libpath
="lib"
23719 if test "$ac_cv_sizeof_void_p" = 8 -a \
23720 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23721 wx_cv_std_libpath
="lib64"
23723 wx_cv_std_libpath
="lib"
23728 wx_cv_std_libpath
="lib";
23732 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23733 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23735 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23737 if test "$build" != "$host" -a "$GCC" = yes; then
23738 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23739 cross_root
=`dirname $cross_root`
23740 cross_root
=`dirname $cross_root`
23742 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23743 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23744 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23746 if test -z "$PKG_CONFIG_PATH"; then
23747 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23748 export PKG_CONFIG_PATH
23751 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23754 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23756 if test -f "$ac_dir/X11/Intrinsic.h"; then
23757 ac_find_includes
=$ac_dir
23762 x_includes
=$ac_find_includes
23764 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23767 for ac_dir
in $SEARCH_LIB;
23769 for ac_extension
in a so sl dylib dll.a
; do
23770 if test -f "$ac_dir/libXt.$ac_extension"; then
23771 ac_find_libraries
=$ac_dir
23777 x_libraries
=$ac_find_libraries
23783 cat >confcache
<<\_ACEOF
23784 # This file is a shell script that caches the results of configure
23785 # tests run on this system so they can be shared between configure
23786 # scripts and configure runs, see configure's option --config-cache.
23787 # It is not useful on other systems. If it contains results you don't
23788 # want to keep, you may remove or edit it.
23790 # config.status only pays attention to the cache file if you give it
23791 # the --recheck option to rerun configure.
23793 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23794 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23795 # following values.
23799 # The following way of writing the cache mishandles newlines in values,
23800 # but we know of no workaround that is simple, portable, and efficient.
23801 # So, don't put newlines in cache variables' values.
23802 # Ultrix sh set writes to stderr and can't be redirected directly,
23803 # and sets the high bit in the cache file unless we assign to the vars.
23806 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23808 # `set' does not quote correctly, so add quotes (double-quote
23809 # substitution turns \\\\ into \\, and sed turns \\ into \).
23812 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23815 # `set' quotes correctly as required by POSIX, so do not add quotes.
23817 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23824 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23826 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23828 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23829 if test -w $cache_file; then
23830 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23831 cat confcache
>$cache_file
23833 echo "not updating unwritable cache $cache_file"
23838 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23839 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23840 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23841 if test "${wx_cv_lib_glibc21+set}" = set; then
23842 echo $ECHO_N "(cached) $ECHO_C" >&6
23845 cat >conftest.
$ac_ext <<_ACEOF
23848 cat confdefs.h
>>conftest.
$ac_ext
23849 cat >>conftest.
$ac_ext <<_ACEOF
23850 /* end confdefs.h. */
23851 #include <features.h>
23856 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23864 rm -f conftest.
$ac_objext
23865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23866 (eval $ac_compile) 2>conftest.er1
23868 grep -v '^ *+' conftest.er1
>conftest.err
23870 cat conftest.err
>&5
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } &&
23873 { ac_try
='test -z "$ac_c_werror_flag"
23874 || test ! -s conftest.err'
23875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23876 (eval $ac_try) 2>&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); }; } &&
23880 { ac_try
='test -s conftest.$ac_objext'
23881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23882 (eval $ac_try) 2>&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); }; }; then
23887 wx_cv_lib_glibc21
=yes
23890 echo "$as_me: failed program was:" >&5
23891 sed 's/^/| /' conftest.
$ac_ext >&5
23894 wx_cv_lib_glibc21
=no
23898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23901 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23902 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23903 if test "$wx_cv_lib_glibc21" = "yes"; then
23904 cat >>confdefs.h
<<\_ACEOF
23905 #define wxHAVE_GLIBC2 1
23911 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23912 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23913 cat >>confdefs.h
<<\_ACEOF
23914 #define _GNU_SOURCE 1
23922 if test "$wxUSE_REGEX" != "no"; then
23923 cat >>confdefs.h
<<\_ACEOF
23924 #define wxUSE_REGEX 1
23928 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23929 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23930 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23931 wxUSE_REGEX
=builtin
23934 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23935 if test "${ac_cv_header_regex_h+set}" = set; then
23936 echo "$as_me:$LINENO: checking for regex.h" >&5
23937 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23938 if test "${ac_cv_header_regex_h+set}" = set; then
23939 echo $ECHO_N "(cached) $ECHO_C" >&6
23941 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23942 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23944 # Is the header compilable?
23945 echo "$as_me:$LINENO: checking regex.h usability" >&5
23946 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23947 cat >conftest.
$ac_ext <<_ACEOF
23950 cat confdefs.h
>>conftest.
$ac_ext
23951 cat >>conftest.
$ac_ext <<_ACEOF
23952 /* end confdefs.h. */
23953 $ac_includes_default
23956 rm -f conftest.
$ac_objext
23957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23958 (eval $ac_compile) 2>conftest.er1
23960 grep -v '^ *+' conftest.er1
>conftest.err
23962 cat conftest.err
>&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } &&
23965 { ac_try
='test -z "$ac_c_werror_flag"
23966 || test ! -s conftest.err'
23967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23968 (eval $ac_try) 2>&5
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); }; } &&
23972 { ac_try
='test -s conftest.$ac_objext'
23973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23974 (eval $ac_try) 2>&5
23976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23977 (exit $ac_status); }; }; then
23978 ac_header_compiler
=yes
23980 echo "$as_me: failed program was:" >&5
23981 sed 's/^/| /' conftest.
$ac_ext >&5
23983 ac_header_compiler
=no
23985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23987 echo "${ECHO_T}$ac_header_compiler" >&6
23989 # Is the header present?
23990 echo "$as_me:$LINENO: checking regex.h presence" >&5
23991 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23992 cat >conftest.
$ac_ext <<_ACEOF
23995 cat confdefs.h
>>conftest.
$ac_ext
23996 cat >>conftest.
$ac_ext <<_ACEOF
23997 /* end confdefs.h. */
24000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24003 grep -v '^ *+' conftest.er1
>conftest.err
24005 cat conftest.err
>&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } >/dev
/null
; then
24008 if test -s conftest.err
; then
24009 ac_cpp_err
=$ac_c_preproc_warn_flag
24010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24017 if test -z "$ac_cpp_err"; then
24018 ac_header_preproc
=yes
24020 echo "$as_me: failed program was:" >&5
24021 sed 's/^/| /' conftest.
$ac_ext >&5
24023 ac_header_preproc
=no
24025 rm -f conftest.err conftest.
$ac_ext
24026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24027 echo "${ECHO_T}$ac_header_preproc" >&6
24029 # So? What about this header?
24030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24032 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24033 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24034 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24035 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24036 ac_header_preproc
=yes
24039 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24040 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24041 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24042 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24043 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24044 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24045 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24046 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24047 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24048 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24049 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24050 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24053 ## ----------------------------------------- ##
24054 ## Report this to wx-dev@lists.wxwidgets.org ##
24055 ## ----------------------------------------- ##
24058 sed "s/^/$as_me: WARNING: /" >&2
24061 echo "$as_me:$LINENO: checking for regex.h" >&5
24062 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24063 if test "${ac_cv_header_regex_h+set}" = set; then
24064 echo $ECHO_N "(cached) $ECHO_C" >&6
24066 ac_cv_header_regex_h
=$ac_header_preproc
24068 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24069 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24072 if test $ac_cv_header_regex_h = yes; then
24075 for ac_func
in regcomp re_search
24077 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24078 echo "$as_me:$LINENO: checking for $ac_func" >&5
24079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24080 if eval "test \"\${$as_ac_var+set}\" = set"; then
24081 echo $ECHO_N "(cached) $ECHO_C" >&6
24083 cat >conftest.
$ac_ext <<_ACEOF
24086 cat confdefs.h
>>conftest.
$ac_ext
24087 cat >>conftest.
$ac_ext <<_ACEOF
24088 /* end confdefs.h. */
24089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24091 #define $ac_func innocuous_$ac_func
24093 /* System header to define __stub macros and hopefully few prototypes,
24094 which can conflict with char $ac_func (); below.
24095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24096 <limits.h> exists even on freestanding compilers. */
24099 # include <limits.h>
24101 # include <assert.h>
24106 /* Override any gcc2 internal prototype to avoid an error. */
24111 /* We use char because int might match the return type of a gcc2
24112 builtin and then its argument prototype would still apply. */
24114 /* The GNU C library defines this for functions which it implements
24115 to always fail with ENOSYS. Some functions are actually named
24116 something starting with __ and the normal name is an alias. */
24117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24120 char (*f) () = $ac_func;
24129 return f != $ac_func;
24134 rm -f conftest.
$ac_objext conftest
$ac_exeext
24135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24136 (eval $ac_link) 2>conftest.er1
24138 grep -v '^ *+' conftest.er1
>conftest.err
24140 cat conftest.err
>&5
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); } &&
24143 { ac_try
='test -z "$ac_c_werror_flag"
24144 || test ! -s conftest.err'
24145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24146 (eval $ac_try) 2>&5
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); }; } &&
24150 { ac_try
='test -s conftest$ac_exeext'
24151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24152 (eval $ac_try) 2>&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); }; }; then
24156 eval "$as_ac_var=yes"
24158 echo "$as_me: failed program was:" >&5
24159 sed 's/^/| /' conftest.
$ac_ext >&5
24161 eval "$as_ac_var=no"
24163 rm -f conftest.err conftest.
$ac_objext \
24164 conftest
$ac_exeext conftest.
$ac_ext
24166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24168 if test `eval echo '${'$as_ac_var'}'` = yes; then
24169 cat >>confdefs.h
<<_ACEOF
24170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24180 if test "x$ac_cv_func_regcomp" != "xyes"; then
24181 if test "$wxUSE_REGEX" = "sys" ; then
24182 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24183 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24184 { (exit 1); exit 1; }; }
24186 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24187 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24188 wxUSE_REGEX
=builtin
24192 cat >>confdefs.h
<<\_ACEOF
24193 #define WX_NO_REGEX_ADVANCED 1
24202 if test "$wxUSE_ZLIB" != "no" ; then
24203 cat >>confdefs.h
<<\_ACEOF
24204 #define wxUSE_ZLIB 1
24208 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24209 if test "$USE_DARWIN" = 1; then
24210 system_zlib_h_ok
="yes"
24212 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24213 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24214 if test "${ac_cv_header_zlib_h+set}" = set; then
24215 echo $ECHO_N "(cached) $ECHO_C" >&6
24217 if test "$cross_compiling" = yes; then
24218 unset ac_cv_header_zlib_h
24221 cat >conftest.
$ac_ext <<_ACEOF
24224 cat confdefs.h
>>conftest.
$ac_ext
24225 cat >>conftest.
$ac_ext <<_ACEOF
24226 /* end confdefs.h. */
24233 FILE *f=fopen("conftestval", "w");
24236 ZLIB_VERSION[0] == '1' &&
24237 (ZLIB_VERSION[2] > '1' ||
24238 (ZLIB_VERSION[2] == '1' &&
24239 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24244 rm -f conftest
$ac_exeext
24245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24246 (eval $ac_link) 2>&5
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24251 (eval $ac_try) 2>&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); }; }; then
24255 ac_cv_header_zlib_h
=`cat conftestval`
24257 echo "$as_me: program exited with status $ac_status" >&5
24258 echo "$as_me: failed program was:" >&5
24259 sed 's/^/| /' conftest.
$ac_ext >&5
24261 ( exit $ac_status )
24262 ac_cv_header_zlib_h
=no
24264 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24268 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24269 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24270 if test "${ac_cv_header_zlib_h+set}" = set; then
24271 echo "$as_me:$LINENO: checking for zlib.h" >&5
24272 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24273 if test "${ac_cv_header_zlib_h+set}" = set; then
24274 echo $ECHO_N "(cached) $ECHO_C" >&6
24276 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24277 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24279 # Is the header compilable?
24280 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24281 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24282 cat >conftest.
$ac_ext <<_ACEOF
24285 cat confdefs.h
>>conftest.
$ac_ext
24286 cat >>conftest.
$ac_ext <<_ACEOF
24287 /* end confdefs.h. */
24288 $ac_includes_default
24291 rm -f conftest.
$ac_objext
24292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24293 (eval $ac_compile) 2>conftest.er1
24295 grep -v '^ *+' conftest.er1
>conftest.err
24297 cat conftest.err
>&5
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); } &&
24300 { ac_try
='test -z "$ac_c_werror_flag"
24301 || test ! -s conftest.err'
24302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24303 (eval $ac_try) 2>&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); }; } &&
24307 { ac_try
='test -s conftest.$ac_objext'
24308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24309 (eval $ac_try) 2>&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); }; }; then
24313 ac_header_compiler
=yes
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.
$ac_ext >&5
24318 ac_header_compiler
=no
24320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24322 echo "${ECHO_T}$ac_header_compiler" >&6
24324 # Is the header present?
24325 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24326 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24327 cat >conftest.
$ac_ext <<_ACEOF
24330 cat confdefs.h
>>conftest.
$ac_ext
24331 cat >>conftest.
$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24336 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24338 grep -v '^ *+' conftest.er1
>conftest.err
24340 cat conftest.err
>&5
24341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24342 (exit $ac_status); } >/dev
/null
; then
24343 if test -s conftest.err
; then
24344 ac_cpp_err
=$ac_c_preproc_warn_flag
24345 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24352 if test -z "$ac_cpp_err"; then
24353 ac_header_preproc
=yes
24355 echo "$as_me: failed program was:" >&5
24356 sed 's/^/| /' conftest.
$ac_ext >&5
24358 ac_header_preproc
=no
24360 rm -f conftest.err conftest.
$ac_ext
24361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24362 echo "${ECHO_T}$ac_header_preproc" >&6
24364 # So? What about this header?
24365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24367 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24368 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24369 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24370 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24371 ac_header_preproc
=yes
24374 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24375 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24376 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24377 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24378 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24379 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24380 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24381 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24382 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24383 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24384 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24385 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24388 ## ----------------------------------------- ##
24389 ## Report this to wx-dev@lists.wxwidgets.org ##
24390 ## ----------------------------------------- ##
24393 sed "s/^/$as_me: WARNING: /" >&2
24396 echo "$as_me:$LINENO: checking for zlib.h" >&5
24397 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24398 if test "${ac_cv_header_zlib_h+set}" = set; then
24399 echo $ECHO_N "(cached) $ECHO_C" >&6
24401 ac_cv_header_zlib_h
=$ac_header_preproc
24403 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24404 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24410 system_zlib_h_ok
=$ac_cv_header_zlib_h
24413 if test "$system_zlib_h_ok" = "yes"; then
24414 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24415 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24416 if test "${ac_cv_lib_z_deflate+set}" = set; then
24417 echo $ECHO_N "(cached) $ECHO_C" >&6
24419 ac_check_lib_save_LIBS
=$LIBS
24421 cat >conftest.
$ac_ext <<_ACEOF
24424 cat confdefs.h
>>conftest.
$ac_ext
24425 cat >>conftest.
$ac_ext <<_ACEOF
24426 /* end confdefs.h. */
24428 /* Override any gcc2 internal prototype to avoid an error. */
24432 /* We use char because int might match the return type of a gcc2
24433 builtin and then its argument prototype would still apply. */
24443 rm -f conftest.
$ac_objext conftest
$ac_exeext
24444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24445 (eval $ac_link) 2>conftest.er1
24447 grep -v '^ *+' conftest.er1
>conftest.err
24449 cat conftest.err
>&5
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); } &&
24452 { ac_try
='test -z "$ac_c_werror_flag"
24453 || test ! -s conftest.err'
24454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24455 (eval $ac_try) 2>&5
24457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24458 (exit $ac_status); }; } &&
24459 { ac_try
='test -s conftest$ac_exeext'
24460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24461 (eval $ac_try) 2>&5
24463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464 (exit $ac_status); }; }; then
24465 ac_cv_lib_z_deflate
=yes
24467 echo "$as_me: failed program was:" >&5
24468 sed 's/^/| /' conftest.
$ac_ext >&5
24470 ac_cv_lib_z_deflate
=no
24472 rm -f conftest.err conftest.
$ac_objext \
24473 conftest
$ac_exeext conftest.
$ac_ext
24474 LIBS
=$ac_check_lib_save_LIBS
24476 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24477 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24478 if test $ac_cv_lib_z_deflate = yes; then
24484 if test "x$ZLIB_LINK" = "x" ; then
24485 if test "$wxUSE_ZLIB" = "sys" ; then
24486 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24487 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24488 { (exit 1); exit 1; }; }
24490 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24491 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24502 if test "$wxUSE_LIBPNG" != "no" ; then
24503 cat >>confdefs.h
<<\_ACEOF
24504 #define wxUSE_LIBPNG 1
24508 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24509 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24510 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24514 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24515 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24516 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24517 wxUSE_LIBPNG
=builtin
24520 if test "$wxUSE_MGL" != 1 ; then
24521 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24522 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24523 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24524 if test "${ac_cv_header_png_h+set}" = set; then
24525 echo $ECHO_N "(cached) $ECHO_C" >&6
24527 if test "$cross_compiling" = yes; then
24528 unset ac_cv_header_png_h
24531 cat >conftest.
$ac_ext <<_ACEOF
24534 cat confdefs.h
>>conftest.
$ac_ext
24535 cat >>conftest.
$ac_ext <<_ACEOF
24536 /* end confdefs.h. */
24543 FILE *f=fopen("conftestval", "w");
24546 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24551 rm -f conftest
$ac_exeext
24552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24553 (eval $ac_link) 2>&5
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24558 (eval $ac_try) 2>&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); }; }; then
24562 ac_cv_header_png_h
=`cat conftestval`
24564 echo "$as_me: program exited with status $ac_status" >&5
24565 echo "$as_me: failed program was:" >&5
24566 sed 's/^/| /' conftest.
$ac_ext >&5
24568 ( exit $ac_status )
24569 ac_cv_header_png_h
=no
24571 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24575 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24576 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24577 if test "${ac_cv_header_png_h+set}" = set; then
24578 echo "$as_me:$LINENO: checking for png.h" >&5
24579 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24580 if test "${ac_cv_header_png_h+set}" = set; then
24581 echo $ECHO_N "(cached) $ECHO_C" >&6
24583 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24584 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24586 # Is the header compilable?
24587 echo "$as_me:$LINENO: checking png.h usability" >&5
24588 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24589 cat >conftest.
$ac_ext <<_ACEOF
24592 cat confdefs.h
>>conftest.
$ac_ext
24593 cat >>conftest.
$ac_ext <<_ACEOF
24594 /* end confdefs.h. */
24595 $ac_includes_default
24598 rm -f conftest.
$ac_objext
24599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24600 (eval $ac_compile) 2>conftest.er1
24602 grep -v '^ *+' conftest.er1
>conftest.err
24604 cat conftest.err
>&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } &&
24607 { ac_try
='test -z "$ac_c_werror_flag"
24608 || test ! -s conftest.err'
24609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24610 (eval $ac_try) 2>&5
24612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24613 (exit $ac_status); }; } &&
24614 { ac_try
='test -s conftest.$ac_objext'
24615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24616 (eval $ac_try) 2>&5
24618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619 (exit $ac_status); }; }; then
24620 ac_header_compiler
=yes
24622 echo "$as_me: failed program was:" >&5
24623 sed 's/^/| /' conftest.
$ac_ext >&5
24625 ac_header_compiler
=no
24627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24629 echo "${ECHO_T}$ac_header_compiler" >&6
24631 # Is the header present?
24632 echo "$as_me:$LINENO: checking png.h presence" >&5
24633 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24634 cat >conftest.
$ac_ext <<_ACEOF
24637 cat confdefs.h
>>conftest.
$ac_ext
24638 cat >>conftest.
$ac_ext <<_ACEOF
24639 /* end confdefs.h. */
24642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24643 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24645 grep -v '^ *+' conftest.er1
>conftest.err
24647 cat conftest.err
>&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } >/dev
/null
; then
24650 if test -s conftest.err
; then
24651 ac_cpp_err
=$ac_c_preproc_warn_flag
24652 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24659 if test -z "$ac_cpp_err"; then
24660 ac_header_preproc
=yes
24662 echo "$as_me: failed program was:" >&5
24663 sed 's/^/| /' conftest.
$ac_ext >&5
24665 ac_header_preproc
=no
24667 rm -f conftest.err conftest.
$ac_ext
24668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24669 echo "${ECHO_T}$ac_header_preproc" >&6
24671 # So? What about this header?
24672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24674 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24675 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24676 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24677 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24678 ac_header_preproc
=yes
24681 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24682 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24683 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24684 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24685 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24686 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24687 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24688 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24689 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24690 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24691 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24692 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24695 ## ----------------------------------------- ##
24696 ## Report this to wx-dev@lists.wxwidgets.org ##
24697 ## ----------------------------------------- ##
24700 sed "s/^/$as_me: WARNING: /" >&2
24703 echo "$as_me:$LINENO: checking for png.h" >&5
24704 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24705 if test "${ac_cv_header_png_h+set}" = set; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24708 ac_cv_header_png_h
=$ac_header_preproc
24710 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24711 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24717 if test "$ac_cv_header_png_h" = "yes"; then
24718 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24719 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24720 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24721 echo $ECHO_N "(cached) $ECHO_C" >&6
24723 ac_check_lib_save_LIBS
=$LIBS
24724 LIBS
="-lpng -lz -lm $LIBS"
24725 cat >conftest.
$ac_ext <<_ACEOF
24728 cat confdefs.h
>>conftest.
$ac_ext
24729 cat >>conftest.
$ac_ext <<_ACEOF
24730 /* end confdefs.h. */
24732 /* Override any gcc2 internal prototype to avoid an error. */
24736 /* We use char because int might match the return type of a gcc2
24737 builtin and then its argument prototype would still apply. */
24738 char png_check_sig ();
24747 rm -f conftest.
$ac_objext conftest
$ac_exeext
24748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24749 (eval $ac_link) 2>conftest.er1
24751 grep -v '^ *+' conftest.er1
>conftest.err
24753 cat conftest.err
>&5
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); } &&
24756 { ac_try
='test -z "$ac_c_werror_flag"
24757 || test ! -s conftest.err'
24758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24759 (eval $ac_try) 2>&5
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); }; } &&
24763 { ac_try
='test -s conftest$ac_exeext'
24764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24765 (eval $ac_try) 2>&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); }; }; then
24769 ac_cv_lib_png_png_check_sig
=yes
24771 echo "$as_me: failed program was:" >&5
24772 sed 's/^/| /' conftest.
$ac_ext >&5
24774 ac_cv_lib_png_png_check_sig
=no
24776 rm -f conftest.err conftest.
$ac_objext \
24777 conftest
$ac_exeext conftest.
$ac_ext
24778 LIBS
=$ac_check_lib_save_LIBS
24780 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24781 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24782 if test $ac_cv_lib_png_png_check_sig = yes; then
24783 PNG_LINK
=" -lpng -lz"
24788 if test "x$PNG_LINK" = "x" ; then
24789 if test "$wxUSE_LIBPNG" = "sys" ; then
24790 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24791 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24792 { (exit 1); exit 1; }; }
24794 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24795 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24796 wxUSE_LIBPNG
=builtin
24804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24809 if test "$wxUSE_LIBJPEG" != "no" ; then
24810 cat >>confdefs.h
<<\_ACEOF
24811 #define wxUSE_LIBJPEG 1
24815 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24816 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24817 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24821 if test "$wxUSE_MGL" != 1 ; then
24822 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24823 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24824 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24825 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24826 echo $ECHO_N "(cached) $ECHO_C" >&6
24828 cat >conftest.
$ac_ext <<_ACEOF
24831 cat confdefs.h
>>conftest.
$ac_ext
24832 cat >>conftest.
$ac_ext <<_ACEOF
24833 /* end confdefs.h. */
24835 #undef HAVE_STDLIB_H
24837 #include <jpeglib.h>
24848 rm -f conftest.
$ac_objext
24849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24850 (eval $ac_compile) 2>conftest.er1
24852 grep -v '^ *+' conftest.er1
>conftest.err
24854 cat conftest.err
>&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); } &&
24857 { ac_try
='test -z "$ac_c_werror_flag"
24858 || test ! -s conftest.err'
24859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24860 (eval $ac_try) 2>&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); }; } &&
24864 { ac_try
='test -s conftest.$ac_objext'
24865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24866 (eval $ac_try) 2>&5
24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); }; }; then
24870 ac_cv_header_jpeglib_h
=yes
24872 echo "$as_me: failed program was:" >&5
24873 sed 's/^/| /' conftest.
$ac_ext >&5
24875 ac_cv_header_jpeglib_h
=no
24878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24882 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24883 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24885 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24886 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24887 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24888 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24889 echo $ECHO_N "(cached) $ECHO_C" >&6
24891 ac_check_lib_save_LIBS
=$LIBS
24892 LIBS
="-ljpeg $LIBS"
24893 cat >conftest.
$ac_ext <<_ACEOF
24896 cat confdefs.h
>>conftest.
$ac_ext
24897 cat >>conftest.
$ac_ext <<_ACEOF
24898 /* end confdefs.h. */
24900 /* Override any gcc2 internal prototype to avoid an error. */
24904 /* We use char because int might match the return type of a gcc2
24905 builtin and then its argument prototype would still apply. */
24906 char jpeg_read_header ();
24910 jpeg_read_header ();
24915 rm -f conftest.
$ac_objext conftest
$ac_exeext
24916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24917 (eval $ac_link) 2>conftest.er1
24919 grep -v '^ *+' conftest.er1
>conftest.err
24921 cat conftest.err
>&5
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); } &&
24924 { ac_try
='test -z "$ac_c_werror_flag"
24925 || test ! -s conftest.err'
24926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24927 (eval $ac_try) 2>&5
24929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930 (exit $ac_status); }; } &&
24931 { ac_try
='test -s conftest$ac_exeext'
24932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24933 (eval $ac_try) 2>&5
24935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24936 (exit $ac_status); }; }; then
24937 ac_cv_lib_jpeg_jpeg_read_header
=yes
24939 echo "$as_me: failed program was:" >&5
24940 sed 's/^/| /' conftest.
$ac_ext >&5
24942 ac_cv_lib_jpeg_jpeg_read_header
=no
24944 rm -f conftest.err conftest.
$ac_objext \
24945 conftest
$ac_exeext conftest.
$ac_ext
24946 LIBS
=$ac_check_lib_save_LIBS
24948 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24949 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24950 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24951 JPEG_LINK
=" -ljpeg"
24956 if test "x$JPEG_LINK" = "x" ; then
24957 if test "$wxUSE_LIBJPEG" = "sys" ; then
24958 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24959 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24960 { (exit 1); exit 1; }; }
24962 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24963 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24964 wxUSE_LIBJPEG
=builtin
24975 TIFF_PREREQ_LINKS
=-lm
24976 if test "$wxUSE_LIBTIFF" != "no" ; then
24977 cat >>confdefs.h
<<\_ACEOF
24978 #define wxUSE_LIBTIFF 1
24982 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24983 if test "$wxUSE_LIBJPEG" = "sys"; then
24984 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24986 if test "$wxUSE_ZLIB" = "sys"; then
24987 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24989 if test "${ac_cv_header_tiffio_h+set}" = set; then
24990 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24991 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24992 if test "${ac_cv_header_tiffio_h+set}" = set; then
24993 echo $ECHO_N "(cached) $ECHO_C" >&6
24995 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24996 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24998 # Is the header compilable?
24999 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25000 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25001 cat >conftest.
$ac_ext <<_ACEOF
25004 cat confdefs.h
>>conftest.
$ac_ext
25005 cat >>conftest.
$ac_ext <<_ACEOF
25006 /* end confdefs.h. */
25007 $ac_includes_default
25008 #include <tiffio.h>
25010 rm -f conftest.
$ac_objext
25011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25012 (eval $ac_compile) 2>conftest.er1
25014 grep -v '^ *+' conftest.er1
>conftest.err
25016 cat conftest.err
>&5
25017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25018 (exit $ac_status); } &&
25019 { ac_try
='test -z "$ac_c_werror_flag"
25020 || test ! -s conftest.err'
25021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25022 (eval $ac_try) 2>&5
25024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025 (exit $ac_status); }; } &&
25026 { ac_try
='test -s conftest.$ac_objext'
25027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25028 (eval $ac_try) 2>&5
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); }; }; then
25032 ac_header_compiler
=yes
25034 echo "$as_me: failed program was:" >&5
25035 sed 's/^/| /' conftest.
$ac_ext >&5
25037 ac_header_compiler
=no
25039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25041 echo "${ECHO_T}$ac_header_compiler" >&6
25043 # Is the header present?
25044 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25045 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25046 cat >conftest.
$ac_ext <<_ACEOF
25049 cat confdefs.h
>>conftest.
$ac_ext
25050 cat >>conftest.
$ac_ext <<_ACEOF
25051 /* end confdefs.h. */
25052 #include <tiffio.h>
25054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25055 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25057 grep -v '^ *+' conftest.er1
>conftest.err
25059 cat conftest.err
>&5
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); } >/dev
/null
; then
25062 if test -s conftest.err
; then
25063 ac_cpp_err
=$ac_c_preproc_warn_flag
25064 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25071 if test -z "$ac_cpp_err"; then
25072 ac_header_preproc
=yes
25074 echo "$as_me: failed program was:" >&5
25075 sed 's/^/| /' conftest.
$ac_ext >&5
25077 ac_header_preproc
=no
25079 rm -f conftest.err conftest.
$ac_ext
25080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25081 echo "${ECHO_T}$ac_header_preproc" >&6
25083 # So? What about this header?
25084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25086 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25087 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25088 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25089 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25090 ac_header_preproc
=yes
25093 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25094 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25095 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25096 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25097 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25098 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25099 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25100 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25101 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25102 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25103 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25104 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25107 ## ----------------------------------------- ##
25108 ## Report this to wx-dev@lists.wxwidgets.org ##
25109 ## ----------------------------------------- ##
25112 sed "s/^/$as_me: WARNING: /" >&2
25115 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25116 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25117 if test "${ac_cv_header_tiffio_h+set}" = set; then
25118 echo $ECHO_N "(cached) $ECHO_C" >&6
25120 ac_cv_header_tiffio_h
=$ac_header_preproc
25122 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25123 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25126 if test $ac_cv_header_tiffio_h = yes; then
25128 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25129 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25130 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25131 echo $ECHO_N "(cached) $ECHO_C" >&6
25133 ac_check_lib_save_LIBS
=$LIBS
25134 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25135 cat >conftest.
$ac_ext <<_ACEOF
25138 cat confdefs.h
>>conftest.
$ac_ext
25139 cat >>conftest.
$ac_ext <<_ACEOF
25140 /* end confdefs.h. */
25142 /* Override any gcc2 internal prototype to avoid an error. */
25146 /* We use char because int might match the return type of a gcc2
25147 builtin and then its argument prototype would still apply. */
25157 rm -f conftest.
$ac_objext conftest
$ac_exeext
25158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25159 (eval $ac_link) 2>conftest.er1
25161 grep -v '^ *+' conftest.er1
>conftest.err
25163 cat conftest.err
>&5
25164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25165 (exit $ac_status); } &&
25166 { ac_try
='test -z "$ac_c_werror_flag"
25167 || test ! -s conftest.err'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; } &&
25173 { ac_try
='test -s conftest$ac_exeext'
25174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25175 (eval $ac_try) 2>&5
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); }; }; then
25179 ac_cv_lib_tiff_TIFFError
=yes
25181 echo "$as_me: failed program was:" >&5
25182 sed 's/^/| /' conftest.
$ac_ext >&5
25184 ac_cv_lib_tiff_TIFFError
=no
25186 rm -f conftest.err conftest.
$ac_objext \
25187 conftest
$ac_exeext conftest.
$ac_ext
25188 LIBS
=$ac_check_lib_save_LIBS
25190 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25191 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25192 if test $ac_cv_lib_tiff_TIFFError = yes; then
25193 TIFF_LINK
=" -ltiff"
25202 if test "x$TIFF_LINK" = "x" ; then
25203 if test "$wxUSE_LIBTIFF" = "sys" ; then
25204 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25205 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25206 { (exit 1); exit 1; }; }
25208 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25209 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25210 wxUSE_LIBTIFF
=builtin
25219 if test "$wxUSE_WCHAR_T" != "yes"; then
25220 if test "$wxUSE_EXPAT" != "no"; then
25221 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25222 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25225 if test "$wxUSE_XML" != "no"; then
25226 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25227 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25232 if test "$wxUSE_EXPAT" != "no"; then
25234 cat >>confdefs.h
<<\_ACEOF
25235 #define wxUSE_EXPAT 1
25238 cat >>confdefs.h
<<\_ACEOF
25239 #define wxUSE_XML 1
25243 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25244 if test "${ac_cv_header_expat_h+set}" = set; then
25245 echo "$as_me:$LINENO: checking for expat.h" >&5
25246 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25247 if test "${ac_cv_header_expat_h+set}" = set; then
25248 echo $ECHO_N "(cached) $ECHO_C" >&6
25250 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25251 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25253 # Is the header compilable?
25254 echo "$as_me:$LINENO: checking expat.h usability" >&5
25255 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25256 cat >conftest.
$ac_ext <<_ACEOF
25259 cat confdefs.h
>>conftest.
$ac_ext
25260 cat >>conftest.
$ac_ext <<_ACEOF
25261 /* end confdefs.h. */
25262 $ac_includes_default
25265 rm -f conftest.
$ac_objext
25266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25267 (eval $ac_compile) 2>conftest.er1
25269 grep -v '^ *+' conftest.er1
>conftest.err
25271 cat conftest.err
>&5
25272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273 (exit $ac_status); } &&
25274 { ac_try
='test -z "$ac_c_werror_flag"
25275 || test ! -s conftest.err'
25276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25277 (eval $ac_try) 2>&5
25279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280 (exit $ac_status); }; } &&
25281 { ac_try
='test -s conftest.$ac_objext'
25282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25283 (eval $ac_try) 2>&5
25285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286 (exit $ac_status); }; }; then
25287 ac_header_compiler
=yes
25289 echo "$as_me: failed program was:" >&5
25290 sed 's/^/| /' conftest.
$ac_ext >&5
25292 ac_header_compiler
=no
25294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25296 echo "${ECHO_T}$ac_header_compiler" >&6
25298 # Is the header present?
25299 echo "$as_me:$LINENO: checking expat.h presence" >&5
25300 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25301 cat >conftest.
$ac_ext <<_ACEOF
25304 cat confdefs.h
>>conftest.
$ac_ext
25305 cat >>conftest.
$ac_ext <<_ACEOF
25306 /* end confdefs.h. */
25309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25310 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25312 grep -v '^ *+' conftest.er1
>conftest.err
25314 cat conftest.err
>&5
25315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25316 (exit $ac_status); } >/dev
/null
; then
25317 if test -s conftest.err
; then
25318 ac_cpp_err
=$ac_c_preproc_warn_flag
25319 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25326 if test -z "$ac_cpp_err"; then
25327 ac_header_preproc
=yes
25329 echo "$as_me: failed program was:" >&5
25330 sed 's/^/| /' conftest.
$ac_ext >&5
25332 ac_header_preproc
=no
25334 rm -f conftest.err conftest.
$ac_ext
25335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25336 echo "${ECHO_T}$ac_header_preproc" >&6
25338 # So? What about this header?
25339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25341 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25342 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25343 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25344 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25345 ac_header_preproc
=yes
25348 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25349 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25350 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25351 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25352 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25353 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25354 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25355 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25356 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25357 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25358 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25359 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25362 ## ----------------------------------------- ##
25363 ## Report this to wx-dev@lists.wxwidgets.org ##
25364 ## ----------------------------------------- ##
25367 sed "s/^/$as_me: WARNING: /" >&2
25370 echo "$as_me:$LINENO: checking for expat.h" >&5
25371 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25372 if test "${ac_cv_header_expat_h+set}" = set; then
25373 echo $ECHO_N "(cached) $ECHO_C" >&6
25375 ac_cv_header_expat_h
=$ac_header_preproc
25377 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25378 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25381 if test $ac_cv_header_expat_h = yes; then
25386 if test "x$found_expat_h" = "x1"; then
25387 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25388 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25389 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25390 echo $ECHO_N "(cached) $ECHO_C" >&6
25396 ac_cpp
='$CXXCPP $CPPFLAGS'
25397 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25398 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25399 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25401 cat >conftest.
$ac_ext <<_ACEOF
25404 cat confdefs.h
>>conftest.
$ac_ext
25405 cat >>conftest.
$ac_ext <<_ACEOF
25406 /* end confdefs.h. */
25416 rm -f conftest.
$ac_objext
25417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25418 (eval $ac_compile) 2>conftest.er1
25420 grep -v '^ *+' conftest.er1
>conftest.err
25422 cat conftest.err
>&5
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); } &&
25425 { ac_try
='test -z "$ac_cxx_werror_flag"
25426 || test ! -s conftest.err'
25427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25428 (eval $ac_try) 2>&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); }; } &&
25432 { ac_try
='test -s conftest.$ac_objext'
25433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25434 (eval $ac_try) 2>&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); }; }; then
25438 wx_cv_expat_is_not_broken
=yes
25440 echo "$as_me: failed program was:" >&5
25441 sed 's/^/| /' conftest.
$ac_ext >&5
25443 wx_cv_expat_is_not_broken
=no
25446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25448 ac_cpp
='$CPP $CPPFLAGS'
25449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25456 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25457 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25458 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25459 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25460 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25461 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 ac_check_lib_save_LIBS
=$LIBS
25465 LIBS
="-lexpat $LIBS"
25466 cat >conftest.
$ac_ext <<_ACEOF
25469 cat confdefs.h
>>conftest.
$ac_ext
25470 cat >>conftest.
$ac_ext <<_ACEOF
25471 /* end confdefs.h. */
25473 /* Override any gcc2 internal prototype to avoid an error. */
25477 /* We use char because int might match the return type of a gcc2
25478 builtin and then its argument prototype would still apply. */
25479 char XML_ParserCreate ();
25483 XML_ParserCreate ();
25488 rm -f conftest.
$ac_objext conftest
$ac_exeext
25489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25490 (eval $ac_link) 2>conftest.er1
25492 grep -v '^ *+' conftest.er1
>conftest.err
25494 cat conftest.err
>&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); } &&
25497 { ac_try
='test -z "$ac_c_werror_flag"
25498 || test ! -s conftest.err'
25499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25500 (eval $ac_try) 2>&5
25502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); }; } &&
25504 { ac_try
='test -s conftest$ac_exeext'
25505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25506 (eval $ac_try) 2>&5
25508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25509 (exit $ac_status); }; }; then
25510 ac_cv_lib_expat_XML_ParserCreate
=yes
25512 echo "$as_me: failed program was:" >&5
25513 sed 's/^/| /' conftest.
$ac_ext >&5
25515 ac_cv_lib_expat_XML_ParserCreate
=no
25517 rm -f conftest.err conftest.
$ac_objext \
25518 conftest
$ac_exeext conftest.
$ac_ext
25519 LIBS
=$ac_check_lib_save_LIBS
25521 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25522 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25523 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25524 EXPAT_LINK
=" -lexpat"
25529 if test "x$EXPAT_LINK" = "x" ; then
25530 if test "$wxUSE_EXPAT" = "sys" ; then
25531 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25532 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25533 { (exit 1); exit 1; }; }
25535 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25536 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25537 wxUSE_EXPAT
=builtin
25543 if test "$wxUSE_EXPAT" = "builtin" ; then
25546 subdirs
="$subdirs src/expat"
25553 if test "$wxUSE_LIBMSPACK" != "no"; then
25554 if test "${ac_cv_header_mspack_h+set}" = set; then
25555 echo "$as_me:$LINENO: checking for mspack.h" >&5
25556 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25557 if test "${ac_cv_header_mspack_h+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25560 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25561 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25563 # Is the header compilable?
25564 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25565 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25566 cat >conftest.
$ac_ext <<_ACEOF
25569 cat confdefs.h
>>conftest.
$ac_ext
25570 cat >>conftest.
$ac_ext <<_ACEOF
25571 /* end confdefs.h. */
25572 $ac_includes_default
25573 #include <mspack.h>
25575 rm -f conftest.
$ac_objext
25576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25577 (eval $ac_compile) 2>conftest.er1
25579 grep -v '^ *+' conftest.er1
>conftest.err
25581 cat conftest.err
>&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } &&
25584 { ac_try
='test -z "$ac_c_werror_flag"
25585 || test ! -s conftest.err'
25586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25587 (eval $ac_try) 2>&5
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); }; } &&
25591 { ac_try
='test -s conftest.$ac_objext'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; }; then
25597 ac_header_compiler
=yes
25599 echo "$as_me: failed program was:" >&5
25600 sed 's/^/| /' conftest.
$ac_ext >&5
25602 ac_header_compiler
=no
25604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25605 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25606 echo "${ECHO_T}$ac_header_compiler" >&6
25608 # Is the header present?
25609 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25610 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25611 cat >conftest.
$ac_ext <<_ACEOF
25614 cat confdefs.h
>>conftest.
$ac_ext
25615 cat >>conftest.
$ac_ext <<_ACEOF
25616 /* end confdefs.h. */
25617 #include <mspack.h>
25619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25620 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25622 grep -v '^ *+' conftest.er1
>conftest.err
25624 cat conftest.err
>&5
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); } >/dev
/null
; then
25627 if test -s conftest.err
; then
25628 ac_cpp_err
=$ac_c_preproc_warn_flag
25629 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25636 if test -z "$ac_cpp_err"; then
25637 ac_header_preproc
=yes
25639 echo "$as_me: failed program was:" >&5
25640 sed 's/^/| /' conftest.
$ac_ext >&5
25642 ac_header_preproc
=no
25644 rm -f conftest.err conftest.
$ac_ext
25645 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25646 echo "${ECHO_T}$ac_header_preproc" >&6
25648 # So? What about this header?
25649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25651 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25652 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25653 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25654 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25655 ac_header_preproc
=yes
25658 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25659 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25660 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25661 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25662 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25663 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25664 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25665 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25666 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25667 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25668 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25669 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25672 ## ----------------------------------------- ##
25673 ## Report this to wx-dev@lists.wxwidgets.org ##
25674 ## ----------------------------------------- ##
25677 sed "s/^/$as_me: WARNING: /" >&2
25680 echo "$as_me:$LINENO: checking for mspack.h" >&5
25681 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25682 if test "${ac_cv_header_mspack_h+set}" = set; then
25683 echo $ECHO_N "(cached) $ECHO_C" >&6
25685 ac_cv_header_mspack_h
=$ac_header_preproc
25687 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25688 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25691 if test $ac_cv_header_mspack_h = yes; then
25696 if test "x$found_mspack_h" = "x1"; then
25697 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25698 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25699 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25700 echo $ECHO_N "(cached) $ECHO_C" >&6
25702 ac_check_lib_save_LIBS
=$LIBS
25703 LIBS
="-lmspack $LIBS"
25704 cat >conftest.
$ac_ext <<_ACEOF
25707 cat confdefs.h
>>conftest.
$ac_ext
25708 cat >>conftest.
$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25711 /* Override any gcc2 internal prototype to avoid an error. */
25715 /* We use char because int might match the return type of a gcc2
25716 builtin and then its argument prototype would still apply. */
25717 char mspack_create_chm_decompressor ();
25721 mspack_create_chm_decompressor ();
25726 rm -f conftest.
$ac_objext conftest
$ac_exeext
25727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25728 (eval $ac_link) 2>conftest.er1
25730 grep -v '^ *+' conftest.er1
>conftest.err
25732 cat conftest.err
>&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); } &&
25735 { ac_try
='test -z "$ac_c_werror_flag"
25736 || test ! -s conftest.err'
25737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25738 (eval $ac_try) 2>&5
25740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25741 (exit $ac_status); }; } &&
25742 { ac_try
='test -s conftest$ac_exeext'
25743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25744 (eval $ac_try) 2>&5
25746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25747 (exit $ac_status); }; }; then
25748 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25750 echo "$as_me: failed program was:" >&5
25751 sed 's/^/| /' conftest.
$ac_ext >&5
25753 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25755 rm -f conftest.err conftest.
$ac_objext \
25756 conftest
$ac_exeext conftest.
$ac_ext
25757 LIBS
=$ac_check_lib_save_LIBS
25759 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25760 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25761 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25762 MSPACK_LINK
=" -lmspack"
25766 if test "x$MSPACK_LINK" = "x" ; then
25771 if test "$wxUSE_LIBMSPACK" != "no"; then
25772 cat >>confdefs.h
<<\_ACEOF
25773 #define wxUSE_LIBMSPACK 1
25787 if test "$USE_WIN32" = 1 ; then
25789 for ac_header
in w32api.h
25791 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25793 echo "$as_me:$LINENO: checking for $ac_header" >&5
25794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25801 # Is the header compilable?
25802 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25803 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25804 cat >conftest.
$ac_ext <<_ACEOF
25807 cat confdefs.h
>>conftest.
$ac_ext
25808 cat >>conftest.
$ac_ext <<_ACEOF
25809 /* end confdefs.h. */
25810 $ac_includes_default
25811 #include <$ac_header>
25813 rm -f conftest.
$ac_objext
25814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25815 (eval $ac_compile) 2>conftest.er1
25817 grep -v '^ *+' conftest.er1
>conftest.err
25819 cat conftest.err
>&5
25820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821 (exit $ac_status); } &&
25822 { ac_try
='test -z "$ac_c_werror_flag"
25823 || test ! -s conftest.err'
25824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25825 (eval $ac_try) 2>&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); }; } &&
25829 { ac_try
='test -s conftest.$ac_objext'
25830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25831 (eval $ac_try) 2>&5
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); }; }; then
25835 ac_header_compiler
=yes
25837 echo "$as_me: failed program was:" >&5
25838 sed 's/^/| /' conftest.
$ac_ext >&5
25840 ac_header_compiler
=no
25842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25844 echo "${ECHO_T}$ac_header_compiler" >&6
25846 # Is the header present?
25847 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25849 cat >conftest.
$ac_ext <<_ACEOF
25852 cat confdefs.h
>>conftest.
$ac_ext
25853 cat >>conftest.
$ac_ext <<_ACEOF
25854 /* end confdefs.h. */
25855 #include <$ac_header>
25857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25858 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25860 grep -v '^ *+' conftest.er1
>conftest.err
25862 cat conftest.err
>&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); } >/dev
/null
; then
25865 if test -s conftest.err
; then
25866 ac_cpp_err
=$ac_c_preproc_warn_flag
25867 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25874 if test -z "$ac_cpp_err"; then
25875 ac_header_preproc
=yes
25877 echo "$as_me: failed program was:" >&5
25878 sed 's/^/| /' conftest.
$ac_ext >&5
25880 ac_header_preproc
=no
25882 rm -f conftest.err conftest.
$ac_ext
25883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25884 echo "${ECHO_T}$ac_header_preproc" >&6
25886 # So? What about this header?
25887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25889 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25890 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25892 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25893 ac_header_preproc
=yes
25896 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25897 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25898 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25899 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25900 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25901 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25902 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25903 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25905 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25906 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25907 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25910 ## ----------------------------------------- ##
25911 ## Report this to wx-dev@lists.wxwidgets.org ##
25912 ## ----------------------------------------- ##
25915 sed "s/^/$as_me: WARNING: /" >&2
25918 echo "$as_me:$LINENO: checking for $ac_header" >&5
25919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25921 echo $ECHO_N "(cached) $ECHO_C" >&6
25923 eval "$as_ac_Header=\$ac_header_preproc"
25925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25930 cat >>confdefs.h
<<_ACEOF
25931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25938 if test "${ac_cv_header_windows_h+set}" = set; then
25939 echo "$as_me:$LINENO: checking for windows.h" >&5
25940 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25941 if test "${ac_cv_header_windows_h+set}" = set; then
25942 echo $ECHO_N "(cached) $ECHO_C" >&6
25944 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25945 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25947 # Is the header compilable?
25948 echo "$as_me:$LINENO: checking windows.h usability" >&5
25949 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25950 cat >conftest.
$ac_ext <<_ACEOF
25953 cat confdefs.h
>>conftest.
$ac_ext
25954 cat >>conftest.
$ac_ext <<_ACEOF
25955 /* end confdefs.h. */
25956 $ac_includes_default
25957 #include <windows.h>
25959 rm -f conftest.
$ac_objext
25960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25961 (eval $ac_compile) 2>conftest.er1
25963 grep -v '^ *+' conftest.er1
>conftest.err
25965 cat conftest.err
>&5
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); } &&
25968 { ac_try
='test -z "$ac_c_werror_flag"
25969 || test ! -s conftest.err'
25970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25971 (eval $ac_try) 2>&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); }; } &&
25975 { ac_try
='test -s conftest.$ac_objext'
25976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25977 (eval $ac_try) 2>&5
25979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25980 (exit $ac_status); }; }; then
25981 ac_header_compiler
=yes
25983 echo "$as_me: failed program was:" >&5
25984 sed 's/^/| /' conftest.
$ac_ext >&5
25986 ac_header_compiler
=no
25988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25990 echo "${ECHO_T}$ac_header_compiler" >&6
25992 # Is the header present?
25993 echo "$as_me:$LINENO: checking windows.h presence" >&5
25994 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25995 cat >conftest.
$ac_ext <<_ACEOF
25998 cat confdefs.h
>>conftest.
$ac_ext
25999 cat >>conftest.
$ac_ext <<_ACEOF
26000 /* end confdefs.h. */
26001 #include <windows.h>
26003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26004 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26006 grep -v '^ *+' conftest.er1
>conftest.err
26008 cat conftest.err
>&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } >/dev
/null
; then
26011 if test -s conftest.err
; then
26012 ac_cpp_err
=$ac_c_preproc_warn_flag
26013 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26020 if test -z "$ac_cpp_err"; then
26021 ac_header_preproc
=yes
26023 echo "$as_me: failed program was:" >&5
26024 sed 's/^/| /' conftest.
$ac_ext >&5
26026 ac_header_preproc
=no
26028 rm -f conftest.err conftest.
$ac_ext
26029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26030 echo "${ECHO_T}$ac_header_preproc" >&6
26032 # So? What about this header?
26033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26035 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26036 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26037 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26038 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26039 ac_header_preproc
=yes
26042 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26043 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26044 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26045 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26046 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26047 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26048 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26049 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26050 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26051 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26052 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26053 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26056 ## ----------------------------------------- ##
26057 ## Report this to wx-dev@lists.wxwidgets.org ##
26058 ## ----------------------------------------- ##
26061 sed "s/^/$as_me: WARNING: /" >&2
26064 echo "$as_me:$LINENO: checking for windows.h" >&5
26065 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26066 if test "${ac_cv_header_windows_h+set}" = set; then
26067 echo $ECHO_N "(cached) $ECHO_C" >&6
26069 ac_cv_header_windows_h
=$ac_header_preproc
26071 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26072 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26075 if test $ac_cv_header_windows_h = yes; then
26079 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26080 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26081 { (exit 1); exit 1; }; }
26087 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26089 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26090 LIBS
="$LIBS -loleacc"
26095 LIBS
="$LIBS -lkernel32 -luser32"
26098 if test "$wxUSE_ODBC" = "sys" ; then
26101 if test "$wxUSE_ODBC" = "yes" ; then
26102 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26103 cat >>confdefs.h
<<\_ACEOF
26104 #define wxUSE_ODBC 1
26109 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26110 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26112 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26114 WIN32INSTALL
=win32install
26117 if test "$wxUSE_GUI" = "yes"; then
26127 if test "$wxUSE_COCOA" = 1 ; then
26128 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26129 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26130 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26131 wxUSE_PRINTING_ARCHITECTURE
=no
26133 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26134 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26135 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26136 wxUSE_DRAG_AND_DROP
=no
26138 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26139 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26140 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26145 if test "$wxUSE_MSW" = 1 ; then
26151 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26155 if test "$wxUSE_GTK" = 1; then
26156 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26157 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26159 gtk_version_cached
=1
26160 if test "${wx_cv_lib_gtk+set}" = set; then
26161 echo $ECHO_N "(cached) $ECHO_C" >&6
26164 gtk_version_cached
=0
26165 echo "$as_me:$LINENO: result: " >&5
26166 echo "${ECHO_T}" >&6
26169 if test "$wxUSE_THREADS" = "yes"; then
26170 GTK_MODULES
=gthread
26174 if test "x$wxGTK_VERSION" != "x1"
26178 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26183 # Check whether --enable-gtktest or --disable-gtktest was given.
26184 if test "${enable_gtktest+set}" = set; then
26185 enableval
="$enable_gtktest"
26191 pkg_config_args
=gtk
+-2.0
26192 for module
in .
$GTK_MODULES
26196 pkg_config_args
="$pkg_config_args gthread-2.0"
26203 # Extract the first word of "pkg-config", so it can be a program name with args.
26204 set dummy pkg
-config; ac_word
=$2
26205 echo "$as_me:$LINENO: checking for $ac_word" >&5
26206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26207 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26208 echo $ECHO_N "(cached) $ECHO_C" >&6
26210 case $PKG_CONFIG in
26212 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26216 for as_dir
in $PATH
26219 test -z "$as_dir" && as_dir
=.
26220 for ac_exec_ext
in '' $ac_executable_extensions; do
26221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26222 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26229 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26233 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26235 if test -n "$PKG_CONFIG"; then
26236 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26237 echo "${ECHO_T}$PKG_CONFIG" >&6
26239 echo "$as_me:$LINENO: result: no" >&5
26240 echo "${ECHO_T}no" >&6
26244 if test x
$PKG_CONFIG != xno
; then
26245 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26248 echo "*** pkg-config too old; version 0.7 or better required."
26256 min_gtk_version
=2.0.0
26257 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26258 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26260 if test x
$PKG_CONFIG != xno
; then
26261 ## don't try to run the test against uninstalled libtool libs
26262 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26263 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26267 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26274 if test x
"$no_gtk" = x
; then
26275 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26276 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26277 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26278 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26279 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26280 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26281 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26282 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26283 if test "x$enable_gtktest" = "xyes" ; then
26284 ac_save_CFLAGS
="$CFLAGS"
26285 ac_save_LIBS
="$LIBS"
26286 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26287 LIBS
="$GTK_LIBS $LIBS"
26289 if test "$cross_compiling" = yes; then
26290 echo $ac_n "cross compiling; assumed OK... $ac_c"
26292 cat >conftest.
$ac_ext <<_ACEOF
26295 cat confdefs.h
>>conftest.
$ac_ext
26296 cat >>conftest.
$ac_ext <<_ACEOF
26297 /* end confdefs.h. */
26299 #include <gtk/gtk.h>
26301 #include <stdlib.h>
26306 int major, minor, micro;
26309 system ("touch conf.gtktest");
26311 /* HP/UX 9 (%@#!) writes to sscanf strings */
26312 tmp_version = g_strdup("$min_gtk_version");
26313 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26314 printf("%s, bad version string\n", "$min_gtk_version");
26318 if ((gtk_major_version != $gtk_config_major_version) ||
26319 (gtk_minor_version != $gtk_config_minor_version) ||
26320 (gtk_micro_version != $gtk_config_micro_version))
26322 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26323 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26324 gtk_major_version, gtk_minor_version, gtk_micro_version);
26325 printf ("*** was found! If pkg-config was correct, then it is best\n");
26326 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26327 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26328 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26329 printf("*** required on your system.\n");
26330 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26331 printf("*** to point to the correct configuration files\n");
26333 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26334 (gtk_minor_version != GTK_MINOR_VERSION) ||
26335 (gtk_micro_version != GTK_MICRO_VERSION))
26337 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26338 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26339 printf("*** library (version %d.%d.%d)\n",
26340 gtk_major_version, gtk_minor_version, gtk_micro_version);
26344 if ((gtk_major_version > major) ||
26345 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26346 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26352 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26353 gtk_major_version, gtk_minor_version, gtk_micro_version);
26354 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26355 major, minor, micro);
26356 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26358 printf("*** If you have already installed a sufficiently new version, this error\n");
26359 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26360 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26361 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26362 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26363 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26364 printf("*** so that the correct libraries are found at run-time))\n");
26371 rm -f conftest
$ac_exeext
26372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26373 (eval $ac_link) 2>&5
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26378 (eval $ac_try) 2>&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); }; }; then
26384 echo "$as_me: program exited with status $ac_status" >&5
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.
$ac_ext >&5
26388 ( exit $ac_status )
26391 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26393 CFLAGS
="$ac_save_CFLAGS"
26394 LIBS
="$ac_save_LIBS"
26397 if test "x$no_gtk" = x
; then
26398 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26399 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26402 echo "$as_me:$LINENO: result: no" >&5
26403 echo "${ECHO_T}no" >&6
26404 if test "$PKG_CONFIG" = "no" ; then
26405 echo "*** A new enough version of pkg-config was not found."
26406 echo "*** See http://pkgconfig.sourceforge.net"
26408 if test -f conf.gtktest
; then
26411 echo "*** Could not run GTK+ test program, checking why..."
26412 ac_save_CFLAGS
="$CFLAGS"
26413 ac_save_LIBS
="$LIBS"
26414 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26415 LIBS
="$LIBS $GTK_LIBS"
26416 cat >conftest.
$ac_ext <<_ACEOF
26419 cat confdefs.h
>>conftest.
$ac_ext
26420 cat >>conftest.
$ac_ext <<_ACEOF
26421 /* end confdefs.h. */
26423 #include <gtk/gtk.h>
26429 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26434 rm -f conftest.
$ac_objext conftest
$ac_exeext
26435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26436 (eval $ac_link) 2>conftest.er1
26438 grep -v '^ *+' conftest.er1
>conftest.err
26440 cat conftest.err
>&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } &&
26443 { ac_try
='test -z "$ac_c_werror_flag"
26444 || test ! -s conftest.err'
26445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26446 (eval $ac_try) 2>&5
26448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449 (exit $ac_status); }; } &&
26450 { ac_try
='test -s conftest$ac_exeext'
26451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26452 (eval $ac_try) 2>&5
26454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26455 (exit $ac_status); }; }; then
26456 echo "*** The test program compiled, but did not run. This usually means"
26457 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26458 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26459 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26460 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26461 echo "*** is required on your system"
26463 echo "*** If you have an old version installed, it is best to remove it, although"
26464 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26466 echo "$as_me: failed program was:" >&5
26467 sed 's/^/| /' conftest.
$ac_ext >&5
26469 echo "*** The test program failed to compile or link. See the file config.log for the"
26470 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26472 rm -f conftest.err conftest.
$ac_objext \
26473 conftest
$ac_exeext conftest.
$ac_ext
26474 CFLAGS
="$ac_save_CFLAGS"
26475 LIBS
="$ac_save_LIBS"
26489 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26490 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26491 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26493 if test "$wxUSE_SHARED" != "yes"; then
26494 GTK_LIBS
="$GTK_LIBS -lX11"
26499 if test -z "$wx_cv_lib_gtk"; then
26500 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26502 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26503 if test "${with_gtk_prefix+set}" = set; then
26504 withval
="$with_gtk_prefix"
26505 gtk_config_prefix
="$withval"
26507 gtk_config_prefix
=""
26510 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26511 if test "${with_gtk_exec_prefix+set}" = set; then
26512 withval
="$with_gtk_exec_prefix"
26513 gtk_config_exec_prefix
="$withval"
26515 gtk_config_exec_prefix
=""
26517 # Check whether --enable-gtktest or --disable-gtktest was given.
26518 if test "${enable_gtktest+set}" = set; then
26519 enableval
="$enable_gtktest"
26525 for module
in .
$GTK_MODULES
26529 gtk_config_args
="$gtk_config_args gthread"
26534 if test x
$gtk_config_exec_prefix != x
; then
26535 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26536 if test x
${GTK_CONFIG+set} != xset
; then
26537 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26540 if test x
$gtk_config_prefix != x
; then
26541 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26542 if test x
${GTK_CONFIG+set} != xset
; then
26543 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26547 # Extract the first word of "gtk-config", so it can be a program name with args.
26548 set dummy gtk
-config; ac_word
=$2
26549 echo "$as_me:$LINENO: checking for $ac_word" >&5
26550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26551 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26552 echo $ECHO_N "(cached) $ECHO_C" >&6
26554 case $GTK_CONFIG in
26556 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26560 for as_dir
in $PATH
26563 test -z "$as_dir" && as_dir
=.
26564 for ac_exec_ext
in '' $ac_executable_extensions; do
26565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26566 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26573 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26577 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26579 if test -n "$GTK_CONFIG"; then
26580 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26581 echo "${ECHO_T}$GTK_CONFIG" >&6
26583 echo "$as_me:$LINENO: result: no" >&5
26584 echo "${ECHO_T}no" >&6
26587 min_gtk_version
=1.2.7
26588 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26589 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26591 if test "$GTK_CONFIG" = "no" ; then
26594 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26595 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26596 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26598 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26600 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26601 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26602 if test "x$enable_gtktest" = "xyes" ; then
26603 ac_save_CFLAGS
="$CFLAGS"
26604 ac_save_LIBS
="$LIBS"
26605 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26606 LIBS
="$GTK_LIBS $LIBS"
26608 if test "$cross_compiling" = yes; then
26609 echo $ac_n "cross compiling; assumed OK... $ac_c"
26611 cat >conftest.
$ac_ext <<_ACEOF
26614 cat confdefs.h
>>conftest.
$ac_ext
26615 cat >>conftest.
$ac_ext <<_ACEOF
26616 /* end confdefs.h. */
26618 #include <gtk/gtk.h>
26620 #include <stdlib.h>
26625 int major, minor, micro;
26628 system ("touch conf.gtktest");
26630 /* HP/UX 9 (%@#!) writes to sscanf strings */
26631 tmp_version = g_strdup("$min_gtk_version");
26632 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26633 printf("%s, bad version string\n", "$min_gtk_version");
26637 if ((gtk_major_version != $gtk_config_major_version) ||
26638 (gtk_minor_version != $gtk_config_minor_version) ||
26639 (gtk_micro_version != $gtk_config_micro_version))
26641 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26642 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26643 gtk_major_version, gtk_minor_version, gtk_micro_version);
26644 printf ("*** was found! If gtk-config was correct, then it is best\n");
26645 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26646 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26647 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26648 printf("*** required on your system.\n");
26649 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26650 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26651 printf("*** before re-running configure\n");
26653 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26654 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26655 (gtk_minor_version != GTK_MINOR_VERSION) ||
26656 (gtk_micro_version != GTK_MICRO_VERSION))
26658 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26659 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26660 printf("*** library (version %d.%d.%d)\n",
26661 gtk_major_version, gtk_minor_version, gtk_micro_version);
26663 #endif /* defined (GTK_MAJOR_VERSION) ... */
26666 if ((gtk_major_version > major) ||
26667 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26668 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26674 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26675 gtk_major_version, gtk_minor_version, gtk_micro_version);
26676 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26677 major, minor, micro);
26678 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26680 printf("*** If you have already installed a sufficiently new version, this error\n");
26681 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26682 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26683 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26684 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26685 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26686 printf("*** so that the correct libraries are found at run-time))\n");
26693 rm -f conftest
$ac_exeext
26694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26695 (eval $ac_link) 2>&5
26697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26698 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700 (eval $ac_try) 2>&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); }; }; then
26706 echo "$as_me: program exited with status $ac_status" >&5
26707 echo "$as_me: failed program was:" >&5
26708 sed 's/^/| /' conftest.
$ac_ext >&5
26710 ( exit $ac_status )
26713 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26715 CFLAGS
="$ac_save_CFLAGS"
26716 LIBS
="$ac_save_LIBS"
26719 if test "x$no_gtk" = x
; then
26720 echo "$as_me:$LINENO: result: yes" >&5
26721 echo "${ECHO_T}yes" >&6
26722 wx_cv_lib_gtk
=1.2.7
26724 echo "$as_me:$LINENO: result: no" >&5
26725 echo "${ECHO_T}no" >&6
26726 if test "$GTK_CONFIG" = "no" ; then
26727 echo "*** The gtk-config script installed by GTK could not be found"
26728 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26729 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26730 echo "*** full path to gtk-config."
26732 if test -f conf.gtktest
; then
26735 echo "*** Could not run GTK test program, checking why..."
26736 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26737 LIBS
="$LIBS $GTK_LIBS"
26738 cat >conftest.
$ac_ext <<_ACEOF
26741 cat confdefs.h
>>conftest.
$ac_ext
26742 cat >>conftest.
$ac_ext <<_ACEOF
26743 /* end confdefs.h. */
26745 #include <gtk/gtk.h>
26751 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26756 rm -f conftest.
$ac_objext conftest
$ac_exeext
26757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26758 (eval $ac_link) 2>conftest.er1
26760 grep -v '^ *+' conftest.er1
>conftest.err
26762 cat conftest.err
>&5
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); } &&
26765 { ac_try
='test -z "$ac_c_werror_flag"
26766 || test ! -s conftest.err'
26767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26768 (eval $ac_try) 2>&5
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); }; } &&
26772 { ac_try
='test -s conftest$ac_exeext'
26773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26774 (eval $ac_try) 2>&5
26776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26777 (exit $ac_status); }; }; then
26778 echo "*** The test program compiled, but did not run. This usually means"
26779 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26780 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26781 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26782 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26783 echo "*** is required on your system"
26785 echo "*** If you have an old version installed, it is best to remove it, although"
26786 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26788 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26789 echo "*** came with the system with the command"
26791 echo "*** rpm --erase --nodeps gtk gtk-devel"
26793 echo "$as_me: failed program was:" >&5
26794 sed 's/^/| /' conftest.
$ac_ext >&5
26796 echo "*** The test program failed to compile or link. See the file config.log for the"
26797 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26798 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26799 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26801 rm -f conftest.err conftest.
$ac_objext \
26802 conftest
$ac_exeext conftest.
$ac_ext
26803 CFLAGS
="$ac_save_CFLAGS"
26804 LIBS
="$ac_save_LIBS"
26816 if test -z "$wx_cv_lib_gtk"; then
26818 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26819 if test "${with_gtk_prefix+set}" = set; then
26820 withval
="$with_gtk_prefix"
26821 gtk_config_prefix
="$withval"
26823 gtk_config_prefix
=""
26826 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26827 if test "${with_gtk_exec_prefix+set}" = set; then
26828 withval
="$with_gtk_exec_prefix"
26829 gtk_config_exec_prefix
="$withval"
26831 gtk_config_exec_prefix
=""
26833 # Check whether --enable-gtktest or --disable-gtktest was given.
26834 if test "${enable_gtktest+set}" = set; then
26835 enableval
="$enable_gtktest"
26841 for module
in .
$GTK_MODULES
26845 gtk_config_args
="$gtk_config_args gthread"
26850 if test x
$gtk_config_exec_prefix != x
; then
26851 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26852 if test x
${GTK_CONFIG+set} != xset
; then
26853 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26856 if test x
$gtk_config_prefix != x
; then
26857 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26858 if test x
${GTK_CONFIG+set} != xset
; then
26859 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26863 # Extract the first word of "gtk-config", so it can be a program name with args.
26864 set dummy gtk
-config; ac_word
=$2
26865 echo "$as_me:$LINENO: checking for $ac_word" >&5
26866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26867 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26868 echo $ECHO_N "(cached) $ECHO_C" >&6
26870 case $GTK_CONFIG in
26872 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26876 for as_dir
in $PATH
26879 test -z "$as_dir" && as_dir
=.
26880 for ac_exec_ext
in '' $ac_executable_extensions; do
26881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26882 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26889 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26893 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26895 if test -n "$GTK_CONFIG"; then
26896 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26897 echo "${ECHO_T}$GTK_CONFIG" >&6
26899 echo "$as_me:$LINENO: result: no" >&5
26900 echo "${ECHO_T}no" >&6
26903 min_gtk_version
=1.2.3
26904 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26905 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26907 if test "$GTK_CONFIG" = "no" ; then
26910 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26911 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26912 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26914 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26916 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26918 if test "x$enable_gtktest" = "xyes" ; then
26919 ac_save_CFLAGS
="$CFLAGS"
26920 ac_save_LIBS
="$LIBS"
26921 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26922 LIBS
="$GTK_LIBS $LIBS"
26924 if test "$cross_compiling" = yes; then
26925 echo $ac_n "cross compiling; assumed OK... $ac_c"
26927 cat >conftest.
$ac_ext <<_ACEOF
26930 cat confdefs.h
>>conftest.
$ac_ext
26931 cat >>conftest.
$ac_ext <<_ACEOF
26932 /* end confdefs.h. */
26934 #include <gtk/gtk.h>
26936 #include <stdlib.h>
26941 int major, minor, micro;
26944 system ("touch conf.gtktest");
26946 /* HP/UX 9 (%@#!) writes to sscanf strings */
26947 tmp_version = g_strdup("$min_gtk_version");
26948 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26949 printf("%s, bad version string\n", "$min_gtk_version");
26953 if ((gtk_major_version != $gtk_config_major_version) ||
26954 (gtk_minor_version != $gtk_config_minor_version) ||
26955 (gtk_micro_version != $gtk_config_micro_version))
26957 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26958 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26959 gtk_major_version, gtk_minor_version, gtk_micro_version);
26960 printf ("*** was found! If gtk-config was correct, then it is best\n");
26961 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26962 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26963 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26964 printf("*** required on your system.\n");
26965 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26966 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26967 printf("*** before re-running configure\n");
26969 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26970 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26971 (gtk_minor_version != GTK_MINOR_VERSION) ||
26972 (gtk_micro_version != GTK_MICRO_VERSION))
26974 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26975 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26976 printf("*** library (version %d.%d.%d)\n",
26977 gtk_major_version, gtk_minor_version, gtk_micro_version);
26979 #endif /* defined (GTK_MAJOR_VERSION) ... */
26982 if ((gtk_major_version > major) ||
26983 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26984 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26990 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26991 gtk_major_version, gtk_minor_version, gtk_micro_version);
26992 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26993 major, minor, micro);
26994 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26996 printf("*** If you have already installed a sufficiently new version, this error\n");
26997 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26998 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26999 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27000 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27001 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27002 printf("*** so that the correct libraries are found at run-time))\n");
27009 rm -f conftest
$ac_exeext
27010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27011 (eval $ac_link) 2>&5
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27016 (eval $ac_try) 2>&5
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); }; }; then
27022 echo "$as_me: program exited with status $ac_status" >&5
27023 echo "$as_me: failed program was:" >&5
27024 sed 's/^/| /' conftest.
$ac_ext >&5
27026 ( exit $ac_status )
27029 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27031 CFLAGS
="$ac_save_CFLAGS"
27032 LIBS
="$ac_save_LIBS"
27035 if test "x$no_gtk" = x
; then
27036 echo "$as_me:$LINENO: result: yes" >&5
27037 echo "${ECHO_T}yes" >&6
27038 wx_cv_lib_gtk
=1.2.3
27040 echo "$as_me:$LINENO: result: no" >&5
27041 echo "${ECHO_T}no" >&6
27042 if test "$GTK_CONFIG" = "no" ; then
27043 echo "*** The gtk-config script installed by GTK could not be found"
27044 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27045 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27046 echo "*** full path to gtk-config."
27048 if test -f conf.gtktest
; then
27051 echo "*** Could not run GTK test program, checking why..."
27052 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27053 LIBS
="$LIBS $GTK_LIBS"
27054 cat >conftest.
$ac_ext <<_ACEOF
27057 cat confdefs.h
>>conftest.
$ac_ext
27058 cat >>conftest.
$ac_ext <<_ACEOF
27059 /* end confdefs.h. */
27061 #include <gtk/gtk.h>
27067 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27072 rm -f conftest.
$ac_objext conftest
$ac_exeext
27073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27074 (eval $ac_link) 2>conftest.er1
27076 grep -v '^ *+' conftest.er1
>conftest.err
27078 cat conftest.err
>&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } &&
27081 { ac_try
='test -z "$ac_c_werror_flag"
27082 || test ! -s conftest.err'
27083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27084 (eval $ac_try) 2>&5
27086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 (exit $ac_status); }; } &&
27088 { ac_try
='test -s conftest$ac_exeext'
27089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27090 (eval $ac_try) 2>&5
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); }; }; then
27094 echo "*** The test program compiled, but did not run. This usually means"
27095 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27096 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27097 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27098 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27099 echo "*** is required on your system"
27101 echo "*** If you have an old version installed, it is best to remove it, although"
27102 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27104 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27105 echo "*** came with the system with the command"
27107 echo "*** rpm --erase --nodeps gtk gtk-devel"
27109 echo "$as_me: failed program was:" >&5
27110 sed 's/^/| /' conftest.
$ac_ext >&5
27112 echo "*** The test program failed to compile or link. See the file config.log for the"
27113 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27114 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27115 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27117 rm -f conftest.err conftest.
$ac_objext \
27118 conftest
$ac_exeext conftest.
$ac_ext
27119 CFLAGS
="$ac_save_CFLAGS"
27120 LIBS
="$ac_save_LIBS"
27135 if test -z "$wx_cv_lib_gtk"; then
27138 wx_cv_cflags_gtk
=$GTK_CFLAGS
27139 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27146 if test "$gtk_version_cached" = 1; then
27147 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27148 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27151 case "$wx_cv_lib_gtk" in
27160 *) { { echo "$as_me:$LINENO: error:
27161 The development files for GTK+ were not found. For GTK+ 2, please
27162 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27163 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27164 and that the version is 1.2.3 or above. Also check that the
27165 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27166 --libs' are in the LD_LIBRARY_PATH or equivalent.
27168 echo "$as_me: error:
27169 The development files for GTK+ were not found. For GTK+ 2, please
27170 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27171 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27172 and that the version is 1.2.3 or above. Also check that the
27173 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27174 --libs' are in the LD_LIBRARY_PATH or equivalent.
27176 { (exit 1); exit 1; }; }
27180 if test "$WXGTK20" = 1; then
27181 save_CFLAGS
="$CFLAGS"
27183 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27184 LIBS
="$LIBS $wx_cv_libs_gtk"
27186 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27187 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27188 cat >conftest.
$ac_ext <<_ACEOF
27191 cat confdefs.h
>>conftest.
$ac_ext
27192 cat >>conftest.
$ac_ext <<_ACEOF
27193 /* end confdefs.h. */
27195 #include <gtk/gtk.h>
27201 void *f = gtk_icon_size_lookup;
27207 rm -f conftest.
$ac_objext
27208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27209 (eval $ac_compile) 2>conftest.er1
27211 grep -v '^ *+' conftest.er1
>conftest.err
27213 cat conftest.err
>&5
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); } &&
27216 { ac_try
='test -z "$ac_c_werror_flag"
27217 || test ! -s conftest.err'
27218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27219 (eval $ac_try) 2>&5
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); }; } &&
27223 { ac_try
='test -s conftest.$ac_objext'
27224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27225 (eval $ac_try) 2>&5
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); }; }; then
27230 echo "$as_me:$LINENO: result: no" >&5
27231 echo "${ECHO_T}no" >&6
27234 echo "$as_me: failed program was:" >&5
27235 sed 's/^/| /' conftest.
$ac_ext >&5
27238 cat >>confdefs.h
<<\_ACEOF
27239 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27242 echo "$as_me:$LINENO: result: yes" >&5
27243 echo "${ECHO_T}yes" >&6
27246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27248 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27249 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27250 cat >conftest.
$ac_ext <<_ACEOF
27253 cat confdefs.h
>>conftest.
$ac_ext
27254 cat >>conftest.
$ac_ext <<_ACEOF
27255 /* end confdefs.h. */
27257 #include <gtk/gtk.h>
27263 #if !GTK_CHECK_VERSION(2,4,0)
27271 rm -f conftest.
$ac_objext
27272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27273 (eval $ac_compile) 2>conftest.er1
27275 grep -v '^ *+' conftest.er1
>conftest.err
27277 cat conftest.err
>&5
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); } &&
27280 { ac_try
='test -z "$ac_c_werror_flag"
27281 || test ! -s conftest.err'
27282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27283 (eval $ac_try) 2>&5
27285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286 (exit $ac_status); }; } &&
27287 { ac_try
='test -s conftest.$ac_objext'
27288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289 (eval $ac_try) 2>&5
27291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292 (exit $ac_status); }; }; then
27294 cat >>confdefs.h
<<\_ACEOF
27295 #define __WXGTK24__ 1
27298 echo "$as_me:$LINENO: result: yes" >&5
27299 echo "${ECHO_T}yes" >&6
27302 echo "$as_me: failed program was:" >&5
27303 sed 's/^/| /' conftest.
$ac_ext >&5
27306 echo "$as_me:$LINENO: result: no" >&5
27307 echo "${ECHO_T}no" >&6
27310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27312 CFLAGS
="$save_CFLAGS"
27315 if test "$wxUSE_UNICODE" = "yes"; then
27316 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27317 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27322 if test "$USE_DARWIN" != 1; then
27324 for ac_func
in poll
27326 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27327 echo "$as_me:$LINENO: checking for $ac_func" >&5
27328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27329 if eval "test \"\${$as_ac_var+set}\" = set"; then
27330 echo $ECHO_N "(cached) $ECHO_C" >&6
27332 cat >conftest.
$ac_ext <<_ACEOF
27335 cat confdefs.h
>>conftest.
$ac_ext
27336 cat >>conftest.
$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27340 #define $ac_func innocuous_$ac_func
27342 /* System header to define __stub macros and hopefully few prototypes,
27343 which can conflict with char $ac_func (); below.
27344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27345 <limits.h> exists even on freestanding compilers. */
27348 # include <limits.h>
27350 # include <assert.h>
27355 /* Override any gcc2 internal prototype to avoid an error. */
27360 /* We use char because int might match the return type of a gcc2
27361 builtin and then its argument prototype would still apply. */
27363 /* The GNU C library defines this for functions which it implements
27364 to always fail with ENOSYS. Some functions are actually named
27365 something starting with __ and the normal name is an alias. */
27366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27369 char (*f) () = $ac_func;
27378 return f != $ac_func;
27383 rm -f conftest.
$ac_objext conftest
$ac_exeext
27384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27385 (eval $ac_link) 2>conftest.er1
27387 grep -v '^ *+' conftest.er1
>conftest.err
27389 cat conftest.err
>&5
27390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27391 (exit $ac_status); } &&
27392 { ac_try
='test -z "$ac_c_werror_flag"
27393 || test ! -s conftest.err'
27394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27395 (eval $ac_try) 2>&5
27397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27398 (exit $ac_status); }; } &&
27399 { ac_try
='test -s conftest$ac_exeext'
27400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27401 (eval $ac_try) 2>&5
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); }; }; then
27405 eval "$as_ac_var=yes"
27407 echo "$as_me: failed program was:" >&5
27408 sed 's/^/| /' conftest.
$ac_ext >&5
27410 eval "$as_ac_var=no"
27412 rm -f conftest.err conftest.
$ac_objext \
27413 conftest
$ac_exeext conftest.
$ac_ext
27415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27417 if test `eval echo '${'$as_ac_var'}'` = yes; then
27418 cat >>confdefs.h
<<_ACEOF
27419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27427 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27428 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27430 AFMINSTALL
=afminstall
27434 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27435 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27436 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27437 echo $ECHO_N "(cached) $ECHO_C" >&6
27439 ac_check_lib_save_LIBS
=$LIBS
27441 cat >conftest.
$ac_ext <<_ACEOF
27444 cat confdefs.h
>>conftest.
$ac_ext
27445 cat >>conftest.
$ac_ext <<_ACEOF
27446 /* end confdefs.h. */
27448 /* Override any gcc2 internal prototype to avoid an error. */
27452 /* We use char because int might match the return type of a gcc2
27453 builtin and then its argument prototype would still apply. */
27454 char gdk_im_open ();
27463 rm -f conftest.
$ac_objext conftest
$ac_exeext
27464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27465 (eval $ac_link) 2>conftest.er1
27467 grep -v '^ *+' conftest.er1
>conftest.err
27469 cat conftest.err
>&5
27470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27471 (exit $ac_status); } &&
27472 { ac_try
='test -z "$ac_c_werror_flag"
27473 || test ! -s conftest.err'
27474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27475 (eval $ac_try) 2>&5
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); }; } &&
27479 { ac_try
='test -s conftest$ac_exeext'
27480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27481 (eval $ac_try) 2>&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); }; }; then
27485 ac_cv_lib_gdk_gdk_im_open
=yes
27487 echo "$as_me: failed program was:" >&5
27488 sed 's/^/| /' conftest.
$ac_ext >&5
27490 ac_cv_lib_gdk_gdk_im_open
=no
27492 rm -f conftest.err conftest.
$ac_objext \
27493 conftest
$ac_exeext conftest.
$ac_ext
27494 LIBS
=$ac_check_lib_save_LIBS
27496 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27497 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27498 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27499 cat >>confdefs.h
<<\_ACEOF
27507 if test "$wxUSE_GPE" = "yes"; then
27508 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27509 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27512 for ac_dir
in $SEARCH_LIB;
27514 for ac_extension
in a so sl dylib dll.a
; do
27515 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27516 ac_find_libraries
=$ac_dir
27522 if test "$ac_find_libraries" != "" ; then
27524 if test "$ac_find_libraries" = "default location"; then
27527 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27529 if test $result = 0; then
27532 ac_path_to_link
=" -L$ac_find_libraries"
27536 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27538 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27539 echo "${ECHO_T}found in $ac_find_libraries" >&6
27541 echo "$as_me:$LINENO: result: not found" >&5
27542 echo "${ECHO_T}not found" >&6
27548 if test "$wxUSE_MGL" = 1; then
27549 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27550 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27551 if test "x$MGL_ROOT" = x
; then
27552 echo "$as_me:$LINENO: result: not found" >&5
27553 echo "${ECHO_T}not found" >&6
27554 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27555 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27556 { (exit 1); exit 1; }; }
27558 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27559 echo "${ECHO_T}$MGL_ROOT" >&6
27562 echo "$as_me:$LINENO: checking for libmgl location" >&5
27563 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27566 if test "x$wxUSE_SHARED" = xyes
; then
27567 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27569 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27573 mgl_os_candidates
="dos32/dj2"
27576 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27577 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27578 { (exit 1); exit 1; }; }
27584 for mgl_os_i
in $mgl_os_candidates ; do
27585 if test "x$mgl_os" = x
; then
27586 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27587 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27588 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27593 if test "x$mgl_lib_type" = x
; then
27594 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27595 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27596 mgl_lib_type
=release
27603 if test "x$mgl_os" = x
; then
27604 echo "$as_me:$LINENO: result: not found" >&5
27605 echo "${ECHO_T}not found" >&6
27606 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27607 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27608 { (exit 1); exit 1; }; }
27610 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27611 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27613 wxUSE_UNIVERSAL
="yes"
27615 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27616 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27618 AFMINSTALL
=afminstall
27623 if test "$wxUSE_MICROWIN" = 1; then
27624 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27625 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27626 if test "x$MICROWINDOWS" = x
; then
27627 echo "$as_me:$LINENO: result: not found" >&5
27628 echo "${ECHO_T}not found" >&6
27629 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27630 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27631 { (exit 1); exit 1; }; }
27633 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27634 echo "${ECHO_T}$MICROWINDOWS" >&6
27637 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27638 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27639 echo "${ECHO_T}MicroWindows' libraries found." >&6
27641 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27642 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27643 { (exit 1); exit 1; }; }
27646 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27647 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27649 wxUSE_UNIVERSAL
="yes"
27651 AFMINSTALL
=afminstall
27653 GUIDIST
=MICROWIN_DIST
27655 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27658 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27659 echo "$as_me:$LINENO: checking for X" >&5
27660 echo $ECHO_N "checking for X... $ECHO_C" >&6
27663 # Check whether --with-x or --without-x was given.
27664 if test "${with_x+set}" = set; then
27668 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27669 if test "x$with_x" = xno
; then
27670 # The user explicitly disabled X.
27673 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27674 # Both variables are already set.
27677 if test "${ac_cv_have_x+set}" = set; then
27678 echo $ECHO_N "(cached) $ECHO_C" >&6
27680 # One or both of the vars are not set, and there is no cached value.
27681 ac_x_includes
=no ac_x_libraries
=no
27682 rm -fr conftest.dir
27683 if mkdir conftest.dir
; then
27685 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27686 cat >Imakefile
<<'_ACEOF'
27688 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27690 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27691 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27692 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27693 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27694 for ac_extension
in a so sl
; do
27695 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27696 test -f $ac_im_libdir/libX11.
$ac_extension; then
27697 ac_im_usrlibdir
=$ac_im_libdir; break
27700 # Screen out bogus values from the imake configuration. They are
27701 # bogus both because they are the default anyway, and because
27702 # using them would break gcc on systems where it needs fixed includes.
27703 case $ac_im_incroot in
27705 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27707 case $ac_im_usrlibdir in
27708 /usr
/lib
| /lib
) ;;
27709 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27713 rm -fr conftest.dir
27716 # Standard set of common directories for X headers.
27717 # Check X11 before X11Rn because it is often a symlink to the current release.
27729 /usr/local/X11/include
27730 /usr/local/X11R6/include
27731 /usr/local/X11R5/include
27732 /usr/local/X11R4/include
27734 /usr/local/include/X11
27735 /usr/local/include/X11R6
27736 /usr/local/include/X11R5
27737 /usr/local/include/X11R4
27741 /usr/XFree86/include/X11
27745 /usr/unsupported/include
27746 /usr/athena/include
27747 /usr/local/x11r5/include
27748 /usr/lpp/Xamples/include
27750 /usr/openwin/include
27751 /usr/openwin/share/include'
27753 if test "$ac_x_includes" = no
; then
27754 # Guess where to find include files, by looking for Intrinsic.h.
27755 # First, try using that file with no special directory specified.
27756 cat >conftest.
$ac_ext <<_ACEOF
27759 cat confdefs.h
>>conftest.
$ac_ext
27760 cat >>conftest.
$ac_ext <<_ACEOF
27761 /* end confdefs.h. */
27762 #include <X11/Intrinsic.h>
27764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27765 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27767 grep -v '^ *+' conftest.er1
>conftest.err
27769 cat conftest.err
>&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } >/dev
/null
; then
27772 if test -s conftest.err
; then
27773 ac_cpp_err
=$ac_c_preproc_warn_flag
27774 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27781 if test -z "$ac_cpp_err"; then
27782 # We can compile using X headers with no special include directory.
27785 echo "$as_me: failed program was:" >&5
27786 sed 's/^/| /' conftest.
$ac_ext >&5
27788 for ac_dir
in $ac_x_header_dirs; do
27789 if test -r "$ac_dir/X11/Intrinsic.h"; then
27790 ac_x_includes
=$ac_dir
27795 rm -f conftest.err conftest.
$ac_ext
27796 fi # $ac_x_includes = no
27798 if test "$ac_x_libraries" = no
; then
27799 # Check for the libraries.
27800 # See if we find them without any special options.
27801 # Don't add to $LIBS permanently.
27804 cat >conftest.
$ac_ext <<_ACEOF
27807 cat confdefs.h
>>conftest.
$ac_ext
27808 cat >>conftest.
$ac_ext <<_ACEOF
27809 /* end confdefs.h. */
27810 #include <X11/Intrinsic.h>
27819 rm -f conftest.
$ac_objext conftest
$ac_exeext
27820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27821 (eval $ac_link) 2>conftest.er1
27823 grep -v '^ *+' conftest.er1
>conftest.err
27825 cat conftest.err
>&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } &&
27828 { ac_try
='test -z "$ac_c_werror_flag"
27829 || test ! -s conftest.err'
27830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27831 (eval $ac_try) 2>&5
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); }; } &&
27835 { ac_try
='test -s conftest$ac_exeext'
27836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27837 (eval $ac_try) 2>&5
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27842 # We can link X programs with no special library path.
27845 echo "$as_me: failed program was:" >&5
27846 sed 's/^/| /' conftest.
$ac_ext >&5
27849 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27851 # Don't even attempt the hair of trying to link an X program!
27852 for ac_extension
in a so sl
; do
27853 if test -r $ac_dir/libXt.
$ac_extension; then
27854 ac_x_libraries
=$ac_dir
27860 rm -f conftest.err conftest.
$ac_objext \
27861 conftest
$ac_exeext conftest.
$ac_ext
27862 fi # $ac_x_libraries = no
27864 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27865 # Didn't find X anywhere. Cache the known absence of X.
27866 ac_cv_have_x
="have_x=no"
27868 # Record where we found X for the cache.
27869 ac_cv_have_x
="have_x=yes \
27870 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27875 eval "$ac_cv_have_x"
27878 if test "$have_x" != yes; then
27879 echo "$as_me:$LINENO: result: $have_x" >&5
27880 echo "${ECHO_T}$have_x" >&6
27883 # If each of the values was on the command line, it overrides each guess.
27884 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27885 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27886 # Update the cache value to reflect the command line values.
27887 ac_cv_have_x
="have_x=yes \
27888 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27889 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
27890 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27893 if test "$no_x" = yes; then
27894 # Not all programs may use this symbol, but it does not hurt to define it.
27896 cat >>confdefs.h
<<\_ACEOF
27897 #define X_DISPLAY_MISSING 1
27900 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27902 if test -n "$x_includes"; then
27903 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27906 # It would also be nice to do this for all -L options, not just this one.
27907 if test -n "$x_libraries"; then
27908 X_LIBS
="$X_LIBS -L$x_libraries"
27909 # For Solaris; some versions of Sun CC require a space after -R and
27910 # others require no space. Words are not sufficient . . . .
27911 case `(uname -sr) 2>/dev/null` in
27913 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27914 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27915 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27916 cat >conftest.
$ac_ext <<_ACEOF
27919 cat confdefs.h
>>conftest.
$ac_ext
27920 cat >>conftest.
$ac_ext <<_ACEOF
27921 /* end confdefs.h. */
27931 rm -f conftest.
$ac_objext conftest
$ac_exeext
27932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27933 (eval $ac_link) 2>conftest.er1
27935 grep -v '^ *+' conftest.er1
>conftest.err
27937 cat conftest.err
>&5
27938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939 (exit $ac_status); } &&
27940 { ac_try
='test -z "$ac_c_werror_flag"
27941 || test ! -s conftest.err'
27942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27943 (eval $ac_try) 2>&5
27945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27946 (exit $ac_status); }; } &&
27947 { ac_try
='test -s conftest$ac_exeext'
27948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27949 (eval $ac_try) 2>&5
27951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27952 (exit $ac_status); }; }; then
27955 echo "$as_me: failed program was:" >&5
27956 sed 's/^/| /' conftest.
$ac_ext >&5
27960 rm -f conftest.err conftest.
$ac_objext \
27961 conftest
$ac_exeext conftest.
$ac_ext
27962 if test $ac_R_nospace = yes; then
27963 echo "$as_me:$LINENO: result: no" >&5
27964 echo "${ECHO_T}no" >&6
27965 X_LIBS
="$X_LIBS -R$x_libraries"
27967 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27968 cat >conftest.
$ac_ext <<_ACEOF
27971 cat confdefs.h
>>conftest.
$ac_ext
27972 cat >>conftest.
$ac_ext <<_ACEOF
27973 /* end confdefs.h. */
27983 rm -f conftest.
$ac_objext conftest
$ac_exeext
27984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27985 (eval $ac_link) 2>conftest.er1
27987 grep -v '^ *+' conftest.er1
>conftest.err
27989 cat conftest.err
>&5
27990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27991 (exit $ac_status); } &&
27992 { ac_try
='test -z "$ac_c_werror_flag"
27993 || test ! -s conftest.err'
27994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27995 (eval $ac_try) 2>&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); }; } &&
27999 { ac_try
='test -s conftest$ac_exeext'
28000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28001 (eval $ac_try) 2>&5
28003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004 (exit $ac_status); }; }; then
28007 echo "$as_me: failed program was:" >&5
28008 sed 's/^/| /' conftest.
$ac_ext >&5
28012 rm -f conftest.err conftest.
$ac_objext \
28013 conftest
$ac_exeext conftest.
$ac_ext
28014 if test $ac_R_space = yes; then
28015 echo "$as_me:$LINENO: result: yes" >&5
28016 echo "${ECHO_T}yes" >&6
28017 X_LIBS
="$X_LIBS -R $x_libraries"
28019 echo "$as_me:$LINENO: result: neither works" >&5
28020 echo "${ECHO_T}neither works" >&6
28023 LIBS
=$ac_xsave_LIBS
28027 # Check for system-dependent libraries X programs must link with.
28028 # Do this before checking for the system-independent R6 libraries
28029 # (-lICE), since we may need -lsocket or whatever for X linking.
28031 if test "$ISC" = yes; then
28032 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28034 # Martyn Johnson says this is needed for Ultrix, if the X
28035 # libraries were built with DECnet support. And Karl Berry says
28036 # the Alpha needs dnet_stub (dnet does not exist).
28037 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28038 cat >conftest.
$ac_ext <<_ACEOF
28041 cat confdefs.h
>>conftest.
$ac_ext
28042 cat >>conftest.
$ac_ext <<_ACEOF
28043 /* end confdefs.h. */
28045 /* Override any gcc2 internal prototype to avoid an error. */
28049 /* We use char because int might match the return type of a gcc2
28050 builtin and then its argument prototype would still apply. */
28051 char XOpenDisplay ();
28060 rm -f conftest.
$ac_objext conftest
$ac_exeext
28061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28062 (eval $ac_link) 2>conftest.er1
28064 grep -v '^ *+' conftest.er1
>conftest.err
28066 cat conftest.err
>&5
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); } &&
28069 { ac_try
='test -z "$ac_c_werror_flag"
28070 || test ! -s conftest.err'
28071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28072 (eval $ac_try) 2>&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); }; } &&
28076 { ac_try
='test -s conftest$ac_exeext'
28077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078 (eval $ac_try) 2>&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); }; }; then
28084 echo "$as_me: failed program was:" >&5
28085 sed 's/^/| /' conftest.
$ac_ext >&5
28087 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28088 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28089 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28090 echo $ECHO_N "(cached) $ECHO_C" >&6
28092 ac_check_lib_save_LIBS
=$LIBS
28093 LIBS
="-ldnet $LIBS"
28094 cat >conftest.
$ac_ext <<_ACEOF
28097 cat confdefs.h
>>conftest.
$ac_ext
28098 cat >>conftest.
$ac_ext <<_ACEOF
28099 /* end confdefs.h. */
28101 /* Override any gcc2 internal prototype to avoid an error. */
28105 /* We use char because int might match the return type of a gcc2
28106 builtin and then its argument prototype would still apply. */
28116 rm -f conftest.
$ac_objext conftest
$ac_exeext
28117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28118 (eval $ac_link) 2>conftest.er1
28120 grep -v '^ *+' conftest.er1
>conftest.err
28122 cat conftest.err
>&5
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); } &&
28125 { ac_try
='test -z "$ac_c_werror_flag"
28126 || test ! -s conftest.err'
28127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28128 (eval $ac_try) 2>&5
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); }; } &&
28132 { ac_try
='test -s conftest$ac_exeext'
28133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28134 (eval $ac_try) 2>&5
28136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137 (exit $ac_status); }; }; then
28138 ac_cv_lib_dnet_dnet_ntoa
=yes
28140 echo "$as_me: failed program was:" >&5
28141 sed 's/^/| /' conftest.
$ac_ext >&5
28143 ac_cv_lib_dnet_dnet_ntoa
=no
28145 rm -f conftest.err conftest.
$ac_objext \
28146 conftest
$ac_exeext conftest.
$ac_ext
28147 LIBS
=$ac_check_lib_save_LIBS
28149 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28150 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28151 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28152 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28155 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28156 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28157 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28158 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28159 echo $ECHO_N "(cached) $ECHO_C" >&6
28161 ac_check_lib_save_LIBS
=$LIBS
28162 LIBS
="-ldnet_stub $LIBS"
28163 cat >conftest.
$ac_ext <<_ACEOF
28166 cat confdefs.h
>>conftest.
$ac_ext
28167 cat >>conftest.
$ac_ext <<_ACEOF
28168 /* end confdefs.h. */
28170 /* Override any gcc2 internal prototype to avoid an error. */
28174 /* We use char because int might match the return type of a gcc2
28175 builtin and then its argument prototype would still apply. */
28185 rm -f conftest.
$ac_objext conftest
$ac_exeext
28186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28187 (eval $ac_link) 2>conftest.er1
28189 grep -v '^ *+' conftest.er1
>conftest.err
28191 cat conftest.err
>&5
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); } &&
28194 { ac_try
='test -z "$ac_c_werror_flag"
28195 || test ! -s conftest.err'
28196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28197 (eval $ac_try) 2>&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); }; } &&
28201 { ac_try
='test -s conftest$ac_exeext'
28202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203 (eval $ac_try) 2>&5
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); }; }; then
28207 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28209 echo "$as_me: failed program was:" >&5
28210 sed 's/^/| /' conftest.
$ac_ext >&5
28212 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28214 rm -f conftest.err conftest.
$ac_objext \
28215 conftest
$ac_exeext conftest.
$ac_ext
28216 LIBS
=$ac_check_lib_save_LIBS
28218 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28221 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28226 rm -f conftest.err conftest.
$ac_objext \
28227 conftest
$ac_exeext conftest.
$ac_ext
28228 LIBS
="$ac_xsave_LIBS"
28230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28231 # to get the SysV transport functions.
28232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28234 # The nsl library prevents programs from opening the X display
28235 # on Irix 5.2, according to T.E. Dickey.
28236 # The functions gethostbyname, getservbyname, and inet_addr are
28237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28238 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28239 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28240 if test "${ac_cv_func_gethostbyname+set}" = set; then
28241 echo $ECHO_N "(cached) $ECHO_C" >&6
28243 cat >conftest.
$ac_ext <<_ACEOF
28246 cat confdefs.h
>>conftest.
$ac_ext
28247 cat >>conftest.
$ac_ext <<_ACEOF
28248 /* end confdefs.h. */
28249 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28251 #define gethostbyname innocuous_gethostbyname
28253 /* System header to define __stub macros and hopefully few prototypes,
28254 which can conflict with char gethostbyname (); below.
28255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28256 <limits.h> exists even on freestanding compilers. */
28259 # include <limits.h>
28261 # include <assert.h>
28264 #undef gethostbyname
28266 /* Override any gcc2 internal prototype to avoid an error. */
28271 /* We use char because int might match the return type of a gcc2
28272 builtin and then its argument prototype would still apply. */
28273 char gethostbyname ();
28274 /* The GNU C library defines this for functions which it implements
28275 to always fail with ENOSYS. Some functions are actually named
28276 something starting with __ and the normal name is an alias. */
28277 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28280 char (*f) () = gethostbyname;
28289 return f != gethostbyname;
28294 rm -f conftest.
$ac_objext conftest
$ac_exeext
28295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28296 (eval $ac_link) 2>conftest.er1
28298 grep -v '^ *+' conftest.er1
>conftest.err
28300 cat conftest.err
>&5
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); } &&
28303 { ac_try
='test -z "$ac_c_werror_flag"
28304 || test ! -s conftest.err'
28305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28306 (eval $ac_try) 2>&5
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); }; } &&
28310 { ac_try
='test -s conftest$ac_exeext'
28311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28312 (eval $ac_try) 2>&5
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); }; }; then
28316 ac_cv_func_gethostbyname
=yes
28318 echo "$as_me: failed program was:" >&5
28319 sed 's/^/| /' conftest.
$ac_ext >&5
28321 ac_cv_func_gethostbyname
=no
28323 rm -f conftest.err conftest.
$ac_objext \
28324 conftest
$ac_exeext conftest.
$ac_ext
28326 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28327 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28329 if test $ac_cv_func_gethostbyname = no
; then
28330 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28331 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28332 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28333 echo $ECHO_N "(cached) $ECHO_C" >&6
28335 ac_check_lib_save_LIBS
=$LIBS
28337 cat >conftest.
$ac_ext <<_ACEOF
28340 cat confdefs.h
>>conftest.
$ac_ext
28341 cat >>conftest.
$ac_ext <<_ACEOF
28342 /* end confdefs.h. */
28344 /* Override any gcc2 internal prototype to avoid an error. */
28348 /* We use char because int might match the return type of a gcc2
28349 builtin and then its argument prototype would still apply. */
28350 char gethostbyname ();
28359 rm -f conftest.
$ac_objext conftest
$ac_exeext
28360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28361 (eval $ac_link) 2>conftest.er1
28363 grep -v '^ *+' conftest.er1
>conftest.err
28365 cat conftest.err
>&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); } &&
28368 { ac_try
='test -z "$ac_c_werror_flag"
28369 || test ! -s conftest.err'
28370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28371 (eval $ac_try) 2>&5
28373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); }; } &&
28375 { ac_try
='test -s conftest$ac_exeext'
28376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28377 (eval $ac_try) 2>&5
28379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28380 (exit $ac_status); }; }; then
28381 ac_cv_lib_nsl_gethostbyname
=yes
28383 echo "$as_me: failed program was:" >&5
28384 sed 's/^/| /' conftest.
$ac_ext >&5
28386 ac_cv_lib_nsl_gethostbyname
=no
28388 rm -f conftest.err conftest.
$ac_objext \
28389 conftest
$ac_exeext conftest.
$ac_ext
28390 LIBS
=$ac_check_lib_save_LIBS
28392 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28393 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28394 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28395 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28398 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28399 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28400 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28401 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28402 echo $ECHO_N "(cached) $ECHO_C" >&6
28404 ac_check_lib_save_LIBS
=$LIBS
28406 cat >conftest.
$ac_ext <<_ACEOF
28409 cat confdefs.h
>>conftest.
$ac_ext
28410 cat >>conftest.
$ac_ext <<_ACEOF
28411 /* end confdefs.h. */
28413 /* Override any gcc2 internal prototype to avoid an error. */
28417 /* We use char because int might match the return type of a gcc2
28418 builtin and then its argument prototype would still apply. */
28419 char gethostbyname ();
28428 rm -f conftest.
$ac_objext conftest
$ac_exeext
28429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28430 (eval $ac_link) 2>conftest.er1
28432 grep -v '^ *+' conftest.er1
>conftest.err
28434 cat conftest.err
>&5
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); } &&
28437 { ac_try
='test -z "$ac_c_werror_flag"
28438 || test ! -s conftest.err'
28439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28440 (eval $ac_try) 2>&5
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); }; } &&
28444 { ac_try
='test -s conftest$ac_exeext'
28445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28446 (eval $ac_try) 2>&5
28448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28449 (exit $ac_status); }; }; then
28450 ac_cv_lib_bsd_gethostbyname
=yes
28452 echo "$as_me: failed program was:" >&5
28453 sed 's/^/| /' conftest.
$ac_ext >&5
28455 ac_cv_lib_bsd_gethostbyname
=no
28457 rm -f conftest.err conftest.
$ac_objext \
28458 conftest
$ac_exeext conftest.
$ac_ext
28459 LIBS
=$ac_check_lib_save_LIBS
28461 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28462 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28463 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28464 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28470 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28471 # socket/setsockopt and other routines are undefined under SCO ODT
28472 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28473 # on later versions), says Simon Leinen: it contains gethostby*
28474 # variants that don't use the name server (or something). -lsocket
28475 # must be given before -lnsl if both are needed. We assume that
28476 # if connect needs -lnsl, so does gethostbyname.
28477 echo "$as_me:$LINENO: checking for connect" >&5
28478 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28479 if test "${ac_cv_func_connect+set}" = set; then
28480 echo $ECHO_N "(cached) $ECHO_C" >&6
28482 cat >conftest.
$ac_ext <<_ACEOF
28485 cat confdefs.h
>>conftest.
$ac_ext
28486 cat >>conftest.
$ac_ext <<_ACEOF
28487 /* end confdefs.h. */
28488 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28490 #define connect innocuous_connect
28492 /* System header to define __stub macros and hopefully few prototypes,
28493 which can conflict with char connect (); below.
28494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28495 <limits.h> exists even on freestanding compilers. */
28498 # include <limits.h>
28500 # include <assert.h>
28505 /* Override any gcc2 internal prototype to avoid an error. */
28510 /* We use char because int might match the return type of a gcc2
28511 builtin and then its argument prototype would still apply. */
28513 /* The GNU C library defines this for functions which it implements
28514 to always fail with ENOSYS. Some functions are actually named
28515 something starting with __ and the normal name is an alias. */
28516 #if defined (__stub_connect) || defined (__stub___connect)
28519 char (*f) () = connect;
28528 return f != connect;
28533 rm -f conftest.
$ac_objext conftest
$ac_exeext
28534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28535 (eval $ac_link) 2>conftest.er1
28537 grep -v '^ *+' conftest.er1
>conftest.err
28539 cat conftest.err
>&5
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); } &&
28542 { ac_try
='test -z "$ac_c_werror_flag"
28543 || test ! -s conftest.err'
28544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28545 (eval $ac_try) 2>&5
28547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28548 (exit $ac_status); }; } &&
28549 { ac_try
='test -s conftest$ac_exeext'
28550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28551 (eval $ac_try) 2>&5
28553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554 (exit $ac_status); }; }; then
28555 ac_cv_func_connect
=yes
28557 echo "$as_me: failed program was:" >&5
28558 sed 's/^/| /' conftest.
$ac_ext >&5
28560 ac_cv_func_connect
=no
28562 rm -f conftest.err conftest.
$ac_objext \
28563 conftest
$ac_exeext conftest.
$ac_ext
28565 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28566 echo "${ECHO_T}$ac_cv_func_connect" >&6
28568 if test $ac_cv_func_connect = no
; then
28569 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28570 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28571 if test "${ac_cv_lib_socket_connect+set}" = set; then
28572 echo $ECHO_N "(cached) $ECHO_C" >&6
28574 ac_check_lib_save_LIBS
=$LIBS
28575 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28576 cat >conftest.
$ac_ext <<_ACEOF
28579 cat confdefs.h
>>conftest.
$ac_ext
28580 cat >>conftest.
$ac_ext <<_ACEOF
28581 /* end confdefs.h. */
28583 /* Override any gcc2 internal prototype to avoid an error. */
28587 /* We use char because int might match the return type of a gcc2
28588 builtin and then its argument prototype would still apply. */
28598 rm -f conftest.
$ac_objext conftest
$ac_exeext
28599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28600 (eval $ac_link) 2>conftest.er1
28602 grep -v '^ *+' conftest.er1
>conftest.err
28604 cat conftest.err
>&5
28605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606 (exit $ac_status); } &&
28607 { ac_try
='test -z "$ac_c_werror_flag"
28608 || test ! -s conftest.err'
28609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28610 (eval $ac_try) 2>&5
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); }; } &&
28614 { ac_try
='test -s conftest$ac_exeext'
28615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616 (eval $ac_try) 2>&5
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); }; }; then
28620 ac_cv_lib_socket_connect
=yes
28622 echo "$as_me: failed program was:" >&5
28623 sed 's/^/| /' conftest.
$ac_ext >&5
28625 ac_cv_lib_socket_connect
=no
28627 rm -f conftest.err conftest.
$ac_objext \
28628 conftest
$ac_exeext conftest.
$ac_ext
28629 LIBS
=$ac_check_lib_save_LIBS
28631 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28632 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28633 if test $ac_cv_lib_socket_connect = yes; then
28634 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28639 # Guillermo Gomez says -lposix is necessary on A/UX.
28640 echo "$as_me:$LINENO: checking for remove" >&5
28641 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28642 if test "${ac_cv_func_remove+set}" = set; then
28643 echo $ECHO_N "(cached) $ECHO_C" >&6
28645 cat >conftest.
$ac_ext <<_ACEOF
28648 cat confdefs.h
>>conftest.
$ac_ext
28649 cat >>conftest.
$ac_ext <<_ACEOF
28650 /* end confdefs.h. */
28651 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28653 #define remove innocuous_remove
28655 /* System header to define __stub macros and hopefully few prototypes,
28656 which can conflict with char remove (); below.
28657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28658 <limits.h> exists even on freestanding compilers. */
28661 # include <limits.h>
28663 # include <assert.h>
28668 /* Override any gcc2 internal prototype to avoid an error. */
28673 /* We use char because int might match the return type of a gcc2
28674 builtin and then its argument prototype would still apply. */
28676 /* The GNU C library defines this for functions which it implements
28677 to always fail with ENOSYS. Some functions are actually named
28678 something starting with __ and the normal name is an alias. */
28679 #if defined (__stub_remove) || defined (__stub___remove)
28682 char (*f) () = remove;
28691 return f != remove;
28696 rm -f conftest.
$ac_objext conftest
$ac_exeext
28697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28698 (eval $ac_link) 2>conftest.er1
28700 grep -v '^ *+' conftest.er1
>conftest.err
28702 cat conftest.err
>&5
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); } &&
28705 { ac_try
='test -z "$ac_c_werror_flag"
28706 || test ! -s conftest.err'
28707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28708 (eval $ac_try) 2>&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); }; } &&
28712 { ac_try
='test -s conftest$ac_exeext'
28713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28714 (eval $ac_try) 2>&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); }; }; then
28718 ac_cv_func_remove
=yes
28720 echo "$as_me: failed program was:" >&5
28721 sed 's/^/| /' conftest.
$ac_ext >&5
28723 ac_cv_func_remove
=no
28725 rm -f conftest.err conftest.
$ac_objext \
28726 conftest
$ac_exeext conftest.
$ac_ext
28728 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28729 echo "${ECHO_T}$ac_cv_func_remove" >&6
28731 if test $ac_cv_func_remove = no
; then
28732 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28733 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28734 if test "${ac_cv_lib_posix_remove+set}" = set; then
28735 echo $ECHO_N "(cached) $ECHO_C" >&6
28737 ac_check_lib_save_LIBS
=$LIBS
28738 LIBS
="-lposix $LIBS"
28739 cat >conftest.
$ac_ext <<_ACEOF
28742 cat confdefs.h
>>conftest.
$ac_ext
28743 cat >>conftest.
$ac_ext <<_ACEOF
28744 /* end confdefs.h. */
28746 /* Override any gcc2 internal prototype to avoid an error. */
28750 /* We use char because int might match the return type of a gcc2
28751 builtin and then its argument prototype would still apply. */
28761 rm -f conftest.
$ac_objext conftest
$ac_exeext
28762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28763 (eval $ac_link) 2>conftest.er1
28765 grep -v '^ *+' conftest.er1
>conftest.err
28767 cat conftest.err
>&5
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); } &&
28770 { ac_try
='test -z "$ac_c_werror_flag"
28771 || test ! -s conftest.err'
28772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773 (eval $ac_try) 2>&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); }; } &&
28777 { ac_try
='test -s conftest$ac_exeext'
28778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28779 (eval $ac_try) 2>&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); }; }; then
28783 ac_cv_lib_posix_remove
=yes
28785 echo "$as_me: failed program was:" >&5
28786 sed 's/^/| /' conftest.
$ac_ext >&5
28788 ac_cv_lib_posix_remove
=no
28790 rm -f conftest.err conftest.
$ac_objext \
28791 conftest
$ac_exeext conftest.
$ac_ext
28792 LIBS
=$ac_check_lib_save_LIBS
28794 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28795 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28796 if test $ac_cv_lib_posix_remove = yes; then
28797 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28802 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28803 echo "$as_me:$LINENO: checking for shmat" >&5
28804 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28805 if test "${ac_cv_func_shmat+set}" = set; then
28806 echo $ECHO_N "(cached) $ECHO_C" >&6
28808 cat >conftest.
$ac_ext <<_ACEOF
28811 cat confdefs.h
>>conftest.
$ac_ext
28812 cat >>conftest.
$ac_ext <<_ACEOF
28813 /* end confdefs.h. */
28814 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28816 #define shmat innocuous_shmat
28818 /* System header to define __stub macros and hopefully few prototypes,
28819 which can conflict with char shmat (); below.
28820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28821 <limits.h> exists even on freestanding compilers. */
28824 # include <limits.h>
28826 # include <assert.h>
28831 /* Override any gcc2 internal prototype to avoid an error. */
28836 /* We use char because int might match the return type of a gcc2
28837 builtin and then its argument prototype would still apply. */
28839 /* The GNU C library defines this for functions which it implements
28840 to always fail with ENOSYS. Some functions are actually named
28841 something starting with __ and the normal name is an alias. */
28842 #if defined (__stub_shmat) || defined (__stub___shmat)
28845 char (*f) () = shmat;
28859 rm -f conftest.
$ac_objext conftest
$ac_exeext
28860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28861 (eval $ac_link) 2>conftest.er1
28863 grep -v '^ *+' conftest.er1
>conftest.err
28865 cat conftest.err
>&5
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); } &&
28868 { ac_try
='test -z "$ac_c_werror_flag"
28869 || test ! -s conftest.err'
28870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28871 (eval $ac_try) 2>&5
28873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874 (exit $ac_status); }; } &&
28875 { ac_try
='test -s conftest$ac_exeext'
28876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28877 (eval $ac_try) 2>&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); }; }; then
28881 ac_cv_func_shmat
=yes
28883 echo "$as_me: failed program was:" >&5
28884 sed 's/^/| /' conftest.
$ac_ext >&5
28886 ac_cv_func_shmat
=no
28888 rm -f conftest.err conftest.
$ac_objext \
28889 conftest
$ac_exeext conftest.
$ac_ext
28891 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28892 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28894 if test $ac_cv_func_shmat = no
; then
28895 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28896 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28897 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28898 echo $ECHO_N "(cached) $ECHO_C" >&6
28900 ac_check_lib_save_LIBS
=$LIBS
28902 cat >conftest.
$ac_ext <<_ACEOF
28905 cat confdefs.h
>>conftest.
$ac_ext
28906 cat >>conftest.
$ac_ext <<_ACEOF
28907 /* end confdefs.h. */
28909 /* Override any gcc2 internal prototype to avoid an error. */
28913 /* We use char because int might match the return type of a gcc2
28914 builtin and then its argument prototype would still apply. */
28924 rm -f conftest.
$ac_objext conftest
$ac_exeext
28925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28926 (eval $ac_link) 2>conftest.er1
28928 grep -v '^ *+' conftest.er1
>conftest.err
28930 cat conftest.err
>&5
28931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 (exit $ac_status); } &&
28933 { ac_try
='test -z "$ac_c_werror_flag"
28934 || test ! -s conftest.err'
28935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28936 (eval $ac_try) 2>&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); }; } &&
28940 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
28946 ac_cv_lib_ipc_shmat
=yes
28948 echo "$as_me: failed program was:" >&5
28949 sed 's/^/| /' conftest.
$ac_ext >&5
28951 ac_cv_lib_ipc_shmat
=no
28953 rm -f conftest.err conftest.
$ac_objext \
28954 conftest
$ac_exeext conftest.
$ac_ext
28955 LIBS
=$ac_check_lib_save_LIBS
28957 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28958 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28959 if test $ac_cv_lib_ipc_shmat = yes; then
28960 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28966 # Check for libraries that X11R6 Xt/Xaw programs need.
28967 ac_save_LDFLAGS
=$LDFLAGS
28968 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28969 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28970 # check for ICE first), but we must link in the order -lSM -lICE or
28971 # we get undefined symbols. So assume we have SM if we have ICE.
28972 # These have to be linked with before -lX11, unlike the other
28973 # libraries we check for below, so use a different variable.
28974 # John Interrante, Karl Berry
28975 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28976 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28977 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28978 echo $ECHO_N "(cached) $ECHO_C" >&6
28980 ac_check_lib_save_LIBS
=$LIBS
28981 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28982 cat >conftest.
$ac_ext <<_ACEOF
28985 cat confdefs.h
>>conftest.
$ac_ext
28986 cat >>conftest.
$ac_ext <<_ACEOF
28987 /* end confdefs.h. */
28989 /* Override any gcc2 internal prototype to avoid an error. */
28993 /* We use char because int might match the return type of a gcc2
28994 builtin and then its argument prototype would still apply. */
28995 char IceConnectionNumber ();
28999 IceConnectionNumber ();
29004 rm -f conftest.
$ac_objext conftest
$ac_exeext
29005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29006 (eval $ac_link) 2>conftest.er1
29008 grep -v '^ *+' conftest.er1
>conftest.err
29010 cat conftest.err
>&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } &&
29013 { ac_try
='test -z "$ac_c_werror_flag"
29014 || test ! -s conftest.err'
29015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29016 (eval $ac_try) 2>&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); }; } &&
29020 { ac_try
='test -s conftest$ac_exeext'
29021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29022 (eval $ac_try) 2>&5
29024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29025 (exit $ac_status); }; }; then
29026 ac_cv_lib_ICE_IceConnectionNumber
=yes
29028 echo "$as_me: failed program was:" >&5
29029 sed 's/^/| /' conftest.
$ac_ext >&5
29031 ac_cv_lib_ICE_IceConnectionNumber
=no
29033 rm -f conftest.err conftest.
$ac_objext \
29034 conftest
$ac_exeext conftest.
$ac_ext
29035 LIBS
=$ac_check_lib_save_LIBS
29037 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29038 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29039 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29040 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29043 LDFLAGS
=$ac_save_LDFLAGS
29048 if test "$no_x" = "yes"; then
29049 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29050 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29051 { (exit 1); exit 1; }; }
29054 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29055 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29056 AFMINSTALL
=afminstall
29057 COMPILED_X_PROGRAM
=0
29061 if test "$wxUSE_X11" = 1; then
29062 if test "$wxUSE_NANOX" = "yes"; then
29063 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29064 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29065 if test "x$MICROWIN" = x
; then
29066 echo "$as_me:$LINENO: result: not found" >&5
29067 echo "${ECHO_T}not found" >&6
29068 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29069 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29070 { (exit 1); exit 1; }; }
29072 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29073 echo "${ECHO_T}$MICROWIN" >&6
29074 cat >>confdefs.h
<<\_ACEOF
29075 #define wxUSE_NANOX 1
29081 if test "$wxUSE_UNICODE" = "yes"; then
29085 if test -z "$PKG_CONFIG"; then
29086 # Extract the first word of "pkg-config", so it can be a program name with args.
29087 set dummy pkg
-config; ac_word
=$2
29088 echo "$as_me:$LINENO: checking for $ac_word" >&5
29089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29090 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29091 echo $ECHO_N "(cached) $ECHO_C" >&6
29093 case $PKG_CONFIG in
29095 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29099 for as_dir
in $PATH
29102 test -z "$as_dir" && as_dir
=.
29103 for ac_exec_ext
in '' $ac_executable_extensions; do
29104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29105 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29112 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29116 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29118 if test -n "$PKG_CONFIG"; then
29119 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29120 echo "${ECHO_T}$PKG_CONFIG" >&6
29122 echo "$as_me:$LINENO: result: no" >&5
29123 echo "${ECHO_T}no" >&6
29128 if test "$PKG_CONFIG" = "no" ; then
29129 echo "*** The pkg-config script could not be found. Make sure it is"
29130 echo "*** in your path, or set the PKG_CONFIG environment variable"
29131 echo "*** to the full path to pkg-config."
29132 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29134 PKG_CONFIG_MIN_VERSION
=0.9.0
29135 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29136 echo "$as_me:$LINENO: checking for pangox" >&5
29137 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29139 if $PKG_CONFIG --exists "pangox" ; then
29140 echo "$as_me:$LINENO: result: yes" >&5
29141 echo "${ECHO_T}yes" >&6
29144 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29145 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29146 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29147 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29148 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29150 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29151 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29152 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29153 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29154 echo "${ECHO_T}$PANGOX_LIBS" >&6
29158 ## If we have a custom action on failure, don't print errors, but
29159 ## do set a variable so people can do so.
29160 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29167 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29168 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29172 if test $succeeded = yes; then
29174 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29175 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29179 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29180 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29181 { (exit 1); exit 1; }; }
29189 if test -z "$PKG_CONFIG"; then
29190 # Extract the first word of "pkg-config", so it can be a program name with args.
29191 set dummy pkg
-config; ac_word
=$2
29192 echo "$as_me:$LINENO: checking for $ac_word" >&5
29193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29194 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29195 echo $ECHO_N "(cached) $ECHO_C" >&6
29197 case $PKG_CONFIG in
29199 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29203 for as_dir
in $PATH
29206 test -z "$as_dir" && as_dir
=.
29207 for ac_exec_ext
in '' $ac_executable_extensions; do
29208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29209 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29216 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29220 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29222 if test -n "$PKG_CONFIG"; then
29223 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29224 echo "${ECHO_T}$PKG_CONFIG" >&6
29226 echo "$as_me:$LINENO: result: no" >&5
29227 echo "${ECHO_T}no" >&6
29232 if test "$PKG_CONFIG" = "no" ; then
29233 echo "*** The pkg-config script could not be found. Make sure it is"
29234 echo "*** in your path, or set the PKG_CONFIG environment variable"
29235 echo "*** to the full path to pkg-config."
29236 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29238 PKG_CONFIG_MIN_VERSION
=0.9.0
29239 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29240 echo "$as_me:$LINENO: checking for pangoft2" >&5
29241 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29243 if $PKG_CONFIG --exists "pangoft2" ; then
29244 echo "$as_me:$LINENO: result: yes" >&5
29245 echo "${ECHO_T}yes" >&6
29248 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29249 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29250 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29251 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29252 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29254 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29255 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29256 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29257 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29258 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29262 ## If we have a custom action on failure, don't print errors, but
29263 ## do set a variable so people can do so.
29264 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29271 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29272 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29276 if test $succeeded = yes; then
29278 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29279 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29283 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29284 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29285 wxUSE_PRINTING_ARCHITECTURE
="no"
29293 if test -z "$PKG_CONFIG"; then
29294 # Extract the first word of "pkg-config", so it can be a program name with args.
29295 set dummy pkg
-config; ac_word
=$2
29296 echo "$as_me:$LINENO: checking for $ac_word" >&5
29297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29298 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29299 echo $ECHO_N "(cached) $ECHO_C" >&6
29301 case $PKG_CONFIG in
29303 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29307 for as_dir
in $PATH
29310 test -z "$as_dir" && as_dir
=.
29311 for ac_exec_ext
in '' $ac_executable_extensions; do
29312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29313 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29320 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29324 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29326 if test -n "$PKG_CONFIG"; then
29327 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29328 echo "${ECHO_T}$PKG_CONFIG" >&6
29330 echo "$as_me:$LINENO: result: no" >&5
29331 echo "${ECHO_T}no" >&6
29336 if test "$PKG_CONFIG" = "no" ; then
29337 echo "*** The pkg-config script could not be found. Make sure it is"
29338 echo "*** in your path, or set the PKG_CONFIG environment variable"
29339 echo "*** to the full path to pkg-config."
29340 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29342 PKG_CONFIG_MIN_VERSION
=0.9.0
29343 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29344 echo "$as_me:$LINENO: checking for pangoxft" >&5
29345 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29347 if $PKG_CONFIG --exists "pangoxft" ; then
29348 echo "$as_me:$LINENO: result: yes" >&5
29349 echo "${ECHO_T}yes" >&6
29352 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29353 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29354 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29355 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29356 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29358 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29359 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29360 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29361 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29362 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29366 ## If we have a custom action on failure, don't print errors, but
29367 ## do set a variable so people can do so.
29368 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29375 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29376 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29380 if test $succeeded = yes; then
29382 cat >>confdefs.h
<<\_ACEOF
29383 #define HAVE_PANGO_XFT 1
29386 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29387 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29391 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29392 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29397 save_CFLAGS
="$CFLAGS"
29399 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
29400 LIBS
="$LIBS $PANGOX_LIBS"
29402 for ac_func
in pango_font_family_is_monospace
29404 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29405 echo "$as_me:$LINENO: checking for $ac_func" >&5
29406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29407 if eval "test \"\${$as_ac_var+set}\" = set"; then
29408 echo $ECHO_N "(cached) $ECHO_C" >&6
29410 cat >conftest.
$ac_ext <<_ACEOF
29413 cat confdefs.h
>>conftest.
$ac_ext
29414 cat >>conftest.
$ac_ext <<_ACEOF
29415 /* end confdefs.h. */
29416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29418 #define $ac_func innocuous_$ac_func
29420 /* System header to define __stub macros and hopefully few prototypes,
29421 which can conflict with char $ac_func (); below.
29422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29423 <limits.h> exists even on freestanding compilers. */
29426 # include <limits.h>
29428 # include <assert.h>
29433 /* Override any gcc2 internal prototype to avoid an error. */
29438 /* We use char because int might match the return type of a gcc2
29439 builtin and then its argument prototype would still apply. */
29441 /* The GNU C library defines this for functions which it implements
29442 to always fail with ENOSYS. Some functions are actually named
29443 something starting with __ and the normal name is an alias. */
29444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29447 char (*f) () = $ac_func;
29456 return f != $ac_func;
29461 rm -f conftest.
$ac_objext conftest
$ac_exeext
29462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29463 (eval $ac_link) 2>conftest.er1
29465 grep -v '^ *+' conftest.er1
>conftest.err
29467 cat conftest.err
>&5
29468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29469 (exit $ac_status); } &&
29470 { ac_try
='test -z "$ac_c_werror_flag"
29471 || test ! -s conftest.err'
29472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29473 (eval $ac_try) 2>&5
29475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476 (exit $ac_status); }; } &&
29477 { ac_try
='test -s conftest$ac_exeext'
29478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29479 (eval $ac_try) 2>&5
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); }; }; then
29483 eval "$as_ac_var=yes"
29485 echo "$as_me: failed program was:" >&5
29486 sed 's/^/| /' conftest.
$ac_ext >&5
29488 eval "$as_ac_var=no"
29490 rm -f conftest.err conftest.
$ac_objext \
29491 conftest
$ac_exeext conftest.
$ac_ext
29493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29495 if test `eval echo '${'$as_ac_var'}'` = yes; then
29496 cat >>confdefs.h
<<_ACEOF
29497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29503 CFLAGS
="$save_CFLAGS"
29507 wxUSE_UNIVERSAL
="yes"
29509 if test "$wxUSE_NANOX" = "yes"; then
29510 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29511 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"
29512 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29514 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29521 if test "$wxUSE_MOTIF" = 1; then
29522 if test "$wxUSE_UNICODE" = "yes"; then
29523 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29524 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29525 { (exit 1); exit 1; }; }
29528 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29529 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29532 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29534 if test -f "$ac_dir/Xm/Xm.h"; then
29535 ac_find_includes
=$ac_dir
29540 if test "$ac_find_includes" != "" ; then
29541 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29542 echo "${ECHO_T}found in $ac_find_includes" >&6
29544 if test "x$ac_find_includes" = "x/usr/include"; then
29545 ac_path_to_include
=""
29547 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29549 if test $result = 0; then
29550 ac_path_to_include
=""
29552 ac_path_to_include
=" -I$ac_find_includes"
29556 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29558 save_CFLAGS
=$CFLAGS
29559 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29561 cat >conftest.
$ac_ext <<_ACEOF
29564 cat confdefs.h
>>conftest.
$ac_ext
29565 cat >>conftest.
$ac_ext <<_ACEOF
29566 /* end confdefs.h. */
29575 version = xmUseVersion;
29581 rm -f conftest.
$ac_objext
29582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29583 (eval $ac_compile) 2>conftest.er1
29585 grep -v '^ *+' conftest.er1
>conftest.err
29587 cat conftest.err
>&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); } &&
29590 { ac_try
='test -z "$ac_c_werror_flag"
29591 || test ! -s conftest.err'
29592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29593 (eval $ac_try) 2>&5
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); }; } &&
29597 { ac_try
='test -s conftest.$ac_objext'
29598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29599 (eval $ac_try) 2>&5
29601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602 (exit $ac_status); }; }; then
29604 echo "$as_me:$LINENO: result: found in default search path" >&5
29605 echo "${ECHO_T}found in default search path" >&6
29606 COMPILED_X_PROGRAM
=1
29609 echo "$as_me: failed program was:" >&5
29610 sed 's/^/| /' conftest.
$ac_ext >&5
29613 echo "$as_me:$LINENO: result: no" >&5
29614 echo "${ECHO_T}no" >&6
29615 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29616 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29617 { (exit 1); exit 1; }; }
29621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29623 CFLAGS
=$save_CFLAGS
29627 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29628 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29631 for ac_dir
in $SEARCH_LIB;
29633 for ac_extension
in a so sl dylib dll.a
; do
29634 if test -f "$ac_dir/libXm.$ac_extension"; then
29635 ac_find_libraries
=$ac_dir
29642 if test "x$ac_find_libraries" != "x" ; then
29643 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29644 echo "${ECHO_T}found in $ac_find_libraries" >&6
29647 if test "$ac_find_libraries" = "default location"; then
29650 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29652 if test $result = 0; then
29655 ac_path_to_link
=" -L$ac_find_libraries"
29659 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29661 save_CFLAGS
=$CFLAGS
29662 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29664 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29666 cat >conftest.
$ac_ext <<_ACEOF
29669 cat confdefs.h
>>conftest.
$ac_ext
29670 cat >>conftest.
$ac_ext <<_ACEOF
29671 /* end confdefs.h. */
29680 version = xmUseVersion;
29686 rm -f conftest.
$ac_objext conftest
$ac_exeext
29687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29688 (eval $ac_link) 2>conftest.er1
29690 grep -v '^ *+' conftest.er1
>conftest.err
29692 cat conftest.err
>&5
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); } &&
29695 { ac_try
='test -z "$ac_c_werror_flag"
29696 || test ! -s conftest.err'
29697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29698 (eval $ac_try) 2>&5
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); }; } &&
29702 { ac_try
='test -s conftest$ac_exeext'
29703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29704 (eval $ac_try) 2>&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); }; }; then
29709 echo "$as_me:$LINENO: result: found in default search path" >&5
29710 echo "${ECHO_T}found in default search path" >&6
29711 COMPILED_X_PROGRAM
=1
29714 echo "$as_me: failed program was:" >&5
29715 sed 's/^/| /' conftest.
$ac_ext >&5
29718 echo "$as_me:$LINENO: result: no" >&5
29719 echo "${ECHO_T}no" >&6
29720 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29721 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29722 { (exit 1); exit 1; }; }
29726 rm -f conftest.err conftest.
$ac_objext \
29727 conftest
$ac_exeext conftest.
$ac_ext
29729 CFLAGS
=$save_CFLAGS
29733 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29734 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29738 for libp
in "" " -lXp"; do
29739 if test "$libs_found" = "0"; then
29740 for libsm_ice
in "" " -lSM -lICE"; do
29741 if test "$libs_found" = "0"; then
29743 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29744 save_CFLAGS
=$CFLAGS
29745 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29747 cat >conftest.
$ac_ext <<_ACEOF
29750 cat confdefs.h
>>conftest.
$ac_ext
29751 cat >>conftest.
$ac_ext <<_ACEOF
29752 /* end confdefs.h. */
29755 #include <Xm/List.h>
29761 XmString string = NULL;
29764 XmListAddItem(w, string, position);
29770 rm -f conftest.
$ac_objext conftest
$ac_exeext
29771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29772 (eval $ac_link) 2>conftest.er1
29774 grep -v '^ *+' conftest.er1
>conftest.err
29776 cat conftest.err
>&5
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); } &&
29779 { ac_try
='test -z "$ac_c_werror_flag"
29780 || test ! -s conftest.err'
29781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29782 (eval $ac_try) 2>&5
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); }; } &&
29786 { ac_try
='test -s conftest$ac_exeext'
29787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29788 (eval $ac_try) 2>&5
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); }; }; then
29794 libsm_ice_link
="$libsm_ice"
29795 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29796 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29800 echo "$as_me: failed program was:" >&5
29801 sed 's/^/| /' conftest.
$ac_ext >&5
29806 rm -f conftest.err conftest.
$ac_objext \
29807 conftest
$ac_exeext conftest.
$ac_ext
29810 CFLAGS
=$save_CFLAGS
29816 if test "$libs_found" = "0"; then
29817 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29818 echo "${ECHO_T}can't find the right libraries" >&6
29819 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29820 echo "$as_me: error: can't link a simple motif program" >&2;}
29821 { (exit 1); exit 1; }; }
29824 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29825 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29826 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29827 echo $ECHO_N "(cached) $ECHO_C" >&6
29829 ac_check_lib_save_LIBS
=$LIBS
29831 cat >conftest.
$ac_ext <<_ACEOF
29834 cat confdefs.h
>>conftest.
$ac_ext
29835 cat >>conftest.
$ac_ext <<_ACEOF
29836 /* end confdefs.h. */
29838 /* Override any gcc2 internal prototype to avoid an error. */
29842 /* We use char because int might match the return type of a gcc2
29843 builtin and then its argument prototype would still apply. */
29844 char SgCreateList ();
29853 rm -f conftest.
$ac_objext conftest
$ac_exeext
29854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29855 (eval $ac_link) 2>conftest.er1
29857 grep -v '^ *+' conftest.er1
>conftest.err
29859 cat conftest.err
>&5
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); } &&
29862 { ac_try
='test -z "$ac_c_werror_flag"
29863 || test ! -s conftest.err'
29864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29865 (eval $ac_try) 2>&5
29867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29868 (exit $ac_status); }; } &&
29869 { ac_try
='test -s conftest$ac_exeext'
29870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29871 (eval $ac_try) 2>&5
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); }; }; then
29875 ac_cv_lib_Sgm_SgCreateList
=yes
29877 echo "$as_me: failed program was:" >&5
29878 sed 's/^/| /' conftest.
$ac_ext >&5
29880 ac_cv_lib_Sgm_SgCreateList
=no
29882 rm -f conftest.err conftest.
$ac_objext \
29883 conftest
$ac_exeext conftest.
$ac_ext
29884 LIBS
=$ac_check_lib_save_LIBS
29886 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29887 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29888 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29889 libsgm_link
=" -lSgm"
29893 save_CFLAGS
=$CFLAGS
29894 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29896 echo "$as_me:$LINENO: checking for Motif 2" >&5
29897 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29898 if test "${wx_cv_lib_motif2+set}" = set; then
29899 echo $ECHO_N "(cached) $ECHO_C" >&6
29901 cat >conftest.
$ac_ext <<_ACEOF
29904 cat confdefs.h
>>conftest.
$ac_ext
29905 cat >>conftest.
$ac_ext <<_ACEOF
29906 /* end confdefs.h. */
29914 #if XmVersion < 2000
29922 rm -f conftest.
$ac_objext
29923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29924 (eval $ac_compile) 2>conftest.er1
29926 grep -v '^ *+' conftest.er1
>conftest.err
29928 cat conftest.err
>&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); } &&
29931 { ac_try
='test -z "$ac_c_werror_flag"
29932 || test ! -s conftest.err'
29933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29934 (eval $ac_try) 2>&5
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); }; } &&
29938 { ac_try
='test -s conftest.$ac_objext'
29939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29940 (eval $ac_try) 2>&5
29942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29943 (exit $ac_status); }; }; then
29944 wx_cv_lib_motif2
="yes"
29946 echo "$as_me: failed program was:" >&5
29947 sed 's/^/| /' conftest.
$ac_ext >&5
29949 wx_cv_lib_motif2
="no"
29951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29953 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29954 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29955 if test "$wx_cv_lib_motif2" = "yes"; then
29956 cat >>confdefs.h
<<\_ACEOF
29957 #define __WXMOTIF20__ 1
29961 cat >>confdefs.h
<<\_ACEOF
29962 #define __WXMOTIF20__ 0
29967 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29968 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29969 if test "${wx_cv_lib_lesstif+set}" = set; then
29970 echo $ECHO_N "(cached) $ECHO_C" >&6
29972 cat >conftest.
$ac_ext <<_ACEOF
29975 cat confdefs.h
>>conftest.
$ac_ext
29976 cat >>conftest.
$ac_ext <<_ACEOF
29977 /* end confdefs.h. */
29985 #if !defined(LesstifVersion) || LesstifVersion <= 0
29993 rm -f conftest.
$ac_objext
29994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29995 (eval $ac_compile) 2>conftest.er1
29997 grep -v '^ *+' conftest.er1
>conftest.err
29999 cat conftest.err
>&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } &&
30002 { ac_try
='test -z "$ac_c_werror_flag"
30003 || test ! -s conftest.err'
30004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30005 (eval $ac_try) 2>&5
30007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 (exit $ac_status); }; } &&
30009 { ac_try
='test -s conftest.$ac_objext'
30010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30011 (eval $ac_try) 2>&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); }; }; then
30015 wx_cv_lib_lesstif
="yes"
30017 echo "$as_me: failed program was:" >&5
30018 sed 's/^/| /' conftest.
$ac_ext >&5
30020 wx_cv_lib_lesstif
="no"
30022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30025 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30026 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30027 if test "$wx_cv_lib_lesstif" = "yes"; then
30028 cat >>confdefs.h
<<\_ACEOF
30029 #define __WXLESSTIF__ 1
30033 cat >>confdefs.h
<<\_ACEOF
30034 #define __WXLESSTIF__ 0
30039 CFLAGS
=$save_CFLAGS
30041 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30046 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30047 if test "$wxUSE_LIBXPM" = "sys"; then
30048 echo "$as_me:$LINENO: checking for Xpm library" >&5
30049 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30052 for ac_dir
in $SEARCH_LIB;
30054 for ac_extension
in a so sl dylib dll.a
; do
30055 if test -f "$ac_dir/libXpm.$ac_extension"; then
30056 ac_find_libraries
=$ac_dir
30062 if test "$ac_find_libraries" != "" ; then
30064 if test "$ac_find_libraries" = "default location"; then
30067 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30069 if test $result = 0; then
30072 ac_path_to_link
=" -L$ac_find_libraries"
30076 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30077 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30078 echo "${ECHO_T}found in $ac_find_libraries" >&6
30080 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30081 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30082 if test "${wx_cv_x11_xpm_h+set}" = set; then
30083 echo $ECHO_N "(cached) $ECHO_C" >&6
30086 save_CFLAGS
=$CFLAGS
30087 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30089 cat >conftest.
$ac_ext <<_ACEOF
30092 cat confdefs.h
>>conftest.
$ac_ext
30093 cat >>conftest.
$ac_ext <<_ACEOF
30094 /* end confdefs.h. */
30096 #include <X11/xpm.h>
30103 version = XpmLibraryVersion();
30109 rm -f conftest.
$ac_objext
30110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30111 (eval $ac_compile) 2>conftest.er1
30113 grep -v '^ *+' conftest.er1
>conftest.err
30115 cat conftest.err
>&5
30116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30117 (exit $ac_status); } &&
30118 { ac_try
='test -z "$ac_c_werror_flag"
30119 || test ! -s conftest.err'
30120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30121 (eval $ac_try) 2>&5
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); }; } &&
30125 { ac_try
='test -s conftest.$ac_objext'
30126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30127 (eval $ac_try) 2>&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); }; }; then
30131 wx_cv_x11_xpm_h
=yes
30133 echo "$as_me: failed program was:" >&5
30134 sed 's/^/| /' conftest.
$ac_ext >&5
30139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30141 CFLAGS
=$save_CFLAGS
30145 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30146 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30148 if test $wx_cv_x11_xpm_h = "yes"; then
30149 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30150 cat >>confdefs.h
<<\_ACEOF
30151 #define wxHAVE_LIB_XPM 1
30155 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30156 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30162 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30163 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30164 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30165 echo $ECHO_N "(cached) $ECHO_C" >&6
30167 ac_check_lib_save_LIBS
=$LIBS
30168 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30169 cat >conftest.
$ac_ext <<_ACEOF
30172 cat confdefs.h
>>conftest.
$ac_ext
30173 cat >>conftest.
$ac_ext <<_ACEOF
30174 /* end confdefs.h. */
30176 /* Override any gcc2 internal prototype to avoid an error. */
30180 /* We use char because int might match the return type of a gcc2
30181 builtin and then its argument prototype would still apply. */
30182 char XShapeQueryExtension ();
30186 XShapeQueryExtension ();
30191 rm -f conftest.
$ac_objext conftest
$ac_exeext
30192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30193 (eval $ac_link) 2>conftest.er1
30195 grep -v '^ *+' conftest.er1
>conftest.err
30197 cat conftest.err
>&5
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); } &&
30200 { ac_try
='test -z "$ac_c_werror_flag"
30201 || test ! -s conftest.err'
30202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30203 (eval $ac_try) 2>&5
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); }; } &&
30207 { ac_try
='test -s conftest$ac_exeext'
30208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30209 (eval $ac_try) 2>&5
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); }; }; then
30213 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30215 echo "$as_me: failed program was:" >&5
30216 sed 's/^/| /' conftest.
$ac_ext >&5
30218 ac_cv_lib_Xext_XShapeQueryExtension
=no
30220 rm -f conftest.err conftest.
$ac_objext \
30221 conftest
$ac_exeext conftest.
$ac_ext
30222 LIBS
=$ac_check_lib_save_LIBS
30224 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30225 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30226 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30228 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30234 if test "$wxHAVE_XEXT_LIB" = 1; then
30235 save_CFLAGS
="$CFLAGS"
30236 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30238 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30239 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30240 cat >conftest.
$ac_ext <<_ACEOF
30243 cat confdefs.h
>>conftest.
$ac_ext
30244 cat >>conftest.
$ac_ext <<_ACEOF
30245 /* end confdefs.h. */
30247 #include <X11/Xlib.h>
30248 #include <X11/extensions/shape.h>
30254 int dummy1, dummy2;
30255 XShapeQueryExtension((Display*)NULL,
30256 (int*)NULL, (int*)NULL);
30262 rm -f conftest.
$ac_objext
30263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30264 (eval $ac_compile) 2>conftest.er1
30266 grep -v '^ *+' conftest.er1
>conftest.err
30268 cat conftest.err
>&5
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); } &&
30271 { ac_try
='test -z "$ac_c_werror_flag"
30272 || test ! -s conftest.err'
30273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30274 (eval $ac_try) 2>&5
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); }; } &&
30278 { ac_try
='test -s conftest.$ac_objext'
30279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30280 (eval $ac_try) 2>&5
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); }; }; then
30285 cat >>confdefs.h
<<\_ACEOF
30286 #define HAVE_XSHAPE 1
30289 echo "$as_me:$LINENO: result: found" >&5
30290 echo "${ECHO_T}found" >&6
30293 echo "$as_me: failed program was:" >&5
30294 sed 's/^/| /' conftest.
$ac_ext >&5
30297 echo "$as_me:$LINENO: result: not found" >&5
30298 echo "${ECHO_T}not found" >&6
30301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30302 CFLAGS
="$save_CFLAGS"
30307 if test "$wxUSE_MAC" = 1; then
30308 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30309 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30310 if test "$GCC" = yes; then
30311 echo "$as_me:$LINENO: result: gcc" >&5
30312 echo "${ECHO_T}gcc" >&6
30313 CPPFLAGS_PASCAL
="-fpascal-strings"
30314 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30315 echo "$as_me:$LINENO: result: xlc" >&5
30316 echo "${ECHO_T}xlc" >&6
30317 CPPFLAGS_PASCAL
="-qmacpstr"
30319 echo "$as_me:$LINENO: result: none" >&5
30320 echo "${ECHO_T}none" >&6
30323 if test "x$wxUSE_UNIX" = "xyes"; then
30324 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30326 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30331 WXBASEPORT
="_carbon"
30334 if test "$wxUSE_COCOA" = 1; then
30339 if test "$wxUSE_PM" = 1; then
30342 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30343 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30344 if test "${wx_cv_spbcdata+set}" = set; then
30345 echo $ECHO_N "(cached) $ECHO_C" >&6
30348 cat >conftest.
$ac_ext <<_ACEOF
30351 cat confdefs.h
>>conftest.
$ac_ext
30352 cat >>conftest.
$ac_ext <<_ACEOF
30353 /* end confdefs.h. */
30368 rm -f conftest.
$ac_objext
30369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30370 (eval $ac_compile) 2>conftest.er1
30372 grep -v '^ *+' conftest.er1
>conftest.err
30374 cat conftest.err
>&5
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); } &&
30377 { ac_try
='test -z "$ac_c_werror_flag"
30378 || test ! -s conftest.err'
30379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30380 (eval $ac_try) 2>&5
30382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30383 (exit $ac_status); }; } &&
30384 { ac_try
='test -s conftest.$ac_objext'
30385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30386 (eval $ac_try) 2>&5
30388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30389 (exit $ac_status); }; }; then
30392 echo "$as_me: failed program was:" >&5
30393 sed 's/^/| /' conftest.
$ac_ext >&5
30398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30402 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30403 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30405 if test $wx_cv_spbcdata = "yes"; then
30406 cat >>confdefs.h
<<\_ACEOF
30407 #define HAVE_SPBCDATA 1
30413 if test "$TOOLKIT" = "PM" ; then
30416 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30419 if test "$wxUSE_UNIVERSAL" = "yes"; then
30420 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30424 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30425 DISTDIR
="wx\$(TOOLKIT)"
30431 if test "$USE_WIN32" = 1 ; then
30435 GUIDIST
="BASE_DIST"
30440 if test "$wxUSE_GUI" = "yes"; then
30441 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30443 for ac_header
in X
11/Xlib.h
30445 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30447 echo "$as_me:$LINENO: checking for $ac_header" >&5
30448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30450 echo $ECHO_N "(cached) $ECHO_C" >&6
30452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30455 # Is the header compilable?
30456 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30457 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30458 cat >conftest.
$ac_ext <<_ACEOF
30461 cat confdefs.h
>>conftest.
$ac_ext
30462 cat >>conftest.
$ac_ext <<_ACEOF
30463 /* end confdefs.h. */
30464 $ac_includes_default
30465 #include <$ac_header>
30467 rm -f conftest.
$ac_objext
30468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30469 (eval $ac_compile) 2>conftest.er1
30471 grep -v '^ *+' conftest.er1
>conftest.err
30473 cat conftest.err
>&5
30474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475 (exit $ac_status); } &&
30476 { ac_try
='test -z "$ac_c_werror_flag"
30477 || test ! -s conftest.err'
30478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30479 (eval $ac_try) 2>&5
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); }; } &&
30483 { ac_try
='test -s conftest.$ac_objext'
30484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30485 (eval $ac_try) 2>&5
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); }; }; then
30489 ac_header_compiler
=yes
30491 echo "$as_me: failed program was:" >&5
30492 sed 's/^/| /' conftest.
$ac_ext >&5
30494 ac_header_compiler
=no
30496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30497 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30498 echo "${ECHO_T}$ac_header_compiler" >&6
30500 # Is the header present?
30501 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30502 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30503 cat >conftest.
$ac_ext <<_ACEOF
30506 cat confdefs.h
>>conftest.
$ac_ext
30507 cat >>conftest.
$ac_ext <<_ACEOF
30508 /* end confdefs.h. */
30509 #include <$ac_header>
30511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30512 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30514 grep -v '^ *+' conftest.er1
>conftest.err
30516 cat conftest.err
>&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } >/dev
/null
; then
30519 if test -s conftest.err
; then
30520 ac_cpp_err
=$ac_c_preproc_warn_flag
30521 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30528 if test -z "$ac_cpp_err"; then
30529 ac_header_preproc
=yes
30531 echo "$as_me: failed program was:" >&5
30532 sed 's/^/| /' conftest.
$ac_ext >&5
30534 ac_header_preproc
=no
30536 rm -f conftest.err conftest.
$ac_ext
30537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30538 echo "${ECHO_T}$ac_header_preproc" >&6
30540 # So? What about this header?
30541 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30543 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30544 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30546 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30547 ac_header_preproc
=yes
30550 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30551 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30552 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30553 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30554 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30555 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30556 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30557 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30560 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30561 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30564 ## ----------------------------------------- ##
30565 ## Report this to wx-dev@lists.wxwidgets.org ##
30566 ## ----------------------------------------- ##
30569 sed "s/^/$as_me: WARNING: /" >&2
30572 echo "$as_me:$LINENO: checking for $ac_header" >&5
30573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30575 echo $ECHO_N "(cached) $ECHO_C" >&6
30577 eval "$as_ac_Header=\$ac_header_preproc"
30579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30584 cat >>confdefs.h
<<_ACEOF
30585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30593 for ac_header
in X
11/XKBlib.h
30595 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30596 echo "$as_me:$LINENO: checking for $ac_header" >&5
30597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30599 echo $ECHO_N "(cached) $ECHO_C" >&6
30601 cat >conftest.
$ac_ext <<_ACEOF
30604 cat confdefs.h
>>conftest.
$ac_ext
30605 cat >>conftest.
$ac_ext <<_ACEOF
30606 /* end confdefs.h. */
30608 #if HAVE_X11_XLIB_H
30609 #include <X11/Xlib.h>
30613 #include <$ac_header>
30615 rm -f conftest.
$ac_objext
30616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30617 (eval $ac_compile) 2>conftest.er1
30619 grep -v '^ *+' conftest.er1
>conftest.err
30621 cat conftest.err
>&5
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); } &&
30624 { ac_try
='test -z "$ac_c_werror_flag"
30625 || test ! -s conftest.err'
30626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30627 (eval $ac_try) 2>&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); }; } &&
30631 { ac_try
='test -s conftest.$ac_objext'
30632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30633 (eval $ac_try) 2>&5
30635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30636 (exit $ac_status); }; }; then
30637 eval "$as_ac_Header=yes"
30639 echo "$as_me: failed program was:" >&5
30640 sed 's/^/| /' conftest.
$ac_ext >&5
30642 eval "$as_ac_Header=no"
30644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30649 cat >>confdefs.h
<<_ACEOF
30650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30665 if test "$TOOLKIT" != "MSW" ; then
30667 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30669 if test "${ac_cv_header_sql_h+set}" = set; then
30670 echo "$as_me:$LINENO: checking for sql.h" >&5
30671 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30672 if test "${ac_cv_header_sql_h+set}" = set; then
30673 echo $ECHO_N "(cached) $ECHO_C" >&6
30675 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30676 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30678 # Is the header compilable?
30679 echo "$as_me:$LINENO: checking sql.h usability" >&5
30680 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30681 cat >conftest.
$ac_ext <<_ACEOF
30684 cat confdefs.h
>>conftest.
$ac_ext
30685 cat >>conftest.
$ac_ext <<_ACEOF
30686 /* end confdefs.h. */
30687 $ac_includes_default
30690 rm -f conftest.
$ac_objext
30691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30692 (eval $ac_compile) 2>conftest.er1
30694 grep -v '^ *+' conftest.er1
>conftest.err
30696 cat conftest.err
>&5
30697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698 (exit $ac_status); } &&
30699 { ac_try
='test -z "$ac_c_werror_flag"
30700 || test ! -s conftest.err'
30701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30702 (eval $ac_try) 2>&5
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); }; } &&
30706 { ac_try
='test -s conftest.$ac_objext'
30707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30708 (eval $ac_try) 2>&5
30710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30711 (exit $ac_status); }; }; then
30712 ac_header_compiler
=yes
30714 echo "$as_me: failed program was:" >&5
30715 sed 's/^/| /' conftest.
$ac_ext >&5
30717 ac_header_compiler
=no
30719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30720 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30721 echo "${ECHO_T}$ac_header_compiler" >&6
30723 # Is the header present?
30724 echo "$as_me:$LINENO: checking sql.h presence" >&5
30725 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30726 cat >conftest.
$ac_ext <<_ACEOF
30729 cat confdefs.h
>>conftest.
$ac_ext
30730 cat >>conftest.
$ac_ext <<_ACEOF
30731 /* end confdefs.h. */
30734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30735 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30737 grep -v '^ *+' conftest.er1
>conftest.err
30739 cat conftest.err
>&5
30740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741 (exit $ac_status); } >/dev
/null
; then
30742 if test -s conftest.err
; then
30743 ac_cpp_err
=$ac_c_preproc_warn_flag
30744 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30751 if test -z "$ac_cpp_err"; then
30752 ac_header_preproc
=yes
30754 echo "$as_me: failed program was:" >&5
30755 sed 's/^/| /' conftest.
$ac_ext >&5
30757 ac_header_preproc
=no
30759 rm -f conftest.err conftest.
$ac_ext
30760 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30761 echo "${ECHO_T}$ac_header_preproc" >&6
30763 # So? What about this header?
30764 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30766 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30767 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30768 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30769 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30770 ac_header_preproc
=yes
30773 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30774 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30775 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30776 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30777 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30778 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30779 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30780 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30781 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30782 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30783 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30784 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30787 ## ----------------------------------------- ##
30788 ## Report this to wx-dev@lists.wxwidgets.org ##
30789 ## ----------------------------------------- ##
30792 sed "s/^/$as_me: WARNING: /" >&2
30795 echo "$as_me:$LINENO: checking for sql.h" >&5
30796 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30797 if test "${ac_cv_header_sql_h+set}" = set; then
30798 echo $ECHO_N "(cached) $ECHO_C" >&6
30800 ac_cv_header_sql_h
=$ac_header_preproc
30802 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30803 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30806 if test $ac_cv_header_sql_h = yes; then
30811 if test "x$found_sql_h" = "x1" ; then
30812 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30813 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30814 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30815 echo $ECHO_N "(cached) $ECHO_C" >&6
30817 ac_check_lib_save_LIBS
=$LIBS
30818 LIBS
="-liodbc $LIBS"
30819 cat >conftest.
$ac_ext <<_ACEOF
30822 cat confdefs.h
>>conftest.
$ac_ext
30823 cat >>conftest.
$ac_ext <<_ACEOF
30824 /* end confdefs.h. */
30826 /* Override any gcc2 internal prototype to avoid an error. */
30830 /* We use char because int might match the return type of a gcc2
30831 builtin and then its argument prototype would still apply. */
30832 char SQLAllocEnv ();
30841 rm -f conftest.
$ac_objext conftest
$ac_exeext
30842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30843 (eval $ac_link) 2>conftest.er1
30845 grep -v '^ *+' conftest.er1
>conftest.err
30847 cat conftest.err
>&5
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); } &&
30850 { ac_try
='test -z "$ac_c_werror_flag"
30851 || test ! -s conftest.err'
30852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30853 (eval $ac_try) 2>&5
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); }; } &&
30857 { ac_try
='test -s conftest$ac_exeext'
30858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30859 (eval $ac_try) 2>&5
30861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30862 (exit $ac_status); }; }; then
30863 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.
$ac_ext >&5
30868 ac_cv_lib_iodbc_SQLAllocEnv
=no
30870 rm -f conftest.err conftest.
$ac_objext \
30871 conftest
$ac_exeext conftest.
$ac_ext
30872 LIBS
=$ac_check_lib_save_LIBS
30874 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30875 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30876 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30877 ODBC_LINK
=" -liodbc"
30880 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30881 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30882 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30883 echo $ECHO_N "(cached) $ECHO_C" >&6
30885 ac_check_lib_save_LIBS
=$LIBS
30886 LIBS
="-lunixodbc $LIBS"
30887 cat >conftest.
$ac_ext <<_ACEOF
30890 cat confdefs.h
>>conftest.
$ac_ext
30891 cat >>conftest.
$ac_ext <<_ACEOF
30892 /* end confdefs.h. */
30894 /* Override any gcc2 internal prototype to avoid an error. */
30898 /* We use char because int might match the return type of a gcc2
30899 builtin and then its argument prototype would still apply. */
30900 char SQLAllocEnv ();
30909 rm -f conftest.
$ac_objext conftest
$ac_exeext
30910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30911 (eval $ac_link) 2>conftest.er1
30913 grep -v '^ *+' conftest.er1
>conftest.err
30915 cat conftest.err
>&5
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); } &&
30918 { ac_try
='test -z "$ac_c_werror_flag"
30919 || test ! -s conftest.err'
30920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30921 (eval $ac_try) 2>&5
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); }; } &&
30925 { ac_try
='test -s conftest$ac_exeext'
30926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30927 (eval $ac_try) 2>&5
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); }; }; then
30931 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30933 echo "$as_me: failed program was:" >&5
30934 sed 's/^/| /' conftest.
$ac_ext >&5
30936 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30938 rm -f conftest.err conftest.
$ac_objext \
30939 conftest
$ac_exeext conftest.
$ac_ext
30940 LIBS
=$ac_check_lib_save_LIBS
30942 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30943 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30944 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30945 ODBC_LINK
=" -lunixodbc"
30948 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30949 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30950 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30951 echo $ECHO_N "(cached) $ECHO_C" >&6
30953 ac_check_lib_save_LIBS
=$LIBS
30954 LIBS
="-lodbc $LIBS"
30955 cat >conftest.
$ac_ext <<_ACEOF
30958 cat confdefs.h
>>conftest.
$ac_ext
30959 cat >>conftest.
$ac_ext <<_ACEOF
30960 /* end confdefs.h. */
30962 /* Override any gcc2 internal prototype to avoid an error. */
30966 /* We use char because int might match the return type of a gcc2
30967 builtin and then its argument prototype would still apply. */
30968 char SQLAllocEnv ();
30977 rm -f conftest.
$ac_objext conftest
$ac_exeext
30978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30979 (eval $ac_link) 2>conftest.er1
30981 grep -v '^ *+' conftest.er1
>conftest.err
30983 cat conftest.err
>&5
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); } &&
30986 { ac_try
='test -z "$ac_c_werror_flag"
30987 || test ! -s conftest.err'
30988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30989 (eval $ac_try) 2>&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; } &&
30993 { ac_try
='test -s conftest$ac_exeext'
30994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30995 (eval $ac_try) 2>&5
30997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30998 (exit $ac_status); }; }; then
30999 ac_cv_lib_odbc_SQLAllocEnv
=yes
31001 echo "$as_me: failed program was:" >&5
31002 sed 's/^/| /' conftest.
$ac_ext >&5
31004 ac_cv_lib_odbc_SQLAllocEnv
=no
31006 rm -f conftest.err conftest.
$ac_objext \
31007 conftest
$ac_exeext conftest.
$ac_ext
31008 LIBS
=$ac_check_lib_save_LIBS
31010 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31011 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31012 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31013 ODBC_LINK
=" -lodbc"
31023 if test "x$ODBC_LINK" = "x" ; then
31024 if test "$wxUSE_ODBC" = "sys" ; then
31025 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31026 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31027 { (exit 1); exit 1; }; }
31029 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31030 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31038 if test "$wxUSE_ODBC" = "builtin" ; then
31039 cat >>confdefs.h
<<\_ACEOF
31040 #define wxUSE_BUILTIN_IODBC 1
31046 if test "$wxUSE_ODBC" != "no" ; then
31047 cat >>confdefs.h
<<\_ACEOF
31048 #define wxUSE_ODBC 1
31051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31053 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31057 if test "$wxUSE_DISPLAY" = "yes"; then
31058 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31059 echo "$as_me:$LINENO: checking for Xinerama" >&5
31060 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31063 for ac_dir
in $SEARCH_LIB;
31065 for ac_extension
in a so sl dylib dll.a
; do
31066 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31067 ac_find_libraries
=$ac_dir
31073 if test "$ac_find_libraries" != "" ; then
31075 if test "$ac_find_libraries" = "default location"; then
31078 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31080 if test $result = 0; then
31083 ac_path_to_link
=" -L$ac_find_libraries"
31087 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31088 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31090 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31091 echo "$as_me:$LINENO: result: yes" >&5
31092 echo "${ECHO_T}yes" >&6
31094 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31095 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31098 for ac_dir
in $SEARCH_LIB;
31100 for ac_extension
in a so sl dylib dll.a
; do
31101 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31102 ac_find_libraries
=$ac_dir
31108 if test "$ac_find_libraries" != "" ; then
31109 echo "$as_me:$LINENO: result: yes" >&5
31110 echo "${ECHO_T}yes" >&6
31112 for ac_header
in X
11/extensions
/xf86vmode.h
31114 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31115 echo "$as_me:$LINENO: checking for $ac_header" >&5
31116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31118 echo $ECHO_N "(cached) $ECHO_C" >&6
31120 cat >conftest.
$ac_ext <<_ACEOF
31123 cat confdefs.h
>>conftest.
$ac_ext
31124 cat >>conftest.
$ac_ext <<_ACEOF
31125 /* end confdefs.h. */
31127 #if HAVE_X11_XLIB_H
31128 #include <X11/Xlib.h>
31132 #include <$ac_header>
31134 rm -f conftest.
$ac_objext
31135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31136 (eval $ac_compile) 2>conftest.er1
31138 grep -v '^ *+' conftest.er1
>conftest.err
31140 cat conftest.err
>&5
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); } &&
31143 { ac_try
='test -z "$ac_c_werror_flag"
31144 || test ! -s conftest.err'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; } &&
31150 { ac_try
='test -s conftest.$ac_objext'
31151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31152 (eval $ac_try) 2>&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); }; }; then
31156 eval "$as_ac_Header=yes"
31158 echo "$as_me: failed program was:" >&5
31159 sed 's/^/| /' conftest.
$ac_ext >&5
31161 eval "$as_ac_Header=no"
31163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31168 cat >>confdefs.h
<<_ACEOF
31169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31172 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31179 echo "$as_me:$LINENO: result: no" >&5
31180 echo "${ECHO_T}no" >&6
31184 echo "$as_me:$LINENO: result: no" >&5
31185 echo "${ECHO_T}no" >&6
31186 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31187 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31190 elif test "$wxUSE_MSW" = 1; then
31193 for ac_header
in multimon.h ddraw.h
31195 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31196 echo "$as_me:$LINENO: checking for $ac_header" >&5
31197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31199 echo $ECHO_N "(cached) $ECHO_C" >&6
31201 cat >conftest.
$ac_ext <<_ACEOF
31204 cat confdefs.h
>>conftest.
$ac_ext
31205 cat >>conftest.
$ac_ext <<_ACEOF
31206 /* end confdefs.h. */
31207 #include <windows.h>
31209 #include <$ac_header>
31211 rm -f conftest.
$ac_objext
31212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31213 (eval $ac_compile) 2>conftest.er1
31215 grep -v '^ *+' conftest.er1
>conftest.err
31217 cat conftest.err
>&5
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); } &&
31220 { ac_try
='test -z "$ac_c_werror_flag"
31221 || test ! -s conftest.err'
31222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31223 (eval $ac_try) 2>&5
31225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31226 (exit $ac_status); }; } &&
31227 { ac_try
='test -s conftest.$ac_objext'
31228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31229 (eval $ac_try) 2>&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); }; }; then
31233 eval "$as_ac_Header=yes"
31235 echo "$as_me: failed program was:" >&5
31236 sed 's/^/| /' conftest.
$ac_ext >&5
31238 eval "$as_ac_Header=no"
31240 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31245 cat >>confdefs.h
<<_ACEOF
31246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31252 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
31253 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
31264 if test "$wxUSE_OPENGL" = "yes"; then
31265 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31266 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31267 elif test "$wxUSE_MSW" = 1; then
31268 OPENGL_LIBS
="-lopengl32 -lglu32"
31273 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31275 if test -f "$ac_dir/GL/gl.h"; then
31276 ac_find_includes
=$ac_dir
31281 if test "$ac_find_includes" != "" ; then
31282 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31283 echo "${ECHO_T}found in $ac_find_includes" >&6
31285 if test "x$ac_find_includes" = "x/usr/include"; then
31286 ac_path_to_include
=""
31288 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31290 if test $result = 0; then
31291 ac_path_to_include
=""
31293 ac_path_to_include
=" -I$ac_find_includes"
31297 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31300 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31301 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31302 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31303 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31304 echo $ECHO_N "(cached) $ECHO_C" >&6
31306 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31307 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31309 # Is the header compilable?
31310 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31311 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31312 cat >conftest.
$ac_ext <<_ACEOF
31315 cat confdefs.h
>>conftest.
$ac_ext
31316 cat >>conftest.
$ac_ext <<_ACEOF
31317 /* end confdefs.h. */
31318 $ac_includes_default
31321 rm -f conftest.
$ac_objext
31322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31323 (eval $ac_compile) 2>conftest.er1
31325 grep -v '^ *+' conftest.er1
>conftest.err
31327 cat conftest.err
>&5
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); } &&
31330 { ac_try
='test -z "$ac_c_werror_flag"
31331 || test ! -s conftest.err'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; } &&
31337 { ac_try
='test -s conftest.$ac_objext'
31338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31339 (eval $ac_try) 2>&5
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); }; }; then
31343 ac_header_compiler
=yes
31345 echo "$as_me: failed program was:" >&5
31346 sed 's/^/| /' conftest.
$ac_ext >&5
31348 ac_header_compiler
=no
31350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31351 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31352 echo "${ECHO_T}$ac_header_compiler" >&6
31354 # Is the header present?
31355 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31356 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31357 cat >conftest.
$ac_ext <<_ACEOF
31360 cat confdefs.h
>>conftest.
$ac_ext
31361 cat >>conftest.
$ac_ext <<_ACEOF
31362 /* end confdefs.h. */
31365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31366 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31368 grep -v '^ *+' conftest.er1
>conftest.err
31370 cat conftest.err
>&5
31371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372 (exit $ac_status); } >/dev
/null
; then
31373 if test -s conftest.err
; then
31374 ac_cpp_err
=$ac_c_preproc_warn_flag
31375 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31382 if test -z "$ac_cpp_err"; then
31383 ac_header_preproc
=yes
31385 echo "$as_me: failed program was:" >&5
31386 sed 's/^/| /' conftest.
$ac_ext >&5
31388 ac_header_preproc
=no
31390 rm -f conftest.err conftest.
$ac_ext
31391 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31392 echo "${ECHO_T}$ac_header_preproc" >&6
31394 # So? What about this header?
31395 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31397 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31398 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31399 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31400 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31401 ac_header_preproc
=yes
31404 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31405 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31406 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31407 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31408 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31409 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31410 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31411 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31412 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31413 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31414 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31415 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31418 ## ----------------------------------------- ##
31419 ## Report this to wx-dev@lists.wxwidgets.org ##
31420 ## ----------------------------------------- ##
31423 sed "s/^/$as_me: WARNING: /" >&2
31426 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31427 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31428 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31429 echo $ECHO_N "(cached) $ECHO_C" >&6
31431 ac_cv_header_GL_gl_h
=$ac_header_preproc
31433 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31434 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31437 if test $ac_cv_header_GL_gl_h = yes; then
31441 echo "$as_me:$LINENO: checking for -lGL" >&5
31442 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31445 for ac_dir
in $SEARCH_LIB;
31447 for ac_extension
in a so sl dylib dll.a
; do
31448 if test -f "$ac_dir/libGL.$ac_extension"; then
31449 ac_find_libraries
=$ac_dir
31455 if test "$ac_find_libraries" != "" ; then
31456 echo "$as_me:$LINENO: result: yes" >&5
31457 echo "${ECHO_T}yes" >&6
31460 if test "$ac_find_libraries" = "default location"; then
31463 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31465 if test $result = 0; then
31468 ac_path_to_link
=" -L$ac_find_libraries"
31472 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31473 LDFLAGS_GL
="$ac_path_to_link"
31476 echo "$as_me:$LINENO: checking for -lGLU" >&5
31477 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31480 for ac_dir
in $SEARCH_LIB;
31482 for ac_extension
in a so sl dylib dll.a
; do
31483 if test -f "$ac_dir/libGLU.$ac_extension"; then
31484 ac_find_libraries
=$ac_dir
31490 if test "$ac_find_libraries" != "" ; then
31492 if test "$ac_find_libraries" = "default location"; then
31495 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31497 if test $result = 0; then
31500 ac_path_to_link
=" -L$ac_find_libraries"
31504 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31505 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31506 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31510 OPENGL_LIBS
="-lGL -lGLU"
31511 echo "$as_me:$LINENO: result: yes" >&5
31512 echo "${ECHO_T}yes" >&6
31514 echo "$as_me:$LINENO: result: no" >&5
31515 echo "${ECHO_T}no" >&6
31518 echo "$as_me:$LINENO: result: no" >&5
31519 echo "${ECHO_T}no" >&6
31522 if test "$found_gl" != 1; then
31523 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31524 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31527 for ac_dir
in $SEARCH_LIB;
31529 for ac_extension
in a so sl dylib dll.a
; do
31530 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31531 ac_find_libraries
=$ac_dir
31537 if test "$ac_find_libraries" != "" ; then
31539 if test "$ac_find_libraries" = "default location"; then
31542 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31544 if test $result = 0; then
31547 ac_path_to_link
=" -L$ac_find_libraries"
31551 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31552 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31553 echo "$as_me:$LINENO: result: yes" >&5
31554 echo "${ECHO_T}yes" >&6
31556 echo "$as_me:$LINENO: result: no" >&5
31557 echo "${ECHO_T}no" >&6
31565 if test "x$OPENGL_LIBS" = "x"; then
31566 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31567 echo "$as_me: error: OpenGL libraries not available" >&2;}
31568 { (exit 1); exit 1; }; }
31572 if test "$wxUSE_OPENGL" = "yes"; then
31574 cat >>confdefs.h
<<\_ACEOF
31575 #define wxUSE_OPENGL 1
31578 cat >>confdefs.h
<<\_ACEOF
31579 #define wxUSE_GLCANVAS 1
31582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31587 if test -n "$TOOLKIT" ; then
31588 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31593 if test "$wxUSE_SHARED" = "yes"; then
31597 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31598 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31603 if test "$wxUSE_SHARED" = "yes"; then
31606 found_versioning
=no
31609 if test $found_versioning = no
; then
31610 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31611 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31612 if test "${wx_cv_version_script+set}" = set; then
31613 echo $ECHO_N "(cached) $ECHO_C" >&6
31616 echo "VER_1 { *; };" >conftest.sym
31617 echo "int main() { return 0; }" >conftest.cpp
31620 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31621 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31623 (eval $ac_try) 2>&5
31625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31626 (exit $ac_status); }; } ; then
31627 if test -s conftest.stderr
; then
31628 wx_cv_version_script
=no
31630 wx_cv_version_script
=yes
31633 wx_cv_version_script
=no
31636 if test $wx_cv_version_script = yes
31638 echo "struct B { virtual ~B() { } }; \
31639 struct D : public B { }; \
31640 void F() { D d; }" > conftest.cpp
31643 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31644 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31646 (eval $ac_try) 2>&5
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); }; } &&
31651 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31652 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
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); }; }
31660 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31661 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31663 (eval $ac_try) 2>&5
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); }; }
31668 wx_cv_version_script
=yes
31670 wx_cv_version_script
=no
31675 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31676 rm -f conftest1.output conftest2.output conftest3.output
31679 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31680 echo "${ECHO_T}$wx_cv_version_script" >&6
31681 if test $wx_cv_version_script = yes ; then
31682 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31688 *-*-linux* | *-*-gnu* )
31689 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31690 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31694 if test "$GCC" = yes ; then
31695 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
31697 saveLdflags
="$LDFLAGS"
31698 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31699 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31700 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31701 cat >conftest.
$ac_ext <<_ACEOF
31704 cat confdefs.h
>>conftest.
$ac_ext
31705 cat >>conftest.
$ac_ext <<_ACEOF
31706 /* end confdefs.h. */
31716 rm -f conftest.
$ac_objext conftest
$ac_exeext
31717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31718 (eval $ac_link) 2>conftest.er1
31720 grep -v '^ *+' conftest.er1
>conftest.err
31722 cat conftest.err
>&5
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); } &&
31725 { ac_try
='test -z "$ac_c_werror_flag"
31726 || test ! -s conftest.err'
31727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31728 (eval $ac_try) 2>&5
31730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31731 (exit $ac_status); }; } &&
31732 { ac_try
='test -s conftest$ac_exeext'
31733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31734 (eval $ac_try) 2>&5
31736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737 (exit $ac_status); }; }; then
31739 echo "$as_me:$LINENO: result: yes" >&5
31740 echo "${ECHO_T}yes" >&6
31741 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31742 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31745 echo "$as_me: failed program was:" >&5
31746 sed 's/^/| /' conftest.
$ac_ext >&5
31749 echo "$as_me:$LINENO: result: no" >&5
31750 echo "${ECHO_T}no" >&6
31751 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31752 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31753 LDFLAGS
="$saveLdflags -Wl,-R,/"
31754 cat >conftest.
$ac_ext <<_ACEOF
31757 cat confdefs.h
>>conftest.
$ac_ext
31758 cat >>conftest.
$ac_ext <<_ACEOF
31759 /* end confdefs.h. */
31769 rm -f conftest.
$ac_objext conftest
$ac_exeext
31770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31771 (eval $ac_link) 2>conftest.er1
31773 grep -v '^ *+' conftest.er1
>conftest.err
31775 cat conftest.err
>&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } &&
31778 { ac_try
='test -z "$ac_c_werror_flag"
31779 || test ! -s conftest.err'
31780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31781 (eval $ac_try) 2>&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; } &&
31785 { ac_try
='test -s conftest$ac_exeext'
31786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31787 (eval $ac_try) 2>&5
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); }; }; then
31792 echo "$as_me:$LINENO: result: yes" >&5
31793 echo "${ECHO_T}yes" >&6
31794 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31795 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31798 echo "$as_me: failed program was:" >&5
31799 sed 's/^/| /' conftest.
$ac_ext >&5
31802 echo "$as_me:$LINENO: result: no" >&5
31803 echo "${ECHO_T}no" >&6
31806 rm -f conftest.err conftest.
$ac_objext \
31807 conftest
$ac_exeext conftest.
$ac_ext
31810 rm -f conftest.err conftest.
$ac_objext \
31811 conftest
$ac_exeext conftest.
$ac_ext
31812 LDFLAGS
="$saveLdflags"
31814 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31815 WXCONFIG_RPATH
="-R\$libdir"
31820 install_name_tool
=`which install_name_tool`
31821 if test "$install_name_tool" -a -x "$install_name_tool"; then
31822 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31823 cat <<EOF >change-install-names
31825 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31826 inst_cmd="install_name_tool "
31827 for i in \${libnames} ; do
31828 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31832 chmod +x change
-install-names
31836 *-*-cygwin* | *-*-mingw32* )
31837 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31841 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31842 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31847 if test $wxUSE_RPATH = "no"; then
31848 SAMPLES_RPATH_FLAG
=''
31849 SAMPLES_RPATH_POSTLINK
=''
31857 config_linkage_component
="-static"
31864 lib_unicode_suffix
=
31866 if test "$wxUSE_UNICODE" = "yes"; then
31867 lib_unicode_suffix
=u
31868 WX_CHARTYPE
="unicode"
31873 WX_DEBUGTYPE
="release"
31875 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31877 WX_DEBUGTYPE
="debug"
31881 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31882 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31885 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31889 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31891 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31893 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31895 if test "$cross_compiling" = "yes"; then
31896 HOST_SUFFIX
="-$host_alias"
31897 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31898 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31901 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31902 if test "${TOOLKIT_DIR}" = "os2"; then
31903 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31905 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31910 if test "$wxUSE_COCOA" = 1; then
31914 ac_cpp
='$CPP $CPPFLAGS'
31915 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31916 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31917 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31921 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31922 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31923 cat >conftest.
$ac_ext <<_ACEOF
31926 cat confdefs.h
>>conftest.
$ac_ext
31927 cat >>conftest.
$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31929 #include <AppKit/NSEvent.h>
31930 #include <CoreFoundation/CoreFoundation.h>
31940 rm -f conftest.
$ac_objext
31941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31942 (eval $ac_compile) 2>conftest.er1
31944 grep -v '^ *+' conftest.er1
>conftest.err
31946 cat conftest.err
>&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); } &&
31949 { ac_try
='test -z "$ac_c_werror_flag"
31950 || test ! -s conftest.err'
31951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31952 (eval $ac_try) 2>&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); }; } &&
31956 { ac_try
='test -s conftest.$ac_objext'
31957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31958 (eval $ac_try) 2>&5
31960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31961 (exit $ac_status); }; }; then
31962 echo "$as_me:$LINENO: result: no" >&5
31963 echo "${ECHO_T}no" >&6
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.
$ac_ext >&5
31968 echo "$as_me:$LINENO: result: yes" >&5
31969 echo "${ECHO_T}yes" >&6
31970 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31971 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31972 cat >conftest.
$ac_ext <<_ACEOF
31975 cat confdefs.h
>>conftest.
$ac_ext
31976 cat >>conftest.
$ac_ext <<_ACEOF
31977 /* end confdefs.h. */
31978 #define __Point__ 1
31979 #include <AppKit/NSEvent.h>
31980 #include <CoreFoundation/CoreFoundation.h>
31990 rm -f conftest.
$ac_objext
31991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31992 (eval $ac_compile) 2>conftest.er1
31994 grep -v '^ *+' conftest.er1
>conftest.err
31996 cat conftest.err
>&5
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); } &&
31999 { ac_try
='test -z "$ac_c_werror_flag"
32000 || test ! -s conftest.err'
32001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32002 (eval $ac_try) 2>&5
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); }; } &&
32006 { ac_try
='test -s conftest.$ac_objext'
32007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32008 (eval $ac_try) 2>&5
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 (exit $ac_status); }; }; then
32012 echo "$as_me:$LINENO: result: yes" >&5
32013 echo "${ECHO_T}yes" >&6
32014 cat >>confdefs.h
<<\_ACEOF
32015 #define __Point__ 1
32020 echo "$as_me: failed program was:" >&5
32021 sed 's/^/| /' conftest.
$ac_ext >&5
32023 { { echo "$as_me:$LINENO: error: no
32024 See \`config.log' for more details." >&5
32025 echo "$as_me: error: no
32026 See \`config.log' for more details." >&2;}
32027 { (exit 1); exit 1; }; }
32030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32035 ac_cpp
='$CPP $CPPFLAGS'
32036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32042 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32043 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32044 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32046 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32048 # Extract the first word of "Rez", so it can be a program name with args.
32049 set dummy Rez
; ac_word
=$2
32050 echo "$as_me:$LINENO: checking for $ac_word" >&5
32051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32052 if test "${ac_cv_prog_REZ+set}" = set; then
32053 echo $ECHO_N "(cached) $ECHO_C" >&6
32055 if test -n "$REZ"; then
32056 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32059 for as_dir
in $PATH
32062 test -z "$as_dir" && as_dir
=.
32063 for ac_exec_ext
in '' $ac_executable_extensions; do
32064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32065 ac_cv_prog_REZ
="Rez"
32066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32072 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32075 REZ
=$ac_cv_prog_REZ
32076 if test -n "$REZ"; then
32077 echo "$as_me:$LINENO: result: $REZ" >&5
32078 echo "${ECHO_T}$REZ" >&6
32080 echo "$as_me:$LINENO: result: no" >&5
32081 echo "${ECHO_T}no" >&6
32084 # Extract the first word of "DeRez", so it can be a program name with args.
32085 set dummy DeRez
; ac_word
=$2
32086 echo "$as_me:$LINENO: checking for $ac_word" >&5
32087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32088 if test "${ac_cv_prog_DEREZ+set}" = set; then
32089 echo $ECHO_N "(cached) $ECHO_C" >&6
32091 if test -n "$DEREZ"; then
32092 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32095 for as_dir
in $PATH
32098 test -z "$as_dir" && as_dir
=.
32099 for ac_exec_ext
in '' $ac_executable_extensions; do
32100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32101 ac_cv_prog_DEREZ
="DeRez"
32102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32108 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32111 DEREZ
=$ac_cv_prog_DEREZ
32112 if test -n "$DEREZ"; then
32113 echo "$as_me:$LINENO: result: $DEREZ" >&5
32114 echo "${ECHO_T}$DEREZ" >&6
32116 echo "$as_me:$LINENO: result: no" >&5
32117 echo "${ECHO_T}no" >&6
32120 # Extract the first word of "SetFile", so it can be a program name with args.
32121 set dummy SetFile
; ac_word
=$2
32122 echo "$as_me:$LINENO: checking for $ac_word" >&5
32123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32124 if test "${ac_cv_prog_SETFILE+set}" = set; then
32125 echo $ECHO_N "(cached) $ECHO_C" >&6
32127 if test -n "$SETFILE"; then
32128 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32131 for as_dir
in $PATH
32134 test -z "$as_dir" && as_dir
=.
32135 for ac_exec_ext
in '' $ac_executable_extensions; do
32136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32137 ac_cv_prog_SETFILE
="SetFile"
32138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32144 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32147 SETFILE
=$ac_cv_prog_SETFILE
32148 if test -n "$SETFILE"; then
32149 echo "$as_me:$LINENO: result: $SETFILE" >&5
32150 echo "${ECHO_T}$SETFILE" >&6
32152 echo "$as_me:$LINENO: result: no" >&5
32153 echo "${ECHO_T}no" >&6
32157 MACSETFILE
="\$(SETFILE)"
32159 if test "$wxUSE_MAC" = 1; then
32160 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32162 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32164 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32165 RESCOMP
="echo -n \| $REZ"
32166 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32172 if test "$wxUSE_PM" = 1; then
32174 WXCONFIG_RESFLAGS
="-ep"
32176 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32178 POSTLINK_COMMAND
="@true"
32185 echo "$as_me:$LINENO: checking for mode_t" >&5
32186 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32187 if test "${ac_cv_type_mode_t+set}" = set; then
32188 echo $ECHO_N "(cached) $ECHO_C" >&6
32190 cat >conftest.
$ac_ext <<_ACEOF
32193 cat confdefs.h
>>conftest.
$ac_ext
32194 cat >>conftest.
$ac_ext <<_ACEOF
32195 /* end confdefs.h. */
32196 $ac_includes_default
32202 if (sizeof (mode_t))
32208 rm -f conftest.
$ac_objext
32209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32210 (eval $ac_compile) 2>conftest.er1
32212 grep -v '^ *+' conftest.er1
>conftest.err
32214 cat conftest.err
>&5
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); } &&
32217 { ac_try
='test -z "$ac_c_werror_flag"
32218 || test ! -s conftest.err'
32219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32220 (eval $ac_try) 2>&5
32222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32223 (exit $ac_status); }; } &&
32224 { ac_try
='test -s conftest.$ac_objext'
32225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32226 (eval $ac_try) 2>&5
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); }; }; then
32230 ac_cv_type_mode_t
=yes
32232 echo "$as_me: failed program was:" >&5
32233 sed 's/^/| /' conftest.
$ac_ext >&5
32235 ac_cv_type_mode_t
=no
32237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32239 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32240 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32241 if test $ac_cv_type_mode_t = yes; then
32245 cat >>confdefs.h
<<_ACEOF
32251 echo "$as_me:$LINENO: checking for off_t" >&5
32252 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32253 if test "${ac_cv_type_off_t+set}" = set; then
32254 echo $ECHO_N "(cached) $ECHO_C" >&6
32256 cat >conftest.
$ac_ext <<_ACEOF
32259 cat confdefs.h
>>conftest.
$ac_ext
32260 cat >>conftest.
$ac_ext <<_ACEOF
32261 /* end confdefs.h. */
32262 $ac_includes_default
32268 if (sizeof (off_t))
32274 rm -f conftest.
$ac_objext
32275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32276 (eval $ac_compile) 2>conftest.er1
32278 grep -v '^ *+' conftest.er1
>conftest.err
32280 cat conftest.err
>&5
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); } &&
32283 { ac_try
='test -z "$ac_c_werror_flag"
32284 || test ! -s conftest.err'
32285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286 (eval $ac_try) 2>&5
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); }; } &&
32290 { ac_try
='test -s conftest.$ac_objext'
32291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32292 (eval $ac_try) 2>&5
32294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 (exit $ac_status); }; }; then
32296 ac_cv_type_off_t
=yes
32298 echo "$as_me: failed program was:" >&5
32299 sed 's/^/| /' conftest.
$ac_ext >&5
32301 ac_cv_type_off_t
=no
32303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32305 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32306 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32307 if test $ac_cv_type_off_t = yes; then
32311 cat >>confdefs.h
<<_ACEOF
32317 echo "$as_me:$LINENO: checking for pid_t" >&5
32318 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32319 if test "${ac_cv_type_pid_t+set}" = set; then
32320 echo $ECHO_N "(cached) $ECHO_C" >&6
32322 cat >conftest.
$ac_ext <<_ACEOF
32325 cat confdefs.h
>>conftest.
$ac_ext
32326 cat >>conftest.
$ac_ext <<_ACEOF
32327 /* end confdefs.h. */
32328 $ac_includes_default
32334 if (sizeof (pid_t))
32340 rm -f conftest.
$ac_objext
32341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32342 (eval $ac_compile) 2>conftest.er1
32344 grep -v '^ *+' conftest.er1
>conftest.err
32346 cat conftest.err
>&5
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); } &&
32349 { ac_try
='test -z "$ac_c_werror_flag"
32350 || test ! -s conftest.err'
32351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32352 (eval $ac_try) 2>&5
32354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355 (exit $ac_status); }; } &&
32356 { ac_try
='test -s conftest.$ac_objext'
32357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32358 (eval $ac_try) 2>&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); }; }; then
32362 ac_cv_type_pid_t
=yes
32364 echo "$as_me: failed program was:" >&5
32365 sed 's/^/| /' conftest.
$ac_ext >&5
32367 ac_cv_type_pid_t
=no
32369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32371 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32372 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32373 if test $ac_cv_type_pid_t = yes; then
32377 cat >>confdefs.h
<<_ACEOF
32383 echo "$as_me:$LINENO: checking for size_t" >&5
32384 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32385 if test "${ac_cv_type_size_t+set}" = set; then
32386 echo $ECHO_N "(cached) $ECHO_C" >&6
32388 cat >conftest.
$ac_ext <<_ACEOF
32391 cat confdefs.h
>>conftest.
$ac_ext
32392 cat >>conftest.
$ac_ext <<_ACEOF
32393 /* end confdefs.h. */
32394 $ac_includes_default
32400 if (sizeof (size_t))
32406 rm -f conftest.
$ac_objext
32407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32408 (eval $ac_compile) 2>conftest.er1
32410 grep -v '^ *+' conftest.er1
>conftest.err
32412 cat conftest.err
>&5
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); } &&
32415 { ac_try
='test -z "$ac_c_werror_flag"
32416 || test ! -s conftest.err'
32417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32418 (eval $ac_try) 2>&5
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); }; } &&
32422 { ac_try
='test -s conftest.$ac_objext'
32423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32424 (eval $ac_try) 2>&5
32426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32427 (exit $ac_status); }; }; then
32428 ac_cv_type_size_t
=yes
32430 echo "$as_me: failed program was:" >&5
32431 sed 's/^/| /' conftest.
$ac_ext >&5
32433 ac_cv_type_size_t
=no
32435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32437 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32438 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32439 if test $ac_cv_type_size_t = yes; then
32443 cat >>confdefs.h
<<_ACEOF
32444 #define size_t unsigned
32449 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32450 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32451 if test "${ac_cv_type_uid_t+set}" = set; then
32452 echo $ECHO_N "(cached) $ECHO_C" >&6
32454 cat >conftest.
$ac_ext <<_ACEOF
32457 cat confdefs.h
>>conftest.
$ac_ext
32458 cat >>conftest.
$ac_ext <<_ACEOF
32459 /* end confdefs.h. */
32460 #include <sys/types.h>
32463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32464 $EGREP "uid_t" >/dev
/null
2>&1; then
32465 ac_cv_type_uid_t
=yes
32467 ac_cv_type_uid_t
=no
32472 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32473 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32474 if test $ac_cv_type_uid_t = no
; then
32476 cat >>confdefs.h
<<\_ACEOF
32481 cat >>confdefs.h
<<\_ACEOF
32488 echo "$as_me:$LINENO: checking for ssize_t" >&5
32489 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32490 if test "${ac_cv_type_ssize_t+set}" = set; then
32491 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 cat >conftest.
$ac_ext <<_ACEOF
32496 cat confdefs.h
>>conftest.
$ac_ext
32497 cat >>conftest.
$ac_ext <<_ACEOF
32498 /* end confdefs.h. */
32499 $ac_includes_default
32505 if (sizeof (ssize_t))
32511 rm -f conftest.
$ac_objext
32512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32513 (eval $ac_compile) 2>conftest.er1
32515 grep -v '^ *+' conftest.er1
>conftest.err
32517 cat conftest.err
>&5
32518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32519 (exit $ac_status); } &&
32520 { ac_try
='test -z "$ac_c_werror_flag"
32521 || test ! -s conftest.err'
32522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32523 (eval $ac_try) 2>&5
32525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 (exit $ac_status); }; } &&
32527 { ac_try
='test -s conftest.$ac_objext'
32528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32529 (eval $ac_try) 2>&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); }; }; then
32533 ac_cv_type_ssize_t
=yes
32535 echo "$as_me: failed program was:" >&5
32536 sed 's/^/| /' conftest.
$ac_ext >&5
32538 ac_cv_type_ssize_t
=no
32540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32542 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32543 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32544 if test $ac_cv_type_ssize_t = yes; then
32546 cat >>confdefs.h
<<_ACEOF
32547 #define HAVE_SSIZE_T 1
32557 ac_cpp
='$CXXCPP $CPPFLAGS'
32558 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32559 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32560 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32562 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32563 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32564 if test "${wx_cv_size_t_is_uint+set}" = set; then
32565 echo $ECHO_N "(cached) $ECHO_C" >&6
32568 cat >conftest.
$ac_ext <<_ACEOF
32571 cat confdefs.h
>>conftest.
$ac_ext
32572 cat >>conftest.
$ac_ext <<_ACEOF
32573 /* end confdefs.h. */
32574 #include <stddef.h>
32581 struct Foo { void foo(size_t); void foo(unsigned int); };
32589 rm -f conftest.
$ac_objext
32590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32591 (eval $ac_compile) 2>conftest.er1
32593 grep -v '^ *+' conftest.er1
>conftest.err
32595 cat conftest.err
>&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); } &&
32598 { ac_try
='test -z "$ac_cxx_werror_flag"
32599 || test ! -s conftest.err'
32600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32601 (eval $ac_try) 2>&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); }; } &&
32605 { ac_try
='test -s conftest.$ac_objext'
32606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32607 (eval $ac_try) 2>&5
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 (exit $ac_status); }; }; then
32611 wx_cv_size_t_is_uint
=no
32613 echo "$as_me: failed program was:" >&5
32614 sed 's/^/| /' conftest.
$ac_ext >&5
32616 wx_cv_size_t_is_uint
=yes
32619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32623 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32624 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32626 if test "$wx_cv_size_t_is_uint" = "yes"; then
32627 cat >>confdefs.h
<<\_ACEOF
32628 #define wxSIZE_T_IS_UINT 1
32632 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32633 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32634 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32635 echo $ECHO_N "(cached) $ECHO_C" >&6
32637 cat >conftest.
$ac_ext <<_ACEOF
32640 cat confdefs.h
>>conftest.
$ac_ext
32641 cat >>conftest.
$ac_ext <<_ACEOF
32642 /* end confdefs.h. */
32643 #include <stddef.h>
32650 struct Foo { void foo(size_t); void foo(unsigned long); };
32658 rm -f conftest.
$ac_objext
32659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32660 (eval $ac_compile) 2>conftest.er1
32662 grep -v '^ *+' conftest.er1
>conftest.err
32664 cat conftest.err
>&5
32665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32666 (exit $ac_status); } &&
32667 { ac_try
='test -z "$ac_cxx_werror_flag"
32668 || test ! -s conftest.err'
32669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32670 (eval $ac_try) 2>&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); }; } &&
32674 { ac_try
='test -s conftest.$ac_objext'
32675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32676 (eval $ac_try) 2>&5
32678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679 (exit $ac_status); }; }; then
32680 wx_cv_size_t_is_ulong
=no
32682 echo "$as_me: failed program was:" >&5
32683 sed 's/^/| /' conftest.
$ac_ext >&5
32685 wx_cv_size_t_is_ulong
=yes
32688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32691 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32692 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32694 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32695 cat >>confdefs.h
<<\_ACEOF
32696 #define wxSIZE_T_IS_ULONG 1
32703 ac_cpp
='$CPP $CPPFLAGS'
32704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32710 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32711 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32712 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32713 echo $ECHO_N "(cached) $ECHO_C" >&6
32716 cat >conftest.
$ac_ext <<_ACEOF
32719 cat confdefs.h
>>conftest.
$ac_ext
32720 cat >>conftest.
$ac_ext <<_ACEOF
32721 /* end confdefs.h. */
32735 rm -f conftest.
$ac_objext
32736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32737 (eval $ac_compile) 2>conftest.er1
32739 grep -v '^ *+' conftest.er1
>conftest.err
32741 cat conftest.err
>&5
32742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32743 (exit $ac_status); } &&
32744 { ac_try
='test -z "$ac_c_werror_flag"
32745 || test ! -s conftest.err'
32746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32747 (eval $ac_try) 2>&5
32749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32750 (exit $ac_status); }; } &&
32751 { ac_try
='test -s conftest.$ac_objext'
32752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32753 (eval $ac_try) 2>&5
32755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 (exit $ac_status); }; }; then
32758 wx_cv_struct_pw_gecos
=yes
32761 echo "$as_me: failed program was:" >&5
32762 sed 's/^/| /' conftest.
$ac_ext >&5
32765 wx_cv_struct_pw_gecos
=no
32769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32773 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32774 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32776 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32777 cat >>confdefs.h
<<\_ACEOF
32778 #define HAVE_PW_GECOS 1
32784 if test "$wxUSE_WCHAR_T" = "yes"; then
32785 cat >>confdefs.h
<<\_ACEOF
32786 #define wxUSE_WCHAR_T 1
32793 for ac_func
in wcslen
32795 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32796 echo "$as_me:$LINENO: checking for $ac_func" >&5
32797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32798 if eval "test \"\${$as_ac_var+set}\" = set"; then
32799 echo $ECHO_N "(cached) $ECHO_C" >&6
32801 cat >conftest.
$ac_ext <<_ACEOF
32804 cat confdefs.h
>>conftest.
$ac_ext
32805 cat >>conftest.
$ac_ext <<_ACEOF
32806 /* end confdefs.h. */
32807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32809 #define $ac_func innocuous_$ac_func
32811 /* System header to define __stub macros and hopefully few prototypes,
32812 which can conflict with char $ac_func (); below.
32813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32814 <limits.h> exists even on freestanding compilers. */
32817 # include <limits.h>
32819 # include <assert.h>
32824 /* Override any gcc2 internal prototype to avoid an error. */
32829 /* We use char because int might match the return type of a gcc2
32830 builtin and then its argument prototype would still apply. */
32832 /* The GNU C library defines this for functions which it implements
32833 to always fail with ENOSYS. Some functions are actually named
32834 something starting with __ and the normal name is an alias. */
32835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32838 char (*f) () = $ac_func;
32847 return f != $ac_func;
32852 rm -f conftest.
$ac_objext conftest
$ac_exeext
32853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32854 (eval $ac_link) 2>conftest.er1
32856 grep -v '^ *+' conftest.er1
>conftest.err
32858 cat conftest.err
>&5
32859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860 (exit $ac_status); } &&
32861 { ac_try
='test -z "$ac_c_werror_flag"
32862 || test ! -s conftest.err'
32863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864 (eval $ac_try) 2>&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); }; } &&
32868 { ac_try
='test -s conftest$ac_exeext'
32869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32870 (eval $ac_try) 2>&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); }; }; then
32874 eval "$as_ac_var=yes"
32876 echo "$as_me: failed program was:" >&5
32877 sed 's/^/| /' conftest.
$ac_ext >&5
32879 eval "$as_ac_var=no"
32881 rm -f conftest.err conftest.
$ac_objext \
32882 conftest
$ac_exeext conftest.
$ac_ext
32884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32886 if test `eval echo '${'$as_ac_var'}'` = yes; then
32887 cat >>confdefs.h
<<_ACEOF
32888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32895 if test "$WCSLEN_FOUND" = 0; then
32896 if test "$TOOLKIT" = "MSW"; then
32897 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32898 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32899 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32900 echo $ECHO_N "(cached) $ECHO_C" >&6
32902 ac_check_lib_save_LIBS
=$LIBS
32903 LIBS
="-lmsvcrt $LIBS"
32904 cat >conftest.
$ac_ext <<_ACEOF
32907 cat confdefs.h
>>conftest.
$ac_ext
32908 cat >>conftest.
$ac_ext <<_ACEOF
32909 /* end confdefs.h. */
32911 /* Override any gcc2 internal prototype to avoid an error. */
32915 /* We use char because int might match the return type of a gcc2
32916 builtin and then its argument prototype would still apply. */
32926 rm -f conftest.
$ac_objext conftest
$ac_exeext
32927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32928 (eval $ac_link) 2>conftest.er1
32930 grep -v '^ *+' conftest.er1
>conftest.err
32932 cat conftest.err
>&5
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); } &&
32935 { ac_try
='test -z "$ac_c_werror_flag"
32936 || test ! -s conftest.err'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; } &&
32942 { ac_try
='test -s conftest$ac_exeext'
32943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32944 (eval $ac_try) 2>&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); }; }; then
32948 ac_cv_lib_msvcrt_wcslen
=yes
32950 echo "$as_me: failed program was:" >&5
32951 sed 's/^/| /' conftest.
$ac_ext >&5
32953 ac_cv_lib_msvcrt_wcslen
=no
32955 rm -f conftest.err conftest.
$ac_objext \
32956 conftest
$ac_exeext conftest.
$ac_ext
32957 LIBS
=$ac_check_lib_save_LIBS
32959 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32960 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32961 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32966 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32967 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32968 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32969 echo $ECHO_N "(cached) $ECHO_C" >&6
32971 ac_check_lib_save_LIBS
=$LIBS
32973 cat >conftest.
$ac_ext <<_ACEOF
32976 cat confdefs.h
>>conftest.
$ac_ext
32977 cat >>conftest.
$ac_ext <<_ACEOF
32978 /* end confdefs.h. */
32980 /* Override any gcc2 internal prototype to avoid an error. */
32984 /* We use char because int might match the return type of a gcc2
32985 builtin and then its argument prototype would still apply. */
32995 rm -f conftest.
$ac_objext conftest
$ac_exeext
32996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32997 (eval $ac_link) 2>conftest.er1
32999 grep -v '^ *+' conftest.er1
>conftest.err
33001 cat conftest.err
>&5
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); } &&
33004 { ac_try
='test -z "$ac_c_werror_flag"
33005 || test ! -s conftest.err'
33006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33007 (eval $ac_try) 2>&5
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); }; } &&
33011 { ac_try
='test -s conftest$ac_exeext'
33012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33013 (eval $ac_try) 2>&5
33015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33016 (exit $ac_status); }; }; then
33017 ac_cv_lib_w_wcslen
=yes
33019 echo "$as_me: failed program was:" >&5
33020 sed 's/^/| /' conftest.
$ac_ext >&5
33022 ac_cv_lib_w_wcslen
=no
33024 rm -f conftest.err conftest.
$ac_objext \
33025 conftest
$ac_exeext conftest.
$ac_ext
33026 LIBS
=$ac_check_lib_save_LIBS
33028 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33029 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33030 if test $ac_cv_lib_w_wcslen = yes; then
33040 if test "$WCSLEN_FOUND" = 1; then
33041 cat >>confdefs.h
<<\_ACEOF
33042 #define HAVE_WCSLEN 1
33047 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33048 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33051 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33052 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33053 if test "${ac_cv_type_mbstate_t+set}" = set; then
33054 echo $ECHO_N "(cached) $ECHO_C" >&6
33056 cat >conftest.
$ac_ext <<_ACEOF
33059 cat confdefs.h
>>conftest.
$ac_ext
33060 cat >>conftest.
$ac_ext <<_ACEOF
33061 /* end confdefs.h. */
33067 if ((mbstate_t *) 0)
33069 if (sizeof (mbstate_t))
33075 rm -f conftest.
$ac_objext
33076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33077 (eval $ac_compile) 2>conftest.er1
33079 grep -v '^ *+' conftest.er1
>conftest.err
33081 cat conftest.err
>&5
33082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33083 (exit $ac_status); } &&
33084 { ac_try
='test -z "$ac_c_werror_flag"
33085 || test ! -s conftest.err'
33086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33087 (eval $ac_try) 2>&5
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); }; } &&
33091 { ac_try
='test -s conftest.$ac_objext'
33092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33093 (eval $ac_try) 2>&5
33095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096 (exit $ac_status); }; }; then
33097 ac_cv_type_mbstate_t
=yes
33099 echo "$as_me: failed program was:" >&5
33100 sed 's/^/| /' conftest.
$ac_ext >&5
33102 ac_cv_type_mbstate_t
=no
33104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33106 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33107 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33108 if test $ac_cv_type_mbstate_t = yes; then
33110 cat >>confdefs.h
<<_ACEOF
33111 #define HAVE_MBSTATE_T 1
33115 for ac_func
in wcsrtombs
33117 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33118 echo "$as_me:$LINENO: checking for $ac_func" >&5
33119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33120 if eval "test \"\${$as_ac_var+set}\" = set"; then
33121 echo $ECHO_N "(cached) $ECHO_C" >&6
33123 cat >conftest.
$ac_ext <<_ACEOF
33126 cat confdefs.h
>>conftest.
$ac_ext
33127 cat >>conftest.
$ac_ext <<_ACEOF
33128 /* end confdefs.h. */
33129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33131 #define $ac_func innocuous_$ac_func
33133 /* System header to define __stub macros and hopefully few prototypes,
33134 which can conflict with char $ac_func (); below.
33135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33136 <limits.h> exists even on freestanding compilers. */
33139 # include <limits.h>
33141 # include <assert.h>
33146 /* Override any gcc2 internal prototype to avoid an error. */
33151 /* We use char because int might match the return type of a gcc2
33152 builtin and then its argument prototype would still apply. */
33154 /* The GNU C library defines this for functions which it implements
33155 to always fail with ENOSYS. Some functions are actually named
33156 something starting with __ and the normal name is an alias. */
33157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33160 char (*f) () = $ac_func;
33169 return f != $ac_func;
33174 rm -f conftest.
$ac_objext conftest
$ac_exeext
33175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33176 (eval $ac_link) 2>conftest.er1
33178 grep -v '^ *+' conftest.er1
>conftest.err
33180 cat conftest.err
>&5
33181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182 (exit $ac_status); } &&
33183 { ac_try
='test -z "$ac_c_werror_flag"
33184 || test ! -s conftest.err'
33185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33186 (eval $ac_try) 2>&5
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); }; } &&
33190 { ac_try
='test -s conftest$ac_exeext'
33191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33192 (eval $ac_try) 2>&5
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); }; }; then
33196 eval "$as_ac_var=yes"
33198 echo "$as_me: failed program was:" >&5
33199 sed 's/^/| /' conftest.
$ac_ext >&5
33201 eval "$as_ac_var=no"
33203 rm -f conftest.err conftest.
$ac_objext \
33204 conftest
$ac_exeext conftest.
$ac_ext
33206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33208 if test `eval echo '${'$as_ac_var'}'` = yes; then
33209 cat >>confdefs.h
<<_ACEOF
33210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33219 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33220 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33226 ac_cpp
='$CXXCPP $CPPFLAGS'
33227 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33228 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33229 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33234 for ac_func
in snprintf vsnprintf
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_cxx_werror_flag"
33303 || test ! -s conftest.err'
33304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33305 (eval $ac_try) 2>&5
33307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308 (exit $ac_status); }; } &&
33309 { ac_try
='test -s conftest$ac_exeext'
33310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33311 (eval $ac_try) 2>&5
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); }; }; then
33315 eval "$as_ac_var=yes"
33317 echo "$as_me: failed program was:" >&5
33318 sed 's/^/| /' conftest.
$ac_ext >&5
33320 eval "$as_ac_var=no"
33322 rm -f conftest.err conftest.
$ac_objext \
33323 conftest
$ac_exeext conftest.
$ac_ext
33325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33327 if test `eval echo '${'$as_ac_var'}'` = yes; then
33328 cat >>confdefs.h
<<_ACEOF
33329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33336 if test "$ac_cv_func_vsnprintf" = "yes"; then
33337 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33338 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33339 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33340 echo $ECHO_N "(cached) $ECHO_C" >&6
33343 cat >conftest.
$ac_ext <<_ACEOF
33346 cat confdefs.h
>>conftest.
$ac_ext
33347 cat >>conftest.
$ac_ext <<_ACEOF
33348 /* end confdefs.h. */
33351 #include <stdarg.h>
33353 #if __MSL__ >= 0x6000
33355 using namespace std;
33365 vsnprintf(buf, 10u, "%s", ap);
33371 rm -f conftest.
$ac_objext
33372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33373 (eval $ac_compile) 2>conftest.er1
33375 grep -v '^ *+' conftest.er1
>conftest.err
33377 cat conftest.err
>&5
33378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33379 (exit $ac_status); } &&
33380 { ac_try
='test -z "$ac_cxx_werror_flag"
33381 || test ! -s conftest.err'
33382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33383 (eval $ac_try) 2>&5
33385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33386 (exit $ac_status); }; } &&
33387 { ac_try
='test -s conftest.$ac_objext'
33388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33389 (eval $ac_try) 2>&5
33391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392 (exit $ac_status); }; }; then
33393 wx_cv_func_vsnprintf_decl
=yes
33395 echo "$as_me: failed program was:" >&5
33396 sed 's/^/| /' conftest.
$ac_ext >&5
33398 wx_cv_func_vsnprintf_decl
=no
33401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33405 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33406 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33408 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33409 cat >>confdefs.h
<<\_ACEOF
33410 #define HAVE_VSNPRINTF_DECL 1
33414 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33415 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33416 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33417 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 cat >conftest.
$ac_ext <<_ACEOF
33423 cat confdefs.h
>>conftest.
$ac_ext
33424 cat >>conftest.
$ac_ext <<_ACEOF
33425 /* end confdefs.h. */
33428 #include <stdarg.h>
33430 #if __MSL__ >= 0x6000
33432 using namespace std;
33442 const char *fmt = "%s";
33443 vsnprintf(buf, 10u, fmt, ap);
33449 rm -f conftest.
$ac_objext
33450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33451 (eval $ac_compile) 2>conftest.er1
33453 grep -v '^ *+' conftest.er1
>conftest.err
33455 cat conftest.err
>&5
33456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33457 (exit $ac_status); } &&
33458 { ac_try
='test -z "$ac_cxx_werror_flag"
33459 || test ! -s conftest.err'
33460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33461 (eval $ac_try) 2>&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); }; } &&
33465 { ac_try
='test -s conftest.$ac_objext'
33466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33467 (eval $ac_try) 2>&5
33469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33470 (exit $ac_status); }; }; then
33471 wx_cv_func_broken_vsnprintf_decl
=no
33473 echo "$as_me: failed program was:" >&5
33474 sed 's/^/| /' conftest.
$ac_ext >&5
33476 wx_cv_func_broken_vsnprintf_decl
=yes
33479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33483 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33484 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33486 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33487 cat >>confdefs.h
<<\_ACEOF
33488 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33495 if test "$ac_cv_func_snprintf" = "yes"; then
33496 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33497 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33498 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33499 echo $ECHO_N "(cached) $ECHO_C" >&6
33502 cat >conftest.
$ac_ext <<_ACEOF
33505 cat confdefs.h
>>conftest.
$ac_ext
33506 cat >>conftest.
$ac_ext <<_ACEOF
33507 /* end confdefs.h. */
33510 #include <stdarg.h>
33512 #if __MSL__ >= 0x6000
33514 using namespace std;
33523 snprintf(buf, 10u, "%s", "wx");
33529 rm -f conftest.
$ac_objext
33530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33531 (eval $ac_compile) 2>conftest.er1
33533 grep -v '^ *+' conftest.er1
>conftest.err
33535 cat conftest.err
>&5
33536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33537 (exit $ac_status); } &&
33538 { ac_try
='test -z "$ac_cxx_werror_flag"
33539 || test ! -s conftest.err'
33540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33541 (eval $ac_try) 2>&5
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); }; } &&
33545 { ac_try
='test -s conftest.$ac_objext'
33546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33547 (eval $ac_try) 2>&5
33549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33550 (exit $ac_status); }; }; then
33551 wx_cv_func_snprintf_decl
=yes
33553 echo "$as_me: failed program was:" >&5
33554 sed 's/^/| /' conftest.
$ac_ext >&5
33556 wx_cv_func_snprintf_decl
=no
33559 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33563 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33564 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33566 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33567 cat >>confdefs.h
<<\_ACEOF
33568 #define HAVE_SNPRINTF_DECL 1
33572 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33573 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33574 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33575 echo $ECHO_N "(cached) $ECHO_C" >&6
33578 cat >conftest.
$ac_ext <<_ACEOF
33581 cat confdefs.h
>>conftest.
$ac_ext
33582 cat >>conftest.
$ac_ext <<_ACEOF
33583 /* end confdefs.h. */
33586 #include <stdarg.h>
33588 #if __MSL__ >= 0x6000
33590 using namespace std;
33599 const char *fmt = "%s";
33600 snprintf(buf, 10u, fmt, "wx");
33606 rm -f conftest.
$ac_objext
33607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33608 (eval $ac_compile) 2>conftest.er1
33610 grep -v '^ *+' conftest.er1
>conftest.err
33612 cat conftest.err
>&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); } &&
33615 { ac_try
='test -z "$ac_cxx_werror_flag"
33616 || test ! -s conftest.err'
33617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33618 (eval $ac_try) 2>&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); }; } &&
33622 { ac_try
='test -s conftest.$ac_objext'
33623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33624 (eval $ac_try) 2>&5
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); }; }; then
33628 wx_cv_func_broken_snprintf_decl
=no
33630 echo "$as_me: failed program was:" >&5
33631 sed 's/^/| /' conftest.
$ac_ext >&5
33633 wx_cv_func_broken_snprintf_decl
=yes
33636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33640 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33641 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33643 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33644 cat >>confdefs.h
<<\_ACEOF
33645 #define HAVE_BROKEN_SNPRINTF_DECL 1
33652 if test "$wxUSE_UNICODE" = yes; then
33659 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33661 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33662 echo "$as_me:$LINENO: checking for $ac_func" >&5
33663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33664 if eval "test \"\${$as_ac_var+set}\" = set"; then
33665 echo $ECHO_N "(cached) $ECHO_C" >&6
33667 cat >conftest.
$ac_ext <<_ACEOF
33670 cat confdefs.h
>>conftest.
$ac_ext
33671 cat >>conftest.
$ac_ext <<_ACEOF
33672 /* end confdefs.h. */
33673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33675 #define $ac_func innocuous_$ac_func
33677 /* System header to define __stub macros and hopefully few prototypes,
33678 which can conflict with char $ac_func (); below.
33679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33680 <limits.h> exists even on freestanding compilers. */
33683 # include <limits.h>
33685 # include <assert.h>
33690 /* Override any gcc2 internal prototype to avoid an error. */
33695 /* We use char because int might match the return type of a gcc2
33696 builtin and then its argument prototype would still apply. */
33698 /* The GNU C library defines this for functions which it implements
33699 to always fail with ENOSYS. Some functions are actually named
33700 something starting with __ and the normal name is an alias. */
33701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33704 char (*f) () = $ac_func;
33713 return f != $ac_func;
33718 rm -f conftest.
$ac_objext conftest
$ac_exeext
33719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33720 (eval $ac_link) 2>conftest.er1
33722 grep -v '^ *+' conftest.er1
>conftest.err
33724 cat conftest.err
>&5
33725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726 (exit $ac_status); } &&
33727 { ac_try
='test -z "$ac_cxx_werror_flag"
33728 || test ! -s conftest.err'
33729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33730 (eval $ac_try) 2>&5
33732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33733 (exit $ac_status); }; } &&
33734 { ac_try
='test -s conftest$ac_exeext'
33735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33736 (eval $ac_try) 2>&5
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); }; }; then
33740 eval "$as_ac_var=yes"
33742 echo "$as_me: failed program was:" >&5
33743 sed 's/^/| /' conftest.
$ac_ext >&5
33745 eval "$as_ac_var=no"
33747 rm -f conftest.err conftest.
$ac_objext \
33748 conftest
$ac_exeext conftest.
$ac_ext
33750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33752 if test `eval echo '${'$as_ac_var'}'` = yes; then
33753 cat >>confdefs.h
<<_ACEOF
33754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33761 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33762 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33763 cat >conftest.
$ac_ext <<_ACEOF
33766 cat confdefs.h
>>conftest.
$ac_ext
33767 cat >>conftest.
$ac_ext <<_ACEOF
33768 /* end confdefs.h. */
33778 rm -f conftest.
$ac_objext
33779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33780 (eval $ac_compile) 2>conftest.er1
33782 grep -v '^ *+' conftest.er1
>conftest.err
33784 cat conftest.err
>&5
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); } &&
33787 { ac_try
='test -z "$ac_cxx_werror_flag"
33788 || test ! -s conftest.err'
33789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33790 (eval $ac_try) 2>&5
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); }; } &&
33794 { ac_try
='test -s conftest.$ac_objext'
33795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796 (eval $ac_try) 2>&5
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); }; }; then
33800 echo "$as_me:$LINENO: result: yes" >&5
33801 echo "${ECHO_T}yes" >&6
33802 cat >>confdefs.h
<<\_ACEOF
33803 #define HAVE__VSNWPRINTF 1
33807 echo "$as_me: failed program was:" >&5
33808 sed 's/^/| /' conftest.
$ac_ext >&5
33810 echo "$as_me:$LINENO: result: no" >&5
33811 echo "${ECHO_T}no" >&6
33813 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33817 ac_cpp
='$CPP $CPPFLAGS'
33818 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33819 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33820 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33823 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33825 for ac_func
in fnmatch
33827 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33828 echo "$as_me:$LINENO: checking for $ac_func" >&5
33829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33830 if eval "test \"\${$as_ac_var+set}\" = set"; then
33831 echo $ECHO_N "(cached) $ECHO_C" >&6
33833 cat >conftest.
$ac_ext <<_ACEOF
33836 cat confdefs.h
>>conftest.
$ac_ext
33837 cat >>conftest.
$ac_ext <<_ACEOF
33838 /* end confdefs.h. */
33839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33841 #define $ac_func innocuous_$ac_func
33843 /* System header to define __stub macros and hopefully few prototypes,
33844 which can conflict with char $ac_func (); below.
33845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33846 <limits.h> exists even on freestanding compilers. */
33849 # include <limits.h>
33851 # include <assert.h>
33856 /* Override any gcc2 internal prototype to avoid an error. */
33861 /* We use char because int might match the return type of a gcc2
33862 builtin and then its argument prototype would still apply. */
33864 /* The GNU C library defines this for functions which it implements
33865 to always fail with ENOSYS. Some functions are actually named
33866 something starting with __ and the normal name is an alias. */
33867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33870 char (*f) () = $ac_func;
33879 return f != $ac_func;
33884 rm -f conftest.
$ac_objext conftest
$ac_exeext
33885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33886 (eval $ac_link) 2>conftest.er1
33888 grep -v '^ *+' conftest.er1
>conftest.err
33890 cat conftest.err
>&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); } &&
33893 { ac_try
='test -z "$ac_c_werror_flag"
33894 || test ! -s conftest.err'
33895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33896 (eval $ac_try) 2>&5
33898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899 (exit $ac_status); }; } &&
33900 { ac_try
='test -s conftest$ac_exeext'
33901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33902 (eval $ac_try) 2>&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); }; }; then
33906 eval "$as_ac_var=yes"
33908 echo "$as_me: failed program was:" >&5
33909 sed 's/^/| /' conftest.
$ac_ext >&5
33911 eval "$as_ac_var=no"
33913 rm -f conftest.err conftest.
$ac_objext \
33914 conftest
$ac_exeext conftest.
$ac_ext
33916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33918 if test `eval echo '${'$as_ac_var'}'` = yes; then
33919 cat >>confdefs.h
<<_ACEOF
33920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33928 if test "$wxUSE_FILE" = "yes"; then
33930 for ac_func
in fsync
33932 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33933 echo "$as_me:$LINENO: checking for $ac_func" >&5
33934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33935 if eval "test \"\${$as_ac_var+set}\" = set"; then
33936 echo $ECHO_N "(cached) $ECHO_C" >&6
33938 cat >conftest.
$ac_ext <<_ACEOF
33941 cat confdefs.h
>>conftest.
$ac_ext
33942 cat >>conftest.
$ac_ext <<_ACEOF
33943 /* end confdefs.h. */
33944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33946 #define $ac_func innocuous_$ac_func
33948 /* System header to define __stub macros and hopefully few prototypes,
33949 which can conflict with char $ac_func (); below.
33950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33951 <limits.h> exists even on freestanding compilers. */
33954 # include <limits.h>
33956 # include <assert.h>
33961 /* Override any gcc2 internal prototype to avoid an error. */
33966 /* We use char because int might match the return type of a gcc2
33967 builtin and then its argument prototype would still apply. */
33969 /* The GNU C library defines this for functions which it implements
33970 to always fail with ENOSYS. Some functions are actually named
33971 something starting with __ and the normal name is an alias. */
33972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33975 char (*f) () = $ac_func;
33984 return f != $ac_func;
33989 rm -f conftest.
$ac_objext conftest
$ac_exeext
33990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33991 (eval $ac_link) 2>conftest.er1
33993 grep -v '^ *+' conftest.er1
>conftest.err
33995 cat conftest.err
>&5
33996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33997 (exit $ac_status); } &&
33998 { ac_try
='test -z "$ac_c_werror_flag"
33999 || test ! -s conftest.err'
34000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34001 (eval $ac_try) 2>&5
34003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34004 (exit $ac_status); }; } &&
34005 { ac_try
='test -s conftest$ac_exeext'
34006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34007 (eval $ac_try) 2>&5
34009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34010 (exit $ac_status); }; }; then
34011 eval "$as_ac_var=yes"
34013 echo "$as_me: failed program was:" >&5
34014 sed 's/^/| /' conftest.
$ac_ext >&5
34016 eval "$as_ac_var=no"
34018 rm -f conftest.err conftest.
$ac_objext \
34019 conftest
$ac_exeext conftest.
$ac_ext
34021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34023 if test `eval echo '${'$as_ac_var'}'` = yes; then
34024 cat >>confdefs.h
<<_ACEOF
34025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34034 if test "$TOOLKIT" != "MSW"; then
34040 ac_cpp
='$CXXCPP $CPPFLAGS'
34041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34048 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34049 if test "${with_libiconv_prefix+set}" = set; then
34050 withval
="$with_libiconv_prefix"
34052 for dir
in `echo "$withval" | tr : ' '`; do
34053 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34054 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34059 echo "$as_me:$LINENO: checking for iconv" >&5
34060 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34061 if test "${am_cv_func_iconv+set}" = set; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34065 am_cv_func_iconv
="no, consider installing GNU libiconv"
34067 cat >conftest.
$ac_ext <<_ACEOF
34070 cat confdefs.h
>>conftest.
$ac_ext
34071 cat >>conftest.
$ac_ext <<_ACEOF
34072 /* end confdefs.h. */
34073 #include <stdlib.h>
34078 iconv_t cd = iconv_open("","");
34079 iconv(cd,NULL,NULL,NULL,NULL);
34085 rm -f conftest.
$ac_objext conftest
$ac_exeext
34086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34087 (eval $ac_link) 2>conftest.er1
34089 grep -v '^ *+' conftest.er1
>conftest.err
34091 cat conftest.err
>&5
34092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34093 (exit $ac_status); } &&
34094 { ac_try
='test -z "$ac_cxx_werror_flag"
34095 || test ! -s conftest.err'
34096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34097 (eval $ac_try) 2>&5
34099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100 (exit $ac_status); }; } &&
34101 { ac_try
='test -s conftest$ac_exeext'
34102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103 (eval $ac_try) 2>&5
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); }; }; then
34107 am_cv_func_iconv
=yes
34109 echo "$as_me: failed program was:" >&5
34110 sed 's/^/| /' conftest.
$ac_ext >&5
34113 rm -f conftest.err conftest.
$ac_objext \
34114 conftest
$ac_exeext conftest.
$ac_ext
34115 if test "$am_cv_func_iconv" != yes; then
34116 am_save_LIBS
="$LIBS"
34117 LIBS
="$LIBS -liconv"
34118 cat >conftest.
$ac_ext <<_ACEOF
34121 cat confdefs.h
>>conftest.
$ac_ext
34122 cat >>conftest.
$ac_ext <<_ACEOF
34123 /* end confdefs.h. */
34124 #include <stdlib.h>
34129 iconv_t cd = iconv_open("","");
34130 iconv(cd,NULL,NULL,NULL,NULL);
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_cxx_werror_flag"
34146 || test ! -s conftest.err'
34147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34148 (eval $ac_try) 2>&5
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; } &&
34152 { ac_try
='test -s conftest$ac_exeext'
34153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34154 (eval $ac_try) 2>&5
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); }; }; then
34158 am_cv_lib_iconv
=yes
34159 am_cv_func_iconv
=yes
34161 echo "$as_me: failed program was:" >&5
34162 sed 's/^/| /' conftest.
$ac_ext >&5
34165 rm -f conftest.err conftest.
$ac_objext \
34166 conftest
$ac_exeext conftest.
$ac_ext
34167 LIBS
="$am_save_LIBS"
34171 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34172 echo "${ECHO_T}$am_cv_func_iconv" >&6
34173 if test "$am_cv_func_iconv" = yes; then
34175 cat >>confdefs.h
<<\_ACEOF
34176 #define HAVE_ICONV 1
34179 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34180 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34181 if test "${wx_cv_func_iconv_const+set}" = set; then
34182 echo $ECHO_N "(cached) $ECHO_C" >&6
34184 cat >conftest.
$ac_ext <<_ACEOF
34187 cat confdefs.h
>>conftest.
$ac_ext
34188 cat >>conftest.
$ac_ext <<_ACEOF
34189 /* end confdefs.h. */
34191 #include <stdlib.h>
34197 #if defined(__STDC__) || defined(__cplusplus)
34198 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34211 rm -f conftest.
$ac_objext
34212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34213 (eval $ac_compile) 2>conftest.er1
34215 grep -v '^ *+' conftest.er1
>conftest.err
34217 cat conftest.err
>&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); } &&
34220 { ac_try
='test -z "$ac_cxx_werror_flag"
34221 || test ! -s conftest.err'
34222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34223 (eval $ac_try) 2>&5
34225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34226 (exit $ac_status); }; } &&
34227 { ac_try
='test -s conftest.$ac_objext'
34228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34229 (eval $ac_try) 2>&5
34231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34232 (exit $ac_status); }; }; then
34233 wx_cv_func_iconv_const
="no"
34235 echo "$as_me: failed program was:" >&5
34236 sed 's/^/| /' conftest.
$ac_ext >&5
34238 wx_cv_func_iconv_const
="yes"
34241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34244 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34245 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34248 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34249 iconv_const
="const"
34253 cat >>confdefs.h
<<_ACEOF
34254 #define ICONV_CONST $iconv_const
34259 if test "$am_cv_lib_iconv" = yes; then
34264 LIBS
="$LIBICONV $LIBS"
34266 ac_cpp
='$CPP $CPPFLAGS'
34267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34272 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34274 for ac_func
in sigaction
34276 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34277 echo "$as_me:$LINENO: checking for $ac_func" >&5
34278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34279 if eval "test \"\${$as_ac_var+set}\" = set"; then
34280 echo $ECHO_N "(cached) $ECHO_C" >&6
34282 cat >conftest.
$ac_ext <<_ACEOF
34285 cat confdefs.h
>>conftest.
$ac_ext
34286 cat >>conftest.
$ac_ext <<_ACEOF
34287 /* end confdefs.h. */
34288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34290 #define $ac_func innocuous_$ac_func
34292 /* System header to define __stub macros and hopefully few prototypes,
34293 which can conflict with char $ac_func (); below.
34294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34295 <limits.h> exists even on freestanding compilers. */
34298 # include <limits.h>
34300 # include <assert.h>
34305 /* Override any gcc2 internal prototype to avoid an error. */
34310 /* We use char because int might match the return type of a gcc2
34311 builtin and then its argument prototype would still apply. */
34313 /* The GNU C library defines this for functions which it implements
34314 to always fail with ENOSYS. Some functions are actually named
34315 something starting with __ and the normal name is an alias. */
34316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34319 char (*f) () = $ac_func;
34328 return f != $ac_func;
34333 rm -f conftest.
$ac_objext conftest
$ac_exeext
34334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34335 (eval $ac_link) 2>conftest.er1
34337 grep -v '^ *+' conftest.er1
>conftest.err
34339 cat conftest.err
>&5
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 (exit $ac_status); } &&
34342 { ac_try
='test -z "$ac_c_werror_flag"
34343 || test ! -s conftest.err'
34344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34345 (eval $ac_try) 2>&5
34347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348 (exit $ac_status); }; } &&
34349 { ac_try
='test -s conftest$ac_exeext'
34350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34351 (eval $ac_try) 2>&5
34353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 (exit $ac_status); }; }; then
34355 eval "$as_ac_var=yes"
34357 echo "$as_me: failed program was:" >&5
34358 sed 's/^/| /' conftest.
$ac_ext >&5
34360 eval "$as_ac_var=no"
34362 rm -f conftest.err conftest.
$ac_objext \
34363 conftest
$ac_exeext conftest.
$ac_ext
34365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34367 if test `eval echo '${'$as_ac_var'}'` = yes; then
34368 cat >>confdefs.h
<<_ACEOF
34369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34376 if test "$ac_cv_func_sigaction" = "no"; then
34377 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34378 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34379 wxUSE_ON_FATAL_EXCEPTION
=no
34382 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34386 ac_cpp
='$CXXCPP $CPPFLAGS'
34387 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34392 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34393 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34394 if test "${wx_cv_type_sa_handler+set}" = set; then
34395 echo $ECHO_N "(cached) $ECHO_C" >&6
34398 cat >conftest.
$ac_ext <<_ACEOF
34401 cat confdefs.h
>>conftest.
$ac_ext
34402 cat >>conftest.
$ac_ext <<_ACEOF
34403 /* end confdefs.h. */
34404 #include <signal.h>
34409 extern void testSigHandler(int);
34411 struct sigaction sa;
34412 sa.sa_handler = testSigHandler;
34418 rm -f conftest.
$ac_objext
34419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34420 (eval $ac_compile) 2>conftest.er1
34422 grep -v '^ *+' conftest.er1
>conftest.err
34424 cat conftest.err
>&5
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); } &&
34427 { ac_try
='test -z "$ac_cxx_werror_flag"
34428 || test ! -s conftest.err'
34429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34430 (eval $ac_try) 2>&5
34432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433 (exit $ac_status); }; } &&
34434 { ac_try
='test -s conftest.$ac_objext'
34435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436 (eval $ac_try) 2>&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); }; }; then
34441 wx_cv_type_sa_handler
=int
34444 echo "$as_me: failed program was:" >&5
34445 sed 's/^/| /' conftest.
$ac_ext >&5
34448 wx_cv_type_sa_handler
=void
34451 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34454 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34455 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34458 ac_cpp
='$CPP $CPPFLAGS'
34459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34464 cat >>confdefs.h
<<_ACEOF
34465 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34471 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34475 ac_cpp
='$CXXCPP $CPPFLAGS'
34476 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34477 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34478 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34481 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34482 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34483 if test "${wx_cv_func_backtrace+set}" = set; then
34484 echo $ECHO_N "(cached) $ECHO_C" >&6
34487 cat >conftest.
$ac_ext <<_ACEOF
34490 cat confdefs.h
>>conftest.
$ac_ext
34491 cat >>conftest.
$ac_ext <<_ACEOF
34492 /* end confdefs.h. */
34493 #include <execinfo.h>
34501 backtrace(trace, 1);
34502 messages = backtrace_symbols(trace, 1);
34508 rm -f conftest.
$ac_objext
34509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34510 (eval $ac_compile) 2>conftest.er1
34512 grep -v '^ *+' conftest.er1
>conftest.err
34514 cat conftest.err
>&5
34515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516 (exit $ac_status); } &&
34517 { ac_try
='test -z "$ac_cxx_werror_flag"
34518 || test ! -s conftest.err'
34519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34520 (eval $ac_try) 2>&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); }; } &&
34524 { ac_try
='test -s conftest.$ac_objext'
34525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34526 (eval $ac_try) 2>&5
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); }; }; then
34530 wx_cv_func_backtrace
=yes
34532 echo "$as_me: failed program was:" >&5
34533 sed 's/^/| /' conftest.
$ac_ext >&5
34535 wx_cv_func_backtrace
=no
34538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34542 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34543 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34546 if test "$wx_cv_func_backtrace" = "no"; then
34547 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34548 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34549 wxUSE_STACKWALKER
=no
34551 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34552 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34553 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34554 echo $ECHO_N "(cached) $ECHO_C" >&6
34557 cat >conftest.
$ac_ext <<_ACEOF
34560 cat confdefs.h
>>conftest.
$ac_ext
34561 cat >>conftest.
$ac_ext <<_ACEOF
34562 /* end confdefs.h. */
34563 #include <cxxabi.h>
34569 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34575 rm -f conftest.
$ac_objext conftest
$ac_exeext
34576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34577 (eval $ac_link) 2>conftest.er1
34579 grep -v '^ *+' conftest.er1
>conftest.err
34581 cat conftest.err
>&5
34582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583 (exit $ac_status); } &&
34584 { ac_try
='test -z "$ac_cxx_werror_flag"
34585 || test ! -s conftest.err'
34586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34587 (eval $ac_try) 2>&5
34589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34590 (exit $ac_status); }; } &&
34591 { ac_try
='test -s conftest$ac_exeext'
34592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34593 (eval $ac_try) 2>&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); }; }; then
34597 wx_cv_func_cxa_demangle
=yes
34599 echo "$as_me: failed program was:" >&5
34600 sed 's/^/| /' conftest.
$ac_ext >&5
34602 wx_cv_func_cxa_demangle
=no
34605 rm -f conftest.err conftest.
$ac_objext \
34606 conftest
$ac_exeext conftest.
$ac_ext
34610 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34611 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34613 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34614 cat >>confdefs.h
<<\_ACEOF
34615 #define HAVE_CXA_DEMANGLE 1
34622 ac_cpp
='$CPP $CPPFLAGS'
34623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34629 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34630 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34631 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34632 wxUSE_STACKWALKER
=no
34638 for ac_func
in mkstemp mktemp
34640 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34641 echo "$as_me:$LINENO: checking for $ac_func" >&5
34642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34643 if eval "test \"\${$as_ac_var+set}\" = set"; then
34644 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 cat >conftest.
$ac_ext <<_ACEOF
34649 cat confdefs.h
>>conftest.
$ac_ext
34650 cat >>conftest.
$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34654 #define $ac_func innocuous_$ac_func
34656 /* System header to define __stub macros and hopefully few prototypes,
34657 which can conflict with char $ac_func (); below.
34658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34659 <limits.h> exists even on freestanding compilers. */
34662 # include <limits.h>
34664 # include <assert.h>
34669 /* Override any gcc2 internal prototype to avoid an error. */
34674 /* We use char because int might match the return type of a gcc2
34675 builtin and then its argument prototype would still apply. */
34677 /* The GNU C library defines this for functions which it implements
34678 to always fail with ENOSYS. Some functions are actually named
34679 something starting with __ and the normal name is an alias. */
34680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34683 char (*f) () = $ac_func;
34692 return f != $ac_func;
34697 rm -f conftest.
$ac_objext conftest
$ac_exeext
34698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34699 (eval $ac_link) 2>conftest.er1
34701 grep -v '^ *+' conftest.er1
>conftest.err
34703 cat conftest.err
>&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); } &&
34706 { ac_try
='test -z "$ac_c_werror_flag"
34707 || test ! -s conftest.err'
34708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34709 (eval $ac_try) 2>&5
34711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34712 (exit $ac_status); }; } &&
34713 { ac_try
='test -s conftest$ac_exeext'
34714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34715 (eval $ac_try) 2>&5
34717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34718 (exit $ac_status); }; }; then
34719 eval "$as_ac_var=yes"
34721 echo "$as_me: failed program was:" >&5
34722 sed 's/^/| /' conftest.
$ac_ext >&5
34724 eval "$as_ac_var=no"
34726 rm -f conftest.err conftest.
$ac_objext \
34727 conftest
$ac_exeext conftest.
$ac_ext
34729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34731 if test `eval echo '${'$as_ac_var'}'` = yes; then
34732 cat >>confdefs.h
<<_ACEOF
34733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34740 echo "$as_me:$LINENO: checking for statfs" >&5
34741 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34742 if test "${wx_cv_func_statfs+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34745 cat >conftest.
$ac_ext <<_ACEOF
34748 cat confdefs.h
>>conftest.
$ac_ext
34749 cat >>conftest.
$ac_ext <<_ACEOF
34750 /* end confdefs.h. */
34752 #if defined(__BSD__)
34753 #include <sys/param.h>
34754 #include <sys/mount.h>
34756 #include <sys/vfs.h>
34774 rm -f conftest.
$ac_objext
34775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34776 (eval $ac_compile) 2>conftest.er1
34778 grep -v '^ *+' conftest.er1
>conftest.err
34780 cat conftest.err
>&5
34781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34782 (exit $ac_status); } &&
34783 { ac_try
='test -z "$ac_c_werror_flag"
34784 || test ! -s conftest.err'
34785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34786 (eval $ac_try) 2>&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); }; } &&
34790 { ac_try
='test -s conftest.$ac_objext'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; }; then
34796 wx_cv_func_statfs
=yes
34798 echo "$as_me: failed program was:" >&5
34799 sed 's/^/| /' conftest.
$ac_ext >&5
34801 wx_cv_func_statfs
=no
34804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34807 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34808 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34810 if test "$wx_cv_func_statfs" = "yes"; then
34814 ac_cpp
='$CXXCPP $CPPFLAGS'
34815 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34819 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34820 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34821 if test "${wx_cv_func_statfs_decl+set}" = set; then
34822 echo $ECHO_N "(cached) $ECHO_C" >&6
34824 cat >conftest.
$ac_ext <<_ACEOF
34827 cat confdefs.h
>>conftest.
$ac_ext
34828 cat >>conftest.
$ac_ext <<_ACEOF
34829 /* end confdefs.h. */
34831 #if defined(__BSD__)
34832 #include <sys/param.h>
34833 #include <sys/mount.h>
34835 #include <sys/vfs.h>
34849 rm -f conftest.
$ac_objext
34850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34851 (eval $ac_compile) 2>conftest.er1
34853 grep -v '^ *+' conftest.er1
>conftest.err
34855 cat conftest.err
>&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } &&
34858 { ac_try
='test -z "$ac_cxx_werror_flag"
34859 || test ! -s conftest.err'
34860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34861 (eval $ac_try) 2>&5
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); }; } &&
34865 { ac_try
='test -s conftest.$ac_objext'
34866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34867 (eval $ac_try) 2>&5
34869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34870 (exit $ac_status); }; }; then
34871 wx_cv_func_statfs_decl
=yes
34873 echo "$as_me: failed program was:" >&5
34874 sed 's/^/| /' conftest.
$ac_ext >&5
34876 wx_cv_func_statfs_decl
=no
34879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34882 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34883 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34885 ac_cpp
='$CPP $CPPFLAGS'
34886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34891 if test "$wx_cv_func_statfs_decl" = "yes"; then
34892 cat >>confdefs.h
<<\_ACEOF
34893 #define HAVE_STATFS_DECL 1
34898 wx_cv_type_statvfs_t
="struct statfs"
34899 cat >>confdefs.h
<<\_ACEOF
34900 #define HAVE_STATFS 1
34904 echo "$as_me:$LINENO: checking for statvfs" >&5
34905 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34906 if test "${wx_cv_func_statvfs+set}" = set; then
34907 echo $ECHO_N "(cached) $ECHO_C" >&6
34909 cat >conftest.
$ac_ext <<_ACEOF
34912 cat confdefs.h
>>conftest.
$ac_ext
34913 cat >>conftest.
$ac_ext <<_ACEOF
34914 /* end confdefs.h. */
34916 #include <stddef.h>
34917 #include <sys/statvfs.h>
34923 statvfs("/", NULL);
34929 rm -f conftest.
$ac_objext
34930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34931 (eval $ac_compile) 2>conftest.er1
34933 grep -v '^ *+' conftest.er1
>conftest.err
34935 cat conftest.err
>&5
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); } &&
34938 { ac_try
='test -z "$ac_c_werror_flag"
34939 || test ! -s conftest.err'
34940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34941 (eval $ac_try) 2>&5
34943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34944 (exit $ac_status); }; } &&
34945 { ac_try
='test -s conftest.$ac_objext'
34946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34947 (eval $ac_try) 2>&5
34949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34950 (exit $ac_status); }; }; then
34951 wx_cv_func_statvfs
=yes
34953 echo "$as_me: failed program was:" >&5
34954 sed 's/^/| /' conftest.
$ac_ext >&5
34956 wx_cv_func_statvfs
=no
34959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34962 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34963 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34965 if test "$wx_cv_func_statvfs" = "yes"; then
34969 ac_cpp
='$CXXCPP $CPPFLAGS'
34970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34975 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34976 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34977 if test "${wx_cv_type_statvfs_t+set}" = set; then
34978 echo $ECHO_N "(cached) $ECHO_C" >&6
34980 cat >conftest.
$ac_ext <<_ACEOF
34983 cat confdefs.h
>>conftest.
$ac_ext
34984 cat >>conftest.
$ac_ext <<_ACEOF
34985 /* end confdefs.h. */
34987 #include <sys/statvfs.h>
35004 rm -f conftest.
$ac_objext
35005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35006 (eval $ac_compile) 2>conftest.er1
35008 grep -v '^ *+' conftest.er1
>conftest.err
35010 cat conftest.err
>&5
35011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35012 (exit $ac_status); } &&
35013 { ac_try
='test -z "$ac_cxx_werror_flag"
35014 || test ! -s conftest.err'
35015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35016 (eval $ac_try) 2>&5
35018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019 (exit $ac_status); }; } &&
35020 { ac_try
='test -s conftest.$ac_objext'
35021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35022 (eval $ac_try) 2>&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); }; }; then
35026 wx_cv_type_statvfs_t
=statvfs_t
35028 echo "$as_me: failed program was:" >&5
35029 sed 's/^/| /' conftest.
$ac_ext >&5
35032 cat >conftest.
$ac_ext <<_ACEOF
35035 cat confdefs.h
>>conftest.
$ac_ext
35036 cat >>conftest.
$ac_ext <<_ACEOF
35037 /* end confdefs.h. */
35039 #include <sys/statvfs.h>
35056 rm -f conftest.
$ac_objext
35057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35058 (eval $ac_compile) 2>conftest.er1
35060 grep -v '^ *+' conftest.er1
>conftest.err
35062 cat conftest.err
>&5
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); } &&
35065 { ac_try
='test -z "$ac_cxx_werror_flag"
35066 || test ! -s conftest.err'
35067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35068 (eval $ac_try) 2>&5
35070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35071 (exit $ac_status); }; } &&
35072 { ac_try
='test -s conftest.$ac_objext'
35073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35074 (eval $ac_try) 2>&5
35076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35077 (exit $ac_status); }; }; then
35078 wx_cv_type_statvfs_t
="struct statvfs"
35080 echo "$as_me: failed program was:" >&5
35081 sed 's/^/| /' conftest.
$ac_ext >&5
35083 wx_cv_type_statvfs_t
="unknown"
35086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35093 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35094 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35097 ac_cpp
='$CPP $CPPFLAGS'
35098 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35099 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35100 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35103 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35104 cat >>confdefs.h
<<\_ACEOF
35105 #define HAVE_STATVFS 1
35110 wx_cv_type_statvfs_t
="unknown"
35114 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35115 cat >>confdefs.h
<<_ACEOF
35116 #define WX_STATFS_T $wx_cv_type_statvfs_t
35120 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35121 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35124 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35127 for ac_func
in fcntl flock
35129 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35130 echo "$as_me:$LINENO: checking for $ac_func" >&5
35131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35132 if eval "test \"\${$as_ac_var+set}\" = set"; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35135 cat >conftest.
$ac_ext <<_ACEOF
35138 cat confdefs.h
>>conftest.
$ac_ext
35139 cat >>conftest.
$ac_ext <<_ACEOF
35140 /* end confdefs.h. */
35141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35143 #define $ac_func innocuous_$ac_func
35145 /* System header to define __stub macros and hopefully few prototypes,
35146 which can conflict with char $ac_func (); below.
35147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35148 <limits.h> exists even on freestanding compilers. */
35151 # include <limits.h>
35153 # include <assert.h>
35158 /* Override any gcc2 internal prototype to avoid an error. */
35163 /* We use char because int might match the return type of a gcc2
35164 builtin and then its argument prototype would still apply. */
35166 /* The GNU C library defines this for functions which it implements
35167 to always fail with ENOSYS. Some functions are actually named
35168 something starting with __ and the normal name is an alias. */
35169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35172 char (*f) () = $ac_func;
35181 return f != $ac_func;
35186 rm -f conftest.
$ac_objext conftest
$ac_exeext
35187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35188 (eval $ac_link) 2>conftest.er1
35190 grep -v '^ *+' conftest.er1
>conftest.err
35192 cat conftest.err
>&5
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); } &&
35195 { ac_try
='test -z "$ac_c_werror_flag"
35196 || test ! -s conftest.err'
35197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35198 (eval $ac_try) 2>&5
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); }; } &&
35202 { ac_try
='test -s conftest$ac_exeext'
35203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35204 (eval $ac_try) 2>&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; }; then
35208 eval "$as_ac_var=yes"
35210 echo "$as_me: failed program was:" >&5
35211 sed 's/^/| /' conftest.
$ac_ext >&5
35213 eval "$as_ac_var=no"
35215 rm -f conftest.err conftest.
$ac_objext \
35216 conftest
$ac_exeext conftest.
$ac_ext
35218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35220 if test `eval echo '${'$as_ac_var'}'` = yes; then
35221 cat >>confdefs.h
<<_ACEOF
35222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35229 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35230 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35231 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35232 wxUSE_SNGLINST_CHECKER
=no
35237 for ac_func
in timegm
35239 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35240 echo "$as_me:$LINENO: checking for $ac_func" >&5
35241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35242 if eval "test \"\${$as_ac_var+set}\" = set"; then
35243 echo $ECHO_N "(cached) $ECHO_C" >&6
35245 cat >conftest.
$ac_ext <<_ACEOF
35248 cat confdefs.h
>>conftest.
$ac_ext
35249 cat >>conftest.
$ac_ext <<_ACEOF
35250 /* end confdefs.h. */
35251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35253 #define $ac_func innocuous_$ac_func
35255 /* System header to define __stub macros and hopefully few prototypes,
35256 which can conflict with char $ac_func (); below.
35257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35258 <limits.h> exists even on freestanding compilers. */
35261 # include <limits.h>
35263 # include <assert.h>
35268 /* Override any gcc2 internal prototype to avoid an error. */
35273 /* We use char because int might match the return type of a gcc2
35274 builtin and then its argument prototype would still apply. */
35276 /* The GNU C library defines this for functions which it implements
35277 to always fail with ENOSYS. Some functions are actually named
35278 something starting with __ and the normal name is an alias. */
35279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35282 char (*f) () = $ac_func;
35291 return f != $ac_func;
35296 rm -f conftest.
$ac_objext conftest
$ac_exeext
35297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35298 (eval $ac_link) 2>conftest.er1
35300 grep -v '^ *+' conftest.er1
>conftest.err
35302 cat conftest.err
>&5
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); } &&
35305 { ac_try
='test -z "$ac_c_werror_flag"
35306 || test ! -s conftest.err'
35307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35308 (eval $ac_try) 2>&5
35310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35311 (exit $ac_status); }; } &&
35312 { ac_try
='test -s conftest$ac_exeext'
35313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35314 (eval $ac_try) 2>&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); }; }; then
35318 eval "$as_ac_var=yes"
35320 echo "$as_me: failed program was:" >&5
35321 sed 's/^/| /' conftest.
$ac_ext >&5
35323 eval "$as_ac_var=no"
35325 rm -f conftest.err conftest.
$ac_objext \
35326 conftest
$ac_exeext conftest.
$ac_ext
35328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35330 if test `eval echo '${'$as_ac_var'}'` = yes; then
35331 cat >>confdefs.h
<<_ACEOF
35332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35341 for ac_func
in putenv setenv
35343 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35344 echo "$as_me:$LINENO: checking for $ac_func" >&5
35345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35346 if eval "test \"\${$as_ac_var+set}\" = set"; then
35347 echo $ECHO_N "(cached) $ECHO_C" >&6
35349 cat >conftest.
$ac_ext <<_ACEOF
35352 cat confdefs.h
>>conftest.
$ac_ext
35353 cat >>conftest.
$ac_ext <<_ACEOF
35354 /* end confdefs.h. */
35355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35357 #define $ac_func innocuous_$ac_func
35359 /* System header to define __stub macros and hopefully few prototypes,
35360 which can conflict with char $ac_func (); below.
35361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35362 <limits.h> exists even on freestanding compilers. */
35365 # include <limits.h>
35367 # include <assert.h>
35372 /* Override any gcc2 internal prototype to avoid an error. */
35377 /* We use char because int might match the return type of a gcc2
35378 builtin and then its argument prototype would still apply. */
35380 /* The GNU C library defines this for functions which it implements
35381 to always fail with ENOSYS. Some functions are actually named
35382 something starting with __ and the normal name is an alias. */
35383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35386 char (*f) () = $ac_func;
35395 return f != $ac_func;
35400 rm -f conftest.
$ac_objext conftest
$ac_exeext
35401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35402 (eval $ac_link) 2>conftest.er1
35404 grep -v '^ *+' conftest.er1
>conftest.err
35406 cat conftest.err
>&5
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); } &&
35409 { ac_try
='test -z "$ac_c_werror_flag"
35410 || test ! -s conftest.err'
35411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35412 (eval $ac_try) 2>&5
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); }; } &&
35416 { ac_try
='test -s conftest$ac_exeext'
35417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35418 (eval $ac_try) 2>&5
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); }; }; then
35422 eval "$as_ac_var=yes"
35424 echo "$as_me: failed program was:" >&5
35425 sed 's/^/| /' conftest.
$ac_ext >&5
35427 eval "$as_ac_var=no"
35429 rm -f conftest.err conftest.
$ac_objext \
35430 conftest
$ac_exeext conftest.
$ac_ext
35432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35434 if test `eval echo '${'$as_ac_var'}'` = yes; then
35435 cat >>confdefs.h
<<_ACEOF
35436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35443 HAVE_SOME_SLEEP_FUNC
=0
35444 if test "$USE_BEOS" = 1; then
35445 cat >>confdefs.h
<<\_ACEOF
35446 #define HAVE_SLEEP 1
35449 HAVE_SOME_SLEEP_FUNC
=1
35452 if test "$USE_DARWIN" = 1; then
35453 cat >>confdefs.h
<<\_ACEOF
35454 #define HAVE_USLEEP 1
35457 HAVE_SOME_SLEEP_FUNC
=1
35460 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35463 for ac_func
in nanosleep
35465 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35466 echo "$as_me:$LINENO: checking for $ac_func" >&5
35467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35468 if eval "test \"\${$as_ac_var+set}\" = set"; then
35469 echo $ECHO_N "(cached) $ECHO_C" >&6
35471 cat >conftest.
$ac_ext <<_ACEOF
35474 cat confdefs.h
>>conftest.
$ac_ext
35475 cat >>conftest.
$ac_ext <<_ACEOF
35476 /* end confdefs.h. */
35477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35479 #define $ac_func innocuous_$ac_func
35481 /* System header to define __stub macros and hopefully few prototypes,
35482 which can conflict with char $ac_func (); below.
35483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35484 <limits.h> exists even on freestanding compilers. */
35487 # include <limits.h>
35489 # include <assert.h>
35494 /* Override any gcc2 internal prototype to avoid an error. */
35499 /* We use char because int might match the return type of a gcc2
35500 builtin and then its argument prototype would still apply. */
35502 /* The GNU C library defines this for functions which it implements
35503 to always fail with ENOSYS. Some functions are actually named
35504 something starting with __ and the normal name is an alias. */
35505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35508 char (*f) () = $ac_func;
35517 return f != $ac_func;
35522 rm -f conftest.
$ac_objext conftest
$ac_exeext
35523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35524 (eval $ac_link) 2>conftest.er1
35526 grep -v '^ *+' conftest.er1
>conftest.err
35528 cat conftest.err
>&5
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); } &&
35531 { ac_try
='test -z "$ac_c_werror_flag"
35532 || test ! -s conftest.err'
35533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35534 (eval $ac_try) 2>&5
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); }; } &&
35538 { ac_try
='test -s conftest$ac_exeext'
35539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35540 (eval $ac_try) 2>&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); }; }; then
35544 eval "$as_ac_var=yes"
35546 echo "$as_me: failed program was:" >&5
35547 sed 's/^/| /' conftest.
$ac_ext >&5
35549 eval "$as_ac_var=no"
35551 rm -f conftest.err conftest.
$ac_objext \
35552 conftest
$ac_exeext conftest.
$ac_ext
35554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35556 if test `eval echo '${'$as_ac_var'}'` = yes; then
35557 cat >>confdefs.h
<<_ACEOF
35558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35560 cat >>confdefs.h
<<\_ACEOF
35561 #define HAVE_NANOSLEEP 1
35566 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35567 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35568 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35569 echo $ECHO_N "(cached) $ECHO_C" >&6
35571 ac_check_lib_save_LIBS
=$LIBS
35572 LIBS
="-lposix4 $LIBS"
35573 cat >conftest.
$ac_ext <<_ACEOF
35576 cat confdefs.h
>>conftest.
$ac_ext
35577 cat >>conftest.
$ac_ext <<_ACEOF
35578 /* end confdefs.h. */
35580 /* Override any gcc2 internal prototype to avoid an error. */
35584 /* We use char because int might match the return type of a gcc2
35585 builtin and then its argument prototype would still apply. */
35595 rm -f conftest.
$ac_objext conftest
$ac_exeext
35596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35597 (eval $ac_link) 2>conftest.er1
35599 grep -v '^ *+' conftest.er1
>conftest.err
35601 cat conftest.err
>&5
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); } &&
35604 { ac_try
='test -z "$ac_c_werror_flag"
35605 || test ! -s conftest.err'
35606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35607 (eval $ac_try) 2>&5
35609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35610 (exit $ac_status); }; } &&
35611 { ac_try
='test -s conftest$ac_exeext'
35612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35613 (eval $ac_try) 2>&5
35615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35616 (exit $ac_status); }; }; then
35617 ac_cv_lib_posix4_nanosleep
=yes
35619 echo "$as_me: failed program was:" >&5
35620 sed 's/^/| /' conftest.
$ac_ext >&5
35622 ac_cv_lib_posix4_nanosleep
=no
35624 rm -f conftest.err conftest.
$ac_objext \
35625 conftest
$ac_exeext conftest.
$ac_ext
35626 LIBS
=$ac_check_lib_save_LIBS
35628 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35629 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35630 if test $ac_cv_lib_posix4_nanosleep = yes; then
35632 cat >>confdefs.h
<<\_ACEOF
35633 #define HAVE_NANOSLEEP 1
35636 POSIX4_LINK
=" -lposix4"
35641 for ac_func
in usleep
35643 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35644 echo "$as_me:$LINENO: checking for $ac_func" >&5
35645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35646 if eval "test \"\${$as_ac_var+set}\" = set"; then
35647 echo $ECHO_N "(cached) $ECHO_C" >&6
35649 cat >conftest.
$ac_ext <<_ACEOF
35652 cat confdefs.h
>>conftest.
$ac_ext
35653 cat >>conftest.
$ac_ext <<_ACEOF
35654 /* end confdefs.h. */
35655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35657 #define $ac_func innocuous_$ac_func
35659 /* System header to define __stub macros and hopefully few prototypes,
35660 which can conflict with char $ac_func (); below.
35661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35662 <limits.h> exists even on freestanding compilers. */
35665 # include <limits.h>
35667 # include <assert.h>
35672 /* Override any gcc2 internal prototype to avoid an error. */
35677 /* We use char because int might match the return type of a gcc2
35678 builtin and then its argument prototype would still apply. */
35680 /* The GNU C library defines this for functions which it implements
35681 to always fail with ENOSYS. Some functions are actually named
35682 something starting with __ and the normal name is an alias. */
35683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35686 char (*f) () = $ac_func;
35695 return f != $ac_func;
35700 rm -f conftest.
$ac_objext conftest
$ac_exeext
35701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35702 (eval $ac_link) 2>conftest.er1
35704 grep -v '^ *+' conftest.er1
>conftest.err
35706 cat conftest.err
>&5
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); } &&
35709 { ac_try
='test -z "$ac_c_werror_flag"
35710 || test ! -s conftest.err'
35711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35712 (eval $ac_try) 2>&5
35714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35715 (exit $ac_status); }; } &&
35716 { ac_try
='test -s conftest$ac_exeext'
35717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35718 (eval $ac_try) 2>&5
35720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35721 (exit $ac_status); }; }; then
35722 eval "$as_ac_var=yes"
35724 echo "$as_me: failed program was:" >&5
35725 sed 's/^/| /' conftest.
$ac_ext >&5
35727 eval "$as_ac_var=no"
35729 rm -f conftest.err conftest.
$ac_objext \
35730 conftest
$ac_exeext conftest.
$ac_ext
35732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35734 if test `eval echo '${'$as_ac_var'}'` = yes; then
35735 cat >>confdefs.h
<<_ACEOF
35736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35738 cat >>confdefs.h
<<\_ACEOF
35739 #define HAVE_USLEEP 1
35743 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35744 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35762 for ac_func
in uname gethostname
35764 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35765 echo "$as_me:$LINENO: checking for $ac_func" >&5
35766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35767 if eval "test \"\${$as_ac_var+set}\" = set"; then
35768 echo $ECHO_N "(cached) $ECHO_C" >&6
35770 cat >conftest.
$ac_ext <<_ACEOF
35773 cat confdefs.h
>>conftest.
$ac_ext
35774 cat >>conftest.
$ac_ext <<_ACEOF
35775 /* end confdefs.h. */
35776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35778 #define $ac_func innocuous_$ac_func
35780 /* System header to define __stub macros and hopefully few prototypes,
35781 which can conflict with char $ac_func (); below.
35782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35783 <limits.h> exists even on freestanding compilers. */
35786 # include <limits.h>
35788 # include <assert.h>
35793 /* Override any gcc2 internal prototype to avoid an error. */
35798 /* We use char because int might match the return type of a gcc2
35799 builtin and then its argument prototype would still apply. */
35801 /* The GNU C library defines this for functions which it implements
35802 to always fail with ENOSYS. Some functions are actually named
35803 something starting with __ and the normal name is an alias. */
35804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35807 char (*f) () = $ac_func;
35816 return f != $ac_func;
35821 rm -f conftest.
$ac_objext conftest
$ac_exeext
35822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35823 (eval $ac_link) 2>conftest.er1
35825 grep -v '^ *+' conftest.er1
>conftest.err
35827 cat conftest.err
>&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); } &&
35830 { ac_try
='test -z "$ac_c_werror_flag"
35831 || test ! -s conftest.err'
35832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35833 (eval $ac_try) 2>&5
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); }; } &&
35837 { ac_try
='test -s conftest$ac_exeext'
35838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35839 (eval $ac_try) 2>&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); }; }; then
35843 eval "$as_ac_var=yes"
35845 echo "$as_me: failed program was:" >&5
35846 sed 's/^/| /' conftest.
$ac_ext >&5
35848 eval "$as_ac_var=no"
35850 rm -f conftest.err conftest.
$ac_objext \
35851 conftest
$ac_exeext conftest.
$ac_ext
35853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35855 if test `eval echo '${'$as_ac_var'}'` = yes; then
35856 cat >>confdefs.h
<<_ACEOF
35857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35867 ac_cpp
='$CXXCPP $CPPFLAGS'
35868 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35869 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35870 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35874 for ac_func
in strtok_r
35876 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35877 echo "$as_me:$LINENO: checking for $ac_func" >&5
35878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35879 if eval "test \"\${$as_ac_var+set}\" = set"; then
35880 echo $ECHO_N "(cached) $ECHO_C" >&6
35882 cat >conftest.
$ac_ext <<_ACEOF
35885 cat confdefs.h
>>conftest.
$ac_ext
35886 cat >>conftest.
$ac_ext <<_ACEOF
35887 /* end confdefs.h. */
35888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35890 #define $ac_func innocuous_$ac_func
35892 /* System header to define __stub macros and hopefully few prototypes,
35893 which can conflict with char $ac_func (); below.
35894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35895 <limits.h> exists even on freestanding compilers. */
35898 # include <limits.h>
35900 # include <assert.h>
35905 /* Override any gcc2 internal prototype to avoid an error. */
35910 /* We use char because int might match the return type of a gcc2
35911 builtin and then its argument prototype would still apply. */
35913 /* The GNU C library defines this for functions which it implements
35914 to always fail with ENOSYS. Some functions are actually named
35915 something starting with __ and the normal name is an alias. */
35916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35919 char (*f) () = $ac_func;
35928 return f != $ac_func;
35933 rm -f conftest.
$ac_objext conftest
$ac_exeext
35934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35935 (eval $ac_link) 2>conftest.er1
35937 grep -v '^ *+' conftest.er1
>conftest.err
35939 cat conftest.err
>&5
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); } &&
35942 { ac_try
='test -z "$ac_cxx_werror_flag"
35943 || test ! -s conftest.err'
35944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35945 (eval $ac_try) 2>&5
35947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35948 (exit $ac_status); }; } &&
35949 { ac_try
='test -s conftest$ac_exeext'
35950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35951 (eval $ac_try) 2>&5
35953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35954 (exit $ac_status); }; }; then
35955 eval "$as_ac_var=yes"
35957 echo "$as_me: failed program was:" >&5
35958 sed 's/^/| /' conftest.
$ac_ext >&5
35960 eval "$as_ac_var=no"
35962 rm -f conftest.err conftest.
$ac_objext \
35963 conftest
$ac_exeext conftest.
$ac_ext
35965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35967 if test `eval echo '${'$as_ac_var'}'` = yes; then
35968 cat >>confdefs.h
<<_ACEOF
35969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35977 ac_cpp
='$CPP $CPPFLAGS'
35978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35985 for ac_func
in inet_addr
35987 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35988 echo "$as_me:$LINENO: checking for $ac_func" >&5
35989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35990 if eval "test \"\${$as_ac_var+set}\" = set"; then
35991 echo $ECHO_N "(cached) $ECHO_C" >&6
35993 cat >conftest.
$ac_ext <<_ACEOF
35996 cat confdefs.h
>>conftest.
$ac_ext
35997 cat >>conftest.
$ac_ext <<_ACEOF
35998 /* end confdefs.h. */
35999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36001 #define $ac_func innocuous_$ac_func
36003 /* System header to define __stub macros and hopefully few prototypes,
36004 which can conflict with char $ac_func (); below.
36005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36006 <limits.h> exists even on freestanding compilers. */
36009 # include <limits.h>
36011 # include <assert.h>
36016 /* Override any gcc2 internal prototype to avoid an error. */
36021 /* We use char because int might match the return type of a gcc2
36022 builtin and then its argument prototype would still apply. */
36024 /* The GNU C library defines this for functions which it implements
36025 to always fail with ENOSYS. Some functions are actually named
36026 something starting with __ and the normal name is an alias. */
36027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36030 char (*f) () = $ac_func;
36039 return f != $ac_func;
36044 rm -f conftest.
$ac_objext conftest
$ac_exeext
36045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36046 (eval $ac_link) 2>conftest.er1
36048 grep -v '^ *+' conftest.er1
>conftest.err
36050 cat conftest.err
>&5
36051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36052 (exit $ac_status); } &&
36053 { ac_try
='test -z "$ac_c_werror_flag"
36054 || test ! -s conftest.err'
36055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36056 (eval $ac_try) 2>&5
36058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36059 (exit $ac_status); }; } &&
36060 { ac_try
='test -s conftest$ac_exeext'
36061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36062 (eval $ac_try) 2>&5
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); }; }; then
36066 eval "$as_ac_var=yes"
36068 echo "$as_me: failed program was:" >&5
36069 sed 's/^/| /' conftest.
$ac_ext >&5
36071 eval "$as_ac_var=no"
36073 rm -f conftest.err conftest.
$ac_objext \
36074 conftest
$ac_exeext conftest.
$ac_ext
36076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36078 if test `eval echo '${'$as_ac_var'}'` = yes; then
36079 cat >>confdefs.h
<<_ACEOF
36080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36082 cat >>confdefs.h
<<\_ACEOF
36083 #define HAVE_INET_ADDR 1
36088 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36089 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36090 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36091 echo $ECHO_N "(cached) $ECHO_C" >&6
36093 ac_check_lib_save_LIBS
=$LIBS
36095 cat >conftest.
$ac_ext <<_ACEOF
36098 cat confdefs.h
>>conftest.
$ac_ext
36099 cat >>conftest.
$ac_ext <<_ACEOF
36100 /* end confdefs.h. */
36102 /* Override any gcc2 internal prototype to avoid an error. */
36106 /* We use char because int might match the return type of a gcc2
36107 builtin and then its argument prototype would still apply. */
36117 rm -f conftest.
$ac_objext conftest
$ac_exeext
36118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36119 (eval $ac_link) 2>conftest.er1
36121 grep -v '^ *+' conftest.er1
>conftest.err
36123 cat conftest.err
>&5
36124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125 (exit $ac_status); } &&
36126 { ac_try
='test -z "$ac_c_werror_flag"
36127 || test ! -s conftest.err'
36128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36129 (eval $ac_try) 2>&5
36131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 (exit $ac_status); }; } &&
36133 { ac_try
='test -s conftest$ac_exeext'
36134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36135 (eval $ac_try) 2>&5
36137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138 (exit $ac_status); }; }; then
36139 ac_cv_lib_nsl_inet_addr
=yes
36141 echo "$as_me: failed program was:" >&5
36142 sed 's/^/| /' conftest.
$ac_ext >&5
36144 ac_cv_lib_nsl_inet_addr
=no
36146 rm -f conftest.err conftest.
$ac_objext \
36147 conftest
$ac_exeext conftest.
$ac_ext
36148 LIBS
=$ac_check_lib_save_LIBS
36150 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36151 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36152 if test $ac_cv_lib_nsl_inet_addr = yes; then
36156 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36157 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36158 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36159 echo $ECHO_N "(cached) $ECHO_C" >&6
36161 ac_check_lib_save_LIBS
=$LIBS
36162 LIBS
="-lresolv $LIBS"
36163 cat >conftest.
$ac_ext <<_ACEOF
36166 cat confdefs.h
>>conftest.
$ac_ext
36167 cat >>conftest.
$ac_ext <<_ACEOF
36168 /* end confdefs.h. */
36170 /* Override any gcc2 internal prototype to avoid an error. */
36174 /* We use char because int might match the return type of a gcc2
36175 builtin and then its argument prototype would still apply. */
36185 rm -f conftest.
$ac_objext conftest
$ac_exeext
36186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36187 (eval $ac_link) 2>conftest.er1
36189 grep -v '^ *+' conftest.er1
>conftest.err
36191 cat conftest.err
>&5
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); } &&
36194 { ac_try
='test -z "$ac_c_werror_flag"
36195 || test ! -s conftest.err'
36196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36197 (eval $ac_try) 2>&5
36199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36200 (exit $ac_status); }; } &&
36201 { ac_try
='test -s conftest$ac_exeext'
36202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36203 (eval $ac_try) 2>&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); }; }; then
36207 ac_cv_lib_resolv_inet_addr
=yes
36209 echo "$as_me: failed program was:" >&5
36210 sed 's/^/| /' conftest.
$ac_ext >&5
36212 ac_cv_lib_resolv_inet_addr
=no
36214 rm -f conftest.err conftest.
$ac_objext \
36215 conftest
$ac_exeext conftest.
$ac_ext
36216 LIBS
=$ac_check_lib_save_LIBS
36218 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36219 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36220 if test $ac_cv_lib_resolv_inet_addr = yes; then
36224 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36225 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36226 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36227 echo $ECHO_N "(cached) $ECHO_C" >&6
36229 ac_check_lib_save_LIBS
=$LIBS
36230 LIBS
="-lsocket $LIBS"
36231 cat >conftest.
$ac_ext <<_ACEOF
36234 cat confdefs.h
>>conftest.
$ac_ext
36235 cat >>conftest.
$ac_ext <<_ACEOF
36236 /* end confdefs.h. */
36238 /* Override any gcc2 internal prototype to avoid an error. */
36242 /* We use char because int might match the return type of a gcc2
36243 builtin and then its argument prototype would still apply. */
36253 rm -f conftest.
$ac_objext conftest
$ac_exeext
36254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36255 (eval $ac_link) 2>conftest.er1
36257 grep -v '^ *+' conftest.er1
>conftest.err
36259 cat conftest.err
>&5
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); } &&
36262 { ac_try
='test -z "$ac_c_werror_flag"
36263 || test ! -s conftest.err'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; } &&
36269 { ac_try
='test -s conftest$ac_exeext'
36270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36271 (eval $ac_try) 2>&5
36273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36274 (exit $ac_status); }; }; then
36275 ac_cv_lib_socket_inet_addr
=yes
36277 echo "$as_me: failed program was:" >&5
36278 sed 's/^/| /' conftest.
$ac_ext >&5
36280 ac_cv_lib_socket_inet_addr
=no
36282 rm -f conftest.err conftest.
$ac_objext \
36283 conftest
$ac_exeext conftest.
$ac_ext
36284 LIBS
=$ac_check_lib_save_LIBS
36286 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36287 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36288 if test $ac_cv_lib_socket_inet_addr = yes; then
36308 for ac_func
in inet_aton
36310 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36311 echo "$as_me:$LINENO: checking for $ac_func" >&5
36312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36313 if eval "test \"\${$as_ac_var+set}\" = set"; then
36314 echo $ECHO_N "(cached) $ECHO_C" >&6
36316 cat >conftest.
$ac_ext <<_ACEOF
36319 cat confdefs.h
>>conftest.
$ac_ext
36320 cat >>conftest.
$ac_ext <<_ACEOF
36321 /* end confdefs.h. */
36322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36324 #define $ac_func innocuous_$ac_func
36326 /* System header to define __stub macros and hopefully few prototypes,
36327 which can conflict with char $ac_func (); below.
36328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36329 <limits.h> exists even on freestanding compilers. */
36332 # include <limits.h>
36334 # include <assert.h>
36339 /* Override any gcc2 internal prototype to avoid an error. */
36344 /* We use char because int might match the return type of a gcc2
36345 builtin and then its argument prototype would still apply. */
36347 /* The GNU C library defines this for functions which it implements
36348 to always fail with ENOSYS. Some functions are actually named
36349 something starting with __ and the normal name is an alias. */
36350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36353 char (*f) () = $ac_func;
36362 return f != $ac_func;
36367 rm -f conftest.
$ac_objext conftest
$ac_exeext
36368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36369 (eval $ac_link) 2>conftest.er1
36371 grep -v '^ *+' conftest.er1
>conftest.err
36373 cat conftest.err
>&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); } &&
36376 { ac_try
='test -z "$ac_c_werror_flag"
36377 || test ! -s conftest.err'
36378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36379 (eval $ac_try) 2>&5
36381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36382 (exit $ac_status); }; } &&
36383 { ac_try
='test -s conftest$ac_exeext'
36384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36385 (eval $ac_try) 2>&5
36387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36388 (exit $ac_status); }; }; then
36389 eval "$as_ac_var=yes"
36391 echo "$as_me: failed program was:" >&5
36392 sed 's/^/| /' conftest.
$ac_ext >&5
36394 eval "$as_ac_var=no"
36396 rm -f conftest.err conftest.
$ac_objext \
36397 conftest
$ac_exeext conftest.
$ac_ext
36399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36401 if test `eval echo '${'$as_ac_var'}'` = yes; then
36402 cat >>confdefs.h
<<_ACEOF
36403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36405 cat >>confdefs.h
<<\_ACEOF
36406 #define HAVE_INET_ATON 1
36411 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36412 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36413 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36414 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36415 echo $ECHO_N "(cached) $ECHO_C" >&6
36417 ac_check_lib_save_LIBS
=$LIBS
36418 LIBS
="-l$INET_LINK $LIBS"
36419 cat >conftest.
$ac_ext <<_ACEOF
36422 cat confdefs.h
>>conftest.
$ac_ext
36423 cat >>conftest.
$ac_ext <<_ACEOF
36424 /* end confdefs.h. */
36426 /* Override any gcc2 internal prototype to avoid an error. */
36430 /* We use char because int might match the return type of a gcc2
36431 builtin and then its argument prototype would still apply. */
36441 rm -f conftest.
$ac_objext conftest
$ac_exeext
36442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36443 (eval $ac_link) 2>conftest.er1
36445 grep -v '^ *+' conftest.er1
>conftest.err
36447 cat conftest.err
>&5
36448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36449 (exit $ac_status); } &&
36450 { ac_try
='test -z "$ac_c_werror_flag"
36451 || test ! -s conftest.err'
36452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36453 (eval $ac_try) 2>&5
36455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); }; } &&
36457 { ac_try
='test -s conftest$ac_exeext'
36458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36459 (eval $ac_try) 2>&5
36461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36462 (exit $ac_status); }; }; then
36463 eval "$as_ac_Lib=yes"
36465 echo "$as_me: failed program was:" >&5
36466 sed 's/^/| /' conftest.
$ac_ext >&5
36468 eval "$as_ac_Lib=no"
36470 rm -f conftest.err conftest.
$ac_objext \
36471 conftest
$ac_exeext conftest.
$ac_ext
36472 LIBS
=$ac_check_lib_save_LIBS
36474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36475 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36476 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36477 cat >>confdefs.h
<<\_ACEOF
36478 #define HAVE_INET_ATON 1
36488 if test "x$INET_LINK" != "x"; then
36489 cat >>confdefs.h
<<\_ACEOF
36490 #define HAVE_INET_ADDR 1
36493 INET_LINK
=" -l$INET_LINK"
36501 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36502 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36503 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36504 echo $ECHO_N "(cached) $ECHO_C" >&6
36506 ac_check_lib_save_LIBS
=$LIBS
36508 cat >conftest.
$ac_ext <<_ACEOF
36511 cat confdefs.h
>>conftest.
$ac_ext
36512 cat >>conftest.
$ac_ext <<_ACEOF
36513 /* end confdefs.h. */
36515 /* Override any gcc2 internal prototype to avoid an error. */
36519 /* We use char because int might match the return type of a gcc2
36520 builtin and then its argument prototype would still apply. */
36530 rm -f conftest.
$ac_objext conftest
$ac_exeext
36531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36532 (eval $ac_link) 2>conftest.er1
36534 grep -v '^ *+' conftest.er1
>conftest.err
36536 cat conftest.err
>&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); } &&
36539 { ac_try
='test -z "$ac_c_werror_flag"
36540 || test ! -s conftest.err'
36541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36542 (eval $ac_try) 2>&5
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); }; } &&
36546 { ac_try
='test -s conftest$ac_exeext'
36547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36548 (eval $ac_try) 2>&5
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; }; then
36552 ac_cv_lib_esd_esd_close
=yes
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.
$ac_ext >&5
36557 ac_cv_lib_esd_esd_close
=no
36559 rm -f conftest.err conftest.
$ac_objext \
36560 conftest
$ac_exeext conftest.
$ac_ext
36561 LIBS
=$ac_check_lib_save_LIBS
36563 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36564 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36565 if test $ac_cv_lib_esd_esd_close = yes; then
36568 for ac_header
in esd.h
36570 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36572 echo "$as_me:$LINENO: checking for $ac_header" >&5
36573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36575 echo $ECHO_N "(cached) $ECHO_C" >&6
36577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36580 # Is the header compilable?
36581 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36582 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36583 cat >conftest.
$ac_ext <<_ACEOF
36586 cat confdefs.h
>>conftest.
$ac_ext
36587 cat >>conftest.
$ac_ext <<_ACEOF
36588 /* end confdefs.h. */
36589 $ac_includes_default
36590 #include <$ac_header>
36592 rm -f conftest.
$ac_objext
36593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36594 (eval $ac_compile) 2>conftest.er1
36596 grep -v '^ *+' conftest.er1
>conftest.err
36598 cat conftest.err
>&5
36599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600 (exit $ac_status); } &&
36601 { ac_try
='test -z "$ac_c_werror_flag"
36602 || test ! -s conftest.err'
36603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36604 (eval $ac_try) 2>&5
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); }; } &&
36608 { ac_try
='test -s conftest.$ac_objext'
36609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36610 (eval $ac_try) 2>&5
36612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 (exit $ac_status); }; }; then
36614 ac_header_compiler
=yes
36616 echo "$as_me: failed program was:" >&5
36617 sed 's/^/| /' conftest.
$ac_ext >&5
36619 ac_header_compiler
=no
36621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36623 echo "${ECHO_T}$ac_header_compiler" >&6
36625 # Is the header present?
36626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36628 cat >conftest.
$ac_ext <<_ACEOF
36631 cat confdefs.h
>>conftest.
$ac_ext
36632 cat >>conftest.
$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 #include <$ac_header>
36636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36637 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36639 grep -v '^ *+' conftest.er1
>conftest.err
36641 cat conftest.err
>&5
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); } >/dev
/null
; then
36644 if test -s conftest.err
; then
36645 ac_cpp_err
=$ac_c_preproc_warn_flag
36646 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36653 if test -z "$ac_cpp_err"; then
36654 ac_header_preproc
=yes
36656 echo "$as_me: failed program was:" >&5
36657 sed 's/^/| /' conftest.
$ac_ext >&5
36659 ac_header_preproc
=no
36661 rm -f conftest.err conftest.
$ac_ext
36662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36663 echo "${ECHO_T}$ac_header_preproc" >&6
36665 # So? What about this header?
36666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36672 ac_header_preproc
=yes
36675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36689 ## ----------------------------------------- ##
36690 ## Report this to wx-dev@lists.wxwidgets.org ##
36691 ## ----------------------------------------- ##
36694 sed "s/^/$as_me: WARNING: /" >&2
36697 echo "$as_me:$LINENO: checking for $ac_header" >&5
36698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36700 echo $ECHO_N "(cached) $ECHO_C" >&6
36702 eval "$as_ac_Header=\$ac_header_preproc"
36704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36709 cat >>confdefs.h
<<_ACEOF
36710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36713 EXTRALIBS_ESD
="-lesd"
36724 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36725 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36726 cat >conftest.
$ac_ext <<_ACEOF
36729 cat confdefs.h
>>conftest.
$ac_ext
36730 cat >>conftest.
$ac_ext <<_ACEOF
36731 /* end confdefs.h. */
36733 #include <linux/cdrom.h>
36736 #include <sys/cdio.h>
36742 struct cdrom_tocentry entry, old_entry;
36747 rm -f conftest.
$ac_objext
36748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36749 (eval $ac_compile) 2>conftest.er1
36751 grep -v '^ *+' conftest.er1
>conftest.err
36753 cat conftest.err
>&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); } &&
36756 { ac_try
='test -z "$ac_c_werror_flag"
36757 || test ! -s conftest.err'
36758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36759 (eval $ac_try) 2>&5
36761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762 (exit $ac_status); }; } &&
36763 { ac_try
='test -s conftest.$ac_objext'
36764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36765 (eval $ac_try) 2>&5
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); }; }; then
36769 echo "$as_me:$LINENO: result: yes" >&5
36770 echo "${ECHO_T}yes" >&6
36771 cat >>confdefs.h
<<\_ACEOF
36772 #define HAVE_KNOWN_CDROM_INTERFACE 1
36776 echo "$as_me: failed program was:" >&5
36777 sed 's/^/| /' conftest.
$ac_ext >&5
36779 echo "$as_me:$LINENO: result: no" >&5
36780 echo "${ECHO_T}no" >&6
36782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36785 cat >confcache
<<\_ACEOF
36786 # This file is a shell script that caches the results of configure
36787 # tests run on this system so they can be shared between configure
36788 # scripts and configure runs, see configure's option --config-cache.
36789 # It is not useful on other systems. If it contains results you don't
36790 # want to keep, you may remove or edit it.
36792 # config.status only pays attention to the cache file if you give it
36793 # the --recheck option to rerun configure.
36795 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36796 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36797 # following values.
36801 # The following way of writing the cache mishandles newlines in values,
36802 # but we know of no workaround that is simple, portable, and efficient.
36803 # So, don't put newlines in cache variables' values.
36804 # Ultrix sh set writes to stderr and can't be redirected directly,
36805 # and sets the high bit in the cache file unless we assign to the vars.
36808 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36810 # `set' does not quote correctly, so add quotes (double-quote
36811 # substitution turns \\\\ into \\, and sed turns \\ into \).
36814 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36817 # `set' quotes correctly as required by POSIX, so do not add quotes.
36819 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36826 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36828 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36830 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36831 if test -w $cache_file; then
36832 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36833 cat confcache
>$cache_file
36835 echo "not updating unwritable cache $cache_file"
36841 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36847 if test "$wxUSE_THREADS" = "yes" ; then
36848 if test "$USE_BEOS" = 1; then
36849 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36850 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36855 if test "$wxUSE_THREADS" = "yes" ; then
36858 THREAD_OPTS
="-pthread"
36860 *-*-solaris2* | *-*-sunos4* )
36861 if test "x$GCC" = "xyes"; then
36862 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36864 THREAD_OPTS
="-mt $THREAD_OPTS"
36868 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36870 *-*-darwin* | *-*-cygwin* )
36874 THREAD_OPTS
="pthreads"
36877 if test "x$GCC" = "xyes"; then
36878 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36886 if test "x$GCC" = "xyes"; then
36892 if test "x$GCC" != "xyes"; then
36893 THREAD_OPTS
="-Ethread"
36898 THREAD_OPTS
="$THREAD_OPTS pthread none"
36901 for flag
in $THREAD_OPTS; do
36904 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36905 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36909 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36910 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36911 THREADS_CFLAGS
="$flag"
36915 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36916 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36917 THREADS_LINK
="-l$flag"
36922 save_CFLAGS
="$CFLAGS"
36923 LIBS
="$THREADS_LINK $LIBS"
36924 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36926 cat >conftest.
$ac_ext <<_ACEOF
36929 cat confdefs.h
>>conftest.
$ac_ext
36930 cat >>conftest.
$ac_ext <<_ACEOF
36931 /* end confdefs.h. */
36932 #include <pthread.h>
36936 pthread_create(0,0,0,0);
36941 rm -f conftest.
$ac_objext conftest
$ac_exeext
36942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36943 (eval $ac_link) 2>conftest.er1
36945 grep -v '^ *+' conftest.er1
>conftest.err
36947 cat conftest.err
>&5
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); } &&
36950 { ac_try
='test -z "$ac_c_werror_flag"
36951 || test ! -s conftest.err'
36952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36953 (eval $ac_try) 2>&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); }; } &&
36957 { ac_try
='test -s conftest$ac_exeext'
36958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36959 (eval $ac_try) 2>&5
36961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36962 (exit $ac_status); }; }; then
36965 echo "$as_me: failed program was:" >&5
36966 sed 's/^/| /' conftest.
$ac_ext >&5
36969 rm -f conftest.err conftest.
$ac_objext \
36970 conftest
$ac_exeext conftest.
$ac_ext
36973 CFLAGS
="$save_CFLAGS"
36975 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36976 echo "${ECHO_T}$THREADS_OK" >&6
36977 if test "x$THREADS_OK" = "xyes"; then
36985 if test "x$THREADS_OK" != "xyes"; then
36987 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36988 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36990 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
36991 LIBS
="$THREADS_LINK $LIBS"
36993 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36994 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36998 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
36999 flag
="-D_THREAD_SAFE"
37002 flag
="-D_THREAD_SAFE"
37005 flag
="-D_REENTRANT"
37006 if test "x$GCC" != "xyes"; then
37007 flag
="$flag -D_RWSTD_MULTI_THREAD"
37010 *solaris
* | alpha
*-osf*)
37011 flag
="-D_REENTRANT"
37014 echo "$as_me:$LINENO: result: ${flag}" >&5
37015 echo "${ECHO_T}${flag}" >&6
37016 if test "x$flag" != xno
; then
37017 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
37020 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37024 if test "$wxUSE_THREADS" = "yes" ; then
37026 for ac_func
in thr_setconcurrency
37028 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37029 echo "$as_me:$LINENO: checking for $ac_func" >&5
37030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37031 if eval "test \"\${$as_ac_var+set}\" = set"; then
37032 echo $ECHO_N "(cached) $ECHO_C" >&6
37034 cat >conftest.
$ac_ext <<_ACEOF
37037 cat confdefs.h
>>conftest.
$ac_ext
37038 cat >>conftest.
$ac_ext <<_ACEOF
37039 /* end confdefs.h. */
37040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37042 #define $ac_func innocuous_$ac_func
37044 /* System header to define __stub macros and hopefully few prototypes,
37045 which can conflict with char $ac_func (); below.
37046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37047 <limits.h> exists even on freestanding compilers. */
37050 # include <limits.h>
37052 # include <assert.h>
37057 /* Override any gcc2 internal prototype to avoid an error. */
37062 /* We use char because int might match the return type of a gcc2
37063 builtin and then its argument prototype would still apply. */
37065 /* The GNU C library defines this for functions which it implements
37066 to always fail with ENOSYS. Some functions are actually named
37067 something starting with __ and the normal name is an alias. */
37068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37071 char (*f) () = $ac_func;
37080 return f != $ac_func;
37085 rm -f conftest.
$ac_objext conftest
$ac_exeext
37086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37087 (eval $ac_link) 2>conftest.er1
37089 grep -v '^ *+' conftest.er1
>conftest.err
37091 cat conftest.err
>&5
37092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37093 (exit $ac_status); } &&
37094 { ac_try
='test -z "$ac_c_werror_flag"
37095 || test ! -s conftest.err'
37096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37097 (eval $ac_try) 2>&5
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); }; } &&
37101 { ac_try
='test -s conftest$ac_exeext'
37102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37103 (eval $ac_try) 2>&5
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); }; }; then
37107 eval "$as_ac_var=yes"
37109 echo "$as_me: failed program was:" >&5
37110 sed 's/^/| /' conftest.
$ac_ext >&5
37112 eval "$as_ac_var=no"
37114 rm -f conftest.err conftest.
$ac_objext \
37115 conftest
$ac_exeext conftest.
$ac_ext
37117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37119 if test `eval echo '${'$as_ac_var'}'` = yes; then
37120 cat >>confdefs.h
<<_ACEOF
37121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37128 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37129 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37130 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37134 cat >conftest.
$ac_ext <<_ACEOF
37137 cat confdefs.h
>>conftest.
$ac_ext
37138 cat >>conftest.
$ac_ext <<_ACEOF
37139 /* end confdefs.h. */
37140 #include <pthread.h>
37141 void ThreadCleanupFunc(void *p);
37148 pthread_cleanup_push(ThreadCleanupFunc, p);
37149 pthread_cleanup_pop(0);
37155 rm -f conftest.
$ac_objext
37156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37157 (eval $ac_compile) 2>conftest.er1
37159 grep -v '^ *+' conftest.er1
>conftest.err
37161 cat conftest.err
>&5
37162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163 (exit $ac_status); } &&
37164 { ac_try
='test -z "$ac_c_werror_flag"
37165 || test ! -s conftest.err'
37166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37167 (eval $ac_try) 2>&5
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); }; } &&
37171 { ac_try
='test -s conftest.$ac_objext'
37172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37173 (eval $ac_try) 2>&5
37175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37176 (exit $ac_status); }; }; then
37178 wx_cv_func_pthread_cleanup
=yes
37181 echo "$as_me: failed program was:" >&5
37182 sed 's/^/| /' conftest.
$ac_ext >&5
37185 wx_cv_func_pthread_cleanup
=no
37189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37192 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37193 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37194 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37195 cat >>confdefs.h
<<\_ACEOF
37196 #define wxHAVE_PTHREAD_CLEANUP 1
37202 for ac_header
in sched.h
37204 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37206 echo "$as_me:$LINENO: checking for $ac_header" >&5
37207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37209 echo $ECHO_N "(cached) $ECHO_C" >&6
37211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37214 # Is the header compilable?
37215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37217 cat >conftest.
$ac_ext <<_ACEOF
37220 cat confdefs.h
>>conftest.
$ac_ext
37221 cat >>conftest.
$ac_ext <<_ACEOF
37222 /* end confdefs.h. */
37223 $ac_includes_default
37224 #include <$ac_header>
37226 rm -f conftest.
$ac_objext
37227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37228 (eval $ac_compile) 2>conftest.er1
37230 grep -v '^ *+' conftest.er1
>conftest.err
37232 cat conftest.err
>&5
37233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37234 (exit $ac_status); } &&
37235 { ac_try
='test -z "$ac_c_werror_flag"
37236 || test ! -s conftest.err'
37237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37238 (eval $ac_try) 2>&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); }; } &&
37242 { ac_try
='test -s conftest.$ac_objext'
37243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37244 (eval $ac_try) 2>&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); }; }; then
37248 ac_header_compiler
=yes
37250 echo "$as_me: failed program was:" >&5
37251 sed 's/^/| /' conftest.
$ac_ext >&5
37253 ac_header_compiler
=no
37255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37257 echo "${ECHO_T}$ac_header_compiler" >&6
37259 # Is the header present?
37260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37262 cat >conftest.
$ac_ext <<_ACEOF
37265 cat confdefs.h
>>conftest.
$ac_ext
37266 cat >>conftest.
$ac_ext <<_ACEOF
37267 /* end confdefs.h. */
37268 #include <$ac_header>
37270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37273 grep -v '^ *+' conftest.er1
>conftest.err
37275 cat conftest.err
>&5
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); } >/dev
/null
; then
37278 if test -s conftest.err
; then
37279 ac_cpp_err
=$ac_c_preproc_warn_flag
37280 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37287 if test -z "$ac_cpp_err"; then
37288 ac_header_preproc
=yes
37290 echo "$as_me: failed program was:" >&5
37291 sed 's/^/| /' conftest.
$ac_ext >&5
37293 ac_header_preproc
=no
37295 rm -f conftest.err conftest.
$ac_ext
37296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37297 echo "${ECHO_T}$ac_header_preproc" >&6
37299 # So? What about this header?
37300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37306 ac_header_preproc
=yes
37309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37323 ## ----------------------------------------- ##
37324 ## Report this to wx-dev@lists.wxwidgets.org ##
37325 ## ----------------------------------------- ##
37328 sed "s/^/$as_me: WARNING: /" >&2
37331 echo "$as_me:$LINENO: checking for $ac_header" >&5
37332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37334 echo $ECHO_N "(cached) $ECHO_C" >&6
37336 eval "$as_ac_Header=\$ac_header_preproc"
37338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37343 cat >>confdefs.h
<<_ACEOF
37344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37351 if test "$ac_cv_header_sched_h" = "yes"; then
37352 echo "$as_me:$LINENO: checking for sched_yield" >&5
37353 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37354 if test "${ac_cv_func_sched_yield+set}" = set; then
37355 echo $ECHO_N "(cached) $ECHO_C" >&6
37357 cat >conftest.
$ac_ext <<_ACEOF
37360 cat confdefs.h
>>conftest.
$ac_ext
37361 cat >>conftest.
$ac_ext <<_ACEOF
37362 /* end confdefs.h. */
37363 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37365 #define sched_yield innocuous_sched_yield
37367 /* System header to define __stub macros and hopefully few prototypes,
37368 which can conflict with char sched_yield (); below.
37369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37370 <limits.h> exists even on freestanding compilers. */
37373 # include <limits.h>
37375 # include <assert.h>
37380 /* Override any gcc2 internal prototype to avoid an error. */
37385 /* We use char because int might match the return type of a gcc2
37386 builtin and then its argument prototype would still apply. */
37387 char sched_yield ();
37388 /* The GNU C library defines this for functions which it implements
37389 to always fail with ENOSYS. Some functions are actually named
37390 something starting with __ and the normal name is an alias. */
37391 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37394 char (*f) () = sched_yield;
37403 return f != sched_yield;
37408 rm -f conftest.
$ac_objext conftest
$ac_exeext
37409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37410 (eval $ac_link) 2>conftest.er1
37412 grep -v '^ *+' conftest.er1
>conftest.err
37414 cat conftest.err
>&5
37415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37416 (exit $ac_status); } &&
37417 { ac_try
='test -z "$ac_c_werror_flag"
37418 || test ! -s conftest.err'
37419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37420 (eval $ac_try) 2>&5
37422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37423 (exit $ac_status); }; } &&
37424 { ac_try
='test -s conftest$ac_exeext'
37425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37426 (eval $ac_try) 2>&5
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); }; }; then
37430 ac_cv_func_sched_yield
=yes
37432 echo "$as_me: failed program was:" >&5
37433 sed 's/^/| /' conftest.
$ac_ext >&5
37435 ac_cv_func_sched_yield
=no
37437 rm -f conftest.err conftest.
$ac_objext \
37438 conftest
$ac_exeext conftest.
$ac_ext
37440 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37441 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37442 if test $ac_cv_func_sched_yield = yes; then
37443 cat >>confdefs.h
<<\_ACEOF
37444 #define HAVE_SCHED_YIELD 1
37449 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37450 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37451 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37452 echo $ECHO_N "(cached) $ECHO_C" >&6
37454 ac_check_lib_save_LIBS
=$LIBS
37455 LIBS
="-lposix4 $LIBS"
37456 cat >conftest.
$ac_ext <<_ACEOF
37459 cat confdefs.h
>>conftest.
$ac_ext
37460 cat >>conftest.
$ac_ext <<_ACEOF
37461 /* end confdefs.h. */
37463 /* Override any gcc2 internal prototype to avoid an error. */
37467 /* We use char because int might match the return type of a gcc2
37468 builtin and then its argument prototype would still apply. */
37469 char sched_yield ();
37478 rm -f conftest.
$ac_objext conftest
$ac_exeext
37479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37480 (eval $ac_link) 2>conftest.er1
37482 grep -v '^ *+' conftest.er1
>conftest.err
37484 cat conftest.err
>&5
37485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37486 (exit $ac_status); } &&
37487 { ac_try
='test -z "$ac_c_werror_flag"
37488 || test ! -s conftest.err'
37489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37490 (eval $ac_try) 2>&5
37492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37493 (exit $ac_status); }; } &&
37494 { ac_try
='test -s conftest$ac_exeext'
37495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37496 (eval $ac_try) 2>&5
37498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37499 (exit $ac_status); }; }; then
37500 ac_cv_lib_posix4_sched_yield
=yes
37502 echo "$as_me: failed program was:" >&5
37503 sed 's/^/| /' conftest.
$ac_ext >&5
37505 ac_cv_lib_posix4_sched_yield
=no
37507 rm -f conftest.err conftest.
$ac_objext \
37508 conftest
$ac_exeext conftest.
$ac_ext
37509 LIBS
=$ac_check_lib_save_LIBS
37511 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37512 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37513 if test $ac_cv_lib_posix4_sched_yield = yes; then
37514 cat >>confdefs.h
<<\_ACEOF
37515 #define HAVE_SCHED_YIELD 1
37517 POSIX4_LINK
=" -lposix4"
37519 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37520 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37531 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37532 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37533 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37534 echo $ECHO_N "(cached) $ECHO_C" >&6
37536 cat >conftest.
$ac_ext <<_ACEOF
37539 cat confdefs.h
>>conftest.
$ac_ext
37540 cat >>conftest.
$ac_ext <<_ACEOF
37541 /* end confdefs.h. */
37542 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37544 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37546 /* System header to define __stub macros and hopefully few prototypes,
37547 which can conflict with char pthread_attr_getschedpolicy (); below.
37548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37549 <limits.h> exists even on freestanding compilers. */
37552 # include <limits.h>
37554 # include <assert.h>
37557 #undef pthread_attr_getschedpolicy
37559 /* Override any gcc2 internal prototype to avoid an error. */
37564 /* We use char because int might match the return type of a gcc2
37565 builtin and then its argument prototype would still apply. */
37566 char pthread_attr_getschedpolicy ();
37567 /* The GNU C library defines this for functions which it implements
37568 to always fail with ENOSYS. Some functions are actually named
37569 something starting with __ and the normal name is an alias. */
37570 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37573 char (*f) () = pthread_attr_getschedpolicy;
37582 return f != pthread_attr_getschedpolicy;
37587 rm -f conftest.
$ac_objext conftest
$ac_exeext
37588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37589 (eval $ac_link) 2>conftest.er1
37591 grep -v '^ *+' conftest.er1
>conftest.err
37593 cat conftest.err
>&5
37594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37595 (exit $ac_status); } &&
37596 { ac_try
='test -z "$ac_c_werror_flag"
37597 || test ! -s conftest.err'
37598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37599 (eval $ac_try) 2>&5
37601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37602 (exit $ac_status); }; } &&
37603 { ac_try
='test -s conftest$ac_exeext'
37604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37605 (eval $ac_try) 2>&5
37607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608 (exit $ac_status); }; }; then
37609 ac_cv_func_pthread_attr_getschedpolicy
=yes
37611 echo "$as_me: failed program was:" >&5
37612 sed 's/^/| /' conftest.
$ac_ext >&5
37614 ac_cv_func_pthread_attr_getschedpolicy
=no
37616 rm -f conftest.err conftest.
$ac_objext \
37617 conftest
$ac_exeext conftest.
$ac_ext
37619 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37620 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37621 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37622 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37623 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37624 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37625 echo $ECHO_N "(cached) $ECHO_C" >&6
37627 cat >conftest.
$ac_ext <<_ACEOF
37630 cat confdefs.h
>>conftest.
$ac_ext
37631 cat >>conftest.
$ac_ext <<_ACEOF
37632 /* end confdefs.h. */
37633 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37635 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37637 /* System header to define __stub macros and hopefully few prototypes,
37638 which can conflict with char pthread_attr_setschedparam (); below.
37639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37640 <limits.h> exists even on freestanding compilers. */
37643 # include <limits.h>
37645 # include <assert.h>
37648 #undef pthread_attr_setschedparam
37650 /* Override any gcc2 internal prototype to avoid an error. */
37655 /* We use char because int might match the return type of a gcc2
37656 builtin and then its argument prototype would still apply. */
37657 char pthread_attr_setschedparam ();
37658 /* The GNU C library defines this for functions which it implements
37659 to always fail with ENOSYS. Some functions are actually named
37660 something starting with __ and the normal name is an alias. */
37661 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37664 char (*f) () = pthread_attr_setschedparam;
37673 return f != pthread_attr_setschedparam;
37678 rm -f conftest.
$ac_objext conftest
$ac_exeext
37679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37680 (eval $ac_link) 2>conftest.er1
37682 grep -v '^ *+' conftest.er1
>conftest.err
37684 cat conftest.err
>&5
37685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37686 (exit $ac_status); } &&
37687 { ac_try
='test -z "$ac_c_werror_flag"
37688 || test ! -s conftest.err'
37689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37690 (eval $ac_try) 2>&5
37692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37693 (exit $ac_status); }; } &&
37694 { ac_try
='test -s conftest$ac_exeext'
37695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37696 (eval $ac_try) 2>&5
37698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37699 (exit $ac_status); }; }; then
37700 ac_cv_func_pthread_attr_setschedparam
=yes
37702 echo "$as_me: failed program was:" >&5
37703 sed 's/^/| /' conftest.
$ac_ext >&5
37705 ac_cv_func_pthread_attr_setschedparam
=no
37707 rm -f conftest.err conftest.
$ac_objext \
37708 conftest
$ac_exeext conftest.
$ac_ext
37710 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37711 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37712 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37713 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37714 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37715 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37716 echo $ECHO_N "(cached) $ECHO_C" >&6
37718 cat >conftest.
$ac_ext <<_ACEOF
37721 cat confdefs.h
>>conftest.
$ac_ext
37722 cat >>conftest.
$ac_ext <<_ACEOF
37723 /* end confdefs.h. */
37724 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37726 #define sched_get_priority_max innocuous_sched_get_priority_max
37728 /* System header to define __stub macros and hopefully few prototypes,
37729 which can conflict with char sched_get_priority_max (); below.
37730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37731 <limits.h> exists even on freestanding compilers. */
37734 # include <limits.h>
37736 # include <assert.h>
37739 #undef sched_get_priority_max
37741 /* Override any gcc2 internal prototype to avoid an error. */
37746 /* We use char because int might match the return type of a gcc2
37747 builtin and then its argument prototype would still apply. */
37748 char sched_get_priority_max ();
37749 /* The GNU C library defines this for functions which it implements
37750 to always fail with ENOSYS. Some functions are actually named
37751 something starting with __ and the normal name is an alias. */
37752 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37755 char (*f) () = sched_get_priority_max;
37764 return f != sched_get_priority_max;
37769 rm -f conftest.
$ac_objext conftest
$ac_exeext
37770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37771 (eval $ac_link) 2>conftest.er1
37773 grep -v '^ *+' conftest.er1
>conftest.err
37775 cat conftest.err
>&5
37776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37777 (exit $ac_status); } &&
37778 { ac_try
='test -z "$ac_c_werror_flag"
37779 || test ! -s conftest.err'
37780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37781 (eval $ac_try) 2>&5
37783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784 (exit $ac_status); }; } &&
37785 { ac_try
='test -s conftest$ac_exeext'
37786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37787 (eval $ac_try) 2>&5
37789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37790 (exit $ac_status); }; }; then
37791 ac_cv_func_sched_get_priority_max
=yes
37793 echo "$as_me: failed program was:" >&5
37794 sed 's/^/| /' conftest.
$ac_ext >&5
37796 ac_cv_func_sched_get_priority_max
=no
37798 rm -f conftest.err conftest.
$ac_objext \
37799 conftest
$ac_exeext conftest.
$ac_ext
37801 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37802 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37803 if test $ac_cv_func_sched_get_priority_max = yes; then
37806 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37807 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37808 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37809 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 ac_check_lib_save_LIBS
=$LIBS
37812 LIBS
="-lposix4 $LIBS"
37813 cat >conftest.
$ac_ext <<_ACEOF
37816 cat confdefs.h
>>conftest.
$ac_ext
37817 cat >>conftest.
$ac_ext <<_ACEOF
37818 /* end confdefs.h. */
37820 /* Override any gcc2 internal prototype to avoid an error. */
37824 /* We use char because int might match the return type of a gcc2
37825 builtin and then its argument prototype would still apply. */
37826 char sched_get_priority_max ();
37830 sched_get_priority_max ();
37835 rm -f conftest.
$ac_objext conftest
$ac_exeext
37836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37837 (eval $ac_link) 2>conftest.er1
37839 grep -v '^ *+' conftest.er1
>conftest.err
37841 cat conftest.err
>&5
37842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37843 (exit $ac_status); } &&
37844 { ac_try
='test -z "$ac_c_werror_flag"
37845 || test ! -s conftest.err'
37846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37847 (eval $ac_try) 2>&5
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); }; } &&
37851 { ac_try
='test -s conftest$ac_exeext'
37852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37853 (eval $ac_try) 2>&5
37855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37856 (exit $ac_status); }; }; then
37857 ac_cv_lib_posix4_sched_get_priority_max
=yes
37859 echo "$as_me: failed program was:" >&5
37860 sed 's/^/| /' conftest.
$ac_ext >&5
37862 ac_cv_lib_posix4_sched_get_priority_max
=no
37864 rm -f conftest.err conftest.
$ac_objext \
37865 conftest
$ac_exeext conftest.
$ac_ext
37866 LIBS
=$ac_check_lib_save_LIBS
37868 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37869 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37870 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37873 POSIX4_LINK
=" -lposix4"
37887 if test "$HAVE_PRIOR_FUNCS" = 1; then
37888 cat >>confdefs.h
<<\_ACEOF
37889 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37893 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37894 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37897 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37898 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37899 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37902 cat >conftest.
$ac_ext <<_ACEOF
37905 cat confdefs.h
>>conftest.
$ac_ext
37906 cat >>conftest.
$ac_ext <<_ACEOF
37907 /* end confdefs.h. */
37908 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37910 #define pthread_cancel innocuous_pthread_cancel
37912 /* System header to define __stub macros and hopefully few prototypes,
37913 which can conflict with char pthread_cancel (); below.
37914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37915 <limits.h> exists even on freestanding compilers. */
37918 # include <limits.h>
37920 # include <assert.h>
37923 #undef pthread_cancel
37925 /* Override any gcc2 internal prototype to avoid an error. */
37930 /* We use char because int might match the return type of a gcc2
37931 builtin and then its argument prototype would still apply. */
37932 char pthread_cancel ();
37933 /* The GNU C library defines this for functions which it implements
37934 to always fail with ENOSYS. Some functions are actually named
37935 something starting with __ and the normal name is an alias. */
37936 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37939 char (*f) () = pthread_cancel;
37948 return f != pthread_cancel;
37953 rm -f conftest.
$ac_objext conftest
$ac_exeext
37954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37955 (eval $ac_link) 2>conftest.er1
37957 grep -v '^ *+' conftest.er1
>conftest.err
37959 cat conftest.err
>&5
37960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37961 (exit $ac_status); } &&
37962 { ac_try
='test -z "$ac_c_werror_flag"
37963 || test ! -s conftest.err'
37964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37965 (eval $ac_try) 2>&5
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); }; } &&
37969 { ac_try
='test -s conftest$ac_exeext'
37970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37971 (eval $ac_try) 2>&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); }; }; then
37975 ac_cv_func_pthread_cancel
=yes
37977 echo "$as_me: failed program was:" >&5
37978 sed 's/^/| /' conftest.
$ac_ext >&5
37980 ac_cv_func_pthread_cancel
=no
37982 rm -f conftest.err conftest.
$ac_objext \
37983 conftest
$ac_exeext conftest.
$ac_ext
37985 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37986 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37987 if test $ac_cv_func_pthread_cancel = yes; then
37988 cat >>confdefs.h
<<\_ACEOF
37989 #define HAVE_PTHREAD_CANCEL 1
37993 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37994 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37998 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
37999 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38000 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38001 echo $ECHO_N "(cached) $ECHO_C" >&6
38003 cat >conftest.
$ac_ext <<_ACEOF
38006 cat confdefs.h
>>conftest.
$ac_ext
38007 cat >>conftest.
$ac_ext <<_ACEOF
38008 /* end confdefs.h. */
38009 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38011 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38013 /* System header to define __stub macros and hopefully few prototypes,
38014 which can conflict with char pthread_attr_setstacksize (); below.
38015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38016 <limits.h> exists even on freestanding compilers. */
38019 # include <limits.h>
38021 # include <assert.h>
38024 #undef pthread_attr_setstacksize
38026 /* Override any gcc2 internal prototype to avoid an error. */
38031 /* We use char because int might match the return type of a gcc2
38032 builtin and then its argument prototype would still apply. */
38033 char pthread_attr_setstacksize ();
38034 /* The GNU C library defines this for functions which it implements
38035 to always fail with ENOSYS. Some functions are actually named
38036 something starting with __ and the normal name is an alias. */
38037 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38040 char (*f) () = pthread_attr_setstacksize;
38049 return f != pthread_attr_setstacksize;
38054 rm -f conftest.
$ac_objext conftest
$ac_exeext
38055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38056 (eval $ac_link) 2>conftest.er1
38058 grep -v '^ *+' conftest.er1
>conftest.err
38060 cat conftest.err
>&5
38061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38062 (exit $ac_status); } &&
38063 { ac_try
='test -z "$ac_c_werror_flag"
38064 || test ! -s conftest.err'
38065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38066 (eval $ac_try) 2>&5
38068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069 (exit $ac_status); }; } &&
38070 { ac_try
='test -s conftest$ac_exeext'
38071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38072 (eval $ac_try) 2>&5
38074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075 (exit $ac_status); }; }; then
38076 ac_cv_func_pthread_attr_setstacksize
=yes
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.
$ac_ext >&5
38081 ac_cv_func_pthread_attr_setstacksize
=no
38083 rm -f conftest.err conftest.
$ac_objext \
38084 conftest
$ac_exeext conftest.
$ac_ext
38086 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38087 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38088 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38089 cat >>confdefs.h
<<\_ACEOF
38090 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38097 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38098 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38099 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38100 echo $ECHO_N "(cached) $ECHO_C" >&6
38103 cat >conftest.
$ac_ext <<_ACEOF
38106 cat confdefs.h
>>conftest.
$ac_ext
38107 cat >>conftest.
$ac_ext <<_ACEOF
38108 /* end confdefs.h. */
38109 #include <pthread.h>
38114 pthread_mutexattr_t attr;
38115 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38121 rm -f conftest.
$ac_objext
38122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38123 (eval $ac_compile) 2>conftest.er1
38125 grep -v '^ *+' conftest.er1
>conftest.err
38127 cat conftest.err
>&5
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); } &&
38130 { ac_try
='test -z "$ac_c_werror_flag"
38131 || test ! -s conftest.err'
38132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38133 (eval $ac_try) 2>&5
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); }; } &&
38137 { ac_try
='test -s conftest.$ac_objext'
38138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38139 (eval $ac_try) 2>&5
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); }; }; then
38143 wx_cv_type_pthread_mutexattr_t
=yes
38145 echo "$as_me: failed program was:" >&5
38146 sed 's/^/| /' conftest.
$ac_ext >&5
38148 wx_cv_type_pthread_mutexattr_t
=no
38151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38154 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38155 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38157 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38158 cat >>confdefs.h
<<\_ACEOF
38159 #define HAVE_PTHREAD_MUTEXATTR_T 1
38163 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38164 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38165 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38166 echo $ECHO_N "(cached) $ECHO_C" >&6
38169 cat >conftest.
$ac_ext <<_ACEOF
38172 cat confdefs.h
>>conftest.
$ac_ext
38173 cat >>conftest.
$ac_ext <<_ACEOF
38174 /* end confdefs.h. */
38175 #include <pthread.h>
38180 pthread_mutexattr_t attr;
38181 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38187 rm -f conftest.
$ac_objext
38188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38189 (eval $ac_compile) 2>conftest.er1
38191 grep -v '^ *+' conftest.er1
>conftest.err
38193 cat conftest.err
>&5
38194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38195 (exit $ac_status); } &&
38196 { ac_try
='test -z "$ac_c_werror_flag"
38197 || test ! -s conftest.err'
38198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38199 (eval $ac_try) 2>&5
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); }; } &&
38203 { ac_try
='test -s conftest.$ac_objext'
38204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38205 (eval $ac_try) 2>&5
38207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208 (exit $ac_status); }; }; then
38209 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38211 echo "$as_me: failed program was:" >&5
38212 sed 's/^/| /' conftest.
$ac_ext >&5
38214 wx_cv_func_pthread_mutexattr_settype_decl
=no
38217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38220 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38221 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38222 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38223 cat >>confdefs.h
<<\_ACEOF
38224 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38229 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38230 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38231 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38232 echo $ECHO_N "(cached) $ECHO_C" >&6
38235 cat >conftest.
$ac_ext <<_ACEOF
38238 cat confdefs.h
>>conftest.
$ac_ext
38239 cat >>conftest.
$ac_ext <<_ACEOF
38240 /* end confdefs.h. */
38241 #include <pthread.h>
38246 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38252 rm -f conftest.
$ac_objext
38253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38254 (eval $ac_compile) 2>conftest.er1
38256 grep -v '^ *+' conftest.er1
>conftest.err
38258 cat conftest.err
>&5
38259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38260 (exit $ac_status); } &&
38261 { ac_try
='test -z "$ac_c_werror_flag"
38262 || test ! -s conftest.err'
38263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38264 (eval $ac_try) 2>&5
38266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38267 (exit $ac_status); }; } &&
38268 { ac_try
='test -s conftest.$ac_objext'
38269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38270 (eval $ac_try) 2>&5
38272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38273 (exit $ac_status); }; }; then
38275 wx_cv_type_pthread_rec_mutex_init
=yes
38278 echo "$as_me: failed program was:" >&5
38279 sed 's/^/| /' conftest.
$ac_ext >&5
38282 wx_cv_type_pthread_rec_mutex_init
=no
38286 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38289 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38290 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38291 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38292 cat >>confdefs.h
<<\_ACEOF
38293 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38297 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38298 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38304 if test "$wxUSE_THREADS" = "yes" ; then
38307 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38308 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38309 if test "${wx_cv_cflags_mthread+set}" = set; then
38310 echo $ECHO_N "(cached) $ECHO_C" >&6
38313 CFLAGS_OLD
="$CFLAGS"
38314 CFLAGS
="-mthreads $CFLAGS"
38315 cat >conftest.
$ac_ext <<_ACEOF
38318 cat confdefs.h
>>conftest.
$ac_ext
38319 cat >>conftest.
$ac_ext <<_ACEOF
38320 /* end confdefs.h. */
38330 rm -f conftest.
$ac_objext
38331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38332 (eval $ac_compile) 2>conftest.er1
38334 grep -v '^ *+' conftest.er1
>conftest.err
38336 cat conftest.err
>&5
38337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338 (exit $ac_status); } &&
38339 { ac_try
='test -z "$ac_c_werror_flag"
38340 || test ! -s conftest.err'
38341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38342 (eval $ac_try) 2>&5
38344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345 (exit $ac_status); }; } &&
38346 { ac_try
='test -s conftest.$ac_objext'
38347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38348 (eval $ac_try) 2>&5
38350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38351 (exit $ac_status); }; }; then
38352 wx_cv_cflags_mthread
=yes
38354 echo "$as_me: failed program was:" >&5
38355 sed 's/^/| /' conftest.
$ac_ext >&5
38357 wx_cv_cflags_mthread
=no
38360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38364 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38365 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38367 if test "$wx_cv_cflags_mthread" = "yes"; then
38368 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
38369 LDFLAGS
="$LDFLAGS -mthreads"
38371 CFLAGS
="$CFLAGS_OLD"
38375 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38376 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38377 LDFLAGS
="$LDFLAGS -Zmt"
38383 echo "$as_me:$LINENO: checking for localtime_r" >&5
38384 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38385 if test "${ac_cv_func_localtime_r+set}" = set; then
38386 echo $ECHO_N "(cached) $ECHO_C" >&6
38388 cat >conftest.
$ac_ext <<_ACEOF
38391 cat confdefs.h
>>conftest.
$ac_ext
38392 cat >>conftest.
$ac_ext <<_ACEOF
38393 /* end confdefs.h. */
38394 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38396 #define localtime_r innocuous_localtime_r
38398 /* System header to define __stub macros and hopefully few prototypes,
38399 which can conflict with char localtime_r (); below.
38400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38401 <limits.h> exists even on freestanding compilers. */
38404 # include <limits.h>
38406 # include <assert.h>
38411 /* Override any gcc2 internal prototype to avoid an error. */
38416 /* We use char because int might match the return type of a gcc2
38417 builtin and then its argument prototype would still apply. */
38418 char localtime_r ();
38419 /* The GNU C library defines this for functions which it implements
38420 to always fail with ENOSYS. Some functions are actually named
38421 something starting with __ and the normal name is an alias. */
38422 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38425 char (*f) () = localtime_r;
38434 return f != localtime_r;
38439 rm -f conftest.
$ac_objext conftest
$ac_exeext
38440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38441 (eval $ac_link) 2>conftest.er1
38443 grep -v '^ *+' conftest.er1
>conftest.err
38445 cat conftest.err
>&5
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); } &&
38448 { ac_try
='test -z "$ac_c_werror_flag"
38449 || test ! -s conftest.err'
38450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38451 (eval $ac_try) 2>&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); }; } &&
38455 { ac_try
='test -s conftest$ac_exeext'
38456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38457 (eval $ac_try) 2>&5
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); }; }; then
38461 ac_cv_func_localtime_r
=yes
38463 echo "$as_me: failed program was:" >&5
38464 sed 's/^/| /' conftest.
$ac_ext >&5
38466 ac_cv_func_localtime_r
=no
38468 rm -f conftest.err conftest.
$ac_objext \
38469 conftest
$ac_exeext conftest.
$ac_ext
38471 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38472 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38473 if test $ac_cv_func_localtime_r = yes; then
38474 cat >>confdefs.h
<<\_ACEOF
38475 #define HAVE_LOCALTIME_R 1
38480 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38481 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38482 if test "${ac_cv_func_gmtime_r+set}" = set; then
38483 echo $ECHO_N "(cached) $ECHO_C" >&6
38485 cat >conftest.
$ac_ext <<_ACEOF
38488 cat confdefs.h
>>conftest.
$ac_ext
38489 cat >>conftest.
$ac_ext <<_ACEOF
38490 /* end confdefs.h. */
38491 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38493 #define gmtime_r innocuous_gmtime_r
38495 /* System header to define __stub macros and hopefully few prototypes,
38496 which can conflict with char gmtime_r (); below.
38497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38498 <limits.h> exists even on freestanding compilers. */
38501 # include <limits.h>
38503 # include <assert.h>
38508 /* Override any gcc2 internal prototype to avoid an error. */
38513 /* We use char because int might match the return type of a gcc2
38514 builtin and then its argument prototype would still apply. */
38516 /* The GNU C library defines this for functions which it implements
38517 to always fail with ENOSYS. Some functions are actually named
38518 something starting with __ and the normal name is an alias. */
38519 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38522 char (*f) () = gmtime_r;
38531 return f != gmtime_r;
38536 rm -f conftest.
$ac_objext conftest
$ac_exeext
38537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38538 (eval $ac_link) 2>conftest.er1
38540 grep -v '^ *+' conftest.er1
>conftest.err
38542 cat conftest.err
>&5
38543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544 (exit $ac_status); } &&
38545 { ac_try
='test -z "$ac_c_werror_flag"
38546 || test ! -s conftest.err'
38547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38548 (eval $ac_try) 2>&5
38550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551 (exit $ac_status); }; } &&
38552 { ac_try
='test -s conftest$ac_exeext'
38553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38554 (eval $ac_try) 2>&5
38556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38557 (exit $ac_status); }; }; then
38558 ac_cv_func_gmtime_r
=yes
38560 echo "$as_me: failed program was:" >&5
38561 sed 's/^/| /' conftest.
$ac_ext >&5
38563 ac_cv_func_gmtime_r
=no
38565 rm -f conftest.err conftest.
$ac_objext \
38566 conftest
$ac_exeext conftest.
$ac_ext
38568 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38569 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38570 if test $ac_cv_func_gmtime_r = yes; then
38571 cat >>confdefs.h
<<\_ACEOF
38572 #define HAVE_GMTIME_R 1
38577 echo "$as_me:$LINENO: checking for readdir_r" >&5
38578 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38579 if test "${ac_cv_func_readdir_r+set}" = set; then
38580 echo $ECHO_N "(cached) $ECHO_C" >&6
38582 cat >conftest.
$ac_ext <<_ACEOF
38585 cat confdefs.h
>>conftest.
$ac_ext
38586 cat >>conftest.
$ac_ext <<_ACEOF
38587 /* end confdefs.h. */
38588 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38590 #define readdir_r innocuous_readdir_r
38592 /* System header to define __stub macros and hopefully few prototypes,
38593 which can conflict with char readdir_r (); below.
38594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38595 <limits.h> exists even on freestanding compilers. */
38598 # include <limits.h>
38600 # include <assert.h>
38605 /* Override any gcc2 internal prototype to avoid an error. */
38610 /* We use char because int might match the return type of a gcc2
38611 builtin and then its argument prototype would still apply. */
38613 /* The GNU C library defines this for functions which it implements
38614 to always fail with ENOSYS. Some functions are actually named
38615 something starting with __ and the normal name is an alias. */
38616 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38619 char (*f) () = readdir_r;
38628 return f != readdir_r;
38633 rm -f conftest.
$ac_objext conftest
$ac_exeext
38634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38635 (eval $ac_link) 2>conftest.er1
38637 grep -v '^ *+' conftest.er1
>conftest.err
38639 cat conftest.err
>&5
38640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641 (exit $ac_status); } &&
38642 { ac_try
='test -z "$ac_c_werror_flag"
38643 || test ! -s conftest.err'
38644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38645 (eval $ac_try) 2>&5
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); }; } &&
38649 { ac_try
='test -s conftest$ac_exeext'
38650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38651 (eval $ac_try) 2>&5
38653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38654 (exit $ac_status); }; }; then
38655 ac_cv_func_readdir_r
=yes
38657 echo "$as_me: failed program was:" >&5
38658 sed 's/^/| /' conftest.
$ac_ext >&5
38660 ac_cv_func_readdir_r
=no
38662 rm -f conftest.err conftest.
$ac_objext \
38663 conftest
$ac_exeext conftest.
$ac_ext
38665 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38666 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38667 if test $ac_cv_func_readdir_r = yes; then
38668 cat >>confdefs.h
<<\_ACEOF
38669 #define HAVE_READDIR_R 1
38674 echo "$as_me:$LINENO: checking for getaddrinfo" >&5
38675 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
38676 if test "${ac_cv_func_getaddrinfo+set}" = set; then
38677 echo $ECHO_N "(cached) $ECHO_C" >&6
38679 cat >conftest.
$ac_ext <<_ACEOF
38682 cat confdefs.h
>>conftest.
$ac_ext
38683 cat >>conftest.
$ac_ext <<_ACEOF
38684 /* end confdefs.h. */
38685 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
38686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38687 #define getaddrinfo innocuous_getaddrinfo
38689 /* System header to define __stub macros and hopefully few prototypes,
38690 which can conflict with char getaddrinfo (); below.
38691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38692 <limits.h> exists even on freestanding compilers. */
38695 # include <limits.h>
38697 # include <assert.h>
38702 /* Override any gcc2 internal prototype to avoid an error. */
38707 /* We use char because int might match the return type of a gcc2
38708 builtin and then its argument prototype would still apply. */
38709 char getaddrinfo ();
38710 /* The GNU C library defines this for functions which it implements
38711 to always fail with ENOSYS. Some functions are actually named
38712 something starting with __ and the normal name is an alias. */
38713 #if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
38716 char (*f) () = getaddrinfo;
38725 return f != getaddrinfo;
38730 rm -f conftest.
$ac_objext conftest
$ac_exeext
38731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38732 (eval $ac_link) 2>conftest.er1
38734 grep -v '^ *+' conftest.er1
>conftest.err
38736 cat conftest.err
>&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); } &&
38739 { ac_try
='test -z "$ac_c_werror_flag"
38740 || test ! -s conftest.err'
38741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38742 (eval $ac_try) 2>&5
38744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38745 (exit $ac_status); }; } &&
38746 { ac_try
='test -s conftest$ac_exeext'
38747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38748 (eval $ac_try) 2>&5
38750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38751 (exit $ac_status); }; }; then
38752 ac_cv_func_getaddrinfo
=yes
38754 echo "$as_me: failed program was:" >&5
38755 sed 's/^/| /' conftest.
$ac_ext >&5
38757 ac_cv_func_getaddrinfo
=no
38759 rm -f conftest.err conftest.
$ac_objext \
38760 conftest
$ac_exeext conftest.
$ac_ext
38762 echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
38763 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6
38764 if test $ac_cv_func_getaddrinfo = yes; then
38765 cat >>confdefs.h
<<\_ACEOF
38766 #define HAVE_GETADDRINFO 1
38773 ac_cpp
='$CPP $CPPFLAGS'
38774 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38775 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38776 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38778 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38779 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38781 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38782 echo $ECHO_N "(cached) $ECHO_C" >&6
38786 ################################################################
38788 ac_cv_func_which_gethostbyname_r
=unknown
38791 # ONE ARGUMENT (sanity check)
38794 # This should fail, as there is no variant of gethostbyname_r() that takes
38795 # a single argument. If it actually compiles, then we can assume that
38796 # netdb.h is not declaring the function, and the compiler is thereby
38797 # assuming an implicit prototype. In which case, we're out of luck.
38799 cat >conftest.
$ac_ext <<_ACEOF
38802 cat confdefs.h
>>conftest.
$ac_ext
38803 cat >>conftest.
$ac_ext <<_ACEOF
38804 /* end confdefs.h. */
38810 char *name = "www.gnu.org";
38811 (void)gethostbyname_r(name) /* ; */
38817 rm -f conftest.
$ac_objext
38818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38819 (eval $ac_compile) 2>conftest.er1
38821 grep -v '^ *+' conftest.er1
>conftest.err
38823 cat conftest.err
>&5
38824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38825 (exit $ac_status); } &&
38826 { ac_try
='test -z "$ac_c_werror_flag"
38827 || test ! -s conftest.err'
38828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38829 (eval $ac_try) 2>&5
38831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38832 (exit $ac_status); }; } &&
38833 { ac_try
='test -s conftest.$ac_objext'
38834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38835 (eval $ac_try) 2>&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); }; }; then
38839 ac_cv_func_which_gethostbyname_r
=no
38841 echo "$as_me: failed program was:" >&5
38842 sed 's/^/| /' conftest.
$ac_ext >&5
38845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38852 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38854 cat >conftest.
$ac_ext <<_ACEOF
38857 cat confdefs.h
>>conftest.
$ac_ext
38858 cat >>conftest.
$ac_ext <<_ACEOF
38859 /* end confdefs.h. */
38865 char *name = "www.gnu.org";
38866 struct hostent ret, *retp;
38870 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38876 rm -f conftest.
$ac_objext
38877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38878 (eval $ac_compile) 2>conftest.er1
38880 grep -v '^ *+' conftest.er1
>conftest.err
38882 cat conftest.err
>&5
38883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38884 (exit $ac_status); } &&
38885 { ac_try
='test -z "$ac_c_werror_flag"
38886 || test ! -s conftest.err'
38887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38888 (eval $ac_try) 2>&5
38890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38891 (exit $ac_status); }; } &&
38892 { ac_try
='test -s conftest.$ac_objext'
38893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38894 (eval $ac_try) 2>&5
38896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38897 (exit $ac_status); }; }; then
38898 ac_cv_func_which_gethostbyname_r
=six
38900 echo "$as_me: failed program was:" >&5
38901 sed 's/^/| /' conftest.
$ac_ext >&5
38904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38913 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38915 cat >conftest.
$ac_ext <<_ACEOF
38918 cat confdefs.h
>>conftest.
$ac_ext
38919 cat >>conftest.
$ac_ext <<_ACEOF
38920 /* end confdefs.h. */
38926 char *name = "www.gnu.org";
38927 struct hostent ret;
38931 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38937 rm -f conftest.
$ac_objext
38938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38939 (eval $ac_compile) 2>conftest.er1
38941 grep -v '^ *+' conftest.er1
>conftest.err
38943 cat conftest.err
>&5
38944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38945 (exit $ac_status); } &&
38946 { ac_try
='test -z "$ac_c_werror_flag"
38947 || test ! -s conftest.err'
38948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38949 (eval $ac_try) 2>&5
38951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38952 (exit $ac_status); }; } &&
38953 { ac_try
='test -s conftest.$ac_objext'
38954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38955 (eval $ac_try) 2>&5
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); }; }; then
38959 ac_cv_func_which_gethostbyname_r
=five
38961 echo "$as_me: failed program was:" >&5
38962 sed 's/^/| /' conftest.
$ac_ext >&5
38965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38971 # (e.g. AIX, HP-UX, Tru64)
38974 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38976 cat >conftest.
$ac_ext <<_ACEOF
38979 cat confdefs.h
>>conftest.
$ac_ext
38980 cat >>conftest.
$ac_ext <<_ACEOF
38981 /* end confdefs.h. */
38987 char *name = "www.gnu.org";
38988 struct hostent ret;
38989 struct hostent_data data;
38990 (void)gethostbyname_r(name, &ret, &data) /* ; */
38996 rm -f conftest.
$ac_objext
38997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38998 (eval $ac_compile) 2>conftest.er1
39000 grep -v '^ *+' conftest.er1
>conftest.err
39002 cat conftest.err
>&5
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); } &&
39005 { ac_try
='test -z "$ac_c_werror_flag"
39006 || test ! -s conftest.err'
39007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39008 (eval $ac_try) 2>&5
39010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011 (exit $ac_status); }; } &&
39012 { ac_try
='test -s conftest.$ac_objext'
39013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39014 (eval $ac_try) 2>&5
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); }; }; then
39018 ac_cv_func_which_gethostbyname_r
=three
39020 echo "$as_me: failed program was:" >&5
39021 sed 's/^/| /' conftest.
$ac_ext >&5
39024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39028 ################################################################
39033 case "$ac_cv_func_which_gethostbyname_r" in
39035 echo "$as_me:$LINENO: result: three" >&5
39036 echo "${ECHO_T}three" >&6
39037 cat >>confdefs.h
<<\_ACEOF
39038 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39044 echo "$as_me:$LINENO: result: five" >&5
39045 echo "${ECHO_T}five" >&6
39046 cat >>confdefs.h
<<\_ACEOF
39047 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39053 echo "$as_me:$LINENO: result: six" >&5
39054 echo "${ECHO_T}six" >&6
39055 cat >>confdefs.h
<<\_ACEOF
39056 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39062 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39063 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39067 echo "$as_me:$LINENO: result: can't tell" >&5
39068 echo "${ECHO_T}can't tell" >&6
39072 { { echo "$as_me:$LINENO: error: internal error" >&5
39073 echo "$as_me: error: internal error" >&2;}
39074 { (exit 1); exit 1; }; }
39079 ac_cpp
='$CPP $CPPFLAGS'
39080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39086 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39087 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39088 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39089 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39090 if test "${ac_cv_func_gethostbyname+set}" = set; then
39091 echo $ECHO_N "(cached) $ECHO_C" >&6
39093 cat >conftest.
$ac_ext <<_ACEOF
39096 cat confdefs.h
>>conftest.
$ac_ext
39097 cat >>conftest.
$ac_ext <<_ACEOF
39098 /* end confdefs.h. */
39099 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39101 #define gethostbyname innocuous_gethostbyname
39103 /* System header to define __stub macros and hopefully few prototypes,
39104 which can conflict with char gethostbyname (); below.
39105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39106 <limits.h> exists even on freestanding compilers. */
39109 # include <limits.h>
39111 # include <assert.h>
39114 #undef gethostbyname
39116 /* Override any gcc2 internal prototype to avoid an error. */
39121 /* We use char because int might match the return type of a gcc2
39122 builtin and then its argument prototype would still apply. */
39123 char gethostbyname ();
39124 /* The GNU C library defines this for functions which it implements
39125 to always fail with ENOSYS. Some functions are actually named
39126 something starting with __ and the normal name is an alias. */
39127 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39130 char (*f) () = gethostbyname;
39139 return f != gethostbyname;
39144 rm -f conftest.
$ac_objext conftest
$ac_exeext
39145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39146 (eval $ac_link) 2>conftest.er1
39148 grep -v '^ *+' conftest.er1
>conftest.err
39150 cat conftest.err
>&5
39151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39152 (exit $ac_status); } &&
39153 { ac_try
='test -z "$ac_c_werror_flag"
39154 || test ! -s conftest.err'
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); }; } &&
39160 { ac_try
='test -s conftest$ac_exeext'
39161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39162 (eval $ac_try) 2>&5
39164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39165 (exit $ac_status); }; }; then
39166 ac_cv_func_gethostbyname
=yes
39168 echo "$as_me: failed program was:" >&5
39169 sed 's/^/| /' conftest.
$ac_ext >&5
39171 ac_cv_func_gethostbyname
=no
39173 rm -f conftest.err conftest.
$ac_objext \
39174 conftest
$ac_exeext conftest.
$ac_ext
39176 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39177 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39178 if test $ac_cv_func_gethostbyname = yes; then
39179 cat >>confdefs.h
<<\_ACEOF
39180 #define HAVE_GETHOSTBYNAME 1
39186 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39187 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39188 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39189 echo $ECHO_N "(cached) $ECHO_C" >&6
39192 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39193 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39194 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39195 echo $ECHO_N "(cached) $ECHO_C" >&6
39197 cat >conftest.
$ac_ext <<_ACEOF
39200 cat confdefs.h
>>conftest.
$ac_ext
39201 cat >>conftest.
$ac_ext <<_ACEOF
39202 /* end confdefs.h. */
39203 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39205 #define getservbyname_r innocuous_getservbyname_r
39207 /* System header to define __stub macros and hopefully few prototypes,
39208 which can conflict with char getservbyname_r (); below.
39209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39210 <limits.h> exists even on freestanding compilers. */
39213 # include <limits.h>
39215 # include <assert.h>
39218 #undef getservbyname_r
39220 /* Override any gcc2 internal prototype to avoid an error. */
39225 /* We use char because int might match the return type of a gcc2
39226 builtin and then its argument prototype would still apply. */
39227 char getservbyname_r ();
39228 /* The GNU C library defines this for functions which it implements
39229 to always fail with ENOSYS. Some functions are actually named
39230 something starting with __ and the normal name is an alias. */
39231 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39234 char (*f) () = getservbyname_r;
39243 return f != getservbyname_r;
39248 rm -f conftest.
$ac_objext conftest
$ac_exeext
39249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39250 (eval $ac_link) 2>conftest.er1
39252 grep -v '^ *+' conftest.er1
>conftest.err
39254 cat conftest.err
>&5
39255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39256 (exit $ac_status); } &&
39257 { ac_try
='test -z "$ac_c_werror_flag"
39258 || test ! -s conftest.err'
39259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39260 (eval $ac_try) 2>&5
39262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39263 (exit $ac_status); }; } &&
39264 { ac_try
='test -s conftest$ac_exeext'
39265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39266 (eval $ac_try) 2>&5
39268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39269 (exit $ac_status); }; }; then
39270 ac_cv_func_getservbyname_r
=yes
39272 echo "$as_me: failed program was:" >&5
39273 sed 's/^/| /' conftest.
$ac_ext >&5
39275 ac_cv_func_getservbyname_r
=no
39277 rm -f conftest.err conftest.
$ac_objext \
39278 conftest
$ac_exeext conftest.
$ac_ext
39280 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39281 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39282 if test $ac_cv_func_getservbyname_r = yes; then
39284 cat >conftest.
$ac_ext <<_ACEOF
39287 cat confdefs.h
>>conftest.
$ac_ext
39288 cat >>conftest.
$ac_ext <<_ACEOF
39289 /* end confdefs.h. */
39291 # include <netdb.h>
39300 struct servent *se;
39301 struct servent_data data;
39302 (void) getservbyname_r(name, proto, se, &data);
39309 rm -f conftest.
$ac_objext
39310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39311 (eval $ac_compile) 2>conftest.er1
39313 grep -v '^ *+' conftest.er1
>conftest.err
39315 cat conftest.err
>&5
39316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39317 (exit $ac_status); } &&
39318 { ac_try
='test -z "$ac_c_werror_flag"
39319 || test ! -s conftest.err'
39320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39321 (eval $ac_try) 2>&5
39323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39324 (exit $ac_status); }; } &&
39325 { ac_try
='test -s conftest.$ac_objext'
39326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39327 (eval $ac_try) 2>&5
39329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39330 (exit $ac_status); }; }; then
39331 ac_cv_func_which_getservbyname_r
=four
39333 echo "$as_me: failed program was:" >&5
39334 sed 's/^/| /' conftest.
$ac_ext >&5
39337 cat >conftest.
$ac_ext <<_ACEOF
39340 cat confdefs.h
>>conftest.
$ac_ext
39341 cat >>conftest.
$ac_ext <<_ACEOF
39342 /* end confdefs.h. */
39344 # include <netdb.h>
39352 struct servent *se, *res;
39355 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39361 rm -f conftest.
$ac_objext
39362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39363 (eval $ac_compile) 2>conftest.er1
39365 grep -v '^ *+' conftest.er1
>conftest.err
39367 cat conftest.err
>&5
39368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369 (exit $ac_status); } &&
39370 { ac_try
='test -z "$ac_c_werror_flag"
39371 || test ! -s conftest.err'
39372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39373 (eval $ac_try) 2>&5
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); }; } &&
39377 { ac_try
='test -s conftest.$ac_objext'
39378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39379 (eval $ac_try) 2>&5
39381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39382 (exit $ac_status); }; }; then
39383 ac_cv_func_which_getservbyname_r
=six
39385 echo "$as_me: failed program was:" >&5
39386 sed 's/^/| /' conftest.
$ac_ext >&5
39389 cat >conftest.
$ac_ext <<_ACEOF
39392 cat confdefs.h
>>conftest.
$ac_ext
39393 cat >>conftest.
$ac_ext <<_ACEOF
39394 /* end confdefs.h. */
39396 # include <netdb.h>
39404 struct servent *se;
39407 (void) getservbyname_r(name, proto, se, buffer, buflen)
39413 rm -f conftest.
$ac_objext
39414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39415 (eval $ac_compile) 2>conftest.er1
39417 grep -v '^ *+' conftest.er1
>conftest.err
39419 cat conftest.err
>&5
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); } &&
39422 { ac_try
='test -z "$ac_c_werror_flag"
39423 || test ! -s conftest.err'
39424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39425 (eval $ac_try) 2>&5
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); }; } &&
39429 { ac_try
='test -s conftest.$ac_objext'
39430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39431 (eval $ac_try) 2>&5
39433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39434 (exit $ac_status); }; }; then
39435 ac_cv_func_which_getservbyname_r
=five
39437 echo "$as_me: failed program was:" >&5
39438 sed 's/^/| /' conftest.
$ac_ext >&5
39440 ac_cv_func_which_getservbyname_r
=no
39442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39455 ac_cv_func_which_getservbyname_r
=no
39459 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39460 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
39462 if test $ac_cv_func_which_getservbyname_r = six
; then
39463 cat >>confdefs.h
<<\_ACEOF
39464 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39467 elif test $ac_cv_func_which_getservbyname_r = five
; then
39468 cat >>confdefs.h
<<\_ACEOF
39469 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39472 elif test $ac_cv_func_which_getservbyname_r = four
; then
39473 cat >>confdefs.h
<<\_ACEOF
39474 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39481 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39482 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39484 for ac_func
in getservbyname
39486 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39487 echo "$as_me:$LINENO: checking for $ac_func" >&5
39488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39489 if eval "test \"\${$as_ac_var+set}\" = set"; then
39490 echo $ECHO_N "(cached) $ECHO_C" >&6
39492 cat >conftest.
$ac_ext <<_ACEOF
39495 cat confdefs.h
>>conftest.
$ac_ext
39496 cat >>conftest.
$ac_ext <<_ACEOF
39497 /* end confdefs.h. */
39498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39500 #define $ac_func innocuous_$ac_func
39502 /* System header to define __stub macros and hopefully few prototypes,
39503 which can conflict with char $ac_func (); below.
39504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39505 <limits.h> exists even on freestanding compilers. */
39508 # include <limits.h>
39510 # include <assert.h>
39515 /* Override any gcc2 internal prototype to avoid an error. */
39520 /* We use char because int might match the return type of a gcc2
39521 builtin and then its argument prototype would still apply. */
39523 /* The GNU C library defines this for functions which it implements
39524 to always fail with ENOSYS. Some functions are actually named
39525 something starting with __ and the normal name is an alias. */
39526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39529 char (*f) () = $ac_func;
39538 return f != $ac_func;
39543 rm -f conftest.
$ac_objext conftest
$ac_exeext
39544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39545 (eval $ac_link) 2>conftest.er1
39547 grep -v '^ *+' conftest.er1
>conftest.err
39549 cat conftest.err
>&5
39550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39551 (exit $ac_status); } &&
39552 { ac_try
='test -z "$ac_c_werror_flag"
39553 || test ! -s conftest.err'
39554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39555 (eval $ac_try) 2>&5
39557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39558 (exit $ac_status); }; } &&
39559 { ac_try
='test -s conftest$ac_exeext'
39560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39561 (eval $ac_try) 2>&5
39563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39564 (exit $ac_status); }; }; then
39565 eval "$as_ac_var=yes"
39567 echo "$as_me: failed program was:" >&5
39568 sed 's/^/| /' conftest.
$ac_ext >&5
39570 eval "$as_ac_var=no"
39572 rm -f conftest.err conftest.
$ac_objext \
39573 conftest
$ac_exeext conftest.
$ac_ext
39575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39577 if test `eval echo '${'$as_ac_var'}'` = yes; then
39578 cat >>confdefs.h
<<_ACEOF
39579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39581 cat >>confdefs.h
<<\_ACEOF
39582 #define HAVE_GETSERVBYNAME 1
39594 if test "$wxUSE_THREADS" = "yes"; then
39595 cat >>confdefs.h
<<\_ACEOF
39596 #define wxUSE_THREADS 1
39600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39602 if test "$ac_cv_func_strtok_r" = "yes"; then
39603 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39604 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39605 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39606 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39607 echo "$as_me:$LINENO: result: yes" >&5
39608 echo "${ECHO_T}yes" >&6
39610 echo "$as_me:$LINENO: result: no" >&5
39611 echo "${ECHO_T}no" >&6
39616 if test "$WXGTK20" = 1 ; then
39617 cat >>confdefs.h
<<_ACEOF
39618 #define __WXGTK20__ $WXGTK20
39624 if test "$WXGTK12" = 1 ; then
39625 cat >>confdefs.h
<<_ACEOF
39626 #define __WXGTK12__ $WXGTK12
39631 if test "$WXGTK127" = 1 ; then
39632 cat >>confdefs.h
<<_ACEOF
39633 #define __WXGTK127__ $WXGTK127
39638 if test "$WXGPE" = 1 ; then
39639 cat >>confdefs.h
<<_ACEOF
39640 #define __WXGPE__ $WXGPE
39646 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39651 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39652 wxUSE_DEBUG_INFO
=yes
39653 if test "$GCC" = yes; then
39654 DEBUG_CFLAGS
="-ggdb"
39658 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39659 cat >>confdefs.h
<<\_ACEOF
39663 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39665 if test "$wxUSE_GTK" = 1 ; then
39666 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39670 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39671 cat >>confdefs.h
<<\_ACEOF
39672 #define wxUSE_MEMORY_TRACING 1
39675 cat >>confdefs.h
<<\_ACEOF
39676 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39679 cat >>confdefs.h
<<\_ACEOF
39680 #define wxUSE_DEBUG_NEW_ALWAYS 1
39683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39686 if test "$wxUSE_DMALLOC" = "yes" ; then
39687 DMALLOC_LIBS
="-ldmallocthcxx"
39691 if test "$wxUSE_PROFILE" = "yes" ; then
39692 PROFILE_FLAGS
=" -pg"
39695 if test "$GCC" = "yes" ; then
39696 if test "$wxUSE_NO_RTTI" = "yes" ; then
39697 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39699 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39700 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39702 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39703 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39708 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39711 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39717 if test "$wxUSE_OPTIMISE" = "no" ; then
39718 if test "$GCC" = yes ; then
39719 OPTIMISE_CFLAGS
="-O0"
39722 if test "$GCC" = yes ; then
39723 OPTIMISE_CFLAGS
="-O2"
39725 OPTIMISE_CFLAGS
="-O"
39730 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39731 cat >>confdefs.h
<<\_ACEOF
39732 #define WXWIN_COMPATIBILITY_2_4 1
39736 WXWIN_COMPATIBILITY_2_6
="yes"
39739 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39740 cat >>confdefs.h
<<\_ACEOF
39741 #define WXWIN_COMPATIBILITY_2_6 1
39747 if test "$wxUSE_GUI" = "yes"; then
39748 cat >>confdefs.h
<<\_ACEOF
39749 #define wxUSE_GUI 1
39756 if test "$wxUSE_UNIX" = "yes"; then
39757 cat >>confdefs.h
<<\_ACEOF
39758 #define wxUSE_UNIX 1
39764 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39768 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39769 if test "$USE_DARWIN" = 1; then
39771 elif test "$USE_DOS" = 1; then
39775 for ac_func
in dlopen
39777 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39778 echo "$as_me:$LINENO: checking for $ac_func" >&5
39779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39780 if eval "test \"\${$as_ac_var+set}\" = set"; then
39781 echo $ECHO_N "(cached) $ECHO_C" >&6
39783 cat >conftest.
$ac_ext <<_ACEOF
39786 cat confdefs.h
>>conftest.
$ac_ext
39787 cat >>conftest.
$ac_ext <<_ACEOF
39788 /* end confdefs.h. */
39789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39791 #define $ac_func innocuous_$ac_func
39793 /* System header to define __stub macros and hopefully few prototypes,
39794 which can conflict with char $ac_func (); below.
39795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39796 <limits.h> exists even on freestanding compilers. */
39799 # include <limits.h>
39801 # include <assert.h>
39806 /* Override any gcc2 internal prototype to avoid an error. */
39811 /* We use char because int might match the return type of a gcc2
39812 builtin and then its argument prototype would still apply. */
39814 /* The GNU C library defines this for functions which it implements
39815 to always fail with ENOSYS. Some functions are actually named
39816 something starting with __ and the normal name is an alias. */
39817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39820 char (*f) () = $ac_func;
39829 return f != $ac_func;
39834 rm -f conftest.
$ac_objext conftest
$ac_exeext
39835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39836 (eval $ac_link) 2>conftest.er1
39838 grep -v '^ *+' conftest.er1
>conftest.err
39840 cat conftest.err
>&5
39841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39842 (exit $ac_status); } &&
39843 { ac_try
='test -z "$ac_c_werror_flag"
39844 || test ! -s conftest.err'
39845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39846 (eval $ac_try) 2>&5
39848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39849 (exit $ac_status); }; } &&
39850 { ac_try
='test -s conftest$ac_exeext'
39851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39852 (eval $ac_try) 2>&5
39854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39855 (exit $ac_status); }; }; then
39856 eval "$as_ac_var=yes"
39858 echo "$as_me: failed program was:" >&5
39859 sed 's/^/| /' conftest.
$ac_ext >&5
39861 eval "$as_ac_var=no"
39863 rm -f conftest.err conftest.
$ac_objext \
39864 conftest
$ac_exeext conftest.
$ac_ext
39866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39868 if test `eval echo '${'$as_ac_var'}'` = yes; then
39869 cat >>confdefs.h
<<_ACEOF
39870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39873 cat >>confdefs.h
<<\_ACEOF
39874 #define HAVE_DLOPEN 1
39881 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39882 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39883 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39884 echo $ECHO_N "(cached) $ECHO_C" >&6
39886 ac_check_lib_save_LIBS
=$LIBS
39888 cat >conftest.
$ac_ext <<_ACEOF
39891 cat confdefs.h
>>conftest.
$ac_ext
39892 cat >>conftest.
$ac_ext <<_ACEOF
39893 /* end confdefs.h. */
39895 /* Override any gcc2 internal prototype to avoid an error. */
39899 /* We use char because int might match the return type of a gcc2
39900 builtin and then its argument prototype would still apply. */
39910 rm -f conftest.
$ac_objext conftest
$ac_exeext
39911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39912 (eval $ac_link) 2>conftest.er1
39914 grep -v '^ *+' conftest.er1
>conftest.err
39916 cat conftest.err
>&5
39917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39918 (exit $ac_status); } &&
39919 { ac_try
='test -z "$ac_c_werror_flag"
39920 || test ! -s conftest.err'
39921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39922 (eval $ac_try) 2>&5
39924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39925 (exit $ac_status); }; } &&
39926 { ac_try
='test -s conftest$ac_exeext'
39927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39928 (eval $ac_try) 2>&5
39930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39931 (exit $ac_status); }; }; then
39932 ac_cv_lib_dl_dlopen
=yes
39934 echo "$as_me: failed program was:" >&5
39935 sed 's/^/| /' conftest.
$ac_ext >&5
39937 ac_cv_lib_dl_dlopen
=no
39939 rm -f conftest.err conftest.
$ac_objext \
39940 conftest
$ac_exeext conftest.
$ac_ext
39941 LIBS
=$ac_check_lib_save_LIBS
39943 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39944 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39945 if test $ac_cv_lib_dl_dlopen = yes; then
39947 cat >>confdefs.h
<<\_ACEOF
39948 #define HAVE_DLOPEN 1
39952 DL_LINK
=" -ldl$DL_LINK"
39957 for ac_func
in shl_load
39959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39960 echo "$as_me:$LINENO: checking for $ac_func" >&5
39961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39962 if eval "test \"\${$as_ac_var+set}\" = set"; then
39963 echo $ECHO_N "(cached) $ECHO_C" >&6
39965 cat >conftest.
$ac_ext <<_ACEOF
39968 cat confdefs.h
>>conftest.
$ac_ext
39969 cat >>conftest.
$ac_ext <<_ACEOF
39970 /* end confdefs.h. */
39971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39973 #define $ac_func innocuous_$ac_func
39975 /* System header to define __stub macros and hopefully few prototypes,
39976 which can conflict with char $ac_func (); below.
39977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39978 <limits.h> exists even on freestanding compilers. */
39981 # include <limits.h>
39983 # include <assert.h>
39988 /* Override any gcc2 internal prototype to avoid an error. */
39993 /* We use char because int might match the return type of a gcc2
39994 builtin and then its argument prototype would still apply. */
39996 /* The GNU C library defines this for functions which it implements
39997 to always fail with ENOSYS. Some functions are actually named
39998 something starting with __ and the normal name is an alias. */
39999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40002 char (*f) () = $ac_func;
40011 return f != $ac_func;
40016 rm -f conftest.
$ac_objext conftest
$ac_exeext
40017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40018 (eval $ac_link) 2>conftest.er1
40020 grep -v '^ *+' conftest.er1
>conftest.err
40022 cat conftest.err
>&5
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); } &&
40025 { ac_try
='test -z "$ac_c_werror_flag"
40026 || test ! -s conftest.err'
40027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40028 (eval $ac_try) 2>&5
40030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40031 (exit $ac_status); }; } &&
40032 { ac_try
='test -s conftest$ac_exeext'
40033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40034 (eval $ac_try) 2>&5
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); }; }; then
40038 eval "$as_ac_var=yes"
40040 echo "$as_me: failed program was:" >&5
40041 sed 's/^/| /' conftest.
$ac_ext >&5
40043 eval "$as_ac_var=no"
40045 rm -f conftest.err conftest.
$ac_objext \
40046 conftest
$ac_exeext conftest.
$ac_ext
40048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40050 if test `eval echo '${'$as_ac_var'}'` = yes; then
40051 cat >>confdefs.h
<<_ACEOF
40052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40055 cat >>confdefs.h
<<\_ACEOF
40056 #define HAVE_SHL_LOAD 1
40063 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40064 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40065 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40066 echo $ECHO_N "(cached) $ECHO_C" >&6
40068 ac_check_lib_save_LIBS
=$LIBS
40069 LIBS
="-lshl_load $LIBS"
40070 cat >conftest.
$ac_ext <<_ACEOF
40073 cat confdefs.h
>>conftest.
$ac_ext
40074 cat >>conftest.
$ac_ext <<_ACEOF
40075 /* end confdefs.h. */
40077 /* Override any gcc2 internal prototype to avoid an error. */
40081 /* We use char because int might match the return type of a gcc2
40082 builtin and then its argument prototype would still apply. */
40092 rm -f conftest.
$ac_objext conftest
$ac_exeext
40093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40094 (eval $ac_link) 2>conftest.er1
40096 grep -v '^ *+' conftest.er1
>conftest.err
40098 cat conftest.err
>&5
40099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40100 (exit $ac_status); } &&
40101 { ac_try
='test -z "$ac_c_werror_flag"
40102 || test ! -s conftest.err'
40103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40104 (eval $ac_try) 2>&5
40106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40107 (exit $ac_status); }; } &&
40108 { ac_try
='test -s conftest$ac_exeext'
40109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40110 (eval $ac_try) 2>&5
40112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40113 (exit $ac_status); }; }; then
40114 ac_cv_lib_shl_load_dld
=yes
40116 echo "$as_me: failed program was:" >&5
40117 sed 's/^/| /' conftest.
$ac_ext >&5
40119 ac_cv_lib_shl_load_dld
=no
40121 rm -f conftest.err conftest.
$ac_objext \
40122 conftest
$ac_exeext conftest.
$ac_ext
40123 LIBS
=$ac_check_lib_save_LIBS
40125 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40126 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40127 if test $ac_cv_lib_shl_load_dld = yes; then
40130 DL_LINK
=" -ldld$DL_LINK"
40146 if test "$HAVE_DL_FUNCS" = 1; then
40148 for ac_func
in dlerror
40150 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40151 echo "$as_me:$LINENO: checking for $ac_func" >&5
40152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40153 if eval "test \"\${$as_ac_var+set}\" = set"; then
40154 echo $ECHO_N "(cached) $ECHO_C" >&6
40156 cat >conftest.
$ac_ext <<_ACEOF
40159 cat confdefs.h
>>conftest.
$ac_ext
40160 cat >>conftest.
$ac_ext <<_ACEOF
40161 /* end confdefs.h. */
40162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40164 #define $ac_func innocuous_$ac_func
40166 /* System header to define __stub macros and hopefully few prototypes,
40167 which can conflict with char $ac_func (); below.
40168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40169 <limits.h> exists even on freestanding compilers. */
40172 # include <limits.h>
40174 # include <assert.h>
40179 /* Override any gcc2 internal prototype to avoid an error. */
40184 /* We use char because int might match the return type of a gcc2
40185 builtin and then its argument prototype would still apply. */
40187 /* The GNU C library defines this for functions which it implements
40188 to always fail with ENOSYS. Some functions are actually named
40189 something starting with __ and the normal name is an alias. */
40190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40193 char (*f) () = $ac_func;
40202 return f != $ac_func;
40207 rm -f conftest.
$ac_objext conftest
$ac_exeext
40208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40209 (eval $ac_link) 2>conftest.er1
40211 grep -v '^ *+' conftest.er1
>conftest.err
40213 cat conftest.err
>&5
40214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40215 (exit $ac_status); } &&
40216 { ac_try
='test -z "$ac_c_werror_flag"
40217 || test ! -s conftest.err'
40218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40219 (eval $ac_try) 2>&5
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); }; } &&
40223 { ac_try
='test -s conftest$ac_exeext'
40224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40225 (eval $ac_try) 2>&5
40227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40228 (exit $ac_status); }; }; then
40229 eval "$as_ac_var=yes"
40231 echo "$as_me: failed program was:" >&5
40232 sed 's/^/| /' conftest.
$ac_ext >&5
40234 eval "$as_ac_var=no"
40236 rm -f conftest.err conftest.
$ac_objext \
40237 conftest
$ac_exeext conftest.
$ac_ext
40239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40241 if test `eval echo '${'$as_ac_var'}'` = yes; then
40242 cat >>confdefs.h
<<_ACEOF
40243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40245 cat >>confdefs.h
<<\_ACEOF
40246 #define HAVE_DLERROR 1
40251 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40252 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40253 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40254 echo $ECHO_N "(cached) $ECHO_C" >&6
40256 ac_check_lib_save_LIBS
=$LIBS
40258 cat >conftest.
$ac_ext <<_ACEOF
40261 cat confdefs.h
>>conftest.
$ac_ext
40262 cat >>conftest.
$ac_ext <<_ACEOF
40263 /* end confdefs.h. */
40265 /* Override any gcc2 internal prototype to avoid an error. */
40269 /* We use char because int might match the return type of a gcc2
40270 builtin and then its argument prototype would still apply. */
40280 rm -f conftest.
$ac_objext conftest
$ac_exeext
40281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40282 (eval $ac_link) 2>conftest.er1
40284 grep -v '^ *+' conftest.er1
>conftest.err
40286 cat conftest.err
>&5
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); } &&
40289 { ac_try
='test -z "$ac_c_werror_flag"
40290 || test ! -s conftest.err'
40291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40292 (eval $ac_try) 2>&5
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); }; } &&
40296 { ac_try
='test -s conftest$ac_exeext'
40297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40298 (eval $ac_try) 2>&5
40300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40301 (exit $ac_status); }; }; then
40302 ac_cv_lib_dl_dlerror
=yes
40304 echo "$as_me: failed program was:" >&5
40305 sed 's/^/| /' conftest.
$ac_ext >&5
40307 ac_cv_lib_dl_dlerror
=no
40309 rm -f conftest.err conftest.
$ac_objext \
40310 conftest
$ac_exeext conftest.
$ac_ext
40311 LIBS
=$ac_check_lib_save_LIBS
40313 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40314 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40315 if test $ac_cv_lib_dl_dlerror = yes; then
40316 cat >>confdefs.h
<<\_ACEOF
40317 #define HAVE_DLERROR 1
40330 if test "$HAVE_DL_FUNCS" = 0; then
40331 if test "$HAVE_SHL_FUNCS" = 0; then
40332 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40333 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40334 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40335 wxUSE_DYNAMIC_LOADER
=no
40336 wxUSE_DYNLIB_CLASS
=no
40338 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40339 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40346 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40347 cat >>confdefs.h
<<\_ACEOF
40348 #define wxUSE_DYNAMIC_LOADER 1
40352 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40353 cat >>confdefs.h
<<\_ACEOF
40354 #define wxUSE_DYNLIB_CLASS 1
40361 if test "$wxUSE_PLUGINS" = "yes" ; then
40362 if test "$wxUSE_SHARED" = "no" ; then
40363 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40364 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40367 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40368 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40369 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40372 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40373 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40374 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40377 if test "$wxUSE_PLUGINS" = "yes" ; then
40378 cat >>confdefs.h
<<\_ACEOF
40379 #define wxUSE_PLUGINS 1
40386 if test "$wxUSE_STL" = "yes"; then
40387 cat >>confdefs.h
<<\_ACEOF
40388 #define wxUSE_STL 1
40393 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40394 cat >>confdefs.h
<<\_ACEOF
40395 #define wxUSE_APPLE_IEEE 1
40400 if test "$wxUSE_TIMER" = "yes"; then
40401 cat >>confdefs.h
<<\_ACEOF
40402 #define wxUSE_TIMER 1
40407 if test "$USE_UNIX" = "1" ; then
40408 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40409 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40410 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40411 echo $ECHO_N "(cached) $ECHO_C" >&6
40414 cat >conftest.
$ac_ext <<_ACEOF
40417 cat confdefs.h
>>conftest.
$ac_ext
40418 cat >>conftest.
$ac_ext <<_ACEOF
40419 /* end confdefs.h. */
40421 #include <sys/soundcard.h>
40427 ioctl(0, SNDCTL_DSP_SYNC, 0);
40433 rm -f conftest.
$ac_objext conftest
$ac_exeext
40434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40435 (eval $ac_link) 2>conftest.er1
40437 grep -v '^ *+' conftest.er1
>conftest.err
40439 cat conftest.err
>&5
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); } &&
40442 { ac_try
='test -z "$ac_c_werror_flag"
40443 || test ! -s conftest.err'
40444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40445 (eval $ac_try) 2>&5
40447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40448 (exit $ac_status); }; } &&
40449 { ac_try
='test -s conftest$ac_exeext'
40450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40451 (eval $ac_try) 2>&5
40453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40454 (exit $ac_status); }; }; then
40455 ac_cv_header_sys_soundcard
=yes
40457 echo "$as_me: failed program was:" >&5
40458 sed 's/^/| /' conftest.
$ac_ext >&5
40462 LIBS
="$saveLibs -lossaudio"
40463 cat >conftest.
$ac_ext <<_ACEOF
40466 cat confdefs.h
>>conftest.
$ac_ext
40467 cat >>conftest.
$ac_ext <<_ACEOF
40468 /* end confdefs.h. */
40470 #include <sys/soundcard.h>
40476 ioctl(0, SNDCTL_DSP_SYNC, 0);
40482 rm -f conftest.
$ac_objext conftest
$ac_exeext
40483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40484 (eval $ac_link) 2>conftest.er1
40486 grep -v '^ *+' conftest.er1
>conftest.err
40488 cat conftest.err
>&5
40489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490 (exit $ac_status); } &&
40491 { ac_try
='test -z "$ac_c_werror_flag"
40492 || test ! -s conftest.err'
40493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40494 (eval $ac_try) 2>&5
40496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40497 (exit $ac_status); }; } &&
40498 { ac_try
='test -s conftest$ac_exeext'
40499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40500 (eval $ac_try) 2>&5
40502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40503 (exit $ac_status); }; }; then
40504 ac_cv_header_sys_soundcard
=yes
40506 echo "$as_me: failed program was:" >&5
40507 sed 's/^/| /' conftest.
$ac_ext >&5
40511 ac_cv_header_sys_soundcard
=no
40515 rm -f conftest.err conftest.
$ac_objext \
40516 conftest
$ac_exeext conftest.
$ac_ext
40520 rm -f conftest.err conftest.
$ac_objext \
40521 conftest
$ac_exeext conftest.
$ac_ext
40524 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40525 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40527 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40528 cat >>confdefs.h
<<\_ACEOF
40529 #define HAVE_SYS_SOUNDCARD_H 1
40533 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40537 if test "$wxUSE_SOUND" = "yes"; then
40538 if test "$USE_UNIX" = "1" ; then
40539 if test "$wxUSE_LIBSDL" != "no"; then
40541 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40542 if test "${with_sdl_prefix+set}" = set; then
40543 withval
="$with_sdl_prefix"
40544 sdl_prefix
="$withval"
40549 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40550 if test "${with_sdl_exec_prefix+set}" = set; then
40551 withval
="$with_sdl_exec_prefix"
40552 sdl_exec_prefix
="$withval"
40556 # Check whether --enable-sdltest or --disable-sdltest was given.
40557 if test "${enable_sdltest+set}" = set; then
40558 enableval
="$enable_sdltest"
40564 if test x
$sdl_exec_prefix != x
; then
40565 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40566 if test x
${SDL_CONFIG+set} != xset
; then
40567 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40570 if test x
$sdl_prefix != x
; then
40571 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40572 if test x
${SDL_CONFIG+set} != xset
; then
40573 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40578 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40579 # Extract the first word of "sdl-config", so it can be a program name with args.
40580 set dummy sdl
-config; ac_word
=$2
40581 echo "$as_me:$LINENO: checking for $ac_word" >&5
40582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40583 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40584 echo $ECHO_N "(cached) $ECHO_C" >&6
40586 case $SDL_CONFIG in
40588 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40592 for as_dir
in $PATH
40595 test -z "$as_dir" && as_dir
=.
40596 for ac_exec_ext
in '' $ac_executable_extensions; do
40597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40598 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40605 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40609 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40611 if test -n "$SDL_CONFIG"; then
40612 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40613 echo "${ECHO_T}$SDL_CONFIG" >&6
40615 echo "$as_me:$LINENO: result: no" >&5
40616 echo "${ECHO_T}no" >&6
40619 min_sdl_version
=1.2.0
40620 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40621 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40623 if test "$SDL_CONFIG" = "no" ; then
40626 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40627 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40629 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40631 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40633 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40635 if test "x$enable_sdltest" = "xyes" ; then
40636 ac_save_CFLAGS
="$CFLAGS"
40637 ac_save_CXXFLAGS
="$CXXFLAGS"
40638 ac_save_LIBS
="$LIBS"
40639 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40640 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40641 LIBS
="$LIBS $SDL_LIBS"
40643 if test "$cross_compiling" = yes; then
40644 echo $ac_n "cross compiling; assumed OK... $ac_c"
40646 cat >conftest.
$ac_ext <<_ACEOF
40649 cat confdefs.h
>>conftest.
$ac_ext
40650 cat >>conftest.
$ac_ext <<_ACEOF
40651 /* end confdefs.h. */
40654 #include <stdlib.h>
40655 #include <string.h>
40659 my_strdup (char *str)
40665 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40666 strcpy (new_str, str);
40674 int main (int argc, char *argv[])
40676 int major, minor, micro;
40679 /* This hangs on some systems (?)
40680 system ("touch conf.sdltest");
40682 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40684 /* HP/UX 9 (%@#!) writes to sscanf strings */
40685 tmp_version = my_strdup("$min_sdl_version");
40686 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40687 printf("%s, bad version string\n", "$min_sdl_version");
40691 if (($sdl_major_version > major) ||
40692 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40693 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40699 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40700 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40701 printf("*** best to upgrade to the required version.\n");
40702 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40703 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40704 printf("*** config.cache before re-running configure\n");
40711 rm -f conftest
$ac_exeext
40712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40713 (eval $ac_link) 2>&5
40715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40716 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40718 (eval $ac_try) 2>&5
40720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40721 (exit $ac_status); }; }; then
40724 echo "$as_me: program exited with status $ac_status" >&5
40725 echo "$as_me: failed program was:" >&5
40726 sed 's/^/| /' conftest.
$ac_ext >&5
40728 ( exit $ac_status )
40731 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40733 CFLAGS
="$ac_save_CFLAGS"
40734 CXXFLAGS
="$ac_save_CXXFLAGS"
40735 LIBS
="$ac_save_LIBS"
40738 if test "x$no_sdl" = x
; then
40739 echo "$as_me:$LINENO: result: yes" >&5
40740 echo "${ECHO_T}yes" >&6
40742 EXTRALIBS_SDL
="$SDL_LIBS"
40743 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40744 cat >>confdefs.h
<<\_ACEOF
40745 #define wxUSE_LIBSDL 1
40750 echo "$as_me:$LINENO: result: no" >&5
40751 echo "${ECHO_T}no" >&6
40752 if test "$SDL_CONFIG" = "no" ; then
40753 echo "*** The sdl-config script installed by SDL could not be found"
40754 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40755 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40756 echo "*** full path to sdl-config."
40758 if test -f conf.sdltest
; then
40761 echo "*** Could not run SDL test program, checking why..."
40762 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40763 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40764 LIBS
="$LIBS $SDL_LIBS"
40765 cat >conftest.
$ac_ext <<_ACEOF
40768 cat confdefs.h
>>conftest.
$ac_ext
40769 cat >>conftest.
$ac_ext <<_ACEOF
40770 /* end confdefs.h. */
40775 int main(int argc, char *argv[])
40778 #define main K_and_R_C_main
40788 rm -f conftest.
$ac_objext conftest
$ac_exeext
40789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40790 (eval $ac_link) 2>conftest.er1
40792 grep -v '^ *+' conftest.er1
>conftest.err
40794 cat conftest.err
>&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); } &&
40797 { ac_try
='test -z "$ac_c_werror_flag"
40798 || test ! -s conftest.err'
40799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40800 (eval $ac_try) 2>&5
40802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40803 (exit $ac_status); }; } &&
40804 { ac_try
='test -s conftest$ac_exeext'
40805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40806 (eval $ac_try) 2>&5
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); }; }; then
40810 echo "*** The test program compiled, but did not run. This usually means"
40811 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40812 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40813 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40814 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40815 echo "*** is required on your system"
40817 echo "*** If you have an old version installed, it is best to remove it, although"
40818 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40820 echo "$as_me: failed program was:" >&5
40821 sed 's/^/| /' conftest.
$ac_ext >&5
40823 echo "*** The test program failed to compile or link. See the file config.log for the"
40824 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40825 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40826 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40828 rm -f conftest.err conftest.
$ac_objext \
40829 conftest
$ac_exeext conftest.
$ac_ext
40830 CFLAGS
="$ac_save_CFLAGS"
40831 CXXFLAGS
="$ac_save_CXXFLAGS"
40832 LIBS
="$ac_save_LIBS"
40843 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40849 cat >>confdefs.h
<<\_ACEOF
40850 #define wxUSE_SOUND 1
40853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
40856 if test "$WXGTK20" = 1; then
40857 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40858 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40863 if test -z "$PKG_CONFIG"; then
40864 # Extract the first word of "pkg-config", so it can be a program name with args.
40865 set dummy pkg
-config; ac_word
=$2
40866 echo "$as_me:$LINENO: checking for $ac_word" >&5
40867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40868 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40869 echo $ECHO_N "(cached) $ECHO_C" >&6
40871 case $PKG_CONFIG in
40873 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40877 for as_dir
in $PATH
40880 test -z "$as_dir" && as_dir
=.
40881 for ac_exec_ext
in '' $ac_executable_extensions; do
40882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40883 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40890 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40894 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40896 if test -n "$PKG_CONFIG"; then
40897 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40898 echo "${ECHO_T}$PKG_CONFIG" >&6
40900 echo "$as_me:$LINENO: result: no" >&5
40901 echo "${ECHO_T}no" >&6
40906 if test "$PKG_CONFIG" = "no" ; then
40907 echo "*** The pkg-config script could not be found. Make sure it is"
40908 echo "*** in your path, or set the PKG_CONFIG environment variable"
40909 echo "*** to the full path to pkg-config."
40910 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40912 PKG_CONFIG_MIN_VERSION
=0.9.0
40913 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40914 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40915 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40917 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40918 echo "$as_me:$LINENO: result: yes" >&5
40919 echo "${ECHO_T}yes" >&6
40922 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40923 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40924 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40925 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40926 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40928 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40929 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40930 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40931 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40932 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40934 LIBGNOMEPRINTUI_CFLAGS
=""
40935 LIBGNOMEPRINTUI_LIBS
=""
40936 ## If we have a custom action on failure, don't print errors, but
40937 ## do set a variable so people can do so.
40938 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40945 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40946 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40950 if test $succeeded = yes; then
40952 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40953 cat >>confdefs.h
<<\_ACEOF
40954 #define wxUSE_LIBGNOMEPRINT 1
40960 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40961 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40962 wxUSE_LIBGNOMEPRINT
="no"
40971 if test "$WXGTK20" = 1; then
40972 if test "$wxUSE_LIBHILDON" = "yes" ; then
40976 if test -z "$PKG_CONFIG"; then
40977 # Extract the first word of "pkg-config", so it can be a program name with args.
40978 set dummy pkg
-config; ac_word
=$2
40979 echo "$as_me:$LINENO: checking for $ac_word" >&5
40980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40981 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40982 echo $ECHO_N "(cached) $ECHO_C" >&6
40984 case $PKG_CONFIG in
40986 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40990 for as_dir
in $PATH
40993 test -z "$as_dir" && as_dir
=.
40994 for ac_exec_ext
in '' $ac_executable_extensions; do
40995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40996 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41003 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
41007 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
41009 if test -n "$PKG_CONFIG"; then
41010 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41011 echo "${ECHO_T}$PKG_CONFIG" >&6
41013 echo "$as_me:$LINENO: result: no" >&5
41014 echo "${ECHO_T}no" >&6
41019 if test "$PKG_CONFIG" = "no" ; then
41020 echo "*** The pkg-config script could not be found. Make sure it is"
41021 echo "*** in your path, or set the PKG_CONFIG environment variable"
41022 echo "*** to the full path to pkg-config."
41023 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41025 PKG_CONFIG_MIN_VERSION
=0.9.0
41026 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41027 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41028 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41030 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41031 echo "$as_me:$LINENO: result: yes" >&5
41032 echo "${ECHO_T}yes" >&6
41035 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41036 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41037 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41038 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41039 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41041 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41042 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41043 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41044 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41045 echo "${ECHO_T}$HILDON_LIBS" >&6
41049 ## If we have a custom action on failure, don't print errors, but
41050 ## do set a variable so people can do so.
41051 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41058 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41059 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41063 if test $succeeded = yes; then
41065 EXTRALIBS_HILDON
="$HILDON_LIBS"
41066 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
41067 cat >>confdefs.h
<<\_ACEOF
41068 #define wxUSE_LIBHILDON 1
41074 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41075 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41076 wxUSE_LIBHILDON
="no"
41084 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41085 cat >>confdefs.h
<<\_ACEOF
41086 #define wxUSE_CMDLINE_PARSER 1
41091 if test "$wxUSE_STOPWATCH" = "yes"; then
41092 cat >>confdefs.h
<<\_ACEOF
41093 #define wxUSE_STOPWATCH 1
41098 if test "$wxUSE_DATETIME" = "yes"; then
41099 cat >>confdefs.h
<<\_ACEOF
41100 #define wxUSE_DATETIME 1
41105 if test "$wxUSE_FILE" = "yes"; then
41106 cat >>confdefs.h
<<\_ACEOF
41107 #define wxUSE_FILE 1
41112 if test "$wxUSE_FFILE" = "yes"; then
41113 cat >>confdefs.h
<<\_ACEOF
41114 #define wxUSE_FFILE 1
41119 if test "$wxUSE_FILESYSTEM" = "yes"; then
41120 cat >>confdefs.h
<<\_ACEOF
41121 #define wxUSE_FILESYSTEM 1
41126 if test "$wxUSE_FS_ZIP" = "yes"; then
41127 cat >>confdefs.h
<<\_ACEOF
41128 #define wxUSE_FS_ZIP 1
41133 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41134 cat >>confdefs.h
<<\_ACEOF
41135 #define wxUSE_ARCHIVE_STREAMS 1
41140 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41141 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41142 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41143 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41144 elif test "$wxUSE_ZLIB" = "no"; then
41145 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41146 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41148 cat >>confdefs.h
<<\_ACEOF
41149 #define wxUSE_ZIPSTREAM 1
41155 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41156 if test "$USE_UNIX" != 1; then
41157 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41158 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41159 wxUSE_ON_FATAL_EXCEPTION
=no
41161 cat >>confdefs.h
<<\_ACEOF
41162 #define wxUSE_ON_FATAL_EXCEPTION 1
41168 if test "$wxUSE_STACKWALKER" = "yes"; then
41169 cat >>confdefs.h
<<\_ACEOF
41170 #define wxUSE_STACKWALKER 1
41175 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41176 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41177 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41178 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41179 wxUSE_DEBUGREPORT
=no
41181 cat >>confdefs.h
<<\_ACEOF
41182 #define wxUSE_DEBUGREPORT 1
41185 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41191 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41192 cat >>confdefs.h
<<\_ACEOF
41193 #define wxUSE_SNGLINST_CHECKER 1
41198 if test "$wxUSE_BUSYINFO" = "yes"; then
41199 cat >>confdefs.h
<<\_ACEOF
41200 #define wxUSE_BUSYINFO 1
41205 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41206 cat >>confdefs.h
<<\_ACEOF
41207 #define wxUSE_STD_IOSTREAM 1
41212 if test "$wxUSE_STD_STRING" = "yes"; then
41213 cat >>confdefs.h
<<\_ACEOF
41214 #define wxUSE_STD_STRING 1
41219 if test "$wxUSE_STDPATHS" = "yes"; then
41220 cat >>confdefs.h
<<\_ACEOF
41221 #define wxUSE_STDPATHS 1
41226 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41227 cat >>confdefs.h
<<\_ACEOF
41228 #define wxUSE_TEXTBUFFER 1
41233 if test "$wxUSE_TEXTFILE" = "yes"; then
41234 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41235 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41236 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41238 cat >>confdefs.h
<<\_ACEOF
41239 #define wxUSE_TEXTFILE 1
41245 if test "$wxUSE_CONFIG" = "yes" ; then
41246 if test "$wxUSE_TEXTFILE" != "yes"; then
41247 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41248 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41250 cat >>confdefs.h
<<\_ACEOF
41251 #define wxUSE_CONFIG 1
41254 cat >>confdefs.h
<<\_ACEOF
41255 #define wxUSE_CONFIG_NATIVE 1
41258 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41262 if test "$wxUSE_INTL" = "yes" ; then
41263 if test "$wxUSE_FILE" != "yes"; then
41264 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41265 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41267 cat >>confdefs.h
<<\_ACEOF
41268 #define wxUSE_INTL 1
41271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41272 GUIDIST
="$GUIDIST INTL_DIST"
41276 if test "$wxUSE_LOG" = "yes"; then
41277 cat >>confdefs.h
<<\_ACEOF
41278 #define wxUSE_LOG 1
41282 if test "$wxUSE_LOGGUI" = "yes"; then
41283 cat >>confdefs.h
<<\_ACEOF
41284 #define wxUSE_LOGGUI 1
41289 if test "$wxUSE_LOGWINDOW" = "yes"; then
41290 cat >>confdefs.h
<<\_ACEOF
41291 #define wxUSE_LOGWINDOW 1
41296 if test "$wxUSE_LOGDIALOG" = "yes"; then
41297 cat >>confdefs.h
<<\_ACEOF
41298 #define wxUSE_LOG_DIALOG 1
41303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41306 if test "$wxUSE_LONGLONG" = "yes"; then
41307 cat >>confdefs.h
<<\_ACEOF
41308 #define wxUSE_LONGLONG 1
41313 if test "$wxUSE_GEOMETRY" = "yes"; then
41314 cat >>confdefs.h
<<\_ACEOF
41315 #define wxUSE_GEOMETRY 1
41320 if test "$wxUSE_STREAMS" = "yes" ; then
41321 cat >>confdefs.h
<<\_ACEOF
41322 #define wxUSE_STREAMS 1
41328 if test "$wxUSE_DATETIME" = "yes"; then
41330 for ac_func
in strptime
41332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41333 echo "$as_me:$LINENO: checking for $ac_func" >&5
41334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41335 if eval "test \"\${$as_ac_var+set}\" = set"; then
41336 echo $ECHO_N "(cached) $ECHO_C" >&6
41338 cat >conftest.
$ac_ext <<_ACEOF
41341 cat confdefs.h
>>conftest.
$ac_ext
41342 cat >>conftest.
$ac_ext <<_ACEOF
41343 /* end confdefs.h. */
41344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41346 #define $ac_func innocuous_$ac_func
41348 /* System header to define __stub macros and hopefully few prototypes,
41349 which can conflict with char $ac_func (); below.
41350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41351 <limits.h> exists even on freestanding compilers. */
41354 # include <limits.h>
41356 # include <assert.h>
41361 /* Override any gcc2 internal prototype to avoid an error. */
41366 /* We use char because int might match the return type of a gcc2
41367 builtin and then its argument prototype would still apply. */
41369 /* The GNU C library defines this for functions which it implements
41370 to always fail with ENOSYS. Some functions are actually named
41371 something starting with __ and the normal name is an alias. */
41372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41375 char (*f) () = $ac_func;
41384 return f != $ac_func;
41389 rm -f conftest.
$ac_objext conftest
$ac_exeext
41390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41391 (eval $ac_link) 2>conftest.er1
41393 grep -v '^ *+' conftest.er1
>conftest.err
41395 cat conftest.err
>&5
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); } &&
41398 { ac_try
='test -z "$ac_c_werror_flag"
41399 || test ! -s conftest.err'
41400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41401 (eval $ac_try) 2>&5
41403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41404 (exit $ac_status); }; } &&
41405 { ac_try
='test -s conftest$ac_exeext'
41406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41407 (eval $ac_try) 2>&5
41409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41410 (exit $ac_status); }; }; then
41411 eval "$as_ac_var=yes"
41413 echo "$as_me: failed program was:" >&5
41414 sed 's/^/| /' conftest.
$ac_ext >&5
41416 eval "$as_ac_var=no"
41418 rm -f conftest.err conftest.
$ac_objext \
41419 conftest
$ac_exeext conftest.
$ac_ext
41421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41423 if test `eval echo '${'$as_ac_var'}'` = yes; then
41424 cat >>confdefs.h
<<_ACEOF
41425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41431 if test "$ac_cv_func_strptime" = "yes"; then
41432 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41433 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41434 if test "${wx_cv_func_strptime_decl+set}" = set; then
41435 echo $ECHO_N "(cached) $ECHO_C" >&6
41441 ac_cpp
='$CXXCPP $CPPFLAGS'
41442 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41443 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41444 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41446 cat >conftest.
$ac_ext <<_ACEOF
41449 cat confdefs.h
>>conftest.
$ac_ext
41450 cat >>conftest.
$ac_ext <<_ACEOF
41451 /* end confdefs.h. */
41460 strptime("foo", "bar", &t);
41466 rm -f conftest.
$ac_objext
41467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41468 (eval $ac_compile) 2>conftest.er1
41470 grep -v '^ *+' conftest.er1
>conftest.err
41472 cat conftest.err
>&5
41473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41474 (exit $ac_status); } &&
41475 { ac_try
='test -z "$ac_cxx_werror_flag"
41476 || test ! -s conftest.err'
41477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41478 (eval $ac_try) 2>&5
41480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41481 (exit $ac_status); }; } &&
41482 { ac_try
='test -s conftest.$ac_objext'
41483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41484 (eval $ac_try) 2>&5
41486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41487 (exit $ac_status); }; }; then
41488 wx_cv_func_strptime_decl
=yes
41490 echo "$as_me: failed program was:" >&5
41491 sed 's/^/| /' conftest.
$ac_ext >&5
41493 wx_cv_func_strptime_decl
=no
41496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41498 ac_cpp
='$CPP $CPPFLAGS'
41499 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41500 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41501 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41506 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41507 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41509 if test "$wx_cv_func_strptime_decl" = "yes"; then
41510 cat >>confdefs.h
<<\_ACEOF
41511 #define HAVE_STRPTIME_DECL 1
41516 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41517 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41518 if test "${wx_cv_var_timezone+set}" = set; then
41519 echo $ECHO_N "(cached) $ECHO_C" >&6
41522 cat >conftest.
$ac_ext <<_ACEOF
41525 cat confdefs.h
>>conftest.
$ac_ext
41526 cat >>conftest.
$ac_ext <<_ACEOF
41527 /* end confdefs.h. */
41542 rm -f conftest.
$ac_objext
41543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41544 (eval $ac_compile) 2>conftest.er1
41546 grep -v '^ *+' conftest.er1
>conftest.err
41548 cat conftest.err
>&5
41549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41550 (exit $ac_status); } &&
41551 { ac_try
='test -z "$ac_c_werror_flag"
41552 || test ! -s conftest.err'
41553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41554 (eval $ac_try) 2>&5
41556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41557 (exit $ac_status); }; } &&
41558 { ac_try
='test -s conftest.$ac_objext'
41559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41560 (eval $ac_try) 2>&5
41562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41563 (exit $ac_status); }; }; then
41565 wx_cv_var_timezone
=timezone
41568 echo "$as_me: failed program was:" >&5
41569 sed 's/^/| /' conftest.
$ac_ext >&5
41572 cat >conftest.
$ac_ext <<_ACEOF
41575 cat confdefs.h
>>conftest.
$ac_ext
41576 cat >>conftest.
$ac_ext <<_ACEOF
41577 /* end confdefs.h. */
41592 rm -f conftest.
$ac_objext
41593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41594 (eval $ac_compile) 2>conftest.er1
41596 grep -v '^ *+' conftest.er1
>conftest.err
41598 cat conftest.err
>&5
41599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600 (exit $ac_status); } &&
41601 { ac_try
='test -z "$ac_c_werror_flag"
41602 || test ! -s conftest.err'
41603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41604 (eval $ac_try) 2>&5
41606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607 (exit $ac_status); }; } &&
41608 { ac_try
='test -s conftest.$ac_objext'
41609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41610 (eval $ac_try) 2>&5
41612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613 (exit $ac_status); }; }; then
41615 wx_cv_var_timezone
=_timezone
41618 echo "$as_me: failed program was:" >&5
41619 sed 's/^/| /' conftest.
$ac_ext >&5
41622 cat >conftest.
$ac_ext <<_ACEOF
41625 cat confdefs.h
>>conftest.
$ac_ext
41626 cat >>conftest.
$ac_ext <<_ACEOF
41627 /* end confdefs.h. */
41642 rm -f conftest.
$ac_objext
41643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41644 (eval $ac_compile) 2>conftest.er1
41646 grep -v '^ *+' conftest.er1
>conftest.err
41648 cat conftest.err
>&5
41649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41650 (exit $ac_status); } &&
41651 { ac_try
='test -z "$ac_c_werror_flag"
41652 || test ! -s conftest.err'
41653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41654 (eval $ac_try) 2>&5
41656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41657 (exit $ac_status); }; } &&
41658 { ac_try
='test -s conftest.$ac_objext'
41659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41660 (eval $ac_try) 2>&5
41662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41663 (exit $ac_status); }; }; then
41665 wx_cv_var_timezone
=__timezone
41668 echo "$as_me: failed program was:" >&5
41669 sed 's/^/| /' conftest.
$ac_ext >&5
41672 if test "$USE_DOS" = 0 ; then
41673 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41674 echo "$as_me: WARNING: no timezone variable" >&2;}
41679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41691 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41692 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41694 if test "x$wx_cv_var_timezone" != x
; then
41695 cat >>confdefs.h
<<_ACEOF
41696 #define WX_TIMEZONE $wx_cv_var_timezone
41702 for ac_func
in localtime
41704 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41705 echo "$as_me:$LINENO: checking for $ac_func" >&5
41706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41707 if eval "test \"\${$as_ac_var+set}\" = set"; then
41708 echo $ECHO_N "(cached) $ECHO_C" >&6
41710 cat >conftest.
$ac_ext <<_ACEOF
41713 cat confdefs.h
>>conftest.
$ac_ext
41714 cat >>conftest.
$ac_ext <<_ACEOF
41715 /* end confdefs.h. */
41716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41718 #define $ac_func innocuous_$ac_func
41720 /* System header to define __stub macros and hopefully few prototypes,
41721 which can conflict with char $ac_func (); below.
41722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41723 <limits.h> exists even on freestanding compilers. */
41726 # include <limits.h>
41728 # include <assert.h>
41733 /* Override any gcc2 internal prototype to avoid an error. */
41738 /* We use char because int might match the return type of a gcc2
41739 builtin and then its argument prototype would still apply. */
41741 /* The GNU C library defines this for functions which it implements
41742 to always fail with ENOSYS. Some functions are actually named
41743 something starting with __ and the normal name is an alias. */
41744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41747 char (*f) () = $ac_func;
41756 return f != $ac_func;
41761 rm -f conftest.
$ac_objext conftest
$ac_exeext
41762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41763 (eval $ac_link) 2>conftest.er1
41765 grep -v '^ *+' conftest.er1
>conftest.err
41767 cat conftest.err
>&5
41768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41769 (exit $ac_status); } &&
41770 { ac_try
='test -z "$ac_c_werror_flag"
41771 || test ! -s conftest.err'
41772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41773 (eval $ac_try) 2>&5
41775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41776 (exit $ac_status); }; } &&
41777 { ac_try
='test -s conftest$ac_exeext'
41778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41779 (eval $ac_try) 2>&5
41781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41782 (exit $ac_status); }; }; then
41783 eval "$as_ac_var=yes"
41785 echo "$as_me: failed program was:" >&5
41786 sed 's/^/| /' conftest.
$ac_ext >&5
41788 eval "$as_ac_var=no"
41790 rm -f conftest.err conftest.
$ac_objext \
41791 conftest
$ac_exeext conftest.
$ac_ext
41793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41795 if test `eval echo '${'$as_ac_var'}'` = yes; then
41796 cat >>confdefs.h
<<_ACEOF
41797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41804 if test "$ac_cv_func_localtime" = "yes"; then
41805 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41806 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41807 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41808 echo $ECHO_N "(cached) $ECHO_C" >&6
41811 cat >conftest.
$ac_ext <<_ACEOF
41814 cat confdefs.h
>>conftest.
$ac_ext
41815 cat >>conftest.
$ac_ext <<_ACEOF
41816 /* end confdefs.h. */
41831 rm -f conftest.
$ac_objext
41832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41833 (eval $ac_compile) 2>conftest.er1
41835 grep -v '^ *+' conftest.er1
>conftest.err
41837 cat conftest.err
>&5
41838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41839 (exit $ac_status); } &&
41840 { ac_try
='test -z "$ac_c_werror_flag"
41841 || test ! -s conftest.err'
41842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41843 (eval $ac_try) 2>&5
41845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846 (exit $ac_status); }; } &&
41847 { ac_try
='test -s conftest.$ac_objext'
41848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41849 (eval $ac_try) 2>&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); }; }; then
41854 wx_cv_struct_tm_has_gmtoff
=yes
41857 echo "$as_me: failed program was:" >&5
41858 sed 's/^/| /' conftest.
$ac_ext >&5
41860 wx_cv_struct_tm_has_gmtoff
=no
41863 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41866 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41867 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41870 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41871 cat >>confdefs.h
<<\_ACEOF
41872 #define WX_GMTOFF_IN_TM 1
41879 for ac_func
in gettimeofday ftime
41881 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41882 echo "$as_me:$LINENO: checking for $ac_func" >&5
41883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41884 if eval "test \"\${$as_ac_var+set}\" = set"; then
41885 echo $ECHO_N "(cached) $ECHO_C" >&6
41887 cat >conftest.
$ac_ext <<_ACEOF
41890 cat confdefs.h
>>conftest.
$ac_ext
41891 cat >>conftest.
$ac_ext <<_ACEOF
41892 /* end confdefs.h. */
41893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41895 #define $ac_func innocuous_$ac_func
41897 /* System header to define __stub macros and hopefully few prototypes,
41898 which can conflict with char $ac_func (); below.
41899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41900 <limits.h> exists even on freestanding compilers. */
41903 # include <limits.h>
41905 # include <assert.h>
41910 /* Override any gcc2 internal prototype to avoid an error. */
41915 /* We use char because int might match the return type of a gcc2
41916 builtin and then its argument prototype would still apply. */
41918 /* The GNU C library defines this for functions which it implements
41919 to always fail with ENOSYS. Some functions are actually named
41920 something starting with __ and the normal name is an alias. */
41921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41924 char (*f) () = $ac_func;
41933 return f != $ac_func;
41938 rm -f conftest.
$ac_objext conftest
$ac_exeext
41939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41940 (eval $ac_link) 2>conftest.er1
41942 grep -v '^ *+' conftest.er1
>conftest.err
41944 cat conftest.err
>&5
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); } &&
41947 { ac_try
='test -z "$ac_c_werror_flag"
41948 || test ! -s conftest.err'
41949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41950 (eval $ac_try) 2>&5
41952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953 (exit $ac_status); }; } &&
41954 { ac_try
='test -s conftest$ac_exeext'
41955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41956 (eval $ac_try) 2>&5
41958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959 (exit $ac_status); }; }; then
41960 eval "$as_ac_var=yes"
41962 echo "$as_me: failed program was:" >&5
41963 sed 's/^/| /' conftest.
$ac_ext >&5
41965 eval "$as_ac_var=no"
41967 rm -f conftest.err conftest.
$ac_objext \
41968 conftest
$ac_exeext conftest.
$ac_ext
41970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41972 if test `eval echo '${'$as_ac_var'}'` = yes; then
41973 cat >>confdefs.h
<<_ACEOF
41974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41981 if test "$ac_cv_func_gettimeofday" = "yes"; then
41982 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
41983 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
41984 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
41985 echo $ECHO_N "(cached) $ECHO_C" >&6
41991 ac_cpp
='$CXXCPP $CPPFLAGS'
41992 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41997 cat >conftest.
$ac_ext <<_ACEOF
42000 cat confdefs.h
>>conftest.
$ac_ext
42001 cat >>conftest.
$ac_ext <<_ACEOF
42002 /* end confdefs.h. */
42004 #include <sys/time.h>
42005 #include <unistd.h>
42012 gettimeofday(&tv, NULL);
42018 rm -f conftest.
$ac_objext
42019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42020 (eval $ac_compile) 2>conftest.er1
42022 grep -v '^ *+' conftest.er1
>conftest.err
42024 cat conftest.err
>&5
42025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42026 (exit $ac_status); } &&
42027 { ac_try
='test -z "$ac_cxx_werror_flag"
42028 || test ! -s conftest.err'
42029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42030 (eval $ac_try) 2>&5
42032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42033 (exit $ac_status); }; } &&
42034 { ac_try
='test -s conftest.$ac_objext'
42035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42036 (eval $ac_try) 2>&5
42038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42039 (exit $ac_status); }; }; then
42040 wx_cv_func_gettimeofday_has_2_args
=yes
42042 echo "$as_me: failed program was:" >&5
42043 sed 's/^/| /' conftest.
$ac_ext >&5
42045 cat >conftest.
$ac_ext <<_ACEOF
42048 cat confdefs.h
>>conftest.
$ac_ext
42049 cat >>conftest.
$ac_ext <<_ACEOF
42050 /* end confdefs.h. */
42052 #include <sys/time.h>
42053 #include <unistd.h>
42066 rm -f conftest.
$ac_objext
42067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42068 (eval $ac_compile) 2>conftest.er1
42070 grep -v '^ *+' conftest.er1
>conftest.err
42072 cat conftest.err
>&5
42073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42074 (exit $ac_status); } &&
42075 { ac_try
='test -z "$ac_cxx_werror_flag"
42076 || test ! -s conftest.err'
42077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42078 (eval $ac_try) 2>&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); }; } &&
42082 { ac_try
='test -s conftest.$ac_objext'
42083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42084 (eval $ac_try) 2>&5
42086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42087 (exit $ac_status); }; }; then
42088 wx_cv_func_gettimeofday_has_2_args
=no
42090 echo "$as_me: failed program was:" >&5
42091 sed 's/^/| /' conftest.
$ac_ext >&5
42094 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42095 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42096 wx_cv_func_gettimeofday_has_2_args
=unknown
42100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42105 ac_cpp
='$CPP $CPPFLAGS'
42106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42112 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42113 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42115 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42116 cat >>confdefs.h
<<\_ACEOF
42117 #define WX_GETTIMEOFDAY_NO_TZ 1
42123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42127 if test "$wxUSE_SOCKETS" = "yes"; then
42128 if test "$wxUSE_MGL" = "1"; then
42129 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42130 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42135 if test "$wxUSE_SOCKETS" = "yes"; then
42136 if test "$TOOLKIT" != "MSW"; then
42137 echo "$as_me:$LINENO: checking for socket" >&5
42138 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42139 if test "${ac_cv_func_socket+set}" = set; then
42140 echo $ECHO_N "(cached) $ECHO_C" >&6
42142 cat >conftest.
$ac_ext <<_ACEOF
42145 cat confdefs.h
>>conftest.
$ac_ext
42146 cat >>conftest.
$ac_ext <<_ACEOF
42147 /* end confdefs.h. */
42148 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42150 #define socket innocuous_socket
42152 /* System header to define __stub macros and hopefully few prototypes,
42153 which can conflict with char socket (); below.
42154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42155 <limits.h> exists even on freestanding compilers. */
42158 # include <limits.h>
42160 # include <assert.h>
42165 /* Override any gcc2 internal prototype to avoid an error. */
42170 /* We use char because int might match the return type of a gcc2
42171 builtin and then its argument prototype would still apply. */
42173 /* The GNU C library defines this for functions which it implements
42174 to always fail with ENOSYS. Some functions are actually named
42175 something starting with __ and the normal name is an alias. */
42176 #if defined (__stub_socket) || defined (__stub___socket)
42179 char (*f) () = socket;
42188 return f != socket;
42193 rm -f conftest.
$ac_objext conftest
$ac_exeext
42194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42195 (eval $ac_link) 2>conftest.er1
42197 grep -v '^ *+' conftest.er1
>conftest.err
42199 cat conftest.err
>&5
42200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42201 (exit $ac_status); } &&
42202 { ac_try
='test -z "$ac_c_werror_flag"
42203 || test ! -s conftest.err'
42204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42205 (eval $ac_try) 2>&5
42207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42208 (exit $ac_status); }; } &&
42209 { ac_try
='test -s conftest$ac_exeext'
42210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42211 (eval $ac_try) 2>&5
42213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42214 (exit $ac_status); }; }; then
42215 ac_cv_func_socket
=yes
42217 echo "$as_me: failed program was:" >&5
42218 sed 's/^/| /' conftest.
$ac_ext >&5
42220 ac_cv_func_socket
=no
42222 rm -f conftest.err conftest.
$ac_objext \
42223 conftest
$ac_exeext conftest.
$ac_ext
42225 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42226 echo "${ECHO_T}$ac_cv_func_socket" >&6
42227 if test $ac_cv_func_socket = yes; then
42231 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42232 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42233 if test "${ac_cv_lib_socket_socket+set}" = set; then
42234 echo $ECHO_N "(cached) $ECHO_C" >&6
42236 ac_check_lib_save_LIBS
=$LIBS
42237 LIBS
="-lsocket $LIBS"
42238 cat >conftest.
$ac_ext <<_ACEOF
42241 cat confdefs.h
>>conftest.
$ac_ext
42242 cat >>conftest.
$ac_ext <<_ACEOF
42243 /* end confdefs.h. */
42245 /* Override any gcc2 internal prototype to avoid an error. */
42249 /* We use char because int might match the return type of a gcc2
42250 builtin and then its argument prototype would still apply. */
42260 rm -f conftest.
$ac_objext conftest
$ac_exeext
42261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42262 (eval $ac_link) 2>conftest.er1
42264 grep -v '^ *+' conftest.er1
>conftest.err
42266 cat conftest.err
>&5
42267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42268 (exit $ac_status); } &&
42269 { ac_try
='test -z "$ac_c_werror_flag"
42270 || test ! -s conftest.err'
42271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42272 (eval $ac_try) 2>&5
42274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42275 (exit $ac_status); }; } &&
42276 { ac_try
='test -s conftest$ac_exeext'
42277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42278 (eval $ac_try) 2>&5
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); }; }; then
42282 ac_cv_lib_socket_socket
=yes
42284 echo "$as_me: failed program was:" >&5
42285 sed 's/^/| /' conftest.
$ac_ext >&5
42287 ac_cv_lib_socket_socket
=no
42289 rm -f conftest.err conftest.
$ac_objext \
42290 conftest
$ac_exeext conftest.
$ac_ext
42291 LIBS
=$ac_check_lib_save_LIBS
42293 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42294 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42295 if test $ac_cv_lib_socket_socket = yes; then
42296 if test "$INET_LINK" != " -lsocket"; then
42297 INET_LINK
="$INET_LINK -lsocket"
42301 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42302 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42315 if test "$wxUSE_SOCKETS" = "yes" ; then
42316 if test "$TOOLKIT" != "MSW"; then
42318 ac_cpp
='$CXXCPP $CPPFLAGS'
42319 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42320 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42321 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42323 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42324 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42325 if test "${wx_cv_type_getsockname3+set}" = set; then
42326 echo $ECHO_N "(cached) $ECHO_C" >&6
42329 cat >conftest.
$ac_ext <<_ACEOF
42332 cat confdefs.h
>>conftest.
$ac_ext
42333 cat >>conftest.
$ac_ext <<_ACEOF
42334 /* end confdefs.h. */
42336 #include <sys/types.h>
42337 #include <sys/socket.h>
42344 getsockname(0, 0, &len);
42350 rm -f conftest.
$ac_objext
42351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42352 (eval $ac_compile) 2>conftest.er1
42354 grep -v '^ *+' conftest.er1
>conftest.err
42356 cat conftest.err
>&5
42357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42358 (exit $ac_status); } &&
42359 { ac_try
='test -z "$ac_cxx_werror_flag"
42360 || test ! -s conftest.err'
42361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42362 (eval $ac_try) 2>&5
42364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365 (exit $ac_status); }; } &&
42366 { ac_try
='test -s conftest.$ac_objext'
42367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42368 (eval $ac_try) 2>&5
42370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42371 (exit $ac_status); }; }; then
42372 wx_cv_type_getsockname3
=socklen_t
42374 echo "$as_me: failed program was:" >&5
42375 sed 's/^/| /' conftest.
$ac_ext >&5
42378 CXXFLAGS_OLD
="$CXXFLAGS"
42379 if test "$GCC" = yes ; then
42380 CXXFLAGS
="-Werror $CXXFLAGS"
42383 cat >conftest.
$ac_ext <<_ACEOF
42386 cat confdefs.h
>>conftest.
$ac_ext
42387 cat >>conftest.
$ac_ext <<_ACEOF
42388 /* end confdefs.h. */
42390 #include <sys/types.h>
42391 #include <sys/socket.h>
42398 getsockname(0, 0, &len);
42404 rm -f conftest.
$ac_objext
42405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42406 (eval $ac_compile) 2>conftest.er1
42408 grep -v '^ *+' conftest.er1
>conftest.err
42410 cat conftest.err
>&5
42411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42412 (exit $ac_status); } &&
42413 { ac_try
='test -z "$ac_cxx_werror_flag"
42414 || test ! -s conftest.err'
42415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42416 (eval $ac_try) 2>&5
42418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419 (exit $ac_status); }; } &&
42420 { ac_try
='test -s conftest.$ac_objext'
42421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42422 (eval $ac_try) 2>&5
42424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); }; }; then
42426 wx_cv_type_getsockname3
=size_t
42428 echo "$as_me: failed program was:" >&5
42429 sed 's/^/| /' conftest.
$ac_ext >&5
42431 cat >conftest.
$ac_ext <<_ACEOF
42434 cat confdefs.h
>>conftest.
$ac_ext
42435 cat >>conftest.
$ac_ext <<_ACEOF
42436 /* end confdefs.h. */
42438 #include <sys/types.h>
42439 #include <sys/socket.h>
42446 getsockname(0, 0, &len);
42452 rm -f conftest.
$ac_objext
42453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42454 (eval $ac_compile) 2>conftest.er1
42456 grep -v '^ *+' conftest.er1
>conftest.err
42458 cat conftest.err
>&5
42459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42460 (exit $ac_status); } &&
42461 { ac_try
='test -z "$ac_cxx_werror_flag"
42462 || test ! -s conftest.err'
42463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42464 (eval $ac_try) 2>&5
42466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42467 (exit $ac_status); }; } &&
42468 { ac_try
='test -s conftest.$ac_objext'
42469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42470 (eval $ac_try) 2>&5
42472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42473 (exit $ac_status); }; }; then
42474 wx_cv_type_getsockname3
=int
42476 echo "$as_me: failed program was:" >&5
42477 sed 's/^/| /' conftest.
$ac_ext >&5
42479 wx_cv_type_getsockname3
=unknown
42482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42487 CXXFLAGS
="$CXXFLAGS_OLD"
42491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42494 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42495 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42497 if test "$wx_cv_type_getsockname3" = "unknown"; then
42499 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42500 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42502 cat >>confdefs.h
<<_ACEOF
42503 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42507 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42508 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42509 if test "${wx_cv_type_getsockopt5+set}" = set; then
42510 echo $ECHO_N "(cached) $ECHO_C" >&6
42513 cat >conftest.
$ac_ext <<_ACEOF
42516 cat confdefs.h
>>conftest.
$ac_ext
42517 cat >>conftest.
$ac_ext <<_ACEOF
42518 /* end confdefs.h. */
42520 #include <sys/types.h>
42521 #include <sys/socket.h>
42528 getsockopt(0, 0, 0, 0, &len);
42534 rm -f conftest.
$ac_objext
42535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42536 (eval $ac_compile) 2>conftest.er1
42538 grep -v '^ *+' conftest.er1
>conftest.err
42540 cat conftest.err
>&5
42541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542 (exit $ac_status); } &&
42543 { ac_try
='test -z "$ac_cxx_werror_flag"
42544 || test ! -s conftest.err'
42545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42546 (eval $ac_try) 2>&5
42548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42549 (exit $ac_status); }; } &&
42550 { ac_try
='test -s conftest.$ac_objext'
42551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42552 (eval $ac_try) 2>&5
42554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42555 (exit $ac_status); }; }; then
42556 wx_cv_type_getsockopt5
=socklen_t
42558 echo "$as_me: failed program was:" >&5
42559 sed 's/^/| /' conftest.
$ac_ext >&5
42562 CXXFLAGS_OLD
="$CXXFLAGS"
42563 if test "$GCC" = yes ; then
42564 CXXFLAGS
="-Werror $CXXFLAGS"
42567 cat >conftest.
$ac_ext <<_ACEOF
42570 cat confdefs.h
>>conftest.
$ac_ext
42571 cat >>conftest.
$ac_ext <<_ACEOF
42572 /* end confdefs.h. */
42574 #include <sys/types.h>
42575 #include <sys/socket.h>
42582 getsockopt(0, 0, 0, 0, &len);
42588 rm -f conftest.
$ac_objext
42589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42590 (eval $ac_compile) 2>conftest.er1
42592 grep -v '^ *+' conftest.er1
>conftest.err
42594 cat conftest.err
>&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); } &&
42597 { ac_try
='test -z "$ac_cxx_werror_flag"
42598 || test ! -s conftest.err'
42599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42600 (eval $ac_try) 2>&5
42602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42603 (exit $ac_status); }; } &&
42604 { ac_try
='test -s conftest.$ac_objext'
42605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42606 (eval $ac_try) 2>&5
42608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42609 (exit $ac_status); }; }; then
42610 wx_cv_type_getsockopt5
=size_t
42612 echo "$as_me: failed program was:" >&5
42613 sed 's/^/| /' conftest.
$ac_ext >&5
42615 cat >conftest.
$ac_ext <<_ACEOF
42618 cat confdefs.h
>>conftest.
$ac_ext
42619 cat >>conftest.
$ac_ext <<_ACEOF
42620 /* end confdefs.h. */
42622 #include <sys/types.h>
42623 #include <sys/socket.h>
42630 getsockopt(0, 0, 0, 0, &len);
42636 rm -f conftest.
$ac_objext
42637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42638 (eval $ac_compile) 2>conftest.er1
42640 grep -v '^ *+' conftest.er1
>conftest.err
42642 cat conftest.err
>&5
42643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42644 (exit $ac_status); } &&
42645 { ac_try
='test -z "$ac_cxx_werror_flag"
42646 || test ! -s conftest.err'
42647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42648 (eval $ac_try) 2>&5
42650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42651 (exit $ac_status); }; } &&
42652 { ac_try
='test -s conftest.$ac_objext'
42653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42654 (eval $ac_try) 2>&5
42656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42657 (exit $ac_status); }; }; then
42658 wx_cv_type_getsockopt5
=int
42660 echo "$as_me: failed program was:" >&5
42661 sed 's/^/| /' conftest.
$ac_ext >&5
42663 wx_cv_type_getsockopt5
=unknown
42666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42671 CXXFLAGS
="$CXXFLAGS_OLD"
42675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42678 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42679 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42681 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42683 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42684 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42686 cat >>confdefs.h
<<_ACEOF
42687 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42692 ac_cpp
='$CPP $CPPFLAGS'
42693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42700 if test "$wxUSE_SOCKETS" = "yes" ; then
42701 cat >>confdefs.h
<<\_ACEOF
42702 #define wxUSE_SOCKETS 1
42705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
42708 if test "$wxUSE_PROTOCOL" = "yes"; then
42709 if test "$wxUSE_SOCKETS" != "yes"; then
42710 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42711 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42716 if test "$wxUSE_PROTOCOL" = "yes"; then
42717 cat >>confdefs.h
<<\_ACEOF
42718 #define wxUSE_PROTOCOL 1
42722 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42723 cat >>confdefs.h
<<\_ACEOF
42724 #define wxUSE_PROTOCOL_HTTP 1
42728 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42729 cat >>confdefs.h
<<\_ACEOF
42730 #define wxUSE_PROTOCOL_FTP 1
42734 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42735 cat >>confdefs.h
<<\_ACEOF
42736 #define wxUSE_PROTOCOL_FILE 1
42741 if test "$wxUSE_FS_INET" = "yes"; then
42742 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42743 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42748 if test "$wxUSE_URL" = "yes"; then
42749 if test "$wxUSE_PROTOCOL" != "yes"; then
42750 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42751 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42754 if test "$wxUSE_URL" = "yes"; then
42755 cat >>confdefs.h
<<\_ACEOF
42756 #define wxUSE_URL 1
42762 if test "$wxUSE_FS_INET" = "yes"; then
42763 cat >>confdefs.h
<<\_ACEOF
42764 #define wxUSE_FS_INET 1
42770 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42773 if test "$TOOLKIT" = "MSW"; then
42776 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42777 if test "$USE_DARWIN" = 1; then
42778 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42779 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42781 ac_cpp
='$CXXCPP $CPPFLAGS'
42782 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42783 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42784 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42786 cat >conftest.
$ac_ext <<_ACEOF
42789 cat confdefs.h
>>conftest.
$ac_ext
42790 cat >>conftest.
$ac_ext <<_ACEOF
42791 /* end confdefs.h. */
42792 #include <IOKit/hid/IOHIDLib.h>
42796 IOHIDQueueInterface *qi = NULL;
42797 IOHIDCallbackFunction cb = NULL;
42798 qi->setEventCallout(NULL, cb, NULL, NULL);
42803 rm -f conftest.
$ac_objext
42804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42805 (eval $ac_compile) 2>conftest.er1
42807 grep -v '^ *+' conftest.er1
>conftest.err
42809 cat conftest.err
>&5
42810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42811 (exit $ac_status); } &&
42812 { ac_try
='test -z "$ac_cxx_werror_flag"
42813 || test ! -s conftest.err'
42814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42815 (eval $ac_try) 2>&5
42817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42818 (exit $ac_status); }; } &&
42819 { ac_try
='test -s conftest.$ac_objext'
42820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42821 (eval $ac_try) 2>&5
42823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42824 (exit $ac_status); }; }; then
42828 echo "$as_me: failed program was:" >&5
42829 sed 's/^/| /' conftest.
$ac_ext >&5
42832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42834 ac_cpp
='$CPP $CPPFLAGS'
42835 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42836 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42837 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42839 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42840 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42845 for ac_header
in linux
/joystick.h
42847 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42849 echo "$as_me:$LINENO: checking for $ac_header" >&5
42850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42852 echo $ECHO_N "(cached) $ECHO_C" >&6
42854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42857 # Is the header compilable?
42858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42860 cat >conftest.
$ac_ext <<_ACEOF
42863 cat confdefs.h
>>conftest.
$ac_ext
42864 cat >>conftest.
$ac_ext <<_ACEOF
42865 /* end confdefs.h. */
42866 $ac_includes_default
42867 #include <$ac_header>
42869 rm -f conftest.
$ac_objext
42870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42871 (eval $ac_compile) 2>conftest.er1
42873 grep -v '^ *+' conftest.er1
>conftest.err
42875 cat conftest.err
>&5
42876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42877 (exit $ac_status); } &&
42878 { ac_try
='test -z "$ac_c_werror_flag"
42879 || test ! -s conftest.err'
42880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42881 (eval $ac_try) 2>&5
42883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42884 (exit $ac_status); }; } &&
42885 { ac_try
='test -s conftest.$ac_objext'
42886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42887 (eval $ac_try) 2>&5
42889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42890 (exit $ac_status); }; }; then
42891 ac_header_compiler
=yes
42893 echo "$as_me: failed program was:" >&5
42894 sed 's/^/| /' conftest.
$ac_ext >&5
42896 ac_header_compiler
=no
42898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42900 echo "${ECHO_T}$ac_header_compiler" >&6
42902 # Is the header present?
42903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42905 cat >conftest.
$ac_ext <<_ACEOF
42908 cat confdefs.h
>>conftest.
$ac_ext
42909 cat >>conftest.
$ac_ext <<_ACEOF
42910 /* end confdefs.h. */
42911 #include <$ac_header>
42913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42914 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
42916 grep -v '^ *+' conftest.er1
>conftest.err
42918 cat conftest.err
>&5
42919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42920 (exit $ac_status); } >/dev
/null
; then
42921 if test -s conftest.err
; then
42922 ac_cpp_err
=$ac_c_preproc_warn_flag
42923 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
42930 if test -z "$ac_cpp_err"; then
42931 ac_header_preproc
=yes
42933 echo "$as_me: failed program was:" >&5
42934 sed 's/^/| /' conftest.
$ac_ext >&5
42936 ac_header_preproc
=no
42938 rm -f conftest.err conftest.
$ac_ext
42939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42940 echo "${ECHO_T}$ac_header_preproc" >&6
42942 # So? What about this header?
42943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42949 ac_header_preproc
=yes
42952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42966 ## ----------------------------------------- ##
42967 ## Report this to wx-dev@lists.wxwidgets.org ##
42968 ## ----------------------------------------- ##
42971 sed "s/^/$as_me: WARNING: /" >&2
42974 echo "$as_me:$LINENO: checking for $ac_header" >&5
42975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42977 echo $ECHO_N "(cached) $ECHO_C" >&6
42979 eval "$as_ac_Header=\$ac_header_preproc"
42981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42986 cat >>confdefs.h
<<_ACEOF
42987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42996 if test "$wxUSE_JOYSTICK" = "yes"; then
42997 cat >>confdefs.h
<<\_ACEOF
42998 #define wxUSE_JOYSTICK 1
43001 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
43003 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43004 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43010 if test "$wxUSE_FONTMAP" = "yes" ; then
43011 cat >>confdefs.h
<<\_ACEOF
43012 #define wxUSE_FONTMAP 1
43017 if test "$wxUSE_UNICODE" = "yes" ; then
43018 cat >>confdefs.h
<<\_ACEOF
43019 #define wxUSE_UNICODE 1
43023 if test "$USE_WIN32" != 1; then
43024 wxUSE_UNICODE_MSLU
=no
43027 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43028 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43029 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43030 if test "${ac_cv_lib_unicows_main+set}" = set; then
43031 echo $ECHO_N "(cached) $ECHO_C" >&6
43033 ac_check_lib_save_LIBS
=$LIBS
43034 LIBS
="-lunicows $LIBS"
43035 cat >conftest.
$ac_ext <<_ACEOF
43038 cat confdefs.h
>>conftest.
$ac_ext
43039 cat >>conftest.
$ac_ext <<_ACEOF
43040 /* end confdefs.h. */
43051 rm -f conftest.
$ac_objext conftest
$ac_exeext
43052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43053 (eval $ac_link) 2>conftest.er1
43055 grep -v '^ *+' conftest.er1
>conftest.err
43057 cat conftest.err
>&5
43058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43059 (exit $ac_status); } &&
43060 { ac_try
='test -z "$ac_c_werror_flag"
43061 || test ! -s conftest.err'
43062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43063 (eval $ac_try) 2>&5
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); }; } &&
43067 { ac_try
='test -s conftest$ac_exeext'
43068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43069 (eval $ac_try) 2>&5
43071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43072 (exit $ac_status); }; }; then
43073 ac_cv_lib_unicows_main
=yes
43075 echo "$as_me: failed program was:" >&5
43076 sed 's/^/| /' conftest.
$ac_ext >&5
43078 ac_cv_lib_unicows_main
=no
43080 rm -f conftest.err conftest.
$ac_objext \
43081 conftest
$ac_exeext conftest.
$ac_ext
43082 LIBS
=$ac_check_lib_save_LIBS
43084 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43085 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43086 if test $ac_cv_lib_unicows_main = yes; then
43088 cat >>confdefs.h
<<\_ACEOF
43089 #define wxUSE_UNICODE_MSLU 1
43095 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43096 Applications will only run on Windows NT/2000/XP!" >&5
43097 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43098 Applications will only run on Windows NT/2000/XP!" >&2;}
43099 wxUSE_UNICODE_MSLU
=no
43106 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43107 cat >>confdefs.h
<<\_ACEOF
43108 #define wxUSE_EXPERIMENTAL_PRINTF 1
43114 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43115 cat >>confdefs.h
<<\_ACEOF
43116 #define wxUSE_POSTSCRIPT 1
43121 cat >>confdefs.h
<<\_ACEOF
43122 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43126 cat >>confdefs.h
<<\_ACEOF
43127 #define wxUSE_NORMALIZED_PS_FONTS 1
43132 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43133 cat >>confdefs.h
<<\_ACEOF
43134 #define wxUSE_CONSTRAINTS 1
43137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43140 if test "$wxUSE_MDI" = "yes"; then
43141 cat >>confdefs.h
<<\_ACEOF
43142 #define wxUSE_MDI 1
43146 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43147 cat >>confdefs.h
<<\_ACEOF
43148 #define wxUSE_MDI_ARCHITECTURE 1
43151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43155 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43156 cat >>confdefs.h
<<\_ACEOF
43157 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43160 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43161 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43166 if test "$wxUSE_HELP" = "yes"; then
43167 cat >>confdefs.h
<<\_ACEOF
43168 #define wxUSE_HELP 1
43171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43173 if test "$wxUSE_MSW" = 1; then
43174 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43175 cat >>confdefs.h
<<\_ACEOF
43176 #define wxUSE_MS_HTML_HELP 1
43182 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43183 if test "$wxUSE_HTML" = "yes"; then
43184 cat >>confdefs.h
<<\_ACEOF
43185 #define wxUSE_WXHTML_HELP 1
43189 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43190 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43191 wxUSE_WXHTML_HELP
=no
43196 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43197 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43198 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43199 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43201 cat >>confdefs.h
<<\_ACEOF
43202 #define wxUSE_PRINTING_ARCHITECTURE 1
43206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43209 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43210 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43211 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43212 { (exit 1); exit 1; }; }
43216 if test "$wxUSE_METAFILE" = "yes"; then
43217 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43218 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43219 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43225 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43226 -o "$wxUSE_CLIPBOARD" = "yes" \
43227 -o "$wxUSE_OLE" = "yes" \
43228 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43230 for ac_header
in ole2.h
43232 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43234 echo "$as_me:$LINENO: checking for $ac_header" >&5
43235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43237 echo $ECHO_N "(cached) $ECHO_C" >&6
43239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43242 # Is the header compilable?
43243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43245 cat >conftest.
$ac_ext <<_ACEOF
43248 cat confdefs.h
>>conftest.
$ac_ext
43249 cat >>conftest.
$ac_ext <<_ACEOF
43250 /* end confdefs.h. */
43251 $ac_includes_default
43252 #include <$ac_header>
43254 rm -f conftest.
$ac_objext
43255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43256 (eval $ac_compile) 2>conftest.er1
43258 grep -v '^ *+' conftest.er1
>conftest.err
43260 cat conftest.err
>&5
43261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43262 (exit $ac_status); } &&
43263 { ac_try
='test -z "$ac_c_werror_flag"
43264 || test ! -s conftest.err'
43265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43266 (eval $ac_try) 2>&5
43268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43269 (exit $ac_status); }; } &&
43270 { ac_try
='test -s conftest.$ac_objext'
43271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43272 (eval $ac_try) 2>&5
43274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43275 (exit $ac_status); }; }; then
43276 ac_header_compiler
=yes
43278 echo "$as_me: failed program was:" >&5
43279 sed 's/^/| /' conftest.
$ac_ext >&5
43281 ac_header_compiler
=no
43283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43285 echo "${ECHO_T}$ac_header_compiler" >&6
43287 # Is the header present?
43288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43290 cat >conftest.
$ac_ext <<_ACEOF
43293 cat confdefs.h
>>conftest.
$ac_ext
43294 cat >>conftest.
$ac_ext <<_ACEOF
43295 /* end confdefs.h. */
43296 #include <$ac_header>
43298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43299 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43301 grep -v '^ *+' conftest.er1
>conftest.err
43303 cat conftest.err
>&5
43304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43305 (exit $ac_status); } >/dev
/null
; then
43306 if test -s conftest.err
; then
43307 ac_cpp_err
=$ac_c_preproc_warn_flag
43308 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
43315 if test -z "$ac_cpp_err"; then
43316 ac_header_preproc
=yes
43318 echo "$as_me: failed program was:" >&5
43319 sed 's/^/| /' conftest.
$ac_ext >&5
43321 ac_header_preproc
=no
43323 rm -f conftest.err conftest.
$ac_ext
43324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43325 echo "${ECHO_T}$ac_header_preproc" >&6
43327 # So? What about this header?
43328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43334 ac_header_preproc
=yes
43337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43351 ## ----------------------------------------- ##
43352 ## Report this to wx-dev@lists.wxwidgets.org ##
43353 ## ----------------------------------------- ##
43356 sed "s/^/$as_me: WARNING: /" >&2
43359 echo "$as_me:$LINENO: checking for $ac_header" >&5
43360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43362 echo $ECHO_N "(cached) $ECHO_C" >&6
43364 eval "$as_ac_Header=\$ac_header_preproc"
43366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43371 cat >>confdefs.h
<<_ACEOF
43372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43380 if test "$ac_cv_header_ole2_h" = "yes" ; then
43381 if test "$GCC" = yes ; then
43385 ac_cpp
='$CXXCPP $CPPFLAGS'
43386 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43391 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43392 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43393 cat >conftest.
$ac_ext <<_ACEOF
43396 cat confdefs.h
>>conftest.
$ac_ext
43397 cat >>conftest.
$ac_ext <<_ACEOF
43398 /* end confdefs.h. */
43399 #include <windows.h>
43409 rm -f conftest.
$ac_objext
43410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43411 (eval $ac_compile) 2>conftest.er1
43413 grep -v '^ *+' conftest.er1
>conftest.err
43415 cat conftest.err
>&5
43416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43417 (exit $ac_status); } &&
43418 { ac_try
='test -z "$ac_cxx_werror_flag"
43419 || test ! -s conftest.err'
43420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43421 (eval $ac_try) 2>&5
43423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43424 (exit $ac_status); }; } &&
43425 { ac_try
='test -s conftest.$ac_objext'
43426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43427 (eval $ac_try) 2>&5
43429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430 (exit $ac_status); }; }; then
43431 echo "$as_me:$LINENO: result: no" >&5
43432 echo "${ECHO_T}no" >&6
43434 echo "$as_me: failed program was:" >&5
43435 sed 's/^/| /' conftest.
$ac_ext >&5
43437 echo "$as_me:$LINENO: result: yes" >&5
43438 echo "${ECHO_T}yes" >&6
43439 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43443 ac_cpp
='$CPP $CPPFLAGS'
43444 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43448 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43449 if test "$wxUSE_OLE" = "yes" ; then
43450 cat >>confdefs.h
<<\_ACEOF
43451 #define wxUSE_OLE 1
43454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43458 if test "$wxUSE_DATAOBJ" = "yes" ; then
43459 cat >>confdefs.h
<<\_ACEOF
43460 #define wxUSE_DATAOBJ 1
43465 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43466 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43469 wxUSE_DRAG_AND_DROP
=no
43474 if test "$wxUSE_METAFILE" = "yes"; then
43475 cat >>confdefs.h
<<\_ACEOF
43476 #define wxUSE_METAFILE 1
43480 cat >>confdefs.h
<<\_ACEOF
43481 #define wxUSE_ENH_METAFILE 1
43487 if test "$wxUSE_IPC" = "yes"; then
43488 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43489 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43490 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43494 if test "$wxUSE_IPC" = "yes"; then
43495 cat >>confdefs.h
<<\_ACEOF
43496 #define wxUSE_IPC 1
43499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43503 if test "$wxUSE_DATAOBJ" = "yes"; then
43504 if test "$wxUSE_MGL" = 1; then
43505 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43506 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43509 cat >>confdefs.h
<<\_ACEOF
43510 #define wxUSE_DATAOBJ 1
43515 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43516 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43518 wxUSE_DRAG_AND_DROP
=no
43521 if test "$wxUSE_CLIPBOARD" = "yes"; then
43522 if test "$wxUSE_MGL" = 1; then
43523 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43524 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43528 if test "$wxUSE_CLIPBOARD" = "yes"; then
43529 cat >>confdefs.h
<<\_ACEOF
43530 #define wxUSE_CLIPBOARD 1
43536 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43537 if test "$wxUSE_GTK" = 1; then
43538 if test "$WXGTK12" != 1; then
43539 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43540 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43541 wxUSE_DRAG_AND_DROP
=no
43545 if test "$wxUSE_MOTIF" = 1; then
43546 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43547 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43548 wxUSE_DRAG_AND_DROP
=no
43551 if test "$wxUSE_X11" = 1; then
43552 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43553 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43554 wxUSE_DRAG_AND_DROP
=no
43557 if test "$wxUSE_MGL" = 1; then
43558 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43559 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43560 wxUSE_DRAG_AND_DROP
=no
43563 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43564 cat >>confdefs.h
<<\_ACEOF
43565 #define wxUSE_DRAG_AND_DROP 1
43572 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43576 if test "$wxUSE_SPLINES" = "yes" ; then
43577 cat >>confdefs.h
<<\_ACEOF
43578 #define wxUSE_SPLINES 1
43583 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43584 cat >>confdefs.h
<<\_ACEOF
43585 #define wxUSE_MOUSEWHEEL 1
43592 if test "$wxUSE_CONTROLS" = "yes"; then
43596 if test "$wxUSE_ACCEL" = "yes"; then
43597 cat >>confdefs.h
<<\_ACEOF
43598 #define wxUSE_ACCEL 1
43604 if test "$wxUSE_BUTTON" = "yes"; then
43605 cat >>confdefs.h
<<\_ACEOF
43606 #define wxUSE_BUTTON 1
43612 if test "$wxUSE_BMPBUTTON" = "yes"; then
43613 cat >>confdefs.h
<<\_ACEOF
43614 #define wxUSE_BMPBUTTON 1
43620 if test "$wxUSE_CALCTRL" = "yes"; then
43621 cat >>confdefs.h
<<\_ACEOF
43622 #define wxUSE_CALENDARCTRL 1
43626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43629 if test "$wxUSE_CARET" = "yes"; then
43630 cat >>confdefs.h
<<\_ACEOF
43631 #define wxUSE_CARET 1
43635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43638 if test "$wxUSE_COMBOBOX" = "yes"; then
43639 cat >>confdefs.h
<<\_ACEOF
43640 #define wxUSE_COMBOBOX 1
43646 if test "$wxUSE_CHOICE" = "yes"; then
43647 cat >>confdefs.h
<<\_ACEOF
43648 #define wxUSE_CHOICE 1
43654 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43655 cat >>confdefs.h
<<\_ACEOF
43656 #define wxUSE_CHOICEBOOK 1
43662 if test "$wxUSE_CHECKBOX" = "yes"; then
43663 cat >>confdefs.h
<<\_ACEOF
43664 #define wxUSE_CHECKBOX 1
43670 if test "$wxUSE_CHECKLST" = "yes"; then
43671 cat >>confdefs.h
<<\_ACEOF
43672 #define wxUSE_CHECKLISTBOX 1
43676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43679 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43680 cat >>confdefs.h
<<\_ACEOF
43681 #define wxUSE_DATEPICKCTRL 1
43687 if test "$wxUSE_DISPLAY" = "yes"; then
43688 cat >>confdefs.h
<<\_ACEOF
43689 #define wxUSE_DISPLAY 1
43692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
43695 if test "$wxUSE_GAUGE" = "yes"; then
43696 cat >>confdefs.h
<<\_ACEOF
43697 #define wxUSE_GAUGE 1
43703 if test "$wxUSE_GRID" = "yes"; then
43704 cat >>confdefs.h
<<\_ACEOF
43705 #define wxUSE_GRID 1
43709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
43712 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43713 cat >>confdefs.h
<<\_ACEOF
43714 #define wxUSE_DATAVIEWCTRL 1
43718 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
43721 if test "$wxUSE_IMAGLIST" = "yes"; then
43722 cat >>confdefs.h
<<\_ACEOF
43723 #define wxUSE_IMAGLIST 1
43728 if test "$wxUSE_LISTBOOK" = "yes"; then
43729 cat >>confdefs.h
<<\_ACEOF
43730 #define wxUSE_LISTBOOK 1
43736 if test "$wxUSE_LISTBOX" = "yes"; then
43737 cat >>confdefs.h
<<\_ACEOF
43738 #define wxUSE_LISTBOX 1
43742 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
43745 if test "$wxUSE_LISTCTRL" = "yes"; then
43746 if test "$wxUSE_IMAGLIST" = "yes"; then
43747 cat >>confdefs.h
<<\_ACEOF
43748 #define wxUSE_LISTCTRL 1
43752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
43754 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43755 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43759 if test "$wxUSE_NOTEBOOK" = "yes"; then
43760 cat >>confdefs.h
<<\_ACEOF
43761 #define wxUSE_NOTEBOOK 1
43765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
43769 if test "$wxUSE_RADIOBOX" = "yes"; then
43770 cat >>confdefs.h
<<\_ACEOF
43771 #define wxUSE_RADIOBOX 1
43777 if test "$wxUSE_RADIOBTN" = "yes"; then
43778 cat >>confdefs.h
<<\_ACEOF
43779 #define wxUSE_RADIOBTN 1
43785 if test "$wxUSE_SASH" = "yes"; then
43786 cat >>confdefs.h
<<\_ACEOF
43787 #define wxUSE_SASH 1
43790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
43793 if test "$wxUSE_SCROLLBAR" = "yes"; then
43794 cat >>confdefs.h
<<\_ACEOF
43795 #define wxUSE_SCROLLBAR 1
43799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
43802 if test "$wxUSE_SLIDER" = "yes"; then
43803 cat >>confdefs.h
<<\_ACEOF
43804 #define wxUSE_SLIDER 1
43810 if test "$wxUSE_SPINBTN" = "yes"; then
43811 cat >>confdefs.h
<<\_ACEOF
43812 #define wxUSE_SPINBTN 1
43818 if test "$wxUSE_SPINCTRL" = "yes"; then
43819 cat >>confdefs.h
<<\_ACEOF
43820 #define wxUSE_SPINCTRL 1
43826 if test "$wxUSE_SPLITTER" = "yes"; then
43827 cat >>confdefs.h
<<\_ACEOF
43828 #define wxUSE_SPLITTER 1
43831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
43834 if test "$wxUSE_STATBMP" = "yes"; then
43835 cat >>confdefs.h
<<\_ACEOF
43836 #define wxUSE_STATBMP 1
43842 if test "$wxUSE_STATBOX" = "yes"; then
43843 cat >>confdefs.h
<<\_ACEOF
43844 #define wxUSE_STATBOX 1
43850 if test "$wxUSE_STATTEXT" = "yes"; then
43851 cat >>confdefs.h
<<\_ACEOF
43852 #define wxUSE_STATTEXT 1
43858 if test "$wxUSE_STATLINE" = "yes"; then
43859 cat >>confdefs.h
<<\_ACEOF
43860 #define wxUSE_STATLINE 1
43866 if test "$wxUSE_STATUSBAR" = "yes"; then
43867 cat >>confdefs.h
<<\_ACEOF
43868 #define wxUSE_NATIVE_STATUSBAR 1
43871 cat >>confdefs.h
<<\_ACEOF
43872 #define wxUSE_STATUSBAR 1
43877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
43880 if test "$wxUSE_TABDIALOG" = "yes"; then
43881 cat >>confdefs.h
<<\_ACEOF
43882 #define wxUSE_TAB_DIALOG 1
43887 if test "$wxUSE_TEXTCTRL" = "yes"; then
43888 cat >>confdefs.h
<<\_ACEOF
43889 #define wxUSE_TEXTCTRL 1
43893 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
43896 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43897 if test "$wxUSE_COCOA" = 1 ; then
43898 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43899 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43902 if test "$wxUSE_UNIVERSAL" = "yes"; then
43903 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43904 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43908 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43909 cat >>confdefs.h
<<\_ACEOF
43910 #define wxUSE_TOGGLEBTN 1
43917 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
43918 cat >>confdefs.h
<<\_ACEOF
43919 #define wxUSE_TOOLBAR_SIMPLE 1
43922 wxUSE_TOOLBAR
="yes"
43926 if test "$wxUSE_TOOLBAR" = "yes"; then
43927 cat >>confdefs.h
<<\_ACEOF
43928 #define wxUSE_TOOLBAR 1
43933 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
43934 wxUSE_TOOLBAR_NATIVE
="yes"
43937 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
43938 cat >>confdefs.h
<<\_ACEOF
43939 #define wxUSE_TOOLBAR_NATIVE 1
43945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
43948 if test "$wxUSE_TOOLTIPS" = "yes"; then
43949 if test "$wxUSE_MOTIF" = 1; then
43950 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
43951 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
43953 if test "$wxUSE_UNIVERSAL" = "yes"; then
43954 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
43955 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
43957 cat >>confdefs.h
<<\_ACEOF
43958 #define wxUSE_TOOLTIPS 1
43965 if test "$wxUSE_TREEBOOK" = "yes"; then
43966 cat >>confdefs.h
<<\_ACEOF
43967 #define wxUSE_TREEBOOK 1
43973 if test "$wxUSE_TREECTRL" = "yes"; then
43974 if test "$wxUSE_IMAGLIST" = "yes"; then
43975 cat >>confdefs.h
<<\_ACEOF
43976 #define wxUSE_TREECTRL 1
43980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
43982 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
43983 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
43987 if test "$wxUSE_POPUPWIN" = "yes"; then
43988 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43989 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
43990 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
43992 if test "$wxUSE_PM" = 1; then
43993 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
43994 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
43996 cat >>confdefs.h
<<\_ACEOF
43997 #define wxUSE_POPUPWIN 1
44000 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
44007 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44008 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44009 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44010 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44012 cat >>confdefs.h
<<\_ACEOF
44013 #define wxUSE_DIALUP_MANAGER 1
44016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
44020 if test "$wxUSE_TIPWINDOW" = "yes"; then
44021 if test "$wxUSE_PM" = 1; then
44022 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44023 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44025 cat >>confdefs.h
<<\_ACEOF
44026 #define wxUSE_TIPWINDOW 1
44032 if test "$USES_CONTROLS" = 1; then
44033 cat >>confdefs.h
<<\_ACEOF
44034 #define wxUSE_CONTROLS 1
44040 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44041 cat >>confdefs.h
<<\_ACEOF
44042 #define wxUSE_ACCESSIBILITY 1
44045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
44048 if test "$wxUSE_DC_CACHEING" = "yes"; then
44049 cat >>confdefs.h
<<\_ACEOF
44050 #define wxUSE_DC_CACHEING 1
44055 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44056 cat >>confdefs.h
<<\_ACEOF
44057 #define wxUSE_DRAGIMAGE 1
44060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
44063 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44064 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44065 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44066 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44068 cat >>confdefs.h
<<\_ACEOF
44069 #define wxUSE_EXCEPTIONS 1
44072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
44077 if test "$wxUSE_HTML" = "yes"; then
44078 cat >>confdefs.h
<<\_ACEOF
44079 #define wxUSE_HTML 1
44083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44084 if test "$wxUSE_MAC" = 1; then
44085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
44088 if test "$wxUSE_WEBKIT" = "yes"; then
44089 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44090 old_CPPFLAGS
="$CPPFLAGS"
44091 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
44092 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44093 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44094 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44095 echo $ECHO_N "(cached) $ECHO_C" >&6
44097 cat >conftest.
$ac_ext <<_ACEOF
44100 cat confdefs.h
>>conftest.
$ac_ext
44101 cat >>conftest.
$ac_ext <<_ACEOF
44102 /* end confdefs.h. */
44103 #include <Carbon/Carbon.h>
44105 #include <WebKit/HIWebView.h>
44107 rm -f conftest.
$ac_objext
44108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44109 (eval $ac_compile) 2>conftest.er1
44111 grep -v '^ *+' conftest.er1
>conftest.err
44113 cat conftest.err
>&5
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); } &&
44116 { ac_try
='test -z "$ac_c_werror_flag"
44117 || test ! -s conftest.err'
44118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44119 (eval $ac_try) 2>&5
44121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44122 (exit $ac_status); }; } &&
44123 { ac_try
='test -s conftest.$ac_objext'
44124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44125 (eval $ac_try) 2>&5
44127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44128 (exit $ac_status); }; }; then
44129 ac_cv_header_WebKit_HIWebView_h
=yes
44131 echo "$as_me: failed program was:" >&5
44132 sed 's/^/| /' conftest.
$ac_ext >&5
44134 ac_cv_header_WebKit_HIWebView_h
=no
44136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44138 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44139 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44140 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44142 cat >>confdefs.h
<<\_ACEOF
44143 #define wxUSE_WEBKIT 1
44146 WEBKIT_LINK
="-framework WebKit"
44150 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44151 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44157 CPPFLAGS
="$old_CPPFLAGS"
44158 elif test "$wxUSE_COCOA" = 1; then
44159 cat >>confdefs.h
<<\_ACEOF
44160 #define wxUSE_WEBKIT 1
44169 if test "$wxUSE_XRC" = "yes"; then
44170 if test "$wxUSE_XML" != "yes"; then
44171 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44172 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44175 cat >>confdefs.h
<<\_ACEOF
44176 #define wxUSE_XRC 1
44180 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44184 if test "$wxUSE_MENUS" = "yes"; then
44185 cat >>confdefs.h
<<\_ACEOF
44186 #define wxUSE_MENUS 1
44189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44192 if test "$wxUSE_METAFILE" = "yes"; then
44193 cat >>confdefs.h
<<\_ACEOF
44194 #define wxUSE_METAFILE 1
44199 if test "$wxUSE_MIMETYPE" = "yes"; then
44200 cat >>confdefs.h
<<\_ACEOF
44201 #define wxUSE_MIMETYPE 1
44206 if test "$wxUSE_MINIFRAME" = "yes"; then
44207 cat >>confdefs.h
<<\_ACEOF
44208 #define wxUSE_MINIFRAME 1
44211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44214 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44215 cat >>confdefs.h
<<\_ACEOF
44216 #define wxUSE_SYSTEM_OPTIONS 1
44219 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44220 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44226 if test "$wxUSE_VALIDATORS" = "yes"; then
44227 cat >>confdefs.h
<<\_ACEOF
44228 #define wxUSE_VALIDATORS 1
44231 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44234 if test "$wxUSE_PALETTE" = "yes" ; then
44235 cat >>confdefs.h
<<\_ACEOF
44236 #define wxUSE_PALETTE 1
44241 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44242 LIBS
=" -lunicows $LIBS"
44246 if test "$wxUSE_RICHTEXT" = "yes"; then
44247 cat >>confdefs.h
<<\_ACEOF
44248 #define wxUSE_RICHTEXT 1
44252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44256 if test "$wxUSE_IMAGE" = "yes" ; then
44257 cat >>confdefs.h
<<\_ACEOF
44258 #define wxUSE_IMAGE 1
44262 if test "$wxUSE_GIF" = "yes" ; then
44263 cat >>confdefs.h
<<\_ACEOF
44264 #define wxUSE_GIF 1
44269 if test "$wxUSE_PCX" = "yes" ; then
44270 cat >>confdefs.h
<<\_ACEOF
44271 #define wxUSE_PCX 1
44276 if test "$wxUSE_IFF" = "yes" ; then
44277 cat >>confdefs.h
<<\_ACEOF
44278 #define wxUSE_IFF 1
44283 if test "$wxUSE_PNM" = "yes" ; then
44284 cat >>confdefs.h
<<\_ACEOF
44285 #define wxUSE_PNM 1
44290 if test "$wxUSE_XPM" = "yes" ; then
44291 cat >>confdefs.h
<<\_ACEOF
44292 #define wxUSE_XPM 1
44297 if test "$wxUSE_ICO_CUR" = "yes" ; then
44298 cat >>confdefs.h
<<\_ACEOF
44299 #define wxUSE_ICO_CUR 1
44306 if test "$wxUSE_CHOICEDLG" = "yes"; then
44307 cat >>confdefs.h
<<\_ACEOF
44308 #define wxUSE_CHOICEDLG 1
44313 if test "$wxUSE_COLOURDLG" = "yes"; then
44314 cat >>confdefs.h
<<\_ACEOF
44315 #define wxUSE_COLOURDLG 1
44320 if test "$wxUSE_FILEDLG" = "yes"; then
44321 cat >>confdefs.h
<<\_ACEOF
44322 #define wxUSE_FILEDLG 1
44327 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44328 cat >>confdefs.h
<<\_ACEOF
44329 #define wxUSE_FINDREPLDLG 1
44334 if test "$wxUSE_FONTDLG" = "yes"; then
44335 cat >>confdefs.h
<<\_ACEOF
44336 #define wxUSE_FONTDLG 1
44341 if test "$wxUSE_DIRDLG" = "yes"; then
44342 if test "$wxUSE_TREECTRL" != "yes"; then
44343 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44344 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44346 cat >>confdefs.h
<<\_ACEOF
44347 #define wxUSE_DIRDLG 1
44353 if test "$wxUSE_MSGDLG" = "yes"; then
44354 cat >>confdefs.h
<<\_ACEOF
44355 #define wxUSE_MSGDLG 1
44360 if test "$wxUSE_NUMBERDLG" = "yes"; then
44361 cat >>confdefs.h
<<\_ACEOF
44362 #define wxUSE_NUMBERDLG 1
44367 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44368 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44369 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44370 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44372 cat >>confdefs.h
<<\_ACEOF
44373 #define wxUSE_PROGRESSDLG 1
44379 if test "$wxUSE_SPLASH" = "yes"; then
44380 cat >>confdefs.h
<<\_ACEOF
44381 #define wxUSE_SPLASH 1
44384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44387 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44388 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44389 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44390 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44392 cat >>confdefs.h
<<\_ACEOF
44393 #define wxUSE_STARTUP_TIPS 1
44399 if test "$wxUSE_TEXTDLG" = "yes"; then
44400 cat >>confdefs.h
<<\_ACEOF
44401 #define wxUSE_TEXTDLG 1
44406 if test "$wxUSE_WIZARDDLG" = "yes"; then
44407 cat >>confdefs.h
<<\_ACEOF
44408 #define wxUSE_WIZARDDLG 1
44411 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44415 if test "$wxUSE_MEDIACTRL" = "yes"; then
44416 if test "$wxUSE_GTK" = 1; then
44417 wxUSE_GSTREAMER
="yes"
44422 if test -z "$PKG_CONFIG"; then
44423 # Extract the first word of "pkg-config", so it can be a program name with args.
44424 set dummy pkg
-config; ac_word
=$2
44425 echo "$as_me:$LINENO: checking for $ac_word" >&5
44426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44427 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44428 echo $ECHO_N "(cached) $ECHO_C" >&6
44430 case $PKG_CONFIG in
44432 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44436 for as_dir
in $PATH
44439 test -z "$as_dir" && as_dir
=.
44440 for ac_exec_ext
in '' $ac_executable_extensions; do
44441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44442 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44449 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44453 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44455 if test -n "$PKG_CONFIG"; then
44456 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44457 echo "${ECHO_T}$PKG_CONFIG" >&6
44459 echo "$as_me:$LINENO: result: no" >&5
44460 echo "${ECHO_T}no" >&6
44465 if test "$PKG_CONFIG" = "no" ; then
44466 echo "*** The pkg-config script could not be found. Make sure it is"
44467 echo "*** in your path, or set the PKG_CONFIG environment variable"
44468 echo "*** to the full path to pkg-config."
44469 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44471 PKG_CONFIG_MIN_VERSION
=0.9.0
44472 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44473 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
44474 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
44476 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
44477 echo "$as_me:$LINENO: result: yes" >&5
44478 echo "${ECHO_T}yes" >&6
44481 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
44482 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
44483 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
44484 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
44485 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
44487 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
44488 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
44489 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
44490 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
44491 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
44493 GSTREAMER_CFLAGS
=""
44495 ## If we have a custom action on failure, don't print errors, but
44496 ## do set a variable so people can do so.
44497 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
44504 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44505 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44509 if test $succeeded = yes; then
44511 CPPFLAGS
="$GSTREAMER_CFLAGS $CPPFLAGS"
44512 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
44516 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
44517 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
44518 wxUSE_GSTREAMER
="no"
44526 if test "x$GST_INSPECT" == "x"; then
44527 # Extract the first word of "gst-inspect", so it can be a program name with args.
44528 set dummy gst
-inspect; ac_word
=$2
44529 echo "$as_me:$LINENO: checking for $ac_word" >&5
44530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44531 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
44532 echo $ECHO_N "(cached) $ECHO_C" >&6
44534 if test -n "$GST_INSPECT"; then
44535 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
44537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44538 for as_dir
in $PATH
44541 test -z "$as_dir" && as_dir
=.
44542 for ac_exec_ext
in '' $ac_executable_extensions; do
44543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44544 ac_cv_prog_GST_INSPECT
="gst-inspect"
44545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44553 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
44554 if test -n "$GST_INSPECT"; then
44555 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
44556 echo "${ECHO_T}$GST_INSPECT" >&6
44558 echo "$as_me:$LINENO: result: no" >&5
44559 echo "${ECHO_T}no" >&6
44564 if test "x$GST_INSPECT" != "x"; then
44565 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
44566 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
44567 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
44568 echo "$as_me:$LINENO: result: found." >&5
44569 echo "${ECHO_T}found." >&6
44572 echo "$as_me:$LINENO: result: not found." >&5
44573 echo "${ECHO_T}not found." >&6
44575 wxUSE_GSTREAMER
="no"
44576 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
44577 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
44583 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
44584 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
44585 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
44586 echo $ECHO_N "(cached) $ECHO_C" >&6
44588 cat >conftest.
$ac_ext <<_ACEOF
44591 cat confdefs.h
>>conftest.
$ac_ext
44592 cat >>conftest.
$ac_ext <<_ACEOF
44593 /* end confdefs.h. */
44594 #include <gst/gst.h>
44596 #include <gst/xoverlay/xoverlay.h>
44598 rm -f conftest.
$ac_objext
44599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44600 (eval $ac_compile) 2>conftest.er1
44602 grep -v '^ *+' conftest.er1
>conftest.err
44604 cat conftest.err
>&5
44605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606 (exit $ac_status); } &&
44607 { ac_try
='test -z "$ac_c_werror_flag"
44608 || test ! -s conftest.err'
44609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44610 (eval $ac_try) 2>&5
44612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44613 (exit $ac_status); }; } &&
44614 { ac_try
='test -s conftest.$ac_objext'
44615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44616 (eval $ac_try) 2>&5
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); }; }; then
44620 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
44622 echo "$as_me: failed program was:" >&5
44623 sed 's/^/| /' conftest.
$ac_ext >&5
44625 ac_cv_header_gst_xoverlay_xoverlay_h
=no
44627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44629 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
44630 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
44631 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
44635 wxUSE_GSTREAMER
="no"
44636 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
44637 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
44643 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
44644 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
44647 for ac_dir
in $SEARCH_LIB;
44649 for ac_extension
in a so sl dylib dll.a
; do
44650 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
44651 ac_find_libraries
=$ac_dir
44658 if test "$ac_find_libraries" = "" ; then
44659 echo "$as_me:$LINENO: result: no" >&5
44660 echo "${ECHO_T}no" >&6
44661 wxUSE_GSTREAMER
="no"
44663 echo "$as_me:$LINENO: result: yes" >&5
44664 echo "${ECHO_T}yes" >&6
44667 if test "$wxUSE_GSTREAMER" = "yes"; then
44668 cat >>confdefs.h
<<\_ACEOF
44669 #define wxUSE_GSTREAMER 1
44672 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44673 echo "${ECHO_T}GStreamer detection successful" >&6
44676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
44677 cat >>confdefs.h
<<\_ACEOF
44678 #define wxUSE_MEDIACTRL 1
44684 if test "$cross_compiling" = "yes"; then
44687 OSINFO
=`uname -s -r -m`
44688 OSINFO
="\"$OSINFO\""
44691 cat >>confdefs.h
<<_ACEOF
44692 #define WXWIN_OS_DESCRIPTION $OSINFO
44697 if test "x$prefix" != "xNONE"; then
44700 wxPREFIX
=$ac_default_prefix
44703 cat >>confdefs.h
<<_ACEOF
44704 #define wxINSTALL_PREFIX "$wxPREFIX"
44710 CORE_BASE_LIBS
="net base"
44711 CORE_GUI_LIBS
="adv core"
44713 if test "$wxUSE_XML" = "yes" ; then
44714 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
44716 if test "$wxUSE_ODBC" != "no" ; then
44717 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
44718 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
44720 if test "$wxUSE_HTML" = "yes" ; then
44721 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
44723 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44724 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
44726 if test "$wxUSE_XRC" = "yes" ; then
44727 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
44730 if test "$wxUSE_GUI" != "yes"; then
44741 if test "$wxUSE_MAC" = 1 ; then
44742 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44743 if test "$USE_DARWIN" = 1; then
44744 LDFLAGS
="$LDFLAGS -framework QuickTime"
44746 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
44749 if test "$USE_DARWIN" = 1; then
44750 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44752 LDFLAGS
="$LDFLAGS -lCarbonLib"
44755 if test "$wxUSE_COCOA" = 1 ; then
44756 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
44757 if test "$wxUSE_MEDIACTRL" = "yes"; then
44758 LDFLAGS
="$LDFLAGS -framework QuickTime"
44761 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44762 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44766 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44773 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44774 echo "$as_me:$LINENO: checking for $ac_func" >&5
44775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44776 if eval "test \"\${$as_ac_var+set}\" = set"; then
44777 echo $ECHO_N "(cached) $ECHO_C" >&6
44779 cat >conftest.
$ac_ext <<_ACEOF
44782 cat confdefs.h
>>conftest.
$ac_ext
44783 cat >>conftest.
$ac_ext <<_ACEOF
44784 /* end confdefs.h. */
44785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44787 #define $ac_func innocuous_$ac_func
44789 /* System header to define __stub macros and hopefully few prototypes,
44790 which can conflict with char $ac_func (); below.
44791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44792 <limits.h> exists even on freestanding compilers. */
44795 # include <limits.h>
44797 # include <assert.h>
44802 /* Override any gcc2 internal prototype to avoid an error. */
44807 /* We use char because int might match the return type of a gcc2
44808 builtin and then its argument prototype would still apply. */
44810 /* The GNU C library defines this for functions which it implements
44811 to always fail with ENOSYS. Some functions are actually named
44812 something starting with __ and the normal name is an alias. */
44813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44816 char (*f) () = $ac_func;
44825 return f != $ac_func;
44830 rm -f conftest.
$ac_objext conftest
$ac_exeext
44831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44832 (eval $ac_link) 2>conftest.er1
44834 grep -v '^ *+' conftest.er1
>conftest.err
44836 cat conftest.err
>&5
44837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44838 (exit $ac_status); } &&
44839 { ac_try
='test -z "$ac_c_werror_flag"
44840 || test ! -s conftest.err'
44841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44842 (eval $ac_try) 2>&5
44844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44845 (exit $ac_status); }; } &&
44846 { ac_try
='test -s conftest$ac_exeext'
44847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44848 (eval $ac_try) 2>&5
44850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44851 (exit $ac_status); }; }; then
44852 eval "$as_ac_var=yes"
44854 echo "$as_me: failed program was:" >&5
44855 sed 's/^/| /' conftest.
$ac_ext >&5
44857 eval "$as_ac_var=no"
44859 rm -f conftest.err conftest.
$ac_objext \
44860 conftest
$ac_exeext conftest.
$ac_ext
44862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44864 if test `eval echo '${'$as_ac_var'}'` = yes; then
44865 cat >>confdefs.h
<<_ACEOF
44866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44873 for ac_func
in floor
44875 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44876 echo "$as_me:$LINENO: checking for $ac_func" >&5
44877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44878 if eval "test \"\${$as_ac_var+set}\" = set"; then
44879 echo $ECHO_N "(cached) $ECHO_C" >&6
44881 cat >conftest.
$ac_ext <<_ACEOF
44884 cat confdefs.h
>>conftest.
$ac_ext
44885 cat >>conftest.
$ac_ext <<_ACEOF
44886 /* end confdefs.h. */
44887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44889 #define $ac_func innocuous_$ac_func
44891 /* System header to define __stub macros and hopefully few prototypes,
44892 which can conflict with char $ac_func (); below.
44893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44894 <limits.h> exists even on freestanding compilers. */
44897 # include <limits.h>
44899 # include <assert.h>
44904 /* Override any gcc2 internal prototype to avoid an error. */
44909 /* We use char because int might match the return type of a gcc2
44910 builtin and then its argument prototype would still apply. */
44912 /* The GNU C library defines this for functions which it implements
44913 to always fail with ENOSYS. Some functions are actually named
44914 something starting with __ and the normal name is an alias. */
44915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44918 char (*f) () = $ac_func;
44927 return f != $ac_func;
44932 rm -f conftest.
$ac_objext conftest
$ac_exeext
44933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44934 (eval $ac_link) 2>conftest.er1
44936 grep -v '^ *+' conftest.er1
>conftest.err
44938 cat conftest.err
>&5
44939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44940 (exit $ac_status); } &&
44941 { ac_try
='test -z "$ac_c_werror_flag"
44942 || test ! -s conftest.err'
44943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44944 (eval $ac_try) 2>&5
44946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44947 (exit $ac_status); }; } &&
44948 { ac_try
='test -s conftest$ac_exeext'
44949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44950 (eval $ac_try) 2>&5
44952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44953 (exit $ac_status); }; }; then
44954 eval "$as_ac_var=yes"
44956 echo "$as_me: failed program was:" >&5
44957 sed 's/^/| /' conftest.
$ac_ext >&5
44959 eval "$as_ac_var=no"
44961 rm -f conftest.err conftest.
$ac_objext \
44962 conftest
$ac_exeext conftest.
$ac_ext
44964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44966 if test `eval echo '${'$as_ac_var'}'` = yes; then
44967 cat >>confdefs.h
<<_ACEOF
44968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44974 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
44975 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
44976 if test "$have_cos" = 1 -a "$have_floor" = 1; then
44977 echo "$as_me:$LINENO: result: yes" >&5
44978 echo "${ECHO_T}yes" >&6
44980 echo "$as_me:$LINENO: result: no" >&5
44981 echo "${ECHO_T}no" >&6
44983 # use different functions to avoid configure caching
44989 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44990 echo "$as_me:$LINENO: checking for $ac_func" >&5
44991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44992 if eval "test \"\${$as_ac_var+set}\" = set"; then
44993 echo $ECHO_N "(cached) $ECHO_C" >&6
44995 cat >conftest.
$ac_ext <<_ACEOF
44998 cat confdefs.h
>>conftest.
$ac_ext
44999 cat >>conftest.
$ac_ext <<_ACEOF
45000 /* end confdefs.h. */
45001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45003 #define $ac_func innocuous_$ac_func
45005 /* System header to define __stub macros and hopefully few prototypes,
45006 which can conflict with char $ac_func (); below.
45007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45008 <limits.h> exists even on freestanding compilers. */
45011 # include <limits.h>
45013 # include <assert.h>
45018 /* Override any gcc2 internal prototype to avoid an error. */
45023 /* We use char because int might match the return type of a gcc2
45024 builtin and then its argument prototype would still apply. */
45026 /* The GNU C library defines this for functions which it implements
45027 to always fail with ENOSYS. Some functions are actually named
45028 something starting with __ and the normal name is an alias. */
45029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45032 char (*f) () = $ac_func;
45041 return f != $ac_func;
45046 rm -f conftest.
$ac_objext conftest
$ac_exeext
45047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45048 (eval $ac_link) 2>conftest.er1
45050 grep -v '^ *+' conftest.er1
>conftest.err
45052 cat conftest.err
>&5
45053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45054 (exit $ac_status); } &&
45055 { ac_try
='test -z "$ac_c_werror_flag"
45056 || test ! -s conftest.err'
45057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45058 (eval $ac_try) 2>&5
45060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45061 (exit $ac_status); }; } &&
45062 { ac_try
='test -s conftest$ac_exeext'
45063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45064 (eval $ac_try) 2>&5
45066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067 (exit $ac_status); }; }; then
45068 eval "$as_ac_var=yes"
45070 echo "$as_me: failed program was:" >&5
45071 sed 's/^/| /' conftest.
$ac_ext >&5
45073 eval "$as_ac_var=no"
45075 rm -f conftest.err conftest.
$ac_objext \
45076 conftest
$ac_exeext conftest.
$ac_ext
45078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45080 if test `eval echo '${'$as_ac_var'}'` = yes; then
45081 cat >>confdefs.h
<<_ACEOF
45082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45089 for ac_func
in ceil
45091 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45092 echo "$as_me:$LINENO: checking for $ac_func" >&5
45093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45094 if eval "test \"\${$as_ac_var+set}\" = set"; then
45095 echo $ECHO_N "(cached) $ECHO_C" >&6
45097 cat >conftest.
$ac_ext <<_ACEOF
45100 cat confdefs.h
>>conftest.
$ac_ext
45101 cat >>conftest.
$ac_ext <<_ACEOF
45102 /* end confdefs.h. */
45103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45105 #define $ac_func innocuous_$ac_func
45107 /* System header to define __stub macros and hopefully few prototypes,
45108 which can conflict with char $ac_func (); below.
45109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45110 <limits.h> exists even on freestanding compilers. */
45113 # include <limits.h>
45115 # include <assert.h>
45120 /* Override any gcc2 internal prototype to avoid an error. */
45125 /* We use char because int might match the return type of a gcc2
45126 builtin and then its argument prototype would still apply. */
45128 /* The GNU C library defines this for functions which it implements
45129 to always fail with ENOSYS. Some functions are actually named
45130 something starting with __ and the normal name is an alias. */
45131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45134 char (*f) () = $ac_func;
45143 return f != $ac_func;
45148 rm -f conftest.
$ac_objext conftest
$ac_exeext
45149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45150 (eval $ac_link) 2>conftest.er1
45152 grep -v '^ *+' conftest.er1
>conftest.err
45154 cat conftest.err
>&5
45155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45156 (exit $ac_status); } &&
45157 { ac_try
='test -z "$ac_c_werror_flag"
45158 || test ! -s conftest.err'
45159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45160 (eval $ac_try) 2>&5
45162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45163 (exit $ac_status); }; } &&
45164 { ac_try
='test -s conftest$ac_exeext'
45165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45166 (eval $ac_try) 2>&5
45168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45169 (exit $ac_status); }; }; then
45170 eval "$as_ac_var=yes"
45172 echo "$as_me: failed program was:" >&5
45173 sed 's/^/| /' conftest.
$ac_ext >&5
45175 eval "$as_ac_var=no"
45177 rm -f conftest.err conftest.
$ac_objext \
45178 conftest
$ac_exeext conftest.
$ac_ext
45180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45182 if test `eval echo '${'$as_ac_var'}'` = yes; then
45183 cat >>confdefs.h
<<_ACEOF
45184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45190 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
45191 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
45192 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
45193 echo "$as_me:$LINENO: result: yes" >&5
45194 echo "${ECHO_T}yes" >&6
45196 echo "$as_me:$LINENO: result: no" >&5
45197 echo "${ECHO_T}no" >&6
45198 # not sure we should warn the user, crash, etc.
45202 if test "$wxUSE_GUI" = "yes"; then
45205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45206 dynamic erase event exec font image minimal mobile \
45207 mobile/wxedit mobile/styles propsize render \
45208 richedit rotate shaped vscroll widgets"
45210 if test "$wxUSE_MONOLITHIC" != "yes"; then
45211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45213 if test "$TOOLKIT" = "MSW"; then
45214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45215 if test "$wxUSE_UNIVERSAL" != "yes"; then
45216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45219 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45223 SAMPLES_SUBDIRS
="console"
45227 if test "x$INTELCC" = "xyes" ; then
45228 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45229 elif test "$GCC" = yes ; then
45230 CWARNINGS
="-Wall -Wundef"
45233 if test "x$INTELCXX" = "xyes" ; then
45234 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45235 elif test "$GXX" = yes ; then
45236 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45240 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45241 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45244 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45245 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45246 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45249 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45250 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45251 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45253 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45256 if test "x$MWCC" = "xyes"; then
45258 CC
="$CC -cwd source -I-"
45259 CXX
="$CXX -cwd source -I-"
45264 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45265 EXTRALIBS_XML
="$EXPAT_LINK"
45266 EXTRALIBS_HTML
="$MSPACK_LINK"
45267 EXTRALIBS_ODBC
="$ODBC_LINK"
45268 if test "$wxUSE_GUI" = "yes"; then
45269 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEPRINT`
45271 if test "$wxUSE_OPENGL" = "yes"; then
45272 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45275 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45277 WXCONFIG_LIBS
="$LIBS"
45279 if test "$wxUSE_REGEX" = "builtin" ; then
45280 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45282 if test "$wxUSE_EXPAT" = "builtin" ; then
45283 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45285 if test "$wxUSE_ODBC" = "builtin" ; then
45286 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45288 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45289 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45291 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45292 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45294 if test "$wxUSE_LIBPNG" = "builtin" ; then
45295 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45297 if test "$wxUSE_ZLIB" = "builtin" ; then
45298 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45301 for i
in $wxconfig_3rdparty ; do
45302 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45306 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45320 if test $wxUSE_MONOLITHIC = "yes" ; then
45326 if test $wxUSE_PLUGINS = "yes" ; then
45332 if test $wxUSE_ODBC != "no" ; then
45338 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45344 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45373 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45384 TOOLKIT_USER
="GTK+"
45385 if test "$WXGTK20" = 1; then
45386 TOOLKIT_USER
="$TOOLKIT_USER 2"
45391 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45395 if test "$wxUSE_WINE" = "yes"; then
45396 BAKEFILE_FORCE_PLATFORM
=win32
45402 if test "x$BAKEFILE_HOST" = "x"; then
45403 BAKEFILE_HOST
="${host}"
45406 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45408 if test -n "$ac_tool_prefix"; then
45409 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45410 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45411 echo "$as_me:$LINENO: checking for $ac_word" >&5
45412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45413 if test "${ac_cv_prog_RANLIB+set}" = set; then
45414 echo $ECHO_N "(cached) $ECHO_C" >&6
45416 if test -n "$RANLIB"; then
45417 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45420 for as_dir
in $PATH
45423 test -z "$as_dir" && as_dir
=.
45424 for ac_exec_ext
in '' $ac_executable_extensions; do
45425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45426 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45435 RANLIB
=$ac_cv_prog_RANLIB
45436 if test -n "$RANLIB"; then
45437 echo "$as_me:$LINENO: result: $RANLIB" >&5
45438 echo "${ECHO_T}$RANLIB" >&6
45440 echo "$as_me:$LINENO: result: no" >&5
45441 echo "${ECHO_T}no" >&6
45445 if test -z "$ac_cv_prog_RANLIB"; then
45446 ac_ct_RANLIB
=$RANLIB
45447 # Extract the first word of "ranlib", so it can be a program name with args.
45448 set dummy ranlib
; ac_word
=$2
45449 echo "$as_me:$LINENO: checking for $ac_word" >&5
45450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45451 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45452 echo $ECHO_N "(cached) $ECHO_C" >&6
45454 if test -n "$ac_ct_RANLIB"; then
45455 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45458 for as_dir
in $PATH
45461 test -z "$as_dir" && as_dir
=.
45462 for ac_exec_ext
in '' $ac_executable_extensions; do
45463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45464 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45471 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45474 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45475 if test -n "$ac_ct_RANLIB"; then
45476 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45477 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45479 echo "$as_me:$LINENO: result: no" >&5
45480 echo "${ECHO_T}no" >&6
45483 RANLIB
=$ac_ct_RANLIB
45485 RANLIB
="$ac_cv_prog_RANLIB"
45488 # Find a good install program. We prefer a C program (faster),
45489 # so one script is as good as another. But avoid the broken or
45490 # incompatible versions:
45491 # SysV /etc/install, /usr/sbin/install
45492 # SunOS /usr/etc/install
45493 # IRIX /sbin/install
45495 # AmigaOS /C/install, which installs bootblocks on floppy discs
45496 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45497 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45498 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45499 # OS/2's system install, which has a completely different semantic
45500 # ./install, which can be erroneously created by make from ./install.sh.
45501 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45502 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45503 if test -z "$INSTALL"; then
45504 if test "${ac_cv_path_install+set}" = set; then
45505 echo $ECHO_N "(cached) $ECHO_C" >&6
45507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45508 for as_dir
in $PATH
45511 test -z "$as_dir" && as_dir
=.
45512 # Account for people who put trailing slashes in PATH elements.
45514 .
/ | .
// | /cC
/* | \
45515 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45516 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45519 # OSF1 and SCO ODT 3.0 have their own names for install.
45520 # Don't use installbsd from OSF since it installs stuff as root
45522 for ac_prog
in ginstall scoinst
install; do
45523 for ac_exec_ext
in '' $ac_executable_extensions; do
45524 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45525 if test $ac_prog = install &&
45526 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45527 # AIX install. It has an incompatible calling convention.
45529 elif test $ac_prog = install &&
45530 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45531 # program-specific install script used by HP pwplus--don't use.
45534 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45546 if test "${ac_cv_path_install+set}" = set; then
45547 INSTALL
=$ac_cv_path_install
45549 # As a last resort, use the slow shell script. We don't cache a
45550 # path for INSTALL within a source directory, because that will
45551 # break other packages using the cache if that directory is
45552 # removed, or if the path is relative.
45553 INSTALL
=$ac_install_sh
45556 echo "$as_me:$LINENO: result: $INSTALL" >&5
45557 echo "${ECHO_T}$INSTALL" >&6
45559 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45560 # It thinks the first close brace ends the variable substitution.
45561 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45563 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45565 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45567 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45568 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45570 if test "$LN_S" = "ln -s"; then
45571 echo "$as_me:$LINENO: result: yes" >&5
45572 echo "${ECHO_T}yes" >&6
45574 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45575 echo "${ECHO_T}no, using $LN_S" >&6
45579 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45580 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45581 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45582 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45583 echo $ECHO_N "(cached) $ECHO_C" >&6
45585 cat >conftest.
make <<\_ACEOF
45587 @
echo 'ac_maketemp="$(MAKE)"'
45589 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45590 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45591 if test -n "$ac_maketemp"; then
45592 eval ac_cv_prog_make_
${ac_make}_set
=yes
45594 eval ac_cv_prog_make_
${ac_make}_set
=no
45596 rm -f conftest.
make
45598 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45599 echo "$as_me:$LINENO: result: yes" >&5
45600 echo "${ECHO_T}yes" >&6
45603 echo "$as_me:$LINENO: result: no" >&5
45604 echo "${ECHO_T}no" >&6
45605 SET_MAKE
="MAKE=${MAKE-make}"
45610 if test -n "$ac_tool_prefix"; then
45611 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45612 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45613 echo "$as_me:$LINENO: checking for $ac_word" >&5
45614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45615 if test "${ac_cv_prog_AR+set}" = set; then
45616 echo $ECHO_N "(cached) $ECHO_C" >&6
45618 if test -n "$AR"; then
45619 ac_cv_prog_AR
="$AR" # Let the user override the test.
45621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45622 for as_dir
in $PATH
45625 test -z "$as_dir" && as_dir
=.
45626 for ac_exec_ext
in '' $ac_executable_extensions; do
45627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45628 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45638 if test -n "$AR"; then
45639 echo "$as_me:$LINENO: result: $AR" >&5
45640 echo "${ECHO_T}$AR" >&6
45642 echo "$as_me:$LINENO: result: no" >&5
45643 echo "${ECHO_T}no" >&6
45647 if test -z "$ac_cv_prog_AR"; then
45649 # Extract the first word of "ar", so it can be a program name with args.
45650 set dummy
ar; ac_word
=$2
45651 echo "$as_me:$LINENO: checking for $ac_word" >&5
45652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45653 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45654 echo $ECHO_N "(cached) $ECHO_C" >&6
45656 if test -n "$ac_ct_AR"; then
45657 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45660 for as_dir
in $PATH
45663 test -z "$as_dir" && as_dir
=.
45664 for ac_exec_ext
in '' $ac_executable_extensions; do
45665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45666 ac_cv_prog_ac_ct_AR
="ar"
45667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45673 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45676 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45677 if test -n "$ac_ct_AR"; then
45678 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45679 echo "${ECHO_T}$ac_ct_AR" >&6
45681 echo "$as_me:$LINENO: result: no" >&5
45682 echo "${ECHO_T}no" >&6
45687 AR
="$ac_cv_prog_AR"
45690 if test -n "$ac_tool_prefix"; then
45691 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45692 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45693 echo "$as_me:$LINENO: checking for $ac_word" >&5
45694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45695 if test "${ac_cv_prog_STRIP+set}" = set; then
45696 echo $ECHO_N "(cached) $ECHO_C" >&6
45698 if test -n "$STRIP"; then
45699 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45702 for as_dir
in $PATH
45705 test -z "$as_dir" && as_dir
=.
45706 for ac_exec_ext
in '' $ac_executable_extensions; do
45707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45708 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45717 STRIP
=$ac_cv_prog_STRIP
45718 if test -n "$STRIP"; then
45719 echo "$as_me:$LINENO: result: $STRIP" >&5
45720 echo "${ECHO_T}$STRIP" >&6
45722 echo "$as_me:$LINENO: result: no" >&5
45723 echo "${ECHO_T}no" >&6
45727 if test -z "$ac_cv_prog_STRIP"; then
45729 # Extract the first word of "strip", so it can be a program name with args.
45730 set dummy strip
; ac_word
=$2
45731 echo "$as_me:$LINENO: checking for $ac_word" >&5
45732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45733 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45734 echo $ECHO_N "(cached) $ECHO_C" >&6
45736 if test -n "$ac_ct_STRIP"; then
45737 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45740 for as_dir
in $PATH
45743 test -z "$as_dir" && as_dir
=.
45744 for ac_exec_ext
in '' $ac_executable_extensions; do
45745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45746 ac_cv_prog_ac_ct_STRIP
="strip"
45747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45753 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45756 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45757 if test -n "$ac_ct_STRIP"; then
45758 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45759 echo "${ECHO_T}$ac_ct_STRIP" >&6
45761 echo "$as_me:$LINENO: result: no" >&5
45762 echo "${ECHO_T}no" >&6
45767 STRIP
="$ac_cv_prog_STRIP"
45770 if test -n "$ac_tool_prefix"; then
45771 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45772 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45773 echo "$as_me:$LINENO: checking for $ac_word" >&5
45774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45775 if test "${ac_cv_prog_NM+set}" = set; then
45776 echo $ECHO_N "(cached) $ECHO_C" >&6
45778 if test -n "$NM"; then
45779 ac_cv_prog_NM
="$NM" # Let the user override the test.
45781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45782 for as_dir
in $PATH
45785 test -z "$as_dir" && as_dir
=.
45786 for ac_exec_ext
in '' $ac_executable_extensions; do
45787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45788 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45798 if test -n "$NM"; then
45799 echo "$as_me:$LINENO: result: $NM" >&5
45800 echo "${ECHO_T}$NM" >&6
45802 echo "$as_me:$LINENO: result: no" >&5
45803 echo "${ECHO_T}no" >&6
45807 if test -z "$ac_cv_prog_NM"; then
45809 # Extract the first word of "nm", so it can be a program name with args.
45810 set dummy nm
; ac_word
=$2
45811 echo "$as_me:$LINENO: checking for $ac_word" >&5
45812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45813 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45814 echo $ECHO_N "(cached) $ECHO_C" >&6
45816 if test -n "$ac_ct_NM"; then
45817 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
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_prog_ac_ct_NM
="nm"
45827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45833 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45836 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45837 if test -n "$ac_ct_NM"; then
45838 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45839 echo "${ECHO_T}$ac_ct_NM" >&6
45841 echo "$as_me:$LINENO: result: no" >&5
45842 echo "${ECHO_T}no" >&6
45847 NM
="$ac_cv_prog_NM"
45851 case ${BAKEFILE_HOST} in
45853 INSTALL_DIR
="mkdir -p"
45855 *) INSTALL_DIR
="$INSTALL -d"
45861 case ${BAKEFILE_HOST} in
45862 *-*-cygwin* | *-*-mingw32* )
45863 LDFLAGS_GUI
="-mwindows"
45869 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45870 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45871 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45872 echo $ECHO_N "(cached) $ECHO_C" >&6
45875 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45876 egrep -s GNU
> /dev
/null
); then
45877 bakefile_cv_prog_makeisgnu
="yes"
45879 bakefile_cv_prog_makeisgnu
="no"
45883 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45884 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45886 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45903 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45904 case "${BAKEFILE_HOST}" in
45911 *-pc-os2_emx | *-pc-os2-emx )
45921 powerpc
-apple-macos* )
45930 case "$BAKEFILE_FORCE_PLATFORM" in
45951 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45952 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45953 { (exit 1); exit 1; }; }
45968 # Check whether --enable-omf or --disable-omf was given.
45969 if test "${enable_omf+set}" = set; then
45970 enableval
="$enable_omf"
45971 bk_os2_use_omf
="$enableval"
45974 case "${BAKEFILE_HOST}" in
45976 if test "x$GCC" = "xyes"; then
45977 CFLAGS
="$CFLAGS -fno-common"
45978 CXXFLAGS
="$CXXFLAGS -fno-common"
45980 if test "x$XLCC" = "xyes"; then
45981 CFLAGS
="$CFLAGS -qnocommon"
45982 CXXFLAGS
="$CXXFLAGS -qnocommon"
45986 *-pc-os2_emx | *-pc-os2-emx )
45987 if test "x$bk_os2_use_omf" = "xyes" ; then
45990 LDFLAGS
="-Zomf $LDFLAGS"
45991 CFLAGS
="-Zomf $CFLAGS"
45992 CXXFLAGS
="-Zomf $CXXFLAGS"
46000 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
46006 SO_SUFFIX_MODULE
="so"
46011 DLLPREFIX_MODULE
=""
46015 case "${BAKEFILE_HOST}" in
46018 SO_SUFFIX_MODULE
="sl"
46022 SO_SUFFIX_MODULE
="a"
46026 SO_SUFFIX_MODULE
="dll"
46027 DLLIMP_SUFFIX
="dll.a"
46034 SO_SUFFIX_MODULE
="dll"
46035 DLLIMP_SUFFIX
="dll.a"
46045 *-pc-os2_emx | *-pc-os2-emx )
46047 SO_SUFFIX_MODULE
="dll"
46048 DLLIMP_SUFFIX
=$OS2_LIBEXT
46052 LIBEXT
=".$OS2_LIBEXT"
46057 SO_SUFFIX_MODULE
="bundle"
46061 if test "x$DLLIMP_SUFFIX" = "x" ; then
46062 DLLIMP_SUFFIX
="$SO_SUFFIX"
46077 if test "x$GCC" = "xyes"; then
46081 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
46082 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
46085 case "${BAKEFILE_HOST}" in
46087 if test "x$GCC" != "xyes"; then
46088 LDFLAGS
="$LDFLAGS -L/usr/lib"
46090 SHARED_LD_CC
="${CC} -b -o"
46091 SHARED_LD_CXX
="${CXX} -b -o"
46097 if test "x$GCC" != "xyes"; then
46098 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46099 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46100 if test "${bakefile_cv_prog_icc+set}" = set; then
46101 echo $ECHO_N "(cached) $ECHO_C" >&6
46104 cat >conftest.
$ac_ext <<_ACEOF
46107 cat confdefs.h
>>conftest.
$ac_ext
46108 cat >>conftest.
$ac_ext <<_ACEOF
46109 /* end confdefs.h. */
46115 #ifndef __INTEL_COMPILER
46123 rm -f conftest.
$ac_objext
46124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46125 (eval $ac_compile) 2>conftest.er1
46127 grep -v '^ *+' conftest.er1
>conftest.err
46129 cat conftest.err
>&5
46130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46131 (exit $ac_status); } &&
46132 { ac_try
='test -z "$ac_c_werror_flag"
46133 || test ! -s conftest.err'
46134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46135 (eval $ac_try) 2>&5
46137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46138 (exit $ac_status); }; } &&
46139 { ac_try
='test -s conftest.$ac_objext'
46140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46141 (eval $ac_try) 2>&5
46143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46144 (exit $ac_status); }; }; then
46145 bakefile_cv_prog_icc
=yes
46147 echo "$as_me: failed program was:" >&5
46148 sed 's/^/| /' conftest.
$ac_ext >&5
46150 bakefile_cv_prog_icc
=no
46153 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46156 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46157 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46158 if test "$bakefile_cv_prog_icc" = "yes"; then
46165 if test "x$GCC" != xyes
; then
46166 SHARED_LD_CC
="${CC} -G -o"
46167 SHARED_LD_CXX
="${CXX} -G -o"
46175 cat <<EOF >shared-ld-sh
46177 #-----------------------------------------------------------------------------
46178 #-- Name: distrib/mac/shared-ld-sh
46179 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46180 #-- Author: Gilles Depeyrot
46181 #-- Copyright: (c) 2002 Gilles Depeyrot
46182 #-- Licence: any use permitted
46183 #-----------------------------------------------------------------------------
46188 linking_flag="-dynamiclib"
46189 ldargs="-r -keep_private_externs -nostdlib"
46191 while test ${D}# -gt 0; do
46198 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46199 # collect these options and values
46200 args="${D}{args} ${D}1 ${D}2"
46205 # collect these load args
46206 ldargs="${D}{ldargs} ${D}1"
46209 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46210 # collect these options
46211 args="${D}{args} ${D}1"
46214 -dynamiclib|-bundle)
46215 linking_flag="${D}1"
46219 echo "shared-ld: unhandled option '${D}1'"
46223 *.o | *.a | *.dylib)
46224 # collect object files
46225 objects="${D}{objects} ${D}1"
46229 echo "shared-ld: unhandled argument '${D}1'"
46240 # Link one module containing all the others
46242 if test ${D}{verbose} = 1; then
46243 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46245 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46249 # Link the shared library from the single module created, but only if the
46250 # previous command didn't fail:
46252 if test ${D}{status} = 0; then
46253 if test ${D}{verbose} = 1; then
46254 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46256 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46261 # Remove intermediate module
46263 rm -f master.${D}${D}.o
46268 chmod +x shared
-ld-sh
46270 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46271 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46274 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46275 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46276 if test "${bakefile_cv_gcc31+set}" = set; then
46277 echo $ECHO_N "(cached) $ECHO_C" >&6
46280 cat >conftest.
$ac_ext <<_ACEOF
46283 cat confdefs.h
>>conftest.
$ac_ext
46284 cat >>conftest.
$ac_ext <<_ACEOF
46285 /* end confdefs.h. */
46291 #if (__GNUC__ < 3) || \
46292 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46300 rm -f conftest.
$ac_objext
46301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46302 (eval $ac_compile) 2>conftest.er1
46304 grep -v '^ *+' conftest.er1
>conftest.err
46306 cat conftest.err
>&5
46307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46308 (exit $ac_status); } &&
46309 { ac_try
='test -z "$ac_c_werror_flag"
46310 || test ! -s conftest.err'
46311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46312 (eval $ac_try) 2>&5
46314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46315 (exit $ac_status); }; } &&
46316 { ac_try
='test -s conftest.$ac_objext'
46317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46318 (eval $ac_try) 2>&5
46320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46321 (exit $ac_status); }; }; then
46323 bakefile_cv_gcc31
=yes
46326 echo "$as_me: failed program was:" >&5
46327 sed 's/^/| /' conftest.
$ac_ext >&5
46330 bakefile_cv_gcc31
=no
46334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46337 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46338 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46339 if test "$bakefile_cv_gcc31" = "no"; then
46340 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46341 SHARED_LD_CXX
="$SHARED_LD_CC"
46343 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46344 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46347 if test "x$GCC" == "xyes"; then
46348 PIC_FLAG
="-dynamic -fPIC"
46350 if test "x$XLCC" = "xyes"; then
46351 PIC_FLAG
="-dynamic -DPIC"
46356 if test "x$GCC" = "xyes"; then
46359 case "${BAKEFILE_HOST}" in
46361 LD_EXPFULL
="-Wl,-bexpfull"
46365 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46366 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46368 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46369 set dummy makeC
++SharedLib
; ac_word
=$2
46370 echo "$as_me:$LINENO: checking for $ac_word" >&5
46371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46372 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46373 echo $ECHO_N "(cached) $ECHO_C" >&6
46375 if test -n "$AIX_CXX_LD"; then
46376 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46379 for as_dir
in $PATH
46382 test -z "$as_dir" && as_dir
=.
46383 for ac_exec_ext
in '' $ac_executable_extensions; do
46384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46385 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46392 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46395 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46396 if test -n "$AIX_CXX_LD"; then
46397 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46398 echo "${ECHO_T}$AIX_CXX_LD" >&6
46400 echo "$as_me:$LINENO: result: no" >&5
46401 echo "${ECHO_T}no" >&6
46404 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46405 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46410 SHARED_LD_CC
="${LD} -nostart -o"
46411 SHARED_LD_CXX
="${LD} -nostart -o"
46415 if test "x$GCC" != "xyes"; then
46420 *-*-cygwin* | *-*-mingw32* )
46422 SHARED_LD_CC
="\$(CC) -shared -o"
46423 SHARED_LD_CXX
="\$(CXX) -shared -o"
46427 *-pc-os2_emx | *-pc-os2-emx )
46428 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46429 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46433 cat <<EOF >dllar.sh
46436 # dllar - a tool to build both a .dll and an .a file
46437 # from a set of object (.o) files for EMX/OS2.
46439 # Written by Andrew Zabolotny, bit@freya.etu.ru
46440 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46442 # This script will accept a set of files on the command line.
46443 # All the public symbols from the .o files will be exported into
46444 # a .DEF file, then linker will be run (through gcc) against them to
46445 # build a shared library consisting of all given .o files. All libraries
46446 # (.a) will be first decompressed into component .o files then act as
46447 # described above. You can optionally give a description (-d "description")
46448 # which will be put into .DLL. To see the list of accepted options (as well
46449 # as command-line format) simply run this program without options. The .DLL
46450 # is built to be imported by name (there is no guarantee that new versions
46451 # of the library you build will have same ordinals for same symbols).
46453 # dllar is free software; you can redistribute it and/or modify
46454 # it under the terms of the GNU General Public License as published by
46455 # the Free Software Foundation; either version 2, or (at your option)
46456 # any later version.
46458 # dllar is distributed in the hope that it will be useful,
46459 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46460 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46461 # GNU General Public License for more details.
46463 # You should have received a copy of the GNU General Public License
46464 # along with dllar; see the file COPYING. If not, write to the Free
46465 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46468 # To successfuly run this program you will need:
46469 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46470 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46472 # (used to build the .dll)
46474 # (used to create .def file from .o files)
46476 # (used to create .a file from .def file)
46477 # - GNU text utilites (cat, sort, uniq)
46478 # used to process emxexp output
46479 # - GNU file utilities (mv, rm)
46481 # - lxlite (optional, see flag below)
46482 # (used for general .dll cleanup)
46489 # basnam, variant of basename, which does _not_ remove the path, _iff_
46490 # second argument (suffix to remove) is given
46494 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46497 echo ${D}1 | sed 's/'${D}2'${D}//'
46500 echo "error in basnam ${D}*"
46506 # Cleanup temporary files and output
46509 for i in ${D}inputFiles ; do
46512 rm -rf \`basnam ${D}i !\`
46519 # Kill result in case of failure as there is just to many stupid make/nmake
46520 # things out there which doesn't do this.
46521 if [ ${D}# -eq 0 ]; then
46522 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46526 # Print usage and exit script with rc=1.
46528 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46529 echo ' [-name-mangler-script script.sh]'
46530 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46531 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46532 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46533 echo ' [*.o] [*.a]'
46534 echo '*> "output_file" should have no extension.'
46535 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46536 echo ' The import library name is derived from this and is set to "name".a,'
46537 echo ' unless overridden by -import'
46538 echo '*> "importlib_name" should have no extension.'
46539 echo ' If it has the .o, or .a extension, it is automatically removed.'
46540 echo ' This name is used as the import library name and may be longer and'
46541 echo ' more descriptive than the DLL name which has to follow the old '
46542 echo ' 8.3 convention of FAT.'
46543 echo '*> "script.sh may be given to override the output_file name by a'
46544 echo ' different name. It is mainly useful if the regular make process'
46545 echo ' of some package does not take into account OS/2 restriction of'
46546 echo ' DLL name lengths. It takes the importlib name as input and is'
46547 echo ' supposed to procude a shorter name as output. The script should'
46548 echo ' expect to get importlib_name without extension and should produce'
46549 echo ' a (max.) 8 letter name without extension.'
46550 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46551 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46552 echo ' These flags will be put at the start of GCC command line.'
46553 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46554 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46555 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46556 echo ' If the last character of a symbol is "*", all symbols beginning'
46557 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46558 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46559 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46560 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46561 echo ' C runtime DLLs.'
46562 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46563 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46564 echo ' unchanged to GCC at the end of command line.'
46565 echo '*> If you create a DLL from a library and you do not specify -o,'
46566 echo ' the basename for DLL and import library will be set to library name,'
46567 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46568 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46569 echo ' library will be renamed into gcc_s.a.'
46572 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46573 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46578 # Execute a command.
46579 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46580 # @Uses Whatever CleanUp() uses.
46586 if [ ${D}rcCmd -ne 0 ]; then
46587 echo "command failed, exit code="${D}rcCmd
46602 CFLAGS="-s -Zcrtdll"
46604 EXPORT_BY_ORDINALS=0
46609 case ${D}curDirS in
46613 curDirS=${D}{curDirS}"/"
46616 # Parse commandline
46619 while [ ${D}1 ]; do
46622 EXPORT_BY_ORDINALS=1;
46632 -name-mangler-script)
46653 exclude_symbols=${D}{exclude_symbols}${D}1" "
46657 library_flags=${D}{library_flags}${D}1" "
46676 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46679 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46680 if [ ${D}omfLinking -eq 1 ]; then
46681 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46683 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46688 if [ ${D}libsToLink -ne 0 ]; then
46689 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46691 for file in ${D}1 ; do
46692 if [ -f ${D}file ]; then
46693 inputFiles="${D}{inputFiles} ${D}file"
46697 if [ ${D}found -eq 0 ]; then
46698 echo "ERROR: No file(s) found: "${D}1
46705 done # iterate cmdline words
46708 if [ -z "${D}inputFiles" ]; then
46709 echo "dllar: no input files"
46713 # Now extract all .o files from .a files
46715 for file in ${D}inputFiles ; do
46726 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46731 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46733 if [ ${D}? -ne 0 ]; then
46734 echo "Failed to create subdirectory ./${D}dirname"
46738 # Append '!' to indicate archive
46739 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46740 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46743 for subfile in ${D}dirname/*.o* ; do
46744 if [ -f ${D}subfile ]; then
46746 if [ -s ${D}subfile ]; then
46747 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46748 newInputFiles="${D}newInputFiles ${D}subfile"
46752 if [ ${D}found -eq 0 ]; then
46753 echo "WARNING: there are no files in archive \\'${D}file\\'"
46757 newInputFiles="${D}{newInputFiles} ${D}file"
46761 inputFiles="${D}newInputFiles"
46763 # Output filename(s).
46765 if [ -z ${D}outFile ]; then
46767 set outFile ${D}inputFiles; outFile=${D}2
46770 # If it is an archive, remove the '!' and the '_%' suffixes
46771 case ${D}outFile in
46773 outFile=\`basnam ${D}outFile _%!\`
46778 case ${D}outFile in
46780 outFile=\`basnam ${D}outFile .dll\`
46783 outFile=\`basnam ${D}outFile .DLL\`
46786 outFile=\`basnam ${D}outFile .o\`
46789 outFile=\`basnam ${D}outFile .obj\`
46792 outFile=\`basnam ${D}outFile .a\`
46795 outFile=\`basnam ${D}outFile .lib\`
46800 case ${D}outimpFile in
46802 outimpFile=\`basnam ${D}outimpFile .a\`
46805 outimpFile=\`basnam ${D}outimpFile .lib\`
46810 if [ -z ${D}outimpFile ]; then
46811 outimpFile=${D}outFile
46813 defFile="${D}{outFile}.def"
46814 arcFile="${D}{outimpFile}.a"
46815 arcFile2="${D}{outimpFile}.lib"
46817 #create ${D}dllFile as something matching 8.3 restrictions,
46818 if [ -z ${D}renameScript ] ; then
46819 dllFile="${D}outFile"
46821 dllFile=\`${D}renameScript ${D}outimpFile\`
46824 if [ ${D}do_backup -ne 0 ] ; then
46825 if [ -f ${D}arcFile ] ; then
46826 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46828 if [ -f ${D}arcFile2 ] ; then
46829 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46833 # Extract public symbols from all the object files.
46834 tmpdefFile=${D}{defFile}_%
46835 rm -f ${D}tmpdefFile
46836 for file in ${D}inputFiles ; do
46841 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46846 # Create the def file.
46848 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46849 dllFile="${D}{dllFile}.dll"
46850 if [ ! -z ${D}description ]; then
46851 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46853 echo "EXPORTS" >> ${D}defFile
46855 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46856 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46858 # Checks if the export is ok or not.
46859 for word in ${D}exclude_symbols; do
46860 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46861 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46865 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46866 sed "=" < ${D}tmpdefFile | \\
46870 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46872 ' > ${D}{tmpdefFile}%
46873 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46875 rm -f ${D}{tmpdefFile}%
46877 cat ${D}tmpdefFile >> ${D}defFile
46878 rm -f ${D}tmpdefFile
46880 # Do linking, create implib, and apply lxlite.
46882 for file in ${D}inputFiles ; do
46887 gccCmdl="${D}gccCmdl ${D}file"
46891 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46892 touch "${D}{outFile}.dll"
46894 doCommand "emximp -o ${D}arcFile ${D}defFile"
46895 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46897 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46900 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46902 doCommand "emxomf -s -l ${D}arcFile"
46912 powerpc
-apple-macos* | \
46913 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46922 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46923 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46924 { (exit 1); exit 1; }; }
46927 if test "x$PIC_FLAG" != "x" ; then
46928 PIC_FLAG
="$PIC_FLAG -DPIC"
46931 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46932 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46934 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46935 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46954 case "${BAKEFILE_HOST}" in
46955 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46956 SONAME_FLAG
="-Wl,-soname,"
46990 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46991 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46994 if test "x$GCC" = "xyes"; then
46996 case "${BAKEFILE_HOST}" in
46998 DEPSFLAG
="-no-cpp-precomp -MMD"
47004 echo "$as_me:$LINENO: result: gcc" >&5
47005 echo "${ECHO_T}gcc" >&6
47006 elif test "x$MWCC" = "xyes"; then
47009 echo "$as_me:$LINENO: result: mwcc" >&5
47010 echo "${ECHO_T}mwcc" >&6
47011 elif test "x$SUNCC" = "xyes"; then
47014 echo "$as_me:$LINENO: result: Sun cc" >&5
47015 echo "${ECHO_T}Sun cc" >&6
47016 elif test "x$SGICC" = "xyes"; then
47019 echo "$as_me:$LINENO: result: SGI cc" >&5
47020 echo "${ECHO_T}SGI cc" >&6
47021 elif test "x$HPCC" = "xyes"; then
47024 echo "$as_me:$LINENO: result: HP cc" >&5
47025 echo "${ECHO_T}HP cc" >&6
47026 elif test "x$COMPAQCC" = "xyes"; then
47029 echo "$as_me:$LINENO: result: Compaq cc" >&5
47030 echo "${ECHO_T}Compaq cc" >&6
47033 echo "$as_me:$LINENO: result: none" >&5
47034 echo "${ECHO_T}none" >&6
47037 if test $DEPS_TRACKING = 1 ; then
47043 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47044 # script. It is used to track C/C++ files dependencies in portable way.
47046 # Permission is given to use this file in any way.
47048 DEPSMODE=${DEPSMODE}
47050 DEPSFLAG="${DEPSFLAG}"
47052 mkdir -p ${D}DEPSDIR
47054 if test ${D}DEPSMODE = gcc ; then
47055 ${D}* ${D}{DEPSFLAG}
47057 if test ${D}{status} != 0 ; then
47060 # move created file to the location we want it in:
47061 while test ${D}# -gt 0; do
47075 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47076 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47077 if test -f ${D}depfile ; then
47078 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47081 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47082 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47083 if test ! -f ${D}depfile ; then
47084 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47085 depfile="${D}objfile.d"
47087 if test -f ${D}depfile ; then
47088 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47093 elif test ${D}DEPSMODE = mwcc ; then
47094 ${D}* || exit ${D}?
47095 # Run mwcc again with -MM and redirect into the dep file we want
47096 # NOTE: We can't use shift here because we need ${D}* to be valid
47098 for arg in ${D}* ; do
47099 if test "${D}prevarg" = "-o"; then
47112 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47114 elif test ${D}DEPSMODE = unixcc; then
47115 ${D}* || exit ${D}?
47116 # Run compiler again with deps flag and redirect into the dep file.
47117 # It doesn't work if the '-o FILE' option is used, but without it the
47118 # dependency file will contain the wrong name for the object. So it is
47119 # removed from the command line, and the dep file is fixed with sed.
47121 while test ${D}# -gt 0; do
47128 eval arg${D}#=\\${D}1
47129 cmd="${D}cmd \\${D}arg${D}#"
47134 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47148 case ${BAKEFILE_HOST} in
47149 *-*-cygwin* | *-*-mingw32* )
47150 if test -n "$ac_tool_prefix"; then
47151 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47152 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47153 echo "$as_me:$LINENO: checking for $ac_word" >&5
47154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47155 if test "${ac_cv_prog_WINDRES+set}" = set; then
47156 echo $ECHO_N "(cached) $ECHO_C" >&6
47158 if test -n "$WINDRES"; then
47159 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47162 for as_dir
in $PATH
47165 test -z "$as_dir" && as_dir
=.
47166 for ac_exec_ext
in '' $ac_executable_extensions; do
47167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47168 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47177 WINDRES
=$ac_cv_prog_WINDRES
47178 if test -n "$WINDRES"; then
47179 echo "$as_me:$LINENO: result: $WINDRES" >&5
47180 echo "${ECHO_T}$WINDRES" >&6
47182 echo "$as_me:$LINENO: result: no" >&5
47183 echo "${ECHO_T}no" >&6
47187 if test -z "$ac_cv_prog_WINDRES"; then
47188 ac_ct_WINDRES
=$WINDRES
47189 # Extract the first word of "windres", so it can be a program name with args.
47190 set dummy windres
; ac_word
=$2
47191 echo "$as_me:$LINENO: checking for $ac_word" >&5
47192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47193 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47194 echo $ECHO_N "(cached) $ECHO_C" >&6
47196 if test -n "$ac_ct_WINDRES"; then
47197 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47200 for as_dir
in $PATH
47203 test -z "$as_dir" && as_dir
=.
47204 for ac_exec_ext
in '' $ac_executable_extensions; do
47205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47206 ac_cv_prog_ac_ct_WINDRES
="windres"
47207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47215 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47216 if test -n "$ac_ct_WINDRES"; then
47217 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47218 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47220 echo "$as_me:$LINENO: result: no" >&5
47221 echo "${ECHO_T}no" >&6
47224 WINDRES
=$ac_ct_WINDRES
47226 WINDRES
="$ac_cv_prog_WINDRES"
47231 *-*-darwin* | powerpc
-apple-macos* )
47232 # Extract the first word of "Rez", so it can be a program name with args.
47233 set dummy Rez
; ac_word
=$2
47234 echo "$as_me:$LINENO: checking for $ac_word" >&5
47235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47236 if test "${ac_cv_prog_REZ+set}" = set; then
47237 echo $ECHO_N "(cached) $ECHO_C" >&6
47239 if test -n "$REZ"; then
47240 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47243 for as_dir
in $PATH
47246 test -z "$as_dir" && as_dir
=.
47247 for ac_exec_ext
in '' $ac_executable_extensions; do
47248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47249 ac_cv_prog_REZ
="Rez"
47250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47256 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47259 REZ
=$ac_cv_prog_REZ
47260 if test -n "$REZ"; then
47261 echo "$as_me:$LINENO: result: $REZ" >&5
47262 echo "${ECHO_T}$REZ" >&6
47264 echo "$as_me:$LINENO: result: no" >&5
47265 echo "${ECHO_T}no" >&6
47268 # Extract the first word of "SetFile", so it can be a program name with args.
47269 set dummy SetFile
; ac_word
=$2
47270 echo "$as_me:$LINENO: checking for $ac_word" >&5
47271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47272 if test "${ac_cv_prog_SETFILE+set}" = set; then
47273 echo $ECHO_N "(cached) $ECHO_C" >&6
47275 if test -n "$SETFILE"; then
47276 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47279 for as_dir
in $PATH
47282 test -z "$as_dir" && as_dir
=.
47283 for ac_exec_ext
in '' $ac_executable_extensions; do
47284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47285 ac_cv_prog_SETFILE
="SetFile"
47286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47292 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47295 SETFILE
=$ac_cv_prog_SETFILE
47296 if test -n "$SETFILE"; then
47297 echo "$as_me:$LINENO: result: $SETFILE" >&5
47298 echo "${ECHO_T}$SETFILE" >&6
47300 echo "$as_me:$LINENO: result: no" >&5
47301 echo "${ECHO_T}no" >&6
47312 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
47315 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
47319 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47320 if test "${enable_precomp_headers+set}" = set; then
47321 enableval
="$enable_precomp_headers"
47322 bk_use_pch
="$enableval"
47327 case ${BAKEFILE_HOST} in
47333 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47334 if test "x$GCC" = "xyes"; then
47335 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47336 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47337 cat >conftest.
$ac_ext <<_ACEOF
47340 cat confdefs.h
>>conftest.
$ac_ext
47341 cat >>conftest.
$ac_ext <<_ACEOF
47342 /* end confdefs.h. */
47348 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47349 #error "no pch support"
47352 #error "no pch support"
47354 #if (__GNUC__ == 3) && \
47355 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47356 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
47357 #error "no pch support"
47364 rm -f conftest.
$ac_objext
47365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47366 (eval $ac_compile) 2>conftest.er1
47368 grep -v '^ *+' conftest.er1
>conftest.err
47370 cat conftest.err
>&5
47371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47372 (exit $ac_status); } &&
47373 { ac_try
='test -z "$ac_c_werror_flag"
47374 || test ! -s conftest.err'
47375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47376 (eval $ac_try) 2>&5
47378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47379 (exit $ac_status); }; } &&
47380 { ac_try
='test -s conftest.$ac_objext'
47381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47382 (eval $ac_try) 2>&5
47384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47385 (exit $ac_status); }; }; then
47387 echo "$as_me:$LINENO: result: yes" >&5
47388 echo "${ECHO_T}yes" >&6
47392 echo "$as_me: failed program was:" >&5
47393 sed 's/^/| /' conftest.
$ac_ext >&5
47396 echo "$as_me:$LINENO: result: no" >&5
47397 echo "${ECHO_T}no" >&6
47400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47401 if test $GCC_PCH = 1 ; then
47404 cat <<EOF >bk-make-pch
47407 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47408 # script. It is used to generated precompiled headers.
47410 # Permission is given to use this file in any way.
47419 while test ${D}{#} -gt 0; do
47422 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47423 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47424 headerfile="${D}{incdir}/${D}{header}"
47428 compiler="${D}{compiler} ${D}{1}"
47432 if test "x${D}{headerfile}" = "x" ; then
47433 echo "error: can't find header ${D}{header} in include paths" >2
47435 if test -f ${D}{outfile} ; then
47436 rm -f ${D}{outfile}
47438 mkdir -p \`dirname ${D}{outfile}\`
47440 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47442 # can do this because gcc is >= 3.4:
47443 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47448 chmod +x bk
-make-pch
47455 COND_BUILD_DEBUG
="#"
47456 if test "x$BUILD" = "xdebug" ; then
47457 COND_BUILD_DEBUG
=""
47460 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47461 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47462 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47465 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47466 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47467 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47470 COND_BUILD_DEBUG_UNICODE_0
="#"
47471 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47472 COND_BUILD_DEBUG_UNICODE_0
=""
47475 COND_BUILD_DEBUG_UNICODE_1
="#"
47476 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47477 COND_BUILD_DEBUG_UNICODE_1
=""
47480 COND_BUILD_RELEASE
="#"
47481 if test "x$BUILD" = "xrelease" ; then
47482 COND_BUILD_RELEASE
=""
47485 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47486 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47487 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47490 COND_BUILD_RELEASE_UNICODE_0
="#"
47491 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47492 COND_BUILD_RELEASE_UNICODE_0
=""
47495 COND_BUILD_RELEASE_UNICODE_1
="#"
47496 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47497 COND_BUILD_RELEASE_UNICODE_1
=""
47500 COND_DEBUG_FLAG_1
="#"
47501 if test "x$DEBUG_FLAG" = "x1" ; then
47502 COND_DEBUG_FLAG_1
=""
47505 COND_DEBUG_INFO_0
="#"
47506 if test "x$DEBUG_INFO" = "x0" ; then
47507 COND_DEBUG_INFO_0
=""
47510 COND_DEBUG_INFO_1
="#"
47511 if test "x$DEBUG_INFO" = "x1" ; then
47512 COND_DEBUG_INFO_1
=""
47515 COND_DEPS_TRACKING_0
="#"
47516 if test "x$DEPS_TRACKING" = "x0" ; then
47517 COND_DEPS_TRACKING_0
=""
47520 COND_DEPS_TRACKING_1
="#"
47521 if test "x$DEPS_TRACKING" = "x1" ; then
47522 COND_DEPS_TRACKING_1
=""
47526 if test "x$GCC_PCH" = "x1" ; then
47530 COND_MONOLITHIC_0
="#"
47531 if test "x$MONOLITHIC" = "x0" ; then
47532 COND_MONOLITHIC_0
=""
47535 COND_MONOLITHIC_0_SHARED_0
="#"
47536 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47537 COND_MONOLITHIC_0_SHARED_0
=""
47540 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47541 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47542 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47545 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47547 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47550 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47552 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47555 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47557 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47560 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47562 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47565 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47567 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47570 COND_MONOLITHIC_0_SHARED_1
="#"
47571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47572 COND_MONOLITHIC_0_SHARED_1
=""
47575 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47577 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47580 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47582 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47585 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47586 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47587 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47590 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47591 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47592 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47595 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47596 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47597 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47600 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47601 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47602 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47605 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47606 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47607 COND_MONOLITHIC_0_USE_ODBC_1
=""
47610 COND_MONOLITHIC_1
="#"
47611 if test "x$MONOLITHIC" = "x1" ; then
47612 COND_MONOLITHIC_1
=""
47615 COND_MONOLITHIC_1_SHARED_0
="#"
47616 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47617 COND_MONOLITHIC_1_SHARED_0
=""
47620 COND_MONOLITHIC_1_SHARED_1
="#"
47621 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47622 COND_MONOLITHIC_1_SHARED_1
=""
47625 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47626 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47627 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47630 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47631 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47632 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47635 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47636 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47637 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47640 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47641 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47642 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47645 COND_PLATFORM_MACOSX_1
="#"
47646 if test "x$PLATFORM_MACOSX" = "x1" ; then
47647 COND_PLATFORM_MACOSX_1
=""
47650 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47651 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47652 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47655 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47656 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47657 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47660 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47661 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47662 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47665 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47666 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47667 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47670 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47671 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47672 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47675 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47676 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47677 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47680 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47681 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47682 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47685 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47686 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47687 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47690 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47691 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47692 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47695 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47696 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47697 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47700 COND_PLATFORM_MACOS_1
="#"
47701 if test "x$PLATFORM_MACOS" = "x1" ; then
47702 COND_PLATFORM_MACOS_1
=""
47705 COND_PLATFORM_MAC_1
="#"
47706 if test "x$PLATFORM_MAC" = "x1" ; then
47707 COND_PLATFORM_MAC_1
=""
47710 COND_PLATFORM_MSDOS_1
="#"
47711 if test "x$PLATFORM_MSDOS" = "x1" ; then
47712 COND_PLATFORM_MSDOS_1
=""
47715 COND_PLATFORM_OS2_1
="#"
47716 if test "x$PLATFORM_OS2" = "x1" ; then
47717 COND_PLATFORM_OS2_1
=""
47720 COND_PLATFORM_UNIX_0
="#"
47721 if test "x$PLATFORM_UNIX" = "x0" ; then
47722 COND_PLATFORM_UNIX_0
=""
47725 COND_PLATFORM_UNIX_1
="#"
47726 if test "x$PLATFORM_UNIX" = "x1" ; then
47727 COND_PLATFORM_UNIX_1
=""
47730 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47731 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47732 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47735 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47736 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47737 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47740 COND_PLATFORM_WIN32_0
="#"
47741 if test "x$PLATFORM_WIN32" = "x0" ; then
47742 COND_PLATFORM_WIN32_0
=""
47745 COND_PLATFORM_WIN32_1
="#"
47746 if test "x$PLATFORM_WIN32" = "x1" ; then
47747 COND_PLATFORM_WIN32_1
=""
47751 if test "x$SHARED" = "x0" ; then
47755 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47756 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47757 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47760 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47761 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47762 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47765 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47766 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47767 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47770 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47771 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47772 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47775 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47776 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47777 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47780 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47781 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47782 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47785 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47786 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47787 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47790 COND_SHARED_0_USE_XRC_1
="#"
47791 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47792 COND_SHARED_0_USE_XRC_1
=""
47795 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47796 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47797 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47800 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47801 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47802 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47805 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47806 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47807 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47810 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47811 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47812 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47816 if test "x$SHARED" = "x1" ; then
47820 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47821 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47822 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47825 COND_SHARED_1_USE_XRC_1
="#"
47826 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47827 COND_SHARED_1_USE_XRC_1
=""
47831 if test "x$TOOLKIT" = "x" ; then
47835 COND_TOOLKIT_COCOA
="#"
47836 if test "x$TOOLKIT" = "xCOCOA" ; then
47837 COND_TOOLKIT_COCOA
=""
47840 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47841 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47842 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47845 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47846 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47847 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47850 COND_TOOLKIT_GTK
="#"
47851 if test "x$TOOLKIT" = "xGTK" ; then
47852 COND_TOOLKIT_GTK
=""
47855 COND_TOOLKIT_GTK_USE_GUI_1
="#"
47856 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47857 COND_TOOLKIT_GTK_USE_GUI_1
=""
47860 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
47861 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47862 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
47865 COND_TOOLKIT_MAC
="#"
47866 if test "x$TOOLKIT" = "xMAC" ; then
47867 COND_TOOLKIT_MAC
=""
47870 COND_TOOLKIT_MAC_USE_GUI_1
="#"
47871 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47872 COND_TOOLKIT_MAC_USE_GUI_1
=""
47875 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47876 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47877 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47880 COND_TOOLKIT_MGL
="#"
47881 if test "x$TOOLKIT" = "xMGL" ; then
47882 COND_TOOLKIT_MGL
=""
47885 COND_TOOLKIT_MGL_USE_GUI_1
="#"
47886 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47887 COND_TOOLKIT_MGL_USE_GUI_1
=""
47890 COND_TOOLKIT_MOTIF
="#"
47891 if test "x$TOOLKIT" = "xMOTIF" ; then
47892 COND_TOOLKIT_MOTIF
=""
47895 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
47896 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47897 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
47900 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
47901 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47902 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
47905 COND_TOOLKIT_MSW
="#"
47906 if test "x$TOOLKIT" = "xMSW" ; then
47907 COND_TOOLKIT_MSW
=""
47910 COND_TOOLKIT_MSW_USE_GUI_1
="#"
47911 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47912 COND_TOOLKIT_MSW_USE_GUI_1
=""
47915 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
47916 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47917 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
47920 COND_TOOLKIT_MSW_WXUNIV_0
="#"
47921 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47922 COND_TOOLKIT_MSW_WXUNIV_0
=""
47925 COND_TOOLKIT_PM
="#"
47926 if test "x$TOOLKIT" = "xPM" ; then
47930 COND_TOOLKIT_PM_USE_GUI_1
="#"
47931 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47932 COND_TOOLKIT_PM_USE_GUI_1
=""
47935 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
47936 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47937 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
47940 COND_TOOLKIT_WINCE
="#"
47941 if test "x$TOOLKIT" = "xWINCE" ; then
47942 COND_TOOLKIT_WINCE
=""
47945 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
47946 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47947 COND_TOOLKIT_WINCE_USE_GUI_1
=""
47950 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
47951 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47952 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
47955 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
47956 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47957 COND_TOOLKIT_WINCE_WXUNIV_0
=""
47960 COND_TOOLKIT_X11
="#"
47961 if test "x$TOOLKIT" = "xX11" ; then
47962 COND_TOOLKIT_X11
=""
47965 COND_TOOLKIT_X11_USE_GUI_1
="#"
47966 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47967 COND_TOOLKIT_X11_USE_GUI_1
=""
47971 if test "x$UNICODE" = "x1" ; then
47975 COND_USE_EXCEPTIONS_0
="#"
47976 if test "x$USE_EXCEPTIONS" = "x0" ; then
47977 COND_USE_EXCEPTIONS_0
=""
47980 COND_USE_EXCEPTIONS_1
="#"
47981 if test "x$USE_EXCEPTIONS" = "x1" ; then
47982 COND_USE_EXCEPTIONS_1
=""
47986 if test "x$USE_GUI" = "x0" ; then
47991 if test "x$USE_GUI" = "x1" ; then
47995 COND_USE_GUI_1_WXUNIV_0
="#"
47996 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47997 COND_USE_GUI_1_WXUNIV_0
=""
48000 COND_USE_GUI_1_WXUNIV_1
="#"
48001 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48002 COND_USE_GUI_1_WXUNIV_1
=""
48005 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
48006 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48007 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
48010 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
48011 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48012 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
48015 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
48016 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48017 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
48020 COND_USE_ODBC_1
="#"
48021 if test "x$USE_ODBC" = "x1" ; then
48025 COND_USE_OPENGL_1
="#"
48026 if test "x$USE_OPENGL" = "x1" ; then
48027 COND_USE_OPENGL_1
=""
48030 COND_USE_PLUGINS_0
="#"
48031 if test "x$USE_PLUGINS" = "x0" ; then
48032 COND_USE_PLUGINS_0
=""
48035 COND_USE_RTTI_0
="#"
48036 if test "x$USE_RTTI" = "x0" ; then
48040 COND_USE_RTTI_1
="#"
48041 if test "x$USE_RTTI" = "x1" ; then
48045 COND_USE_SOSYMLINKS_1
="#"
48046 if test "x$USE_SOSYMLINKS" = "x1" ; then
48047 COND_USE_SOSYMLINKS_1
=""
48050 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
48051 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48052 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
48055 COND_USE_SOVERLINUX_1
="#"
48056 if test "x$USE_SOVERLINUX" = "x1" ; then
48057 COND_USE_SOVERLINUX_1
=""
48060 COND_USE_SOVERSION_0
="#"
48061 if test "x$USE_SOVERSION" = "x0" ; then
48062 COND_USE_SOVERSION_0
=""
48065 COND_USE_SOVERSOLARIS_1
="#"
48066 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48067 COND_USE_SOVERSOLARIS_1
=""
48070 COND_USE_THREADS_0
="#"
48071 if test "x$USE_THREADS" = "x0" ; then
48072 COND_USE_THREADS_0
=""
48075 COND_USE_THREADS_1
="#"
48076 if test "x$USE_THREADS" = "x1" ; then
48077 COND_USE_THREADS_1
=""
48081 if test "x$USE_XRC" = "x1" ; then
48085 COND_WINDOWS_IMPLIB_1
="#"
48086 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48087 COND_WINDOWS_IMPLIB_1
=""
48090 COND_WITH_PLUGIN_SDL_1
="#"
48091 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48092 COND_WITH_PLUGIN_SDL_1
=""
48096 if test "x$WXUNIV" = "x0" ; then
48101 if test "x$WXUNIV" = "x1" ; then
48105 COND_WXUSE_EXPAT_BUILTIN
="#"
48106 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48107 COND_WXUSE_EXPAT_BUILTIN
=""
48110 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48111 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48112 COND_WXUSE_LIBJPEG_BUILTIN
=""
48115 COND_WXUSE_LIBPNG_BUILTIN
="#"
48116 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48117 COND_WXUSE_LIBPNG_BUILTIN
=""
48120 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48121 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48122 COND_WXUSE_LIBTIFF_BUILTIN
=""
48125 COND_WXUSE_ODBC_BUILTIN
="#"
48126 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48127 COND_WXUSE_ODBC_BUILTIN
=""
48130 COND_WXUSE_REGEX_BUILTIN
="#"
48131 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48132 COND_WXUSE_REGEX_BUILTIN
=""
48135 COND_WXUSE_ZLIB_BUILTIN
="#"
48136 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48137 COND_WXUSE_ZLIB_BUILTIN
=""
48142 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48143 { { 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
48144 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;}
48145 { (exit 1); exit 1; }; }
48148 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48149 { { 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
48150 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;}
48151 { (exit 1); exit 1; }; }
48155 if test "$wxUSE_SHARED" = "yes"; then
48157 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48158 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48161 *-pc-os2_emx | *-pc-os2-emx )
48162 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48163 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48164 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48165 cp -p ${srcdir}/src
/os
2/dllar.sh .
48170 EXE_LINKER
="$CXX -o"
48173 if test "$wxUSE_OMF" = "yes"; then
48175 *-pc-os2_emx | *-pc-os2-emx )
48176 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48177 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48178 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48183 if test $GCC_PCH = 1 ; then
48184 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48187 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48189 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48251 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48252 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48253 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48254 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48255 echo $ECHO_N "(cached) $ECHO_C" >&6
48257 cat >conftest.
make <<\_ACEOF
48259 @
echo 'ac_maketemp="$(MAKE)"'
48261 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48262 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48263 if test -n "$ac_maketemp"; then
48264 eval ac_cv_prog_make_
${ac_make}_set
=yes
48266 eval ac_cv_prog_make_
${ac_make}_set
=no
48268 rm -f conftest.
make
48270 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48271 echo "$as_me:$LINENO: result: yes" >&5
48272 echo "${ECHO_T}yes" >&6
48275 echo "$as_me:$LINENO: result: no" >&5
48276 echo "${ECHO_T}no" >&6
48277 SET_MAKE
="MAKE=${MAKE-make}"
48282 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48285 if test "$USE_WIN32" = 1; then
48286 ac_config_commands
="$ac_config_commands
48292 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48295 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48298 ac_config_files
="$ac_config_files version-script Makefile"
48301 ac_config_commands
="$ac_config_commands wx-config"
48305 if test "$wxWITH_SUBDIRS" != "no"; then
48306 if test "$wxUSE_GUI" = "yes"; then
48307 SUBDIRS
="samples demos utils contrib"
48308 else SUBDIRS
="samples utils"
48313 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48314 if test "${with_cppunit_prefix+set}" = set; then
48315 withval
="$with_cppunit_prefix"
48316 cppunit_config_prefix
="$withval"
48318 cppunit_config_prefix
=""
48321 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48322 if test "${with_cppunit_exec_prefix+set}" = set; then
48323 withval
="$with_cppunit_exec_prefix"
48324 cppunit_config_exec_prefix
="$withval"
48326 cppunit_config_exec_prefix
=""
48329 if test x
$cppunit_config_exec_prefix != x
; then
48330 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48331 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48332 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48335 if test x
$cppunit_config_prefix != x
; then
48336 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48337 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48338 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48342 # Extract the first word of "cppunit-config", so it can be a program name with args.
48343 set dummy cppunit
-config; ac_word
=$2
48344 echo "$as_me:$LINENO: checking for $ac_word" >&5
48345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48346 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48347 echo $ECHO_N "(cached) $ECHO_C" >&6
48349 case $CPPUNIT_CONFIG in
48351 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48355 for as_dir
in $PATH
48358 test -z "$as_dir" && as_dir
=.
48359 for ac_exec_ext
in '' $ac_executable_extensions; do
48360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48361 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48368 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48372 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48374 if test -n "$CPPUNIT_CONFIG"; then
48375 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48376 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48378 echo "$as_me:$LINENO: result: no" >&5
48379 echo "${ECHO_T}no" >&6
48382 cppunit_version_min
=1.8.0
48384 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48385 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48387 if test "$CPPUNIT_CONFIG" = "no" ; then
48390 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48391 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48392 cppunit_version
=`$CPPUNIT_CONFIG --version`
48394 cppunit_major_version
=`echo $cppunit_version | \
48395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48396 cppunit_minor_version
=`echo $cppunit_version | \
48397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48398 cppunit_micro_version
=`echo $cppunit_version | \
48399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48401 cppunit_major_min
=`echo $cppunit_version_min | \
48402 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48403 cppunit_minor_min
=`echo $cppunit_version_min | \
48404 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48405 cppunit_micro_min
=`echo $cppunit_version_min | \
48406 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48408 cppunit_version_proper
=`expr \
48409 $cppunit_major_version \> $cppunit_major_min \| \
48410 $cppunit_major_version \= $cppunit_major_min \& \
48411 $cppunit_minor_version \> $cppunit_minor_min \| \
48412 $cppunit_major_version \= $cppunit_major_min \& \
48413 $cppunit_minor_version \= $cppunit_minor_min \& \
48414 $cppunit_micro_version \>= $cppunit_micro_min `
48416 if test "$cppunit_version_proper" = "1" ; then
48417 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48418 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48420 echo "$as_me:$LINENO: result: no" >&5
48421 echo "${ECHO_T}no" >&6
48426 if test "x$no_cppunit" = x
; then
48427 SUBDIRS
="$SUBDIRS tests"
48438 for subdir
in `echo $SUBDIRS`; do
48439 if test -d ${srcdir}/${subdir} ; then
48440 if test "$wxUSE_GUI" = "yes"; then
48441 if test ${subdir} = "samples"; then
48442 makefiles
="samples/Makefile.in $makefiles"
48443 for sample
in `echo $SAMPLES_SUBDIRS`; do
48444 if test -d $srcdir/samples
/$sample; then
48445 makefiles
="samples/$sample/Makefile.in $makefiles"
48449 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48450 eval "disabled=\$$disabled_var"
48451 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48452 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48454 else if test ${subdir} = "samples"; then
48455 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48456 elif test ${subdir} = "utils"; then
48458 for util
in HelpGen tex2rtf
; do
48459 if test -d $srcdir/utils
/$util ; then
48460 makefiles
="utils/$util/Makefile.in \
48461 utils/$util/src/Makefile.in \
48465 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48469 for mkin
in $makefiles ; do
48470 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48471 ac_config_files
="$ac_config_files $mk"
48477 cat >confcache
<<\_ACEOF
48478 # This file is a shell script that caches the results of configure
48479 # tests run on this system so they can be shared between configure
48480 # scripts and configure runs, see configure's option --config-cache.
48481 # It is not useful on other systems. If it contains results you don't
48482 # want to keep, you may remove or edit it.
48484 # config.status only pays attention to the cache file if you give it
48485 # the --recheck option to rerun configure.
48487 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48488 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48489 # following values.
48493 # The following way of writing the cache mishandles newlines in values,
48494 # but we know of no workaround that is simple, portable, and efficient.
48495 # So, don't put newlines in cache variables' values.
48496 # Ultrix sh set writes to stderr and can't be redirected directly,
48497 # and sets the high bit in the cache file unless we assign to the vars.
48500 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48502 # `set' does not quote correctly, so add quotes (double-quote
48503 # substitution turns \\\\ into \\, and sed turns \\ into \).
48506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48509 # `set' quotes correctly as required by POSIX, so do not add quotes.
48511 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48518 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48520 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48522 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48523 if test -w $cache_file; then
48524 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48525 cat confcache
>$cache_file
48527 echo "not updating unwritable cache $cache_file"
48532 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48533 # Let make expand exec_prefix.
48534 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48536 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48537 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48538 # trailing colons and then remove the whole line if VPATH becomes empty
48539 # (actually we leave an empty line to preserve line numbers).
48540 if test "x$srcdir" = x.
; then
48541 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48542 s/:*\$(srcdir):*/:/;
48543 s/:*\${srcdir}:*/:/;
48545 s/^\([^=]*=[ ]*\):*/\1/;
48551 DEFS
=-DHAVE_CONFIG_H
48555 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48556 # 1. Remove the extension, and $U if already installed.
48557 ac_i
=`echo "$ac_i" |
48558 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48560 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48561 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48563 LIBOBJS
=$ac_libobjs
48565 LTLIBOBJS
=$ac_ltlibobjs
48569 : ${CONFIG_STATUS=./config.status}
48570 ac_clean_files_save
=$ac_clean_files
48571 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48572 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48573 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48574 cat >$CONFIG_STATUS <<_ACEOF
48576 # Generated by $as_me.
48577 # Run this file to recreate the current configuration.
48578 # Compiler output produced by configure, useful for debugging
48579 # configure, is in config.log if it exists.
48582 ac_cs_recheck=false
48584 SHELL=\${CONFIG_SHELL-$SHELL}
48587 cat >>$CONFIG_STATUS <<\_ACEOF
48588 ## --------------------- ##
48589 ## M4sh Initialization. ##
48590 ## --------------------- ##
48592 # Be Bourne compatible
48593 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48596 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48597 # is contrary to our usage. Disable this feature.
48598 alias -g '${1+"$@"}'='"$@"'
48599 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48602 DUALCASE
=1; export DUALCASE
# for MKS sh
48604 # Support unset when possible.
48605 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48612 # Work around bugs in pre-3.0 UWIN ksh.
48613 $as_unset ENV MAIL MAILPATH
48620 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48621 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48622 LC_TELEPHONE LC_TIME
48624 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48625 eval $as_var=C
; export $as_var
48631 # Required to use basename.
48632 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48638 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48639 as_basename
=basename
48645 # Name of the executable.
48646 as_me
=`$as_basename "$0" ||
48647 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48648 X"$0" : 'X\(//\)$' \| \
48649 X"$0" : 'X\(/\)$' \| \
48650 . : '\(.\)' 2>/dev/null ||
48652 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48653 /^X\/\(\/\/\)$/{ s//\1/; q; }
48654 /^X\/\(\/\).*/{ s//\1/; q; }
48658 # PATH needs CR, and LINENO needs CR and PATH.
48659 # Avoid depending upon Character Ranges.
48660 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48661 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48662 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48663 as_cr_digits
='0123456789'
48664 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48666 # The user is always right.
48667 if test "${PATH_SEPARATOR+set}" != set; then
48668 echo "#! /bin/sh" >conf$$.sh
48669 echo "exit 0" >>conf$$.sh
48671 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48680 as_lineno_1
=$LINENO
48681 as_lineno_2
=$LINENO
48682 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48683 test "x$as_lineno_1" != "x$as_lineno_2" &&
48684 test "x$as_lineno_3" = "x$as_lineno_2" || {
48685 # Find who we are. Look in the path if we contain no path at all
48688 *[\\/]* ) as_myself
=$0 ;;
48689 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48690 for as_dir
in $PATH
48693 test -z "$as_dir" && as_dir
=.
48694 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48699 # We did not find ourselves, most probably we were run as `sh COMMAND'
48700 # in which case we are not to be found in the path.
48701 if test "x$as_myself" = x
; then
48704 if test ! -f "$as_myself"; then
48705 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48706 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48707 { (exit 1); exit 1; }; }
48709 case $CONFIG_SHELL in
48711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48712 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48715 test -z "$as_dir" && as_dir
=.
48716 for as_base
in sh bash ksh sh5
; do
48719 if ("$as_dir/$as_base" -c '
48720 as_lineno_1=$LINENO
48721 as_lineno_2=$LINENO
48722 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48723 test "x$as_lineno_1" != "x$as_lineno_2" &&
48724 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48725 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48726 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48727 CONFIG_SHELL
=$as_dir/$as_base
48728 export CONFIG_SHELL
48729 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48737 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48738 # uniformly replaced by the line number. The first 'sed' inserts a
48739 # line-number line before each line; the second 'sed' does the real
48740 # work. The second script uses 'N' to pair each line-number line
48741 # with the numbered line, and appends trailing '-' during
48742 # substitution so that $LINENO is not a special case at line end.
48743 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48744 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48745 sed '=' <$as_myself |
48750 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48753 s,^['$as_cr_digits']*\n,,
48754 ' >$as_me.lineno
&&
48755 chmod +x
$as_me.lineno
||
48756 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48757 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48758 { (exit 1); exit 1; }; }
48760 # Don't try to exec as it changes $[0], causing all sort of problems
48761 # (the dirname of $[0] is not the place where we might find the
48762 # original and so on. Autoconf is especially sensible to this).
48764 # Exit status is that of the last command.
48769 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48770 *c
*,-n*) ECHO_N
= ECHO_C
='
48772 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48773 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48776 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48782 rm -f conf$$ conf$$.exe conf$$.
file
48784 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48785 # We could just check for DJGPP; but this test a) works b) is more generic
48786 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48787 if test -f conf$$.exe
; then
48788 # Don't use ln at all; we don't have any links
48793 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48798 rm -f conf$$ conf$$.exe conf$$.
file
48800 if mkdir -p .
2>/dev
/null
; then
48803 test -d .
/-p && rmdir .
/-p
48807 as_executable_p
="test -f"
48809 # Sed expression to map a string onto a valid CPP name.
48810 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48812 # Sed expression to map a string onto a valid variable name.
48813 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48817 # We need space, tab and new line, in precisely that order.
48827 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48828 # report actual input values of CONFIG_FILES etc. instead of their
48829 # values after options handling. Logging --version etc. is OK.
48833 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48834 ## Running $as_me. ##
48839 This file was extended by wxWidgets $as_me 2.7.0, which was
48840 generated by GNU Autoconf 2.59. Invocation command line was
48842 CONFIG_FILES = $CONFIG_FILES
48843 CONFIG_HEADERS = $CONFIG_HEADERS
48844 CONFIG_LINKS = $CONFIG_LINKS
48845 CONFIG_COMMANDS = $CONFIG_COMMANDS
48849 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48853 # Files that config.status was made for.
48854 if test -n "$ac_config_files"; then
48855 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48858 if test -n "$ac_config_headers"; then
48859 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48862 if test -n "$ac_config_links"; then
48863 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48866 if test -n "$ac_config_commands"; then
48867 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48870 cat >>$CONFIG_STATUS <<\_ACEOF
48873 \`$as_me' instantiates files from templates according to the
48874 current configuration.
48876 Usage: $0 [OPTIONS] [FILE]...
48878 -h, --help print this help, then exit
48879 -V, --version print version number, then exit
48880 -q, --quiet do not print progress messages
48881 -d, --debug don't remove temporary files
48882 --recheck update $as_me by reconfiguring in the same conditions
48883 --file=FILE[:TEMPLATE]
48884 instantiate the configuration file FILE
48885 --header=FILE[:TEMPLATE]
48886 instantiate the configuration header FILE
48888 Configuration files:
48891 Configuration headers:
48894 Configuration commands:
48897 Report bugs to <bug-autoconf@gnu.org>."
48900 cat >>$CONFIG_STATUS <<_ACEOF
48902 wxWidgets config.status 2.7.0
48903 configured by $0, generated by GNU Autoconf 2.59,
48904 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48906 Copyright (C) 2003 Free Software Foundation, Inc.
48907 This config.status script is free software; the Free Software Foundation
48908 gives unlimited permission to copy, distribute and modify it."
48913 cat >>$CONFIG_STATUS <<\_ACEOF
48914 # If no file are specified by the user, then we need to provide default
48915 # value. By we need to know if files were specified by the user.
48921 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
48922 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
48930 *) # This is not an option, so the user has probably given explicit
48933 ac_need_defaults
=false
;;
48937 # Handling of the options.
48939 cat >>$CONFIG_STATUS <<\_ACEOF
48940 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48942 --version | --vers* | -V )
48943 echo "$ac_cs_version"; exit 0 ;;
48945 # Conflict between --help and --header
48946 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48947 Try \`$0 --help' for more information." >&5
48948 echo "$as_me: error: ambiguous option: $1
48949 Try \`$0 --help' for more information." >&2;}
48950 { (exit 1); exit 1; }; };;
48951 --help | --hel | -h )
48952 echo "$ac_cs_usage"; exit 0 ;;
48953 --debug | --d* | -d )
48955 --file | --fil | --fi | --f )
48957 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
48958 ac_need_defaults
=false
;;
48959 --header | --heade | --head | --hea )
48961 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
48962 ac_need_defaults
=false
;;
48963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48964 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48967 # This is an error.
48968 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48969 Try \`$0 --help' for more information." >&5
48970 echo "$as_me: error: unrecognized option: $1
48971 Try \`$0 --help' for more information." >&2;}
48972 { (exit 1); exit 1; }; } ;;
48974 *) ac_config_targets
="$ac_config_targets $1" ;;
48980 ac_configure_extra_args
=
48982 if $ac_cs_silent; then
48984 ac_configure_extra_args
="$ac_configure_extra_args --silent"
48988 cat >>$CONFIG_STATUS <<_ACEOF
48989 if \$ac_cs_recheck; then
48990 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48991 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48996 cat >>$CONFIG_STATUS <<_ACEOF
48998 # INIT-COMMANDS section.
49003 infile="$srcdir/include/wx/msw/genrcdefs.h"
49004 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49007 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49008 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49009 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49017 cat >>$CONFIG_STATUS <<\_ACEOF
49018 for ac_config_target
in $ac_config_targets
49020 case "$ac_config_target" in
49021 # Handling of arguments.
49022 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49023 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49024 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
49025 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
49026 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
49027 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
49028 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
49029 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49030 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49031 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49032 { (exit 1); exit 1; }; };;
49036 # If the user did not use the arguments to specify the items to instantiate,
49037 # then the envvar interface is used. Set only those that are not.
49038 # We use the long form for the default assignment because of an extremely
49039 # bizarre bug on SunOS 4.1.3.
49040 if $ac_need_defaults; then
49041 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
49042 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
49043 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
49046 # Have a temporary directory for convenience. Make it in the build tree
49047 # simply because there is no reason to put it here, and in addition,
49048 # creating and moving files from /tmp can sometimes cause problems.
49049 # Create a temporary directory, and hook for its removal unless debugging.
49052 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49053 trap '{ (exit 1); exit 1; }' 1 2 13 15
49056 # Create a (secure) tmp directory for tmp files.
49059 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49060 test -n "$tmp" && test -d "$tmp"
49063 tmp
=.
/confstat$$
-$RANDOM
49064 (umask 077 && mkdir $tmp)
49067 echo "$me: cannot create a temporary directory in ." >&2
49068 { (exit 1); exit 1; }
49073 cat >>$CONFIG_STATUS <<_ACEOF
49076 # CONFIG_FILES section.
49079 # No need to generate the scripts if there are no CONFIG_FILES.
49080 # This happens for instance when ./config.status config.h
49081 if test -n "\$CONFIG_FILES"; then
49082 # Protect against being on the right side of a sed subst in config.status.
49083 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49084 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49085 s,@SHELL@,$SHELL,;t t
49086 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49087 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49088 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49089 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49090 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49091 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49092 s,@exec_prefix@,$exec_prefix,;t t
49093 s,@prefix@,$prefix,;t t
49094 s,@program_transform_name@,$program_transform_name,;t t
49095 s,@bindir@,$bindir,;t t
49096 s,@sbindir@,$sbindir,;t t
49097 s,@libexecdir@,$libexecdir,;t t
49098 s,@datadir@,$datadir,;t t
49099 s,@sysconfdir@,$sysconfdir,;t t
49100 s,@sharedstatedir@,$sharedstatedir,;t t
49101 s,@localstatedir@,$localstatedir,;t t
49102 s,@libdir@,$libdir,;t t
49103 s,@includedir@,$includedir,;t t
49104 s,@oldincludedir@,$oldincludedir,;t t
49105 s,@infodir@,$infodir,;t t
49106 s,@mandir@,$mandir,;t t
49107 s,@build_alias@,$build_alias,;t t
49108 s,@host_alias@,$host_alias,;t t
49109 s,@target_alias@,$target_alias,;t t
49110 s,@DEFS@,$DEFS,;t t
49111 s,@ECHO_C@,$ECHO_C,;t t
49112 s,@ECHO_N@,$ECHO_N,;t t
49113 s,@ECHO_T@,$ECHO_T,;t t
49114 s,@LIBS@,$LIBS,;t t
49115 s,@build@,$build,;t t
49116 s,@build_cpu@,$build_cpu,;t t
49117 s,@build_vendor@,$build_vendor,;t t
49118 s,@build_os@,$build_os,;t t
49119 s,@host@,$host,;t t
49120 s,@host_cpu@,$host_cpu,;t t
49121 s,@host_vendor@,$host_vendor,;t t
49122 s,@host_os@,$host_os,;t t
49123 s,@target@,$target,;t t
49124 s,@target_cpu@,$target_cpu,;t t
49125 s,@target_vendor@,$target_vendor,;t t
49126 s,@target_os@,$target_os,;t t
49128 s,@CFLAGS@,$CFLAGS,;t t
49129 s,@LDFLAGS@,$LDFLAGS,;t t
49130 s,@CPPFLAGS@,$CPPFLAGS,;t t
49131 s,@ac_ct_CC@,$ac_ct_CC,;t t
49132 s,@EXEEXT@,$EXEEXT,;t t
49133 s,@OBJEXT@,$OBJEXT,;t t
49135 s,@EGREP@,$EGREP,;t t
49137 s,@CXXFLAGS@,$CXXFLAGS,;t t
49138 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49139 s,@RANLIB@,$RANLIB,;t t
49140 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49142 s,@ac_ct_AR@,$ac_ct_AR,;t t
49143 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49144 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49145 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49146 s,@STRIP@,$STRIP,;t t
49147 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49148 s,@WINDRES@,$WINDRES,;t t
49149 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49150 s,@DLLTOOL@,$DLLTOOL,;t t
49151 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49152 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49153 s,@LN_S@,$LN_S,;t t
49154 s,@LNDIR@,$LNDIR,;t t
49155 s,@CXXCPP@,$CXXCPP,;t t
49156 s,@subdirs@,$subdirs,;t t
49157 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49158 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49159 s,@GTK_LIBS@,$GTK_LIBS,;t t
49160 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49161 s,@X_CFLAGS@,$X_CFLAGS,;t t
49162 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49163 s,@X_LIBS@,$X_LIBS,;t t
49164 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49165 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49166 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49167 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49168 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49169 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49170 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49172 s,@DEREZ@,$DEREZ,;t t
49173 s,@SETFILE@,$SETFILE,;t t
49174 s,@LIBICONV@,$LIBICONV,;t t
49175 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49176 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49177 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49178 s,@SDL_LIBS@,$SDL_LIBS,;t t
49179 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49180 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49181 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49182 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49183 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
49184 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
49185 s,@GST_INSPECT@,$GST_INSPECT,;t t
49186 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49187 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49188 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49189 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49190 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49191 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49192 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49193 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49194 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49195 s,@VENDOR@,$VENDOR,;t t
49196 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49197 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49198 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49199 s,@WXUNIV@,$WXUNIV,;t t
49200 s,@MONOLITHIC@,$MONOLITHIC,;t t
49201 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49202 s,@EXTRALIBS@,$EXTRALIBS,;t t
49203 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49204 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49205 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49206 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49207 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49208 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49209 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49210 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49211 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49212 s,@UNICODE@,$UNICODE,;t t
49213 s,@BUILD@,$BUILD,;t t
49214 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49215 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49216 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49217 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49218 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49219 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49220 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49221 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49222 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49223 s,@SET_MAKE@,$SET_MAKE,;t t
49224 s,@MAKE_SET@,$MAKE_SET,;t t
49226 s,@ac_ct_NM@,$ac_ct_NM,;t t
49227 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49228 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49229 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49230 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49231 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49232 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49233 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49234 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49235 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49236 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49237 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49238 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49239 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49240 s,@LIBPREFIX@,$LIBPREFIX,;t t
49241 s,@LIBEXT@,$LIBEXT,;t t
49242 s,@DLLPREFIX@,$DLLPREFIX,;t t
49243 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49244 s,@dlldir@,$dlldir,;t t
49245 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49246 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49247 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49248 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49249 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49250 s,@PIC_FLAG@,$PIC_FLAG,;t t
49251 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49252 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49253 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49254 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49255 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49256 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49257 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49258 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49259 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49260 s,@GCC_PCH@,$GCC_PCH,;t t
49261 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49262 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49263 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49264 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49265 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49266 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49267 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49268 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49269 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49270 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49271 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49272 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49273 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49274 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49275 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49276 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49277 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49278 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49279 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
49280 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
49281 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
49282 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49283 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49284 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49285 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49286 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
49287 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
49288 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
49289 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49290 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49291 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49292 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49293 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49294 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49295 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49296 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49297 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49298 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49299 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49300 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49301 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49302 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49303 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49304 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49305 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
49306 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49307 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49308 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49309 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49310 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49311 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49312 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49313 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49314 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49315 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49316 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49317 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49318 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49319 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49320 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49321 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49322 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49323 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49324 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49325 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49326 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49327 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49328 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49329 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49330 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49331 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49332 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49333 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49334 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49335 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49336 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49337 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49338 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49339 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49340 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49341 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49342 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
49343 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49344 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49345 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49346 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49347 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49348 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49349 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49350 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49351 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49352 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49353 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49354 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49355 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49356 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49357 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49358 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49359 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49360 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49361 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49362 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49363 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49364 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49365 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49366 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49367 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49368 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49369 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49370 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49371 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49372 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49373 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49374 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49375 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49376 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49377 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49378 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49379 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49380 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49381 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49382 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49383 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49384 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49385 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49386 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49387 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49388 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49389 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49390 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49391 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49392 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49393 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49394 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49395 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49396 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49397 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49398 s,@SHARED@,$SHARED,;t t
49399 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49400 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49401 s,@USE_GUI@,$USE_GUI,;t t
49402 s,@AFMINSTALL@,$AFMINSTALL,;t t
49403 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49404 s,@TOOLKIT@,$TOOLKIT,;t t
49405 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49406 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49407 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49408 s,@cross_compiling@,$cross_compiling,;t t
49409 s,@WIDGET_SET@,$WIDGET_SET,;t t
49410 s,@WX_RELEASE@,$WX_RELEASE,;t t
49411 s,@WX_VERSION@,$WX_VERSION,;t t
49412 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49413 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49414 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49415 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49416 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49417 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49418 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49419 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49420 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49421 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49422 s,@EXE_LINKER@,$EXE_LINKER,;t t
49423 s,@GUIDIST@,$GUIDIST,;t t
49424 s,@DISTDIR@,$DISTDIR,;t t
49425 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49426 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49427 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49428 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49429 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49430 s,@RESCOMP@,$RESCOMP,;t t
49431 s,@RESFLAGS@,$RESFLAGS,;t t
49432 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49433 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49434 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49435 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49436 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49437 s,@MACSETFILE@,$MACSETFILE,;t t
49439 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49440 s,@LIBOBJS@,$LIBOBJS,;t t
49441 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49446 cat >>$CONFIG_STATUS <<\_ACEOF
49447 # Split the substitutions into bite-sized pieces for seds with
49448 # small command number limits, like on Digital OSF/1 and HP-UX.
49449 ac_max_sed_lines
=48
49450 ac_sed_frag
=1 # Number of current file.
49451 ac_beg
=1 # First line for current file.
49452 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49455 while $ac_more_lines; do
49456 if test $ac_beg -gt 1; then
49457 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49459 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49461 if test ! -s $tmp/subs.frag
; then
49462 ac_more_lines
=false
49464 # The purpose of the label and of the branching condition is to
49465 # speed up the sed processing (if there are no `@' at all, there
49466 # is no need to browse any of the substitutions).
49467 # These are the two extra sed commands mentioned above.
49469 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49470 if test -z "$ac_sed_cmds"; then
49471 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49473 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49475 ac_sed_frag
=`expr $ac_sed_frag + 1`
49477 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49480 if test -z "$ac_sed_cmds"; then
49483 fi # test -n "$CONFIG_FILES"
49486 cat >>$CONFIG_STATUS <<\_ACEOF
49487 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49488 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49490 - | *:- | *:-:* ) # input from stdin
49492 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49493 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49494 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49495 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49496 * ) ac_file_in
=$ac_file.
in ;;
49499 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49500 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49501 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49502 X"$ac_file" : 'X\(//\)[^/]' \| \
49503 X"$ac_file" : 'X\(//\)$' \| \
49504 X"$ac_file" : 'X\(/\)' \| \
49505 . : '\(.\)' 2>/dev/null ||
49507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49508 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49509 /^X\(\/\/\)$/{ s//\1/; q; }
49510 /^X\(\/\).*/{ s//\1/; q; }
49512 { if $as_mkdir_p; then
49517 while test ! -d "$as_dir"; do
49518 as_dirs
="$as_dir $as_dirs"
49519 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49521 X"$as_dir" : 'X\(//\)[^/]' \| \
49522 X"$as_dir" : 'X\(//\)$' \| \
49523 X"$as_dir" : 'X\(/\)' \| \
49524 . : '\(.\)' 2>/dev/null ||
49526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49527 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49528 /^X\(\/\/\)$/{ s//\1/; q; }
49529 /^X\(\/\).*/{ s//\1/; q; }
49532 test ! -n "$as_dirs" || mkdir $as_dirs
49533 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49534 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49535 { (exit 1); exit 1; }; }; }
49539 if test "$ac_dir" != .
; then
49540 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49541 # A "../" for each directory in $ac_dir_suffix.
49542 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49544 ac_dir_suffix
= ac_top_builddir
=
49548 .
) # No --srcdir option. We are building in place.
49550 if test -z "$ac_top_builddir"; then
49553 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49555 [\\/]* | ?
:[\\/]* ) # Absolute path.
49556 ac_srcdir
=$srcdir$ac_dir_suffix;
49557 ac_top_srcdir
=$srcdir ;;
49558 *) # Relative path.
49559 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49560 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49563 # Do not use `cd foo && pwd` to compute absolute paths, because
49564 # the directories may not exist.
49566 .
) ac_abs_builddir
="$ac_dir";;
49569 .
) ac_abs_builddir
=`pwd`;;
49570 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49571 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49574 case $ac_abs_builddir in
49575 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49577 case ${ac_top_builddir}.
in
49578 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49579 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49580 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49583 case $ac_abs_builddir in
49584 .
) ac_abs_srcdir
=$ac_srcdir;;
49587 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49588 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49589 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49592 case $ac_abs_builddir in
49593 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49595 case $ac_top_srcdir in
49596 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49597 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49598 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49604 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49605 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49608 if test x
"$ac_file" != x
-; then
49609 { echo "$as_me:$LINENO: creating $ac_file" >&5
49610 echo "$as_me: creating $ac_file" >&6;}
49613 # Let's still pretend it is `configure' which instantiates (i.e., don't
49614 # use $as_me), people would be surprised to read:
49615 # /* config.h. Generated by config.status. */
49616 if test x
"$ac_file" = x
-; then
49619 configure_input
="$ac_file. "
49621 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49622 sed 's,.*/,,'` by configure."
49624 # First look for the input files in the build tree, otherwise in the
49626 ac_file_inputs
=`IFS=:
49627 for f in $ac_file_in; do
49629 -) echo $tmp/stdin ;;
49631 # Absolute (can't be DOS-style, as IFS=:)
49632 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49633 echo "$as_me: error: cannot find input file: $f" >&2;}
49634 { (exit 1); exit 1; }; }
49637 if test -f "$f"; then
49640 elif test -f "$srcdir/$f"; then
49645 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49646 echo "$as_me: error: cannot find input file: $f" >&2;}
49647 { (exit 1); exit 1; }; }
49650 done` || { (exit 1); exit 1; }
49652 cat >>$CONFIG_STATUS <<_ACEOF
49656 cat >>$CONFIG_STATUS <<\_ACEOF
49658 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49659 s
,@configure_input@
,$configure_input,;t t
49660 s
,@srcdir@
,$ac_srcdir,;t t
49661 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49662 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49663 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49664 s
,@builddir@
,$ac_builddir,;t t
49665 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49666 s
,@top_builddir@
,$ac_top_builddir,;t t
49667 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49668 s
,@INSTALL@
,$ac_INSTALL,;t t
49669 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49671 if test x"$ac_file" != x-; then
49672 mv $tmp/out $ac_file
49678 # Run the commands associated with the file.
49680 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49681 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49685 cat >>$CONFIG_STATUS <<\_ACEOF
49688 # CONFIG_HEADER section.
49691 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49692 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49694 # ac_d sets the value in "#define NAME VALUE" lines.
49695 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49696 ac_dB
='[ ].*$,\1#\2'
49699 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49700 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49701 ac_uB
='$,\1#\2define\3'
49705 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49706 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49708 - | *:- | *:-:* ) # input from stdin
49710 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49711 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49712 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49713 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49714 * ) ac_file_in
=$ac_file.
in ;;
49717 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49718 echo "$as_me: creating $ac_file" >&6;}
49720 # First look for the input files in the build tree, otherwise in the
49722 ac_file_inputs
=`IFS=:
49723 for f in $ac_file_in; do
49725 -) echo $tmp/stdin ;;
49727 # Absolute (can't be DOS-style, as IFS=:)
49728 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49729 echo "$as_me: error: cannot find input file: $f" >&2;}
49730 { (exit 1); exit 1; }; }
49731 # Do quote $f, to prevent DOS paths from being IFS'd.
49734 if test -f "$f"; then
49737 elif test -f "$srcdir/$f"; then
49742 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49743 echo "$as_me: error: cannot find input file: $f" >&2;}
49744 { (exit 1); exit 1; }; }
49747 done` || { (exit 1); exit 1; }
49748 # Remove the trailing spaces.
49749 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49753 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49754 # `conftest.undefs', that substitutes the proper values into
49755 # config.h.in to produce config.h. The first handles `#define'
49756 # templates, and the second `#undef' templates.
49757 # And first: Protect against being on the right side of a sed subst in
49758 # config.status. Protect against being in an unquoted here document
49759 # in config.status.
49760 rm -f conftest.defines conftest.undefs
49761 # Using a here document instead of a string reduces the quoting nightmare.
49762 # Putting comments in sed scripts is not portable.
49764 # `end' is used to avoid that the second main sed command (meant for
49765 # 0-ary CPP macros) applies to n-ary macro definitions.
49766 # See the Autoconf documentation for `clear'.
49767 cat >confdef2sed.
sed <<\_ACEOF
49772 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49774 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49777 # If some macros were called several times there might be several times
49778 # the same #defines, which is useless. Nevertheless, we may not want to
49779 # sort them, since we want the *last* AC-DEFINE to be honored.
49780 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49781 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49782 rm -f confdef2sed.sed
49784 # This sed command replaces #undef with comments. This is necessary, for
49785 # example, in the case of _POSIX_SOURCE, which is predefined and required
49786 # on some systems where configure will not decide to define it.
49787 cat >>conftest.undefs <<\_ACEOF
49788 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49791 # Break up conftest.defines because some shells have a limit on the size
49792 # of here documents, and old seds have small limits too (100 cmds).
49793 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49794 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49795 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49796 echo ' :' >>$CONFIG_STATUS
49797 rm -f conftest.tail
49798 while grep . conftest.defines >/dev/null
49800 # Write a limited-size here document to $tmp/defines.sed.
49801 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49802 # Speed up: don't consider the non `#define' lines.
49803 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49804 # Work around the forget-to-reset-the-flag bug.
49805 echo 't clr' >>$CONFIG_STATUS
49806 echo ': clr' >>$CONFIG_STATUS
49807 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
49809 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49811 mv $tmp/out $tmp/in
49813 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
49814 rm -f conftest.defines
49815 mv conftest.
tail conftest.defines
49817 rm -f conftest.defines
49818 echo ' fi # grep' >>$CONFIG_STATUS
49819 echo >>$CONFIG_STATUS
49821 # Break up conftest.undefs because some shells have a limit on the size
49822 # of here documents, and old seds have small limits too (100 cmds).
49823 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49824 rm -f conftest.
tail
49825 while grep . conftest.undefs
>/dev
/null
49827 # Write a limited-size here document to $tmp/undefs.sed.
49828 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49829 # Speed up: don't consider the non
`#undef'
49830 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49831 # Work around the forget-to-reset-the-flag bug.
49832 echo 't clr' >>$CONFIG_STATUS
49833 echo ': clr' >>$CONFIG_STATUS
49834 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49836 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49838 mv $tmp/out $tmp/in
49840 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49841 rm -f conftest.undefs
49842 mv conftest.tail conftest.undefs
49844 rm -f conftest.undefs
49846 cat >>$CONFIG_STATUS <<\_ACEOF
49847 # Let's still pretend it is `configure
' which instantiates (i.e., don't
49848 # use $as_me), people would be surprised to read:
49849 # /* config.h. Generated by config.status. */
49850 if test x
"$ac_file" = x
-; then
49851 echo "/* Generated by configure. */" >$tmp/config.h
49853 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49855 cat $tmp/in >>$tmp/config.h
49857 if test x
"$ac_file" != x
-; then
49858 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
49859 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49860 echo "$as_me: $ac_file is unchanged" >&6;}
49862 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49863 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49864 X"$ac_file" : 'X\(//\)[^/]' \| \
49865 X"$ac_file" : 'X\(//\)$' \| \
49866 X"$ac_file" : 'X\(/\)' \| \
49867 . : '\(.\)' 2>/dev/null ||
49869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49871 /^X\(\/\/\)$/{ s//\1/; q; }
49872 /^X\(\/\).*/{ s//\1/; q; }
49874 { if $as_mkdir_p; then
49879 while test ! -d "$as_dir"; do
49880 as_dirs
="$as_dir $as_dirs"
49881 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49882 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49883 X"$as_dir" : 'X\(//\)[^/]' \| \
49884 X"$as_dir" : 'X\(//\)$' \| \
49885 X"$as_dir" : 'X\(/\)' \| \
49886 . : '\(.\)' 2>/dev/null ||
49888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49889 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49890 /^X\(\/\/\)$/{ s//\1/; q; }
49891 /^X\(\/\).*/{ s//\1/; q; }
49894 test ! -n "$as_dirs" || mkdir $as_dirs
49895 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49896 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49897 { (exit 1); exit 1; }; }; }
49900 mv $tmp/config.h
$ac_file
49904 rm -f $tmp/config.h
49908 cat >>$CONFIG_STATUS <<\_ACEOF
49911 # CONFIG_COMMANDS section.
49913 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
49914 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
49915 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49916 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
49917 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49918 X"$ac_dest" : 'X\(//\)[^/]' \| \
49919 X"$ac_dest" : 'X\(//\)$' \| \
49920 X"$ac_dest" : 'X\(/\)' \| \
49921 . : '\(.\)' 2>/dev/null ||
49923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49924 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49925 /^X\(\/\/\)$/{ s//\1/; q; }
49926 /^X\(\/\).*/{ s//\1/; q; }
49928 { if $as_mkdir_p; then
49933 while test ! -d "$as_dir"; do
49934 as_dirs
="$as_dir $as_dirs"
49935 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49936 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49937 X"$as_dir" : 'X\(//\)[^/]' \| \
49938 X"$as_dir" : 'X\(//\)$' \| \
49939 X"$as_dir" : 'X\(/\)' \| \
49940 . : '\(.\)' 2>/dev/null ||
49942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49943 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49944 /^X\(\/\/\)$/{ s//\1/; q; }
49945 /^X\(\/\).*/{ s//\1/; q; }
49948 test ! -n "$as_dirs" || mkdir $as_dirs
49949 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49950 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49951 { (exit 1); exit 1; }; }; }
49955 if test "$ac_dir" != .
; then
49956 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49957 # A "../" for each directory in $ac_dir_suffix.
49958 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49960 ac_dir_suffix
= ac_top_builddir
=
49964 .
) # No --srcdir option. We are building in place.
49966 if test -z "$ac_top_builddir"; then
49969 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49971 [\\/]* | ?
:[\\/]* ) # Absolute path.
49972 ac_srcdir
=$srcdir$ac_dir_suffix;
49973 ac_top_srcdir
=$srcdir ;;
49974 *) # Relative path.
49975 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49976 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49979 # Do not use `cd foo && pwd` to compute absolute paths, because
49980 # the directories may not exist.
49982 .
) ac_abs_builddir
="$ac_dir";;
49985 .
) ac_abs_builddir
=`pwd`;;
49986 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49987 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49990 case $ac_abs_builddir in
49991 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49993 case ${ac_top_builddir}.
in
49994 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49995 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49996 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49999 case $ac_abs_builddir in
50000 .
) ac_abs_srcdir
=$ac_srcdir;;
50003 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50004 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50005 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50008 case $ac_abs_builddir in
50009 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50011 case $ac_top_srcdir in
50012 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50013 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50014 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50019 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50020 echo "$as_me: executing $ac_dest commands" >&6;}
50023 mkdir -p $outdir &&
50024 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50026 wx
-config ) rm -f wx
-config
50027 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
50033 cat >>$CONFIG_STATUS <<\_ACEOF
50035 { (exit 0); exit 0; }
50037 chmod +x
$CONFIG_STATUS
50038 ac_clean_files
=$ac_clean_files_save
50041 # configure is writing to config.log, and then calls config.status.
50042 # config.status does its own redirection, appending to config.log.
50043 # Unfortunately, on DOS this fails, as config.log is still kept open
50044 # by configure, so config.status won't be able to write to it; its
50045 # output is simply discarded. So we exec the FD to /dev/null,
50046 # effectively closing config.log, so it can be properly (re)opened and
50047 # appended to by config.status. When coming back to configure, we
50048 # need to make the FD available again.
50049 if test "$no_create" != yes; then
50051 ac_config_status_args
=
50052 test "$silent" = yes &&
50053 ac_config_status_args
="$ac_config_status_args --quiet"
50055 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
50057 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50058 # would make configure fail if this is the last instruction.
50059 $ac_cs_success || { (exit 1); exit 1; }
50063 # CONFIG_SUBDIRS section.
50065 if test "$no_recursion" != yes; then
50067 # Remove --cache-file and --srcdir arguments so they do not pile up.
50068 ac_sub_configure_args
=
50070 for ac_arg
in $ac_configure_args; do
50071 if test -n "$ac_prev"; then
50076 -cache-file | --cache-file | --cache-fil | --cache-fi \
50077 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50078 ac_prev
=cache_file
;;
50079 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50080 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50083 --config-cache | -C)
50085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50089 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50091 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50093 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50097 # Always prepend --prefix to ensure using the same prefix
50098 # in subdir configurations.
50099 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50102 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50104 # Do not complain, so a configure script can configure whichever
50105 # parts of a large source tree are present.
50106 test -d $srcdir/$ac_dir || continue
50108 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50109 echo "$as_me: configuring in $ac_dir" >&6;}
50110 { if $as_mkdir_p; then
50115 while test ! -d "$as_dir"; do
50116 as_dirs
="$as_dir $as_dirs"
50117 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50119 X"$as_dir" : 'X\(//\)[^/]' \| \
50120 X"$as_dir" : 'X\(//\)$' \| \
50121 X"$as_dir" : 'X\(/\)' \| \
50122 . : '\(.\)' 2>/dev/null ||
50124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50125 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50126 /^X\(\/\/\)$/{ s//\1/; q; }
50127 /^X\(\/\).*/{ s//\1/; q; }
50130 test ! -n "$as_dirs" || mkdir $as_dirs
50131 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50132 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50133 { (exit 1); exit 1; }; }; }
50137 if test "$ac_dir" != .
; then
50138 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50139 # A "../" for each directory in $ac_dir_suffix.
50140 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50142 ac_dir_suffix
= ac_top_builddir
=
50146 .
) # No --srcdir option. We are building in place.
50148 if test -z "$ac_top_builddir"; then
50151 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50153 [\\/]* | ?
:[\\/]* ) # Absolute path.
50154 ac_srcdir
=$srcdir$ac_dir_suffix;
50155 ac_top_srcdir
=$srcdir ;;
50156 *) # Relative path.
50157 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50158 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50161 # Do not use `cd foo && pwd` to compute absolute paths, because
50162 # the directories may not exist.
50164 .
) ac_abs_builddir
="$ac_dir";;
50167 .
) ac_abs_builddir
=`pwd`;;
50168 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50169 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50172 case $ac_abs_builddir in
50173 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50175 case ${ac_top_builddir}.
in
50176 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50177 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50178 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50181 case $ac_abs_builddir in
50182 .
) ac_abs_srcdir
=$ac_srcdir;;
50185 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50186 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50187 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50190 case $ac_abs_builddir in
50191 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50193 case $ac_top_srcdir in
50194 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50195 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50196 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50203 # Check for guested configure; otherwise get Cygnus style configure.
50204 if test -f $ac_srcdir/configure.gnu
; then
50205 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50206 elif test -f $ac_srcdir/configure
; then
50207 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50208 elif test -f $ac_srcdir/configure.
in; then
50209 ac_sub_configure
=$ac_configure
50211 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50212 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50216 # The recursion is here.
50217 if test -n "$ac_sub_configure"; then
50218 # Make the cache file name correct relative to the subdirectory.
50219 case $cache_file in
50220 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50221 *) # Relative path.
50222 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50225 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50226 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50227 # The eval makes quoting arguments work.
50228 eval $ac_sub_configure $ac_sub_configure_args \
50229 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50230 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50231 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50232 { (exit 1); exit 1; }; }
50241 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50243 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50244 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50246 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50247 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50248 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50250 echo " What level of wxWidgets compatibility should be enabled?"
50251 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50252 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50254 echo " Which libraries should wxWidgets use?"
50255 echo " jpeg ${wxUSE_LIBJPEG-none}"
50256 echo " png ${wxUSE_LIBPNG-none}"
50257 echo " regex ${wxUSE_REGEX}"
50258 echo " tiff ${wxUSE_LIBTIFF-none}"
50259 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50260 echo " xpm ${wxUSE_LIBXPM-none}"
50262 echo " zlib ${wxUSE_ZLIB}"
50263 echo " odbc ${wxUSE_ODBC}"
50264 echo " expat ${wxUSE_EXPAT}"
50265 echo " libmspack ${wxUSE_LIBMSPACK}"
50266 echo " sdl ${wxUSE_LIBSDL}"
50267 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50268 echo " hildon ${wxUSE_LIBHILDON-none}"