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
38678 ac_cpp
='$CPP $CPPFLAGS'
38679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38683 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38684 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38686 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38687 echo $ECHO_N "(cached) $ECHO_C" >&6
38691 ################################################################
38693 ac_cv_func_which_gethostbyname_r
=unknown
38696 # ONE ARGUMENT (sanity check)
38699 # This should fail, as there is no variant of gethostbyname_r() that takes
38700 # a single argument. If it actually compiles, then we can assume that
38701 # netdb.h is not declaring the function, and the compiler is thereby
38702 # assuming an implicit prototype. In which case, we're out of luck.
38704 cat >conftest.
$ac_ext <<_ACEOF
38707 cat confdefs.h
>>conftest.
$ac_ext
38708 cat >>conftest.
$ac_ext <<_ACEOF
38709 /* end confdefs.h. */
38715 char *name = "www.gnu.org";
38716 (void)gethostbyname_r(name) /* ; */
38722 rm -f conftest.
$ac_objext
38723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38724 (eval $ac_compile) 2>conftest.er1
38726 grep -v '^ *+' conftest.er1
>conftest.err
38728 cat conftest.err
>&5
38729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730 (exit $ac_status); } &&
38731 { ac_try
='test -z "$ac_c_werror_flag"
38732 || test ! -s conftest.err'
38733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38734 (eval $ac_try) 2>&5
38736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737 (exit $ac_status); }; } &&
38738 { ac_try
='test -s conftest.$ac_objext'
38739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38740 (eval $ac_try) 2>&5
38742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38743 (exit $ac_status); }; }; then
38744 ac_cv_func_which_gethostbyname_r
=no
38746 echo "$as_me: failed program was:" >&5
38747 sed 's/^/| /' conftest.
$ac_ext >&5
38750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38757 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38759 cat >conftest.
$ac_ext <<_ACEOF
38762 cat confdefs.h
>>conftest.
$ac_ext
38763 cat >>conftest.
$ac_ext <<_ACEOF
38764 /* end confdefs.h. */
38770 char *name = "www.gnu.org";
38771 struct hostent ret, *retp;
38775 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38781 rm -f conftest.
$ac_objext
38782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38783 (eval $ac_compile) 2>conftest.er1
38785 grep -v '^ *+' conftest.er1
>conftest.err
38787 cat conftest.err
>&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } &&
38790 { ac_try
='test -z "$ac_c_werror_flag"
38791 || test ! -s conftest.err'
38792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38793 (eval $ac_try) 2>&5
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); }; } &&
38797 { ac_try
='test -s conftest.$ac_objext'
38798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38799 (eval $ac_try) 2>&5
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); }; }; then
38803 ac_cv_func_which_gethostbyname_r
=six
38805 echo "$as_me: failed program was:" >&5
38806 sed 's/^/| /' conftest.
$ac_ext >&5
38809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38818 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38820 cat >conftest.
$ac_ext <<_ACEOF
38823 cat confdefs.h
>>conftest.
$ac_ext
38824 cat >>conftest.
$ac_ext <<_ACEOF
38825 /* end confdefs.h. */
38831 char *name = "www.gnu.org";
38832 struct hostent ret;
38836 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38842 rm -f conftest.
$ac_objext
38843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38844 (eval $ac_compile) 2>conftest.er1
38846 grep -v '^ *+' conftest.er1
>conftest.err
38848 cat conftest.err
>&5
38849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38850 (exit $ac_status); } &&
38851 { ac_try
='test -z "$ac_c_werror_flag"
38852 || test ! -s conftest.err'
38853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38854 (eval $ac_try) 2>&5
38856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38857 (exit $ac_status); }; } &&
38858 { ac_try
='test -s conftest.$ac_objext'
38859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38860 (eval $ac_try) 2>&5
38862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38863 (exit $ac_status); }; }; then
38864 ac_cv_func_which_gethostbyname_r
=five
38866 echo "$as_me: failed program was:" >&5
38867 sed 's/^/| /' conftest.
$ac_ext >&5
38870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38876 # (e.g. AIX, HP-UX, Tru64)
38879 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38881 cat >conftest.
$ac_ext <<_ACEOF
38884 cat confdefs.h
>>conftest.
$ac_ext
38885 cat >>conftest.
$ac_ext <<_ACEOF
38886 /* end confdefs.h. */
38892 char *name = "www.gnu.org";
38893 struct hostent ret;
38894 struct hostent_data data;
38895 (void)gethostbyname_r(name, &ret, &data) /* ; */
38901 rm -f conftest.
$ac_objext
38902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38903 (eval $ac_compile) 2>conftest.er1
38905 grep -v '^ *+' conftest.er1
>conftest.err
38907 cat conftest.err
>&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); } &&
38910 { ac_try
='test -z "$ac_c_werror_flag"
38911 || test ! -s conftest.err'
38912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38913 (eval $ac_try) 2>&5
38915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38916 (exit $ac_status); }; } &&
38917 { ac_try
='test -s conftest.$ac_objext'
38918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38919 (eval $ac_try) 2>&5
38921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38922 (exit $ac_status); }; }; then
38923 ac_cv_func_which_gethostbyname_r
=three
38925 echo "$as_me: failed program was:" >&5
38926 sed 's/^/| /' conftest.
$ac_ext >&5
38929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38933 ################################################################
38938 case "$ac_cv_func_which_gethostbyname_r" in
38940 echo "$as_me:$LINENO: result: three" >&5
38941 echo "${ECHO_T}three" >&6
38942 cat >>confdefs.h
<<\_ACEOF
38943 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
38949 echo "$as_me:$LINENO: result: five" >&5
38950 echo "${ECHO_T}five" >&6
38951 cat >>confdefs.h
<<\_ACEOF
38952 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
38958 echo "$as_me:$LINENO: result: six" >&5
38959 echo "${ECHO_T}six" >&6
38960 cat >>confdefs.h
<<\_ACEOF
38961 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
38967 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
38968 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
38972 echo "$as_me:$LINENO: result: can't tell" >&5
38973 echo "${ECHO_T}can't tell" >&6
38977 { { echo "$as_me:$LINENO: error: internal error" >&5
38978 echo "$as_me: error: internal error" >&2;}
38979 { (exit 1); exit 1; }; }
38984 ac_cpp
='$CPP $CPPFLAGS'
38985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38991 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
38992 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
38993 echo "$as_me:$LINENO: checking for gethostbyname" >&5
38994 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
38995 if test "${ac_cv_func_gethostbyname+set}" = set; then
38996 echo $ECHO_N "(cached) $ECHO_C" >&6
38998 cat >conftest.
$ac_ext <<_ACEOF
39001 cat confdefs.h
>>conftest.
$ac_ext
39002 cat >>conftest.
$ac_ext <<_ACEOF
39003 /* end confdefs.h. */
39004 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39006 #define gethostbyname innocuous_gethostbyname
39008 /* System header to define __stub macros and hopefully few prototypes,
39009 which can conflict with char gethostbyname (); below.
39010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39011 <limits.h> exists even on freestanding compilers. */
39014 # include <limits.h>
39016 # include <assert.h>
39019 #undef gethostbyname
39021 /* Override any gcc2 internal prototype to avoid an error. */
39026 /* We use char because int might match the return type of a gcc2
39027 builtin and then its argument prototype would still apply. */
39028 char gethostbyname ();
39029 /* The GNU C library defines this for functions which it implements
39030 to always fail with ENOSYS. Some functions are actually named
39031 something starting with __ and the normal name is an alias. */
39032 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39035 char (*f) () = gethostbyname;
39044 return f != gethostbyname;
39049 rm -f conftest.
$ac_objext conftest
$ac_exeext
39050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39051 (eval $ac_link) 2>conftest.er1
39053 grep -v '^ *+' conftest.er1
>conftest.err
39055 cat conftest.err
>&5
39056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39057 (exit $ac_status); } &&
39058 { ac_try
='test -z "$ac_c_werror_flag"
39059 || test ! -s conftest.err'
39060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39061 (eval $ac_try) 2>&5
39063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39064 (exit $ac_status); }; } &&
39065 { ac_try
='test -s conftest$ac_exeext'
39066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39067 (eval $ac_try) 2>&5
39069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39070 (exit $ac_status); }; }; then
39071 ac_cv_func_gethostbyname
=yes
39073 echo "$as_me: failed program was:" >&5
39074 sed 's/^/| /' conftest.
$ac_ext >&5
39076 ac_cv_func_gethostbyname
=no
39078 rm -f conftest.err conftest.
$ac_objext \
39079 conftest
$ac_exeext conftest.
$ac_ext
39081 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39082 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39083 if test $ac_cv_func_gethostbyname = yes; then
39084 cat >>confdefs.h
<<\_ACEOF
39085 #define HAVE_GETHOSTBYNAME 1
39091 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39092 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39093 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39094 echo $ECHO_N "(cached) $ECHO_C" >&6
39097 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39098 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39099 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39100 echo $ECHO_N "(cached) $ECHO_C" >&6
39102 cat >conftest.
$ac_ext <<_ACEOF
39105 cat confdefs.h
>>conftest.
$ac_ext
39106 cat >>conftest.
$ac_ext <<_ACEOF
39107 /* end confdefs.h. */
39108 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39110 #define getservbyname_r innocuous_getservbyname_r
39112 /* System header to define __stub macros and hopefully few prototypes,
39113 which can conflict with char getservbyname_r (); below.
39114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39115 <limits.h> exists even on freestanding compilers. */
39118 # include <limits.h>
39120 # include <assert.h>
39123 #undef getservbyname_r
39125 /* Override any gcc2 internal prototype to avoid an error. */
39130 /* We use char because int might match the return type of a gcc2
39131 builtin and then its argument prototype would still apply. */
39132 char getservbyname_r ();
39133 /* The GNU C library defines this for functions which it implements
39134 to always fail with ENOSYS. Some functions are actually named
39135 something starting with __ and the normal name is an alias. */
39136 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39139 char (*f) () = getservbyname_r;
39148 return f != getservbyname_r;
39153 rm -f conftest.
$ac_objext conftest
$ac_exeext
39154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39155 (eval $ac_link) 2>conftest.er1
39157 grep -v '^ *+' conftest.er1
>conftest.err
39159 cat conftest.err
>&5
39160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39161 (exit $ac_status); } &&
39162 { ac_try
='test -z "$ac_c_werror_flag"
39163 || test ! -s conftest.err'
39164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39165 (eval $ac_try) 2>&5
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); }; } &&
39169 { ac_try
='test -s conftest$ac_exeext'
39170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39171 (eval $ac_try) 2>&5
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); }; }; then
39175 ac_cv_func_getservbyname_r
=yes
39177 echo "$as_me: failed program was:" >&5
39178 sed 's/^/| /' conftest.
$ac_ext >&5
39180 ac_cv_func_getservbyname_r
=no
39182 rm -f conftest.err conftest.
$ac_objext \
39183 conftest
$ac_exeext conftest.
$ac_ext
39185 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39186 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39187 if test $ac_cv_func_getservbyname_r = yes; then
39189 cat >conftest.
$ac_ext <<_ACEOF
39192 cat confdefs.h
>>conftest.
$ac_ext
39193 cat >>conftest.
$ac_ext <<_ACEOF
39194 /* end confdefs.h. */
39196 # include <netdb.h>
39205 struct servent *se;
39206 struct servent_data data;
39207 (void) getservbyname_r(name, proto, se, &data);
39214 rm -f conftest.
$ac_objext
39215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39216 (eval $ac_compile) 2>conftest.er1
39218 grep -v '^ *+' conftest.er1
>conftest.err
39220 cat conftest.err
>&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } &&
39223 { ac_try
='test -z "$ac_c_werror_flag"
39224 || test ! -s conftest.err'
39225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39226 (eval $ac_try) 2>&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; } &&
39230 { ac_try
='test -s conftest.$ac_objext'
39231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39232 (eval $ac_try) 2>&5
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); }; }; then
39236 ac_cv_func_which_getservbyname_r
=four
39238 echo "$as_me: failed program was:" >&5
39239 sed 's/^/| /' conftest.
$ac_ext >&5
39242 cat >conftest.
$ac_ext <<_ACEOF
39245 cat confdefs.h
>>conftest.
$ac_ext
39246 cat >>conftest.
$ac_ext <<_ACEOF
39247 /* end confdefs.h. */
39249 # include <netdb.h>
39257 struct servent *se, *res;
39260 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39266 rm -f conftest.
$ac_objext
39267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39268 (eval $ac_compile) 2>conftest.er1
39270 grep -v '^ *+' conftest.er1
>conftest.err
39272 cat conftest.err
>&5
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); } &&
39275 { ac_try
='test -z "$ac_c_werror_flag"
39276 || test ! -s conftest.err'
39277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39278 (eval $ac_try) 2>&5
39280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39281 (exit $ac_status); }; } &&
39282 { ac_try
='test -s conftest.$ac_objext'
39283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39284 (eval $ac_try) 2>&5
39286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39287 (exit $ac_status); }; }; then
39288 ac_cv_func_which_getservbyname_r
=six
39290 echo "$as_me: failed program was:" >&5
39291 sed 's/^/| /' conftest.
$ac_ext >&5
39294 cat >conftest.
$ac_ext <<_ACEOF
39297 cat confdefs.h
>>conftest.
$ac_ext
39298 cat >>conftest.
$ac_ext <<_ACEOF
39299 /* end confdefs.h. */
39301 # include <netdb.h>
39309 struct servent *se;
39312 (void) getservbyname_r(name, proto, se, buffer, buflen)
39318 rm -f conftest.
$ac_objext
39319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39320 (eval $ac_compile) 2>conftest.er1
39322 grep -v '^ *+' conftest.er1
>conftest.err
39324 cat conftest.err
>&5
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); } &&
39327 { ac_try
='test -z "$ac_c_werror_flag"
39328 || test ! -s conftest.err'
39329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39330 (eval $ac_try) 2>&5
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); }; } &&
39334 { ac_try
='test -s conftest.$ac_objext'
39335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39336 (eval $ac_try) 2>&5
39338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39339 (exit $ac_status); }; }; then
39340 ac_cv_func_which_getservbyname_r
=five
39342 echo "$as_me: failed program was:" >&5
39343 sed 's/^/| /' conftest.
$ac_ext >&5
39345 ac_cv_func_which_getservbyname_r
=no
39347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39360 ac_cv_func_which_getservbyname_r
=no
39364 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39365 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
39367 if test $ac_cv_func_which_getservbyname_r = six
; then
39368 cat >>confdefs.h
<<\_ACEOF
39369 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39372 elif test $ac_cv_func_which_getservbyname_r = five
; then
39373 cat >>confdefs.h
<<\_ACEOF
39374 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39377 elif test $ac_cv_func_which_getservbyname_r = four
; then
39378 cat >>confdefs.h
<<\_ACEOF
39379 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39386 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39387 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39389 for ac_func
in getservbyname
39391 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39392 echo "$as_me:$LINENO: checking for $ac_func" >&5
39393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39394 if eval "test \"\${$as_ac_var+set}\" = set"; then
39395 echo $ECHO_N "(cached) $ECHO_C" >&6
39397 cat >conftest.
$ac_ext <<_ACEOF
39400 cat confdefs.h
>>conftest.
$ac_ext
39401 cat >>conftest.
$ac_ext <<_ACEOF
39402 /* end confdefs.h. */
39403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39405 #define $ac_func innocuous_$ac_func
39407 /* System header to define __stub macros and hopefully few prototypes,
39408 which can conflict with char $ac_func (); below.
39409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39410 <limits.h> exists even on freestanding compilers. */
39413 # include <limits.h>
39415 # include <assert.h>
39420 /* Override any gcc2 internal prototype to avoid an error. */
39425 /* We use char because int might match the return type of a gcc2
39426 builtin and then its argument prototype would still apply. */
39428 /* The GNU C library defines this for functions which it implements
39429 to always fail with ENOSYS. Some functions are actually named
39430 something starting with __ and the normal name is an alias. */
39431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39434 char (*f) () = $ac_func;
39443 return f != $ac_func;
39448 rm -f conftest.
$ac_objext conftest
$ac_exeext
39449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39450 (eval $ac_link) 2>conftest.er1
39452 grep -v '^ *+' conftest.er1
>conftest.err
39454 cat conftest.err
>&5
39455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39456 (exit $ac_status); } &&
39457 { ac_try
='test -z "$ac_c_werror_flag"
39458 || test ! -s conftest.err'
39459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39460 (eval $ac_try) 2>&5
39462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39463 (exit $ac_status); }; } &&
39464 { ac_try
='test -s conftest$ac_exeext'
39465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39466 (eval $ac_try) 2>&5
39468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39469 (exit $ac_status); }; }; then
39470 eval "$as_ac_var=yes"
39472 echo "$as_me: failed program was:" >&5
39473 sed 's/^/| /' conftest.
$ac_ext >&5
39475 eval "$as_ac_var=no"
39477 rm -f conftest.err conftest.
$ac_objext \
39478 conftest
$ac_exeext conftest.
$ac_ext
39480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39482 if test `eval echo '${'$as_ac_var'}'` = yes; then
39483 cat >>confdefs.h
<<_ACEOF
39484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39486 cat >>confdefs.h
<<\_ACEOF
39487 #define HAVE_GETSERVBYNAME 1
39495 if test "$wxUSE_THREADS" = "yes"; then
39496 cat >>confdefs.h
<<\_ACEOF
39497 #define wxUSE_THREADS 1
39501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39503 if test "$ac_cv_func_strtok_r" = "yes"; then
39504 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39505 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39506 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39507 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39508 echo "$as_me:$LINENO: result: yes" >&5
39509 echo "${ECHO_T}yes" >&6
39511 echo "$as_me:$LINENO: result: no" >&5
39512 echo "${ECHO_T}no" >&6
39517 if test "$WXGTK20" = 1 ; then
39518 cat >>confdefs.h
<<_ACEOF
39519 #define __WXGTK20__ $WXGTK20
39525 if test "$WXGTK12" = 1 ; then
39526 cat >>confdefs.h
<<_ACEOF
39527 #define __WXGTK12__ $WXGTK12
39532 if test "$WXGTK127" = 1 ; then
39533 cat >>confdefs.h
<<_ACEOF
39534 #define __WXGTK127__ $WXGTK127
39539 if test "$WXGPE" = 1 ; then
39540 cat >>confdefs.h
<<_ACEOF
39541 #define __WXGPE__ $WXGPE
39547 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39552 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39553 wxUSE_DEBUG_INFO
=yes
39554 if test "$GCC" = yes; then
39555 DEBUG_CFLAGS
="-ggdb"
39559 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39560 cat >>confdefs.h
<<\_ACEOF
39564 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39566 if test "$wxUSE_GTK" = 1 ; then
39567 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39571 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39572 cat >>confdefs.h
<<\_ACEOF
39573 #define wxUSE_MEMORY_TRACING 1
39576 cat >>confdefs.h
<<\_ACEOF
39577 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39580 cat >>confdefs.h
<<\_ACEOF
39581 #define wxUSE_DEBUG_NEW_ALWAYS 1
39584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39587 if test "$wxUSE_DMALLOC" = "yes" ; then
39588 DMALLOC_LIBS
="-ldmallocthcxx"
39592 if test "$wxUSE_PROFILE" = "yes" ; then
39593 PROFILE_FLAGS
=" -pg"
39596 if test "$GCC" = "yes" ; then
39597 if test "$wxUSE_NO_RTTI" = "yes" ; then
39598 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39600 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39601 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39603 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39604 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39609 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39612 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39618 if test "$wxUSE_OPTIMISE" = "no" ; then
39619 if test "$GCC" = yes ; then
39620 OPTIMISE_CFLAGS
="-O0"
39623 if test "$GCC" = yes ; then
39624 OPTIMISE_CFLAGS
="-O2"
39626 OPTIMISE_CFLAGS
="-O"
39631 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39632 cat >>confdefs.h
<<\_ACEOF
39633 #define WXWIN_COMPATIBILITY_2_4 1
39637 WXWIN_COMPATIBILITY_2_6
="yes"
39640 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39641 cat >>confdefs.h
<<\_ACEOF
39642 #define WXWIN_COMPATIBILITY_2_6 1
39648 if test "$wxUSE_GUI" = "yes"; then
39649 cat >>confdefs.h
<<\_ACEOF
39650 #define wxUSE_GUI 1
39657 if test "$wxUSE_UNIX" = "yes"; then
39658 cat >>confdefs.h
<<\_ACEOF
39659 #define wxUSE_UNIX 1
39665 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39669 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39670 if test "$USE_DARWIN" = 1; then
39672 elif test "$USE_DOS" = 1; then
39676 for ac_func
in dlopen
39678 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39679 echo "$as_me:$LINENO: checking for $ac_func" >&5
39680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39681 if eval "test \"\${$as_ac_var+set}\" = set"; then
39682 echo $ECHO_N "(cached) $ECHO_C" >&6
39684 cat >conftest.
$ac_ext <<_ACEOF
39687 cat confdefs.h
>>conftest.
$ac_ext
39688 cat >>conftest.
$ac_ext <<_ACEOF
39689 /* end confdefs.h. */
39690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39692 #define $ac_func innocuous_$ac_func
39694 /* System header to define __stub macros and hopefully few prototypes,
39695 which can conflict with char $ac_func (); below.
39696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39697 <limits.h> exists even on freestanding compilers. */
39700 # include <limits.h>
39702 # include <assert.h>
39707 /* Override any gcc2 internal prototype to avoid an error. */
39712 /* We use char because int might match the return type of a gcc2
39713 builtin and then its argument prototype would still apply. */
39715 /* The GNU C library defines this for functions which it implements
39716 to always fail with ENOSYS. Some functions are actually named
39717 something starting with __ and the normal name is an alias. */
39718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39721 char (*f) () = $ac_func;
39730 return f != $ac_func;
39735 rm -f conftest.
$ac_objext conftest
$ac_exeext
39736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39737 (eval $ac_link) 2>conftest.er1
39739 grep -v '^ *+' conftest.er1
>conftest.err
39741 cat conftest.err
>&5
39742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39743 (exit $ac_status); } &&
39744 { ac_try
='test -z "$ac_c_werror_flag"
39745 || test ! -s conftest.err'
39746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39747 (eval $ac_try) 2>&5
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); }; } &&
39751 { ac_try
='test -s conftest$ac_exeext'
39752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39753 (eval $ac_try) 2>&5
39755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39756 (exit $ac_status); }; }; then
39757 eval "$as_ac_var=yes"
39759 echo "$as_me: failed program was:" >&5
39760 sed 's/^/| /' conftest.
$ac_ext >&5
39762 eval "$as_ac_var=no"
39764 rm -f conftest.err conftest.
$ac_objext \
39765 conftest
$ac_exeext conftest.
$ac_ext
39767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39769 if test `eval echo '${'$as_ac_var'}'` = yes; then
39770 cat >>confdefs.h
<<_ACEOF
39771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39774 cat >>confdefs.h
<<\_ACEOF
39775 #define HAVE_DLOPEN 1
39782 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39783 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39784 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39785 echo $ECHO_N "(cached) $ECHO_C" >&6
39787 ac_check_lib_save_LIBS
=$LIBS
39789 cat >conftest.
$ac_ext <<_ACEOF
39792 cat confdefs.h
>>conftest.
$ac_ext
39793 cat >>conftest.
$ac_ext <<_ACEOF
39794 /* end confdefs.h. */
39796 /* Override any gcc2 internal prototype to avoid an error. */
39800 /* We use char because int might match the return type of a gcc2
39801 builtin and then its argument prototype would still apply. */
39811 rm -f conftest.
$ac_objext conftest
$ac_exeext
39812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39813 (eval $ac_link) 2>conftest.er1
39815 grep -v '^ *+' conftest.er1
>conftest.err
39817 cat conftest.err
>&5
39818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39819 (exit $ac_status); } &&
39820 { ac_try
='test -z "$ac_c_werror_flag"
39821 || test ! -s conftest.err'
39822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39823 (eval $ac_try) 2>&5
39825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39826 (exit $ac_status); }; } &&
39827 { ac_try
='test -s conftest$ac_exeext'
39828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39829 (eval $ac_try) 2>&5
39831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39832 (exit $ac_status); }; }; then
39833 ac_cv_lib_dl_dlopen
=yes
39835 echo "$as_me: failed program was:" >&5
39836 sed 's/^/| /' conftest.
$ac_ext >&5
39838 ac_cv_lib_dl_dlopen
=no
39840 rm -f conftest.err conftest.
$ac_objext \
39841 conftest
$ac_exeext conftest.
$ac_ext
39842 LIBS
=$ac_check_lib_save_LIBS
39844 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39845 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39846 if test $ac_cv_lib_dl_dlopen = yes; then
39848 cat >>confdefs.h
<<\_ACEOF
39849 #define HAVE_DLOPEN 1
39853 DL_LINK
=" -ldl$DL_LINK"
39858 for ac_func
in shl_load
39860 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39861 echo "$as_me:$LINENO: checking for $ac_func" >&5
39862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39863 if eval "test \"\${$as_ac_var+set}\" = set"; then
39864 echo $ECHO_N "(cached) $ECHO_C" >&6
39866 cat >conftest.
$ac_ext <<_ACEOF
39869 cat confdefs.h
>>conftest.
$ac_ext
39870 cat >>conftest.
$ac_ext <<_ACEOF
39871 /* end confdefs.h. */
39872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39874 #define $ac_func innocuous_$ac_func
39876 /* System header to define __stub macros and hopefully few prototypes,
39877 which can conflict with char $ac_func (); below.
39878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39879 <limits.h> exists even on freestanding compilers. */
39882 # include <limits.h>
39884 # include <assert.h>
39889 /* Override any gcc2 internal prototype to avoid an error. */
39894 /* We use char because int might match the return type of a gcc2
39895 builtin and then its argument prototype would still apply. */
39897 /* The GNU C library defines this for functions which it implements
39898 to always fail with ENOSYS. Some functions are actually named
39899 something starting with __ and the normal name is an alias. */
39900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39903 char (*f) () = $ac_func;
39912 return f != $ac_func;
39917 rm -f conftest.
$ac_objext conftest
$ac_exeext
39918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39919 (eval $ac_link) 2>conftest.er1
39921 grep -v '^ *+' conftest.er1
>conftest.err
39923 cat conftest.err
>&5
39924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39925 (exit $ac_status); } &&
39926 { ac_try
='test -z "$ac_c_werror_flag"
39927 || test ! -s conftest.err'
39928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39929 (eval $ac_try) 2>&5
39931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39932 (exit $ac_status); }; } &&
39933 { ac_try
='test -s conftest$ac_exeext'
39934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39935 (eval $ac_try) 2>&5
39937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938 (exit $ac_status); }; }; then
39939 eval "$as_ac_var=yes"
39941 echo "$as_me: failed program was:" >&5
39942 sed 's/^/| /' conftest.
$ac_ext >&5
39944 eval "$as_ac_var=no"
39946 rm -f conftest.err conftest.
$ac_objext \
39947 conftest
$ac_exeext conftest.
$ac_ext
39949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39951 if test `eval echo '${'$as_ac_var'}'` = yes; then
39952 cat >>confdefs.h
<<_ACEOF
39953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39956 cat >>confdefs.h
<<\_ACEOF
39957 #define HAVE_SHL_LOAD 1
39964 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
39965 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
39966 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
39967 echo $ECHO_N "(cached) $ECHO_C" >&6
39969 ac_check_lib_save_LIBS
=$LIBS
39970 LIBS
="-lshl_load $LIBS"
39971 cat >conftest.
$ac_ext <<_ACEOF
39974 cat confdefs.h
>>conftest.
$ac_ext
39975 cat >>conftest.
$ac_ext <<_ACEOF
39976 /* end confdefs.h. */
39978 /* Override any gcc2 internal prototype to avoid an error. */
39982 /* We use char because int might match the return type of a gcc2
39983 builtin and then its argument prototype would still apply. */
39993 rm -f conftest.
$ac_objext conftest
$ac_exeext
39994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39995 (eval $ac_link) 2>conftest.er1
39997 grep -v '^ *+' conftest.er1
>conftest.err
39999 cat conftest.err
>&5
40000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40001 (exit $ac_status); } &&
40002 { ac_try
='test -z "$ac_c_werror_flag"
40003 || test ! -s conftest.err'
40004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40005 (eval $ac_try) 2>&5
40007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40008 (exit $ac_status); }; } &&
40009 { ac_try
='test -s conftest$ac_exeext'
40010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40011 (eval $ac_try) 2>&5
40013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40014 (exit $ac_status); }; }; then
40015 ac_cv_lib_shl_load_dld
=yes
40017 echo "$as_me: failed program was:" >&5
40018 sed 's/^/| /' conftest.
$ac_ext >&5
40020 ac_cv_lib_shl_load_dld
=no
40022 rm -f conftest.err conftest.
$ac_objext \
40023 conftest
$ac_exeext conftest.
$ac_ext
40024 LIBS
=$ac_check_lib_save_LIBS
40026 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40027 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40028 if test $ac_cv_lib_shl_load_dld = yes; then
40031 DL_LINK
=" -ldld$DL_LINK"
40047 if test "$HAVE_DL_FUNCS" = 1; then
40049 for ac_func
in dlerror
40051 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40052 echo "$as_me:$LINENO: checking for $ac_func" >&5
40053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40054 if eval "test \"\${$as_ac_var+set}\" = set"; then
40055 echo $ECHO_N "(cached) $ECHO_C" >&6
40057 cat >conftest.
$ac_ext <<_ACEOF
40060 cat confdefs.h
>>conftest.
$ac_ext
40061 cat >>conftest.
$ac_ext <<_ACEOF
40062 /* end confdefs.h. */
40063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40065 #define $ac_func innocuous_$ac_func
40067 /* System header to define __stub macros and hopefully few prototypes,
40068 which can conflict with char $ac_func (); below.
40069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40070 <limits.h> exists even on freestanding compilers. */
40073 # include <limits.h>
40075 # include <assert.h>
40080 /* Override any gcc2 internal prototype to avoid an error. */
40085 /* We use char because int might match the return type of a gcc2
40086 builtin and then its argument prototype would still apply. */
40088 /* The GNU C library defines this for functions which it implements
40089 to always fail with ENOSYS. Some functions are actually named
40090 something starting with __ and the normal name is an alias. */
40091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40094 char (*f) () = $ac_func;
40103 return f != $ac_func;
40108 rm -f conftest.
$ac_objext conftest
$ac_exeext
40109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40110 (eval $ac_link) 2>conftest.er1
40112 grep -v '^ *+' conftest.er1
>conftest.err
40114 cat conftest.err
>&5
40115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40116 (exit $ac_status); } &&
40117 { ac_try
='test -z "$ac_c_werror_flag"
40118 || test ! -s conftest.err'
40119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40120 (eval $ac_try) 2>&5
40122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40123 (exit $ac_status); }; } &&
40124 { ac_try
='test -s conftest$ac_exeext'
40125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40126 (eval $ac_try) 2>&5
40128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40129 (exit $ac_status); }; }; then
40130 eval "$as_ac_var=yes"
40132 echo "$as_me: failed program was:" >&5
40133 sed 's/^/| /' conftest.
$ac_ext >&5
40135 eval "$as_ac_var=no"
40137 rm -f conftest.err conftest.
$ac_objext \
40138 conftest
$ac_exeext conftest.
$ac_ext
40140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40142 if test `eval echo '${'$as_ac_var'}'` = yes; then
40143 cat >>confdefs.h
<<_ACEOF
40144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40146 cat >>confdefs.h
<<\_ACEOF
40147 #define HAVE_DLERROR 1
40152 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40153 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40154 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40155 echo $ECHO_N "(cached) $ECHO_C" >&6
40157 ac_check_lib_save_LIBS
=$LIBS
40159 cat >conftest.
$ac_ext <<_ACEOF
40162 cat confdefs.h
>>conftest.
$ac_ext
40163 cat >>conftest.
$ac_ext <<_ACEOF
40164 /* end confdefs.h. */
40166 /* Override any gcc2 internal prototype to avoid an error. */
40170 /* We use char because int might match the return type of a gcc2
40171 builtin and then its argument prototype would still apply. */
40181 rm -f conftest.
$ac_objext conftest
$ac_exeext
40182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40183 (eval $ac_link) 2>conftest.er1
40185 grep -v '^ *+' conftest.er1
>conftest.err
40187 cat conftest.err
>&5
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); } &&
40190 { ac_try
='test -z "$ac_c_werror_flag"
40191 || test ! -s conftest.err'
40192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40193 (eval $ac_try) 2>&5
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); }; } &&
40197 { ac_try
='test -s conftest$ac_exeext'
40198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40199 (eval $ac_try) 2>&5
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); }; }; then
40203 ac_cv_lib_dl_dlerror
=yes
40205 echo "$as_me: failed program was:" >&5
40206 sed 's/^/| /' conftest.
$ac_ext >&5
40208 ac_cv_lib_dl_dlerror
=no
40210 rm -f conftest.err conftest.
$ac_objext \
40211 conftest
$ac_exeext conftest.
$ac_ext
40212 LIBS
=$ac_check_lib_save_LIBS
40214 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40215 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40216 if test $ac_cv_lib_dl_dlerror = yes; then
40217 cat >>confdefs.h
<<\_ACEOF
40218 #define HAVE_DLERROR 1
40231 if test "$HAVE_DL_FUNCS" = 0; then
40232 if test "$HAVE_SHL_FUNCS" = 0; then
40233 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40234 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40235 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40236 wxUSE_DYNAMIC_LOADER
=no
40237 wxUSE_DYNLIB_CLASS
=no
40239 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40240 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40247 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40248 cat >>confdefs.h
<<\_ACEOF
40249 #define wxUSE_DYNAMIC_LOADER 1
40253 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40254 cat >>confdefs.h
<<\_ACEOF
40255 #define wxUSE_DYNLIB_CLASS 1
40262 if test "$wxUSE_PLUGINS" = "yes" ; then
40263 if test "$wxUSE_SHARED" = "no" ; then
40264 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40265 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40268 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40269 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40270 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40273 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40274 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40275 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40278 if test "$wxUSE_PLUGINS" = "yes" ; then
40279 cat >>confdefs.h
<<\_ACEOF
40280 #define wxUSE_PLUGINS 1
40287 if test "$wxUSE_STL" = "yes"; then
40288 cat >>confdefs.h
<<\_ACEOF
40289 #define wxUSE_STL 1
40294 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40295 cat >>confdefs.h
<<\_ACEOF
40296 #define wxUSE_APPLE_IEEE 1
40301 if test "$wxUSE_TIMER" = "yes"; then
40302 cat >>confdefs.h
<<\_ACEOF
40303 #define wxUSE_TIMER 1
40308 if test "$USE_UNIX" = "1" ; then
40309 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40310 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40311 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40312 echo $ECHO_N "(cached) $ECHO_C" >&6
40315 cat >conftest.
$ac_ext <<_ACEOF
40318 cat confdefs.h
>>conftest.
$ac_ext
40319 cat >>conftest.
$ac_ext <<_ACEOF
40320 /* end confdefs.h. */
40322 #include <sys/soundcard.h>
40328 ioctl(0, SNDCTL_DSP_SYNC, 0);
40334 rm -f conftest.
$ac_objext conftest
$ac_exeext
40335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40336 (eval $ac_link) 2>conftest.er1
40338 grep -v '^ *+' conftest.er1
>conftest.err
40340 cat conftest.err
>&5
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); } &&
40343 { ac_try
='test -z "$ac_c_werror_flag"
40344 || test ! -s conftest.err'
40345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40346 (eval $ac_try) 2>&5
40348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40349 (exit $ac_status); }; } &&
40350 { ac_try
='test -s conftest$ac_exeext'
40351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40352 (eval $ac_try) 2>&5
40354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40355 (exit $ac_status); }; }; then
40356 ac_cv_header_sys_soundcard
=yes
40358 echo "$as_me: failed program was:" >&5
40359 sed 's/^/| /' conftest.
$ac_ext >&5
40363 LIBS
="$saveLibs -lossaudio"
40364 cat >conftest.
$ac_ext <<_ACEOF
40367 cat confdefs.h
>>conftest.
$ac_ext
40368 cat >>conftest.
$ac_ext <<_ACEOF
40369 /* end confdefs.h. */
40371 #include <sys/soundcard.h>
40377 ioctl(0, SNDCTL_DSP_SYNC, 0);
40383 rm -f conftest.
$ac_objext conftest
$ac_exeext
40384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40385 (eval $ac_link) 2>conftest.er1
40387 grep -v '^ *+' conftest.er1
>conftest.err
40389 cat conftest.err
>&5
40390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40391 (exit $ac_status); } &&
40392 { ac_try
='test -z "$ac_c_werror_flag"
40393 || test ! -s conftest.err'
40394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40395 (eval $ac_try) 2>&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); }; } &&
40399 { ac_try
='test -s conftest$ac_exeext'
40400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40401 (eval $ac_try) 2>&5
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; }; then
40405 ac_cv_header_sys_soundcard
=yes
40407 echo "$as_me: failed program was:" >&5
40408 sed 's/^/| /' conftest.
$ac_ext >&5
40412 ac_cv_header_sys_soundcard
=no
40416 rm -f conftest.err conftest.
$ac_objext \
40417 conftest
$ac_exeext conftest.
$ac_ext
40421 rm -f conftest.err conftest.
$ac_objext \
40422 conftest
$ac_exeext conftest.
$ac_ext
40425 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40426 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40428 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40429 cat >>confdefs.h
<<\_ACEOF
40430 #define HAVE_SYS_SOUNDCARD_H 1
40434 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40438 if test "$wxUSE_SOUND" = "yes"; then
40439 if test "$USE_UNIX" = "1" ; then
40440 if test "$wxUSE_LIBSDL" != "no"; then
40442 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40443 if test "${with_sdl_prefix+set}" = set; then
40444 withval
="$with_sdl_prefix"
40445 sdl_prefix
="$withval"
40450 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40451 if test "${with_sdl_exec_prefix+set}" = set; then
40452 withval
="$with_sdl_exec_prefix"
40453 sdl_exec_prefix
="$withval"
40457 # Check whether --enable-sdltest or --disable-sdltest was given.
40458 if test "${enable_sdltest+set}" = set; then
40459 enableval
="$enable_sdltest"
40465 if test x
$sdl_exec_prefix != x
; then
40466 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40467 if test x
${SDL_CONFIG+set} != xset
; then
40468 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40471 if test x
$sdl_prefix != x
; then
40472 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40473 if test x
${SDL_CONFIG+set} != xset
; then
40474 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40479 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40480 # Extract the first word of "sdl-config", so it can be a program name with args.
40481 set dummy sdl
-config; ac_word
=$2
40482 echo "$as_me:$LINENO: checking for $ac_word" >&5
40483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40484 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40485 echo $ECHO_N "(cached) $ECHO_C" >&6
40487 case $SDL_CONFIG in
40489 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40493 for as_dir
in $PATH
40496 test -z "$as_dir" && as_dir
=.
40497 for ac_exec_ext
in '' $ac_executable_extensions; do
40498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40499 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40506 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40510 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40512 if test -n "$SDL_CONFIG"; then
40513 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40514 echo "${ECHO_T}$SDL_CONFIG" >&6
40516 echo "$as_me:$LINENO: result: no" >&5
40517 echo "${ECHO_T}no" >&6
40520 min_sdl_version
=1.2.0
40521 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40522 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40524 if test "$SDL_CONFIG" = "no" ; then
40527 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40528 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40530 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40531 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40532 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40533 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40534 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40535 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40536 if test "x$enable_sdltest" = "xyes" ; then
40537 ac_save_CFLAGS
="$CFLAGS"
40538 ac_save_CXXFLAGS
="$CXXFLAGS"
40539 ac_save_LIBS
="$LIBS"
40540 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40541 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40542 LIBS
="$LIBS $SDL_LIBS"
40544 if test "$cross_compiling" = yes; then
40545 echo $ac_n "cross compiling; assumed OK... $ac_c"
40547 cat >conftest.
$ac_ext <<_ACEOF
40550 cat confdefs.h
>>conftest.
$ac_ext
40551 cat >>conftest.
$ac_ext <<_ACEOF
40552 /* end confdefs.h. */
40555 #include <stdlib.h>
40556 #include <string.h>
40560 my_strdup (char *str)
40566 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40567 strcpy (new_str, str);
40575 int main (int argc, char *argv[])
40577 int major, minor, micro;
40580 /* This hangs on some systems (?)
40581 system ("touch conf.sdltest");
40583 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40585 /* HP/UX 9 (%@#!) writes to sscanf strings */
40586 tmp_version = my_strdup("$min_sdl_version");
40587 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40588 printf("%s, bad version string\n", "$min_sdl_version");
40592 if (($sdl_major_version > major) ||
40593 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40594 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40600 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40601 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40602 printf("*** best to upgrade to the required version.\n");
40603 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40604 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40605 printf("*** config.cache before re-running configure\n");
40612 rm -f conftest
$ac_exeext
40613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40614 (eval $ac_link) 2>&5
40616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40617 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40619 (eval $ac_try) 2>&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); }; }; then
40625 echo "$as_me: program exited with status $ac_status" >&5
40626 echo "$as_me: failed program was:" >&5
40627 sed 's/^/| /' conftest.
$ac_ext >&5
40629 ( exit $ac_status )
40632 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40634 CFLAGS
="$ac_save_CFLAGS"
40635 CXXFLAGS
="$ac_save_CXXFLAGS"
40636 LIBS
="$ac_save_LIBS"
40639 if test "x$no_sdl" = x
; then
40640 echo "$as_me:$LINENO: result: yes" >&5
40641 echo "${ECHO_T}yes" >&6
40643 EXTRALIBS_SDL
="$SDL_LIBS"
40644 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40645 cat >>confdefs.h
<<\_ACEOF
40646 #define wxUSE_LIBSDL 1
40651 echo "$as_me:$LINENO: result: no" >&5
40652 echo "${ECHO_T}no" >&6
40653 if test "$SDL_CONFIG" = "no" ; then
40654 echo "*** The sdl-config script installed by SDL could not be found"
40655 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40656 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40657 echo "*** full path to sdl-config."
40659 if test -f conf.sdltest
; then
40662 echo "*** Could not run SDL test program, checking why..."
40663 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40664 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40665 LIBS
="$LIBS $SDL_LIBS"
40666 cat >conftest.
$ac_ext <<_ACEOF
40669 cat confdefs.h
>>conftest.
$ac_ext
40670 cat >>conftest.
$ac_ext <<_ACEOF
40671 /* end confdefs.h. */
40676 int main(int argc, char *argv[])
40679 #define main K_and_R_C_main
40689 rm -f conftest.
$ac_objext conftest
$ac_exeext
40690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40691 (eval $ac_link) 2>conftest.er1
40693 grep -v '^ *+' conftest.er1
>conftest.err
40695 cat conftest.err
>&5
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); } &&
40698 { ac_try
='test -z "$ac_c_werror_flag"
40699 || test ! -s conftest.err'
40700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40701 (eval $ac_try) 2>&5
40703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40704 (exit $ac_status); }; } &&
40705 { ac_try
='test -s conftest$ac_exeext'
40706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40707 (eval $ac_try) 2>&5
40709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40710 (exit $ac_status); }; }; then
40711 echo "*** The test program compiled, but did not run. This usually means"
40712 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40713 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40714 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40715 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40716 echo "*** is required on your system"
40718 echo "*** If you have an old version installed, it is best to remove it, although"
40719 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40721 echo "$as_me: failed program was:" >&5
40722 sed 's/^/| /' conftest.
$ac_ext >&5
40724 echo "*** The test program failed to compile or link. See the file config.log for the"
40725 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40726 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40727 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40729 rm -f conftest.err conftest.
$ac_objext \
40730 conftest
$ac_exeext conftest.
$ac_ext
40731 CFLAGS
="$ac_save_CFLAGS"
40732 CXXFLAGS
="$ac_save_CXXFLAGS"
40733 LIBS
="$ac_save_LIBS"
40744 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40750 cat >>confdefs.h
<<\_ACEOF
40751 #define wxUSE_SOUND 1
40754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
40757 if test "$WXGTK20" = 1; then
40758 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40759 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40764 if test -z "$PKG_CONFIG"; then
40765 # Extract the first word of "pkg-config", so it can be a program name with args.
40766 set dummy pkg
-config; ac_word
=$2
40767 echo "$as_me:$LINENO: checking for $ac_word" >&5
40768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40769 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40770 echo $ECHO_N "(cached) $ECHO_C" >&6
40772 case $PKG_CONFIG in
40774 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40778 for as_dir
in $PATH
40781 test -z "$as_dir" && as_dir
=.
40782 for ac_exec_ext
in '' $ac_executable_extensions; do
40783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40784 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40791 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40795 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40797 if test -n "$PKG_CONFIG"; then
40798 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40799 echo "${ECHO_T}$PKG_CONFIG" >&6
40801 echo "$as_me:$LINENO: result: no" >&5
40802 echo "${ECHO_T}no" >&6
40807 if test "$PKG_CONFIG" = "no" ; then
40808 echo "*** The pkg-config script could not be found. Make sure it is"
40809 echo "*** in your path, or set the PKG_CONFIG environment variable"
40810 echo "*** to the full path to pkg-config."
40811 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40813 PKG_CONFIG_MIN_VERSION
=0.9.0
40814 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40815 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40816 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40818 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40819 echo "$as_me:$LINENO: result: yes" >&5
40820 echo "${ECHO_T}yes" >&6
40823 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40824 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40825 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40826 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40827 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40829 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40830 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40831 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40832 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40833 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40835 LIBGNOMEPRINTUI_CFLAGS
=""
40836 LIBGNOMEPRINTUI_LIBS
=""
40837 ## If we have a custom action on failure, don't print errors, but
40838 ## do set a variable so people can do so.
40839 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40846 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40847 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40851 if test $succeeded = yes; then
40853 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40854 cat >>confdefs.h
<<\_ACEOF
40855 #define wxUSE_LIBGNOMEPRINT 1
40861 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40862 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40863 wxUSE_LIBGNOMEPRINT
="no"
40872 if test "$WXGTK20" = 1; then
40873 if test "$wxUSE_LIBHILDON" = "yes" ; then
40877 if test -z "$PKG_CONFIG"; then
40878 # Extract the first word of "pkg-config", so it can be a program name with args.
40879 set dummy pkg
-config; ac_word
=$2
40880 echo "$as_me:$LINENO: checking for $ac_word" >&5
40881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40882 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40883 echo $ECHO_N "(cached) $ECHO_C" >&6
40885 case $PKG_CONFIG in
40887 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40891 for as_dir
in $PATH
40894 test -z "$as_dir" && as_dir
=.
40895 for ac_exec_ext
in '' $ac_executable_extensions; do
40896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40897 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40904 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40908 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40910 if test -n "$PKG_CONFIG"; then
40911 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40912 echo "${ECHO_T}$PKG_CONFIG" >&6
40914 echo "$as_me:$LINENO: result: no" >&5
40915 echo "${ECHO_T}no" >&6
40920 if test "$PKG_CONFIG" = "no" ; then
40921 echo "*** The pkg-config script could not be found. Make sure it is"
40922 echo "*** in your path, or set the PKG_CONFIG environment variable"
40923 echo "*** to the full path to pkg-config."
40924 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40926 PKG_CONFIG_MIN_VERSION
=0.9.0
40927 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40928 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
40929 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
40931 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
40932 echo "$as_me:$LINENO: result: yes" >&5
40933 echo "${ECHO_T}yes" >&6
40936 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
40937 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
40938 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
40939 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
40940 echo "${ECHO_T}$HILDON_CFLAGS" >&6
40942 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
40943 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
40944 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
40945 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
40946 echo "${ECHO_T}$HILDON_LIBS" >&6
40950 ## If we have a custom action on failure, don't print errors, but
40951 ## do set a variable so people can do so.
40952 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
40959 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40960 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40964 if test $succeeded = yes; then
40966 EXTRALIBS_HILDON
="$HILDON_LIBS"
40967 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
40968 cat >>confdefs.h
<<\_ACEOF
40969 #define wxUSE_LIBHILDON 1
40975 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
40976 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
40977 wxUSE_LIBHILDON
="no"
40985 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
40986 cat >>confdefs.h
<<\_ACEOF
40987 #define wxUSE_CMDLINE_PARSER 1
40992 if test "$wxUSE_STOPWATCH" = "yes"; then
40993 cat >>confdefs.h
<<\_ACEOF
40994 #define wxUSE_STOPWATCH 1
40999 if test "$wxUSE_DATETIME" = "yes"; then
41000 cat >>confdefs.h
<<\_ACEOF
41001 #define wxUSE_DATETIME 1
41006 if test "$wxUSE_FILE" = "yes"; then
41007 cat >>confdefs.h
<<\_ACEOF
41008 #define wxUSE_FILE 1
41013 if test "$wxUSE_FFILE" = "yes"; then
41014 cat >>confdefs.h
<<\_ACEOF
41015 #define wxUSE_FFILE 1
41020 if test "$wxUSE_FILESYSTEM" = "yes"; then
41021 cat >>confdefs.h
<<\_ACEOF
41022 #define wxUSE_FILESYSTEM 1
41027 if test "$wxUSE_FS_ZIP" = "yes"; then
41028 cat >>confdefs.h
<<\_ACEOF
41029 #define wxUSE_FS_ZIP 1
41034 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41035 cat >>confdefs.h
<<\_ACEOF
41036 #define wxUSE_ARCHIVE_STREAMS 1
41041 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41042 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41043 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41044 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41045 elif test "$wxUSE_ZLIB" = "no"; then
41046 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41047 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41049 cat >>confdefs.h
<<\_ACEOF
41050 #define wxUSE_ZIPSTREAM 1
41056 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41057 if test "$USE_UNIX" != 1; then
41058 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41059 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41060 wxUSE_ON_FATAL_EXCEPTION
=no
41062 cat >>confdefs.h
<<\_ACEOF
41063 #define wxUSE_ON_FATAL_EXCEPTION 1
41069 if test "$wxUSE_STACKWALKER" = "yes"; then
41070 cat >>confdefs.h
<<\_ACEOF
41071 #define wxUSE_STACKWALKER 1
41076 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41077 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41078 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41079 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41080 wxUSE_DEBUGREPORT
=no
41082 cat >>confdefs.h
<<\_ACEOF
41083 #define wxUSE_DEBUGREPORT 1
41086 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41092 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41093 cat >>confdefs.h
<<\_ACEOF
41094 #define wxUSE_SNGLINST_CHECKER 1
41099 if test "$wxUSE_BUSYINFO" = "yes"; then
41100 cat >>confdefs.h
<<\_ACEOF
41101 #define wxUSE_BUSYINFO 1
41106 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41107 cat >>confdefs.h
<<\_ACEOF
41108 #define wxUSE_STD_IOSTREAM 1
41113 if test "$wxUSE_STD_STRING" = "yes"; then
41114 cat >>confdefs.h
<<\_ACEOF
41115 #define wxUSE_STD_STRING 1
41120 if test "$wxUSE_STDPATHS" = "yes"; then
41121 cat >>confdefs.h
<<\_ACEOF
41122 #define wxUSE_STDPATHS 1
41127 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41128 cat >>confdefs.h
<<\_ACEOF
41129 #define wxUSE_TEXTBUFFER 1
41134 if test "$wxUSE_TEXTFILE" = "yes"; then
41135 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41136 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41137 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41139 cat >>confdefs.h
<<\_ACEOF
41140 #define wxUSE_TEXTFILE 1
41146 if test "$wxUSE_CONFIG" = "yes" ; then
41147 if test "$wxUSE_TEXTFILE" != "yes"; then
41148 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41149 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41151 cat >>confdefs.h
<<\_ACEOF
41152 #define wxUSE_CONFIG 1
41155 cat >>confdefs.h
<<\_ACEOF
41156 #define wxUSE_CONFIG_NATIVE 1
41159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41163 if test "$wxUSE_INTL" = "yes" ; then
41164 if test "$wxUSE_FILE" != "yes"; then
41165 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41166 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41168 cat >>confdefs.h
<<\_ACEOF
41169 #define wxUSE_INTL 1
41172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41173 GUIDIST
="$GUIDIST INTL_DIST"
41177 if test "$wxUSE_LOG" = "yes"; then
41178 cat >>confdefs.h
<<\_ACEOF
41179 #define wxUSE_LOG 1
41183 if test "$wxUSE_LOGGUI" = "yes"; then
41184 cat >>confdefs.h
<<\_ACEOF
41185 #define wxUSE_LOGGUI 1
41190 if test "$wxUSE_LOGWINDOW" = "yes"; then
41191 cat >>confdefs.h
<<\_ACEOF
41192 #define wxUSE_LOGWINDOW 1
41197 if test "$wxUSE_LOGDIALOG" = "yes"; then
41198 cat >>confdefs.h
<<\_ACEOF
41199 #define wxUSE_LOG_DIALOG 1
41204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41207 if test "$wxUSE_LONGLONG" = "yes"; then
41208 cat >>confdefs.h
<<\_ACEOF
41209 #define wxUSE_LONGLONG 1
41214 if test "$wxUSE_GEOMETRY" = "yes"; then
41215 cat >>confdefs.h
<<\_ACEOF
41216 #define wxUSE_GEOMETRY 1
41221 if test "$wxUSE_STREAMS" = "yes" ; then
41222 cat >>confdefs.h
<<\_ACEOF
41223 #define wxUSE_STREAMS 1
41229 if test "$wxUSE_DATETIME" = "yes"; then
41231 for ac_func
in strptime
41233 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41234 echo "$as_me:$LINENO: checking for $ac_func" >&5
41235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41236 if eval "test \"\${$as_ac_var+set}\" = set"; then
41237 echo $ECHO_N "(cached) $ECHO_C" >&6
41239 cat >conftest.
$ac_ext <<_ACEOF
41242 cat confdefs.h
>>conftest.
$ac_ext
41243 cat >>conftest.
$ac_ext <<_ACEOF
41244 /* end confdefs.h. */
41245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41247 #define $ac_func innocuous_$ac_func
41249 /* System header to define __stub macros and hopefully few prototypes,
41250 which can conflict with char $ac_func (); below.
41251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41252 <limits.h> exists even on freestanding compilers. */
41255 # include <limits.h>
41257 # include <assert.h>
41262 /* Override any gcc2 internal prototype to avoid an error. */
41267 /* We use char because int might match the return type of a gcc2
41268 builtin and then its argument prototype would still apply. */
41270 /* The GNU C library defines this for functions which it implements
41271 to always fail with ENOSYS. Some functions are actually named
41272 something starting with __ and the normal name is an alias. */
41273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41276 char (*f) () = $ac_func;
41285 return f != $ac_func;
41290 rm -f conftest.
$ac_objext conftest
$ac_exeext
41291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41292 (eval $ac_link) 2>conftest.er1
41294 grep -v '^ *+' conftest.er1
>conftest.err
41296 cat conftest.err
>&5
41297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41298 (exit $ac_status); } &&
41299 { ac_try
='test -z "$ac_c_werror_flag"
41300 || test ! -s conftest.err'
41301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41302 (eval $ac_try) 2>&5
41304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41305 (exit $ac_status); }; } &&
41306 { ac_try
='test -s conftest$ac_exeext'
41307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41308 (eval $ac_try) 2>&5
41310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41311 (exit $ac_status); }; }; then
41312 eval "$as_ac_var=yes"
41314 echo "$as_me: failed program was:" >&5
41315 sed 's/^/| /' conftest.
$ac_ext >&5
41317 eval "$as_ac_var=no"
41319 rm -f conftest.err conftest.
$ac_objext \
41320 conftest
$ac_exeext conftest.
$ac_ext
41322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41324 if test `eval echo '${'$as_ac_var'}'` = yes; then
41325 cat >>confdefs.h
<<_ACEOF
41326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41332 if test "$ac_cv_func_strptime" = "yes"; then
41333 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41334 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41335 if test "${wx_cv_func_strptime_decl+set}" = set; then
41336 echo $ECHO_N "(cached) $ECHO_C" >&6
41342 ac_cpp
='$CXXCPP $CPPFLAGS'
41343 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41344 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41345 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41347 cat >conftest.
$ac_ext <<_ACEOF
41350 cat confdefs.h
>>conftest.
$ac_ext
41351 cat >>conftest.
$ac_ext <<_ACEOF
41352 /* end confdefs.h. */
41361 strptime("foo", "bar", &t);
41367 rm -f conftest.
$ac_objext
41368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41369 (eval $ac_compile) 2>conftest.er1
41371 grep -v '^ *+' conftest.er1
>conftest.err
41373 cat conftest.err
>&5
41374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375 (exit $ac_status); } &&
41376 { ac_try
='test -z "$ac_cxx_werror_flag"
41377 || test ! -s conftest.err'
41378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41379 (eval $ac_try) 2>&5
41381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41382 (exit $ac_status); }; } &&
41383 { ac_try
='test -s conftest.$ac_objext'
41384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41385 (eval $ac_try) 2>&5
41387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41388 (exit $ac_status); }; }; then
41389 wx_cv_func_strptime_decl
=yes
41391 echo "$as_me: failed program was:" >&5
41392 sed 's/^/| /' conftest.
$ac_ext >&5
41394 wx_cv_func_strptime_decl
=no
41397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41399 ac_cpp
='$CPP $CPPFLAGS'
41400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41407 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41408 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41410 if test "$wx_cv_func_strptime_decl" = "yes"; then
41411 cat >>confdefs.h
<<\_ACEOF
41412 #define HAVE_STRPTIME_DECL 1
41417 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41418 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41419 if test "${wx_cv_var_timezone+set}" = set; then
41420 echo $ECHO_N "(cached) $ECHO_C" >&6
41423 cat >conftest.
$ac_ext <<_ACEOF
41426 cat confdefs.h
>>conftest.
$ac_ext
41427 cat >>conftest.
$ac_ext <<_ACEOF
41428 /* end confdefs.h. */
41443 rm -f conftest.
$ac_objext
41444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41445 (eval $ac_compile) 2>conftest.er1
41447 grep -v '^ *+' conftest.er1
>conftest.err
41449 cat conftest.err
>&5
41450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451 (exit $ac_status); } &&
41452 { ac_try
='test -z "$ac_c_werror_flag"
41453 || test ! -s conftest.err'
41454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41455 (eval $ac_try) 2>&5
41457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41458 (exit $ac_status); }; } &&
41459 { ac_try
='test -s conftest.$ac_objext'
41460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41461 (eval $ac_try) 2>&5
41463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41464 (exit $ac_status); }; }; then
41466 wx_cv_var_timezone
=timezone
41469 echo "$as_me: failed program was:" >&5
41470 sed 's/^/| /' conftest.
$ac_ext >&5
41473 cat >conftest.
$ac_ext <<_ACEOF
41476 cat confdefs.h
>>conftest.
$ac_ext
41477 cat >>conftest.
$ac_ext <<_ACEOF
41478 /* end confdefs.h. */
41493 rm -f conftest.
$ac_objext
41494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41495 (eval $ac_compile) 2>conftest.er1
41497 grep -v '^ *+' conftest.er1
>conftest.err
41499 cat conftest.err
>&5
41500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501 (exit $ac_status); } &&
41502 { ac_try
='test -z "$ac_c_werror_flag"
41503 || test ! -s conftest.err'
41504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41505 (eval $ac_try) 2>&5
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); }; } &&
41509 { ac_try
='test -s conftest.$ac_objext'
41510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41511 (eval $ac_try) 2>&5
41513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41514 (exit $ac_status); }; }; then
41516 wx_cv_var_timezone
=_timezone
41519 echo "$as_me: failed program was:" >&5
41520 sed 's/^/| /' conftest.
$ac_ext >&5
41523 cat >conftest.
$ac_ext <<_ACEOF
41526 cat confdefs.h
>>conftest.
$ac_ext
41527 cat >>conftest.
$ac_ext <<_ACEOF
41528 /* end confdefs.h. */
41543 rm -f conftest.
$ac_objext
41544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41545 (eval $ac_compile) 2>conftest.er1
41547 grep -v '^ *+' conftest.er1
>conftest.err
41549 cat conftest.err
>&5
41550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41551 (exit $ac_status); } &&
41552 { ac_try
='test -z "$ac_c_werror_flag"
41553 || test ! -s conftest.err'
41554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41555 (eval $ac_try) 2>&5
41557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41558 (exit $ac_status); }; } &&
41559 { ac_try
='test -s conftest.$ac_objext'
41560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41561 (eval $ac_try) 2>&5
41563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41564 (exit $ac_status); }; }; then
41566 wx_cv_var_timezone
=__timezone
41569 echo "$as_me: failed program was:" >&5
41570 sed 's/^/| /' conftest.
$ac_ext >&5
41573 if test "$USE_DOS" = 0 ; then
41574 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41575 echo "$as_me: WARNING: no timezone variable" >&2;}
41580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41584 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41592 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41593 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41595 if test "x$wx_cv_var_timezone" != x
; then
41596 cat >>confdefs.h
<<_ACEOF
41597 #define WX_TIMEZONE $wx_cv_var_timezone
41603 for ac_func
in localtime
41605 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41606 echo "$as_me:$LINENO: checking for $ac_func" >&5
41607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41608 if eval "test \"\${$as_ac_var+set}\" = set"; then
41609 echo $ECHO_N "(cached) $ECHO_C" >&6
41611 cat >conftest.
$ac_ext <<_ACEOF
41614 cat confdefs.h
>>conftest.
$ac_ext
41615 cat >>conftest.
$ac_ext <<_ACEOF
41616 /* end confdefs.h. */
41617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41619 #define $ac_func innocuous_$ac_func
41621 /* System header to define __stub macros and hopefully few prototypes,
41622 which can conflict with char $ac_func (); below.
41623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41624 <limits.h> exists even on freestanding compilers. */
41627 # include <limits.h>
41629 # include <assert.h>
41634 /* Override any gcc2 internal prototype to avoid an error. */
41639 /* We use char because int might match the return type of a gcc2
41640 builtin and then its argument prototype would still apply. */
41642 /* The GNU C library defines this for functions which it implements
41643 to always fail with ENOSYS. Some functions are actually named
41644 something starting with __ and the normal name is an alias. */
41645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41648 char (*f) () = $ac_func;
41657 return f != $ac_func;
41662 rm -f conftest.
$ac_objext conftest
$ac_exeext
41663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41664 (eval $ac_link) 2>conftest.er1
41666 grep -v '^ *+' conftest.er1
>conftest.err
41668 cat conftest.err
>&5
41669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41670 (exit $ac_status); } &&
41671 { ac_try
='test -z "$ac_c_werror_flag"
41672 || test ! -s conftest.err'
41673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41674 (eval $ac_try) 2>&5
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); }; } &&
41678 { ac_try
='test -s conftest$ac_exeext'
41679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41680 (eval $ac_try) 2>&5
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); }; }; then
41684 eval "$as_ac_var=yes"
41686 echo "$as_me: failed program was:" >&5
41687 sed 's/^/| /' conftest.
$ac_ext >&5
41689 eval "$as_ac_var=no"
41691 rm -f conftest.err conftest.
$ac_objext \
41692 conftest
$ac_exeext conftest.
$ac_ext
41694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41696 if test `eval echo '${'$as_ac_var'}'` = yes; then
41697 cat >>confdefs.h
<<_ACEOF
41698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41705 if test "$ac_cv_func_localtime" = "yes"; then
41706 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41707 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41708 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41709 echo $ECHO_N "(cached) $ECHO_C" >&6
41712 cat >conftest.
$ac_ext <<_ACEOF
41715 cat confdefs.h
>>conftest.
$ac_ext
41716 cat >>conftest.
$ac_ext <<_ACEOF
41717 /* end confdefs.h. */
41732 rm -f conftest.
$ac_objext
41733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41734 (eval $ac_compile) 2>conftest.er1
41736 grep -v '^ *+' conftest.er1
>conftest.err
41738 cat conftest.err
>&5
41739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41740 (exit $ac_status); } &&
41741 { ac_try
='test -z "$ac_c_werror_flag"
41742 || test ! -s conftest.err'
41743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41744 (eval $ac_try) 2>&5
41746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41747 (exit $ac_status); }; } &&
41748 { ac_try
='test -s conftest.$ac_objext'
41749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41750 (eval $ac_try) 2>&5
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); }; }; then
41755 wx_cv_struct_tm_has_gmtoff
=yes
41758 echo "$as_me: failed program was:" >&5
41759 sed 's/^/| /' conftest.
$ac_ext >&5
41761 wx_cv_struct_tm_has_gmtoff
=no
41764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41767 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41768 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41771 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41772 cat >>confdefs.h
<<\_ACEOF
41773 #define WX_GMTOFF_IN_TM 1
41780 for ac_func
in gettimeofday ftime
41782 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41783 echo "$as_me:$LINENO: checking for $ac_func" >&5
41784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41785 if eval "test \"\${$as_ac_var+set}\" = set"; then
41786 echo $ECHO_N "(cached) $ECHO_C" >&6
41788 cat >conftest.
$ac_ext <<_ACEOF
41791 cat confdefs.h
>>conftest.
$ac_ext
41792 cat >>conftest.
$ac_ext <<_ACEOF
41793 /* end confdefs.h. */
41794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41796 #define $ac_func innocuous_$ac_func
41798 /* System header to define __stub macros and hopefully few prototypes,
41799 which can conflict with char $ac_func (); below.
41800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41801 <limits.h> exists even on freestanding compilers. */
41804 # include <limits.h>
41806 # include <assert.h>
41811 /* Override any gcc2 internal prototype to avoid an error. */
41816 /* We use char because int might match the return type of a gcc2
41817 builtin and then its argument prototype would still apply. */
41819 /* The GNU C library defines this for functions which it implements
41820 to always fail with ENOSYS. Some functions are actually named
41821 something starting with __ and the normal name is an alias. */
41822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41825 char (*f) () = $ac_func;
41834 return f != $ac_func;
41839 rm -f conftest.
$ac_objext conftest
$ac_exeext
41840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41841 (eval $ac_link) 2>conftest.er1
41843 grep -v '^ *+' conftest.er1
>conftest.err
41845 cat conftest.err
>&5
41846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41847 (exit $ac_status); } &&
41848 { ac_try
='test -z "$ac_c_werror_flag"
41849 || test ! -s conftest.err'
41850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41851 (eval $ac_try) 2>&5
41853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854 (exit $ac_status); }; } &&
41855 { ac_try
='test -s conftest$ac_exeext'
41856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41857 (eval $ac_try) 2>&5
41859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860 (exit $ac_status); }; }; then
41861 eval "$as_ac_var=yes"
41863 echo "$as_me: failed program was:" >&5
41864 sed 's/^/| /' conftest.
$ac_ext >&5
41866 eval "$as_ac_var=no"
41868 rm -f conftest.err conftest.
$ac_objext \
41869 conftest
$ac_exeext conftest.
$ac_ext
41871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41873 if test `eval echo '${'$as_ac_var'}'` = yes; then
41874 cat >>confdefs.h
<<_ACEOF
41875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41882 if test "$ac_cv_func_gettimeofday" = "yes"; then
41883 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
41884 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
41885 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
41886 echo $ECHO_N "(cached) $ECHO_C" >&6
41892 ac_cpp
='$CXXCPP $CPPFLAGS'
41893 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41894 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41895 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41898 cat >conftest.
$ac_ext <<_ACEOF
41901 cat confdefs.h
>>conftest.
$ac_ext
41902 cat >>conftest.
$ac_ext <<_ACEOF
41903 /* end confdefs.h. */
41905 #include <sys/time.h>
41906 #include <unistd.h>
41913 gettimeofday(&tv, NULL);
41919 rm -f conftest.
$ac_objext
41920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41921 (eval $ac_compile) 2>conftest.er1
41923 grep -v '^ *+' conftest.er1
>conftest.err
41925 cat conftest.err
>&5
41926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41927 (exit $ac_status); } &&
41928 { ac_try
='test -z "$ac_cxx_werror_flag"
41929 || test ! -s conftest.err'
41930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41931 (eval $ac_try) 2>&5
41933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41934 (exit $ac_status); }; } &&
41935 { ac_try
='test -s conftest.$ac_objext'
41936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41937 (eval $ac_try) 2>&5
41939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940 (exit $ac_status); }; }; then
41941 wx_cv_func_gettimeofday_has_2_args
=yes
41943 echo "$as_me: failed program was:" >&5
41944 sed 's/^/| /' conftest.
$ac_ext >&5
41946 cat >conftest.
$ac_ext <<_ACEOF
41949 cat confdefs.h
>>conftest.
$ac_ext
41950 cat >>conftest.
$ac_ext <<_ACEOF
41951 /* end confdefs.h. */
41953 #include <sys/time.h>
41954 #include <unistd.h>
41967 rm -f conftest.
$ac_objext
41968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41969 (eval $ac_compile) 2>conftest.er1
41971 grep -v '^ *+' conftest.er1
>conftest.err
41973 cat conftest.err
>&5
41974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41975 (exit $ac_status); } &&
41976 { ac_try
='test -z "$ac_cxx_werror_flag"
41977 || test ! -s conftest.err'
41978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41979 (eval $ac_try) 2>&5
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); }; } &&
41983 { ac_try
='test -s conftest.$ac_objext'
41984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41985 (eval $ac_try) 2>&5
41987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41988 (exit $ac_status); }; }; then
41989 wx_cv_func_gettimeofday_has_2_args
=no
41991 echo "$as_me: failed program was:" >&5
41992 sed 's/^/| /' conftest.
$ac_ext >&5
41995 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
41996 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
41997 wx_cv_func_gettimeofday_has_2_args
=unknown
42001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42006 ac_cpp
='$CPP $CPPFLAGS'
42007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42013 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42014 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42016 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42017 cat >>confdefs.h
<<\_ACEOF
42018 #define WX_GETTIMEOFDAY_NO_TZ 1
42024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42028 if test "$wxUSE_SOCKETS" = "yes"; then
42029 if test "$wxUSE_MGL" = "1"; then
42030 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42031 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42036 if test "$wxUSE_SOCKETS" = "yes"; then
42037 if test "$TOOLKIT" != "MSW"; then
42038 echo "$as_me:$LINENO: checking for socket" >&5
42039 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42040 if test "${ac_cv_func_socket+set}" = set; then
42041 echo $ECHO_N "(cached) $ECHO_C" >&6
42043 cat >conftest.
$ac_ext <<_ACEOF
42046 cat confdefs.h
>>conftest.
$ac_ext
42047 cat >>conftest.
$ac_ext <<_ACEOF
42048 /* end confdefs.h. */
42049 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42051 #define socket innocuous_socket
42053 /* System header to define __stub macros and hopefully few prototypes,
42054 which can conflict with char socket (); below.
42055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42056 <limits.h> exists even on freestanding compilers. */
42059 # include <limits.h>
42061 # include <assert.h>
42066 /* Override any gcc2 internal prototype to avoid an error. */
42071 /* We use char because int might match the return type of a gcc2
42072 builtin and then its argument prototype would still apply. */
42074 /* The GNU C library defines this for functions which it implements
42075 to always fail with ENOSYS. Some functions are actually named
42076 something starting with __ and the normal name is an alias. */
42077 #if defined (__stub_socket) || defined (__stub___socket)
42080 char (*f) () = socket;
42089 return f != socket;
42094 rm -f conftest.
$ac_objext conftest
$ac_exeext
42095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42096 (eval $ac_link) 2>conftest.er1
42098 grep -v '^ *+' conftest.er1
>conftest.err
42100 cat conftest.err
>&5
42101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102 (exit $ac_status); } &&
42103 { ac_try
='test -z "$ac_c_werror_flag"
42104 || test ! -s conftest.err'
42105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42106 (eval $ac_try) 2>&5
42108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42109 (exit $ac_status); }; } &&
42110 { ac_try
='test -s conftest$ac_exeext'
42111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42112 (eval $ac_try) 2>&5
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); }; }; then
42116 ac_cv_func_socket
=yes
42118 echo "$as_me: failed program was:" >&5
42119 sed 's/^/| /' conftest.
$ac_ext >&5
42121 ac_cv_func_socket
=no
42123 rm -f conftest.err conftest.
$ac_objext \
42124 conftest
$ac_exeext conftest.
$ac_ext
42126 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42127 echo "${ECHO_T}$ac_cv_func_socket" >&6
42128 if test $ac_cv_func_socket = yes; then
42132 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42133 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42134 if test "${ac_cv_lib_socket_socket+set}" = set; then
42135 echo $ECHO_N "(cached) $ECHO_C" >&6
42137 ac_check_lib_save_LIBS
=$LIBS
42138 LIBS
="-lsocket $LIBS"
42139 cat >conftest.
$ac_ext <<_ACEOF
42142 cat confdefs.h
>>conftest.
$ac_ext
42143 cat >>conftest.
$ac_ext <<_ACEOF
42144 /* end confdefs.h. */
42146 /* Override any gcc2 internal prototype to avoid an error. */
42150 /* We use char because int might match the return type of a gcc2
42151 builtin and then its argument prototype would still apply. */
42161 rm -f conftest.
$ac_objext conftest
$ac_exeext
42162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42163 (eval $ac_link) 2>conftest.er1
42165 grep -v '^ *+' conftest.er1
>conftest.err
42167 cat conftest.err
>&5
42168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42169 (exit $ac_status); } &&
42170 { ac_try
='test -z "$ac_c_werror_flag"
42171 || test ! -s conftest.err'
42172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42173 (eval $ac_try) 2>&5
42175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42176 (exit $ac_status); }; } &&
42177 { ac_try
='test -s conftest$ac_exeext'
42178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42179 (eval $ac_try) 2>&5
42181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42182 (exit $ac_status); }; }; then
42183 ac_cv_lib_socket_socket
=yes
42185 echo "$as_me: failed program was:" >&5
42186 sed 's/^/| /' conftest.
$ac_ext >&5
42188 ac_cv_lib_socket_socket
=no
42190 rm -f conftest.err conftest.
$ac_objext \
42191 conftest
$ac_exeext conftest.
$ac_ext
42192 LIBS
=$ac_check_lib_save_LIBS
42194 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42195 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42196 if test $ac_cv_lib_socket_socket = yes; then
42197 if test "$INET_LINK" != " -lsocket"; then
42198 INET_LINK
="$INET_LINK -lsocket"
42202 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42203 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42216 if test "$wxUSE_SOCKETS" = "yes" ; then
42217 if test "$TOOLKIT" != "MSW"; then
42219 ac_cpp
='$CXXCPP $CPPFLAGS'
42220 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42221 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42222 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42224 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42225 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42226 if test "${wx_cv_type_getsockname3+set}" = set; then
42227 echo $ECHO_N "(cached) $ECHO_C" >&6
42230 cat >conftest.
$ac_ext <<_ACEOF
42233 cat confdefs.h
>>conftest.
$ac_ext
42234 cat >>conftest.
$ac_ext <<_ACEOF
42235 /* end confdefs.h. */
42237 #include <sys/types.h>
42238 #include <sys/socket.h>
42245 getsockname(0, 0, &len);
42251 rm -f conftest.
$ac_objext
42252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42253 (eval $ac_compile) 2>conftest.er1
42255 grep -v '^ *+' conftest.er1
>conftest.err
42257 cat conftest.err
>&5
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); } &&
42260 { ac_try
='test -z "$ac_cxx_werror_flag"
42261 || test ! -s conftest.err'
42262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42263 (eval $ac_try) 2>&5
42265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42266 (exit $ac_status); }; } &&
42267 { ac_try
='test -s conftest.$ac_objext'
42268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42269 (eval $ac_try) 2>&5
42271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42272 (exit $ac_status); }; }; then
42273 wx_cv_type_getsockname3
=socklen_t
42275 echo "$as_me: failed program was:" >&5
42276 sed 's/^/| /' conftest.
$ac_ext >&5
42279 CXXFLAGS_OLD
="$CXXFLAGS"
42280 if test "$GCC" = yes ; then
42281 CXXFLAGS
="-Werror $CXXFLAGS"
42284 cat >conftest.
$ac_ext <<_ACEOF
42287 cat confdefs.h
>>conftest.
$ac_ext
42288 cat >>conftest.
$ac_ext <<_ACEOF
42289 /* end confdefs.h. */
42291 #include <sys/types.h>
42292 #include <sys/socket.h>
42299 getsockname(0, 0, &len);
42305 rm -f conftest.
$ac_objext
42306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42307 (eval $ac_compile) 2>conftest.er1
42309 grep -v '^ *+' conftest.er1
>conftest.err
42311 cat conftest.err
>&5
42312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42313 (exit $ac_status); } &&
42314 { ac_try
='test -z "$ac_cxx_werror_flag"
42315 || test ! -s conftest.err'
42316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42317 (eval $ac_try) 2>&5
42319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42320 (exit $ac_status); }; } &&
42321 { ac_try
='test -s conftest.$ac_objext'
42322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42323 (eval $ac_try) 2>&5
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); }; }; then
42327 wx_cv_type_getsockname3
=size_t
42329 echo "$as_me: failed program was:" >&5
42330 sed 's/^/| /' conftest.
$ac_ext >&5
42332 cat >conftest.
$ac_ext <<_ACEOF
42335 cat confdefs.h
>>conftest.
$ac_ext
42336 cat >>conftest.
$ac_ext <<_ACEOF
42337 /* end confdefs.h. */
42339 #include <sys/types.h>
42340 #include <sys/socket.h>
42347 getsockname(0, 0, &len);
42353 rm -f conftest.
$ac_objext
42354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42355 (eval $ac_compile) 2>conftest.er1
42357 grep -v '^ *+' conftest.er1
>conftest.err
42359 cat conftest.err
>&5
42360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42361 (exit $ac_status); } &&
42362 { ac_try
='test -z "$ac_cxx_werror_flag"
42363 || test ! -s conftest.err'
42364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42365 (eval $ac_try) 2>&5
42367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42368 (exit $ac_status); }; } &&
42369 { ac_try
='test -s conftest.$ac_objext'
42370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42371 (eval $ac_try) 2>&5
42373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374 (exit $ac_status); }; }; then
42375 wx_cv_type_getsockname3
=int
42377 echo "$as_me: failed program was:" >&5
42378 sed 's/^/| /' conftest.
$ac_ext >&5
42380 wx_cv_type_getsockname3
=unknown
42383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42388 CXXFLAGS
="$CXXFLAGS_OLD"
42392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42395 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42396 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42398 if test "$wx_cv_type_getsockname3" = "unknown"; then
42400 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42401 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42403 cat >>confdefs.h
<<_ACEOF
42404 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42408 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42409 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42410 if test "${wx_cv_type_getsockopt5+set}" = set; then
42411 echo $ECHO_N "(cached) $ECHO_C" >&6
42414 cat >conftest.
$ac_ext <<_ACEOF
42417 cat confdefs.h
>>conftest.
$ac_ext
42418 cat >>conftest.
$ac_ext <<_ACEOF
42419 /* end confdefs.h. */
42421 #include <sys/types.h>
42422 #include <sys/socket.h>
42429 getsockopt(0, 0, 0, 0, &len);
42435 rm -f conftest.
$ac_objext
42436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42437 (eval $ac_compile) 2>conftest.er1
42439 grep -v '^ *+' conftest.er1
>conftest.err
42441 cat conftest.err
>&5
42442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42443 (exit $ac_status); } &&
42444 { ac_try
='test -z "$ac_cxx_werror_flag"
42445 || test ! -s conftest.err'
42446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42447 (eval $ac_try) 2>&5
42449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42450 (exit $ac_status); }; } &&
42451 { ac_try
='test -s conftest.$ac_objext'
42452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42453 (eval $ac_try) 2>&5
42455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42456 (exit $ac_status); }; }; then
42457 wx_cv_type_getsockopt5
=socklen_t
42459 echo "$as_me: failed program was:" >&5
42460 sed 's/^/| /' conftest.
$ac_ext >&5
42463 CXXFLAGS_OLD
="$CXXFLAGS"
42464 if test "$GCC" = yes ; then
42465 CXXFLAGS
="-Werror $CXXFLAGS"
42468 cat >conftest.
$ac_ext <<_ACEOF
42471 cat confdefs.h
>>conftest.
$ac_ext
42472 cat >>conftest.
$ac_ext <<_ACEOF
42473 /* end confdefs.h. */
42475 #include <sys/types.h>
42476 #include <sys/socket.h>
42483 getsockopt(0, 0, 0, 0, &len);
42489 rm -f conftest.
$ac_objext
42490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42491 (eval $ac_compile) 2>conftest.er1
42493 grep -v '^ *+' conftest.er1
>conftest.err
42495 cat conftest.err
>&5
42496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42497 (exit $ac_status); } &&
42498 { ac_try
='test -z "$ac_cxx_werror_flag"
42499 || test ! -s conftest.err'
42500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42501 (eval $ac_try) 2>&5
42503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42504 (exit $ac_status); }; } &&
42505 { ac_try
='test -s conftest.$ac_objext'
42506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42507 (eval $ac_try) 2>&5
42509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42510 (exit $ac_status); }; }; then
42511 wx_cv_type_getsockopt5
=size_t
42513 echo "$as_me: failed program was:" >&5
42514 sed 's/^/| /' conftest.
$ac_ext >&5
42516 cat >conftest.
$ac_ext <<_ACEOF
42519 cat confdefs.h
>>conftest.
$ac_ext
42520 cat >>conftest.
$ac_ext <<_ACEOF
42521 /* end confdefs.h. */
42523 #include <sys/types.h>
42524 #include <sys/socket.h>
42531 getsockopt(0, 0, 0, 0, &len);
42537 rm -f conftest.
$ac_objext
42538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42539 (eval $ac_compile) 2>conftest.er1
42541 grep -v '^ *+' conftest.er1
>conftest.err
42543 cat conftest.err
>&5
42544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42545 (exit $ac_status); } &&
42546 { ac_try
='test -z "$ac_cxx_werror_flag"
42547 || test ! -s conftest.err'
42548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42549 (eval $ac_try) 2>&5
42551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42552 (exit $ac_status); }; } &&
42553 { ac_try
='test -s conftest.$ac_objext'
42554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42555 (eval $ac_try) 2>&5
42557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42558 (exit $ac_status); }; }; then
42559 wx_cv_type_getsockopt5
=int
42561 echo "$as_me: failed program was:" >&5
42562 sed 's/^/| /' conftest.
$ac_ext >&5
42564 wx_cv_type_getsockopt5
=unknown
42567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42572 CXXFLAGS
="$CXXFLAGS_OLD"
42576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42579 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42580 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42582 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42584 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42585 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42587 cat >>confdefs.h
<<_ACEOF
42588 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42593 ac_cpp
='$CPP $CPPFLAGS'
42594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42601 if test "$wxUSE_SOCKETS" = "yes" ; then
42602 cat >>confdefs.h
<<\_ACEOF
42603 #define wxUSE_SOCKETS 1
42606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
42609 if test "$wxUSE_PROTOCOL" = "yes"; then
42610 if test "$wxUSE_SOCKETS" != "yes"; then
42611 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42612 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42617 if test "$wxUSE_PROTOCOL" = "yes"; then
42618 cat >>confdefs.h
<<\_ACEOF
42619 #define wxUSE_PROTOCOL 1
42623 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42624 cat >>confdefs.h
<<\_ACEOF
42625 #define wxUSE_PROTOCOL_HTTP 1
42629 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42630 cat >>confdefs.h
<<\_ACEOF
42631 #define wxUSE_PROTOCOL_FTP 1
42635 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42636 cat >>confdefs.h
<<\_ACEOF
42637 #define wxUSE_PROTOCOL_FILE 1
42642 if test "$wxUSE_FS_INET" = "yes"; then
42643 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42644 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42649 if test "$wxUSE_URL" = "yes"; then
42650 if test "$wxUSE_PROTOCOL" != "yes"; then
42651 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42652 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42655 if test "$wxUSE_URL" = "yes"; then
42656 cat >>confdefs.h
<<\_ACEOF
42657 #define wxUSE_URL 1
42663 if test "$wxUSE_FS_INET" = "yes"; then
42664 cat >>confdefs.h
<<\_ACEOF
42665 #define wxUSE_FS_INET 1
42671 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42674 if test "$TOOLKIT" = "MSW"; then
42677 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42678 if test "$USE_DARWIN" = 1; then
42679 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42680 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42682 ac_cpp
='$CXXCPP $CPPFLAGS'
42683 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42684 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42685 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42687 cat >conftest.
$ac_ext <<_ACEOF
42690 cat confdefs.h
>>conftest.
$ac_ext
42691 cat >>conftest.
$ac_ext <<_ACEOF
42692 /* end confdefs.h. */
42693 #include <IOKit/hid/IOHIDLib.h>
42697 IOHIDQueueInterface *qi = NULL;
42698 IOHIDCallbackFunction cb = NULL;
42699 qi->setEventCallout(NULL, cb, NULL, NULL);
42704 rm -f conftest.
$ac_objext
42705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42706 (eval $ac_compile) 2>conftest.er1
42708 grep -v '^ *+' conftest.er1
>conftest.err
42710 cat conftest.err
>&5
42711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42712 (exit $ac_status); } &&
42713 { ac_try
='test -z "$ac_cxx_werror_flag"
42714 || test ! -s conftest.err'
42715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42716 (eval $ac_try) 2>&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); }; } &&
42720 { ac_try
='test -s conftest.$ac_objext'
42721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42722 (eval $ac_try) 2>&5
42724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42725 (exit $ac_status); }; }; then
42729 echo "$as_me: failed program was:" >&5
42730 sed 's/^/| /' conftest.
$ac_ext >&5
42733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42735 ac_cpp
='$CPP $CPPFLAGS'
42736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42740 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42741 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42746 for ac_header
in linux
/joystick.h
42748 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42750 echo "$as_me:$LINENO: checking for $ac_header" >&5
42751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42753 echo $ECHO_N "(cached) $ECHO_C" >&6
42755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42758 # Is the header compilable?
42759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42761 cat >conftest.
$ac_ext <<_ACEOF
42764 cat confdefs.h
>>conftest.
$ac_ext
42765 cat >>conftest.
$ac_ext <<_ACEOF
42766 /* end confdefs.h. */
42767 $ac_includes_default
42768 #include <$ac_header>
42770 rm -f conftest.
$ac_objext
42771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42772 (eval $ac_compile) 2>conftest.er1
42774 grep -v '^ *+' conftest.er1
>conftest.err
42776 cat conftest.err
>&5
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); } &&
42779 { ac_try
='test -z "$ac_c_werror_flag"
42780 || test ! -s conftest.err'
42781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42782 (eval $ac_try) 2>&5
42784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42785 (exit $ac_status); }; } &&
42786 { ac_try
='test -s conftest.$ac_objext'
42787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42788 (eval $ac_try) 2>&5
42790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42791 (exit $ac_status); }; }; then
42792 ac_header_compiler
=yes
42794 echo "$as_me: failed program was:" >&5
42795 sed 's/^/| /' conftest.
$ac_ext >&5
42797 ac_header_compiler
=no
42799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42801 echo "${ECHO_T}$ac_header_compiler" >&6
42803 # Is the header present?
42804 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42805 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42806 cat >conftest.
$ac_ext <<_ACEOF
42809 cat confdefs.h
>>conftest.
$ac_ext
42810 cat >>conftest.
$ac_ext <<_ACEOF
42811 /* end confdefs.h. */
42812 #include <$ac_header>
42814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42815 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
42817 grep -v '^ *+' conftest.er1
>conftest.err
42819 cat conftest.err
>&5
42820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42821 (exit $ac_status); } >/dev
/null
; then
42822 if test -s conftest.err
; then
42823 ac_cpp_err
=$ac_c_preproc_warn_flag
42824 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
42831 if test -z "$ac_cpp_err"; then
42832 ac_header_preproc
=yes
42834 echo "$as_me: failed program was:" >&5
42835 sed 's/^/| /' conftest.
$ac_ext >&5
42837 ac_header_preproc
=no
42839 rm -f conftest.err conftest.
$ac_ext
42840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42841 echo "${ECHO_T}$ac_header_preproc" >&6
42843 # So? What about this header?
42844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42846 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42847 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42849 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42850 ac_header_preproc
=yes
42853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42857 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42858 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42859 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42860 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42863 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42864 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42867 ## ----------------------------------------- ##
42868 ## Report this to wx-dev@lists.wxwidgets.org ##
42869 ## ----------------------------------------- ##
42872 sed "s/^/$as_me: WARNING: /" >&2
42875 echo "$as_me:$LINENO: checking for $ac_header" >&5
42876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42878 echo $ECHO_N "(cached) $ECHO_C" >&6
42880 eval "$as_ac_Header=\$ac_header_preproc"
42882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42887 cat >>confdefs.h
<<_ACEOF
42888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42897 if test "$wxUSE_JOYSTICK" = "yes"; then
42898 cat >>confdefs.h
<<\_ACEOF
42899 #define wxUSE_JOYSTICK 1
42902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
42904 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
42905 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
42911 if test "$wxUSE_FONTMAP" = "yes" ; then
42912 cat >>confdefs.h
<<\_ACEOF
42913 #define wxUSE_FONTMAP 1
42918 if test "$wxUSE_UNICODE" = "yes" ; then
42919 cat >>confdefs.h
<<\_ACEOF
42920 #define wxUSE_UNICODE 1
42924 if test "$USE_WIN32" != 1; then
42925 wxUSE_UNICODE_MSLU
=no
42928 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
42929 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
42930 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
42931 if test "${ac_cv_lib_unicows_main+set}" = set; then
42932 echo $ECHO_N "(cached) $ECHO_C" >&6
42934 ac_check_lib_save_LIBS
=$LIBS
42935 LIBS
="-lunicows $LIBS"
42936 cat >conftest.
$ac_ext <<_ACEOF
42939 cat confdefs.h
>>conftest.
$ac_ext
42940 cat >>conftest.
$ac_ext <<_ACEOF
42941 /* end confdefs.h. */
42952 rm -f conftest.
$ac_objext conftest
$ac_exeext
42953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42954 (eval $ac_link) 2>conftest.er1
42956 grep -v '^ *+' conftest.er1
>conftest.err
42958 cat conftest.err
>&5
42959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42960 (exit $ac_status); } &&
42961 { ac_try
='test -z "$ac_c_werror_flag"
42962 || test ! -s conftest.err'
42963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42964 (eval $ac_try) 2>&5
42966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42967 (exit $ac_status); }; } &&
42968 { ac_try
='test -s conftest$ac_exeext'
42969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42970 (eval $ac_try) 2>&5
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); }; }; then
42974 ac_cv_lib_unicows_main
=yes
42976 echo "$as_me: failed program was:" >&5
42977 sed 's/^/| /' conftest.
$ac_ext >&5
42979 ac_cv_lib_unicows_main
=no
42981 rm -f conftest.err conftest.
$ac_objext \
42982 conftest
$ac_exeext conftest.
$ac_ext
42983 LIBS
=$ac_check_lib_save_LIBS
42985 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
42986 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
42987 if test $ac_cv_lib_unicows_main = yes; then
42989 cat >>confdefs.h
<<\_ACEOF
42990 #define wxUSE_UNICODE_MSLU 1
42996 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42997 Applications will only run on Windows NT/2000/XP!" >&5
42998 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42999 Applications will only run on Windows NT/2000/XP!" >&2;}
43000 wxUSE_UNICODE_MSLU
=no
43007 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43008 cat >>confdefs.h
<<\_ACEOF
43009 #define wxUSE_EXPERIMENTAL_PRINTF 1
43015 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43016 cat >>confdefs.h
<<\_ACEOF
43017 #define wxUSE_POSTSCRIPT 1
43022 cat >>confdefs.h
<<\_ACEOF
43023 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43027 cat >>confdefs.h
<<\_ACEOF
43028 #define wxUSE_NORMALIZED_PS_FONTS 1
43033 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43034 cat >>confdefs.h
<<\_ACEOF
43035 #define wxUSE_CONSTRAINTS 1
43038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43041 if test "$wxUSE_MDI" = "yes"; then
43042 cat >>confdefs.h
<<\_ACEOF
43043 #define wxUSE_MDI 1
43047 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43048 cat >>confdefs.h
<<\_ACEOF
43049 #define wxUSE_MDI_ARCHITECTURE 1
43052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43056 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43057 cat >>confdefs.h
<<\_ACEOF
43058 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43062 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43067 if test "$wxUSE_HELP" = "yes"; then
43068 cat >>confdefs.h
<<\_ACEOF
43069 #define wxUSE_HELP 1
43072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43074 if test "$wxUSE_MSW" = 1; then
43075 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43076 cat >>confdefs.h
<<\_ACEOF
43077 #define wxUSE_MS_HTML_HELP 1
43083 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43084 if test "$wxUSE_HTML" = "yes"; then
43085 cat >>confdefs.h
<<\_ACEOF
43086 #define wxUSE_WXHTML_HELP 1
43090 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43091 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43092 wxUSE_WXHTML_HELP
=no
43097 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43098 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43099 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43100 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43102 cat >>confdefs.h
<<\_ACEOF
43103 #define wxUSE_PRINTING_ARCHITECTURE 1
43107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43110 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43111 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43112 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43113 { (exit 1); exit 1; }; }
43117 if test "$wxUSE_METAFILE" = "yes"; then
43118 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43119 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43120 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43126 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43127 -o "$wxUSE_CLIPBOARD" = "yes" \
43128 -o "$wxUSE_OLE" = "yes" \
43129 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43131 for ac_header
in ole2.h
43133 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43135 echo "$as_me:$LINENO: checking for $ac_header" >&5
43136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43138 echo $ECHO_N "(cached) $ECHO_C" >&6
43140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43143 # Is the header compilable?
43144 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43145 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43146 cat >conftest.
$ac_ext <<_ACEOF
43149 cat confdefs.h
>>conftest.
$ac_ext
43150 cat >>conftest.
$ac_ext <<_ACEOF
43151 /* end confdefs.h. */
43152 $ac_includes_default
43153 #include <$ac_header>
43155 rm -f conftest.
$ac_objext
43156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43157 (eval $ac_compile) 2>conftest.er1
43159 grep -v '^ *+' conftest.er1
>conftest.err
43161 cat conftest.err
>&5
43162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43163 (exit $ac_status); } &&
43164 { ac_try
='test -z "$ac_c_werror_flag"
43165 || test ! -s conftest.err'
43166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43167 (eval $ac_try) 2>&5
43169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43170 (exit $ac_status); }; } &&
43171 { ac_try
='test -s conftest.$ac_objext'
43172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43173 (eval $ac_try) 2>&5
43175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43176 (exit $ac_status); }; }; then
43177 ac_header_compiler
=yes
43179 echo "$as_me: failed program was:" >&5
43180 sed 's/^/| /' conftest.
$ac_ext >&5
43182 ac_header_compiler
=no
43184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43186 echo "${ECHO_T}$ac_header_compiler" >&6
43188 # Is the header present?
43189 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43190 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43191 cat >conftest.
$ac_ext <<_ACEOF
43194 cat confdefs.h
>>conftest.
$ac_ext
43195 cat >>conftest.
$ac_ext <<_ACEOF
43196 /* end confdefs.h. */
43197 #include <$ac_header>
43199 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43200 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43202 grep -v '^ *+' conftest.er1
>conftest.err
43204 cat conftest.err
>&5
43205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43206 (exit $ac_status); } >/dev
/null
; then
43207 if test -s conftest.err
; then
43208 ac_cpp_err
=$ac_c_preproc_warn_flag
43209 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
43216 if test -z "$ac_cpp_err"; then
43217 ac_header_preproc
=yes
43219 echo "$as_me: failed program was:" >&5
43220 sed 's/^/| /' conftest.
$ac_ext >&5
43222 ac_header_preproc
=no
43224 rm -f conftest.err conftest.
$ac_ext
43225 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43226 echo "${ECHO_T}$ac_header_preproc" >&6
43228 # So? What about this header?
43229 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43231 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43232 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43234 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43235 ac_header_preproc
=yes
43238 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43239 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43240 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43241 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43242 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43243 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43244 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43245 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43246 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43247 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43248 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43249 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43252 ## ----------------------------------------- ##
43253 ## Report this to wx-dev@lists.wxwidgets.org ##
43254 ## ----------------------------------------- ##
43257 sed "s/^/$as_me: WARNING: /" >&2
43260 echo "$as_me:$LINENO: checking for $ac_header" >&5
43261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43263 echo $ECHO_N "(cached) $ECHO_C" >&6
43265 eval "$as_ac_Header=\$ac_header_preproc"
43267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43272 cat >>confdefs.h
<<_ACEOF
43273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43281 if test "$ac_cv_header_ole2_h" = "yes" ; then
43282 if test "$GCC" = yes ; then
43286 ac_cpp
='$CXXCPP $CPPFLAGS'
43287 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43288 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43289 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43292 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43293 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43294 cat >conftest.
$ac_ext <<_ACEOF
43297 cat confdefs.h
>>conftest.
$ac_ext
43298 cat >>conftest.
$ac_ext <<_ACEOF
43299 /* end confdefs.h. */
43300 #include <windows.h>
43310 rm -f conftest.
$ac_objext
43311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43312 (eval $ac_compile) 2>conftest.er1
43314 grep -v '^ *+' conftest.er1
>conftest.err
43316 cat conftest.err
>&5
43317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43318 (exit $ac_status); } &&
43319 { ac_try
='test -z "$ac_cxx_werror_flag"
43320 || test ! -s conftest.err'
43321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43322 (eval $ac_try) 2>&5
43324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43325 (exit $ac_status); }; } &&
43326 { ac_try
='test -s conftest.$ac_objext'
43327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43328 (eval $ac_try) 2>&5
43330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43331 (exit $ac_status); }; }; then
43332 echo "$as_me:$LINENO: result: no" >&5
43333 echo "${ECHO_T}no" >&6
43335 echo "$as_me: failed program was:" >&5
43336 sed 's/^/| /' conftest.
$ac_ext >&5
43338 echo "$as_me:$LINENO: result: yes" >&5
43339 echo "${ECHO_T}yes" >&6
43340 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43344 ac_cpp
='$CPP $CPPFLAGS'
43345 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43346 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43347 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43349 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43350 if test "$wxUSE_OLE" = "yes" ; then
43351 cat >>confdefs.h
<<\_ACEOF
43352 #define wxUSE_OLE 1
43355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43359 if test "$wxUSE_DATAOBJ" = "yes" ; then
43360 cat >>confdefs.h
<<\_ACEOF
43361 #define wxUSE_DATAOBJ 1
43366 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43367 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43370 wxUSE_DRAG_AND_DROP
=no
43375 if test "$wxUSE_METAFILE" = "yes"; then
43376 cat >>confdefs.h
<<\_ACEOF
43377 #define wxUSE_METAFILE 1
43381 cat >>confdefs.h
<<\_ACEOF
43382 #define wxUSE_ENH_METAFILE 1
43388 if test "$wxUSE_IPC" = "yes"; then
43389 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43390 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43391 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43395 if test "$wxUSE_IPC" = "yes"; then
43396 cat >>confdefs.h
<<\_ACEOF
43397 #define wxUSE_IPC 1
43400 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43404 if test "$wxUSE_DATAOBJ" = "yes"; then
43405 if test "$wxUSE_MGL" = 1; then
43406 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43407 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43410 cat >>confdefs.h
<<\_ACEOF
43411 #define wxUSE_DATAOBJ 1
43416 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43417 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43419 wxUSE_DRAG_AND_DROP
=no
43422 if test "$wxUSE_CLIPBOARD" = "yes"; then
43423 if test "$wxUSE_MGL" = 1; then
43424 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43425 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43429 if test "$wxUSE_CLIPBOARD" = "yes"; then
43430 cat >>confdefs.h
<<\_ACEOF
43431 #define wxUSE_CLIPBOARD 1
43437 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43438 if test "$wxUSE_GTK" = 1; then
43439 if test "$WXGTK12" != 1; then
43440 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43441 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43442 wxUSE_DRAG_AND_DROP
=no
43446 if test "$wxUSE_MOTIF" = 1; then
43447 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43448 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43449 wxUSE_DRAG_AND_DROP
=no
43452 if test "$wxUSE_X11" = 1; then
43453 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43454 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43455 wxUSE_DRAG_AND_DROP
=no
43458 if test "$wxUSE_MGL" = 1; then
43459 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43460 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43461 wxUSE_DRAG_AND_DROP
=no
43464 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43465 cat >>confdefs.h
<<\_ACEOF
43466 #define wxUSE_DRAG_AND_DROP 1
43473 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43477 if test "$wxUSE_SPLINES" = "yes" ; then
43478 cat >>confdefs.h
<<\_ACEOF
43479 #define wxUSE_SPLINES 1
43484 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43485 cat >>confdefs.h
<<\_ACEOF
43486 #define wxUSE_MOUSEWHEEL 1
43493 if test "$wxUSE_CONTROLS" = "yes"; then
43497 if test "$wxUSE_ACCEL" = "yes"; then
43498 cat >>confdefs.h
<<\_ACEOF
43499 #define wxUSE_ACCEL 1
43505 if test "$wxUSE_BUTTON" = "yes"; then
43506 cat >>confdefs.h
<<\_ACEOF
43507 #define wxUSE_BUTTON 1
43513 if test "$wxUSE_BMPBUTTON" = "yes"; then
43514 cat >>confdefs.h
<<\_ACEOF
43515 #define wxUSE_BMPBUTTON 1
43521 if test "$wxUSE_CALCTRL" = "yes"; then
43522 cat >>confdefs.h
<<\_ACEOF
43523 #define wxUSE_CALENDARCTRL 1
43527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43530 if test "$wxUSE_CARET" = "yes"; then
43531 cat >>confdefs.h
<<\_ACEOF
43532 #define wxUSE_CARET 1
43536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43539 if test "$wxUSE_COMBOBOX" = "yes"; then
43540 cat >>confdefs.h
<<\_ACEOF
43541 #define wxUSE_COMBOBOX 1
43547 if test "$wxUSE_CHOICE" = "yes"; then
43548 cat >>confdefs.h
<<\_ACEOF
43549 #define wxUSE_CHOICE 1
43555 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43556 cat >>confdefs.h
<<\_ACEOF
43557 #define wxUSE_CHOICEBOOK 1
43563 if test "$wxUSE_CHECKBOX" = "yes"; then
43564 cat >>confdefs.h
<<\_ACEOF
43565 #define wxUSE_CHECKBOX 1
43571 if test "$wxUSE_CHECKLST" = "yes"; then
43572 cat >>confdefs.h
<<\_ACEOF
43573 #define wxUSE_CHECKLISTBOX 1
43577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43580 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43581 cat >>confdefs.h
<<\_ACEOF
43582 #define wxUSE_DATEPICKCTRL 1
43588 if test "$wxUSE_DISPLAY" = "yes"; then
43589 cat >>confdefs.h
<<\_ACEOF
43590 #define wxUSE_DISPLAY 1
43593 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
43596 if test "$wxUSE_GAUGE" = "yes"; then
43597 cat >>confdefs.h
<<\_ACEOF
43598 #define wxUSE_GAUGE 1
43604 if test "$wxUSE_GRID" = "yes"; then
43605 cat >>confdefs.h
<<\_ACEOF
43606 #define wxUSE_GRID 1
43610 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
43613 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43614 cat >>confdefs.h
<<\_ACEOF
43615 #define wxUSE_DATAVIEWCTRL 1
43619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
43622 if test "$wxUSE_IMAGLIST" = "yes"; then
43623 cat >>confdefs.h
<<\_ACEOF
43624 #define wxUSE_IMAGLIST 1
43629 if test "$wxUSE_LISTBOOK" = "yes"; then
43630 cat >>confdefs.h
<<\_ACEOF
43631 #define wxUSE_LISTBOOK 1
43637 if test "$wxUSE_LISTBOX" = "yes"; then
43638 cat >>confdefs.h
<<\_ACEOF
43639 #define wxUSE_LISTBOX 1
43643 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
43646 if test "$wxUSE_LISTCTRL" = "yes"; then
43647 if test "$wxUSE_IMAGLIST" = "yes"; then
43648 cat >>confdefs.h
<<\_ACEOF
43649 #define wxUSE_LISTCTRL 1
43653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
43655 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43656 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43660 if test "$wxUSE_NOTEBOOK" = "yes"; then
43661 cat >>confdefs.h
<<\_ACEOF
43662 #define wxUSE_NOTEBOOK 1
43666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
43670 if test "$wxUSE_RADIOBOX" = "yes"; then
43671 cat >>confdefs.h
<<\_ACEOF
43672 #define wxUSE_RADIOBOX 1
43678 if test "$wxUSE_RADIOBTN" = "yes"; then
43679 cat >>confdefs.h
<<\_ACEOF
43680 #define wxUSE_RADIOBTN 1
43686 if test "$wxUSE_SASH" = "yes"; then
43687 cat >>confdefs.h
<<\_ACEOF
43688 #define wxUSE_SASH 1
43691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
43694 if test "$wxUSE_SCROLLBAR" = "yes"; then
43695 cat >>confdefs.h
<<\_ACEOF
43696 #define wxUSE_SCROLLBAR 1
43700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
43703 if test "$wxUSE_SLIDER" = "yes"; then
43704 cat >>confdefs.h
<<\_ACEOF
43705 #define wxUSE_SLIDER 1
43711 if test "$wxUSE_SPINBTN" = "yes"; then
43712 cat >>confdefs.h
<<\_ACEOF
43713 #define wxUSE_SPINBTN 1
43719 if test "$wxUSE_SPINCTRL" = "yes"; then
43720 cat >>confdefs.h
<<\_ACEOF
43721 #define wxUSE_SPINCTRL 1
43727 if test "$wxUSE_SPLITTER" = "yes"; then
43728 cat >>confdefs.h
<<\_ACEOF
43729 #define wxUSE_SPLITTER 1
43732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
43735 if test "$wxUSE_STATBMP" = "yes"; then
43736 cat >>confdefs.h
<<\_ACEOF
43737 #define wxUSE_STATBMP 1
43743 if test "$wxUSE_STATBOX" = "yes"; then
43744 cat >>confdefs.h
<<\_ACEOF
43745 #define wxUSE_STATBOX 1
43751 if test "$wxUSE_STATTEXT" = "yes"; then
43752 cat >>confdefs.h
<<\_ACEOF
43753 #define wxUSE_STATTEXT 1
43759 if test "$wxUSE_STATLINE" = "yes"; then
43760 cat >>confdefs.h
<<\_ACEOF
43761 #define wxUSE_STATLINE 1
43767 if test "$wxUSE_STATUSBAR" = "yes"; then
43768 cat >>confdefs.h
<<\_ACEOF
43769 #define wxUSE_NATIVE_STATUSBAR 1
43772 cat >>confdefs.h
<<\_ACEOF
43773 #define wxUSE_STATUSBAR 1
43778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
43781 if test "$wxUSE_TABDIALOG" = "yes"; then
43782 cat >>confdefs.h
<<\_ACEOF
43783 #define wxUSE_TAB_DIALOG 1
43788 if test "$wxUSE_TEXTCTRL" = "yes"; then
43789 cat >>confdefs.h
<<\_ACEOF
43790 #define wxUSE_TEXTCTRL 1
43794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
43797 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43798 if test "$wxUSE_COCOA" = 1 ; then
43799 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43800 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43803 if test "$wxUSE_UNIVERSAL" = "yes"; then
43804 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43805 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43809 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43810 cat >>confdefs.h
<<\_ACEOF
43811 #define wxUSE_TOGGLEBTN 1
43818 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
43819 cat >>confdefs.h
<<\_ACEOF
43820 #define wxUSE_TOOLBAR_SIMPLE 1
43823 wxUSE_TOOLBAR
="yes"
43827 if test "$wxUSE_TOOLBAR" = "yes"; then
43828 cat >>confdefs.h
<<\_ACEOF
43829 #define wxUSE_TOOLBAR 1
43834 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
43835 wxUSE_TOOLBAR_NATIVE
="yes"
43838 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
43839 cat >>confdefs.h
<<\_ACEOF
43840 #define wxUSE_TOOLBAR_NATIVE 1
43846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
43849 if test "$wxUSE_TOOLTIPS" = "yes"; then
43850 if test "$wxUSE_MOTIF" = 1; then
43851 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
43852 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
43854 if test "$wxUSE_UNIVERSAL" = "yes"; then
43855 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
43856 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
43858 cat >>confdefs.h
<<\_ACEOF
43859 #define wxUSE_TOOLTIPS 1
43866 if test "$wxUSE_TREEBOOK" = "yes"; then
43867 cat >>confdefs.h
<<\_ACEOF
43868 #define wxUSE_TREEBOOK 1
43874 if test "$wxUSE_TREECTRL" = "yes"; then
43875 if test "$wxUSE_IMAGLIST" = "yes"; then
43876 cat >>confdefs.h
<<\_ACEOF
43877 #define wxUSE_TREECTRL 1
43881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
43883 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
43884 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
43888 if test "$wxUSE_POPUPWIN" = "yes"; then
43889 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43890 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
43891 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
43893 if test "$wxUSE_PM" = 1; then
43894 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
43895 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
43897 cat >>confdefs.h
<<\_ACEOF
43898 #define wxUSE_POPUPWIN 1
43901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
43908 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
43909 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43910 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
43911 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
43913 cat >>confdefs.h
<<\_ACEOF
43914 #define wxUSE_DIALUP_MANAGER 1
43917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
43921 if test "$wxUSE_TIPWINDOW" = "yes"; then
43922 if test "$wxUSE_PM" = 1; then
43923 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
43924 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
43926 cat >>confdefs.h
<<\_ACEOF
43927 #define wxUSE_TIPWINDOW 1
43933 if test "$USES_CONTROLS" = 1; then
43934 cat >>confdefs.h
<<\_ACEOF
43935 #define wxUSE_CONTROLS 1
43941 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
43942 cat >>confdefs.h
<<\_ACEOF
43943 #define wxUSE_ACCESSIBILITY 1
43946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
43949 if test "$wxUSE_DC_CACHEING" = "yes"; then
43950 cat >>confdefs.h
<<\_ACEOF
43951 #define wxUSE_DC_CACHEING 1
43956 if test "$wxUSE_DRAGIMAGE" = "yes"; then
43957 cat >>confdefs.h
<<\_ACEOF
43958 #define wxUSE_DRAGIMAGE 1
43961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
43964 if test "$wxUSE_EXCEPTIONS" = "yes"; then
43965 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43966 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
43967 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
43969 cat >>confdefs.h
<<\_ACEOF
43970 #define wxUSE_EXCEPTIONS 1
43973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
43978 if test "$wxUSE_HTML" = "yes"; then
43979 cat >>confdefs.h
<<\_ACEOF
43980 #define wxUSE_HTML 1
43984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
43985 if test "$wxUSE_MAC" = 1; then
43986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
43989 if test "$wxUSE_WEBKIT" = "yes"; then
43990 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
43991 old_CPPFLAGS
="$CPPFLAGS"
43992 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
43993 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
43994 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
43995 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
43996 echo $ECHO_N "(cached) $ECHO_C" >&6
43998 cat >conftest.
$ac_ext <<_ACEOF
44001 cat confdefs.h
>>conftest.
$ac_ext
44002 cat >>conftest.
$ac_ext <<_ACEOF
44003 /* end confdefs.h. */
44004 #include <Carbon/Carbon.h>
44006 #include <WebKit/HIWebView.h>
44008 rm -f conftest.
$ac_objext
44009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44010 (eval $ac_compile) 2>conftest.er1
44012 grep -v '^ *+' conftest.er1
>conftest.err
44014 cat conftest.err
>&5
44015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44016 (exit $ac_status); } &&
44017 { ac_try
='test -z "$ac_c_werror_flag"
44018 || test ! -s conftest.err'
44019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44020 (eval $ac_try) 2>&5
44022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44023 (exit $ac_status); }; } &&
44024 { ac_try
='test -s conftest.$ac_objext'
44025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44026 (eval $ac_try) 2>&5
44028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44029 (exit $ac_status); }; }; then
44030 ac_cv_header_WebKit_HIWebView_h
=yes
44032 echo "$as_me: failed program was:" >&5
44033 sed 's/^/| /' conftest.
$ac_ext >&5
44035 ac_cv_header_WebKit_HIWebView_h
=no
44037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44039 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44040 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44041 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44043 cat >>confdefs.h
<<\_ACEOF
44044 #define wxUSE_WEBKIT 1
44047 WEBKIT_LINK
="-framework WebKit"
44051 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44052 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44058 CPPFLAGS
="$old_CPPFLAGS"
44059 elif test "$wxUSE_COCOA" = 1; then
44060 cat >>confdefs.h
<<\_ACEOF
44061 #define wxUSE_WEBKIT 1
44070 if test "$wxUSE_XRC" = "yes"; then
44071 if test "$wxUSE_XML" != "yes"; then
44072 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44073 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44076 cat >>confdefs.h
<<\_ACEOF
44077 #define wxUSE_XRC 1
44081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44085 if test "$wxUSE_MENUS" = "yes"; then
44086 cat >>confdefs.h
<<\_ACEOF
44087 #define wxUSE_MENUS 1
44090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44093 if test "$wxUSE_METAFILE" = "yes"; then
44094 cat >>confdefs.h
<<\_ACEOF
44095 #define wxUSE_METAFILE 1
44100 if test "$wxUSE_MIMETYPE" = "yes"; then
44101 cat >>confdefs.h
<<\_ACEOF
44102 #define wxUSE_MIMETYPE 1
44107 if test "$wxUSE_MINIFRAME" = "yes"; then
44108 cat >>confdefs.h
<<\_ACEOF
44109 #define wxUSE_MINIFRAME 1
44112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44115 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44116 cat >>confdefs.h
<<\_ACEOF
44117 #define wxUSE_SYSTEM_OPTIONS 1
44120 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44121 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44127 if test "$wxUSE_VALIDATORS" = "yes"; then
44128 cat >>confdefs.h
<<\_ACEOF
44129 #define wxUSE_VALIDATORS 1
44132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44135 if test "$wxUSE_PALETTE" = "yes" ; then
44136 cat >>confdefs.h
<<\_ACEOF
44137 #define wxUSE_PALETTE 1
44142 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44143 LIBS
=" -lunicows $LIBS"
44147 if test "$wxUSE_RICHTEXT" = "yes"; then
44148 cat >>confdefs.h
<<\_ACEOF
44149 #define wxUSE_RICHTEXT 1
44153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44157 if test "$wxUSE_IMAGE" = "yes" ; then
44158 cat >>confdefs.h
<<\_ACEOF
44159 #define wxUSE_IMAGE 1
44163 if test "$wxUSE_GIF" = "yes" ; then
44164 cat >>confdefs.h
<<\_ACEOF
44165 #define wxUSE_GIF 1
44170 if test "$wxUSE_PCX" = "yes" ; then
44171 cat >>confdefs.h
<<\_ACEOF
44172 #define wxUSE_PCX 1
44177 if test "$wxUSE_IFF" = "yes" ; then
44178 cat >>confdefs.h
<<\_ACEOF
44179 #define wxUSE_IFF 1
44184 if test "$wxUSE_PNM" = "yes" ; then
44185 cat >>confdefs.h
<<\_ACEOF
44186 #define wxUSE_PNM 1
44191 if test "$wxUSE_XPM" = "yes" ; then
44192 cat >>confdefs.h
<<\_ACEOF
44193 #define wxUSE_XPM 1
44198 if test "$wxUSE_ICO_CUR" = "yes" ; then
44199 cat >>confdefs.h
<<\_ACEOF
44200 #define wxUSE_ICO_CUR 1
44207 if test "$wxUSE_CHOICEDLG" = "yes"; then
44208 cat >>confdefs.h
<<\_ACEOF
44209 #define wxUSE_CHOICEDLG 1
44214 if test "$wxUSE_COLOURDLG" = "yes"; then
44215 cat >>confdefs.h
<<\_ACEOF
44216 #define wxUSE_COLOURDLG 1
44221 if test "$wxUSE_FILEDLG" = "yes"; then
44222 cat >>confdefs.h
<<\_ACEOF
44223 #define wxUSE_FILEDLG 1
44228 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44229 cat >>confdefs.h
<<\_ACEOF
44230 #define wxUSE_FINDREPLDLG 1
44235 if test "$wxUSE_FONTDLG" = "yes"; then
44236 cat >>confdefs.h
<<\_ACEOF
44237 #define wxUSE_FONTDLG 1
44242 if test "$wxUSE_DIRDLG" = "yes"; then
44243 if test "$wxUSE_TREECTRL" != "yes"; then
44244 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44245 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44247 cat >>confdefs.h
<<\_ACEOF
44248 #define wxUSE_DIRDLG 1
44254 if test "$wxUSE_MSGDLG" = "yes"; then
44255 cat >>confdefs.h
<<\_ACEOF
44256 #define wxUSE_MSGDLG 1
44261 if test "$wxUSE_NUMBERDLG" = "yes"; then
44262 cat >>confdefs.h
<<\_ACEOF
44263 #define wxUSE_NUMBERDLG 1
44268 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44269 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44270 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44271 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44273 cat >>confdefs.h
<<\_ACEOF
44274 #define wxUSE_PROGRESSDLG 1
44280 if test "$wxUSE_SPLASH" = "yes"; then
44281 cat >>confdefs.h
<<\_ACEOF
44282 #define wxUSE_SPLASH 1
44285 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44288 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44289 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44290 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44291 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44293 cat >>confdefs.h
<<\_ACEOF
44294 #define wxUSE_STARTUP_TIPS 1
44300 if test "$wxUSE_TEXTDLG" = "yes"; then
44301 cat >>confdefs.h
<<\_ACEOF
44302 #define wxUSE_TEXTDLG 1
44307 if test "$wxUSE_WIZARDDLG" = "yes"; then
44308 cat >>confdefs.h
<<\_ACEOF
44309 #define wxUSE_WIZARDDLG 1
44312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44316 if test "$wxUSE_MEDIACTRL" = "yes"; then
44317 if test "$wxUSE_GTK" = 1; then
44318 wxUSE_GSTREAMER
="yes"
44323 if test -z "$PKG_CONFIG"; then
44324 # Extract the first word of "pkg-config", so it can be a program name with args.
44325 set dummy pkg
-config; ac_word
=$2
44326 echo "$as_me:$LINENO: checking for $ac_word" >&5
44327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44328 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44329 echo $ECHO_N "(cached) $ECHO_C" >&6
44331 case $PKG_CONFIG in
44333 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44337 for as_dir
in $PATH
44340 test -z "$as_dir" && as_dir
=.
44341 for ac_exec_ext
in '' $ac_executable_extensions; do
44342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44343 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44350 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44354 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44356 if test -n "$PKG_CONFIG"; then
44357 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44358 echo "${ECHO_T}$PKG_CONFIG" >&6
44360 echo "$as_me:$LINENO: result: no" >&5
44361 echo "${ECHO_T}no" >&6
44366 if test "$PKG_CONFIG" = "no" ; then
44367 echo "*** The pkg-config script could not be found. Make sure it is"
44368 echo "*** in your path, or set the PKG_CONFIG environment variable"
44369 echo "*** to the full path to pkg-config."
44370 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44372 PKG_CONFIG_MIN_VERSION
=0.9.0
44373 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44374 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
44375 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
44377 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
44378 echo "$as_me:$LINENO: result: yes" >&5
44379 echo "${ECHO_T}yes" >&6
44382 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
44383 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
44384 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
44385 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
44386 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
44388 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
44389 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
44390 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
44391 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
44392 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
44394 GSTREAMER_CFLAGS
=""
44396 ## If we have a custom action on failure, don't print errors, but
44397 ## do set a variable so people can do so.
44398 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
44405 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44406 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44410 if test $succeeded = yes; then
44412 CPPFLAGS
="$GSTREAMER_CFLAGS $CPPFLAGS"
44413 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
44417 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
44418 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
44419 wxUSE_GSTREAMER
="no"
44427 if test "x$GST_INSPECT" == "x"; then
44428 # Extract the first word of "gst-inspect", so it can be a program name with args.
44429 set dummy gst
-inspect; ac_word
=$2
44430 echo "$as_me:$LINENO: checking for $ac_word" >&5
44431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44432 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
44433 echo $ECHO_N "(cached) $ECHO_C" >&6
44435 if test -n "$GST_INSPECT"; then
44436 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
44438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44439 for as_dir
in $PATH
44442 test -z "$as_dir" && as_dir
=.
44443 for ac_exec_ext
in '' $ac_executable_extensions; do
44444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44445 ac_cv_prog_GST_INSPECT
="gst-inspect"
44446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44454 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
44455 if test -n "$GST_INSPECT"; then
44456 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
44457 echo "${ECHO_T}$GST_INSPECT" >&6
44459 echo "$as_me:$LINENO: result: no" >&5
44460 echo "${ECHO_T}no" >&6
44465 if test "x$GST_INSPECT" != "x"; then
44466 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
44467 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
44468 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
44469 echo "$as_me:$LINENO: result: found." >&5
44470 echo "${ECHO_T}found." >&6
44473 echo "$as_me:$LINENO: result: not found." >&5
44474 echo "${ECHO_T}not found." >&6
44476 wxUSE_GSTREAMER
="no"
44477 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
44478 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
44484 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
44485 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
44486 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
44487 echo $ECHO_N "(cached) $ECHO_C" >&6
44489 cat >conftest.
$ac_ext <<_ACEOF
44492 cat confdefs.h
>>conftest.
$ac_ext
44493 cat >>conftest.
$ac_ext <<_ACEOF
44494 /* end confdefs.h. */
44495 #include <gst/gst.h>
44497 #include <gst/xoverlay/xoverlay.h>
44499 rm -f conftest.
$ac_objext
44500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44501 (eval $ac_compile) 2>conftest.er1
44503 grep -v '^ *+' conftest.er1
>conftest.err
44505 cat conftest.err
>&5
44506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44507 (exit $ac_status); } &&
44508 { ac_try
='test -z "$ac_c_werror_flag"
44509 || test ! -s conftest.err'
44510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44511 (eval $ac_try) 2>&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); }; } &&
44515 { ac_try
='test -s conftest.$ac_objext'
44516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44517 (eval $ac_try) 2>&5
44519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44520 (exit $ac_status); }; }; then
44521 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
44523 echo "$as_me: failed program was:" >&5
44524 sed 's/^/| /' conftest.
$ac_ext >&5
44526 ac_cv_header_gst_xoverlay_xoverlay_h
=no
44528 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44530 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
44531 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
44532 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
44536 wxUSE_GSTREAMER
="no"
44537 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
44538 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
44544 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
44545 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
44548 for ac_dir
in $SEARCH_LIB;
44550 for ac_extension
in a so sl dylib dll.a
; do
44551 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
44552 ac_find_libraries
=$ac_dir
44559 if test "$ac_find_libraries" = "" ; then
44560 echo "$as_me:$LINENO: result: no" >&5
44561 echo "${ECHO_T}no" >&6
44562 wxUSE_GSTREAMER
="no"
44564 echo "$as_me:$LINENO: result: yes" >&5
44565 echo "${ECHO_T}yes" >&6
44568 if test "$wxUSE_GSTREAMER" = "yes"; then
44569 cat >>confdefs.h
<<\_ACEOF
44570 #define wxUSE_GSTREAMER 1
44573 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44574 echo "${ECHO_T}GStreamer detection successful" >&6
44577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
44578 cat >>confdefs.h
<<\_ACEOF
44579 #define wxUSE_MEDIACTRL 1
44585 if test "$cross_compiling" = "yes"; then
44588 OSINFO
=`uname -s -r -m`
44589 OSINFO
="\"$OSINFO\""
44592 cat >>confdefs.h
<<_ACEOF
44593 #define WXWIN_OS_DESCRIPTION $OSINFO
44598 if test "x$prefix" != "xNONE"; then
44601 wxPREFIX
=$ac_default_prefix
44604 cat >>confdefs.h
<<_ACEOF
44605 #define wxINSTALL_PREFIX "$wxPREFIX"
44611 CORE_BASE_LIBS
="net base"
44612 CORE_GUI_LIBS
="adv core"
44614 if test "$wxUSE_XML" = "yes" ; then
44615 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
44617 if test "$wxUSE_ODBC" != "no" ; then
44618 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
44619 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
44621 if test "$wxUSE_HTML" = "yes" ; then
44622 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
44624 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44625 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
44627 if test "$wxUSE_XRC" = "yes" ; then
44628 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
44631 if test "$wxUSE_GUI" != "yes"; then
44642 if test "$wxUSE_MAC" = 1 ; then
44643 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44644 if test "$USE_DARWIN" = 1; then
44645 LDFLAGS
="$LDFLAGS -framework QuickTime"
44647 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
44650 if test "$USE_DARWIN" = 1; then
44651 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44653 LDFLAGS
="$LDFLAGS -lCarbonLib"
44656 if test "$wxUSE_COCOA" = 1 ; then
44657 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
44658 if test "$wxUSE_MEDIACTRL" = "yes"; then
44659 LDFLAGS
="$LDFLAGS -framework QuickTime"
44662 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44663 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44667 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44674 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44675 echo "$as_me:$LINENO: checking for $ac_func" >&5
44676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44677 if eval "test \"\${$as_ac_var+set}\" = set"; then
44678 echo $ECHO_N "(cached) $ECHO_C" >&6
44680 cat >conftest.
$ac_ext <<_ACEOF
44683 cat confdefs.h
>>conftest.
$ac_ext
44684 cat >>conftest.
$ac_ext <<_ACEOF
44685 /* end confdefs.h. */
44686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44688 #define $ac_func innocuous_$ac_func
44690 /* System header to define __stub macros and hopefully few prototypes,
44691 which can conflict with char $ac_func (); below.
44692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44693 <limits.h> exists even on freestanding compilers. */
44696 # include <limits.h>
44698 # include <assert.h>
44703 /* Override any gcc2 internal prototype to avoid an error. */
44708 /* We use char because int might match the return type of a gcc2
44709 builtin and then its argument prototype would still apply. */
44711 /* The GNU C library defines this for functions which it implements
44712 to always fail with ENOSYS. Some functions are actually named
44713 something starting with __ and the normal name is an alias. */
44714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44717 char (*f) () = $ac_func;
44726 return f != $ac_func;
44731 rm -f conftest.
$ac_objext conftest
$ac_exeext
44732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44733 (eval $ac_link) 2>conftest.er1
44735 grep -v '^ *+' conftest.er1
>conftest.err
44737 cat conftest.err
>&5
44738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44739 (exit $ac_status); } &&
44740 { ac_try
='test -z "$ac_c_werror_flag"
44741 || test ! -s conftest.err'
44742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44743 (eval $ac_try) 2>&5
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); }; } &&
44747 { ac_try
='test -s conftest$ac_exeext'
44748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44749 (eval $ac_try) 2>&5
44751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44752 (exit $ac_status); }; }; then
44753 eval "$as_ac_var=yes"
44755 echo "$as_me: failed program was:" >&5
44756 sed 's/^/| /' conftest.
$ac_ext >&5
44758 eval "$as_ac_var=no"
44760 rm -f conftest.err conftest.
$ac_objext \
44761 conftest
$ac_exeext conftest.
$ac_ext
44763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44765 if test `eval echo '${'$as_ac_var'}'` = yes; then
44766 cat >>confdefs.h
<<_ACEOF
44767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44774 for ac_func
in floor
44776 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44777 echo "$as_me:$LINENO: checking for $ac_func" >&5
44778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44779 if eval "test \"\${$as_ac_var+set}\" = set"; then
44780 echo $ECHO_N "(cached) $ECHO_C" >&6
44782 cat >conftest.
$ac_ext <<_ACEOF
44785 cat confdefs.h
>>conftest.
$ac_ext
44786 cat >>conftest.
$ac_ext <<_ACEOF
44787 /* end confdefs.h. */
44788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44790 #define $ac_func innocuous_$ac_func
44792 /* System header to define __stub macros and hopefully few prototypes,
44793 which can conflict with char $ac_func (); below.
44794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44795 <limits.h> exists even on freestanding compilers. */
44798 # include <limits.h>
44800 # include <assert.h>
44805 /* Override any gcc2 internal prototype to avoid an error. */
44810 /* We use char because int might match the return type of a gcc2
44811 builtin and then its argument prototype would still apply. */
44813 /* The GNU C library defines this for functions which it implements
44814 to always fail with ENOSYS. Some functions are actually named
44815 something starting with __ and the normal name is an alias. */
44816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44819 char (*f) () = $ac_func;
44828 return f != $ac_func;
44833 rm -f conftest.
$ac_objext conftest
$ac_exeext
44834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44835 (eval $ac_link) 2>conftest.er1
44837 grep -v '^ *+' conftest.er1
>conftest.err
44839 cat conftest.err
>&5
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); } &&
44842 { ac_try
='test -z "$ac_c_werror_flag"
44843 || test ! -s conftest.err'
44844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44845 (eval $ac_try) 2>&5
44847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44848 (exit $ac_status); }; } &&
44849 { ac_try
='test -s conftest$ac_exeext'
44850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44851 (eval $ac_try) 2>&5
44853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44854 (exit $ac_status); }; }; then
44855 eval "$as_ac_var=yes"
44857 echo "$as_me: failed program was:" >&5
44858 sed 's/^/| /' conftest.
$ac_ext >&5
44860 eval "$as_ac_var=no"
44862 rm -f conftest.err conftest.
$ac_objext \
44863 conftest
$ac_exeext conftest.
$ac_ext
44865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44867 if test `eval echo '${'$as_ac_var'}'` = yes; then
44868 cat >>confdefs.h
<<_ACEOF
44869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44875 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
44876 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
44877 if test "$have_cos" = 1 -a "$have_floor" = 1; then
44878 echo "$as_me:$LINENO: result: yes" >&5
44879 echo "${ECHO_T}yes" >&6
44881 echo "$as_me:$LINENO: result: no" >&5
44882 echo "${ECHO_T}no" >&6
44884 # use different functions to avoid configure caching
44890 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44891 echo "$as_me:$LINENO: checking for $ac_func" >&5
44892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44893 if eval "test \"\${$as_ac_var+set}\" = set"; then
44894 echo $ECHO_N "(cached) $ECHO_C" >&6
44896 cat >conftest.
$ac_ext <<_ACEOF
44899 cat confdefs.h
>>conftest.
$ac_ext
44900 cat >>conftest.
$ac_ext <<_ACEOF
44901 /* end confdefs.h. */
44902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44904 #define $ac_func innocuous_$ac_func
44906 /* System header to define __stub macros and hopefully few prototypes,
44907 which can conflict with char $ac_func (); below.
44908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44909 <limits.h> exists even on freestanding compilers. */
44912 # include <limits.h>
44914 # include <assert.h>
44919 /* Override any gcc2 internal prototype to avoid an error. */
44924 /* We use char because int might match the return type of a gcc2
44925 builtin and then its argument prototype would still apply. */
44927 /* The GNU C library defines this for functions which it implements
44928 to always fail with ENOSYS. Some functions are actually named
44929 something starting with __ and the normal name is an alias. */
44930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44933 char (*f) () = $ac_func;
44942 return f != $ac_func;
44947 rm -f conftest.
$ac_objext conftest
$ac_exeext
44948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44949 (eval $ac_link) 2>conftest.er1
44951 grep -v '^ *+' conftest.er1
>conftest.err
44953 cat conftest.err
>&5
44954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44955 (exit $ac_status); } &&
44956 { ac_try
='test -z "$ac_c_werror_flag"
44957 || test ! -s conftest.err'
44958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44959 (eval $ac_try) 2>&5
44961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44962 (exit $ac_status); }; } &&
44963 { ac_try
='test -s conftest$ac_exeext'
44964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44965 (eval $ac_try) 2>&5
44967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44968 (exit $ac_status); }; }; then
44969 eval "$as_ac_var=yes"
44971 echo "$as_me: failed program was:" >&5
44972 sed 's/^/| /' conftest.
$ac_ext >&5
44974 eval "$as_ac_var=no"
44976 rm -f conftest.err conftest.
$ac_objext \
44977 conftest
$ac_exeext conftest.
$ac_ext
44979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44981 if test `eval echo '${'$as_ac_var'}'` = yes; then
44982 cat >>confdefs.h
<<_ACEOF
44983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44990 for ac_func
in ceil
44992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44993 echo "$as_me:$LINENO: checking for $ac_func" >&5
44994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44995 if eval "test \"\${$as_ac_var+set}\" = set"; then
44996 echo $ECHO_N "(cached) $ECHO_C" >&6
44998 cat >conftest.
$ac_ext <<_ACEOF
45001 cat confdefs.h
>>conftest.
$ac_ext
45002 cat >>conftest.
$ac_ext <<_ACEOF
45003 /* end confdefs.h. */
45004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45006 #define $ac_func innocuous_$ac_func
45008 /* System header to define __stub macros and hopefully few prototypes,
45009 which can conflict with char $ac_func (); below.
45010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45011 <limits.h> exists even on freestanding compilers. */
45014 # include <limits.h>
45016 # include <assert.h>
45021 /* Override any gcc2 internal prototype to avoid an error. */
45026 /* We use char because int might match the return type of a gcc2
45027 builtin and then its argument prototype would still apply. */
45029 /* The GNU C library defines this for functions which it implements
45030 to always fail with ENOSYS. Some functions are actually named
45031 something starting with __ and the normal name is an alias. */
45032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45035 char (*f) () = $ac_func;
45044 return f != $ac_func;
45049 rm -f conftest.
$ac_objext conftest
$ac_exeext
45050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45051 (eval $ac_link) 2>conftest.er1
45053 grep -v '^ *+' conftest.er1
>conftest.err
45055 cat conftest.err
>&5
45056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45057 (exit $ac_status); } &&
45058 { ac_try
='test -z "$ac_c_werror_flag"
45059 || test ! -s conftest.err'
45060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45061 (eval $ac_try) 2>&5
45063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45064 (exit $ac_status); }; } &&
45065 { ac_try
='test -s conftest$ac_exeext'
45066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45067 (eval $ac_try) 2>&5
45069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45070 (exit $ac_status); }; }; then
45071 eval "$as_ac_var=yes"
45073 echo "$as_me: failed program was:" >&5
45074 sed 's/^/| /' conftest.
$ac_ext >&5
45076 eval "$as_ac_var=no"
45078 rm -f conftest.err conftest.
$ac_objext \
45079 conftest
$ac_exeext conftest.
$ac_ext
45081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45083 if test `eval echo '${'$as_ac_var'}'` = yes; then
45084 cat >>confdefs.h
<<_ACEOF
45085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45091 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
45092 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
45093 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
45094 echo "$as_me:$LINENO: result: yes" >&5
45095 echo "${ECHO_T}yes" >&6
45097 echo "$as_me:$LINENO: result: no" >&5
45098 echo "${ECHO_T}no" >&6
45099 # not sure we should warn the user, crash, etc.
45103 if test "$wxUSE_GUI" = "yes"; then
45106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45107 dynamic erase event exec font image minimal mobile \
45108 mobile/wxedit mobile/styles propsize render \
45109 richedit rotate shaped vscroll widgets"
45111 if test "$wxUSE_MONOLITHIC" != "yes"; then
45112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45114 if test "$TOOLKIT" = "MSW"; then
45115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45116 if test "$wxUSE_UNIVERSAL" != "yes"; then
45117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45120 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45124 SAMPLES_SUBDIRS
="console"
45128 if test "x$INTELCC" = "xyes" ; then
45129 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45130 elif test "$GCC" = yes ; then
45131 CWARNINGS
="-Wall -Wundef"
45134 if test "x$INTELCXX" = "xyes" ; then
45135 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45136 elif test "$GXX" = yes ; then
45137 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45141 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45142 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45145 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45146 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45147 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45150 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45151 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45152 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45154 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45157 if test "x$MWCC" = "xyes"; then
45159 CC
="$CC -cwd source -I-"
45160 CXX
="$CXX -cwd source -I-"
45165 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45166 EXTRALIBS_XML
="$EXPAT_LINK"
45167 EXTRALIBS_HTML
="$MSPACK_LINK"
45168 EXTRALIBS_ODBC
="$ODBC_LINK"
45169 if test "$wxUSE_GUI" = "yes"; then
45170 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEPRINT`
45172 if test "$wxUSE_OPENGL" = "yes"; then
45173 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45176 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45178 WXCONFIG_LIBS
="$LIBS"
45180 if test "$wxUSE_REGEX" = "builtin" ; then
45181 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45183 if test "$wxUSE_EXPAT" = "builtin" ; then
45184 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45186 if test "$wxUSE_ODBC" = "builtin" ; then
45187 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45189 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45190 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45192 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45193 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45195 if test "$wxUSE_LIBPNG" = "builtin" ; then
45196 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45198 if test "$wxUSE_ZLIB" = "builtin" ; then
45199 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45202 for i
in $wxconfig_3rdparty ; do
45203 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45207 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45221 if test $wxUSE_MONOLITHIC = "yes" ; then
45227 if test $wxUSE_PLUGINS = "yes" ; then
45233 if test $wxUSE_ODBC != "no" ; then
45239 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45245 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45274 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45285 TOOLKIT_USER
="GTK+"
45286 if test "$WXGTK20" = 1; then
45287 TOOLKIT_USER
="$TOOLKIT_USER 2"
45292 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45296 if test "$wxUSE_WINE" = "yes"; then
45297 BAKEFILE_FORCE_PLATFORM
=win32
45303 if test "x$BAKEFILE_HOST" = "x"; then
45304 BAKEFILE_HOST
="${host}"
45307 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45309 if test -n "$ac_tool_prefix"; then
45310 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45311 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45312 echo "$as_me:$LINENO: checking for $ac_word" >&5
45313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45314 if test "${ac_cv_prog_RANLIB+set}" = set; then
45315 echo $ECHO_N "(cached) $ECHO_C" >&6
45317 if test -n "$RANLIB"; then
45318 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45321 for as_dir
in $PATH
45324 test -z "$as_dir" && as_dir
=.
45325 for ac_exec_ext
in '' $ac_executable_extensions; do
45326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45327 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45336 RANLIB
=$ac_cv_prog_RANLIB
45337 if test -n "$RANLIB"; then
45338 echo "$as_me:$LINENO: result: $RANLIB" >&5
45339 echo "${ECHO_T}$RANLIB" >&6
45341 echo "$as_me:$LINENO: result: no" >&5
45342 echo "${ECHO_T}no" >&6
45346 if test -z "$ac_cv_prog_RANLIB"; then
45347 ac_ct_RANLIB
=$RANLIB
45348 # Extract the first word of "ranlib", so it can be a program name with args.
45349 set dummy ranlib
; ac_word
=$2
45350 echo "$as_me:$LINENO: checking for $ac_word" >&5
45351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45352 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45353 echo $ECHO_N "(cached) $ECHO_C" >&6
45355 if test -n "$ac_ct_RANLIB"; then
45356 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45359 for as_dir
in $PATH
45362 test -z "$as_dir" && as_dir
=.
45363 for ac_exec_ext
in '' $ac_executable_extensions; do
45364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45365 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45372 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45375 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45376 if test -n "$ac_ct_RANLIB"; then
45377 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45378 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45380 echo "$as_me:$LINENO: result: no" >&5
45381 echo "${ECHO_T}no" >&6
45384 RANLIB
=$ac_ct_RANLIB
45386 RANLIB
="$ac_cv_prog_RANLIB"
45389 # Find a good install program. We prefer a C program (faster),
45390 # so one script is as good as another. But avoid the broken or
45391 # incompatible versions:
45392 # SysV /etc/install, /usr/sbin/install
45393 # SunOS /usr/etc/install
45394 # IRIX /sbin/install
45396 # AmigaOS /C/install, which installs bootblocks on floppy discs
45397 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45398 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45399 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45400 # OS/2's system install, which has a completely different semantic
45401 # ./install, which can be erroneously created by make from ./install.sh.
45402 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45403 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45404 if test -z "$INSTALL"; then
45405 if test "${ac_cv_path_install+set}" = set; then
45406 echo $ECHO_N "(cached) $ECHO_C" >&6
45408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45409 for as_dir
in $PATH
45412 test -z "$as_dir" && as_dir
=.
45413 # Account for people who put trailing slashes in PATH elements.
45415 .
/ | .
// | /cC
/* | \
45416 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45417 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45420 # OSF1 and SCO ODT 3.0 have their own names for install.
45421 # Don't use installbsd from OSF since it installs stuff as root
45423 for ac_prog
in ginstall scoinst
install; do
45424 for ac_exec_ext
in '' $ac_executable_extensions; do
45425 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45426 if test $ac_prog = install &&
45427 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45428 # AIX install. It has an incompatible calling convention.
45430 elif test $ac_prog = install &&
45431 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45432 # program-specific install script used by HP pwplus--don't use.
45435 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45447 if test "${ac_cv_path_install+set}" = set; then
45448 INSTALL
=$ac_cv_path_install
45450 # As a last resort, use the slow shell script. We don't cache a
45451 # path for INSTALL within a source directory, because that will
45452 # break other packages using the cache if that directory is
45453 # removed, or if the path is relative.
45454 INSTALL
=$ac_install_sh
45457 echo "$as_me:$LINENO: result: $INSTALL" >&5
45458 echo "${ECHO_T}$INSTALL" >&6
45460 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45461 # It thinks the first close brace ends the variable substitution.
45462 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45464 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45466 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45468 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45469 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45471 if test "$LN_S" = "ln -s"; then
45472 echo "$as_me:$LINENO: result: yes" >&5
45473 echo "${ECHO_T}yes" >&6
45475 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45476 echo "${ECHO_T}no, using $LN_S" >&6
45480 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45481 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45482 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45483 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45484 echo $ECHO_N "(cached) $ECHO_C" >&6
45486 cat >conftest.
make <<\_ACEOF
45488 @
echo 'ac_maketemp="$(MAKE)"'
45490 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45491 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45492 if test -n "$ac_maketemp"; then
45493 eval ac_cv_prog_make_
${ac_make}_set
=yes
45495 eval ac_cv_prog_make_
${ac_make}_set
=no
45497 rm -f conftest.
make
45499 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45500 echo "$as_me:$LINENO: result: yes" >&5
45501 echo "${ECHO_T}yes" >&6
45504 echo "$as_me:$LINENO: result: no" >&5
45505 echo "${ECHO_T}no" >&6
45506 SET_MAKE
="MAKE=${MAKE-make}"
45511 if test -n "$ac_tool_prefix"; then
45512 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45513 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45514 echo "$as_me:$LINENO: checking for $ac_word" >&5
45515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45516 if test "${ac_cv_prog_AR+set}" = set; then
45517 echo $ECHO_N "(cached) $ECHO_C" >&6
45519 if test -n "$AR"; then
45520 ac_cv_prog_AR
="$AR" # Let the user override the test.
45522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45523 for as_dir
in $PATH
45526 test -z "$as_dir" && as_dir
=.
45527 for ac_exec_ext
in '' $ac_executable_extensions; do
45528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45529 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45539 if test -n "$AR"; then
45540 echo "$as_me:$LINENO: result: $AR" >&5
45541 echo "${ECHO_T}$AR" >&6
45543 echo "$as_me:$LINENO: result: no" >&5
45544 echo "${ECHO_T}no" >&6
45548 if test -z "$ac_cv_prog_AR"; then
45550 # Extract the first word of "ar", so it can be a program name with args.
45551 set dummy
ar; ac_word
=$2
45552 echo "$as_me:$LINENO: checking for $ac_word" >&5
45553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45554 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45555 echo $ECHO_N "(cached) $ECHO_C" >&6
45557 if test -n "$ac_ct_AR"; then
45558 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45561 for as_dir
in $PATH
45564 test -z "$as_dir" && as_dir
=.
45565 for ac_exec_ext
in '' $ac_executable_extensions; do
45566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45567 ac_cv_prog_ac_ct_AR
="ar"
45568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45574 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45577 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45578 if test -n "$ac_ct_AR"; then
45579 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45580 echo "${ECHO_T}$ac_ct_AR" >&6
45582 echo "$as_me:$LINENO: result: no" >&5
45583 echo "${ECHO_T}no" >&6
45588 AR
="$ac_cv_prog_AR"
45591 if test -n "$ac_tool_prefix"; then
45592 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45593 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45594 echo "$as_me:$LINENO: checking for $ac_word" >&5
45595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45596 if test "${ac_cv_prog_STRIP+set}" = set; then
45597 echo $ECHO_N "(cached) $ECHO_C" >&6
45599 if test -n "$STRIP"; then
45600 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45603 for as_dir
in $PATH
45606 test -z "$as_dir" && as_dir
=.
45607 for ac_exec_ext
in '' $ac_executable_extensions; do
45608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45609 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45618 STRIP
=$ac_cv_prog_STRIP
45619 if test -n "$STRIP"; then
45620 echo "$as_me:$LINENO: result: $STRIP" >&5
45621 echo "${ECHO_T}$STRIP" >&6
45623 echo "$as_me:$LINENO: result: no" >&5
45624 echo "${ECHO_T}no" >&6
45628 if test -z "$ac_cv_prog_STRIP"; then
45630 # Extract the first word of "strip", so it can be a program name with args.
45631 set dummy strip
; ac_word
=$2
45632 echo "$as_me:$LINENO: checking for $ac_word" >&5
45633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45634 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45635 echo $ECHO_N "(cached) $ECHO_C" >&6
45637 if test -n "$ac_ct_STRIP"; then
45638 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45641 for as_dir
in $PATH
45644 test -z "$as_dir" && as_dir
=.
45645 for ac_exec_ext
in '' $ac_executable_extensions; do
45646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45647 ac_cv_prog_ac_ct_STRIP
="strip"
45648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45654 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45657 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45658 if test -n "$ac_ct_STRIP"; then
45659 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45660 echo "${ECHO_T}$ac_ct_STRIP" >&6
45662 echo "$as_me:$LINENO: result: no" >&5
45663 echo "${ECHO_T}no" >&6
45668 STRIP
="$ac_cv_prog_STRIP"
45671 if test -n "$ac_tool_prefix"; then
45672 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45673 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45674 echo "$as_me:$LINENO: checking for $ac_word" >&5
45675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45676 if test "${ac_cv_prog_NM+set}" = set; then
45677 echo $ECHO_N "(cached) $ECHO_C" >&6
45679 if test -n "$NM"; then
45680 ac_cv_prog_NM
="$NM" # Let the user override the test.
45682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45683 for as_dir
in $PATH
45686 test -z "$as_dir" && as_dir
=.
45687 for ac_exec_ext
in '' $ac_executable_extensions; do
45688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45689 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45699 if test -n "$NM"; then
45700 echo "$as_me:$LINENO: result: $NM" >&5
45701 echo "${ECHO_T}$NM" >&6
45703 echo "$as_me:$LINENO: result: no" >&5
45704 echo "${ECHO_T}no" >&6
45708 if test -z "$ac_cv_prog_NM"; then
45710 # Extract the first word of "nm", so it can be a program name with args.
45711 set dummy nm
; ac_word
=$2
45712 echo "$as_me:$LINENO: checking for $ac_word" >&5
45713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45714 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45715 echo $ECHO_N "(cached) $ECHO_C" >&6
45717 if test -n "$ac_ct_NM"; then
45718 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45721 for as_dir
in $PATH
45724 test -z "$as_dir" && as_dir
=.
45725 for ac_exec_ext
in '' $ac_executable_extensions; do
45726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45727 ac_cv_prog_ac_ct_NM
="nm"
45728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45734 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45737 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45738 if test -n "$ac_ct_NM"; then
45739 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45740 echo "${ECHO_T}$ac_ct_NM" >&6
45742 echo "$as_me:$LINENO: result: no" >&5
45743 echo "${ECHO_T}no" >&6
45748 NM
="$ac_cv_prog_NM"
45752 case ${BAKEFILE_HOST} in
45754 INSTALL_DIR
="mkdir -p"
45756 *) INSTALL_DIR
="$INSTALL -d"
45762 case ${BAKEFILE_HOST} in
45763 *-*-cygwin* | *-*-mingw32* )
45764 LDFLAGS_GUI
="-mwindows"
45770 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45771 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45772 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45773 echo $ECHO_N "(cached) $ECHO_C" >&6
45776 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45777 egrep -s GNU
> /dev
/null
); then
45778 bakefile_cv_prog_makeisgnu
="yes"
45780 bakefile_cv_prog_makeisgnu
="no"
45784 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45785 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45787 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45804 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45805 case "${BAKEFILE_HOST}" in
45812 *-pc-os2_emx | *-pc-os2-emx )
45822 powerpc
-apple-macos* )
45831 case "$BAKEFILE_FORCE_PLATFORM" in
45852 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45853 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45854 { (exit 1); exit 1; }; }
45869 # Check whether --enable-omf or --disable-omf was given.
45870 if test "${enable_omf+set}" = set; then
45871 enableval
="$enable_omf"
45872 bk_os2_use_omf
="$enableval"
45875 case "${BAKEFILE_HOST}" in
45877 if test "x$GCC" = "xyes"; then
45878 CFLAGS
="$CFLAGS -fno-common"
45879 CXXFLAGS
="$CXXFLAGS -fno-common"
45881 if test "x$XLCC" = "xyes"; then
45882 CFLAGS
="$CFLAGS -qnocommon"
45883 CXXFLAGS
="$CXXFLAGS -qnocommon"
45887 *-pc-os2_emx | *-pc-os2-emx )
45888 if test "x$bk_os2_use_omf" = "xyes" ; then
45891 LDFLAGS
="-Zomf $LDFLAGS"
45892 CFLAGS
="-Zomf $CFLAGS"
45893 CXXFLAGS
="-Zomf $CXXFLAGS"
45901 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
45907 SO_SUFFIX_MODULE
="so"
45912 DLLPREFIX_MODULE
=""
45916 case "${BAKEFILE_HOST}" in
45919 SO_SUFFIX_MODULE
="sl"
45923 SO_SUFFIX_MODULE
="a"
45927 SO_SUFFIX_MODULE
="dll"
45928 DLLIMP_SUFFIX
="dll.a"
45935 SO_SUFFIX_MODULE
="dll"
45936 DLLIMP_SUFFIX
="dll.a"
45946 *-pc-os2_emx | *-pc-os2-emx )
45948 SO_SUFFIX_MODULE
="dll"
45949 DLLIMP_SUFFIX
=$OS2_LIBEXT
45953 LIBEXT
=".$OS2_LIBEXT"
45958 SO_SUFFIX_MODULE
="bundle"
45962 if test "x$DLLIMP_SUFFIX" = "x" ; then
45963 DLLIMP_SUFFIX
="$SO_SUFFIX"
45978 if test "x$GCC" = "xyes"; then
45982 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
45983 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
45986 case "${BAKEFILE_HOST}" in
45988 if test "x$GCC" != "xyes"; then
45989 LDFLAGS
="$LDFLAGS -L/usr/lib"
45991 SHARED_LD_CC
="${CC} -b -o"
45992 SHARED_LD_CXX
="${CXX} -b -o"
45998 if test "x$GCC" != "xyes"; then
45999 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46000 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46001 if test "${bakefile_cv_prog_icc+set}" = set; then
46002 echo $ECHO_N "(cached) $ECHO_C" >&6
46005 cat >conftest.
$ac_ext <<_ACEOF
46008 cat confdefs.h
>>conftest.
$ac_ext
46009 cat >>conftest.
$ac_ext <<_ACEOF
46010 /* end confdefs.h. */
46016 #ifndef __INTEL_COMPILER
46024 rm -f conftest.
$ac_objext
46025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46026 (eval $ac_compile) 2>conftest.er1
46028 grep -v '^ *+' conftest.er1
>conftest.err
46030 cat conftest.err
>&5
46031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46032 (exit $ac_status); } &&
46033 { ac_try
='test -z "$ac_c_werror_flag"
46034 || test ! -s conftest.err'
46035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46036 (eval $ac_try) 2>&5
46038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46039 (exit $ac_status); }; } &&
46040 { ac_try
='test -s conftest.$ac_objext'
46041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46042 (eval $ac_try) 2>&5
46044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46045 (exit $ac_status); }; }; then
46046 bakefile_cv_prog_icc
=yes
46048 echo "$as_me: failed program was:" >&5
46049 sed 's/^/| /' conftest.
$ac_ext >&5
46051 bakefile_cv_prog_icc
=no
46054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46057 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46058 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46059 if test "$bakefile_cv_prog_icc" = "yes"; then
46066 if test "x$GCC" != xyes
; then
46067 SHARED_LD_CC
="${CC} -G -o"
46068 SHARED_LD_CXX
="${CXX} -G -o"
46076 cat <<EOF >shared-ld-sh
46078 #-----------------------------------------------------------------------------
46079 #-- Name: distrib/mac/shared-ld-sh
46080 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46081 #-- Author: Gilles Depeyrot
46082 #-- Copyright: (c) 2002 Gilles Depeyrot
46083 #-- Licence: any use permitted
46084 #-----------------------------------------------------------------------------
46089 linking_flag="-dynamiclib"
46090 ldargs="-r -keep_private_externs -nostdlib"
46092 while test ${D}# -gt 0; do
46099 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46100 # collect these options and values
46101 args="${D}{args} ${D}1 ${D}2"
46106 # collect these load args
46107 ldargs="${D}{ldargs} ${D}1"
46110 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46111 # collect these options
46112 args="${D}{args} ${D}1"
46115 -dynamiclib|-bundle)
46116 linking_flag="${D}1"
46120 echo "shared-ld: unhandled option '${D}1'"
46124 *.o | *.a | *.dylib)
46125 # collect object files
46126 objects="${D}{objects} ${D}1"
46130 echo "shared-ld: unhandled argument '${D}1'"
46141 # Link one module containing all the others
46143 if test ${D}{verbose} = 1; then
46144 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46146 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46150 # Link the shared library from the single module created, but only if the
46151 # previous command didn't fail:
46153 if test ${D}{status} = 0; then
46154 if test ${D}{verbose} = 1; then
46155 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46157 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46162 # Remove intermediate module
46164 rm -f master.${D}${D}.o
46169 chmod +x shared
-ld-sh
46171 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46172 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46175 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46176 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46177 if test "${bakefile_cv_gcc31+set}" = set; then
46178 echo $ECHO_N "(cached) $ECHO_C" >&6
46181 cat >conftest.
$ac_ext <<_ACEOF
46184 cat confdefs.h
>>conftest.
$ac_ext
46185 cat >>conftest.
$ac_ext <<_ACEOF
46186 /* end confdefs.h. */
46192 #if (__GNUC__ < 3) || \
46193 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46201 rm -f conftest.
$ac_objext
46202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46203 (eval $ac_compile) 2>conftest.er1
46205 grep -v '^ *+' conftest.er1
>conftest.err
46207 cat conftest.err
>&5
46208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209 (exit $ac_status); } &&
46210 { ac_try
='test -z "$ac_c_werror_flag"
46211 || test ! -s conftest.err'
46212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46213 (eval $ac_try) 2>&5
46215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216 (exit $ac_status); }; } &&
46217 { ac_try
='test -s conftest.$ac_objext'
46218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46219 (eval $ac_try) 2>&5
46221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222 (exit $ac_status); }; }; then
46224 bakefile_cv_gcc31
=yes
46227 echo "$as_me: failed program was:" >&5
46228 sed 's/^/| /' conftest.
$ac_ext >&5
46231 bakefile_cv_gcc31
=no
46235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46238 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46239 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46240 if test "$bakefile_cv_gcc31" = "no"; then
46241 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46242 SHARED_LD_CXX
="$SHARED_LD_CC"
46244 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46245 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46248 if test "x$GCC" == "xyes"; then
46249 PIC_FLAG
="-dynamic -fPIC"
46251 if test "x$XLCC" = "xyes"; then
46252 PIC_FLAG
="-dynamic -DPIC"
46257 if test "x$GCC" = "xyes"; then
46260 case "${BAKEFILE_HOST}" in
46262 LD_EXPFULL
="-Wl,-bexpfull"
46266 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46267 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46269 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46270 set dummy makeC
++SharedLib
; ac_word
=$2
46271 echo "$as_me:$LINENO: checking for $ac_word" >&5
46272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46273 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46274 echo $ECHO_N "(cached) $ECHO_C" >&6
46276 if test -n "$AIX_CXX_LD"; then
46277 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46280 for as_dir
in $PATH
46283 test -z "$as_dir" && as_dir
=.
46284 for ac_exec_ext
in '' $ac_executable_extensions; do
46285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46286 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46293 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46296 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46297 if test -n "$AIX_CXX_LD"; then
46298 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46299 echo "${ECHO_T}$AIX_CXX_LD" >&6
46301 echo "$as_me:$LINENO: result: no" >&5
46302 echo "${ECHO_T}no" >&6
46305 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46306 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46311 SHARED_LD_CC
="${LD} -nostart -o"
46312 SHARED_LD_CXX
="${LD} -nostart -o"
46316 if test "x$GCC" != "xyes"; then
46321 *-*-cygwin* | *-*-mingw32* )
46323 SHARED_LD_CC
="\$(CC) -shared -o"
46324 SHARED_LD_CXX
="\$(CXX) -shared -o"
46328 *-pc-os2_emx | *-pc-os2-emx )
46329 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46330 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46334 cat <<EOF >dllar.sh
46337 # dllar - a tool to build both a .dll and an .a file
46338 # from a set of object (.o) files for EMX/OS2.
46340 # Written by Andrew Zabolotny, bit@freya.etu.ru
46341 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46343 # This script will accept a set of files on the command line.
46344 # All the public symbols from the .o files will be exported into
46345 # a .DEF file, then linker will be run (through gcc) against them to
46346 # build a shared library consisting of all given .o files. All libraries
46347 # (.a) will be first decompressed into component .o files then act as
46348 # described above. You can optionally give a description (-d "description")
46349 # which will be put into .DLL. To see the list of accepted options (as well
46350 # as command-line format) simply run this program without options. The .DLL
46351 # is built to be imported by name (there is no guarantee that new versions
46352 # of the library you build will have same ordinals for same symbols).
46354 # dllar is free software; you can redistribute it and/or modify
46355 # it under the terms of the GNU General Public License as published by
46356 # the Free Software Foundation; either version 2, or (at your option)
46357 # any later version.
46359 # dllar is distributed in the hope that it will be useful,
46360 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46361 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46362 # GNU General Public License for more details.
46364 # You should have received a copy of the GNU General Public License
46365 # along with dllar; see the file COPYING. If not, write to the Free
46366 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46369 # To successfuly run this program you will need:
46370 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46371 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46373 # (used to build the .dll)
46375 # (used to create .def file from .o files)
46377 # (used to create .a file from .def file)
46378 # - GNU text utilites (cat, sort, uniq)
46379 # used to process emxexp output
46380 # - GNU file utilities (mv, rm)
46382 # - lxlite (optional, see flag below)
46383 # (used for general .dll cleanup)
46390 # basnam, variant of basename, which does _not_ remove the path, _iff_
46391 # second argument (suffix to remove) is given
46395 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46398 echo ${D}1 | sed 's/'${D}2'${D}//'
46401 echo "error in basnam ${D}*"
46407 # Cleanup temporary files and output
46410 for i in ${D}inputFiles ; do
46413 rm -rf \`basnam ${D}i !\`
46420 # Kill result in case of failure as there is just to many stupid make/nmake
46421 # things out there which doesn't do this.
46422 if [ ${D}# -eq 0 ]; then
46423 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46427 # Print usage and exit script with rc=1.
46429 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46430 echo ' [-name-mangler-script script.sh]'
46431 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46432 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46433 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46434 echo ' [*.o] [*.a]'
46435 echo '*> "output_file" should have no extension.'
46436 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46437 echo ' The import library name is derived from this and is set to "name".a,'
46438 echo ' unless overridden by -import'
46439 echo '*> "importlib_name" should have no extension.'
46440 echo ' If it has the .o, or .a extension, it is automatically removed.'
46441 echo ' This name is used as the import library name and may be longer and'
46442 echo ' more descriptive than the DLL name which has to follow the old '
46443 echo ' 8.3 convention of FAT.'
46444 echo '*> "script.sh may be given to override the output_file name by a'
46445 echo ' different name. It is mainly useful if the regular make process'
46446 echo ' of some package does not take into account OS/2 restriction of'
46447 echo ' DLL name lengths. It takes the importlib name as input and is'
46448 echo ' supposed to procude a shorter name as output. The script should'
46449 echo ' expect to get importlib_name without extension and should produce'
46450 echo ' a (max.) 8 letter name without extension.'
46451 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46452 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46453 echo ' These flags will be put at the start of GCC command line.'
46454 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46455 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46456 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46457 echo ' If the last character of a symbol is "*", all symbols beginning'
46458 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46459 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46460 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46461 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46462 echo ' C runtime DLLs.'
46463 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46464 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46465 echo ' unchanged to GCC at the end of command line.'
46466 echo '*> If you create a DLL from a library and you do not specify -o,'
46467 echo ' the basename for DLL and import library will be set to library name,'
46468 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46469 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46470 echo ' library will be renamed into gcc_s.a.'
46473 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46474 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46479 # Execute a command.
46480 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46481 # @Uses Whatever CleanUp() uses.
46487 if [ ${D}rcCmd -ne 0 ]; then
46488 echo "command failed, exit code="${D}rcCmd
46503 CFLAGS="-s -Zcrtdll"
46505 EXPORT_BY_ORDINALS=0
46510 case ${D}curDirS in
46514 curDirS=${D}{curDirS}"/"
46517 # Parse commandline
46520 while [ ${D}1 ]; do
46523 EXPORT_BY_ORDINALS=1;
46533 -name-mangler-script)
46554 exclude_symbols=${D}{exclude_symbols}${D}1" "
46558 library_flags=${D}{library_flags}${D}1" "
46577 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46580 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46581 if [ ${D}omfLinking -eq 1 ]; then
46582 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46584 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46589 if [ ${D}libsToLink -ne 0 ]; then
46590 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46592 for file in ${D}1 ; do
46593 if [ -f ${D}file ]; then
46594 inputFiles="${D}{inputFiles} ${D}file"
46598 if [ ${D}found -eq 0 ]; then
46599 echo "ERROR: No file(s) found: "${D}1
46606 done # iterate cmdline words
46609 if [ -z "${D}inputFiles" ]; then
46610 echo "dllar: no input files"
46614 # Now extract all .o files from .a files
46616 for file in ${D}inputFiles ; do
46627 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46632 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46634 if [ ${D}? -ne 0 ]; then
46635 echo "Failed to create subdirectory ./${D}dirname"
46639 # Append '!' to indicate archive
46640 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46641 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46644 for subfile in ${D}dirname/*.o* ; do
46645 if [ -f ${D}subfile ]; then
46647 if [ -s ${D}subfile ]; then
46648 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46649 newInputFiles="${D}newInputFiles ${D}subfile"
46653 if [ ${D}found -eq 0 ]; then
46654 echo "WARNING: there are no files in archive \\'${D}file\\'"
46658 newInputFiles="${D}{newInputFiles} ${D}file"
46662 inputFiles="${D}newInputFiles"
46664 # Output filename(s).
46666 if [ -z ${D}outFile ]; then
46668 set outFile ${D}inputFiles; outFile=${D}2
46671 # If it is an archive, remove the '!' and the '_%' suffixes
46672 case ${D}outFile in
46674 outFile=\`basnam ${D}outFile _%!\`
46679 case ${D}outFile in
46681 outFile=\`basnam ${D}outFile .dll\`
46684 outFile=\`basnam ${D}outFile .DLL\`
46687 outFile=\`basnam ${D}outFile .o\`
46690 outFile=\`basnam ${D}outFile .obj\`
46693 outFile=\`basnam ${D}outFile .a\`
46696 outFile=\`basnam ${D}outFile .lib\`
46701 case ${D}outimpFile in
46703 outimpFile=\`basnam ${D}outimpFile .a\`
46706 outimpFile=\`basnam ${D}outimpFile .lib\`
46711 if [ -z ${D}outimpFile ]; then
46712 outimpFile=${D}outFile
46714 defFile="${D}{outFile}.def"
46715 arcFile="${D}{outimpFile}.a"
46716 arcFile2="${D}{outimpFile}.lib"
46718 #create ${D}dllFile as something matching 8.3 restrictions,
46719 if [ -z ${D}renameScript ] ; then
46720 dllFile="${D}outFile"
46722 dllFile=\`${D}renameScript ${D}outimpFile\`
46725 if [ ${D}do_backup -ne 0 ] ; then
46726 if [ -f ${D}arcFile ] ; then
46727 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46729 if [ -f ${D}arcFile2 ] ; then
46730 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46734 # Extract public symbols from all the object files.
46735 tmpdefFile=${D}{defFile}_%
46736 rm -f ${D}tmpdefFile
46737 for file in ${D}inputFiles ; do
46742 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46747 # Create the def file.
46749 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46750 dllFile="${D}{dllFile}.dll"
46751 if [ ! -z ${D}description ]; then
46752 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46754 echo "EXPORTS" >> ${D}defFile
46756 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46757 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46759 # Checks if the export is ok or not.
46760 for word in ${D}exclude_symbols; do
46761 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46762 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46766 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46767 sed "=" < ${D}tmpdefFile | \\
46771 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46773 ' > ${D}{tmpdefFile}%
46774 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46776 rm -f ${D}{tmpdefFile}%
46778 cat ${D}tmpdefFile >> ${D}defFile
46779 rm -f ${D}tmpdefFile
46781 # Do linking, create implib, and apply lxlite.
46783 for file in ${D}inputFiles ; do
46788 gccCmdl="${D}gccCmdl ${D}file"
46792 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46793 touch "${D}{outFile}.dll"
46795 doCommand "emximp -o ${D}arcFile ${D}defFile"
46796 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46798 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46801 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46803 doCommand "emxomf -s -l ${D}arcFile"
46813 powerpc
-apple-macos* | \
46814 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46823 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46824 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46825 { (exit 1); exit 1; }; }
46828 if test "x$PIC_FLAG" != "x" ; then
46829 PIC_FLAG
="$PIC_FLAG -DPIC"
46832 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46833 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46835 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46836 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46855 case "${BAKEFILE_HOST}" in
46856 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46857 SONAME_FLAG
="-Wl,-soname,"
46891 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46892 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46895 if test "x$GCC" = "xyes"; then
46897 case "${BAKEFILE_HOST}" in
46899 DEPSFLAG
="-no-cpp-precomp -MMD"
46905 echo "$as_me:$LINENO: result: gcc" >&5
46906 echo "${ECHO_T}gcc" >&6
46907 elif test "x$MWCC" = "xyes"; then
46910 echo "$as_me:$LINENO: result: mwcc" >&5
46911 echo "${ECHO_T}mwcc" >&6
46912 elif test "x$SUNCC" = "xyes"; then
46915 echo "$as_me:$LINENO: result: Sun cc" >&5
46916 echo "${ECHO_T}Sun cc" >&6
46917 elif test "x$SGICC" = "xyes"; then
46920 echo "$as_me:$LINENO: result: SGI cc" >&5
46921 echo "${ECHO_T}SGI cc" >&6
46922 elif test "x$HPCC" = "xyes"; then
46925 echo "$as_me:$LINENO: result: HP cc" >&5
46926 echo "${ECHO_T}HP cc" >&6
46927 elif test "x$COMPAQCC" = "xyes"; then
46930 echo "$as_me:$LINENO: result: Compaq cc" >&5
46931 echo "${ECHO_T}Compaq cc" >&6
46934 echo "$as_me:$LINENO: result: none" >&5
46935 echo "${ECHO_T}none" >&6
46938 if test $DEPS_TRACKING = 1 ; then
46944 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46945 # script. It is used to track C/C++ files dependencies in portable way.
46947 # Permission is given to use this file in any way.
46949 DEPSMODE=${DEPSMODE}
46951 DEPSFLAG="${DEPSFLAG}"
46953 mkdir -p ${D}DEPSDIR
46955 if test ${D}DEPSMODE = gcc ; then
46956 ${D}* ${D}{DEPSFLAG}
46958 if test ${D}{status} != 0 ; then
46961 # move created file to the location we want it in:
46962 while test ${D}# -gt 0; do
46976 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
46977 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
46978 if test -f ${D}depfile ; then
46979 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46982 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
46983 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
46984 if test ! -f ${D}depfile ; then
46985 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
46986 depfile="${D}objfile.d"
46988 if test -f ${D}depfile ; then
46989 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46994 elif test ${D}DEPSMODE = mwcc ; then
46995 ${D}* || exit ${D}?
46996 # Run mwcc again with -MM and redirect into the dep file we want
46997 # NOTE: We can't use shift here because we need ${D}* to be valid
46999 for arg in ${D}* ; do
47000 if test "${D}prevarg" = "-o"; then
47013 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47015 elif test ${D}DEPSMODE = unixcc; then
47016 ${D}* || exit ${D}?
47017 # Run compiler again with deps flag and redirect into the dep file.
47018 # It doesn't work if the '-o FILE' option is used, but without it the
47019 # dependency file will contain the wrong name for the object. So it is
47020 # removed from the command line, and the dep file is fixed with sed.
47022 while test ${D}# -gt 0; do
47029 eval arg${D}#=\\${D}1
47030 cmd="${D}cmd \\${D}arg${D}#"
47035 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47049 case ${BAKEFILE_HOST} in
47050 *-*-cygwin* | *-*-mingw32* )
47051 if test -n "$ac_tool_prefix"; then
47052 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47053 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47054 echo "$as_me:$LINENO: checking for $ac_word" >&5
47055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47056 if test "${ac_cv_prog_WINDRES+set}" = set; then
47057 echo $ECHO_N "(cached) $ECHO_C" >&6
47059 if test -n "$WINDRES"; then
47060 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47063 for as_dir
in $PATH
47066 test -z "$as_dir" && as_dir
=.
47067 for ac_exec_ext
in '' $ac_executable_extensions; do
47068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47069 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47078 WINDRES
=$ac_cv_prog_WINDRES
47079 if test -n "$WINDRES"; then
47080 echo "$as_me:$LINENO: result: $WINDRES" >&5
47081 echo "${ECHO_T}$WINDRES" >&6
47083 echo "$as_me:$LINENO: result: no" >&5
47084 echo "${ECHO_T}no" >&6
47088 if test -z "$ac_cv_prog_WINDRES"; then
47089 ac_ct_WINDRES
=$WINDRES
47090 # Extract the first word of "windres", so it can be a program name with args.
47091 set dummy windres
; ac_word
=$2
47092 echo "$as_me:$LINENO: checking for $ac_word" >&5
47093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47094 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47095 echo $ECHO_N "(cached) $ECHO_C" >&6
47097 if test -n "$ac_ct_WINDRES"; then
47098 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47101 for as_dir
in $PATH
47104 test -z "$as_dir" && as_dir
=.
47105 for ac_exec_ext
in '' $ac_executable_extensions; do
47106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47107 ac_cv_prog_ac_ct_WINDRES
="windres"
47108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47116 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47117 if test -n "$ac_ct_WINDRES"; then
47118 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47119 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47121 echo "$as_me:$LINENO: result: no" >&5
47122 echo "${ECHO_T}no" >&6
47125 WINDRES
=$ac_ct_WINDRES
47127 WINDRES
="$ac_cv_prog_WINDRES"
47132 *-*-darwin* | powerpc
-apple-macos* )
47133 # Extract the first word of "Rez", so it can be a program name with args.
47134 set dummy Rez
; ac_word
=$2
47135 echo "$as_me:$LINENO: checking for $ac_word" >&5
47136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47137 if test "${ac_cv_prog_REZ+set}" = set; then
47138 echo $ECHO_N "(cached) $ECHO_C" >&6
47140 if test -n "$REZ"; then
47141 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47144 for as_dir
in $PATH
47147 test -z "$as_dir" && as_dir
=.
47148 for ac_exec_ext
in '' $ac_executable_extensions; do
47149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47150 ac_cv_prog_REZ
="Rez"
47151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47157 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47160 REZ
=$ac_cv_prog_REZ
47161 if test -n "$REZ"; then
47162 echo "$as_me:$LINENO: result: $REZ" >&5
47163 echo "${ECHO_T}$REZ" >&6
47165 echo "$as_me:$LINENO: result: no" >&5
47166 echo "${ECHO_T}no" >&6
47169 # Extract the first word of "SetFile", so it can be a program name with args.
47170 set dummy SetFile
; ac_word
=$2
47171 echo "$as_me:$LINENO: checking for $ac_word" >&5
47172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47173 if test "${ac_cv_prog_SETFILE+set}" = set; then
47174 echo $ECHO_N "(cached) $ECHO_C" >&6
47176 if test -n "$SETFILE"; then
47177 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47180 for as_dir
in $PATH
47183 test -z "$as_dir" && as_dir
=.
47184 for ac_exec_ext
in '' $ac_executable_extensions; do
47185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47186 ac_cv_prog_SETFILE
="SetFile"
47187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47193 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47196 SETFILE
=$ac_cv_prog_SETFILE
47197 if test -n "$SETFILE"; then
47198 echo "$as_me:$LINENO: result: $SETFILE" >&5
47199 echo "${ECHO_T}$SETFILE" >&6
47201 echo "$as_me:$LINENO: result: no" >&5
47202 echo "${ECHO_T}no" >&6
47213 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
47216 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
47220 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47221 if test "${enable_precomp_headers+set}" = set; then
47222 enableval
="$enable_precomp_headers"
47223 bk_use_pch
="$enableval"
47228 case ${BAKEFILE_HOST} in
47234 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47235 if test "x$GCC" = "xyes"; then
47236 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47237 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47238 cat >conftest.
$ac_ext <<_ACEOF
47241 cat confdefs.h
>>conftest.
$ac_ext
47242 cat >>conftest.
$ac_ext <<_ACEOF
47243 /* end confdefs.h. */
47249 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47250 #error "no pch support"
47253 #error "no pch support"
47255 #if (__GNUC__ == 3) && \
47256 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47257 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
47258 #error "no pch support"
47265 rm -f conftest.
$ac_objext
47266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47267 (eval $ac_compile) 2>conftest.er1
47269 grep -v '^ *+' conftest.er1
>conftest.err
47271 cat conftest.err
>&5
47272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47273 (exit $ac_status); } &&
47274 { ac_try
='test -z "$ac_c_werror_flag"
47275 || test ! -s conftest.err'
47276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47277 (eval $ac_try) 2>&5
47279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47280 (exit $ac_status); }; } &&
47281 { ac_try
='test -s conftest.$ac_objext'
47282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47283 (eval $ac_try) 2>&5
47285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47286 (exit $ac_status); }; }; then
47288 echo "$as_me:$LINENO: result: yes" >&5
47289 echo "${ECHO_T}yes" >&6
47293 echo "$as_me: failed program was:" >&5
47294 sed 's/^/| /' conftest.
$ac_ext >&5
47297 echo "$as_me:$LINENO: result: no" >&5
47298 echo "${ECHO_T}no" >&6
47301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47302 if test $GCC_PCH = 1 ; then
47305 cat <<EOF >bk-make-pch
47308 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47309 # script. It is used to generated precompiled headers.
47311 # Permission is given to use this file in any way.
47320 while test ${D}{#} -gt 0; do
47323 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47324 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47325 headerfile="${D}{incdir}/${D}{header}"
47329 compiler="${D}{compiler} ${D}{1}"
47333 if test "x${D}{headerfile}" = "x" ; then
47334 echo "error: can't find header ${D}{header} in include paths" >2
47336 if test -f ${D}{outfile} ; then
47337 rm -f ${D}{outfile}
47339 mkdir -p \`dirname ${D}{outfile}\`
47341 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47343 # can do this because gcc is >= 3.4:
47344 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47349 chmod +x bk
-make-pch
47356 COND_BUILD_DEBUG
="#"
47357 if test "x$BUILD" = "xdebug" ; then
47358 COND_BUILD_DEBUG
=""
47361 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47362 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47363 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47366 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47367 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47368 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47371 COND_BUILD_DEBUG_UNICODE_0
="#"
47372 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47373 COND_BUILD_DEBUG_UNICODE_0
=""
47376 COND_BUILD_DEBUG_UNICODE_1
="#"
47377 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47378 COND_BUILD_DEBUG_UNICODE_1
=""
47381 COND_BUILD_RELEASE
="#"
47382 if test "x$BUILD" = "xrelease" ; then
47383 COND_BUILD_RELEASE
=""
47386 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47387 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47388 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47391 COND_BUILD_RELEASE_UNICODE_0
="#"
47392 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47393 COND_BUILD_RELEASE_UNICODE_0
=""
47396 COND_BUILD_RELEASE_UNICODE_1
="#"
47397 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47398 COND_BUILD_RELEASE_UNICODE_1
=""
47401 COND_DEBUG_FLAG_1
="#"
47402 if test "x$DEBUG_FLAG" = "x1" ; then
47403 COND_DEBUG_FLAG_1
=""
47406 COND_DEBUG_INFO_0
="#"
47407 if test "x$DEBUG_INFO" = "x0" ; then
47408 COND_DEBUG_INFO_0
=""
47411 COND_DEBUG_INFO_1
="#"
47412 if test "x$DEBUG_INFO" = "x1" ; then
47413 COND_DEBUG_INFO_1
=""
47416 COND_DEPS_TRACKING_0
="#"
47417 if test "x$DEPS_TRACKING" = "x0" ; then
47418 COND_DEPS_TRACKING_0
=""
47421 COND_DEPS_TRACKING_1
="#"
47422 if test "x$DEPS_TRACKING" = "x1" ; then
47423 COND_DEPS_TRACKING_1
=""
47427 if test "x$GCC_PCH" = "x1" ; then
47431 COND_MONOLITHIC_0
="#"
47432 if test "x$MONOLITHIC" = "x0" ; then
47433 COND_MONOLITHIC_0
=""
47436 COND_MONOLITHIC_0_SHARED_0
="#"
47437 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47438 COND_MONOLITHIC_0_SHARED_0
=""
47441 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47442 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47443 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47446 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47447 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47448 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47451 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47452 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47453 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47456 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47457 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47458 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47461 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47462 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47463 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47466 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47467 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47468 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47471 COND_MONOLITHIC_0_SHARED_1
="#"
47472 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47473 COND_MONOLITHIC_0_SHARED_1
=""
47476 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47477 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47478 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47481 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47482 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47483 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47486 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47487 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47488 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47491 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47492 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47493 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47496 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47497 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47498 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47501 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47502 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47503 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47506 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47507 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47508 COND_MONOLITHIC_0_USE_ODBC_1
=""
47511 COND_MONOLITHIC_1
="#"
47512 if test "x$MONOLITHIC" = "x1" ; then
47513 COND_MONOLITHIC_1
=""
47516 COND_MONOLITHIC_1_SHARED_0
="#"
47517 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47518 COND_MONOLITHIC_1_SHARED_0
=""
47521 COND_MONOLITHIC_1_SHARED_1
="#"
47522 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47523 COND_MONOLITHIC_1_SHARED_1
=""
47526 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47527 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47528 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47531 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47532 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47533 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47536 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47537 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47538 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47541 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47542 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47543 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47546 COND_PLATFORM_MACOSX_1
="#"
47547 if test "x$PLATFORM_MACOSX" = "x1" ; then
47548 COND_PLATFORM_MACOSX_1
=""
47551 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47552 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47553 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47556 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47557 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47558 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47561 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47562 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47563 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47566 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47567 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47568 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47571 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47572 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47573 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47576 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47577 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47578 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47581 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47582 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47583 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47586 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47587 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47588 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47591 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47592 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47593 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47596 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47597 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47598 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47601 COND_PLATFORM_MACOS_1
="#"
47602 if test "x$PLATFORM_MACOS" = "x1" ; then
47603 COND_PLATFORM_MACOS_1
=""
47606 COND_PLATFORM_MAC_1
="#"
47607 if test "x$PLATFORM_MAC" = "x1" ; then
47608 COND_PLATFORM_MAC_1
=""
47611 COND_PLATFORM_MSDOS_1
="#"
47612 if test "x$PLATFORM_MSDOS" = "x1" ; then
47613 COND_PLATFORM_MSDOS_1
=""
47616 COND_PLATFORM_OS2_1
="#"
47617 if test "x$PLATFORM_OS2" = "x1" ; then
47618 COND_PLATFORM_OS2_1
=""
47621 COND_PLATFORM_UNIX_0
="#"
47622 if test "x$PLATFORM_UNIX" = "x0" ; then
47623 COND_PLATFORM_UNIX_0
=""
47626 COND_PLATFORM_UNIX_1
="#"
47627 if test "x$PLATFORM_UNIX" = "x1" ; then
47628 COND_PLATFORM_UNIX_1
=""
47631 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47632 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47633 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47636 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47637 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47638 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47641 COND_PLATFORM_WIN32_0
="#"
47642 if test "x$PLATFORM_WIN32" = "x0" ; then
47643 COND_PLATFORM_WIN32_0
=""
47646 COND_PLATFORM_WIN32_1
="#"
47647 if test "x$PLATFORM_WIN32" = "x1" ; then
47648 COND_PLATFORM_WIN32_1
=""
47652 if test "x$SHARED" = "x0" ; then
47656 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47657 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47658 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47661 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47662 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47663 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47666 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47667 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47668 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47671 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47672 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47673 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47676 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47677 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47678 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47681 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47682 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47683 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47686 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47687 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47688 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47691 COND_SHARED_0_USE_XRC_1
="#"
47692 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47693 COND_SHARED_0_USE_XRC_1
=""
47696 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47697 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47698 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47701 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47702 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47703 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47706 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47707 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47708 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47711 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47712 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47713 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47717 if test "x$SHARED" = "x1" ; then
47721 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47722 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47723 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47726 COND_SHARED_1_USE_XRC_1
="#"
47727 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47728 COND_SHARED_1_USE_XRC_1
=""
47732 if test "x$TOOLKIT" = "x" ; then
47736 COND_TOOLKIT_COCOA
="#"
47737 if test "x$TOOLKIT" = "xCOCOA" ; then
47738 COND_TOOLKIT_COCOA
=""
47741 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47742 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47743 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47746 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47747 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47748 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47751 COND_TOOLKIT_GTK
="#"
47752 if test "x$TOOLKIT" = "xGTK" ; then
47753 COND_TOOLKIT_GTK
=""
47756 COND_TOOLKIT_GTK_USE_GUI_1
="#"
47757 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47758 COND_TOOLKIT_GTK_USE_GUI_1
=""
47761 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
="#"
47762 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47763 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0
=""
47766 COND_TOOLKIT_MAC
="#"
47767 if test "x$TOOLKIT" = "xMAC" ; then
47768 COND_TOOLKIT_MAC
=""
47771 COND_TOOLKIT_MAC_USE_GUI_1
="#"
47772 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47773 COND_TOOLKIT_MAC_USE_GUI_1
=""
47776 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47777 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47778 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47781 COND_TOOLKIT_MGL
="#"
47782 if test "x$TOOLKIT" = "xMGL" ; then
47783 COND_TOOLKIT_MGL
=""
47786 COND_TOOLKIT_MGL_USE_GUI_1
="#"
47787 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47788 COND_TOOLKIT_MGL_USE_GUI_1
=""
47791 COND_TOOLKIT_MOTIF
="#"
47792 if test "x$TOOLKIT" = "xMOTIF" ; then
47793 COND_TOOLKIT_MOTIF
=""
47796 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
47797 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47798 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
47801 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
47802 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47803 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
47806 COND_TOOLKIT_MSW
="#"
47807 if test "x$TOOLKIT" = "xMSW" ; then
47808 COND_TOOLKIT_MSW
=""
47811 COND_TOOLKIT_MSW_USE_GUI_1
="#"
47812 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47813 COND_TOOLKIT_MSW_USE_GUI_1
=""
47816 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
47817 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47818 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
47821 COND_TOOLKIT_MSW_WXUNIV_0
="#"
47822 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47823 COND_TOOLKIT_MSW_WXUNIV_0
=""
47826 COND_TOOLKIT_PM
="#"
47827 if test "x$TOOLKIT" = "xPM" ; then
47831 COND_TOOLKIT_PM_USE_GUI_1
="#"
47832 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47833 COND_TOOLKIT_PM_USE_GUI_1
=""
47836 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
47837 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47838 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
47841 COND_TOOLKIT_WINCE
="#"
47842 if test "x$TOOLKIT" = "xWINCE" ; then
47843 COND_TOOLKIT_WINCE
=""
47846 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
47847 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47848 COND_TOOLKIT_WINCE_USE_GUI_1
=""
47851 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
47852 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47853 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
47856 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
47857 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47858 COND_TOOLKIT_WINCE_WXUNIV_0
=""
47861 COND_TOOLKIT_X11
="#"
47862 if test "x$TOOLKIT" = "xX11" ; then
47863 COND_TOOLKIT_X11
=""
47866 COND_TOOLKIT_X11_USE_GUI_1
="#"
47867 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47868 COND_TOOLKIT_X11_USE_GUI_1
=""
47872 if test "x$UNICODE" = "x1" ; then
47876 COND_USE_EXCEPTIONS_0
="#"
47877 if test "x$USE_EXCEPTIONS" = "x0" ; then
47878 COND_USE_EXCEPTIONS_0
=""
47881 COND_USE_EXCEPTIONS_1
="#"
47882 if test "x$USE_EXCEPTIONS" = "x1" ; then
47883 COND_USE_EXCEPTIONS_1
=""
47887 if test "x$USE_GUI" = "x0" ; then
47892 if test "x$USE_GUI" = "x1" ; then
47896 COND_USE_GUI_1_WXUNIV_0
="#"
47897 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47898 COND_USE_GUI_1_WXUNIV_0
=""
47901 COND_USE_GUI_1_WXUNIV_1
="#"
47902 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47903 COND_USE_GUI_1_WXUNIV_1
=""
47906 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47907 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47908 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47911 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47912 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47913 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47916 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47917 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47918 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47921 COND_USE_ODBC_1
="#"
47922 if test "x$USE_ODBC" = "x1" ; then
47926 COND_USE_OPENGL_1
="#"
47927 if test "x$USE_OPENGL" = "x1" ; then
47928 COND_USE_OPENGL_1
=""
47931 COND_USE_PLUGINS_0
="#"
47932 if test "x$USE_PLUGINS" = "x0" ; then
47933 COND_USE_PLUGINS_0
=""
47936 COND_USE_RTTI_0
="#"
47937 if test "x$USE_RTTI" = "x0" ; then
47941 COND_USE_RTTI_1
="#"
47942 if test "x$USE_RTTI" = "x1" ; then
47946 COND_USE_SOSYMLINKS_1
="#"
47947 if test "x$USE_SOSYMLINKS" = "x1" ; then
47948 COND_USE_SOSYMLINKS_1
=""
47951 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
47952 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47953 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
47956 COND_USE_SOVERLINUX_1
="#"
47957 if test "x$USE_SOVERLINUX" = "x1" ; then
47958 COND_USE_SOVERLINUX_1
=""
47961 COND_USE_SOVERSION_0
="#"
47962 if test "x$USE_SOVERSION" = "x0" ; then
47963 COND_USE_SOVERSION_0
=""
47966 COND_USE_SOVERSOLARIS_1
="#"
47967 if test "x$USE_SOVERSOLARIS" = "x1" ; then
47968 COND_USE_SOVERSOLARIS_1
=""
47971 COND_USE_THREADS_0
="#"
47972 if test "x$USE_THREADS" = "x0" ; then
47973 COND_USE_THREADS_0
=""
47976 COND_USE_THREADS_1
="#"
47977 if test "x$USE_THREADS" = "x1" ; then
47978 COND_USE_THREADS_1
=""
47982 if test "x$USE_XRC" = "x1" ; then
47986 COND_WINDOWS_IMPLIB_1
="#"
47987 if test "x$WINDOWS_IMPLIB" = "x1" ; then
47988 COND_WINDOWS_IMPLIB_1
=""
47991 COND_WITH_PLUGIN_SDL_1
="#"
47992 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
47993 COND_WITH_PLUGIN_SDL_1
=""
47997 if test "x$WXUNIV" = "x0" ; then
48002 if test "x$WXUNIV" = "x1" ; then
48006 COND_WXUSE_EXPAT_BUILTIN
="#"
48007 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48008 COND_WXUSE_EXPAT_BUILTIN
=""
48011 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48012 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48013 COND_WXUSE_LIBJPEG_BUILTIN
=""
48016 COND_WXUSE_LIBPNG_BUILTIN
="#"
48017 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48018 COND_WXUSE_LIBPNG_BUILTIN
=""
48021 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48022 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48023 COND_WXUSE_LIBTIFF_BUILTIN
=""
48026 COND_WXUSE_ODBC_BUILTIN
="#"
48027 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48028 COND_WXUSE_ODBC_BUILTIN
=""
48031 COND_WXUSE_REGEX_BUILTIN
="#"
48032 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48033 COND_WXUSE_REGEX_BUILTIN
=""
48036 COND_WXUSE_ZLIB_BUILTIN
="#"
48037 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48038 COND_WXUSE_ZLIB_BUILTIN
=""
48043 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48044 { { 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
48045 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;}
48046 { (exit 1); exit 1; }; }
48049 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48050 { { 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
48051 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;}
48052 { (exit 1); exit 1; }; }
48056 if test "$wxUSE_SHARED" = "yes"; then
48058 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48059 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48062 *-pc-os2_emx | *-pc-os2-emx )
48063 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48064 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48065 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48066 cp -p ${srcdir}/src
/os
2/dllar.sh .
48071 EXE_LINKER
="$CXX -o"
48074 if test "$wxUSE_OMF" = "yes"; then
48076 *-pc-os2_emx | *-pc-os2-emx )
48077 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48078 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48079 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48084 if test $GCC_PCH = 1 ; then
48085 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48088 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48090 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48152 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48153 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48154 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48155 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48156 echo $ECHO_N "(cached) $ECHO_C" >&6
48158 cat >conftest.
make <<\_ACEOF
48160 @
echo 'ac_maketemp="$(MAKE)"'
48162 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48163 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48164 if test -n "$ac_maketemp"; then
48165 eval ac_cv_prog_make_
${ac_make}_set
=yes
48167 eval ac_cv_prog_make_
${ac_make}_set
=no
48169 rm -f conftest.
make
48171 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48172 echo "$as_me:$LINENO: result: yes" >&5
48173 echo "${ECHO_T}yes" >&6
48176 echo "$as_me:$LINENO: result: no" >&5
48177 echo "${ECHO_T}no" >&6
48178 SET_MAKE
="MAKE=${MAKE-make}"
48183 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48186 if test "$USE_WIN32" = 1; then
48187 ac_config_commands
="$ac_config_commands
48193 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48196 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48199 ac_config_files
="$ac_config_files version-script Makefile"
48202 ac_config_commands
="$ac_config_commands wx-config"
48206 if test "$wxWITH_SUBDIRS" != "no"; then
48207 if test "$wxUSE_GUI" = "yes"; then
48208 SUBDIRS
="samples demos utils contrib"
48209 else SUBDIRS
="samples utils"
48214 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48215 if test "${with_cppunit_prefix+set}" = set; then
48216 withval
="$with_cppunit_prefix"
48217 cppunit_config_prefix
="$withval"
48219 cppunit_config_prefix
=""
48222 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48223 if test "${with_cppunit_exec_prefix+set}" = set; then
48224 withval
="$with_cppunit_exec_prefix"
48225 cppunit_config_exec_prefix
="$withval"
48227 cppunit_config_exec_prefix
=""
48230 if test x
$cppunit_config_exec_prefix != x
; then
48231 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48232 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48233 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48236 if test x
$cppunit_config_prefix != x
; then
48237 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48238 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48239 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48243 # Extract the first word of "cppunit-config", so it can be a program name with args.
48244 set dummy cppunit
-config; ac_word
=$2
48245 echo "$as_me:$LINENO: checking for $ac_word" >&5
48246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48247 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48248 echo $ECHO_N "(cached) $ECHO_C" >&6
48250 case $CPPUNIT_CONFIG in
48252 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48256 for as_dir
in $PATH
48259 test -z "$as_dir" && as_dir
=.
48260 for ac_exec_ext
in '' $ac_executable_extensions; do
48261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48262 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48269 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48273 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48275 if test -n "$CPPUNIT_CONFIG"; then
48276 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48277 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48279 echo "$as_me:$LINENO: result: no" >&5
48280 echo "${ECHO_T}no" >&6
48283 cppunit_version_min
=1.8.0
48285 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48286 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48288 if test "$CPPUNIT_CONFIG" = "no" ; then
48291 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48292 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48293 cppunit_version
=`$CPPUNIT_CONFIG --version`
48295 cppunit_major_version
=`echo $cppunit_version | \
48296 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48297 cppunit_minor_version
=`echo $cppunit_version | \
48298 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48299 cppunit_micro_version
=`echo $cppunit_version | \
48300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48302 cppunit_major_min
=`echo $cppunit_version_min | \
48303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48304 cppunit_minor_min
=`echo $cppunit_version_min | \
48305 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48306 cppunit_micro_min
=`echo $cppunit_version_min | \
48307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48309 cppunit_version_proper
=`expr \
48310 $cppunit_major_version \> $cppunit_major_min \| \
48311 $cppunit_major_version \= $cppunit_major_min \& \
48312 $cppunit_minor_version \> $cppunit_minor_min \| \
48313 $cppunit_major_version \= $cppunit_major_min \& \
48314 $cppunit_minor_version \= $cppunit_minor_min \& \
48315 $cppunit_micro_version \>= $cppunit_micro_min `
48317 if test "$cppunit_version_proper" = "1" ; then
48318 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48319 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48321 echo "$as_me:$LINENO: result: no" >&5
48322 echo "${ECHO_T}no" >&6
48327 if test "x$no_cppunit" = x
; then
48328 SUBDIRS
="$SUBDIRS tests"
48339 for subdir
in `echo $SUBDIRS`; do
48340 if test -d ${srcdir}/${subdir} ; then
48341 if test "$wxUSE_GUI" = "yes"; then
48342 if test ${subdir} = "samples"; then
48343 makefiles
="samples/Makefile.in $makefiles"
48344 for sample
in `echo $SAMPLES_SUBDIRS`; do
48345 if test -d $srcdir/samples
/$sample; then
48346 makefiles
="samples/$sample/Makefile.in $makefiles"
48350 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48351 eval "disabled=\$$disabled_var"
48352 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48353 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48355 else if test ${subdir} = "samples"; then
48356 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48357 elif test ${subdir} = "utils"; then
48359 for util
in HelpGen tex2rtf
; do
48360 if test -d $srcdir/utils
/$util ; then
48361 makefiles
="utils/$util/Makefile.in \
48362 utils/$util/src/Makefile.in \
48366 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48370 for mkin
in $makefiles ; do
48371 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48372 ac_config_files
="$ac_config_files $mk"
48378 cat >confcache
<<\_ACEOF
48379 # This file is a shell script that caches the results of configure
48380 # tests run on this system so they can be shared between configure
48381 # scripts and configure runs, see configure's option --config-cache.
48382 # It is not useful on other systems. If it contains results you don't
48383 # want to keep, you may remove or edit it.
48385 # config.status only pays attention to the cache file if you give it
48386 # the --recheck option to rerun configure.
48388 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48389 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48390 # following values.
48394 # The following way of writing the cache mishandles newlines in values,
48395 # but we know of no workaround that is simple, portable, and efficient.
48396 # So, don't put newlines in cache variables' values.
48397 # Ultrix sh set writes to stderr and can't be redirected directly,
48398 # and sets the high bit in the cache file unless we assign to the vars.
48401 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48403 # `set' does not quote correctly, so add quotes (double-quote
48404 # substitution turns \\\\ into \\, and sed turns \\ into \).
48407 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48410 # `set' quotes correctly as required by POSIX, so do not add quotes.
48412 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48419 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48421 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48423 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48424 if test -w $cache_file; then
48425 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48426 cat confcache
>$cache_file
48428 echo "not updating unwritable cache $cache_file"
48433 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48434 # Let make expand exec_prefix.
48435 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48437 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48438 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48439 # trailing colons and then remove the whole line if VPATH becomes empty
48440 # (actually we leave an empty line to preserve line numbers).
48441 if test "x$srcdir" = x.
; then
48442 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48443 s/:*\$(srcdir):*/:/;
48444 s/:*\${srcdir}:*/:/;
48446 s/^\([^=]*=[ ]*\):*/\1/;
48452 DEFS
=-DHAVE_CONFIG_H
48456 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48457 # 1. Remove the extension, and $U if already installed.
48458 ac_i
=`echo "$ac_i" |
48459 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48461 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48462 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48464 LIBOBJS
=$ac_libobjs
48466 LTLIBOBJS
=$ac_ltlibobjs
48470 : ${CONFIG_STATUS=./config.status}
48471 ac_clean_files_save
=$ac_clean_files
48472 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48473 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48474 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48475 cat >$CONFIG_STATUS <<_ACEOF
48477 # Generated by $as_me.
48478 # Run this file to recreate the current configuration.
48479 # Compiler output produced by configure, useful for debugging
48480 # configure, is in config.log if it exists.
48483 ac_cs_recheck=false
48485 SHELL=\${CONFIG_SHELL-$SHELL}
48488 cat >>$CONFIG_STATUS <<\_ACEOF
48489 ## --------------------- ##
48490 ## M4sh Initialization. ##
48491 ## --------------------- ##
48493 # Be Bourne compatible
48494 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48497 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48498 # is contrary to our usage. Disable this feature.
48499 alias -g '${1+"$@"}'='"$@"'
48500 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48503 DUALCASE
=1; export DUALCASE
# for MKS sh
48505 # Support unset when possible.
48506 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48513 # Work around bugs in pre-3.0 UWIN ksh.
48514 $as_unset ENV MAIL MAILPATH
48521 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48522 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48523 LC_TELEPHONE LC_TIME
48525 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48526 eval $as_var=C
; export $as_var
48532 # Required to use basename.
48533 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48539 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48540 as_basename
=basename
48546 # Name of the executable.
48547 as_me
=`$as_basename "$0" ||
48548 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48549 X"$0" : 'X\(//\)$' \| \
48550 X"$0" : 'X\(/\)$' \| \
48551 . : '\(.\)' 2>/dev/null ||
48553 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48554 /^X\/\(\/\/\)$/{ s//\1/; q; }
48555 /^X\/\(\/\).*/{ s//\1/; q; }
48559 # PATH needs CR, and LINENO needs CR and PATH.
48560 # Avoid depending upon Character Ranges.
48561 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48562 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48563 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48564 as_cr_digits
='0123456789'
48565 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48567 # The user is always right.
48568 if test "${PATH_SEPARATOR+set}" != set; then
48569 echo "#! /bin/sh" >conf$$.sh
48570 echo "exit 0" >>conf$$.sh
48572 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48581 as_lineno_1
=$LINENO
48582 as_lineno_2
=$LINENO
48583 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48584 test "x$as_lineno_1" != "x$as_lineno_2" &&
48585 test "x$as_lineno_3" = "x$as_lineno_2" || {
48586 # Find who we are. Look in the path if we contain no path at all
48589 *[\\/]* ) as_myself
=$0 ;;
48590 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48591 for as_dir
in $PATH
48594 test -z "$as_dir" && as_dir
=.
48595 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48600 # We did not find ourselves, most probably we were run as `sh COMMAND'
48601 # in which case we are not to be found in the path.
48602 if test "x$as_myself" = x
; then
48605 if test ! -f "$as_myself"; then
48606 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48607 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48608 { (exit 1); exit 1; }; }
48610 case $CONFIG_SHELL in
48612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48613 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48616 test -z "$as_dir" && as_dir
=.
48617 for as_base
in sh bash ksh sh5
; do
48620 if ("$as_dir/$as_base" -c '
48621 as_lineno_1=$LINENO
48622 as_lineno_2=$LINENO
48623 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48624 test "x$as_lineno_1" != "x$as_lineno_2" &&
48625 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48626 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48627 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48628 CONFIG_SHELL
=$as_dir/$as_base
48629 export CONFIG_SHELL
48630 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48638 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48639 # uniformly replaced by the line number. The first 'sed' inserts a
48640 # line-number line before each line; the second 'sed' does the real
48641 # work. The second script uses 'N' to pair each line-number line
48642 # with the numbered line, and appends trailing '-' during
48643 # substitution so that $LINENO is not a special case at line end.
48644 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48645 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48646 sed '=' <$as_myself |
48651 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48654 s,^['$as_cr_digits']*\n,,
48655 ' >$as_me.lineno
&&
48656 chmod +x
$as_me.lineno
||
48657 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48658 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48659 { (exit 1); exit 1; }; }
48661 # Don't try to exec as it changes $[0], causing all sort of problems
48662 # (the dirname of $[0] is not the place where we might find the
48663 # original and so on. Autoconf is especially sensible to this).
48665 # Exit status is that of the last command.
48670 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48671 *c
*,-n*) ECHO_N
= ECHO_C
='
48673 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48674 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48677 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48683 rm -f conf$$ conf$$.exe conf$$.
file
48685 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48686 # We could just check for DJGPP; but this test a) works b) is more generic
48687 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48688 if test -f conf$$.exe
; then
48689 # Don't use ln at all; we don't have any links
48694 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48699 rm -f conf$$ conf$$.exe conf$$.
file
48701 if mkdir -p .
2>/dev
/null
; then
48704 test -d .
/-p && rmdir .
/-p
48708 as_executable_p
="test -f"
48710 # Sed expression to map a string onto a valid CPP name.
48711 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48713 # Sed expression to map a string onto a valid variable name.
48714 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48718 # We need space, tab and new line, in precisely that order.
48728 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48729 # report actual input values of CONFIG_FILES etc. instead of their
48730 # values after options handling. Logging --version etc. is OK.
48734 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48735 ## Running $as_me. ##
48740 This file was extended by wxWidgets $as_me 2.7.0, which was
48741 generated by GNU Autoconf 2.59. Invocation command line was
48743 CONFIG_FILES = $CONFIG_FILES
48744 CONFIG_HEADERS = $CONFIG_HEADERS
48745 CONFIG_LINKS = $CONFIG_LINKS
48746 CONFIG_COMMANDS = $CONFIG_COMMANDS
48750 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48754 # Files that config.status was made for.
48755 if test -n "$ac_config_files"; then
48756 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48759 if test -n "$ac_config_headers"; then
48760 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48763 if test -n "$ac_config_links"; then
48764 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48767 if test -n "$ac_config_commands"; then
48768 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48771 cat >>$CONFIG_STATUS <<\_ACEOF
48774 \`$as_me' instantiates files from templates according to the
48775 current configuration.
48777 Usage: $0 [OPTIONS] [FILE]...
48779 -h, --help print this help, then exit
48780 -V, --version print version number, then exit
48781 -q, --quiet do not print progress messages
48782 -d, --debug don't remove temporary files
48783 --recheck update $as_me by reconfiguring in the same conditions
48784 --file=FILE[:TEMPLATE]
48785 instantiate the configuration file FILE
48786 --header=FILE[:TEMPLATE]
48787 instantiate the configuration header FILE
48789 Configuration files:
48792 Configuration headers:
48795 Configuration commands:
48798 Report bugs to <bug-autoconf@gnu.org>."
48801 cat >>$CONFIG_STATUS <<_ACEOF
48803 wxWidgets config.status 2.7.0
48804 configured by $0, generated by GNU Autoconf 2.59,
48805 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48807 Copyright (C) 2003 Free Software Foundation, Inc.
48808 This config.status script is free software; the Free Software Foundation
48809 gives unlimited permission to copy, distribute and modify it."
48814 cat >>$CONFIG_STATUS <<\_ACEOF
48815 # If no file are specified by the user, then we need to provide default
48816 # value. By we need to know if files were specified by the user.
48822 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
48823 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
48831 *) # This is not an option, so the user has probably given explicit
48834 ac_need_defaults
=false
;;
48838 # Handling of the options.
48840 cat >>$CONFIG_STATUS <<\_ACEOF
48841 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48843 --version | --vers* | -V )
48844 echo "$ac_cs_version"; exit 0 ;;
48846 # Conflict between --help and --header
48847 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48848 Try \`$0 --help' for more information." >&5
48849 echo "$as_me: error: ambiguous option: $1
48850 Try \`$0 --help' for more information." >&2;}
48851 { (exit 1); exit 1; }; };;
48852 --help | --hel | -h )
48853 echo "$ac_cs_usage"; exit 0 ;;
48854 --debug | --d* | -d )
48856 --file | --fil | --fi | --f )
48858 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
48859 ac_need_defaults
=false
;;
48860 --header | --heade | --head | --hea )
48862 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
48863 ac_need_defaults
=false
;;
48864 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48865 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48868 # This is an error.
48869 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48870 Try \`$0 --help' for more information." >&5
48871 echo "$as_me: error: unrecognized option: $1
48872 Try \`$0 --help' for more information." >&2;}
48873 { (exit 1); exit 1; }; } ;;
48875 *) ac_config_targets
="$ac_config_targets $1" ;;
48881 ac_configure_extra_args
=
48883 if $ac_cs_silent; then
48885 ac_configure_extra_args
="$ac_configure_extra_args --silent"
48889 cat >>$CONFIG_STATUS <<_ACEOF
48890 if \$ac_cs_recheck; then
48891 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48892 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48897 cat >>$CONFIG_STATUS <<_ACEOF
48899 # INIT-COMMANDS section.
48904 infile="$srcdir/include/wx/msw/genrcdefs.h"
48905 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48908 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48909 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48910 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48918 cat >>$CONFIG_STATUS <<\_ACEOF
48919 for ac_config_target
in $ac_config_targets
48921 case "$ac_config_target" in
48922 # Handling of arguments.
48923 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48924 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48925 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
48926 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
48927 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
48928 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
48929 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
48930 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48931 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48932 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48933 { (exit 1); exit 1; }; };;
48937 # If the user did not use the arguments to specify the items to instantiate,
48938 # then the envvar interface is used. Set only those that are not.
48939 # We use the long form for the default assignment because of an extremely
48940 # bizarre bug on SunOS 4.1.3.
48941 if $ac_need_defaults; then
48942 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
48943 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
48944 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
48947 # Have a temporary directory for convenience. Make it in the build tree
48948 # simply because there is no reason to put it here, and in addition,
48949 # creating and moving files from /tmp can sometimes cause problems.
48950 # Create a temporary directory, and hook for its removal unless debugging.
48953 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
48954 trap '{ (exit 1); exit 1; }' 1 2 13 15
48957 # Create a (secure) tmp directory for tmp files.
48960 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
48961 test -n "$tmp" && test -d "$tmp"
48964 tmp
=.
/confstat$$
-$RANDOM
48965 (umask 077 && mkdir $tmp)
48968 echo "$me: cannot create a temporary directory in ." >&2
48969 { (exit 1); exit 1; }
48974 cat >>$CONFIG_STATUS <<_ACEOF
48977 # CONFIG_FILES section.
48980 # No need to generate the scripts if there are no CONFIG_FILES.
48981 # This happens for instance when ./config.status config.h
48982 if test -n "\$CONFIG_FILES"; then
48983 # Protect against being on the right side of a sed subst in config.status.
48984 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
48985 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
48986 s,@SHELL@,$SHELL,;t t
48987 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
48988 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
48989 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
48990 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
48991 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
48992 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
48993 s,@exec_prefix@,$exec_prefix,;t t
48994 s,@prefix@,$prefix,;t t
48995 s,@program_transform_name@,$program_transform_name,;t t
48996 s,@bindir@,$bindir,;t t
48997 s,@sbindir@,$sbindir,;t t
48998 s,@libexecdir@,$libexecdir,;t t
48999 s,@datadir@,$datadir,;t t
49000 s,@sysconfdir@,$sysconfdir,;t t
49001 s,@sharedstatedir@,$sharedstatedir,;t t
49002 s,@localstatedir@,$localstatedir,;t t
49003 s,@libdir@,$libdir,;t t
49004 s,@includedir@,$includedir,;t t
49005 s,@oldincludedir@,$oldincludedir,;t t
49006 s,@infodir@,$infodir,;t t
49007 s,@mandir@,$mandir,;t t
49008 s,@build_alias@,$build_alias,;t t
49009 s,@host_alias@,$host_alias,;t t
49010 s,@target_alias@,$target_alias,;t t
49011 s,@DEFS@,$DEFS,;t t
49012 s,@ECHO_C@,$ECHO_C,;t t
49013 s,@ECHO_N@,$ECHO_N,;t t
49014 s,@ECHO_T@,$ECHO_T,;t t
49015 s,@LIBS@,$LIBS,;t t
49016 s,@build@,$build,;t t
49017 s,@build_cpu@,$build_cpu,;t t
49018 s,@build_vendor@,$build_vendor,;t t
49019 s,@build_os@,$build_os,;t t
49020 s,@host@,$host,;t t
49021 s,@host_cpu@,$host_cpu,;t t
49022 s,@host_vendor@,$host_vendor,;t t
49023 s,@host_os@,$host_os,;t t
49024 s,@target@,$target,;t t
49025 s,@target_cpu@,$target_cpu,;t t
49026 s,@target_vendor@,$target_vendor,;t t
49027 s,@target_os@,$target_os,;t t
49029 s,@CFLAGS@,$CFLAGS,;t t
49030 s,@LDFLAGS@,$LDFLAGS,;t t
49031 s,@CPPFLAGS@,$CPPFLAGS,;t t
49032 s,@ac_ct_CC@,$ac_ct_CC,;t t
49033 s,@EXEEXT@,$EXEEXT,;t t
49034 s,@OBJEXT@,$OBJEXT,;t t
49036 s,@EGREP@,$EGREP,;t t
49038 s,@CXXFLAGS@,$CXXFLAGS,;t t
49039 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49040 s,@RANLIB@,$RANLIB,;t t
49041 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49043 s,@ac_ct_AR@,$ac_ct_AR,;t t
49044 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49045 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49046 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49047 s,@STRIP@,$STRIP,;t t
49048 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49049 s,@WINDRES@,$WINDRES,;t t
49050 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49051 s,@DLLTOOL@,$DLLTOOL,;t t
49052 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49053 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49054 s,@LN_S@,$LN_S,;t t
49055 s,@LNDIR@,$LNDIR,;t t
49056 s,@CXXCPP@,$CXXCPP,;t t
49057 s,@subdirs@,$subdirs,;t t
49058 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49059 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49060 s,@GTK_LIBS@,$GTK_LIBS,;t t
49061 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49062 s,@X_CFLAGS@,$X_CFLAGS,;t t
49063 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49064 s,@X_LIBS@,$X_LIBS,;t t
49065 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49066 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49067 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49068 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49069 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49070 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49071 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49073 s,@DEREZ@,$DEREZ,;t t
49074 s,@SETFILE@,$SETFILE,;t t
49075 s,@LIBICONV@,$LIBICONV,;t t
49076 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49077 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49078 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49079 s,@SDL_LIBS@,$SDL_LIBS,;t t
49080 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49081 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49082 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49083 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49084 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
49085 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
49086 s,@GST_INSPECT@,$GST_INSPECT,;t t
49087 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49088 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49089 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49090 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49091 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49092 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49093 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49094 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49095 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49096 s,@VENDOR@,$VENDOR,;t t
49097 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49098 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49099 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49100 s,@WXUNIV@,$WXUNIV,;t t
49101 s,@MONOLITHIC@,$MONOLITHIC,;t t
49102 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49103 s,@EXTRALIBS@,$EXTRALIBS,;t t
49104 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49105 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49106 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49107 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49108 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49109 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49110 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49111 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49112 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49113 s,@UNICODE@,$UNICODE,;t t
49114 s,@BUILD@,$BUILD,;t t
49115 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49116 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49117 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49118 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49119 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49120 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49121 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49122 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49123 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49124 s,@SET_MAKE@,$SET_MAKE,;t t
49125 s,@MAKE_SET@,$MAKE_SET,;t t
49127 s,@ac_ct_NM@,$ac_ct_NM,;t t
49128 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49129 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49130 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49131 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49132 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49133 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49134 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49135 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49136 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49137 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49138 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49139 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49140 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49141 s,@LIBPREFIX@,$LIBPREFIX,;t t
49142 s,@LIBEXT@,$LIBEXT,;t t
49143 s,@DLLPREFIX@,$DLLPREFIX,;t t
49144 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49145 s,@dlldir@,$dlldir,;t t
49146 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49147 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49148 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49149 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49150 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49151 s,@PIC_FLAG@,$PIC_FLAG,;t t
49152 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49153 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49154 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49155 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49156 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49157 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49158 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49159 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49160 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49161 s,@GCC_PCH@,$GCC_PCH,;t t
49162 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49163 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49164 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49165 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49166 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49167 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49168 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49169 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49170 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49171 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49172 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49173 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49174 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49175 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49176 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49177 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49178 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49179 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49180 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
49181 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
49182 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
49183 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49184 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49185 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49186 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49187 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
49188 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
49189 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
49190 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49191 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49192 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49193 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49194 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49195 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49196 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49197 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49198 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49199 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49200 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49201 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49202 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49203 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49204 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49205 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49206 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
49207 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49208 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49209 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49210 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49211 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49212 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49213 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49214 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49215 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49216 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49217 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49218 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49219 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49220 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49221 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49222 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49223 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49224 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49225 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49226 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49227 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49228 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49229 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49230 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49231 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49232 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49233 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49234 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49235 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49236 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49237 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49238 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49239 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49240 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49241 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49242 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49243 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
49244 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49245 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49246 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49247 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49248 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49249 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49250 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49251 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49252 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49253 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49254 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49255 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49256 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49257 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49258 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49259 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49260 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49261 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49262 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49263 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49264 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49265 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49266 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49267 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49268 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49269 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49270 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49271 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49272 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49273 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49274 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49275 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49276 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49277 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49278 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49279 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49280 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49281 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49282 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49283 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49284 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49285 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49286 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49287 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49288 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49289 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49290 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49291 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49292 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49293 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49294 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49295 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49296 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49297 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49298 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49299 s,@SHARED@,$SHARED,;t t
49300 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49301 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49302 s,@USE_GUI@,$USE_GUI,;t t
49303 s,@AFMINSTALL@,$AFMINSTALL,;t t
49304 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49305 s,@TOOLKIT@,$TOOLKIT,;t t
49306 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49307 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49308 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49309 s,@cross_compiling@,$cross_compiling,;t t
49310 s,@WIDGET_SET@,$WIDGET_SET,;t t
49311 s,@WX_RELEASE@,$WX_RELEASE,;t t
49312 s,@WX_VERSION@,$WX_VERSION,;t t
49313 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49314 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49315 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49316 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49317 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49318 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49319 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49320 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49321 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49322 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49323 s,@EXE_LINKER@,$EXE_LINKER,;t t
49324 s,@GUIDIST@,$GUIDIST,;t t
49325 s,@DISTDIR@,$DISTDIR,;t t
49326 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49327 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49328 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49329 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49330 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49331 s,@RESCOMP@,$RESCOMP,;t t
49332 s,@RESFLAGS@,$RESFLAGS,;t t
49333 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49334 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49335 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49336 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49337 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49338 s,@MACSETFILE@,$MACSETFILE,;t t
49340 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49341 s,@LIBOBJS@,$LIBOBJS,;t t
49342 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49347 cat >>$CONFIG_STATUS <<\_ACEOF
49348 # Split the substitutions into bite-sized pieces for seds with
49349 # small command number limits, like on Digital OSF/1 and HP-UX.
49350 ac_max_sed_lines
=48
49351 ac_sed_frag
=1 # Number of current file.
49352 ac_beg
=1 # First line for current file.
49353 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49356 while $ac_more_lines; do
49357 if test $ac_beg -gt 1; then
49358 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49360 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49362 if test ! -s $tmp/subs.frag
; then
49363 ac_more_lines
=false
49365 # The purpose of the label and of the branching condition is to
49366 # speed up the sed processing (if there are no `@' at all, there
49367 # is no need to browse any of the substitutions).
49368 # These are the two extra sed commands mentioned above.
49370 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49371 if test -z "$ac_sed_cmds"; then
49372 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49374 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49376 ac_sed_frag
=`expr $ac_sed_frag + 1`
49378 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49381 if test -z "$ac_sed_cmds"; then
49384 fi # test -n "$CONFIG_FILES"
49387 cat >>$CONFIG_STATUS <<\_ACEOF
49388 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49389 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49391 - | *:- | *:-:* ) # input from stdin
49393 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49394 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49395 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49396 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49397 * ) ac_file_in
=$ac_file.
in ;;
49400 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49401 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49402 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49403 X"$ac_file" : 'X\(//\)[^/]' \| \
49404 X"$ac_file" : 'X\(//\)$' \| \
49405 X"$ac_file" : 'X\(/\)' \| \
49406 . : '\(.\)' 2>/dev/null ||
49408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49409 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49410 /^X\(\/\/\)$/{ s//\1/; q; }
49411 /^X\(\/\).*/{ s//\1/; q; }
49413 { if $as_mkdir_p; then
49418 while test ! -d "$as_dir"; do
49419 as_dirs
="$as_dir $as_dirs"
49420 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49422 X"$as_dir" : 'X\(//\)[^/]' \| \
49423 X"$as_dir" : 'X\(//\)$' \| \
49424 X"$as_dir" : 'X\(/\)' \| \
49425 . : '\(.\)' 2>/dev/null ||
49427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49429 /^X\(\/\/\)$/{ s//\1/; q; }
49430 /^X\(\/\).*/{ s//\1/; q; }
49433 test ! -n "$as_dirs" || mkdir $as_dirs
49434 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49435 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49436 { (exit 1); exit 1; }; }; }
49440 if test "$ac_dir" != .
; then
49441 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49442 # A "../" for each directory in $ac_dir_suffix.
49443 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49445 ac_dir_suffix
= ac_top_builddir
=
49449 .
) # No --srcdir option. We are building in place.
49451 if test -z "$ac_top_builddir"; then
49454 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49456 [\\/]* | ?
:[\\/]* ) # Absolute path.
49457 ac_srcdir
=$srcdir$ac_dir_suffix;
49458 ac_top_srcdir
=$srcdir ;;
49459 *) # Relative path.
49460 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49461 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49464 # Do not use `cd foo && pwd` to compute absolute paths, because
49465 # the directories may not exist.
49467 .
) ac_abs_builddir
="$ac_dir";;
49470 .
) ac_abs_builddir
=`pwd`;;
49471 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49472 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49475 case $ac_abs_builddir in
49476 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49478 case ${ac_top_builddir}.
in
49479 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49480 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49481 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49484 case $ac_abs_builddir in
49485 .
) ac_abs_srcdir
=$ac_srcdir;;
49488 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49489 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49490 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49493 case $ac_abs_builddir in
49494 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49496 case $ac_top_srcdir in
49497 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49498 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49499 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49505 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49506 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49509 if test x
"$ac_file" != x
-; then
49510 { echo "$as_me:$LINENO: creating $ac_file" >&5
49511 echo "$as_me: creating $ac_file" >&6;}
49514 # Let's still pretend it is `configure' which instantiates (i.e., don't
49515 # use $as_me), people would be surprised to read:
49516 # /* config.h. Generated by config.status. */
49517 if test x
"$ac_file" = x
-; then
49520 configure_input
="$ac_file. "
49522 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49523 sed 's,.*/,,'` by configure."
49525 # First look for the input files in the build tree, otherwise in the
49527 ac_file_inputs
=`IFS=:
49528 for f in $ac_file_in; do
49530 -) echo $tmp/stdin ;;
49532 # Absolute (can't be DOS-style, as IFS=:)
49533 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49534 echo "$as_me: error: cannot find input file: $f" >&2;}
49535 { (exit 1); exit 1; }; }
49538 if test -f "$f"; then
49541 elif test -f "$srcdir/$f"; then
49546 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49547 echo "$as_me: error: cannot find input file: $f" >&2;}
49548 { (exit 1); exit 1; }; }
49551 done` || { (exit 1); exit 1; }
49553 cat >>$CONFIG_STATUS <<_ACEOF
49557 cat >>$CONFIG_STATUS <<\_ACEOF
49559 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49560 s
,@configure_input@
,$configure_input,;t t
49561 s
,@srcdir@
,$ac_srcdir,;t t
49562 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49563 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49564 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49565 s
,@builddir@
,$ac_builddir,;t t
49566 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49567 s
,@top_builddir@
,$ac_top_builddir,;t t
49568 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49569 s
,@INSTALL@
,$ac_INSTALL,;t t
49570 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49572 if test x"$ac_file" != x-; then
49573 mv $tmp/out $ac_file
49579 # Run the commands associated with the file.
49581 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49582 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49586 cat >>$CONFIG_STATUS <<\_ACEOF
49589 # CONFIG_HEADER section.
49592 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49593 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49595 # ac_d sets the value in "#define NAME VALUE" lines.
49596 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49597 ac_dB
='[ ].*$,\1#\2'
49600 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49601 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49602 ac_uB
='$,\1#\2define\3'
49606 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49607 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49609 - | *:- | *:-:* ) # input from stdin
49611 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49612 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49613 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49614 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49615 * ) ac_file_in
=$ac_file.
in ;;
49618 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49619 echo "$as_me: creating $ac_file" >&6;}
49621 # First look for the input files in the build tree, otherwise in the
49623 ac_file_inputs
=`IFS=:
49624 for f in $ac_file_in; do
49626 -) echo $tmp/stdin ;;
49628 # Absolute (can't be DOS-style, as IFS=:)
49629 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49630 echo "$as_me: error: cannot find input file: $f" >&2;}
49631 { (exit 1); exit 1; }; }
49632 # Do quote $f, to prevent DOS paths from being IFS'd.
49635 if test -f "$f"; then
49638 elif test -f "$srcdir/$f"; then
49643 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49644 echo "$as_me: error: cannot find input file: $f" >&2;}
49645 { (exit 1); exit 1; }; }
49648 done` || { (exit 1); exit 1; }
49649 # Remove the trailing spaces.
49650 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49654 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49655 # `conftest.undefs', that substitutes the proper values into
49656 # config.h.in to produce config.h. The first handles `#define'
49657 # templates, and the second `#undef' templates.
49658 # And first: Protect against being on the right side of a sed subst in
49659 # config.status. Protect against being in an unquoted here document
49660 # in config.status.
49661 rm -f conftest.defines conftest.undefs
49662 # Using a here document instead of a string reduces the quoting nightmare.
49663 # Putting comments in sed scripts is not portable.
49665 # `end' is used to avoid that the second main sed command (meant for
49666 # 0-ary CPP macros) applies to n-ary macro definitions.
49667 # See the Autoconf documentation for `clear'.
49668 cat >confdef2sed.
sed <<\_ACEOF
49673 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49675 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49678 # If some macros were called several times there might be several times
49679 # the same #defines, which is useless. Nevertheless, we may not want to
49680 # sort them, since we want the *last* AC-DEFINE to be honored.
49681 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49682 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49683 rm -f confdef2sed.sed
49685 # This sed command replaces #undef with comments. This is necessary, for
49686 # example, in the case of _POSIX_SOURCE, which is predefined and required
49687 # on some systems where configure will not decide to define it.
49688 cat >>conftest.undefs <<\_ACEOF
49689 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49692 # Break up conftest.defines because some shells have a limit on the size
49693 # of here documents, and old seds have small limits too (100 cmds).
49694 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49695 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49696 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49697 echo ' :' >>$CONFIG_STATUS
49698 rm -f conftest.tail
49699 while grep . conftest.defines >/dev/null
49701 # Write a limited-size here document to $tmp/defines.sed.
49702 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49703 # Speed up: don't consider the non `#define' lines.
49704 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49705 # Work around the forget-to-reset-the-flag bug.
49706 echo 't clr' >>$CONFIG_STATUS
49707 echo ': clr' >>$CONFIG_STATUS
49708 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
49710 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49712 mv $tmp/out $tmp/in
49714 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
49715 rm -f conftest.defines
49716 mv conftest.
tail conftest.defines
49718 rm -f conftest.defines
49719 echo ' fi # grep' >>$CONFIG_STATUS
49720 echo >>$CONFIG_STATUS
49722 # Break up conftest.undefs because some shells have a limit on the size
49723 # of here documents, and old seds have small limits too (100 cmds).
49724 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49725 rm -f conftest.
tail
49726 while grep . conftest.undefs
>/dev
/null
49728 # Write a limited-size here document to $tmp/undefs.sed.
49729 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49730 # Speed up: don't consider the non
`#undef'
49731 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49732 # Work around the forget-to-reset-the-flag bug.
49733 echo 't clr' >>$CONFIG_STATUS
49734 echo ': clr' >>$CONFIG_STATUS
49735 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49737 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49739 mv $tmp/out $tmp/in
49741 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49742 rm -f conftest.undefs
49743 mv conftest.tail conftest.undefs
49745 rm -f conftest.undefs
49747 cat >>$CONFIG_STATUS <<\_ACEOF
49748 # Let's still pretend it is `configure
' which instantiates (i.e., don't
49749 # use $as_me), people would be surprised to read:
49750 # /* config.h. Generated by config.status. */
49751 if test x
"$ac_file" = x
-; then
49752 echo "/* Generated by configure. */" >$tmp/config.h
49754 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49756 cat $tmp/in >>$tmp/config.h
49758 if test x
"$ac_file" != x
-; then
49759 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
49760 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49761 echo "$as_me: $ac_file is unchanged" >&6;}
49763 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49764 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49765 X"$ac_file" : 'X\(//\)[^/]' \| \
49766 X"$ac_file" : 'X\(//\)$' \| \
49767 X"$ac_file" : 'X\(/\)' \| \
49768 . : '\(.\)' 2>/dev/null ||
49770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49771 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49772 /^X\(\/\/\)$/{ s//\1/; q; }
49773 /^X\(\/\).*/{ s//\1/; q; }
49775 { if $as_mkdir_p; then
49780 while test ! -d "$as_dir"; do
49781 as_dirs
="$as_dir $as_dirs"
49782 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49783 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49784 X"$as_dir" : 'X\(//\)[^/]' \| \
49785 X"$as_dir" : 'X\(//\)$' \| \
49786 X"$as_dir" : 'X\(/\)' \| \
49787 . : '\(.\)' 2>/dev/null ||
49789 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49790 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49791 /^X\(\/\/\)$/{ s//\1/; q; }
49792 /^X\(\/\).*/{ s//\1/; q; }
49795 test ! -n "$as_dirs" || mkdir $as_dirs
49796 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49797 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49798 { (exit 1); exit 1; }; }; }
49801 mv $tmp/config.h
$ac_file
49805 rm -f $tmp/config.h
49809 cat >>$CONFIG_STATUS <<\_ACEOF
49812 # CONFIG_COMMANDS section.
49814 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
49815 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
49816 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49817 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
49818 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49819 X"$ac_dest" : 'X\(//\)[^/]' \| \
49820 X"$ac_dest" : 'X\(//\)$' \| \
49821 X"$ac_dest" : 'X\(/\)' \| \
49822 . : '\(.\)' 2>/dev/null ||
49824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49825 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49826 /^X\(\/\/\)$/{ s//\1/; q; }
49827 /^X\(\/\).*/{ s//\1/; q; }
49829 { if $as_mkdir_p; then
49834 while test ! -d "$as_dir"; do
49835 as_dirs
="$as_dir $as_dirs"
49836 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49838 X"$as_dir" : 'X\(//\)[^/]' \| \
49839 X"$as_dir" : 'X\(//\)$' \| \
49840 X"$as_dir" : 'X\(/\)' \| \
49841 . : '\(.\)' 2>/dev/null ||
49843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49845 /^X\(\/\/\)$/{ s//\1/; q; }
49846 /^X\(\/\).*/{ s//\1/; q; }
49849 test ! -n "$as_dirs" || mkdir $as_dirs
49850 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49851 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49852 { (exit 1); exit 1; }; }; }
49856 if test "$ac_dir" != .
; then
49857 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49858 # A "../" for each directory in $ac_dir_suffix.
49859 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49861 ac_dir_suffix
= ac_top_builddir
=
49865 .
) # No --srcdir option. We are building in place.
49867 if test -z "$ac_top_builddir"; then
49870 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49872 [\\/]* | ?
:[\\/]* ) # Absolute path.
49873 ac_srcdir
=$srcdir$ac_dir_suffix;
49874 ac_top_srcdir
=$srcdir ;;
49875 *) # Relative path.
49876 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49877 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49880 # Do not use `cd foo && pwd` to compute absolute paths, because
49881 # the directories may not exist.
49883 .
) ac_abs_builddir
="$ac_dir";;
49886 .
) ac_abs_builddir
=`pwd`;;
49887 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49888 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49891 case $ac_abs_builddir in
49892 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49894 case ${ac_top_builddir}.
in
49895 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49896 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49897 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49900 case $ac_abs_builddir in
49901 .
) ac_abs_srcdir
=$ac_srcdir;;
49904 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49905 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49906 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49909 case $ac_abs_builddir in
49910 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49912 case $ac_top_srcdir in
49913 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49914 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49915 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49920 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49921 echo "$as_me: executing $ac_dest commands" >&6;}
49924 mkdir -p $outdir &&
49925 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49927 wx
-config ) rm -f wx
-config
49928 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
49934 cat >>$CONFIG_STATUS <<\_ACEOF
49936 { (exit 0); exit 0; }
49938 chmod +x
$CONFIG_STATUS
49939 ac_clean_files
=$ac_clean_files_save
49942 # configure is writing to config.log, and then calls config.status.
49943 # config.status does its own redirection, appending to config.log.
49944 # Unfortunately, on DOS this fails, as config.log is still kept open
49945 # by configure, so config.status won't be able to write to it; its
49946 # output is simply discarded. So we exec the FD to /dev/null,
49947 # effectively closing config.log, so it can be properly (re)opened and
49948 # appended to by config.status. When coming back to configure, we
49949 # need to make the FD available again.
49950 if test "$no_create" != yes; then
49952 ac_config_status_args
=
49953 test "$silent" = yes &&
49954 ac_config_status_args
="$ac_config_status_args --quiet"
49956 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
49958 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49959 # would make configure fail if this is the last instruction.
49960 $ac_cs_success || { (exit 1); exit 1; }
49964 # CONFIG_SUBDIRS section.
49966 if test "$no_recursion" != yes; then
49968 # Remove --cache-file and --srcdir arguments so they do not pile up.
49969 ac_sub_configure_args
=
49971 for ac_arg
in $ac_configure_args; do
49972 if test -n "$ac_prev"; then
49977 -cache-file | --cache-file | --cache-fil | --cache-fi \
49978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
49979 ac_prev
=cache_file
;;
49980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
49981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
49984 --config-cache | -C)
49986 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
49988 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
49990 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
49992 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
49994 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
49998 # Always prepend --prefix to ensure using the same prefix
49999 # in subdir configurations.
50000 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50003 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50005 # Do not complain, so a configure script can configure whichever
50006 # parts of a large source tree are present.
50007 test -d $srcdir/$ac_dir || continue
50009 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50010 echo "$as_me: configuring in $ac_dir" >&6;}
50011 { if $as_mkdir_p; then
50016 while test ! -d "$as_dir"; do
50017 as_dirs
="$as_dir $as_dirs"
50018 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50020 X"$as_dir" : 'X\(//\)[^/]' \| \
50021 X"$as_dir" : 'X\(//\)$' \| \
50022 X"$as_dir" : 'X\(/\)' \| \
50023 . : '\(.\)' 2>/dev/null ||
50025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50026 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50027 /^X\(\/\/\)$/{ s//\1/; q; }
50028 /^X\(\/\).*/{ s//\1/; q; }
50031 test ! -n "$as_dirs" || mkdir $as_dirs
50032 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50033 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50034 { (exit 1); exit 1; }; }; }
50038 if test "$ac_dir" != .
; then
50039 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50040 # A "../" for each directory in $ac_dir_suffix.
50041 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50043 ac_dir_suffix
= ac_top_builddir
=
50047 .
) # No --srcdir option. We are building in place.
50049 if test -z "$ac_top_builddir"; then
50052 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50054 [\\/]* | ?
:[\\/]* ) # Absolute path.
50055 ac_srcdir
=$srcdir$ac_dir_suffix;
50056 ac_top_srcdir
=$srcdir ;;
50057 *) # Relative path.
50058 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50059 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50062 # Do not use `cd foo && pwd` to compute absolute paths, because
50063 # the directories may not exist.
50065 .
) ac_abs_builddir
="$ac_dir";;
50068 .
) ac_abs_builddir
=`pwd`;;
50069 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50070 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50073 case $ac_abs_builddir in
50074 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50076 case ${ac_top_builddir}.
in
50077 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50078 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50079 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50082 case $ac_abs_builddir in
50083 .
) ac_abs_srcdir
=$ac_srcdir;;
50086 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50087 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50088 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50091 case $ac_abs_builddir in
50092 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50094 case $ac_top_srcdir in
50095 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50096 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50097 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50104 # Check for guested configure; otherwise get Cygnus style configure.
50105 if test -f $ac_srcdir/configure.gnu
; then
50106 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50107 elif test -f $ac_srcdir/configure
; then
50108 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50109 elif test -f $ac_srcdir/configure.
in; then
50110 ac_sub_configure
=$ac_configure
50112 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50113 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50117 # The recursion is here.
50118 if test -n "$ac_sub_configure"; then
50119 # Make the cache file name correct relative to the subdirectory.
50120 case $cache_file in
50121 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50122 *) # Relative path.
50123 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50126 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50127 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50128 # The eval makes quoting arguments work.
50129 eval $ac_sub_configure $ac_sub_configure_args \
50130 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50131 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50132 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50133 { (exit 1); exit 1; }; }
50142 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50144 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50145 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50147 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50148 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50149 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50151 echo " What level of wxWidgets compatibility should be enabled?"
50152 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50153 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50155 echo " Which libraries should wxWidgets use?"
50156 echo " jpeg ${wxUSE_LIBJPEG-none}"
50157 echo " png ${wxUSE_LIBPNG-none}"
50158 echo " regex ${wxUSE_REGEX}"
50159 echo " tiff ${wxUSE_LIBTIFF-none}"
50160 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50161 echo " xpm ${wxUSE_LIBXPM-none}"
50163 echo " zlib ${wxUSE_ZLIB}"
50164 echo " odbc ${wxUSE_ODBC}"
50165 echo " expat ${wxUSE_EXPAT}"
50166 echo " libmspack ${wxUSE_LIBMSPACK}"
50167 echo " sdl ${wxUSE_LIBSDL}"
50168 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50169 echo " hildon ${wxUSE_LIBHILDON-none}"