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_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 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
1863 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1868 cat >>confdefs.h <<\_ACEOF
1872 cat >>confdefs.h <<\_ACEOF
1876 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1882 cat >>confdefs.h <<\_ACEOF
1886 cat >>confdefs.h <<\_ACEOF
1890 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1895 cat >>confdefs.h <<\_ACEOF
1899 cat >>confdefs.h <<\_ACEOF
1903 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1910 cat >>confdefs.h <<\_ACEOF
1914 cat >>confdefs.h <<\_ACEOF
1918 cat >>confdefs.h <<\_ACEOF
1922 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1929 cat >>confdefs.h <<\_ACEOF
1930 #define __UNIXWARE__ 1
1935 *-*-cygwin* | *-*-mingw32* )
1938 DEFAULT_DEFAULT_wxUSE_MSW=1
1945 cat >>confdefs.h <<\_ACEOF
1950 DEFAULT_DEFAULT_wxUSE_MGL=1
1953 *-pc-os2_emx | *-pc-os2-emx )
1954 cat >>confdefs.h <<\_ACEOF
1959 cat >>confdefs.h <<\_ACEOF
1964 DEFAULT_DEFAULT_wxUSE_PM=1
1966 LDFLAGS="$LDFLAGS -Zcrtdll"
1967 ac_executable_extensions=".exe"
1968 export ac_executable_extensions
1972 for ac_dir in $PATH; do
1974 if test -z "$ac_TEMP_PATH"; then
1975 ac_TEMP_PATH="$ac_dir"
1977 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1980 export PATH="$ac_TEMP_PATH"
1989 cat >>confdefs.h <<\_ACEOF
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __DARWIN__ 1
1997 cat >>confdefs.h <<\_ACEOF
1998 #define TARGET_CARBON 1
2001 DEFAULT_DEFAULT_wxUSE_MAC=1
2004 powerpc-apple-macos* )
2006 ac_cv_c_bigendian=yes
2008 DEFAULT_DEFAULT_wxUSE_MAC=1
2014 cat >>confdefs.h <<\_ACEOF
2021 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2022 echo "$as_me: error: unknown system type ${host}." >&2;}
2023 { (exit 1); exit 1; }; }
2029 wx_arg_cache_file="configarg.cache"
2030 echo "loading argument cache $wx_arg_cache_file"
2031 rm -f ${wx_arg_cache_file}.tmp
2032 touch ${wx_arg_cache_file}.tmp
2033 touch ${wx_arg_cache_file}
2037 if test $DEBUG_CONFIGURE = 1; then
2038 DEFAULT_wxUSE_UNIVERSAL=no
2039 DEFAULT_wxUSE_STL=no
2041 DEFAULT_wxUSE_NANOX=no
2043 DEFAULT_wxUSE_THREADS=yes
2045 DEFAULT_wxUSE_SHARED=yes
2046 DEFAULT_wxUSE_OPTIMISE=no
2047 DEFAULT_wxUSE_PROFILE=no
2048 DEFAULT_wxUSE_NO_DEPS=no
2049 DEFAULT_wxUSE_NO_RTTI=no
2050 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2051 DEFAULT_wxUSE_RPATH=yes
2052 DEFAULT_wxUSE_PERMISSIVE=no
2053 DEFAULT_wxUSE_DEBUG_FLAG=yes
2054 DEFAULT_wxUSE_DEBUG_INFO=yes
2055 DEFAULT_wxUSE_DEBUG_GDB=yes
2056 DEFAULT_wxUSE_MEM_TRACING=no
2057 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2058 DEFAULT_wxUSE_DMALLOC=no
2059 DEFAULT_wxUSE_APPLE_IEEE=no
2061 DEFAULT_wxUSE_EXCEPTIONS=no
2062 DEFAULT_wxUSE_LOG=yes
2063 DEFAULT_wxUSE_LOGWINDOW=no
2064 DEFAULT_wxUSE_LOGGUI=no
2065 DEFAULT_wxUSE_LOGDIALOG=no
2067 DEFAULT_wxUSE_GUI=yes
2068 DEFAULT_wxUSE_CONTROLS=no
2070 DEFAULT_wxUSE_REGEX=no
2071 DEFAULT_wxUSE_XML=no
2072 DEFAULT_wxUSE_EXPAT=no
2073 DEFAULT_wxUSE_ZLIB=no
2074 DEFAULT_wxUSE_LIBPNG=no
2075 DEFAULT_wxUSE_LIBJPEG=no
2076 DEFAULT_wxUSE_LIBTIFF=no
2077 DEFAULT_wxUSE_LIBXPM=no
2078 DEFAULT_wxUSE_LIBMSPACK=no
2079 DEFAULT_wxUSE_LIBSDL=no
2080 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2081 DEFAULT_wxUSE_LIBHILDON=no
2082 DEFAULT_wxUSE_ODBC=no
2083 DEFAULT_wxUSE_OPENGL=no
2085 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2086 DEFAULT_wxUSE_STACKWALKER=no
2087 DEFAULT_wxUSE_DEBUGREPORT=no
2088 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2089 DEFAULT_wxUSE_STD_IOSTREAM=no
2090 DEFAULT_wxUSE_STD_STRING=no
2091 DEFAULT_wxUSE_CMDLINE_PARSER=no
2092 DEFAULT_wxUSE_DATETIME=no
2093 DEFAULT_wxUSE_TIMER=no
2094 DEFAULT_wxUSE_STOPWATCH=no
2095 DEFAULT_wxUSE_FILE=no
2096 DEFAULT_wxUSE_FFILE=no
2097 DEFAULT_wxUSE_STDPATHS=no
2098 DEFAULT_wxUSE_TEXTBUFFER=no
2099 DEFAULT_wxUSE_TEXTFILE=no
2100 DEFAULT_wxUSE_SOUND=no
2101 DEFAULT_wxUSE_MEDIACTRL=no
2102 DEFAULT_wxUSE_INTL=no
2103 DEFAULT_wxUSE_CONFIG=no
2104 DEFAULT_wxUSE_FONTMAP=no
2105 DEFAULT_wxUSE_STREAMS=no
2106 DEFAULT_wxUSE_SOCKETS=no
2107 DEFAULT_wxUSE_OLE=no
2108 DEFAULT_wxUSE_DATAOBJ=no
2109 DEFAULT_wxUSE_DIALUP_MANAGER=no
2110 DEFAULT_wxUSE_JOYSTICK=no
2111 DEFAULT_wxUSE_DYNLIB_CLASS=no
2112 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2113 DEFAULT_wxUSE_LONGLONG=no
2114 DEFAULT_wxUSE_GEOMETRY=no
2116 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2117 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2118 DEFAULT_wxUSE_POSTSCRIPT=no
2120 DEFAULT_wxUSE_CLIPBOARD=no
2121 DEFAULT_wxUSE_TOOLTIPS=no
2122 DEFAULT_wxUSE_DRAG_AND_DROP=no
2123 DEFAULT_wxUSE_DRAGIMAGE=no
2124 DEFAULT_wxUSE_SPLINES=no
2125 DEFAULT_wxUSE_MOUSEWHEEL=no
2127 DEFAULT_wxUSE_MDI=no
2128 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2129 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2130 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2132 DEFAULT_wxUSE_RESOURCES=no
2133 DEFAULT_wxUSE_CONSTRAINTS=no
2134 DEFAULT_wxUSE_IPC=no
2135 DEFAULT_wxUSE_HELP=no
2136 DEFAULT_wxUSE_MS_HTML_HELP=no
2137 DEFAULT_wxUSE_WXHTML_HELP=no
2138 DEFAULT_wxUSE_TREELAYOUT=no
2139 DEFAULT_wxUSE_METAFILE=no
2140 DEFAULT_wxUSE_MIMETYPE=no
2141 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2142 DEFAULT_wxUSE_PROTOCOL=no
2143 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2144 DEFAULT_wxUSE_PROTOCOL_FTP=no
2145 DEFAULT_wxUSE_PROTOCOL_FILE=no
2146 DEFAULT_wxUSE_URL=no
2148 DEFAULT_wxUSE_COMMONDLGS=no
2149 DEFAULT_wxUSE_CHOICEDLG=no
2150 DEFAULT_wxUSE_COLOURDLG=no
2151 DEFAULT_wxUSE_DIRDLG=no
2152 DEFAULT_wxUSE_FILEDLG=no
2153 DEFAULT_wxUSE_FINDREPLDLG=no
2154 DEFAULT_wxUSE_FONTDLG=no
2155 DEFAULT_wxUSE_MSGDLG=no
2156 DEFAULT_wxUSE_NUMBERDLG=no
2157 DEFAULT_wxUSE_TEXTDLG=no
2158 DEFAULT_wxUSE_SPLASH=no
2159 DEFAULT_wxUSE_STARTUP_TIPS=no
2160 DEFAULT_wxUSE_PROGRESSDLG=no
2161 DEFAULT_wxUSE_WIZARDDLG=no
2163 DEFAULT_wxUSE_MENUS=no
2164 DEFAULT_wxUSE_MINIFRAME=no
2165 DEFAULT_wxUSE_HTML=no
2166 DEFAULT_wxUSE_RICHTEXT=no
2167 DEFAULT_wxUSE_XRC=no
2168 DEFAULT_wxUSE_WEBKIT=no
2169 DEFAULT_wxUSE_FILESYSTEM=no
2170 DEFAULT_wxUSE_FS_INET=no
2171 DEFAULT_wxUSE_FS_ZIP=no
2172 DEFAULT_wxUSE_BUSYINFO=no
2173 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2174 DEFAULT_wxUSE_ZIPSTREAM=no
2175 DEFAULT_wxUSE_VALIDATORS=no
2177 DEFAULT_wxUSE_ACCEL=no
2178 DEFAULT_wxUSE_BUTTON=no
2179 DEFAULT_wxUSE_BMPBUTTON=no
2180 DEFAULT_wxUSE_CALCTRL=no
2181 DEFAULT_wxUSE_CARET=no
2182 DEFAULT_wxUSE_CHECKBOX=no
2183 DEFAULT_wxUSE_CHECKLST=no
2184 DEFAULT_wxUSE_CHOICE=no
2185 DEFAULT_wxUSE_CHOICEBOOK=no
2186 DEFAULT_wxUSE_COMBOBOX=no
2187 DEFAULT_wxUSE_DATEPICKCTRL=no
2188 DEFAULT_wxUSE_DISPLAY=no
2189 DEFAULT_wxUSE_GAUGE=no
2190 DEFAULT_wxUSE_GRID=no
2191 DEFAULT_wxUSE_DATAVIEWCTRL=no
2192 DEFAULT_wxUSE_IMAGLIST=no
2193 DEFAULT_wxUSE_LISTBOOK=no
2194 DEFAULT_wxUSE_LISTBOX=no
2195 DEFAULT_wxUSE_LISTCTRL=no
2196 DEFAULT_wxUSE_NOTEBOOK=no
2197 DEFAULT_wxUSE_RADIOBOX=no
2198 DEFAULT_wxUSE_RADIOBTN=no
2199 DEFAULT_wxUSE_SASH=no
2200 DEFAULT_wxUSE_SCROLLBAR=no
2201 DEFAULT_wxUSE_SLIDER=no
2202 DEFAULT_wxUSE_SPINBTN=no
2203 DEFAULT_wxUSE_SPINCTRL=no
2204 DEFAULT_wxUSE_SPLITTER=no
2205 DEFAULT_wxUSE_STATBMP=no
2206 DEFAULT_wxUSE_STATBOX=no
2207 DEFAULT_wxUSE_STATLINE=no
2208 DEFAULT_wxUSE_STATTEXT=no
2209 DEFAULT_wxUSE_STATUSBAR=yes
2210 DEFAULT_wxUSE_TABDIALOG=no
2211 DEFAULT_wxUSE_TEXTCTRL=no
2212 DEFAULT_wxUSE_TOGGLEBTN=no
2213 DEFAULT_wxUSE_TOOLBAR=no
2214 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2215 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2216 DEFAULT_wxUSE_TREEBOOK=no
2217 DEFAULT_wxUSE_TREECTRL=no
2218 DEFAULT_wxUSE_POPUPWIN=no
2219 DEFAULT_wxUSE_TIPWINDOW=no
2221 DEFAULT_wxUSE_UNICODE=no
2222 DEFAULT_wxUSE_UNICODE_MSLU=no
2223 DEFAULT_wxUSE_WCSRTOMBS=no
2225 DEFAULT_wxUSE_PALETTE=no
2226 DEFAULT_wxUSE_IMAGE=no
2227 DEFAULT_wxUSE_GIF=no
2228 DEFAULT_wxUSE_PCX=no
2229 DEFAULT_wxUSE_PNM=no
2230 DEFAULT_wxUSE_IFF=no
2231 DEFAULT_wxUSE_XPM=no
2232 DEFAULT_wxUSE_ICO_CUR=no
2233 DEFAULT_wxUSE_ACCESSIBILITY=no
2235 DEFAULT_wxUSE_MONOLITHIC=no
2236 DEFAULT_wxUSE_PLUGINS=no
2237 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2239 DEFAULT_wxUSE_UNIVERSAL=no
2240 DEFAULT_wxUSE_STL=no
2242 DEFAULT_wxUSE_NANOX=no
2244 DEFAULT_wxUSE_THREADS=yes
2246 DEFAULT_wxUSE_SHARED=yes
2247 DEFAULT_wxUSE_OPTIMISE=yes
2248 DEFAULT_wxUSE_PROFILE=no
2249 DEFAULT_wxUSE_NO_DEPS=no
2250 DEFAULT_wxUSE_NO_RTTI=no
2251 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2252 DEFAULT_wxUSE_RPATH=yes
2253 DEFAULT_wxUSE_PERMISSIVE=no
2254 DEFAULT_wxUSE_DEBUG_FLAG=no
2255 DEFAULT_wxUSE_DEBUG_INFO=no
2256 DEFAULT_wxUSE_DEBUG_GDB=no
2257 DEFAULT_wxUSE_MEM_TRACING=no
2258 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2259 DEFAULT_wxUSE_DMALLOC=no
2260 DEFAULT_wxUSE_APPLE_IEEE=yes
2262 DEFAULT_wxUSE_EXCEPTIONS=yes
2263 DEFAULT_wxUSE_LOG=yes
2264 DEFAULT_wxUSE_LOGWINDOW=yes
2265 DEFAULT_wxUSE_LOGGUI=yes
2266 DEFAULT_wxUSE_LOGDIALOG=yes
2268 DEFAULT_wxUSE_GUI=yes
2270 DEFAULT_wxUSE_REGEX=yes
2271 DEFAULT_wxUSE_XML=yes
2272 DEFAULT_wxUSE_EXPAT=yes
2273 DEFAULT_wxUSE_ZLIB=yes
2274 DEFAULT_wxUSE_LIBPNG=yes
2275 DEFAULT_wxUSE_LIBJPEG=yes
2276 DEFAULT_wxUSE_LIBTIFF=yes
2277 DEFAULT_wxUSE_LIBXPM=yes
2278 DEFAULT_wxUSE_LIBMSPACK=yes
2279 DEFAULT_wxUSE_LIBSDL=no
2280 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2281 DEFAULT_wxUSE_LIBHILDON=no
2282 DEFAULT_wxUSE_ODBC=no
2283 DEFAULT_wxUSE_OPENGL=no
2285 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2286 DEFAULT_wxUSE_STACKWALKER=yes
2287 DEFAULT_wxUSE_DEBUGREPORT=yes
2288 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2289 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2290 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2291 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2292 DEFAULT_wxUSE_DATETIME=yes
2293 DEFAULT_wxUSE_TIMER=yes
2294 DEFAULT_wxUSE_STOPWATCH=yes
2295 DEFAULT_wxUSE_FILE=yes
2296 DEFAULT_wxUSE_FFILE=yes
2297 DEFAULT_wxUSE_STDPATHS=yes
2298 DEFAULT_wxUSE_TEXTBUFFER=yes
2299 DEFAULT_wxUSE_TEXTFILE=yes
2300 DEFAULT_wxUSE_SOUND=yes
2301 DEFAULT_wxUSE_MEDIACTRL=no
2302 DEFAULT_wxUSE_INTL=yes
2303 DEFAULT_wxUSE_CONFIG=yes
2304 DEFAULT_wxUSE_FONTMAP=yes
2305 DEFAULT_wxUSE_STREAMS=yes
2306 DEFAULT_wxUSE_SOCKETS=yes
2307 DEFAULT_wxUSE_OLE=yes
2308 DEFAULT_wxUSE_DATAOBJ=yes
2309 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2310 DEFAULT_wxUSE_JOYSTICK=yes
2311 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2312 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2313 DEFAULT_wxUSE_LONGLONG=yes
2314 DEFAULT_wxUSE_GEOMETRY=yes
2316 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2317 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2318 DEFAULT_wxUSE_POSTSCRIPT=yes
2320 DEFAULT_wxUSE_CLIPBOARD=yes
2321 DEFAULT_wxUSE_TOOLTIPS=yes
2322 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2323 DEFAULT_wxUSE_DRAGIMAGE=yes
2324 DEFAULT_wxUSE_SPLINES=yes
2325 DEFAULT_wxUSE_MOUSEWHEEL=yes
2327 DEFAULT_wxUSE_MDI=yes
2328 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2329 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2330 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2332 DEFAULT_wxUSE_RESOURCES=no
2333 DEFAULT_wxUSE_CONSTRAINTS=yes
2334 DEFAULT_wxUSE_IPC=yes
2335 DEFAULT_wxUSE_HELP=yes
2336 DEFAULT_wxUSE_MS_HTML_HELP=yes
2337 DEFAULT_wxUSE_WXHTML_HELP=yes
2338 DEFAULT_wxUSE_TREELAYOUT=yes
2339 DEFAULT_wxUSE_METAFILE=yes
2340 DEFAULT_wxUSE_MIMETYPE=yes
2341 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2342 DEFAULT_wxUSE_PROTOCOL=yes
2343 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2344 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2345 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2346 DEFAULT_wxUSE_URL=yes
2348 DEFAULT_wxUSE_COMMONDLGS=yes
2349 DEFAULT_wxUSE_CHOICEDLG=yes
2350 DEFAULT_wxUSE_COLOURDLG=yes
2351 DEFAULT_wxUSE_DIRDLG=yes
2352 DEFAULT_wxUSE_FILEDLG=yes
2353 DEFAULT_wxUSE_FINDREPLDLG=yes
2354 DEFAULT_wxUSE_FONTDLG=yes
2355 DEFAULT_wxUSE_MSGDLG=yes
2356 DEFAULT_wxUSE_NUMBERDLG=yes
2357 DEFAULT_wxUSE_TEXTDLG=yes
2358 DEFAULT_wxUSE_SPLASH=yes
2359 DEFAULT_wxUSE_STARTUP_TIPS=yes
2360 DEFAULT_wxUSE_PROGRESSDLG=yes
2361 DEFAULT_wxUSE_WIZARDDLG=yes
2363 DEFAULT_wxUSE_MENUS=yes
2364 DEFAULT_wxUSE_MINIFRAME=yes
2365 DEFAULT_wxUSE_HTML=yes
2366 DEFAULT_wxUSE_RICHTEXT=yes
2367 DEFAULT_wxUSE_XRC=yes
2368 DEFAULT_wxUSE_WEBKIT=yes
2369 DEFAULT_wxUSE_FILESYSTEM=yes
2370 DEFAULT_wxUSE_FS_INET=yes
2371 DEFAULT_wxUSE_FS_ZIP=yes
2372 DEFAULT_wxUSE_BUSYINFO=yes
2373 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2374 DEFAULT_wxUSE_ZIPSTREAM=yes
2375 DEFAULT_wxUSE_VALIDATORS=yes
2377 DEFAULT_wxUSE_ACCEL=yes
2378 DEFAULT_wxUSE_BUTTON=yes
2379 DEFAULT_wxUSE_BMPBUTTON=yes
2380 DEFAULT_wxUSE_CALCTRL=yes
2381 DEFAULT_wxUSE_CARET=yes
2382 DEFAULT_wxUSE_CHECKBOX=yes
2383 DEFAULT_wxUSE_CHECKLST=yes
2384 DEFAULT_wxUSE_CHOICE=yes
2385 DEFAULT_wxUSE_CHOICEBOOK=yes
2386 DEFAULT_wxUSE_COMBOBOX=yes
2387 DEFAULT_wxUSE_DATEPICKCTRL=yes
2388 DEFAULT_wxUSE_DISPLAY=yes
2389 DEFAULT_wxUSE_GAUGE=yes
2390 DEFAULT_wxUSE_GRID=yes
2391 DEFAULT_wxUSE_DATAVIEWCTRL=no
2392 DEFAULT_wxUSE_IMAGLIST=yes
2393 DEFAULT_wxUSE_LISTBOOK=yes
2394 DEFAULT_wxUSE_LISTBOX=yes
2395 DEFAULT_wxUSE_LISTCTRL=yes
2396 DEFAULT_wxUSE_NOTEBOOK=yes
2397 DEFAULT_wxUSE_RADIOBOX=yes
2398 DEFAULT_wxUSE_RADIOBTN=yes
2399 DEFAULT_wxUSE_SASH=yes
2400 DEFAULT_wxUSE_SCROLLBAR=yes
2401 DEFAULT_wxUSE_SLIDER=yes
2402 DEFAULT_wxUSE_SPINBTN=yes
2403 DEFAULT_wxUSE_SPINCTRL=yes
2404 DEFAULT_wxUSE_SPLITTER=yes
2405 DEFAULT_wxUSE_STATBMP=yes
2406 DEFAULT_wxUSE_STATBOX=yes
2407 DEFAULT_wxUSE_STATLINE=yes
2408 DEFAULT_wxUSE_STATTEXT=yes
2409 DEFAULT_wxUSE_STATUSBAR=yes
2410 DEFAULT_wxUSE_TABDIALOG=no
2411 DEFAULT_wxUSE_TEXTCTRL=yes
2412 DEFAULT_wxUSE_TOGGLEBTN=yes
2413 DEFAULT_wxUSE_TOOLBAR=yes
2414 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2415 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2416 DEFAULT_wxUSE_TREEBOOK=yes
2417 DEFAULT_wxUSE_TREECTRL=yes
2418 DEFAULT_wxUSE_POPUPWIN=yes
2419 DEFAULT_wxUSE_TIPWINDOW=yes
2421 DEFAULT_wxUSE_UNICODE=no
2422 DEFAULT_wxUSE_UNICODE_MSLU=yes
2423 DEFAULT_wxUSE_WCSRTOMBS=no
2425 DEFAULT_wxUSE_PALETTE=yes
2426 DEFAULT_wxUSE_IMAGE=yes
2427 DEFAULT_wxUSE_GIF=yes
2428 DEFAULT_wxUSE_PCX=yes
2429 DEFAULT_wxUSE_IFF=no
2430 DEFAULT_wxUSE_PNM=yes
2431 DEFAULT_wxUSE_XPM=yes
2432 DEFAULT_wxUSE_ICO_CUR=yes
2433 DEFAULT_wxUSE_ACCESSIBILITY=no
2435 DEFAULT_wxUSE_MONOLITHIC=no
2436 DEFAULT_wxUSE_PLUGINS=no
2437 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2439 DEFAULT_wxUSE_GTK2=yes
2445 for toolkit in `echo $ALL_TOOLKITS`; do
2446 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2447 if test "x$LINE" != "x" ; then
2448 has_toolkit_in_cache=1
2449 eval "DEFAULT_$LINE"
2450 eval "CACHE_$toolkit=1"
2452 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2453 if test "x$LINE" != "x" ; then
2454 eval "DEFAULT_$LINE"
2462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2463 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2465 # Check whether --enable-gui or --disable-gui was given.
2466 if test "${enable_gui+set}" = set; then
2467 enableval="$enable_gui"
2469 if test "$enableval" = yes; then
2470 ac_cv_use_gui='wxUSE_GUI
=yes'
2472 ac_cv_use_gui='wxUSE_GUI
=no
'
2477 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2478 if test "x$LINE" != x ; then
2479 eval "DEFAULT_$LINE"
2484 ac_cv_use_gui='wxUSE_GUI
='$DEFAULT_wxUSE_GUI
2488 eval "$ac_cv_use_gui"
2489 if test "$no_cache" != 1; then
2490 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2493 if test "$wxUSE_GUI" = yes; then
2494 echo "$as_me:$LINENO: result: yes" >&5
2495 echo "${ECHO_T}yes" >&6
2497 echo "$as_me:$LINENO: result: no" >&5
2498 echo "${ECHO_T}no" >&6
2503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2504 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2506 # Check whether --enable-monolithic or --disable-monolithic was given.
2507 if test "${enable_monolithic+set}" = set; then
2508 enableval="$enable_monolithic"
2510 if test "$enableval" = yes; then
2511 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
2513 ac_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
2518 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2519 if test "x$LINE" != x ; then
2520 eval "DEFAULT_$LINE"
2525 ac_cv_use_monolithic='wxUSE_MONOLITHIC
='$DEFAULT_wxUSE_MONOLITHIC
2529 eval "$ac_cv_use_monolithic"
2530 if test "$no_cache" != 1; then
2531 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2534 if test "$wxUSE_MONOLITHIC" = yes; then
2535 echo "$as_me:$LINENO: result: yes" >&5
2536 echo "${ECHO_T}yes" >&6
2538 echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6
2544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2545 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2547 # Check whether --enable-plugins or --disable-plugins was given.
2548 if test "${enable_plugins+set}" = set; then
2549 enableval="$enable_plugins"
2551 if test "$enableval" = yes; then
2552 ac_cv_use_plugins='wxUSE_PLUGINS
=yes'
2554 ac_cv_use_plugins='wxUSE_PLUGINS
=no
'
2559 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2560 if test "x$LINE" != x ; then
2561 eval "DEFAULT_$LINE"
2566 ac_cv_use_plugins='wxUSE_PLUGINS
='$DEFAULT_wxUSE_PLUGINS
2570 eval "$ac_cv_use_plugins"
2571 if test "$no_cache" != 1; then
2572 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2575 if test "$wxUSE_PLUGINS" = yes; then
2576 echo "$as_me:$LINENO: result: yes" >&5
2577 echo "${ECHO_T}yes" >&6
2579 echo "$as_me:$LINENO: result: no" >&5
2580 echo "${ECHO_T}no" >&6
2585 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2586 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2589 # Check whether --with-subdirs or --without-subdirs was given.
2590 if test "${with_subdirs+set}" = set; then
2591 withval="$with_subdirs"
2593 if test "$withval" = yes; then
2594 ac_cv_use_subdirs='wxWITH_SUBDIRS
=yes'
2596 ac_cv_use_subdirs='wxWITH_SUBDIRS
=no
'
2601 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2602 if test "x$LINE" != x ; then
2603 eval "DEFAULT_$LINE"
2608 ac_cv_use_subdirs='wxWITH_SUBDIRS
='$DEFAULT_wxWITH_SUBDIRS
2612 eval "$ac_cv_use_subdirs"
2613 if test "$no_cache" != 1; then
2614 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2617 if test "$wxWITH_SUBDIRS" = yes; then
2618 echo "$as_me:$LINENO: result: yes" >&5
2619 echo "${ECHO_T}yes" >&6
2621 echo "$as_me:$LINENO: result: no" >&5
2622 echo "${ECHO_T}no" >&6
2626 if test "$wxUSE_GUI" = "yes"; then
2630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2631 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2633 # Check whether --enable-universal or --disable-universal was given.
2634 if test "${enable_universal+set}" = set; then
2635 enableval="$enable_universal"
2637 if test "$enableval" = yes; then
2638 ac_cv_use_universal='wxUSE_UNIVERSAL
=yes'
2640 ac_cv_use_universal='wxUSE_UNIVERSAL
=no
'
2645 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2646 if test "x$LINE" != x ; then
2647 eval "DEFAULT_$LINE"
2652 ac_cv_use_universal='wxUSE_UNIVERSAL
='$DEFAULT_wxUSE_UNIVERSAL
2656 eval "$ac_cv_use_universal"
2657 if test "$no_cache" != 1; then
2658 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2661 if test "$wxUSE_UNIVERSAL" = yes; then
2662 echo "$as_me:$LINENO: result: yes" >&5
2663 echo "${ECHO_T}yes" >&6
2665 echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6
2670 # Check whether --with-gtk or --without-gtk was given.
2671 if test "${with_gtk+set}" = set; then
2673 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2676 # Check whether --with-motif or --without-motif was given.
2677 if test "${with_motif+set}" = set; then
2678 withval="$with_motif"
2679 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2682 # Check whether --with-mac or --without-mac was given.
2683 if test "${with_mac+set}" = set; then
2685 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2688 # Check whether --with-cocoa or --without-cocoa was given.
2689 if test "${with_cocoa+set}" = set; then
2690 withval="$with_cocoa"
2691 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2694 # Check whether --with-wine or --without-wine was given.
2695 if test "${with_wine+set}" = set; then
2696 withval="$with_wine"
2697 wxUSE_WINE="$withval" CACHE_WINE=1
2700 # Check whether --with-msw or --without-msw was given.
2701 if test "${with_msw+set}" = set; then
2703 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2706 # Check whether --with-pm or --without-pm was given.
2707 if test "${with_pm+set}" = set; then
2709 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2712 # Check whether --with-mgl or --without-mgl was given.
2713 if test "${with_mgl+set}" = set; then
2715 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2718 # Check whether --with-microwin or --without-microwin was given.
2719 if test "${with_microwin+set}" = set; then
2720 withval="$with_microwin"
2721 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2724 # Check whether --with-x11 or --without-x11 was given.
2725 if test "${with_x11+set}" = set; then
2727 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2732 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2734 # Check whether --enable-nanox or --disable-nanox was given.
2735 if test "${enable_nanox+set}" = set; then
2736 enableval="$enable_nanox"
2738 if test "$enableval" = yes; then
2739 ac_cv_use_nanox='wxUSE_NANOX
=yes'
2741 ac_cv_use_nanox='wxUSE_NANOX
=no
'
2746 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x ; then
2748 eval "DEFAULT_$LINE"
2753 ac_cv_use_nanox='wxUSE_NANOX
='$DEFAULT_wxUSE_NANOX
2757 eval "$ac_cv_use_nanox"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2762 if test "$wxUSE_NANOX" = yes; then
2763 echo "$as_me:$LINENO: result: yes" >&5
2764 echo "${ECHO_T}yes" >&6
2766 echo "$as_me:$LINENO: result: no" >&5
2767 echo "${ECHO_T}no" >&6
2771 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2772 if test "${enable_gtk2+set}" = set; then
2773 enableval="$enable_gtk2"
2774 wxUSE_GTK2="$enableval"
2778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2779 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2781 # Check whether --enable-gpe or --disable-gpe was given.
2782 if test "${enable_gpe+set}" = set; then
2783 enableval="$enable_gpe"
2785 if test "$enableval" = yes; then
2786 ac_cv_use_gpe='wxUSE_GPE
=yes'
2788 ac_cv_use_gpe='wxUSE_GPE
=no
'
2793 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2794 if test "x$LINE" != x ; then
2795 eval "DEFAULT_$LINE"
2800 ac_cv_use_gpe='wxUSE_GPE
='$DEFAULT_wxUSE_GPE
2804 eval "$ac_cv_use_gpe"
2805 if test "$no_cache" != 1; then
2806 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2809 if test "$wxUSE_GPE" = yes; then
2810 echo "$as_me:$LINENO: result: yes" >&5
2811 echo "${ECHO_T}yes" >&6
2813 echo "$as_me:$LINENO: result: no" >&5
2814 echo "${ECHO_T}no" >&6
2819 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2820 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2823 # Check whether --with-libpng or --without-libpng was given.
2824 if test "${with_libpng+set}" = set; then
2825 withval="$with_libpng"
2827 if test "$withval" = yes; then
2828 ac_cv_use_libpng='wxUSE_LIBPNG
=yes'
2829 elif test "$withval" = no; then
2830 ac_cv_use_libpng='wxUSE_LIBPNG
=no
'
2831 elif test "$withval" = sys; then
2832 ac_cv_use_libpng='wxUSE_LIBPNG
=sys
'
2833 elif test "$withval" = builtin; then
2834 ac_cv_use_libpng='wxUSE_LIBPNG
=builtin'
2836 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2837 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2838 { (exit 1); exit 1; }; }
2843 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2844 if test "x$LINE" != x ; then
2845 eval "DEFAULT_$LINE"
2850 ac_cv_use_libpng='wxUSE_LIBPNG
='$DEFAULT_wxUSE_LIBPNG
2854 eval "$ac_cv_use_libpng"
2855 if test "$no_cache" != 1; then
2856 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2859 if test "$wxUSE_LIBPNG" = yes; then
2860 echo "$as_me:$LINENO: result: yes" >&5
2861 echo "${ECHO_T}yes" >&6
2862 elif test "$wxUSE_LIBPNG" = no; then
2863 echo "$as_me:$LINENO: result: no" >&5
2864 echo "${ECHO_T}no" >&6
2865 elif test "$wxUSE_LIBPNG" = sys; then
2866 echo "$as_me:$LINENO: result: system version" >&5
2867 echo "${ECHO_T}system version" >&6
2868 elif test "$wxUSE_LIBPNG" = builtin; then
2869 echo "$as_me:$LINENO: result: builtin version" >&5
2870 echo "${ECHO_T}builtin version" >&6
2872 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2873 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2874 { (exit 1); exit 1; }; }
2878 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2879 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2882 # Check whether --with-libjpeg or --without-libjpeg was given.
2883 if test "${with_libjpeg+set}" = set; then
2884 withval="$with_libjpeg"
2886 if test "$withval" = yes; then
2887 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
2888 elif test "$withval" = no; then
2889 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
2890 elif test "$withval" = sys; then
2891 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
2892 elif test "$withval" = builtin; then
2893 ac_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
2895 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2896 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2897 { (exit 1); exit 1; }; }
2902 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x ; then
2904 eval "DEFAULT_$LINE"
2909 ac_cv_use_libjpeg='wxUSE_LIBJPEG
='$DEFAULT_wxUSE_LIBJPEG
2913 eval "$ac_cv_use_libjpeg"
2914 if test "$no_cache" != 1; then
2915 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2918 if test "$wxUSE_LIBJPEG" = yes; then
2919 echo "$as_me:$LINENO: result: yes" >&5
2920 echo "${ECHO_T}yes" >&6
2921 elif test "$wxUSE_LIBJPEG" = no; then
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2924 elif test "$wxUSE_LIBJPEG" = sys; then
2925 echo "$as_me:$LINENO: result: system version" >&5
2926 echo "${ECHO_T}system version" >&6
2927 elif test "$wxUSE_LIBJPEG" = builtin; then
2928 echo "$as_me:$LINENO: result: builtin version" >&5
2929 echo "${ECHO_T}builtin version" >&6
2931 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2932 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2933 { (exit 1); exit 1; }; }
2937 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2938 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2941 # Check whether --with-libtiff or --without-libtiff was given.
2942 if test "${with_libtiff+set}" = set; then
2943 withval="$with_libtiff"
2945 if test "$withval" = yes; then
2946 ac_cv_use_libtiff='wxUSE_LIBTIFF
=yes'
2947 elif test "$withval" = no; then
2948 ac_cv_use_libtiff='wxUSE_LIBTIFF
=no
'
2949 elif test "$withval" = sys; then
2950 ac_cv_use_libtiff='wxUSE_LIBTIFF
=sys
'
2951 elif test "$withval" = builtin; then
2952 ac_cv_use_libtiff='wxUSE_LIBTIFF
=builtin'
2954 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2955 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2956 { (exit 1); exit 1; }; }
2961 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x ; then
2963 eval "DEFAULT_$LINE"
2968 ac_cv_use_libtiff='wxUSE_LIBTIFF
='$DEFAULT_wxUSE_LIBTIFF
2972 eval "$ac_cv_use_libtiff"
2973 if test "$no_cache" != 1; then
2974 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2977 if test "$wxUSE_LIBTIFF" = yes; then
2978 echo "$as_me:$LINENO: result: yes" >&5
2979 echo "${ECHO_T}yes" >&6
2980 elif test "$wxUSE_LIBTIFF" = no; then
2981 echo "$as_me:$LINENO: result: no" >&5
2982 echo "${ECHO_T}no" >&6
2983 elif test "$wxUSE_LIBTIFF" = sys; then
2984 echo "$as_me:$LINENO: result: system version" >&5
2985 echo "${ECHO_T}system version" >&6
2986 elif test "$wxUSE_LIBTIFF" = builtin; then
2987 echo "$as_me:$LINENO: result: builtin version" >&5
2988 echo "${ECHO_T}builtin version" >&6
2990 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2991 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2992 { (exit 1); exit 1; }; }
2996 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2997 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3000 # Check whether --with-libxpm or --without-libxpm was given.
3001 if test "${with_libxpm+set}" = set; then
3002 withval="$with_libxpm"
3004 if test "$withval" = yes; then
3005 ac_cv_use_libxpm='wxUSE_LIBXPM
=yes'
3006 elif test "$withval" = no; then
3007 ac_cv_use_libxpm='wxUSE_LIBXPM
=no
'
3008 elif test "$withval" = sys; then
3009 ac_cv_use_libxpm='wxUSE_LIBXPM
=sys
'
3010 elif test "$withval" = builtin; then
3011 ac_cv_use_libxpm='wxUSE_LIBXPM
=builtin'
3013 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3014 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3015 { (exit 1); exit 1; }; }
3020 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3021 if test "x$LINE" != x ; then
3022 eval "DEFAULT_$LINE"
3027 ac_cv_use_libxpm='wxUSE_LIBXPM
='$DEFAULT_wxUSE_LIBXPM
3031 eval "$ac_cv_use_libxpm"
3032 if test "$no_cache" != 1; then
3033 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3036 if test "$wxUSE_LIBXPM" = yes; then
3037 echo "$as_me:$LINENO: result: yes" >&5
3038 echo "${ECHO_T}yes" >&6
3039 elif test "$wxUSE_LIBXPM" = no; then
3040 echo "$as_me:$LINENO: result: no" >&5
3041 echo "${ECHO_T}no" >&6
3042 elif test "$wxUSE_LIBXPM" = sys; then
3043 echo "$as_me:$LINENO: result: system version" >&5
3044 echo "${ECHO_T}system version" >&6
3045 elif test "$wxUSE_LIBXPM" = builtin; then
3046 echo "$as_me:$LINENO: result: builtin version" >&5
3047 echo "${ECHO_T}builtin version" >&6
3049 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3050 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3051 { (exit 1); exit 1; }; }
3056 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3057 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3060 # Check whether --with-libmspack or --without-libmspack was given.
3061 if test "${with_libmspack+set}" = set; then
3062 withval="$with_libmspack"
3064 if test "$withval" = yes; then
3065 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
3067 ac_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
3072 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3073 if test "x$LINE" != x ; then
3074 eval "DEFAULT_$LINE"
3079 ac_cv_use_libmspack='wxUSE_LIBMSPACK
='$DEFAULT_wxUSE_LIBMSPACK
3083 eval "$ac_cv_use_libmspack"
3084 if test "$no_cache" != 1; then
3085 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3088 if test "$wxUSE_LIBMSPACK" = yes; then
3089 echo "$as_me:$LINENO: result: yes" >&5
3090 echo "${ECHO_T}yes" >&6
3092 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6
3098 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3099 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3102 # Check whether --with-sdl or --without-sdl was given.
3103 if test "${with_sdl+set}" = set; then
3106 if test "$withval" = yes; then
3107 ac_cv_use_sdl='wxUSE_LIBSDL
=yes'
3109 ac_cv_use_sdl='wxUSE_LIBSDL
=no
'
3114 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3115 if test "x$LINE" != x ; then
3116 eval "DEFAULT_$LINE"
3121 ac_cv_use_sdl='wxUSE_LIBSDL
='$DEFAULT_wxUSE_LIBSDL
3125 eval "$ac_cv_use_sdl"
3126 if test "$no_cache" != 1; then
3127 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3130 if test "$wxUSE_LIBSDL" = yes; then
3131 echo "$as_me:$LINENO: result: yes" >&5
3132 echo "${ECHO_T}yes" >&6
3134 echo "$as_me:$LINENO: result: no" >&5
3135 echo "${ECHO_T}no" >&6
3140 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3141 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3144 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3145 if test "${with_gnomeprint+set}" = set; then
3146 withval="$with_gnomeprint"
3148 if test "$withval" = yes; then
3149 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3151 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3156 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3157 if test "x$LINE" != x ; then
3158 eval "DEFAULT_$LINE"
3163 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
='$DEFAULT_wxUSE_LIBGNOMEPRINT
3167 eval "$ac_cv_use_gnomeprint"
3168 if test "$no_cache" != 1; then
3169 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3172 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3173 echo "$as_me:$LINENO: result: yes" >&5
3174 echo "${ECHO_T}yes" >&6
3176 echo "$as_me:$LINENO: result: no" >&5
3177 echo "${ECHO_T}no" >&6
3182 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3183 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3186 # Check whether --with-hildon or --without-hildon was given.
3187 if test "${with_hildon+set}" = set; then
3188 withval="$with_hildon"
3190 if test "$withval" = yes; then
3191 ac_cv_use_hildon='wxUSE_LIBHILDON
=yes'
3193 ac_cv_use_hildon='wxUSE_LIBHILDON
=no
'
3198 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3199 if test "x$LINE" != x ; then
3200 eval "DEFAULT_$LINE"
3205 ac_cv_use_hildon='wxUSE_LIBHILDON
='$DEFAULT_wxUSE_LIBHILDON
3209 eval "$ac_cv_use_hildon"
3210 if test "$no_cache" != 1; then
3211 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3214 if test "$wxUSE_LIBHILDON" = yes; then
3215 echo "$as_me:$LINENO: result: yes" >&5
3216 echo "${ECHO_T}yes" >&6
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3224 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3225 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3228 # Check whether --with-opengl or --without-opengl was given.
3229 if test "${with_opengl+set}" = set; then
3230 withval="$with_opengl"
3232 if test "$withval" = yes; then
3233 ac_cv_use_opengl='wxUSE_OPENGL
=yes'
3235 ac_cv_use_opengl='wxUSE_OPENGL
=no
'
3240 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x ; then
3242 eval "DEFAULT_$LINE"
3247 ac_cv_use_opengl='wxUSE_OPENGL
='$DEFAULT_wxUSE_OPENGL
3251 eval "$ac_cv_use_opengl"
3252 if test "$no_cache" != 1; then
3253 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3256 if test "$wxUSE_OPENGL" = yes; then
3257 echo "$as_me:$LINENO: result: yes" >&5
3258 echo "${ECHO_T}yes" >&6
3260 echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6
3269 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3270 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3273 # Check whether --with-dmalloc or --without-dmalloc was given.
3274 if test "${with_dmalloc+set}" = set; then
3275 withval="$with_dmalloc"
3277 if test "$withval" = yes; then
3278 ac_cv_use_dmalloc='wxUSE_DMALLOC
=yes'
3280 ac_cv_use_dmalloc='wxUSE_DMALLOC
=no
'
3285 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x ; then
3287 eval "DEFAULT_$LINE"
3292 ac_cv_use_dmalloc='wxUSE_DMALLOC
='$DEFAULT_wxUSE_DMALLOC
3296 eval "$ac_cv_use_dmalloc"
3297 if test "$no_cache" != 1; then
3298 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3301 if test "$wxUSE_DMALLOC" = yes; then
3302 echo "$as_me:$LINENO: result: yes" >&5
3303 echo "${ECHO_T}yes" >&6
3305 echo "$as_me:$LINENO: result: no" >&5
3306 echo "${ECHO_T}no" >&6
3310 echo "$as_me:$LINENO: checking for --with-regex" >&5
3311 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3314 # Check whether --with-regex or --without-regex was given.
3315 if test "${with_regex+set}" = set; then
3316 withval="$with_regex"
3318 if test "$withval" = yes; then
3319 ac_cv_use_regex='wxUSE_REGEX
=yes'
3320 elif test "$withval" = no; then
3321 ac_cv_use_regex='wxUSE_REGEX
=no
'
3322 elif test "$withval" = sys; then
3323 ac_cv_use_regex='wxUSE_REGEX
=sys
'
3324 elif test "$withval" = builtin; then
3325 ac_cv_use_regex='wxUSE_REGEX
=builtin'
3327 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3328 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3329 { (exit 1); exit 1; }; }
3334 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3335 if test "x$LINE" != x ; then
3336 eval "DEFAULT_$LINE"
3341 ac_cv_use_regex='wxUSE_REGEX
='$DEFAULT_wxUSE_REGEX
3345 eval "$ac_cv_use_regex"
3346 if test "$no_cache" != 1; then
3347 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3350 if test "$wxUSE_REGEX" = yes; then
3351 echo "$as_me:$LINENO: result: yes" >&5
3352 echo "${ECHO_T}yes" >&6
3353 elif test "$wxUSE_REGEX" = no; then
3354 echo "$as_me:$LINENO: result: no" >&5
3355 echo "${ECHO_T}no" >&6
3356 elif test "$wxUSE_REGEX" = sys; then
3357 echo "$as_me:$LINENO: result: system version" >&5
3358 echo "${ECHO_T}system version" >&6
3359 elif test "$wxUSE_REGEX" = builtin; then
3360 echo "$as_me:$LINENO: result: builtin version" >&5
3361 echo "${ECHO_T}builtin version" >&6
3363 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3364 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3365 { (exit 1); exit 1; }; }
3369 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3370 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3373 # Check whether --with-zlib or --without-zlib was given.
3374 if test "${with_zlib+set}" = set; then
3375 withval="$with_zlib"
3377 if test "$withval" = yes; then
3378 ac_cv_use_zlib='wxUSE_ZLIB
=yes'
3379 elif test "$withval" = no; then
3380 ac_cv_use_zlib='wxUSE_ZLIB
=no
'
3381 elif test "$withval" = sys; then
3382 ac_cv_use_zlib='wxUSE_ZLIB
=sys
'
3383 elif test "$withval" = builtin; then
3384 ac_cv_use_zlib='wxUSE_ZLIB
=builtin'
3386 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3387 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3388 { (exit 1); exit 1; }; }
3393 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x ; then
3395 eval "DEFAULT_$LINE"
3400 ac_cv_use_zlib='wxUSE_ZLIB
='$DEFAULT_wxUSE_ZLIB
3404 eval "$ac_cv_use_zlib"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3409 if test "$wxUSE_ZLIB" = yes; then
3410 echo "$as_me:$LINENO: result: yes" >&5
3411 echo "${ECHO_T}yes" >&6
3412 elif test "$wxUSE_ZLIB" = no; then
3413 echo "$as_me:$LINENO: result: no" >&5
3414 echo "${ECHO_T}no" >&6
3415 elif test "$wxUSE_ZLIB" = sys; then
3416 echo "$as_me:$LINENO: result: system version" >&5
3417 echo "${ECHO_T}system version" >&6
3418 elif test "$wxUSE_ZLIB" = builtin; then
3419 echo "$as_me:$LINENO: result: builtin version" >&5
3420 echo "${ECHO_T}builtin version" >&6
3422 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3423 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3424 { (exit 1); exit 1; }; }
3428 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3429 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3432 # Check whether --with-odbc or --without-odbc was given.
3433 if test "${with_odbc+set}" = set; then
3434 withval="$with_odbc"
3436 if test "$withval" = yes; then
3437 ac_cv_use_odbc='wxUSE_ODBC
=yes'
3438 elif test "$withval" = no; then
3439 ac_cv_use_odbc='wxUSE_ODBC
=no
'
3440 elif test "$withval" = sys; then
3441 ac_cv_use_odbc='wxUSE_ODBC
=sys
'
3442 elif test "$withval" = builtin; then
3443 ac_cv_use_odbc='wxUSE_ODBC
=builtin'
3445 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3446 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3447 { (exit 1); exit 1; }; }
3452 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3453 if test "x$LINE" != x ; then
3454 eval "DEFAULT_$LINE"
3459 ac_cv_use_odbc='wxUSE_ODBC
='$DEFAULT_wxUSE_ODBC
3463 eval "$ac_cv_use_odbc"
3464 if test "$no_cache" != 1; then
3465 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3468 if test "$wxUSE_ODBC" = yes; then
3469 echo "$as_me:$LINENO: result: yes" >&5
3470 echo "${ECHO_T}yes" >&6
3471 elif test "$wxUSE_ODBC" = no; then
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3474 elif test "$wxUSE_ODBC" = sys; then
3475 echo "$as_me:$LINENO: result: system version" >&5
3476 echo "${ECHO_T}system version" >&6
3477 elif test "$wxUSE_ODBC" = builtin; then
3478 echo "$as_me:$LINENO: result: builtin version" >&5
3479 echo "${ECHO_T}builtin version" >&6
3481 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3482 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3483 { (exit 1); exit 1; }; }
3487 echo "$as_me:$LINENO: checking for --with-expat" >&5
3488 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3491 # Check whether --with-expat or --without-expat was given.
3492 if test "${with_expat+set}" = set; then
3493 withval="$with_expat"
3495 if test "$withval" = yes; then
3496 ac_cv_use_expat='wxUSE_EXPAT
=yes'
3497 elif test "$withval" = no; then
3498 ac_cv_use_expat='wxUSE_EXPAT
=no
'
3499 elif test "$withval" = sys; then
3500 ac_cv_use_expat='wxUSE_EXPAT
=sys
'
3501 elif test "$withval" = builtin; then
3502 ac_cv_use_expat='wxUSE_EXPAT
=builtin'
3504 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3505 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3506 { (exit 1); exit 1; }; }
3511 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3512 if test "x$LINE" != x ; then
3513 eval "DEFAULT_$LINE"
3518 ac_cv_use_expat='wxUSE_EXPAT
='$DEFAULT_wxUSE_EXPAT
3522 eval "$ac_cv_use_expat"
3523 if test "$no_cache" != 1; then
3524 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3527 if test "$wxUSE_EXPAT" = yes; then
3528 echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6
3530 elif test "$wxUSE_EXPAT" = no; then
3531 echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6
3533 elif test "$wxUSE_EXPAT" = sys; then
3534 echo "$as_me:$LINENO: result: system version" >&5
3535 echo "${ECHO_T}system version" >&6
3536 elif test "$wxUSE_EXPAT" = builtin; then
3537 echo "$as_me:$LINENO: result: builtin version" >&5
3538 echo "${ECHO_T}builtin version" >&6
3540 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3541 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3550 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3552 # Check whether --enable-shared or --disable-shared was given.
3553 if test "${enable_shared+set}" = set; then
3554 enableval="$enable_shared"
3556 if test "$enableval" = yes; then
3557 ac_cv_use_shared='wxUSE_SHARED
=yes'
3559 ac_cv_use_shared='wxUSE_SHARED
=no
'
3564 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x ; then
3566 eval "DEFAULT_$LINE"
3571 ac_cv_use_shared='wxUSE_SHARED
='$DEFAULT_wxUSE_SHARED
3575 eval "$ac_cv_use_shared"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_SHARED" = yes; then
3581 echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3591 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3593 # Check whether --enable-optimise or --disable-optimise was given.
3594 if test "${enable_optimise+set}" = set; then
3595 enableval="$enable_optimise"
3597 if test "$enableval" = yes; then
3598 ac_cv_use_optimise='wxUSE_OPTIMISE
=yes'
3600 ac_cv_use_optimise='wxUSE_OPTIMISE
=no
'
3605 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3606 if test "x$LINE" != x ; then
3607 eval "DEFAULT_$LINE"
3612 ac_cv_use_optimise='wxUSE_OPTIMISE
='$DEFAULT_wxUSE_OPTIMISE
3616 eval "$ac_cv_use_optimise"
3617 if test "$no_cache" != 1; then
3618 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3621 if test "$wxUSE_OPTIMISE" = yes; then
3622 echo "$as_me:$LINENO: result: yes" >&5
3623 echo "${ECHO_T}yes" >&6
3625 echo "$as_me:$LINENO: result: no" >&5
3626 echo "${ECHO_T}no" >&6
3631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3632 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3634 # Check whether --enable-debug or --disable-debug was given.
3635 if test "${enable_debug+set}" = set; then
3636 enableval="$enable_debug"
3638 if test "$enableval" = yes; then
3639 ac_cv_use_debug='wxUSE_DEBUG
=yes'
3641 ac_cv_use_debug='wxUSE_DEBUG
=no
'
3646 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x ; then
3648 eval "DEFAULT_$LINE"
3653 ac_cv_use_debug='wxUSE_DEBUG
='$DEFAULT_wxUSE_DEBUG
3657 eval "$ac_cv_use_debug"
3658 if test "$no_cache" != 1; then
3659 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3662 if test "$wxUSE_DEBUG" = yes; then
3663 echo "$as_me:$LINENO: result: yes" >&5
3664 echo "${ECHO_T}yes" >&6
3666 echo "$as_me:$LINENO: result: no" >&5
3667 echo "${ECHO_T}no" >&6
3672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3673 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3675 # Check whether --enable-stl or --disable-stl was given.
3676 if test "${enable_stl+set}" = set; then
3677 enableval="$enable_stl"
3679 if test "$enableval" = yes; then
3680 ac_cv_use_stl='wxUSE_STL
=yes'
3682 ac_cv_use_stl='wxUSE_STL
=no
'
3687 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3688 if test "x$LINE" != x ; then
3689 eval "DEFAULT_$LINE"
3694 ac_cv_use_stl='wxUSE_STL
='$DEFAULT_wxUSE_STL
3698 eval "$ac_cv_use_stl"
3699 if test "$no_cache" != 1; then
3700 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3703 if test "$wxUSE_STL" = yes; then
3704 echo "$as_me:$LINENO: result: yes" >&5
3705 echo "${ECHO_T}yes" >&6
3707 echo "$as_me:$LINENO: result: no" >&5
3708 echo "${ECHO_T}no" >&6
3711 if test "$USE_OS2" = "1"; then
3712 DEFAULT_wxUSE_OMF=no
3715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3716 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3718 # Check whether --enable-omf or --disable-omf was given.
3719 if test "${enable_omf+set}" = set; then
3720 enableval="$enable_omf"
3722 if test "$enableval" = yes; then
3723 ac_cv_use_omf='wxUSE_OMF
=yes'
3725 ac_cv_use_omf='wxUSE_OMF
=no
'
3730 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3731 if test "x$LINE" != x ; then
3732 eval "DEFAULT_$LINE"
3737 ac_cv_use_omf='wxUSE_OMF
='$DEFAULT_wxUSE_OMF
3741 eval "$ac_cv_use_omf"
3742 if test "$no_cache" != 1; then
3743 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3746 if test "$wxUSE_OMF" = yes; then
3747 echo "$as_me:$LINENO: result: yes" >&5
3748 echo "${ECHO_T}yes" >&6
3750 echo "$as_me:$LINENO: result: no" >&5
3751 echo "${ECHO_T}no" >&6
3756 if test "$wxUSE_DEBUG" = "yes"; then
3757 DEFAULT_wxUSE_DEBUG_FLAG=yes
3758 DEFAULT_wxUSE_DEBUG_INFO=yes
3760 elif test "$wxUSE_DEBUG" = "no"; then
3761 DEFAULT_wxUSE_DEBUG_FLAG=no
3762 DEFAULT_wxUSE_DEBUG_INFO=no
3768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3769 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3771 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3772 if test "${enable_debug_flag+set}" = set; then
3773 enableval="$enable_debug_flag"
3775 if test "$enableval" = yes; then
3776 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
3778 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
3783 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3784 if test "x$LINE" != x ; then
3785 eval "DEFAULT_$LINE"
3790 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG
='$DEFAULT_wxUSE_DEBUG_FLAG
3794 eval "$ac_cv_use_debug_flag"
3795 if test "$no_cache" != 1; then
3796 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3799 if test "$wxUSE_DEBUG_FLAG" = yes; then
3800 echo "$as_me:$LINENO: result: yes" >&5
3801 echo "${ECHO_T}yes" >&6
3803 echo "$as_me:$LINENO: result: no" >&5
3804 echo "${ECHO_T}no" >&6
3809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3810 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3812 # Check whether --enable-debug_info or --disable-debug_info was given.
3813 if test "${enable_debug_info+set}" = set; then
3814 enableval="$enable_debug_info"
3816 if test "$enableval" = yes; then
3817 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=yes'
3819 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
=no
'
3824 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x ; then
3826 eval "DEFAULT_$LINE"
3831 ac_cv_use_debug_info='wxUSE_DEBUG_INFO
='$DEFAULT_wxUSE_DEBUG_INFO
3835 eval "$ac_cv_use_debug_info"
3836 if test "$no_cache" != 1; then
3837 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3840 if test "$wxUSE_DEBUG_INFO" = yes; then
3841 echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6
3844 echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6
3850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3851 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3853 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3854 if test "${enable_debug_gdb+set}" = set; then
3855 enableval="$enable_debug_gdb"
3857 if test "$enableval" = yes; then
3858 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
3860 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
3865 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3866 if test "x$LINE" != x ; then
3867 eval "DEFAULT_$LINE"
3872 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB
='$DEFAULT_wxUSE_DEBUG_GDB
3876 eval "$ac_cv_use_debug_gdb"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3881 if test "$wxUSE_DEBUG_GDB" = yes; then
3882 echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6
3885 echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6
3891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3892 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3894 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3895 if test "${enable_debug_cntxt+set}" = set; then
3896 enableval="$enable_debug_cntxt"
3898 if test "$enableval" = yes; then
3899 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
3901 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
3906 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3907 if test "x$LINE" != x ; then
3908 eval "DEFAULT_$LINE"
3913 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
='$DEFAULT_wxUSE_DEBUG_CONTEXT
3917 eval "$ac_cv_use_debug_cntxt"
3918 if test "$no_cache" != 1; then
3919 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3922 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3923 echo "$as_me:$LINENO: result: yes" >&5
3924 echo "${ECHO_T}yes" >&6
3926 echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6
3932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3933 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3935 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3936 if test "${enable_mem_tracing+set}" = set; then
3937 enableval="$enable_mem_tracing"
3939 if test "$enableval" = yes; then
3940 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
3942 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
3947 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x ; then
3949 eval "DEFAULT_$LINE"
3954 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING
='$DEFAULT_wxUSE_MEM_TRACING
3958 eval "$ac_cv_use_mem_tracing"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3963 if test "$wxUSE_MEM_TRACING" = yes; then
3964 echo "$as_me:$LINENO: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3974 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3976 # Check whether --enable-profile or --disable-profile was given.
3977 if test "${enable_profile+set}" = set; then
3978 enableval="$enable_profile"
3980 if test "$enableval" = yes; then
3981 ac_cv_use_profile='wxUSE_PROFILE
=yes'
3983 ac_cv_use_profile='wxUSE_PROFILE
=no
'
3988 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x ; then
3990 eval "DEFAULT_$LINE"
3995 ac_cv_use_profile='wxUSE_PROFILE
='$DEFAULT_wxUSE_PROFILE
3999 eval "$ac_cv_use_profile"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4004 if test "$wxUSE_PROFILE" = yes; then
4005 echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6
4008 echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4015 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4017 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4018 if test "${enable_no_rtti+set}" = set; then
4019 enableval="$enable_no_rtti"
4021 if test "$enableval" = yes; then
4022 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
4024 ac_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
4029 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x ; then
4031 eval "DEFAULT_$LINE"
4036 ac_cv_use_no_rtti='wxUSE_NO_RTTI
='$DEFAULT_wxUSE_NO_RTTI
4040 eval "$ac_cv_use_no_rtti"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4045 if test "$wxUSE_NO_RTTI" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4058 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4059 if test "${enable_no_exceptions+set}" = set; then
4060 enableval="$enable_no_exceptions"
4062 if test "$enableval" = yes; then
4063 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
4065 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
4070 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x ; then
4072 eval "DEFAULT_$LINE"
4077 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
='$DEFAULT_wxUSE_NO_EXCEPTIONS
4081 eval "$ac_cv_use_no_exceptions"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4086 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088 echo "${ECHO_T}yes" >&6
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4097 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4099 # Check whether --enable-permissive or --disable-permissive was given.
4100 if test "${enable_permissive+set}" = set; then
4101 enableval="$enable_permissive"
4103 if test "$enableval" = yes; then
4104 ac_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
4106 ac_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
4111 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4112 if test "x$LINE" != x ; then
4113 eval "DEFAULT_$LINE"
4118 ac_cv_use_permissive='wxUSE_PERMISSIVE
='$DEFAULT_wxUSE_PERMISSIVE
4122 eval "$ac_cv_use_permissive"
4123 if test "$no_cache" != 1; then
4124 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4127 if test "$wxUSE_PERMISSIVE" = yes; then
4128 echo "$as_me:$LINENO: result: yes" >&5
4129 echo "${ECHO_T}yes" >&6
4131 echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6
4137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4138 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4140 # Check whether --enable-no_deps or --disable-no_deps was given.
4141 if test "${enable_no_deps+set}" = set; then
4142 enableval="$enable_no_deps"
4144 if test "$enableval" = yes; then
4145 ac_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
4147 ac_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
4152 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4153 if test "x$LINE" != x ; then
4154 eval "DEFAULT_$LINE"
4159 ac_cv_use_no_deps='wxUSE_NO_DEPS
='$DEFAULT_wxUSE_NO_DEPS
4163 eval "$ac_cv_use_no_deps"
4164 if test "$no_cache" != 1; then
4165 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4168 if test "$wxUSE_NO_DEPS" = yes; then
4169 echo "$as_me:$LINENO: result: yes" >&5
4170 echo "${ECHO_T}yes" >&6
4172 echo "$as_me:$LINENO: result: no" >&5
4173 echo "${ECHO_T}no" >&6
4179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4180 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4182 # Check whether --enable-compat24 or --disable-compat24 was given.
4183 if test "${enable_compat24+set}" = set; then
4184 enableval="$enable_compat24"
4186 if test "$enableval" = yes; then
4187 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=yes'
4189 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
=no
'
4194 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x ; then
4196 eval "DEFAULT_$LINE"
4201 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4
='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4205 eval "$ac_cv_use_compat24"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4210 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4211 echo "$as_me:$LINENO: result: yes" >&5
4212 echo "${ECHO_T}yes" >&6
4214 echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6
4219 enablestring=disable
4220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4221 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4223 # Check whether --enable-compat26 or --disable-compat26 was given.
4224 if test "${enable_compat26+set}" = set; then
4225 enableval="$enable_compat26"
4227 if test "$enableval" = yes; then
4228 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
4230 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
4235 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x ; then
4237 eval "DEFAULT_$LINE"
4242 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4246 eval "$ac_cv_use_compat26"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4251 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4252 echo "$as_me:$LINENO: result: yes" >&5
4253 echo "${ECHO_T}yes" >&6
4255 echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6
4262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4263 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4265 # Check whether --enable-rpath or --disable-rpath was given.
4266 if test "${enable_rpath+set}" = set; then
4267 enableval="$enable_rpath"
4269 if test "$enableval" = yes; then
4270 ac_cv_use_rpath='wxUSE_RPATH
=yes'
4272 ac_cv_use_rpath='wxUSE_RPATH
=no
'
4277 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4278 if test "x$LINE" != x ; then
4279 eval "DEFAULT_$LINE"
4284 ac_cv_use_rpath='wxUSE_RPATH
='$DEFAULT_wxUSE_RPATH
4288 eval "$ac_cv_use_rpath"
4289 if test "$no_cache" != 1; then
4290 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4293 if test "$wxUSE_RPATH" = yes; then
4294 echo "$as_me:$LINENO: result: yes" >&5
4295 echo "${ECHO_T}yes" >&6
4297 echo "$as_me:$LINENO: result: no" >&5
4298 echo "${ECHO_T}no" >&6
4306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4307 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4309 # Check whether --enable-intl or --disable-intl was given.
4310 if test "${enable_intl+set}" = set; then
4311 enableval="$enable_intl"
4313 if test "$enableval" = yes; then
4314 ac_cv_use_intl='wxUSE_INTL
=yes'
4316 ac_cv_use_intl='wxUSE_INTL
=no
'
4321 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4322 if test "x$LINE" != x ; then
4323 eval "DEFAULT_$LINE"
4328 ac_cv_use_intl='wxUSE_INTL
='$DEFAULT_wxUSE_INTL
4332 eval "$ac_cv_use_intl"
4333 if test "$no_cache" != 1; then
4334 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4337 if test "$wxUSE_INTL" = yes; then
4338 echo "$as_me:$LINENO: result: yes" >&5
4339 echo "${ECHO_T}yes" >&6
4341 echo "$as_me:$LINENO: result: no" >&5
4342 echo "${ECHO_T}no" >&6
4347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4348 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4350 # Check whether --enable-config or --disable-config was given.
4351 if test "${enable_config+set}" = set; then
4352 enableval="$enable_config"
4354 if test "$enableval" = yes; then
4355 ac_cv_use_config='wxUSE_CONFIG
=yes'
4357 ac_cv_use_config='wxUSE_CONFIG
=no
'
4362 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4363 if test "x$LINE" != x ; then
4364 eval "DEFAULT_$LINE"
4369 ac_cv_use_config='wxUSE_CONFIG
='$DEFAULT_wxUSE_CONFIG
4373 eval "$ac_cv_use_config"
4374 if test "$no_cache" != 1; then
4375 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4378 if test "$wxUSE_CONFIG" = yes; then
4379 echo "$as_me:$LINENO: result: yes" >&5
4380 echo "${ECHO_T}yes" >&6
4382 echo "$as_me:$LINENO: result: no" >&5
4383 echo "${ECHO_T}no" >&6
4389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4392 # Check whether --enable-protocols or --disable-protocols was given.
4393 if test "${enable_protocols+set}" = set; then
4394 enableval="$enable_protocols"
4396 if test "$enableval" = yes; then
4397 ac_cv_use_protocols='wxUSE_PROTOCOL
=yes'
4399 ac_cv_use_protocols='wxUSE_PROTOCOL
=no
'
4404 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x ; then
4406 eval "DEFAULT_$LINE"
4411 ac_cv_use_protocols='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
4415 eval "$ac_cv_use_protocols"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4420 if test "$wxUSE_PROTOCOL" = yes; then
4421 echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4431 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4433 # Check whether --enable-ftp or --disable-ftp was given.
4434 if test "${enable_ftp+set}" = set; then
4435 enableval="$enable_ftp"
4437 if test "$enableval" = yes; then
4438 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
4440 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
4445 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x ; then
4447 eval "DEFAULT_$LINE"
4452 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
4456 eval "$ac_cv_use_ftp"
4457 if test "$no_cache" != 1; then
4458 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4461 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4462 echo "$as_me:$LINENO: result: yes" >&5
4463 echo "${ECHO_T}yes" >&6
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4474 # Check whether --enable-http or --disable-http was given.
4475 if test "${enable_http+set}" = set; then
4476 enableval="$enable_http"
4478 if test "$enableval" = yes; then
4479 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
4481 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
4486 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x ; then
4488 eval "DEFAULT_$LINE"
4493 ac_cv_use_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
4497 eval "$ac_cv_use_http"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4502 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4503 echo "$as_me:$LINENO: result: yes" >&5
4504 echo "${ECHO_T}yes" >&6
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4515 # Check whether --enable-fileproto or --disable-fileproto was given.
4516 if test "${enable_fileproto+set}" = set; then
4517 enableval="$enable_fileproto"
4519 if test "$enableval" = yes; then
4520 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
4522 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
4527 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x ; then
4529 eval "DEFAULT_$LINE"
4534 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
4538 eval "$ac_cv_use_fileproto"
4539 if test "$no_cache" != 1; then
4540 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4543 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4544 echo "$as_me:$LINENO: result: yes" >&5
4545 echo "${ECHO_T}yes" >&6
4547 echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6
4553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4554 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4556 # Check whether --enable-sockets or --disable-sockets was given.
4557 if test "${enable_sockets+set}" = set; then
4558 enableval="$enable_sockets"
4560 if test "$enableval" = yes; then
4561 ac_cv_use_sockets='wxUSE_SOCKETS
=yes'
4563 ac_cv_use_sockets='wxUSE_SOCKETS
=no
'
4568 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x ; then
4570 eval "DEFAULT_$LINE"
4575 ac_cv_use_sockets='wxUSE_SOCKETS
='$DEFAULT_wxUSE_SOCKETS
4579 eval "$ac_cv_use_sockets"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4584 if test "$wxUSE_SOCKETS" = yes; then
4585 echo "$as_me:$LINENO: result: yes" >&5
4586 echo "${ECHO_T}yes" >&6
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4595 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4597 # Check whether --enable-ole or --disable-ole was given.
4598 if test "${enable_ole+set}" = set; then
4599 enableval="$enable_ole"
4601 if test "$enableval" = yes; then
4602 ac_cv_use_ole='wxUSE_OLE
=yes'
4604 ac_cv_use_ole='wxUSE_OLE
=no
'
4609 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4610 if test "x$LINE" != x ; then
4611 eval "DEFAULT_$LINE"
4616 ac_cv_use_ole='wxUSE_OLE
='$DEFAULT_wxUSE_OLE
4620 eval "$ac_cv_use_ole"
4621 if test "$no_cache" != 1; then
4622 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4625 if test "$wxUSE_OLE" = yes; then
4626 echo "$as_me:$LINENO: result: yes" >&5
4627 echo "${ECHO_T}yes" >&6
4629 echo "$as_me:$LINENO: result: no" >&5
4630 echo "${ECHO_T}no" >&6
4635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4638 # Check whether --enable-dataobj or --disable-dataobj was given.
4639 if test "${enable_dataobj+set}" = set; then
4640 enableval="$enable_dataobj"
4642 if test "$enableval" = yes; then
4643 ac_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
4645 ac_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
4650 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x ; then
4652 eval "DEFAULT_$LINE"
4657 ac_cv_use_dataobj='wxUSE_DATAOBJ
='$DEFAULT_wxUSE_DATAOBJ
4661 eval "$ac_cv_use_dataobj"
4662 if test "$no_cache" != 1; then
4663 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4666 if test "$wxUSE_DATAOBJ" = yes; then
4667 echo "$as_me:$LINENO: result: yes" >&5
4668 echo "${ECHO_T}yes" >&6
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4678 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4680 # Check whether --enable-ipc or --disable-ipc was given.
4681 if test "${enable_ipc+set}" = set; then
4682 enableval="$enable_ipc"
4684 if test "$enableval" = yes; then
4685 ac_cv_use_ipc='wxUSE_IPC
=yes'
4687 ac_cv_use_ipc='wxUSE_IPC
=no
'
4692 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x ; then
4694 eval "DEFAULT_$LINE"
4699 ac_cv_use_ipc='wxUSE_IPC
='$DEFAULT_wxUSE_IPC
4703 eval "$ac_cv_use_ipc"
4704 if test "$no_cache" != 1; then
4705 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4708 if test "$wxUSE_IPC" = yes; then
4709 echo "$as_me:$LINENO: result: yes" >&5
4710 echo "${ECHO_T}yes" >&6
4712 echo "$as_me:$LINENO: result: no" >&5
4713 echo "${ECHO_T}no" >&6
4719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4720 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4722 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4723 if test "${enable_apple_ieee+set}" = set; then
4724 enableval="$enable_apple_ieee"
4726 if test "$enableval" = yes; then
4727 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
4729 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
4734 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x ; then
4736 eval "DEFAULT_$LINE"
4741 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE
='$DEFAULT_wxUSE_APPLE_IEEE
4745 eval "$ac_cv_use_apple_ieee"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4750 if test "$wxUSE_APPLE_IEEE" = yes; then
4751 echo "$as_me:$LINENO: result: yes" >&5
4752 echo "${ECHO_T}yes" >&6
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4763 # Check whether --enable-arcstream or --disable-arcstream was given.
4764 if test "${enable_arcstream+set}" = set; then
4765 enableval="$enable_arcstream"
4767 if test "$enableval" = yes; then
4768 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=yes'
4770 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
=no
'
4775 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4782 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS
='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4786 eval "$ac_cv_use_arcstream"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4791 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4792 echo "$as_me:$LINENO: result: yes" >&5
4793 echo "${ECHO_T}yes" >&6
4795 echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4804 # Check whether --enable-backtrace or --disable-backtrace was given.
4805 if test "${enable_backtrace+set}" = set; then
4806 enableval="$enable_backtrace"
4808 if test "$enableval" = yes; then
4809 ac_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
4811 ac_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
4816 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4823 ac_cv_use_backtrace='wxUSE_STACKWALKER
='$DEFAULT_wxUSE_STACKWALKER
4827 eval "$ac_cv_use_backtrace"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4832 if test "$wxUSE_STACKWALKER" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4845 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4846 if test "${enable_catch_segvs+set}" = set; then
4847 enableval="$enable_catch_segvs"
4849 if test "$enableval" = yes; then
4850 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=yes'
4852 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
=no
'
4857 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4864 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION
='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4868 eval "$ac_cv_use_catch_segvs"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4873 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4874 echo "$as_me:$LINENO: result: yes" >&5
4875 echo "${ECHO_T}yes" >&6
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4886 # Check whether --enable-cmdline or --disable-cmdline was given.
4887 if test "${enable_cmdline+set}" = set; then
4888 enableval="$enable_cmdline"
4890 if test "$enableval" = yes; then
4891 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
4893 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
4898 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x ; then
4900 eval "DEFAULT_$LINE"
4905 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER
='$DEFAULT_wxUSE_CMDLINE_PARSER
4909 eval "$ac_cv_use_cmdline"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4915 echo "$as_me:$LINENO: result: yes" >&5
4916 echo "${ECHO_T}yes" >&6
4918 echo "$as_me:$LINENO: result: no" >&5
4919 echo "${ECHO_T}no" >&6
4924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4927 # Check whether --enable-datetime or --disable-datetime was given.
4928 if test "${enable_datetime+set}" = set; then
4929 enableval="$enable_datetime"
4931 if test "$enableval" = yes; then
4932 ac_cv_use_datetime='wxUSE_DATETIME
=yes'
4934 ac_cv_use_datetime='wxUSE_DATETIME
=no
'
4939 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x ; then
4941 eval "DEFAULT_$LINE"
4946 ac_cv_use_datetime='wxUSE_DATETIME
='$DEFAULT_wxUSE_DATETIME
4950 eval "$ac_cv_use_datetime"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4955 if test "$wxUSE_DATETIME" = yes; then
4956 echo "$as_me:$LINENO: result: yes" >&5
4957 echo "${ECHO_T}yes" >&6
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
4968 # Check whether --enable-debugreport or --disable-debugreport was given.
4969 if test "${enable_debugreport+set}" = set; then
4970 enableval="$enable_debugreport"
4972 if test "$enableval" = yes; then
4973 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=yes'
4975 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
=no
'
4980 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_debugreport='wxUSE_DEBUGREPORT
='$DEFAULT_wxUSE_DEBUGREPORT
4991 eval "$ac_cv_use_debugreport"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_DEBUGREPORT" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5009 # Check whether --enable-dialupman or --disable-dialupman was given.
5010 if test "${enable_dialupman+set}" = set; then
5011 enableval="$enable_dialupman"
5013 if test "$enableval" = yes; then
5014 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
5016 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
5021 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER
='$DEFAULT_wxUSE_DIALUP_MANAGER
5032 eval "$ac_cv_use_dialupman"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5037 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5050 # Check whether --enable-dynlib or --disable-dynlib was given.
5051 if test "${enable_dynlib+set}" = set; then
5052 enableval="$enable_dynlib"
5054 if test "$enableval" = yes; then
5055 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
5057 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
5062 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS
='$DEFAULT_wxUSE_DYNLIB_CLASS
5073 eval "$ac_cv_use_dynlib"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5078 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5091 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5092 if test "${enable_dynamicloader+set}" = set; then
5093 enableval="$enable_dynamicloader"
5095 if test "$enableval" = yes; then
5096 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=yes'
5098 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
=no
'
5103 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5110 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER
='$DEFAULT_wxUSE_DYNAMIC_LOADER
5114 eval "$ac_cv_use_dynamicloader"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5119 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5132 # Check whether --enable-exceptions or --disable-exceptions was given.
5133 if test "${enable_exceptions+set}" = set; then
5134 enableval="$enable_exceptions"
5136 if test "$enableval" = yes; then
5137 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
5139 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
5144 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5151 ac_cv_use_exceptions='wxUSE_EXCEPTIONS
='$DEFAULT_wxUSE_EXCEPTIONS
5155 eval "$ac_cv_use_exceptions"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5160 if test "$wxUSE_EXCEPTIONS" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5173 # Check whether --enable-ffile or --disable-ffile was given.
5174 if test "${enable_ffile+set}" = set; then
5175 enableval="$enable_ffile"
5177 if test "$enableval" = yes; then
5178 ac_cv_use_ffile='wxUSE_FFILE
=yes'
5180 ac_cv_use_ffile='wxUSE_FFILE
=no
'
5185 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x ; then
5187 eval "DEFAULT_$LINE"
5192 ac_cv_use_ffile='wxUSE_FFILE
='$DEFAULT_wxUSE_FFILE
5196 eval "$ac_cv_use_ffile"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5201 if test "$wxUSE_FFILE" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5214 # Check whether --enable-file or --disable-file was given.
5215 if test "${enable_file+set}" = set; then
5216 enableval="$enable_file"
5218 if test "$enableval" = yes; then
5219 ac_cv_use_file='wxUSE_FILE
=yes'
5221 ac_cv_use_file='wxUSE_FILE
=no
'
5226 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x ; then
5228 eval "DEFAULT_$LINE"
5233 ac_cv_use_file='wxUSE_FILE
='$DEFAULT_wxUSE_FILE
5237 eval "$ac_cv_use_file"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5242 if test "$wxUSE_FILE" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5255 # Check whether --enable-filesystem or --disable-filesystem was given.
5256 if test "${enable_filesystem+set}" = set; then
5257 enableval="$enable_filesystem"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
5262 ac_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
5267 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x ; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_filesystem='wxUSE_FILESYSTEM
='$DEFAULT_wxUSE_FILESYSTEM
5278 eval "$ac_cv_use_filesystem"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_FILESYSTEM" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5296 # Check whether --enable-fontmap or --disable-fontmap was given.
5297 if test "${enable_fontmap+set}" = set; then
5298 enableval="$enable_fontmap"
5300 if test "$enableval" = yes; then
5301 ac_cv_use_fontmap='wxUSE_FONTMAP
=yes'
5303 ac_cv_use_fontmap='wxUSE_FONTMAP
=no
'
5308 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x ; then
5310 eval "DEFAULT_$LINE"
5315 ac_cv_use_fontmap='wxUSE_FONTMAP
='$DEFAULT_wxUSE_FONTMAP
5319 eval "$ac_cv_use_fontmap"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_FONTMAP" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5337 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5338 if test "${enable_fs_inet+set}" = set; then
5339 enableval="$enable_fs_inet"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_fs_inet='wxUSE_FS_INET
=yes'
5344 ac_cv_use_fs_inet='wxUSE_FS_INET
=no
'
5349 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x ; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_fs_inet='wxUSE_FS_INET
='$DEFAULT_wxUSE_FS_INET
5360 eval "$ac_cv_use_fs_inet"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5365 if test "$wxUSE_FS_INET" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5378 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5379 if test "${enable_fs_zip+set}" = set; then
5380 enableval="$enable_fs_zip"
5382 if test "$enableval" = yes; then
5383 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
5385 ac_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
5390 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x ; then
5392 eval "DEFAULT_$LINE"
5397 ac_cv_use_fs_zip='wxUSE_FS_ZIP
='$DEFAULT_wxUSE_FS_ZIP
5401 eval "$ac_cv_use_fs_zip"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5406 if test "$wxUSE_FS_ZIP" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5419 # Check whether --enable-geometry or --disable-geometry was given.
5420 if test "${enable_geometry+set}" = set; then
5421 enableval="$enable_geometry"
5423 if test "$enableval" = yes; then
5424 ac_cv_use_geometry='wxUSE_GEOMETRY
=yes'
5426 ac_cv_use_geometry='wxUSE_GEOMETRY
=no
'
5431 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_geometry='wxUSE_GEOMETRY
='$DEFAULT_wxUSE_GEOMETRY
5442 eval "$ac_cv_use_geometry"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5447 if test "$wxUSE_GEOMETRY" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5460 # Check whether --enable-log or --disable-log was given.
5461 if test "${enable_log+set}" = set; then
5462 enableval="$enable_log"
5464 if test "$enableval" = yes; then
5465 ac_cv_use_log='wxUSE_LOG
=yes'
5467 ac_cv_use_log='wxUSE_LOG
=no
'
5472 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_log='wxUSE_LOG
='$DEFAULT_wxUSE_LOG
5483 eval "$ac_cv_use_log"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5488 if test "$wxUSE_LOG" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5501 # Check whether --enable-longlong or --disable-longlong was given.
5502 if test "${enable_longlong+set}" = set; then
5503 enableval="$enable_longlong"
5505 if test "$enableval" = yes; then
5506 ac_cv_use_longlong='wxUSE_LONGLONG
=yes'
5508 ac_cv_use_longlong='wxUSE_LONGLONG
=no
'
5513 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x ; then
5515 eval "DEFAULT_$LINE"
5520 ac_cv_use_longlong='wxUSE_LONGLONG
='$DEFAULT_wxUSE_LONGLONG
5524 eval "$ac_cv_use_longlong"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5529 if test "$wxUSE_LONGLONG" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5542 # Check whether --enable-mimetype or --disable-mimetype was given.
5543 if test "${enable_mimetype+set}" = set; then
5544 enableval="$enable_mimetype"
5546 if test "$enableval" = yes; then
5547 ac_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
5549 ac_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
5554 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5561 ac_cv_use_mimetype='wxUSE_MIMETYPE
='$DEFAULT_wxUSE_MIMETYPE
5565 eval "$ac_cv_use_mimetype"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5570 if test "$wxUSE_MIMETYPE" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5583 # Check whether --enable-mslu or --disable-mslu was given.
5584 if test "${enable_mslu+set}" = set; then
5585 enableval="$enable_mslu"
5587 if test "$enableval" = yes; then
5588 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5590 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5595 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5602 ac_cv_use_mslu='wxUSE_UNICODE_MSLU
='$DEFAULT_wxUSE_UNICODE_MSLU
5606 eval "$ac_cv_use_mslu"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5611 if test "$wxUSE_UNICODE_MSLU" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5624 # Check whether --enable-snglinst or --disable-snglinst was given.
5625 if test "${enable_snglinst+set}" = set; then
5626 enableval="$enable_snglinst"
5628 if test "$enableval" = yes; then
5629 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
5631 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
5636 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5643 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
='$DEFAULT_wxUSE_SNGLINST_CHECKER
5647 eval "$ac_cv_use_snglinst"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5652 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5665 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5666 if test "${enable_std_iostreams+set}" = set; then
5667 enableval="$enable_std_iostreams"
5669 if test "$enableval" = yes; then
5670 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5672 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5677 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x ; then
5679 eval "DEFAULT_$LINE"
5684 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
='$DEFAULT_wxUSE_STD_IOSTREAM
5688 eval "$ac_cv_use_std_iostreams"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5693 if test "$wxUSE_STD_IOSTREAM" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5706 # Check whether --enable-std_string or --disable-std_string was given.
5707 if test "${enable_std_string+set}" = set; then
5708 enableval="$enable_std_string"
5710 if test "$enableval" = yes; then
5711 ac_cv_use_std_string='wxUSE_STD_STRING
=yes'
5713 ac_cv_use_std_string='wxUSE_STD_STRING
=no
'
5718 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x ; then
5720 eval "DEFAULT_$LINE"
5725 ac_cv_use_std_string='wxUSE_STD_STRING
='$DEFAULT_wxUSE_STD_STRING
5729 eval "$ac_cv_use_std_string"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5734 if test "$wxUSE_STD_STRING" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5747 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5748 if test "${enable_stdpaths+set}" = set; then
5749 enableval="$enable_stdpaths"
5751 if test "$enableval" = yes; then
5752 ac_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
5754 ac_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
5759 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x ; then
5761 eval "DEFAULT_$LINE"
5766 ac_cv_use_stdpaths='wxUSE_STDPATHS
='$DEFAULT_wxUSE_STDPATHS
5770 eval "$ac_cv_use_stdpaths"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5775 if test "$wxUSE_STDPATHS" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5788 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5789 if test "${enable_stopwatch+set}" = set; then
5790 enableval="$enable_stopwatch"
5792 if test "$enableval" = yes; then
5793 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
5795 ac_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
5800 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x ; then
5802 eval "DEFAULT_$LINE"
5807 ac_cv_use_stopwatch='wxUSE_STOPWATCH
='$DEFAULT_wxUSE_STOPWATCH
5811 eval "$ac_cv_use_stopwatch"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5816 if test "$wxUSE_STOPWATCH" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5829 # Check whether --enable-streams or --disable-streams was given.
5830 if test "${enable_streams+set}" = set; then
5831 enableval="$enable_streams"
5833 if test "$enableval" = yes; then
5834 ac_cv_use_streams='wxUSE_STREAMS
=yes'
5836 ac_cv_use_streams='wxUSE_STREAMS
=no
'
5841 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x ; then
5843 eval "DEFAULT_$LINE"
5848 ac_cv_use_streams='wxUSE_STREAMS
='$DEFAULT_wxUSE_STREAMS
5852 eval "$ac_cv_use_streams"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5857 if test "$wxUSE_STREAMS" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5870 # Check whether --enable-system_options or --disable-system_options was given.
5871 if test "${enable_system_options+set}" = set; then
5872 enableval="$enable_system_options"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
5877 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
5882 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5893 eval "$ac_cv_use_system_options"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5911 # Check whether --enable-textbuf or --disable-textbuf was given.
5912 if test "${enable_textbuf+set}" = set; then
5913 enableval="$enable_textbuf"
5915 if test "$enableval" = yes; then
5916 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
5918 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
5923 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5930 ac_cv_use_textbuf='wxUSE_TEXTBUFFER
='$DEFAULT_wxUSE_TEXTBUFFER
5934 eval "$ac_cv_use_textbuf"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5939 if test "$wxUSE_TEXTBUFFER" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5952 # Check whether --enable-textfile or --disable-textfile was given.
5953 if test "${enable_textfile+set}" = set; then
5954 enableval="$enable_textfile"
5956 if test "$enableval" = yes; then
5957 ac_cv_use_textfile='wxUSE_TEXTFILE
=yes'
5959 ac_cv_use_textfile='wxUSE_TEXTFILE
=no
'
5964 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5971 ac_cv_use_textfile='wxUSE_TEXTFILE
='$DEFAULT_wxUSE_TEXTFILE
5975 eval "$ac_cv_use_textfile"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_TEXTFILE" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5993 # Check whether --enable-timer or --disable-timer was given.
5994 if test "${enable_timer+set}" = set; then
5995 enableval="$enable_timer"
5997 if test "$enableval" = yes; then
5998 ac_cv_use_timer='wxUSE_TIMER
=yes'
6000 ac_cv_use_timer='wxUSE_TIMER
=no
'
6005 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6012 ac_cv_use_timer='wxUSE_TIMER
='$DEFAULT_wxUSE_TIMER
6016 eval "$ac_cv_use_timer"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_TIMER" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6034 # Check whether --enable-unicode or --disable-unicode was given.
6035 if test "${enable_unicode+set}" = set; then
6036 enableval="$enable_unicode"
6038 if test "$enableval" = yes; then
6039 ac_cv_use_unicode='wxUSE_UNICODE
=yes'
6041 ac_cv_use_unicode='wxUSE_UNICODE
=no
'
6046 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x ; then
6048 eval "DEFAULT_$LINE"
6053 ac_cv_use_unicode='wxUSE_UNICODE
='$DEFAULT_wxUSE_UNICODE
6057 eval "$ac_cv_use_unicode"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_UNICODE" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6075 # Check whether --enable-sound or --disable-sound was given.
6076 if test "${enable_sound+set}" = set; then
6077 enableval="$enable_sound"
6079 if test "$enableval" = yes; then
6080 ac_cv_use_sound='wxUSE_SOUND
=yes'
6082 ac_cv_use_sound='wxUSE_SOUND
=no
'
6087 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x ; then
6089 eval "DEFAULT_$LINE"
6094 ac_cv_use_sound='wxUSE_SOUND
='$DEFAULT_wxUSE_SOUND
6098 eval "$ac_cv_use_sound"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6103 if test "$wxUSE_SOUND" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6116 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6117 if test "${enable_mediactrl+set}" = set; then
6118 enableval="$enable_mediactrl"
6120 if test "$enableval" = yes; then
6121 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
6123 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
6128 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x ; then
6130 eval "DEFAULT_$LINE"
6135 ac_cv_use_mediactrl='wxUSE_MEDIACTRL
='$DEFAULT_wxUSE_MEDIACTRL
6139 eval "$ac_cv_use_mediactrl"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6144 if test "$wxUSE_MEDIACTRL" = yes; then
6145 echo "$as_me:$LINENO: result: yes" >&5
6146 echo "${ECHO_T}yes" >&6
6148 echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6
6154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6157 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6158 if test "${enable_wxprintfv+set}" = set; then
6159 enableval="$enable_wxprintfv"
6161 if test "$enableval" = yes; then
6162 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=yes'
6164 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
=no
'
6169 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x ; then
6171 eval "DEFAULT_$LINE"
6176 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF
='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6180 eval "$ac_cv_use_wxprintfv"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6185 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6186 echo "$as_me:$LINENO: result: yes" >&5
6187 echo "${ECHO_T}yes" >&6
6189 echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6
6195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6196 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6198 # Check whether --enable-zipstream or --disable-zipstream was given.
6199 if test "${enable_zipstream+set}" = set; then
6200 enableval="$enable_zipstream"
6202 if test "$enableval" = yes; then
6203 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
6205 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
6210 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6211 if test "x$LINE" != x ; then
6212 eval "DEFAULT_$LINE"
6217 ac_cv_use_zipstream='wxUSE_ZIPSTREAM
='$DEFAULT_wxUSE_ZIPSTREAM
6221 eval "$ac_cv_use_zipstream"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6226 if test "$wxUSE_ZIPSTREAM" = yes; then
6227 echo "$as_me:$LINENO: result: yes" >&5
6228 echo "${ECHO_T}yes" >&6
6230 echo "$as_me:$LINENO: result: no" >&5
6231 echo "${ECHO_T}no" >&6
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6240 # Check whether --enable-url or --disable-url was given.
6241 if test "${enable_url+set}" = set; then
6242 enableval="$enable_url"
6244 if test "$enableval" = yes; then
6245 ac_cv_use_url='wxUSE_URL
=yes'
6247 ac_cv_use_url='wxUSE_URL
=no
'
6252 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6259 ac_cv_use_url='wxUSE_URL
='$DEFAULT_wxUSE_URL
6263 eval "$ac_cv_use_url"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6268 if test "$wxUSE_URL" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6281 # Check whether --enable-protocol or --disable-protocol was given.
6282 if test "${enable_protocol+set}" = set; then
6283 enableval="$enable_protocol"
6285 if test "$enableval" = yes; then
6286 ac_cv_use_protocol='wxUSE_PROTOCOL
=yes'
6288 ac_cv_use_protocol='wxUSE_PROTOCOL
=no
'
6293 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x ; then
6295 eval "DEFAULT_$LINE"
6300 ac_cv_use_protocol='wxUSE_PROTOCOL
='$DEFAULT_wxUSE_PROTOCOL
6304 eval "$ac_cv_use_protocol"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6309 if test "$wxUSE_PROTOCOL" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6320 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6322 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6323 if test "${enable_protocol_http+set}" = set; then
6324 enableval="$enable_protocol_http"
6326 if test "$enableval" = yes; then
6327 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
6329 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
6334 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6335 if test "x$LINE" != x ; then
6336 eval "DEFAULT_$LINE"
6341 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
='$DEFAULT_wxUSE_PROTOCOL_HTTP
6345 eval "$ac_cv_use_protocol_http"
6346 if test "$no_cache" != 1; then
6347 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6350 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6351 echo "$as_me:$LINENO: result: yes" >&5
6352 echo "${ECHO_T}yes" >&6
6354 echo "$as_me:$LINENO: result: no" >&5
6355 echo "${ECHO_T}no" >&6
6360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6361 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6363 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6364 if test "${enable_protocol_ftp+set}" = set; then
6365 enableval="$enable_protocol_ftp"
6367 if test "$enableval" = yes; then
6368 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
6370 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
6375 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6376 if test "x$LINE" != x ; then
6377 eval "DEFAULT_$LINE"
6382 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
='$DEFAULT_wxUSE_PROTOCOL_FTP
6386 eval "$ac_cv_use_protocol_ftp"
6387 if test "$no_cache" != 1; then
6388 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6391 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6392 echo "$as_me:$LINENO: result: yes" >&5
6393 echo "${ECHO_T}yes" >&6
6395 echo "$as_me:$LINENO: result: no" >&5
6396 echo "${ECHO_T}no" >&6
6401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6402 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6404 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6405 if test "${enable_protocol_file+set}" = set; then
6406 enableval="$enable_protocol_file"
6408 if test "$enableval" = yes; then
6409 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
6411 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
6416 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6417 if test "x$LINE" != x ; then
6418 eval "DEFAULT_$LINE"
6423 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
='$DEFAULT_wxUSE_PROTOCOL_FILE
6427 eval "$ac_cv_use_protocol_file"
6428 if test "$no_cache" != 1; then
6429 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6432 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6433 echo "$as_me:$LINENO: result: yes" >&5
6434 echo "${ECHO_T}yes" >&6
6436 echo "$as_me:$LINENO: result: no" >&5
6437 echo "${ECHO_T}no" >&6
6445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6448 # Check whether --enable-threads or --disable-threads was given.
6449 if test "${enable_threads+set}" = set; then
6450 enableval="$enable_threads"
6452 if test "$enableval" = yes; then
6453 ac_cv_use_threads='wxUSE_THREADS
=yes'
6455 ac_cv_use_threads='wxUSE_THREADS
=no
'
6460 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6461 if test "x$LINE" != x ; then
6462 eval "DEFAULT_$LINE"
6467 ac_cv_use_threads='wxUSE_THREADS
='$DEFAULT_wxUSE_THREADS
6471 eval "$ac_cv_use_threads"
6472 if test "$no_cache" != 1; then
6473 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6476 if test "$wxUSE_THREADS" = yes; then
6477 echo "$as_me:$LINENO: result: yes" >&5
6478 echo "${ECHO_T}yes" >&6
6480 echo "$as_me:$LINENO: result: no" >&5
6481 echo "${ECHO_T}no" >&6
6485 if test "$wxUSE_GUI" = "yes"; then
6490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6491 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6493 # Check whether --enable-docview or --disable-docview was given.
6494 if test "${enable_docview+set}" = set; then
6495 enableval="$enable_docview"
6497 if test "$enableval" = yes; then
6498 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
6500 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
6505 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x ; then
6507 eval "DEFAULT_$LINE"
6512 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6516 eval "$ac_cv_use_docview"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6521 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6522 echo "$as_me:$LINENO: result: yes" >&5
6523 echo "${ECHO_T}yes" >&6
6525 echo "$as_me:$LINENO: result: no" >&5
6526 echo "${ECHO_T}no" >&6
6531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6532 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6534 # Check whether --enable-help or --disable-help was given.
6535 if test "${enable_help+set}" = set; then
6536 enableval="$enable_help"
6538 if test "$enableval" = yes; then
6539 ac_cv_use_help='wxUSE_HELP
=yes'
6541 ac_cv_use_help='wxUSE_HELP
=no
'
6546 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6547 if test "x$LINE" != x ; then
6548 eval "DEFAULT_$LINE"
6553 ac_cv_use_help='wxUSE_HELP
='$DEFAULT_wxUSE_HELP
6557 eval "$ac_cv_use_help"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6562 if test "$wxUSE_HELP" = yes; then
6563 echo "$as_me:$LINENO: result: yes" >&5
6564 echo "${ECHO_T}yes" >&6
6566 echo "$as_me:$LINENO: result: no" >&5
6567 echo "${ECHO_T}no" >&6
6572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6573 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6575 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6576 if test "${enable_mshtmlhelp+set}" = set; then
6577 enableval="$enable_mshtmlhelp"
6579 if test "$enableval" = yes; then
6580 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
6582 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
6587 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x ; then
6589 eval "DEFAULT_$LINE"
6594 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
='$DEFAULT_wxUSE_MS_HTML_HELP
6598 eval "$ac_cv_use_mshtmlhelp"
6599 if test "$no_cache" != 1; then
6600 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6603 if test "$wxUSE_MS_HTML_HELP" = yes; then
6604 echo "$as_me:$LINENO: result: yes" >&5
6605 echo "${ECHO_T}yes" >&6
6607 echo "$as_me:$LINENO: result: no" >&5
6608 echo "${ECHO_T}no" >&6
6613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6614 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6616 # Check whether --enable-html or --disable-html was given.
6617 if test "${enable_html+set}" = set; then
6618 enableval="$enable_html"
6620 if test "$enableval" = yes; then
6621 ac_cv_use_html='wxUSE_HTML
=yes'
6623 ac_cv_use_html='wxUSE_HTML
=no
'
6628 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x ; then
6630 eval "DEFAULT_$LINE"
6635 ac_cv_use_html='wxUSE_HTML
='$DEFAULT_wxUSE_HTML
6639 eval "$ac_cv_use_html"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6644 if test "$wxUSE_HTML" = yes; then
6645 echo "$as_me:$LINENO: result: yes" >&5
6646 echo "${ECHO_T}yes" >&6
6648 echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6
6654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6657 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6658 if test "${enable_htmlhelp+set}" = set; then
6659 enableval="$enable_htmlhelp"
6661 if test "$enableval" = yes; then
6662 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
6664 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
6669 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x ; then
6671 eval "DEFAULT_$LINE"
6676 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP
='$DEFAULT_wxUSE_WXHTML_HELP
6680 eval "$ac_cv_use_htmlhelp"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6685 if test "$wxUSE_WXHTML_HELP" = yes; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687 echo "${ECHO_T}yes" >&6
6689 echo "$as_me:$LINENO: result: no" >&5
6690 echo "${ECHO_T}no" >&6
6695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6698 # Check whether --enable-xrc or --disable-xrc was given.
6699 if test "${enable_xrc+set}" = set; then
6700 enableval="$enable_xrc"
6702 if test "$enableval" = yes; then
6703 ac_cv_use_xrc='wxUSE_XRC
=yes'
6705 ac_cv_use_xrc='wxUSE_XRC
=no
'
6710 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x ; then
6712 eval "DEFAULT_$LINE"
6717 ac_cv_use_xrc='wxUSE_XRC
='$DEFAULT_wxUSE_XRC
6721 eval "$ac_cv_use_xrc"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6726 if test "$wxUSE_XRC" = yes; then
6727 echo "$as_me:$LINENO: result: yes" >&5
6728 echo "${ECHO_T}yes" >&6
6730 echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6739 # Check whether --enable-constraints or --disable-constraints was given.
6740 if test "${enable_constraints+set}" = set; then
6741 enableval="$enable_constraints"
6743 if test "$enableval" = yes; then
6744 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
6746 ac_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
6751 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x ; then
6753 eval "DEFAULT_$LINE"
6758 ac_cv_use_constraints='wxUSE_CONSTRAINTS
='$DEFAULT_wxUSE_CONSTRAINTS
6762 eval "$ac_cv_use_constraints"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6767 if test "$wxUSE_CONSTRAINTS" = yes; then
6768 echo "$as_me:$LINENO: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6771 echo "$as_me:$LINENO: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6780 # Check whether --enable-printarch or --disable-printarch was given.
6781 if test "${enable_printarch+set}" = set; then
6782 enableval="$enable_printarch"
6784 if test "$enableval" = yes; then
6785 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
6787 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
6792 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x ; then
6794 eval "DEFAULT_$LINE"
6799 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6803 eval "$ac_cv_use_printarch"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6808 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6809 echo "$as_me:$LINENO: result: yes" >&5
6810 echo "${ECHO_T}yes" >&6
6812 echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6821 # Check whether --enable-mdi or --disable-mdi was given.
6822 if test "${enable_mdi+set}" = set; then
6823 enableval="$enable_mdi"
6825 if test "$enableval" = yes; then
6826 ac_cv_use_mdi='wxUSE_MDI
=yes'
6828 ac_cv_use_mdi='wxUSE_MDI
=no
'
6833 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x ; then
6835 eval "DEFAULT_$LINE"
6840 ac_cv_use_mdi='wxUSE_MDI
='$DEFAULT_wxUSE_MDI
6844 eval "$ac_cv_use_mdi"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6849 if test "$wxUSE_MDI" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6862 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6863 if test "${enable_mdidoc+set}" = set; then
6864 enableval="$enable_mdidoc"
6866 if test "$enableval" = yes; then
6867 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
6869 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
6874 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6881 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6885 eval "$ac_cv_use_mdidoc"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6890 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6903 # Check whether --enable-loggui or --disable-loggui was given.
6904 if test "${enable_loggui+set}" = set; then
6905 enableval="$enable_loggui"
6907 if test "$enableval" = yes; then
6908 ac_cv_use_loggui='wxUSE_LOGGUI
=yes'
6910 ac_cv_use_loggui='wxUSE_LOGGUI
=no
'
6915 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6922 ac_cv_use_loggui='wxUSE_LOGGUI
='$DEFAULT_wxUSE_LOGGUI
6926 eval "$ac_cv_use_loggui"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6931 if test "$wxUSE_LOGGUI" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6944 # Check whether --enable-logwin or --disable-logwin was given.
6945 if test "${enable_logwin+set}" = set; then
6946 enableval="$enable_logwin"
6948 if test "$enableval" = yes; then
6949 ac_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
6951 ac_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
6956 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x ; then
6958 eval "DEFAULT_$LINE"
6963 ac_cv_use_logwin='wxUSE_LOGWINDOW
='$DEFAULT_wxUSE_LOGWINDOW
6967 eval "$ac_cv_use_logwin"
6968 if test "$no_cache" != 1; then
6969 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6972 if test "$wxUSE_LOGWINDOW" = yes; then
6973 echo "$as_me:$LINENO: result: yes" >&5
6974 echo "${ECHO_T}yes" >&6
6976 echo "$as_me:$LINENO: result: no" >&5
6977 echo "${ECHO_T}no" >&6
6982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6985 # Check whether --enable-logdialog or --disable-logdialog was given.
6986 if test "${enable_logdialog+set}" = set; then
6987 enableval="$enable_logdialog"
6989 if test "$enableval" = yes; then
6990 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
6992 ac_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
6997 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6998 if test "x$LINE" != x ; then
6999 eval "DEFAULT_$LINE"
7004 ac_cv_use_logdialog='wxUSE_LOGDIALOG
='$DEFAULT_wxUSE_LOGDIALOG
7008 eval "$ac_cv_use_logdialog"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7013 if test "$wxUSE_LOGDIALOG" = yes; then
7014 echo "$as_me:$LINENO: result: yes" >&5
7015 echo "${ECHO_T}yes" >&6
7017 echo "$as_me:$LINENO: result: no" >&5
7018 echo "${ECHO_T}no" >&6
7023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7026 # Check whether --enable-webkit or --disable-webkit was given.
7027 if test "${enable_webkit+set}" = set; then
7028 enableval="$enable_webkit"
7030 if test "$enableval" = yes; then
7031 ac_cv_use_webkit='wxUSE_WEBKIT
=yes'
7033 ac_cv_use_webkit='wxUSE_WEBKIT
=no
'
7038 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x ; then
7040 eval "DEFAULT_$LINE"
7045 ac_cv_use_webkit='wxUSE_WEBKIT
='$DEFAULT_wxUSE_WEBKIT
7049 eval "$ac_cv_use_webkit"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7054 if test "$wxUSE_WEBKIT" = yes; then
7055 echo "$as_me:$LINENO: result: yes" >&5
7056 echo "${ECHO_T}yes" >&6
7058 echo "$as_me:$LINENO: result: no" >&5
7059 echo "${ECHO_T}no" >&6
7064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7065 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7067 # Check whether --enable-html or --disable-html was given.
7068 if test "${enable_html+set}" = set; then
7069 enableval="$enable_html"
7071 if test "$enableval" = yes; then
7072 ac_cv_use_html='wxUSE_RICHTEXT
=yes'
7074 ac_cv_use_html='wxUSE_RICHTEXT
=no
'
7079 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x ; then
7081 eval "DEFAULT_$LINE"
7086 ac_cv_use_html='wxUSE_RICHTEXT
='$DEFAULT_wxUSE_RICHTEXT
7090 eval "$ac_cv_use_html"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7095 if test "$wxUSE_RICHTEXT" = yes; then
7096 echo "$as_me:$LINENO: result: yes" >&5
7097 echo "${ECHO_T}yes" >&6
7099 echo "$as_me:$LINENO: result: no" >&5
7100 echo "${ECHO_T}no" >&6
7106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7107 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7109 # Check whether --enable-postscript or --disable-postscript was given.
7110 if test "${enable_postscript+set}" = set; then
7111 enableval="$enable_postscript"
7113 if test "$enableval" = yes; then
7114 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
7116 ac_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
7121 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7122 if test "x$LINE" != x ; then
7123 eval "DEFAULT_$LINE"
7128 ac_cv_use_postscript='wxUSE_POSTSCRIPT
='$DEFAULT_wxUSE_POSTSCRIPT
7132 eval "$ac_cv_use_postscript"
7133 if test "$no_cache" != 1; then
7134 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7137 if test "$wxUSE_POSTSCRIPT" = yes; then
7138 echo "$as_me:$LINENO: result: yes" >&5
7139 echo "${ECHO_T}yes" >&6
7141 echo "$as_me:$LINENO: result: no" >&5
7142 echo "${ECHO_T}no" >&6
7150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7151 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7153 # Check whether --enable-prologio or --disable-prologio was given.
7154 if test "${enable_prologio+set}" = set; then
7155 enableval="$enable_prologio"
7157 if test "$enableval" = yes; then
7158 ac_cv_use_prologio='wxUSE_PROLOGIO
=yes'
7160 ac_cv_use_prologio='wxUSE_PROLOGIO
=no
'
7165 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7166 if test "x$LINE" != x ; then
7167 eval "DEFAULT_$LINE"
7172 ac_cv_use_prologio='wxUSE_PROLOGIO
='$DEFAULT_wxUSE_PROLOGIO
7176 eval "$ac_cv_use_prologio"
7177 if test "$no_cache" != 1; then
7178 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7181 if test "$wxUSE_PROLOGIO" = yes; then
7182 echo "$as_me:$LINENO: result: yes" >&5
7183 echo "${ECHO_T}yes" >&6
7185 echo "$as_me:$LINENO: result: no" >&5
7186 echo "${ECHO_T}no" >&6
7191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7192 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7194 # Check whether --enable-resources or --disable-resources was given.
7195 if test "${enable_resources+set}" = set; then
7196 enableval="$enable_resources"
7198 if test "$enableval" = yes; then
7199 ac_cv_use_resources='wxUSE_RESOURCES
=yes'
7201 ac_cv_use_resources='wxUSE_RESOURCES
=no
'
7206 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7207 if test "x$LINE" != x ; then
7208 eval "DEFAULT_$LINE"
7213 ac_cv_use_resources='wxUSE_RESOURCES
='$DEFAULT_wxUSE_RESOURCES
7217 eval "$ac_cv_use_resources"
7218 if test "$no_cache" != 1; then
7219 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7222 if test "$wxUSE_RESOURCES" = yes; then
7223 echo "$as_me:$LINENO: result: yes" >&5
7224 echo "${ECHO_T}yes" >&6
7226 echo "$as_me:$LINENO: result: no" >&5
7227 echo "${ECHO_T}no" >&6
7234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7235 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7237 # Check whether --enable-clipboard or --disable-clipboard was given.
7238 if test "${enable_clipboard+set}" = set; then
7239 enableval="$enable_clipboard"
7241 if test "$enableval" = yes; then
7242 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
7244 ac_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
7249 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7250 if test "x$LINE" != x ; then
7251 eval "DEFAULT_$LINE"
7256 ac_cv_use_clipboard='wxUSE_CLIPBOARD
='$DEFAULT_wxUSE_CLIPBOARD
7260 eval "$ac_cv_use_clipboard"
7261 if test "$no_cache" != 1; then
7262 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7265 if test "$wxUSE_CLIPBOARD" = yes; then
7266 echo "$as_me:$LINENO: result: yes" >&5
7267 echo "${ECHO_T}yes" >&6
7269 echo "$as_me:$LINENO: result: no" >&5
7270 echo "${ECHO_T}no" >&6
7275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7276 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7278 # Check whether --enable-dnd or --disable-dnd was given.
7279 if test "${enable_dnd+set}" = set; then
7280 enableval="$enable_dnd"
7282 if test "$enableval" = yes; then
7283 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
7285 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
7290 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7291 if test "x$LINE" != x ; then
7292 eval "DEFAULT_$LINE"
7297 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP
='$DEFAULT_wxUSE_DRAG_AND_DROP
7301 eval "$ac_cv_use_dnd"
7302 if test "$no_cache" != 1; then
7303 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7306 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7307 echo "$as_me:$LINENO: result: yes" >&5
7308 echo "${ECHO_T}yes" >&6
7310 echo "$as_me:$LINENO: result: no" >&5
7311 echo "${ECHO_T}no" >&6
7316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7317 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7319 # Check whether --enable-metafile or --disable-metafile was given.
7320 if test "${enable_metafile+set}" = set; then
7321 enableval="$enable_metafile"
7323 if test "$enableval" = yes; then
7324 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
7326 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
7331 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7332 if test "x$LINE" != x ; then
7333 eval "DEFAULT_$LINE"
7338 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
7342 eval "$ac_cv_use_metafile"
7343 if test "$no_cache" != 1; then
7344 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7347 if test "$wxUSE_METAFILE" = yes; then
7348 echo "$as_me:$LINENO: result: yes" >&5
7349 echo "${ECHO_T}yes" >&6
7351 echo "$as_me:$LINENO: result: no" >&5
7352 echo "${ECHO_T}no" >&6
7360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7361 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7363 # Check whether --enable-controls or --disable-controls was given.
7364 if test "${enable_controls+set}" = set; then
7365 enableval="$enable_controls"
7367 if test "$enableval" = yes; then
7368 ac_cv_use_controls='wxUSE_CONTROLS
=yes'
7370 ac_cv_use_controls='wxUSE_CONTROLS
=no
'
7375 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7376 if test "x$LINE" != x ; then
7377 eval "DEFAULT_$LINE"
7382 ac_cv_use_controls='wxUSE_CONTROLS
='$DEFAULT_wxUSE_CONTROLS
7386 eval "$ac_cv_use_controls"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7391 if test "$wxUSE_CONTROLS" = yes; then
7392 echo "$as_me:$LINENO: result: yes" >&5
7393 echo "${ECHO_T}yes" >&6
7395 echo "$as_me:$LINENO: result: no" >&5
7396 echo "${ECHO_T}no" >&6
7400 if test "$wxUSE_CONTROLS" = "yes"; then
7401 DEFAULT_wxUSE_ACCEL=yes
7402 DEFAULT_wxUSE_BMPBUTTON=yes
7403 DEFAULT_wxUSE_BUTTON=yes
7404 DEFAULT_wxUSE_CALCTRL=yes
7405 DEFAULT_wxUSE_CARET=yes
7406 DEFAULT_wxUSE_COMBOBOX=yes
7407 DEFAULT_wxUSE_CHECKBOX=yes
7408 DEFAULT_wxUSE_CHECKLISTBOX=yes
7409 DEFAULT_wxUSE_CHOICE=yes
7410 DEFAULT_wxUSE_CHOICEBOOK=yes
7411 DEFAULT_wxUSE_DATEPICKCTRL=yes
7412 DEFAULT_wxUSE_GAUGE=yes
7413 DEFAULT_wxUSE_GRID=yes
7414 DEFAULT_wxUSE_DATAVIEWCTRL=no
7415 DEFAULT_wxUSE_IMAGLIST=yes
7416 DEFAULT_wxUSE_LISTBOOK=yes
7417 DEFAULT_wxUSE_LISTBOX=yes
7418 DEFAULT_wxUSE_LISTCTRL=yes
7419 DEFAULT_wxUSE_NOTEBOOK=yes
7420 DEFAULT_wxUSE_RADIOBOX=yes
7421 DEFAULT_wxUSE_RADIOBTN=yes
7422 DEFAULT_wxUSE_SASH=yes
7423 DEFAULT_wxUSE_SCROLLBAR=yes
7424 DEFAULT_wxUSE_SLIDER=yes
7425 DEFAULT_wxUSE_SPINBTN=yes
7426 DEFAULT_wxUSE_SPINCTRL=yes
7427 DEFAULT_wxUSE_SPLITTER=yes
7428 DEFAULT_wxUSE_STATBMP=yes
7429 DEFAULT_wxUSE_STATBOX=yes
7430 DEFAULT_wxUSE_STATLINE=yes
7431 DEFAULT_wxUSE_STATUSBAR=yes
7432 DEFAULT_wxUSE_TAB_DIALOG=yes
7433 DEFAULT_wxUSE_TOGGLEBTN=yes
7434 DEFAULT_wxUSE_TOOLBAR=yes
7435 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7436 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7437 DEFAULT_wxUSE_TOOLTIPS=yes
7438 DEFAULT_wxUSE_TREEBOOK=yes
7439 DEFAULT_wxUSE_TREECTRL=yes
7440 DEFAULT_wxUSE_POPUPWIN=yes
7441 DEFAULT_wxUSE_TIPWINDOW=yes
7442 elif test "$wxUSE_CONTROLS" = "no"; then
7443 DEFAULT_wxUSE_ACCEL=no
7444 DEFAULT_wxUSE_BMPBUTTON=no
7445 DEFAULT_wxUSE_BUTTON=no
7446 DEFAULT_wxUSE_CALCTRL=no
7447 DEFAULT_wxUSE_CARET=no
7448 DEFAULT_wxUSE_COMBOBOX=no
7449 DEFAULT_wxUSE_CHECKBOX=no
7450 DEFAULT_wxUSE_CHECKLISTBOX=no
7451 DEFAULT_wxUSE_CHOICE=no
7452 DEFAULT_wxUSE_CHOICEBOOK=no
7453 DEFAULT_wxUSE_DATEPICKCTRL=no
7454 DEFAULT_wxUSE_GAUGE=no
7455 DEFAULT_wxUSE_GRID=no
7456 DEFAULT_wxUSE_DATAVIEWCTRL=no
7457 DEFAULT_wxUSE_IMAGLIST=no
7458 DEFAULT_wxUSE_LISTBOOK=no
7459 DEFAULT_wxUSE_LISTBOX=no
7460 DEFAULT_wxUSE_LISTCTRL=no
7461 DEFAULT_wxUSE_NOTEBOOK=no
7462 DEFAULT_wxUSE_RADIOBOX=no
7463 DEFAULT_wxUSE_RADIOBTN=no
7464 DEFAULT_wxUSE_SASH=no
7465 DEFAULT_wxUSE_SCROLLBAR=no
7466 DEFAULT_wxUSE_SLIDER=no
7467 DEFAULT_wxUSE_SPINBTN=no
7468 DEFAULT_wxUSE_SPINCTRL=no
7469 DEFAULT_wxUSE_SPLITTER=no
7470 DEFAULT_wxUSE_STATBMP=no
7471 DEFAULT_wxUSE_STATBOX=no
7472 DEFAULT_wxUSE_STATLINE=no
7473 DEFAULT_wxUSE_STATUSBAR=no
7474 DEFAULT_wxUSE_TAB_DIALOG=no
7475 DEFAULT_wxUSE_TOGGLEBTN=no
7476 DEFAULT_wxUSE_TOOLBAR=no
7477 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7478 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7479 DEFAULT_wxUSE_TOOLTIPS=no
7480 DEFAULT_wxUSE_TREEBOOK=no
7481 DEFAULT_wxUSE_TREECTRL=no
7482 DEFAULT_wxUSE_POPUPWIN=no
7483 DEFAULT_wxUSE_TIPWINDOW=no
7488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7489 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7491 # Check whether --enable-accel or --disable-accel was given.
7492 if test "${enable_accel+set}" = set; then
7493 enableval="$enable_accel"
7495 if test "$enableval" = yes; then
7496 ac_cv_use_accel='wxUSE_ACCEL
=yes'
7498 ac_cv_use_accel='wxUSE_ACCEL
=no
'
7503 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7504 if test "x$LINE" != x ; then
7505 eval "DEFAULT_$LINE"
7510 ac_cv_use_accel='wxUSE_ACCEL
='$DEFAULT_wxUSE_ACCEL
7514 eval "$ac_cv_use_accel"
7515 if test "$no_cache" != 1; then
7516 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7519 if test "$wxUSE_ACCEL" = yes; then
7520 echo "$as_me:$LINENO: result: yes" >&5
7521 echo "${ECHO_T}yes" >&6
7523 echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6
7529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7530 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7532 # Check whether --enable-button or --disable-button was given.
7533 if test "${enable_button+set}" = set; then
7534 enableval="$enable_button"
7536 if test "$enableval" = yes; then
7537 ac_cv_use_button='wxUSE_BUTTON
=yes'
7539 ac_cv_use_button='wxUSE_BUTTON
=no
'
7544 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7545 if test "x$LINE" != x ; then
7546 eval "DEFAULT_$LINE"
7551 ac_cv_use_button='wxUSE_BUTTON
='$DEFAULT_wxUSE_BUTTON
7555 eval "$ac_cv_use_button"
7556 if test "$no_cache" != 1; then
7557 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7560 if test "$wxUSE_BUTTON" = yes; then
7561 echo "$as_me:$LINENO: result: yes" >&5
7562 echo "${ECHO_T}yes" >&6
7564 echo "$as_me:$LINENO: result: no" >&5
7565 echo "${ECHO_T}no" >&6
7570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7571 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7573 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7574 if test "${enable_bmpbutton+set}" = set; then
7575 enableval="$enable_bmpbutton"
7577 if test "$enableval" = yes; then
7578 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
7580 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
7585 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7586 if test "x$LINE" != x ; then
7587 eval "DEFAULT_$LINE"
7592 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON
='$DEFAULT_wxUSE_BMPBUTTON
7596 eval "$ac_cv_use_bmpbutton"
7597 if test "$no_cache" != 1; then
7598 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7601 if test "$wxUSE_BMPBUTTON" = yes; then
7602 echo "$as_me:$LINENO: result: yes" >&5
7603 echo "${ECHO_T}yes" >&6
7605 echo "$as_me:$LINENO: result: no" >&5
7606 echo "${ECHO_T}no" >&6
7611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7612 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7614 # Check whether --enable-calendar or --disable-calendar was given.
7615 if test "${enable_calendar+set}" = set; then
7616 enableval="$enable_calendar"
7618 if test "$enableval" = yes; then
7619 ac_cv_use_calendar='wxUSE_CALCTRL
=yes'
7621 ac_cv_use_calendar='wxUSE_CALCTRL
=no
'
7626 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x ; then
7628 eval "DEFAULT_$LINE"
7633 ac_cv_use_calendar='wxUSE_CALCTRL
='$DEFAULT_wxUSE_CALCTRL
7637 eval "$ac_cv_use_calendar"
7638 if test "$no_cache" != 1; then
7639 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7642 if test "$wxUSE_CALCTRL" = yes; then
7643 echo "$as_me:$LINENO: result: yes" >&5
7644 echo "${ECHO_T}yes" >&6
7646 echo "$as_me:$LINENO: result: no" >&5
7647 echo "${ECHO_T}no" >&6
7652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7655 # Check whether --enable-caret or --disable-caret was given.
7656 if test "${enable_caret+set}" = set; then
7657 enableval="$enable_caret"
7659 if test "$enableval" = yes; then
7660 ac_cv_use_caret='wxUSE_CARET
=yes'
7662 ac_cv_use_caret='wxUSE_CARET
=no
'
7667 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7668 if test "x$LINE" != x ; then
7669 eval "DEFAULT_$LINE"
7674 ac_cv_use_caret='wxUSE_CARET
='$DEFAULT_wxUSE_CARET
7678 eval "$ac_cv_use_caret"
7679 if test "$no_cache" != 1; then
7680 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7683 if test "$wxUSE_CARET" = yes; then
7684 echo "$as_me:$LINENO: result: yes" >&5
7685 echo "${ECHO_T}yes" >&6
7687 echo "$as_me:$LINENO: result: no" >&5
7688 echo "${ECHO_T}no" >&6
7693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7694 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7696 # Check whether --enable-checkbox or --disable-checkbox was given.
7697 if test "${enable_checkbox+set}" = set; then
7698 enableval="$enable_checkbox"
7700 if test "$enableval" = yes; then
7701 ac_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
7703 ac_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
7708 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7715 ac_cv_use_checkbox='wxUSE_CHECKBOX
='$DEFAULT_wxUSE_CHECKBOX
7719 eval "$ac_cv_use_checkbox"
7720 if test "$no_cache" != 1; then
7721 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7724 if test "$wxUSE_CHECKBOX" = yes; then
7725 echo "$as_me:$LINENO: result: yes" >&5
7726 echo "${ECHO_T}yes" >&6
7728 echo "$as_me:$LINENO: result: no" >&5
7729 echo "${ECHO_T}no" >&6
7734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7735 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7737 # Check whether --enable-checklst or --disable-checklst was given.
7738 if test "${enable_checklst+set}" = set; then
7739 enableval="$enable_checklst"
7741 if test "$enableval" = yes; then
7742 ac_cv_use_checklst='wxUSE_CHECKLST
=yes'
7744 ac_cv_use_checklst='wxUSE_CHECKLST
=no
'
7749 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7750 if test "x$LINE" != x ; then
7751 eval "DEFAULT_$LINE"
7756 ac_cv_use_checklst='wxUSE_CHECKLST
='$DEFAULT_wxUSE_CHECKLST
7760 eval "$ac_cv_use_checklst"
7761 if test "$no_cache" != 1; then
7762 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7765 if test "$wxUSE_CHECKLST" = yes; then
7766 echo "$as_me:$LINENO: result: yes" >&5
7767 echo "${ECHO_T}yes" >&6
7769 echo "$as_me:$LINENO: result: no" >&5
7770 echo "${ECHO_T}no" >&6
7775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7776 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7778 # Check whether --enable-choice or --disable-choice was given.
7779 if test "${enable_choice+set}" = set; then
7780 enableval="$enable_choice"
7782 if test "$enableval" = yes; then
7783 ac_cv_use_choice='wxUSE_CHOICE
=yes'
7785 ac_cv_use_choice='wxUSE_CHOICE
=no
'
7790 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x ; then
7792 eval "DEFAULT_$LINE"
7797 ac_cv_use_choice='wxUSE_CHOICE
='$DEFAULT_wxUSE_CHOICE
7801 eval "$ac_cv_use_choice"
7802 if test "$no_cache" != 1; then
7803 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7806 if test "$wxUSE_CHOICE" = yes; then
7807 echo "$as_me:$LINENO: result: yes" >&5
7808 echo "${ECHO_T}yes" >&6
7810 echo "$as_me:$LINENO: result: no" >&5
7811 echo "${ECHO_T}no" >&6
7816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7817 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7819 # Check whether --enable-choicebook or --disable-choicebook was given.
7820 if test "${enable_choicebook+set}" = set; then
7821 enableval="$enable_choicebook"
7823 if test "$enableval" = yes; then
7824 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
7826 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
7831 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7832 if test "x$LINE" != x ; then
7833 eval "DEFAULT_$LINE"
7838 ac_cv_use_choicebook='wxUSE_CHOICEBOOK
='$DEFAULT_wxUSE_CHOICEBOOK
7842 eval "$ac_cv_use_choicebook"
7843 if test "$no_cache" != 1; then
7844 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7847 if test "$wxUSE_CHOICEBOOK" = yes; then
7848 echo "$as_me:$LINENO: result: yes" >&5
7849 echo "${ECHO_T}yes" >&6
7851 echo "$as_me:$LINENO: result: no" >&5
7852 echo "${ECHO_T}no" >&6
7857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7858 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7860 # Check whether --enable-combobox or --disable-combobox was given.
7861 if test "${enable_combobox+set}" = set; then
7862 enableval="$enable_combobox"
7864 if test "$enableval" = yes; then
7865 ac_cv_use_combobox='wxUSE_COMBOBOX
=yes'
7867 ac_cv_use_combobox='wxUSE_COMBOBOX
=no
'
7872 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7873 if test "x$LINE" != x ; then
7874 eval "DEFAULT_$LINE"
7879 ac_cv_use_combobox='wxUSE_COMBOBOX
='$DEFAULT_wxUSE_COMBOBOX
7883 eval "$ac_cv_use_combobox"
7884 if test "$no_cache" != 1; then
7885 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7888 if test "$wxUSE_COMBOBOX" = yes; then
7889 echo "$as_me:$LINENO: result: yes" >&5
7890 echo "${ECHO_T}yes" >&6
7892 echo "$as_me:$LINENO: result: no" >&5
7893 echo "${ECHO_T}no" >&6
7898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7899 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7901 # Check whether --enable-datepick or --disable-datepick was given.
7902 if test "${enable_datepick+set}" = set; then
7903 enableval="$enable_datepick"
7905 if test "$enableval" = yes; then
7906 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
7908 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
7913 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7914 if test "x$LINE" != x ; then
7915 eval "DEFAULT_$LINE"
7920 ac_cv_use_datepick='wxUSE_DATEPICKCTRL
='$DEFAULT_wxUSE_DATEPICKCTRL
7924 eval "$ac_cv_use_datepick"
7925 if test "$no_cache" != 1; then
7926 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7929 if test "$wxUSE_DATEPICKCTRL" = yes; then
7930 echo "$as_me:$LINENO: result: yes" >&5
7931 echo "${ECHO_T}yes" >&6
7933 echo "$as_me:$LINENO: result: no" >&5
7934 echo "${ECHO_T}no" >&6
7939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7940 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7942 # Check whether --enable-display or --disable-display was given.
7943 if test "${enable_display+set}" = set; then
7944 enableval="$enable_display"
7946 if test "$enableval" = yes; then
7947 ac_cv_use_display='wxUSE_DISPLAY
=yes'
7949 ac_cv_use_display='wxUSE_DISPLAY
=no
'
7954 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7955 if test "x$LINE" != x ; then
7956 eval "DEFAULT_$LINE"
7961 ac_cv_use_display='wxUSE_DISPLAY
='$DEFAULT_wxUSE_DISPLAY
7965 eval "$ac_cv_use_display"
7966 if test "$no_cache" != 1; then
7967 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7970 if test "$wxUSE_DISPLAY" = yes; then
7971 echo "$as_me:$LINENO: result: yes" >&5
7972 echo "${ECHO_T}yes" >&6
7974 echo "$as_me:$LINENO: result: no" >&5
7975 echo "${ECHO_T}no" >&6
7980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7981 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7983 # Check whether --enable-gauge or --disable-gauge was given.
7984 if test "${enable_gauge+set}" = set; then
7985 enableval="$enable_gauge"
7987 if test "$enableval" = yes; then
7988 ac_cv_use_gauge='wxUSE_GAUGE
=yes'
7990 ac_cv_use_gauge='wxUSE_GAUGE
=no
'
7995 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7996 if test "x$LINE" != x ; then
7997 eval "DEFAULT_$LINE"
8002 ac_cv_use_gauge='wxUSE_GAUGE
='$DEFAULT_wxUSE_GAUGE
8006 eval "$ac_cv_use_gauge"
8007 if test "$no_cache" != 1; then
8008 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8011 if test "$wxUSE_GAUGE" = yes; then
8012 echo "$as_me:$LINENO: result: yes" >&5
8013 echo "${ECHO_T}yes" >&6
8015 echo "$as_me:$LINENO: result: no" >&5
8016 echo "${ECHO_T}no" >&6
8021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8022 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8024 # Check whether --enable-grid or --disable-grid was given.
8025 if test "${enable_grid+set}" = set; then
8026 enableval="$enable_grid"
8028 if test "$enableval" = yes; then
8029 ac_cv_use_grid='wxUSE_GRID
=yes'
8031 ac_cv_use_grid='wxUSE_GRID
=no
'
8036 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8037 if test "x$LINE" != x ; then
8038 eval "DEFAULT_$LINE"
8043 ac_cv_use_grid='wxUSE_GRID
='$DEFAULT_wxUSE_GRID
8047 eval "$ac_cv_use_grid"
8048 if test "$no_cache" != 1; then
8049 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8052 if test "$wxUSE_GRID" = yes; then
8053 echo "$as_me:$LINENO: result: yes" >&5
8054 echo "${ECHO_T}yes" >&6
8056 echo "$as_me:$LINENO: result: no" >&5
8057 echo "${ECHO_T}no" >&6
8062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8063 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8065 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8066 if test "${enable_dataviewctrl+set}" = set; then
8067 enableval="$enable_dataviewctrl"
8069 if test "$enableval" = yes; then
8070 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
8072 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
8077 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8078 if test "x$LINE" != x ; then
8079 eval "DEFAULT_$LINE"
8084 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
='$DEFAULT_wxUSE_DATAVIEWCTRL
8088 eval "$ac_cv_use_dataviewctrl"
8089 if test "$no_cache" != 1; then
8090 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8093 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8094 echo "$as_me:$LINENO: result: yes" >&5
8095 echo "${ECHO_T}yes" >&6
8097 echo "$as_me:$LINENO: result: no" >&5
8098 echo "${ECHO_T}no" >&6
8103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8104 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8106 # Check whether --enable-imaglist or --disable-imaglist was given.
8107 if test "${enable_imaglist+set}" = set; then
8108 enableval="$enable_imaglist"
8110 if test "$enableval" = yes; then
8111 ac_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
8113 ac_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
8118 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8119 if test "x$LINE" != x ; then
8120 eval "DEFAULT_$LINE"
8125 ac_cv_use_imaglist='wxUSE_IMAGLIST
='$DEFAULT_wxUSE_IMAGLIST
8129 eval "$ac_cv_use_imaglist"
8130 if test "$no_cache" != 1; then
8131 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8134 if test "$wxUSE_IMAGLIST" = yes; then
8135 echo "$as_me:$LINENO: result: yes" >&5
8136 echo "${ECHO_T}yes" >&6
8138 echo "$as_me:$LINENO: result: no" >&5
8139 echo "${ECHO_T}no" >&6
8144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8145 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8147 # Check whether --enable-listbook or --disable-listbook was given.
8148 if test "${enable_listbook+set}" = set; then
8149 enableval="$enable_listbook"
8151 if test "$enableval" = yes; then
8152 ac_cv_use_listbook='wxUSE_LISTBOOK
=yes'
8154 ac_cv_use_listbook='wxUSE_LISTBOOK
=no
'
8159 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8160 if test "x$LINE" != x ; then
8161 eval "DEFAULT_$LINE"
8166 ac_cv_use_listbook='wxUSE_LISTBOOK
='$DEFAULT_wxUSE_LISTBOOK
8170 eval "$ac_cv_use_listbook"
8171 if test "$no_cache" != 1; then
8172 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8175 if test "$wxUSE_LISTBOOK" = yes; then
8176 echo "$as_me:$LINENO: result: yes" >&5
8177 echo "${ECHO_T}yes" >&6
8179 echo "$as_me:$LINENO: result: no" >&5
8180 echo "${ECHO_T}no" >&6
8185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8188 # Check whether --enable-listbox or --disable-listbox was given.
8189 if test "${enable_listbox+set}" = set; then
8190 enableval="$enable_listbox"
8192 if test "$enableval" = yes; then
8193 ac_cv_use_listbox='wxUSE_LISTBOX
=yes'
8195 ac_cv_use_listbox='wxUSE_LISTBOX
=no
'
8200 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8201 if test "x$LINE" != x ; then
8202 eval "DEFAULT_$LINE"
8207 ac_cv_use_listbox='wxUSE_LISTBOX
='$DEFAULT_wxUSE_LISTBOX
8211 eval "$ac_cv_use_listbox"
8212 if test "$no_cache" != 1; then
8213 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8216 if test "$wxUSE_LISTBOX" = yes; then
8217 echo "$as_me:$LINENO: result: yes" >&5
8218 echo "${ECHO_T}yes" >&6
8220 echo "$as_me:$LINENO: result: no" >&5
8221 echo "${ECHO_T}no" >&6
8226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8229 # Check whether --enable-listctrl or --disable-listctrl was given.
8230 if test "${enable_listctrl+set}" = set; then
8231 enableval="$enable_listctrl"
8233 if test "$enableval" = yes; then
8234 ac_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
8236 ac_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
8241 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8242 if test "x$LINE" != x ; then
8243 eval "DEFAULT_$LINE"
8248 ac_cv_use_listctrl='wxUSE_LISTCTRL
='$DEFAULT_wxUSE_LISTCTRL
8252 eval "$ac_cv_use_listctrl"
8253 if test "$no_cache" != 1; then
8254 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8257 if test "$wxUSE_LISTCTRL" = yes; then
8258 echo "$as_me:$LINENO: result: yes" >&5
8259 echo "${ECHO_T}yes" >&6
8261 echo "$as_me:$LINENO: result: no" >&5
8262 echo "${ECHO_T}no" >&6
8267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8268 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8270 # Check whether --enable-notebook or --disable-notebook was given.
8271 if test "${enable_notebook+set}" = set; then
8272 enableval="$enable_notebook"
8274 if test "$enableval" = yes; then
8275 ac_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
8277 ac_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
8282 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8283 if test "x$LINE" != x ; then
8284 eval "DEFAULT_$LINE"
8289 ac_cv_use_notebook='wxUSE_NOTEBOOK
='$DEFAULT_wxUSE_NOTEBOOK
8293 eval "$ac_cv_use_notebook"
8294 if test "$no_cache" != 1; then
8295 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8298 if test "$wxUSE_NOTEBOOK" = yes; then
8299 echo "$as_me:$LINENO: result: yes" >&5
8300 echo "${ECHO_T}yes" >&6
8302 echo "$as_me:$LINENO: result: no" >&5
8303 echo "${ECHO_T}no" >&6
8308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8309 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8311 # Check whether --enable-radiobox or --disable-radiobox was given.
8312 if test "${enable_radiobox+set}" = set; then
8313 enableval="$enable_radiobox"
8315 if test "$enableval" = yes; then
8316 ac_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
8318 ac_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
8323 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8324 if test "x$LINE" != x ; then
8325 eval "DEFAULT_$LINE"
8330 ac_cv_use_radiobox='wxUSE_RADIOBOX
='$DEFAULT_wxUSE_RADIOBOX
8334 eval "$ac_cv_use_radiobox"
8335 if test "$no_cache" != 1; then
8336 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8339 if test "$wxUSE_RADIOBOX" = yes; then
8340 echo "$as_me:$LINENO: result: yes" >&5
8341 echo "${ECHO_T}yes" >&6
8343 echo "$as_me:$LINENO: result: no" >&5
8344 echo "${ECHO_T}no" >&6
8349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8350 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8352 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8353 if test "${enable_radiobtn+set}" = set; then
8354 enableval="$enable_radiobtn"
8356 if test "$enableval" = yes; then
8357 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
8359 ac_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
8364 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8365 if test "x$LINE" != x ; then
8366 eval "DEFAULT_$LINE"
8371 ac_cv_use_radiobtn='wxUSE_RADIOBTN
='$DEFAULT_wxUSE_RADIOBTN
8375 eval "$ac_cv_use_radiobtn"
8376 if test "$no_cache" != 1; then
8377 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8380 if test "$wxUSE_RADIOBTN" = yes; then
8381 echo "$as_me:$LINENO: result: yes" >&5
8382 echo "${ECHO_T}yes" >&6
8384 echo "$as_me:$LINENO: result: no" >&5
8385 echo "${ECHO_T}no" >&6
8390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8391 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8393 # Check whether --enable-sash or --disable-sash was given.
8394 if test "${enable_sash+set}" = set; then
8395 enableval="$enable_sash"
8397 if test "$enableval" = yes; then
8398 ac_cv_use_sash='wxUSE_SASH
=yes'
8400 ac_cv_use_sash='wxUSE_SASH
=no
'
8405 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8406 if test "x$LINE" != x ; then
8407 eval "DEFAULT_$LINE"
8412 ac_cv_use_sash='wxUSE_SASH
='$DEFAULT_wxUSE_SASH
8416 eval "$ac_cv_use_sash"
8417 if test "$no_cache" != 1; then
8418 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8421 if test "$wxUSE_SASH" = yes; then
8422 echo "$as_me:$LINENO: result: yes" >&5
8423 echo "${ECHO_T}yes" >&6
8425 echo "$as_me:$LINENO: result: no" >&5
8426 echo "${ECHO_T}no" >&6
8431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8432 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8434 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8435 if test "${enable_scrollbar+set}" = set; then
8436 enableval="$enable_scrollbar"
8438 if test "$enableval" = yes; then
8439 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
8441 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
8446 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8447 if test "x$LINE" != x ; then
8448 eval "DEFAULT_$LINE"
8453 ac_cv_use_scrollbar='wxUSE_SCROLLBAR
='$DEFAULT_wxUSE_SCROLLBAR
8457 eval "$ac_cv_use_scrollbar"
8458 if test "$no_cache" != 1; then
8459 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8462 if test "$wxUSE_SCROLLBAR" = yes; then
8463 echo "$as_me:$LINENO: result: yes" >&5
8464 echo "${ECHO_T}yes" >&6
8466 echo "$as_me:$LINENO: result: no" >&5
8467 echo "${ECHO_T}no" >&6
8472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8473 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8475 # Check whether --enable-slider or --disable-slider was given.
8476 if test "${enable_slider+set}" = set; then
8477 enableval="$enable_slider"
8479 if test "$enableval" = yes; then
8480 ac_cv_use_slider='wxUSE_SLIDER
=yes'
8482 ac_cv_use_slider='wxUSE_SLIDER
=no
'
8487 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8488 if test "x$LINE" != x ; then
8489 eval "DEFAULT_$LINE"
8494 ac_cv_use_slider='wxUSE_SLIDER
='$DEFAULT_wxUSE_SLIDER
8498 eval "$ac_cv_use_slider"
8499 if test "$no_cache" != 1; then
8500 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8503 if test "$wxUSE_SLIDER" = yes; then
8504 echo "$as_me:$LINENO: result: yes" >&5
8505 echo "${ECHO_T}yes" >&6
8507 echo "$as_me:$LINENO: result: no" >&5
8508 echo "${ECHO_T}no" >&6
8513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8514 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8516 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8517 if test "${enable_spinbtn+set}" = set; then
8518 enableval="$enable_spinbtn"
8520 if test "$enableval" = yes; then
8521 ac_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
8523 ac_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
8528 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8529 if test "x$LINE" != x ; then
8530 eval "DEFAULT_$LINE"
8535 ac_cv_use_spinbtn='wxUSE_SPINBTN
='$DEFAULT_wxUSE_SPINBTN
8539 eval "$ac_cv_use_spinbtn"
8540 if test "$no_cache" != 1; then
8541 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8544 if test "$wxUSE_SPINBTN" = yes; then
8545 echo "$as_me:$LINENO: result: yes" >&5
8546 echo "${ECHO_T}yes" >&6
8548 echo "$as_me:$LINENO: result: no" >&5
8549 echo "${ECHO_T}no" >&6
8554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8555 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8557 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8558 if test "${enable_spinctrl+set}" = set; then
8559 enableval="$enable_spinctrl"
8561 if test "$enableval" = yes; then
8562 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
8564 ac_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
8569 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8570 if test "x$LINE" != x ; then
8571 eval "DEFAULT_$LINE"
8576 ac_cv_use_spinctrl='wxUSE_SPINCTRL
='$DEFAULT_wxUSE_SPINCTRL
8580 eval "$ac_cv_use_spinctrl"
8581 if test "$no_cache" != 1; then
8582 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8585 if test "$wxUSE_SPINCTRL" = yes; then
8586 echo "$as_me:$LINENO: result: yes" >&5
8587 echo "${ECHO_T}yes" >&6
8589 echo "$as_me:$LINENO: result: no" >&5
8590 echo "${ECHO_T}no" >&6
8595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8596 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8598 # Check whether --enable-splitter or --disable-splitter was given.
8599 if test "${enable_splitter+set}" = set; then
8600 enableval="$enable_splitter"
8602 if test "$enableval" = yes; then
8603 ac_cv_use_splitter='wxUSE_SPLITTER
=yes'
8605 ac_cv_use_splitter='wxUSE_SPLITTER
=no
'
8610 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8611 if test "x$LINE" != x ; then
8612 eval "DEFAULT_$LINE"
8617 ac_cv_use_splitter='wxUSE_SPLITTER
='$DEFAULT_wxUSE_SPLITTER
8621 eval "$ac_cv_use_splitter"
8622 if test "$no_cache" != 1; then
8623 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8626 if test "$wxUSE_SPLITTER" = yes; then
8627 echo "$as_me:$LINENO: result: yes" >&5
8628 echo "${ECHO_T}yes" >&6
8630 echo "$as_me:$LINENO: result: no" >&5
8631 echo "${ECHO_T}no" >&6
8636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8637 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8639 # Check whether --enable-statbmp or --disable-statbmp was given.
8640 if test "${enable_statbmp+set}" = set; then
8641 enableval="$enable_statbmp"
8643 if test "$enableval" = yes; then
8644 ac_cv_use_statbmp='wxUSE_STATBMP
=yes'
8646 ac_cv_use_statbmp='wxUSE_STATBMP
=no
'
8651 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8652 if test "x$LINE" != x ; then
8653 eval "DEFAULT_$LINE"
8658 ac_cv_use_statbmp='wxUSE_STATBMP
='$DEFAULT_wxUSE_STATBMP
8662 eval "$ac_cv_use_statbmp"
8663 if test "$no_cache" != 1; then
8664 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8667 if test "$wxUSE_STATBMP" = yes; then
8668 echo "$as_me:$LINENO: result: yes" >&5
8669 echo "${ECHO_T}yes" >&6
8671 echo "$as_me:$LINENO: result: no" >&5
8672 echo "${ECHO_T}no" >&6
8677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8678 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8680 # Check whether --enable-statbox or --disable-statbox was given.
8681 if test "${enable_statbox+set}" = set; then
8682 enableval="$enable_statbox"
8684 if test "$enableval" = yes; then
8685 ac_cv_use_statbox='wxUSE_STATBOX
=yes'
8687 ac_cv_use_statbox='wxUSE_STATBOX
=no
'
8692 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8693 if test "x$LINE" != x ; then
8694 eval "DEFAULT_$LINE"
8699 ac_cv_use_statbox='wxUSE_STATBOX
='$DEFAULT_wxUSE_STATBOX
8703 eval "$ac_cv_use_statbox"
8704 if test "$no_cache" != 1; then
8705 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8708 if test "$wxUSE_STATBOX" = yes; then
8709 echo "$as_me:$LINENO: result: yes" >&5
8710 echo "${ECHO_T}yes" >&6
8712 echo "$as_me:$LINENO: result: no" >&5
8713 echo "${ECHO_T}no" >&6
8718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8719 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8721 # Check whether --enable-statline or --disable-statline was given.
8722 if test "${enable_statline+set}" = set; then
8723 enableval="$enable_statline"
8725 if test "$enableval" = yes; then
8726 ac_cv_use_statline='wxUSE_STATLINE
=yes'
8728 ac_cv_use_statline='wxUSE_STATLINE
=no
'
8733 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8734 if test "x$LINE" != x ; then
8735 eval "DEFAULT_$LINE"
8740 ac_cv_use_statline='wxUSE_STATLINE
='$DEFAULT_wxUSE_STATLINE
8744 eval "$ac_cv_use_statline"
8745 if test "$no_cache" != 1; then
8746 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8749 if test "$wxUSE_STATLINE" = yes; then
8750 echo "$as_me:$LINENO: result: yes" >&5
8751 echo "${ECHO_T}yes" >&6
8753 echo "$as_me:$LINENO: result: no" >&5
8754 echo "${ECHO_T}no" >&6
8759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8762 # Check whether --enable-stattext or --disable-stattext was given.
8763 if test "${enable_stattext+set}" = set; then
8764 enableval="$enable_stattext"
8766 if test "$enableval" = yes; then
8767 ac_cv_use_stattext='wxUSE_STATTEXT
=yes'
8769 ac_cv_use_stattext='wxUSE_STATTEXT
=no
'
8774 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8775 if test "x$LINE" != x ; then
8776 eval "DEFAULT_$LINE"
8781 ac_cv_use_stattext='wxUSE_STATTEXT
='$DEFAULT_wxUSE_STATTEXT
8785 eval "$ac_cv_use_stattext"
8786 if test "$no_cache" != 1; then
8787 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8790 if test "$wxUSE_STATTEXT" = yes; then
8791 echo "$as_me:$LINENO: result: yes" >&5
8792 echo "${ECHO_T}yes" >&6
8794 echo "$as_me:$LINENO: result: no" >&5
8795 echo "${ECHO_T}no" >&6
8800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8801 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8803 # Check whether --enable-statusbar or --disable-statusbar was given.
8804 if test "${enable_statusbar+set}" = set; then
8805 enableval="$enable_statusbar"
8807 if test "$enableval" = yes; then
8808 ac_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
8810 ac_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
8815 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8816 if test "x$LINE" != x ; then
8817 eval "DEFAULT_$LINE"
8822 ac_cv_use_statusbar='wxUSE_STATUSBAR
='$DEFAULT_wxUSE_STATUSBAR
8826 eval "$ac_cv_use_statusbar"
8827 if test "$no_cache" != 1; then
8828 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8831 if test "$wxUSE_STATUSBAR" = yes; then
8832 echo "$as_me:$LINENO: result: yes" >&5
8833 echo "${ECHO_T}yes" >&6
8835 echo "$as_me:$LINENO: result: no" >&5
8836 echo "${ECHO_T}no" >&6
8841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8842 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8844 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8845 if test "${enable_tabdialog+set}" = set; then
8846 enableval="$enable_tabdialog"
8848 if test "$enableval" = yes; then
8849 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=yes'
8851 ac_cv_use_tabdialog='wxUSE_TABDIALOG
=no
'
8856 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8857 if test "x$LINE" != x ; then
8858 eval "DEFAULT_$LINE"
8863 ac_cv_use_tabdialog='wxUSE_TABDIALOG
='$DEFAULT_wxUSE_TABDIALOG
8867 eval "$ac_cv_use_tabdialog"
8868 if test "$no_cache" != 1; then
8869 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8872 if test "$wxUSE_TABDIALOG" = yes; then
8873 echo "$as_me:$LINENO: result: yes" >&5
8874 echo "${ECHO_T}yes" >&6
8876 echo "$as_me:$LINENO: result: no" >&5
8877 echo "${ECHO_T}no" >&6
8882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8883 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8885 # Check whether --enable-textctrl or --disable-textctrl was given.
8886 if test "${enable_textctrl+set}" = set; then
8887 enableval="$enable_textctrl"
8889 if test "$enableval" = yes; then
8890 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
8892 ac_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
8897 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8898 if test "x$LINE" != x ; then
8899 eval "DEFAULT_$LINE"
8904 ac_cv_use_textctrl='wxUSE_TEXTCTRL
='$DEFAULT_wxUSE_TEXTCTRL
8908 eval "$ac_cv_use_textctrl"
8909 if test "$no_cache" != 1; then
8910 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8913 if test "$wxUSE_TEXTCTRL" = yes; then
8914 echo "$as_me:$LINENO: result: yes" >&5
8915 echo "${ECHO_T}yes" >&6
8917 echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6
8923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8926 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8927 if test "${enable_togglebtn+set}" = set; then
8928 enableval="$enable_togglebtn"
8930 if test "$enableval" = yes; then
8931 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
8933 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
8938 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x ; then
8940 eval "DEFAULT_$LINE"
8945 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN
='$DEFAULT_wxUSE_TOGGLEBTN
8949 eval "$ac_cv_use_togglebtn"
8950 if test "$no_cache" != 1; then
8951 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8954 if test "$wxUSE_TOGGLEBTN" = yes; then
8955 echo "$as_me:$LINENO: result: yes" >&5
8956 echo "${ECHO_T}yes" >&6
8958 echo "$as_me:$LINENO: result: no" >&5
8959 echo "${ECHO_T}no" >&6
8964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8965 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8967 # Check whether --enable-toolbar or --disable-toolbar was given.
8968 if test "${enable_toolbar+set}" = set; then
8969 enableval="$enable_toolbar"
8971 if test "$enableval" = yes; then
8972 ac_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
8974 ac_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
8979 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8980 if test "x$LINE" != x ; then
8981 eval "DEFAULT_$LINE"
8986 ac_cv_use_toolbar='wxUSE_TOOLBAR
='$DEFAULT_wxUSE_TOOLBAR
8990 eval "$ac_cv_use_toolbar"
8991 if test "$no_cache" != 1; then
8992 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8995 if test "$wxUSE_TOOLBAR" = yes; then
8996 echo "$as_me:$LINENO: result: yes" >&5
8997 echo "${ECHO_T}yes" >&6
8999 echo "$as_me:$LINENO: result: no" >&5
9000 echo "${ECHO_T}no" >&6
9005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9006 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9008 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9009 if test "${enable_tbarnative+set}" = set; then
9010 enableval="$enable_tbarnative"
9012 if test "$enableval" = yes; then
9013 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
9015 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
9020 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9021 if test "x$LINE" != x ; then
9022 eval "DEFAULT_$LINE"
9027 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9031 eval "$ac_cv_use_tbarnative"
9032 if test "$no_cache" != 1; then
9033 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9036 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9037 echo "$as_me:$LINENO: result: yes" >&5
9038 echo "${ECHO_T}yes" >&6
9040 echo "$as_me:$LINENO: result: no" >&5
9041 echo "${ECHO_T}no" >&6
9046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9047 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9049 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9050 if test "${enable_tbarsmpl+set}" = set; then
9051 enableval="$enable_tbarsmpl"
9053 if test "$enableval" = yes; then
9054 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=yes'
9056 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
=no
'
9061 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9068 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE
='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9072 eval "$ac_cv_use_tbarsmpl"
9073 if test "$no_cache" != 1; then
9074 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9077 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9078 echo "$as_me:$LINENO: result: yes" >&5
9079 echo "${ECHO_T}yes" >&6
9081 echo "$as_me:$LINENO: result: no" >&5
9082 echo "${ECHO_T}no" >&6
9087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9088 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9090 # Check whether --enable-treebook or --disable-treebook was given.
9091 if test "${enable_treebook+set}" = set; then
9092 enableval="$enable_treebook"
9094 if test "$enableval" = yes; then
9095 ac_cv_use_treebook='wxUSE_TREEBOOK
=yes'
9097 ac_cv_use_treebook='wxUSE_TREEBOOK
=no
'
9102 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9109 ac_cv_use_treebook='wxUSE_TREEBOOK
='$DEFAULT_wxUSE_TREEBOOK
9113 eval "$ac_cv_use_treebook"
9114 if test "$no_cache" != 1; then
9115 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9118 if test "$wxUSE_TREEBOOK" = yes; then
9119 echo "$as_me:$LINENO: result: yes" >&5
9120 echo "${ECHO_T}yes" >&6
9122 echo "$as_me:$LINENO: result: no" >&5
9123 echo "${ECHO_T}no" >&6
9128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9129 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9131 # Check whether --enable-treectrl or --disable-treectrl was given.
9132 if test "${enable_treectrl+set}" = set; then
9133 enableval="$enable_treectrl"
9135 if test "$enableval" = yes; then
9136 ac_cv_use_treectrl='wxUSE_TREECTRL
=yes'
9138 ac_cv_use_treectrl='wxUSE_TREECTRL
=no
'
9143 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9144 if test "x$LINE" != x ; then
9145 eval "DEFAULT_$LINE"
9150 ac_cv_use_treectrl='wxUSE_TREECTRL
='$DEFAULT_wxUSE_TREECTRL
9154 eval "$ac_cv_use_treectrl"
9155 if test "$no_cache" != 1; then
9156 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9159 if test "$wxUSE_TREECTRL" = yes; then
9160 echo "$as_me:$LINENO: result: yes" >&5
9161 echo "${ECHO_T}yes" >&6
9163 echo "$as_me:$LINENO: result: no" >&5
9164 echo "${ECHO_T}no" >&6
9169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9170 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9172 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9173 if test "${enable_tipwindow+set}" = set; then
9174 enableval="$enable_tipwindow"
9176 if test "$enableval" = yes; then
9177 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
9179 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
9184 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9185 if test "x$LINE" != x ; then
9186 eval "DEFAULT_$LINE"
9191 ac_cv_use_tipwindow='wxUSE_TIPWINDOW
='$DEFAULT_wxUSE_TIPWINDOW
9195 eval "$ac_cv_use_tipwindow"
9196 if test "$no_cache" != 1; then
9197 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9200 if test "$wxUSE_TIPWINDOW" = yes; then
9201 echo "$as_me:$LINENO: result: yes" >&5
9202 echo "${ECHO_T}yes" >&6
9204 echo "$as_me:$LINENO: result: no" >&5
9205 echo "${ECHO_T}no" >&6
9210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9211 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9213 # Check whether --enable-popupwin or --disable-popupwin was given.
9214 if test "${enable_popupwin+set}" = set; then
9215 enableval="$enable_popupwin"
9217 if test "$enableval" = yes; then
9218 ac_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
9220 ac_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
9225 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9226 if test "x$LINE" != x ; then
9227 eval "DEFAULT_$LINE"
9232 ac_cv_use_popupwin='wxUSE_POPUPWIN
='$DEFAULT_wxUSE_POPUPWIN
9236 eval "$ac_cv_use_popupwin"
9237 if test "$no_cache" != 1; then
9238 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9241 if test "$wxUSE_POPUPWIN" = yes; then
9242 echo "$as_me:$LINENO: result: yes" >&5
9243 echo "${ECHO_T}yes" >&6
9245 echo "$as_me:$LINENO: result: no" >&5
9246 echo "${ECHO_T}no" >&6
9253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9256 # Check whether --enable-commondlg or --disable-commondlg was given.
9257 if test "${enable_commondlg+set}" = set; then
9258 enableval="$enable_commondlg"
9260 if test "$enableval" = yes; then
9261 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
9263 ac_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
9268 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9269 if test "x$LINE" != x ; then
9270 eval "DEFAULT_$LINE"
9275 ac_cv_use_commondlg='wxUSE_COMMONDLGS
='$DEFAULT_wxUSE_COMMONDLGS
9279 eval "$ac_cv_use_commondlg"
9280 if test "$no_cache" != 1; then
9281 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9284 if test "$wxUSE_COMMONDLGS" = yes; then
9285 echo "$as_me:$LINENO: result: yes" >&5
9286 echo "${ECHO_T}yes" >&6
9288 echo "$as_me:$LINENO: result: no" >&5
9289 echo "${ECHO_T}no" >&6
9294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9297 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9298 if test "${enable_choicedlg+set}" = set; then
9299 enableval="$enable_choicedlg"
9301 if test "$enableval" = yes; then
9302 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
9304 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
9309 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9310 if test "x$LINE" != x ; then
9311 eval "DEFAULT_$LINE"
9316 ac_cv_use_choicedlg='wxUSE_CHOICEDLG
='$DEFAULT_wxUSE_CHOICEDLG
9320 eval "$ac_cv_use_choicedlg"
9321 if test "$no_cache" != 1; then
9322 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9325 if test "$wxUSE_CHOICEDLG" = yes; then
9326 echo "$as_me:$LINENO: result: yes" >&5
9327 echo "${ECHO_T}yes" >&6
9329 echo "$as_me:$LINENO: result: no" >&5
9330 echo "${ECHO_T}no" >&6
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9338 # Check whether --enable-coldlg or --disable-coldlg was given.
9339 if test "${enable_coldlg+set}" = set; then
9340 enableval="$enable_coldlg"
9342 if test "$enableval" = yes; then
9343 ac_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
9345 ac_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
9350 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x ; then
9352 eval "DEFAULT_$LINE"
9357 ac_cv_use_coldlg='wxUSE_COLOURDLG
='$DEFAULT_wxUSE_COLOURDLG
9361 eval "$ac_cv_use_coldlg"
9362 if test "$no_cache" != 1; then
9363 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9366 if test "$wxUSE_COLOURDLG" = yes; then
9367 echo "$as_me:$LINENO: result: yes" >&5
9368 echo "${ECHO_T}yes" >&6
9370 echo "$as_me:$LINENO: result: no" >&5
9371 echo "${ECHO_T}no" >&6
9376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9379 # Check whether --enable-filedlg or --disable-filedlg was given.
9380 if test "${enable_filedlg+set}" = set; then
9381 enableval="$enable_filedlg"
9383 if test "$enableval" = yes; then
9384 ac_cv_use_filedlg='wxUSE_FILEDLG
=yes'
9386 ac_cv_use_filedlg='wxUSE_FILEDLG
=no
'
9391 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9398 ac_cv_use_filedlg='wxUSE_FILEDLG
='$DEFAULT_wxUSE_FILEDLG
9402 eval "$ac_cv_use_filedlg"
9403 if test "$no_cache" != 1; then
9404 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9407 if test "$wxUSE_FILEDLG" = yes; then
9408 echo "$as_me:$LINENO: result: yes" >&5
9409 echo "${ECHO_T}yes" >&6
9411 echo "$as_me:$LINENO: result: no" >&5
9412 echo "${ECHO_T}no" >&6
9417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9418 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9420 # Check whether --enable-finddlg or --disable-finddlg was given.
9421 if test "${enable_finddlg+set}" = set; then
9422 enableval="$enable_finddlg"
9424 if test "$enableval" = yes; then
9425 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
9427 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
9432 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9433 if test "x$LINE" != x ; then
9434 eval "DEFAULT_$LINE"
9439 ac_cv_use_finddlg='wxUSE_FINDREPLDLG
='$DEFAULT_wxUSE_FINDREPLDLG
9443 eval "$ac_cv_use_finddlg"
9444 if test "$no_cache" != 1; then
9445 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9448 if test "$wxUSE_FINDREPLDLG" = yes; then
9449 echo "$as_me:$LINENO: result: yes" >&5
9450 echo "${ECHO_T}yes" >&6
9452 echo "$as_me:$LINENO: result: no" >&5
9453 echo "${ECHO_T}no" >&6
9458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9459 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9461 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9462 if test "${enable_fontdlg+set}" = set; then
9463 enableval="$enable_fontdlg"
9465 if test "$enableval" = yes; then
9466 ac_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
9468 ac_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
9473 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9474 if test "x$LINE" != x ; then
9475 eval "DEFAULT_$LINE"
9480 ac_cv_use_fontdlg='wxUSE_FONTDLG
='$DEFAULT_wxUSE_FONTDLG
9484 eval "$ac_cv_use_fontdlg"
9485 if test "$no_cache" != 1; then
9486 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9489 if test "$wxUSE_FONTDLG" = yes; then
9490 echo "$as_me:$LINENO: result: yes" >&5
9491 echo "${ECHO_T}yes" >&6
9493 echo "$as_me:$LINENO: result: no" >&5
9494 echo "${ECHO_T}no" >&6
9499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9500 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9502 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9503 if test "${enable_dirdlg+set}" = set; then
9504 enableval="$enable_dirdlg"
9506 if test "$enableval" = yes; then
9507 ac_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
9509 ac_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
9514 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9515 if test "x$LINE" != x ; then
9516 eval "DEFAULT_$LINE"
9521 ac_cv_use_dirdlg='wxUSE_DIRDLG
='$DEFAULT_wxUSE_DIRDLG
9525 eval "$ac_cv_use_dirdlg"
9526 if test "$no_cache" != 1; then
9527 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9530 if test "$wxUSE_DIRDLG" = yes; then
9531 echo "$as_me:$LINENO: result: yes" >&5
9532 echo "${ECHO_T}yes" >&6
9534 echo "$as_me:$LINENO: result: no" >&5
9535 echo "${ECHO_T}no" >&6
9540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9543 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9544 if test "${enable_msgdlg+set}" = set; then
9545 enableval="$enable_msgdlg"
9547 if test "$enableval" = yes; then
9548 ac_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
9550 ac_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
9555 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9556 if test "x$LINE" != x ; then
9557 eval "DEFAULT_$LINE"
9562 ac_cv_use_msgdlg='wxUSE_MSGDLG
='$DEFAULT_wxUSE_MSGDLG
9566 eval "$ac_cv_use_msgdlg"
9567 if test "$no_cache" != 1; then
9568 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9571 if test "$wxUSE_MSGDLG" = yes; then
9572 echo "$as_me:$LINENO: result: yes" >&5
9573 echo "${ECHO_T}yes" >&6
9575 echo "$as_me:$LINENO: result: no" >&5
9576 echo "${ECHO_T}no" >&6
9581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9582 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9584 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9585 if test "${enable_numberdlg+set}" = set; then
9586 enableval="$enable_numberdlg"
9588 if test "$enableval" = yes; then
9589 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
9591 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
9596 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9597 if test "x$LINE" != x ; then
9598 eval "DEFAULT_$LINE"
9603 ac_cv_use_numberdlg='wxUSE_NUMBERDLG
='$DEFAULT_wxUSE_NUMBERDLG
9607 eval "$ac_cv_use_numberdlg"
9608 if test "$no_cache" != 1; then
9609 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9612 if test "$wxUSE_NUMBERDLG" = yes; then
9613 echo "$as_me:$LINENO: result: yes" >&5
9614 echo "${ECHO_T}yes" >&6
9616 echo "$as_me:$LINENO: result: no" >&5
9617 echo "${ECHO_T}no" >&6
9622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9625 # Check whether --enable-splash or --disable-splash was given.
9626 if test "${enable_splash+set}" = set; then
9627 enableval="$enable_splash"
9629 if test "$enableval" = yes; then
9630 ac_cv_use_splash='wxUSE_SPLASH
=yes'
9632 ac_cv_use_splash='wxUSE_SPLASH
=no
'
9637 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9638 if test "x$LINE" != x ; then
9639 eval "DEFAULT_$LINE"
9644 ac_cv_use_splash='wxUSE_SPLASH
='$DEFAULT_wxUSE_SPLASH
9648 eval "$ac_cv_use_splash"
9649 if test "$no_cache" != 1; then
9650 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9653 if test "$wxUSE_SPLASH" = yes; then
9654 echo "$as_me:$LINENO: result: yes" >&5
9655 echo "${ECHO_T}yes" >&6
9657 echo "$as_me:$LINENO: result: no" >&5
9658 echo "${ECHO_T}no" >&6
9663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9664 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9666 # Check whether --enable-textdlg or --disable-textdlg was given.
9667 if test "${enable_textdlg+set}" = set; then
9668 enableval="$enable_textdlg"
9670 if test "$enableval" = yes; then
9671 ac_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
9673 ac_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
9678 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9679 if test "x$LINE" != x ; then
9680 eval "DEFAULT_$LINE"
9685 ac_cv_use_textdlg='wxUSE_TEXTDLG
='$DEFAULT_wxUSE_TEXTDLG
9689 eval "$ac_cv_use_textdlg"
9690 if test "$no_cache" != 1; then
9691 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9694 if test "$wxUSE_TEXTDLG" = yes; then
9695 echo "$as_me:$LINENO: result: yes" >&5
9696 echo "${ECHO_T}yes" >&6
9698 echo "$as_me:$LINENO: result: no" >&5
9699 echo "${ECHO_T}no" >&6
9704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9705 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9707 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9708 if test "${enable_tipdlg+set}" = set; then
9709 enableval="$enable_tipdlg"
9711 if test "$enableval" = yes; then
9712 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
9714 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
9719 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9720 if test "x$LINE" != x ; then
9721 eval "DEFAULT_$LINE"
9726 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS
='$DEFAULT_wxUSE_STARTUP_TIPS
9730 eval "$ac_cv_use_tipdlg"
9731 if test "$no_cache" != 1; then
9732 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9735 if test "$wxUSE_STARTUP_TIPS" = yes; then
9736 echo "$as_me:$LINENO: result: yes" >&5
9737 echo "${ECHO_T}yes" >&6
9739 echo "$as_me:$LINENO: result: no" >&5
9740 echo "${ECHO_T}no" >&6
9745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9746 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9748 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9749 if test "${enable_progressdlg+set}" = set; then
9750 enableval="$enable_progressdlg"
9752 if test "$enableval" = yes; then
9753 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
9755 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
9760 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9761 if test "x$LINE" != x ; then
9762 eval "DEFAULT_$LINE"
9767 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG
='$DEFAULT_wxUSE_PROGRESSDLG
9771 eval "$ac_cv_use_progressdlg"
9772 if test "$no_cache" != 1; then
9773 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9776 if test "$wxUSE_PROGRESSDLG" = yes; then
9777 echo "$as_me:$LINENO: result: yes" >&5
9778 echo "${ECHO_T}yes" >&6
9780 echo "$as_me:$LINENO: result: no" >&5
9781 echo "${ECHO_T}no" >&6
9786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9787 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9789 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9790 if test "${enable_wizarddlg+set}" = set; then
9791 enableval="$enable_wizarddlg"
9793 if test "$enableval" = yes; then
9794 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
9796 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
9801 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9802 if test "x$LINE" != x ; then
9803 eval "DEFAULT_$LINE"
9808 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG
='$DEFAULT_wxUSE_WIZARDDLG
9812 eval "$ac_cv_use_wizarddlg"
9813 if test "$no_cache" != 1; then
9814 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9817 if test "$wxUSE_WIZARDDLG" = yes; then
9818 echo "$as_me:$LINENO: result: yes" >&5
9819 echo "${ECHO_T}yes" >&6
9821 echo "$as_me:$LINENO: result: no" >&5
9822 echo "${ECHO_T}no" >&6
9829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9830 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9832 # Check whether --enable-menus or --disable-menus was given.
9833 if test "${enable_menus+set}" = set; then
9834 enableval="$enable_menus"
9836 if test "$enableval" = yes; then
9837 ac_cv_use_menus='wxUSE_MENUS
=yes'
9839 ac_cv_use_menus='wxUSE_MENUS
=no
'
9844 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9845 if test "x$LINE" != x ; then
9846 eval "DEFAULT_$LINE"
9851 ac_cv_use_menus='wxUSE_MENUS
='$DEFAULT_wxUSE_MENUS
9855 eval "$ac_cv_use_menus"
9856 if test "$no_cache" != 1; then
9857 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9860 if test "$wxUSE_MENUS" = yes; then
9861 echo "$as_me:$LINENO: result: yes" >&5
9862 echo "${ECHO_T}yes" >&6
9864 echo "$as_me:$LINENO: result: no" >&5
9865 echo "${ECHO_T}no" >&6
9870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9871 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9873 # Check whether --enable-miniframe or --disable-miniframe was given.
9874 if test "${enable_miniframe+set}" = set; then
9875 enableval="$enable_miniframe"
9877 if test "$enableval" = yes; then
9878 ac_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
9880 ac_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
9885 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9886 if test "x$LINE" != x ; then
9887 eval "DEFAULT_$LINE"
9892 ac_cv_use_miniframe='wxUSE_MINIFRAME
='$DEFAULT_wxUSE_MINIFRAME
9896 eval "$ac_cv_use_miniframe"
9897 if test "$no_cache" != 1; then
9898 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9901 if test "$wxUSE_MINIFRAME" = yes; then
9902 echo "$as_me:$LINENO: result: yes" >&5
9903 echo "${ECHO_T}yes" >&6
9905 echo "$as_me:$LINENO: result: no" >&5
9906 echo "${ECHO_T}no" >&6
9911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9912 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9914 # Check whether --enable-tooltips or --disable-tooltips was given.
9915 if test "${enable_tooltips+set}" = set; then
9916 enableval="$enable_tooltips"
9918 if test "$enableval" = yes; then
9919 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
9921 ac_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
9926 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9927 if test "x$LINE" != x ; then
9928 eval "DEFAULT_$LINE"
9933 ac_cv_use_tooltips='wxUSE_TOOLTIPS
='$DEFAULT_wxUSE_TOOLTIPS
9937 eval "$ac_cv_use_tooltips"
9938 if test "$no_cache" != 1; then
9939 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9942 if test "$wxUSE_TOOLTIPS" = yes; then
9943 echo "$as_me:$LINENO: result: yes" >&5
9944 echo "${ECHO_T}yes" >&6
9946 echo "$as_me:$LINENO: result: no" >&5
9947 echo "${ECHO_T}no" >&6
9952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9953 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9955 # Check whether --enable-splines or --disable-splines was given.
9956 if test "${enable_splines+set}" = set; then
9957 enableval="$enable_splines"
9959 if test "$enableval" = yes; then
9960 ac_cv_use_splines='wxUSE_SPLINES
=yes'
9962 ac_cv_use_splines='wxUSE_SPLINES
=no
'
9967 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9968 if test "x$LINE" != x ; then
9969 eval "DEFAULT_$LINE"
9974 ac_cv_use_splines='wxUSE_SPLINES
='$DEFAULT_wxUSE_SPLINES
9978 eval "$ac_cv_use_splines"
9979 if test "$no_cache" != 1; then
9980 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9983 if test "$wxUSE_SPLINES" = yes; then
9984 echo "$as_me:$LINENO: result: yes" >&5
9985 echo "${ECHO_T}yes" >&6
9987 echo "$as_me:$LINENO: result: no" >&5
9988 echo "${ECHO_T}no" >&6
9993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
9994 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
9996 # Check whether --enable-mousewheel or --disable-mousewheel was given.
9997 if test "${enable_mousewheel+set}" = set; then
9998 enableval="$enable_mousewheel"
10000 if test "$enableval" = yes; then
10001 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
10003 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
10008 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10009 if test "x$LINE" != x ; then
10010 eval "DEFAULT_$LINE"
10015 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL
='$DEFAULT_wxUSE_MOUSEWHEEL
10019 eval "$ac_cv_use_mousewheel"
10020 if test "$no_cache" != 1; then
10021 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10024 if test "$wxUSE_MOUSEWHEEL" = yes; then
10025 echo "$as_me:$LINENO: result: yes" >&5
10026 echo "${ECHO_T}yes" >&6
10028 echo "$as_me:$LINENO: result: no" >&5
10029 echo "${ECHO_T}no" >&6
10034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10035 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10037 # Check whether --enable-validators or --disable-validators was given.
10038 if test "${enable_validators+set}" = set; then
10039 enableval="$enable_validators"
10041 if test "$enableval" = yes; then
10042 ac_cv_use_validators='wxUSE_VALIDATORS
=yes'
10044 ac_cv_use_validators='wxUSE_VALIDATORS
=no
'
10049 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10050 if test "x$LINE" != x ; then
10051 eval "DEFAULT_$LINE"
10056 ac_cv_use_validators='wxUSE_VALIDATORS
='$DEFAULT_wxUSE_VALIDATORS
10060 eval "$ac_cv_use_validators"
10061 if test "$no_cache" != 1; then
10062 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10065 if test "$wxUSE_VALIDATORS" = yes; then
10066 echo "$as_me:$LINENO: result: yes" >&5
10067 echo "${ECHO_T}yes" >&6
10069 echo "$as_me:$LINENO: result: no" >&5
10070 echo "${ECHO_T}no" >&6
10075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10076 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10078 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10079 if test "${enable_busyinfo+set}" = set; then
10080 enableval="$enable_busyinfo"
10082 if test "$enableval" = yes; then
10083 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
10085 ac_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
10090 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10091 if test "x$LINE" != x ; then
10092 eval "DEFAULT_$LINE"
10097 ac_cv_use_busyinfo='wxUSE_BUSYINFO
='$DEFAULT_wxUSE_BUSYINFO
10101 eval "$ac_cv_use_busyinfo"
10102 if test "$no_cache" != 1; then
10103 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10106 if test "$wxUSE_BUSYINFO" = yes; then
10107 echo "$as_me:$LINENO: result: yes" >&5
10108 echo "${ECHO_T}yes" >&6
10110 echo "$as_me:$LINENO: result: no" >&5
10111 echo "${ECHO_T}no" >&6
10116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10117 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10119 # Check whether --enable-joystick or --disable-joystick was given.
10120 if test "${enable_joystick+set}" = set; then
10121 enableval="$enable_joystick"
10123 if test "$enableval" = yes; then
10124 ac_cv_use_joystick='wxUSE_JOYSTICK
=yes'
10126 ac_cv_use_joystick='wxUSE_JOYSTICK
=no
'
10131 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10132 if test "x$LINE" != x ; then
10133 eval "DEFAULT_$LINE"
10138 ac_cv_use_joystick='wxUSE_JOYSTICK
='$DEFAULT_wxUSE_JOYSTICK
10142 eval "$ac_cv_use_joystick"
10143 if test "$no_cache" != 1; then
10144 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10147 if test "$wxUSE_JOYSTICK" = yes; then
10148 echo "$as_me:$LINENO: result: yes" >&5
10149 echo "${ECHO_T}yes" >&6
10151 echo "$as_me:$LINENO: result: no" >&5
10152 echo "${ECHO_T}no" >&6
10157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10158 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10160 # Check whether --enable-metafile or --disable-metafile was given.
10161 if test "${enable_metafile+set}" = set; then
10162 enableval="$enable_metafile"
10164 if test "$enableval" = yes; then
10165 ac_cv_use_metafile='wxUSE_METAFILE
=yes'
10167 ac_cv_use_metafile='wxUSE_METAFILE
=no
'
10172 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10173 if test "x$LINE" != x ; then
10174 eval "DEFAULT_$LINE"
10179 ac_cv_use_metafile='wxUSE_METAFILE
='$DEFAULT_wxUSE_METAFILE
10183 eval "$ac_cv_use_metafile"
10184 if test "$no_cache" != 1; then
10185 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10188 if test "$wxUSE_METAFILE" = yes; then
10189 echo "$as_me:$LINENO: result: yes" >&5
10190 echo "${ECHO_T}yes" >&6
10192 echo "$as_me:$LINENO: result: no" >&5
10193 echo "${ECHO_T}no" >&6
10198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10199 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10201 # Check whether --enable-dragimage or --disable-dragimage was given.
10202 if test "${enable_dragimage+set}" = set; then
10203 enableval="$enable_dragimage"
10205 if test "$enableval" = yes; then
10206 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
10208 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
10213 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10214 if test "x$LINE" != x ; then
10215 eval "DEFAULT_$LINE"
10220 ac_cv_use_dragimage='wxUSE_DRAGIMAGE
='$DEFAULT_wxUSE_DRAGIMAGE
10224 eval "$ac_cv_use_dragimage"
10225 if test "$no_cache" != 1; then
10226 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10229 if test "$wxUSE_DRAGIMAGE" = yes; then
10230 echo "$as_me:$LINENO: result: yes" >&5
10231 echo "${ECHO_T}yes" >&6
10233 echo "$as_me:$LINENO: result: no" >&5
10234 echo "${ECHO_T}no" >&6
10239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10242 # Check whether --enable-accessibility or --disable-accessibility was given.
10243 if test "${enable_accessibility+set}" = set; then
10244 enableval="$enable_accessibility"
10246 if test "$enableval" = yes; then
10247 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
10249 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
10254 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10255 if test "x$LINE" != x ; then
10256 eval "DEFAULT_$LINE"
10261 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY
='$DEFAULT_wxUSE_ACCESSIBILITY
10265 eval "$ac_cv_use_accessibility"
10266 if test "$no_cache" != 1; then
10267 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10270 if test "$wxUSE_ACCESSIBILITY" = yes; then
10271 echo "$as_me:$LINENO: result: yes" >&5
10272 echo "${ECHO_T}yes" >&6
10274 echo "$as_me:$LINENO: result: no" >&5
10275 echo "${ECHO_T}no" >&6
10279 if test "$wxUSE_MSW" = "1"; then
10282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10283 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10285 # Check whether --enable-dccache or --disable-dccache was given.
10286 if test "${enable_dccache+set}" = set; then
10287 enableval="$enable_dccache"
10289 if test "$enableval" = yes; then
10290 ac_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
10292 ac_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
10297 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10298 if test "x$LINE" != x ; then
10299 eval "DEFAULT_$LINE"
10304 ac_cv_use_dccache='wxUSE_DC_CACHEING
='$DEFAULT_wxUSE_DC_CACHEING
10308 eval "$ac_cv_use_dccache"
10309 if test "$no_cache" != 1; then
10310 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10313 if test "$wxUSE_DC_CACHEING" = yes; then
10314 echo "$as_me:$LINENO: result: yes" >&5
10315 echo "${ECHO_T}yes" >&6
10317 echo "$as_me:$LINENO: result: no" >&5
10318 echo "${ECHO_T}no" >&6
10326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10327 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10329 # Check whether --enable-palette or --disable-palette was given.
10330 if test "${enable_palette+set}" = set; then
10331 enableval="$enable_palette"
10333 if test "$enableval" = yes; then
10334 ac_cv_use_palette='wxUSE_PALETTE
=yes'
10336 ac_cv_use_palette='wxUSE_PALETTE
=no
'
10341 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10342 if test "x$LINE" != x ; then
10343 eval "DEFAULT_$LINE"
10348 ac_cv_use_palette='wxUSE_PALETTE
='$DEFAULT_wxUSE_PALETTE
10352 eval "$ac_cv_use_palette"
10353 if test "$no_cache" != 1; then
10354 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10357 if test "$wxUSE_PALETTE" = yes; then
10358 echo "$as_me:$LINENO: result: yes" >&5
10359 echo "${ECHO_T}yes" >&6
10361 echo "$as_me:$LINENO: result: no" >&5
10362 echo "${ECHO_T}no" >&6
10367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10368 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10370 # Check whether --enable-image or --disable-image was given.
10371 if test "${enable_image+set}" = set; then
10372 enableval="$enable_image"
10374 if test "$enableval" = yes; then
10375 ac_cv_use_image='wxUSE_IMAGE
=yes'
10377 ac_cv_use_image='wxUSE_IMAGE
=no
'
10382 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10383 if test "x$LINE" != x ; then
10384 eval "DEFAULT_$LINE"
10389 ac_cv_use_image='wxUSE_IMAGE
='$DEFAULT_wxUSE_IMAGE
10393 eval "$ac_cv_use_image"
10394 if test "$no_cache" != 1; then
10395 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10398 if test "$wxUSE_IMAGE" = yes; then
10399 echo "$as_me:$LINENO: result: yes" >&5
10400 echo "${ECHO_T}yes" >&6
10402 echo "$as_me:$LINENO: result: no" >&5
10403 echo "${ECHO_T}no" >&6
10408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10409 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10411 # Check whether --enable-gif or --disable-gif was given.
10412 if test "${enable_gif+set}" = set; then
10413 enableval="$enable_gif"
10415 if test "$enableval" = yes; then
10416 ac_cv_use_gif='wxUSE_GIF
=yes'
10418 ac_cv_use_gif='wxUSE_GIF
=no
'
10423 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10424 if test "x$LINE" != x ; then
10425 eval "DEFAULT_$LINE"
10430 ac_cv_use_gif='wxUSE_GIF
='$DEFAULT_wxUSE_GIF
10434 eval "$ac_cv_use_gif"
10435 if test "$no_cache" != 1; then
10436 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10439 if test "$wxUSE_GIF" = yes; then
10440 echo "$as_me:$LINENO: result: yes" >&5
10441 echo "${ECHO_T}yes" >&6
10443 echo "$as_me:$LINENO: result: no" >&5
10444 echo "${ECHO_T}no" >&6
10449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10450 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10452 # Check whether --enable-pcx or --disable-pcx was given.
10453 if test "${enable_pcx+set}" = set; then
10454 enableval="$enable_pcx"
10456 if test "$enableval" = yes; then
10457 ac_cv_use_pcx='wxUSE_PCX
=yes'
10459 ac_cv_use_pcx='wxUSE_PCX
=no
'
10464 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10465 if test "x$LINE" != x ; then
10466 eval "DEFAULT_$LINE"
10471 ac_cv_use_pcx='wxUSE_PCX
='$DEFAULT_wxUSE_PCX
10475 eval "$ac_cv_use_pcx"
10476 if test "$no_cache" != 1; then
10477 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10480 if test "$wxUSE_PCX" = yes; then
10481 echo "$as_me:$LINENO: result: yes" >&5
10482 echo "${ECHO_T}yes" >&6
10484 echo "$as_me:$LINENO: result: no" >&5
10485 echo "${ECHO_T}no" >&6
10490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10491 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10493 # Check whether --enable-iff or --disable-iff was given.
10494 if test "${enable_iff+set}" = set; then
10495 enableval="$enable_iff"
10497 if test "$enableval" = yes; then
10498 ac_cv_use_iff='wxUSE_IFF
=yes'
10500 ac_cv_use_iff='wxUSE_IFF
=no
'
10505 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10506 if test "x$LINE" != x ; then
10507 eval "DEFAULT_$LINE"
10512 ac_cv_use_iff='wxUSE_IFF
='$DEFAULT_wxUSE_IFF
10516 eval "$ac_cv_use_iff"
10517 if test "$no_cache" != 1; then
10518 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10521 if test "$wxUSE_IFF" = yes; then
10522 echo "$as_me:$LINENO: result: yes" >&5
10523 echo "${ECHO_T}yes" >&6
10525 echo "$as_me:$LINENO: result: no" >&5
10526 echo "${ECHO_T}no" >&6
10531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10532 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10534 # Check whether --enable-pnm or --disable-pnm was given.
10535 if test "${enable_pnm+set}" = set; then
10536 enableval="$enable_pnm"
10538 if test "$enableval" = yes; then
10539 ac_cv_use_pnm='wxUSE_PNM
=yes'
10541 ac_cv_use_pnm='wxUSE_PNM
=no
'
10546 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10547 if test "x$LINE" != x ; then
10548 eval "DEFAULT_$LINE"
10553 ac_cv_use_pnm='wxUSE_PNM
='$DEFAULT_wxUSE_PNM
10557 eval "$ac_cv_use_pnm"
10558 if test "$no_cache" != 1; then
10559 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10562 if test "$wxUSE_PNM" = yes; then
10563 echo "$as_me:$LINENO: result: yes" >&5
10564 echo "${ECHO_T}yes" >&6
10566 echo "$as_me:$LINENO: result: no" >&5
10567 echo "${ECHO_T}no" >&6
10572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10573 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10575 # Check whether --enable-xpm or --disable-xpm was given.
10576 if test "${enable_xpm+set}" = set; then
10577 enableval="$enable_xpm"
10579 if test "$enableval" = yes; then
10580 ac_cv_use_xpm='wxUSE_XPM
=yes'
10582 ac_cv_use_xpm='wxUSE_XPM
=no
'
10587 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10588 if test "x$LINE" != x ; then
10589 eval "DEFAULT_$LINE"
10594 ac_cv_use_xpm='wxUSE_XPM
='$DEFAULT_wxUSE_XPM
10598 eval "$ac_cv_use_xpm"
10599 if test "$no_cache" != 1; then
10600 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10603 if test "$wxUSE_XPM" = yes; then
10604 echo "$as_me:$LINENO: result: yes" >&5
10605 echo "${ECHO_T}yes" >&6
10607 echo "$as_me:$LINENO: result: no" >&5
10608 echo "${ECHO_T}no" >&6
10613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10614 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10616 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10617 if test "${enable_ico_cur+set}" = set; then
10618 enableval="$enable_ico_cur"
10620 if test "$enableval" = yes; then
10621 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
10623 ac_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
10628 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10629 if test "x$LINE" != x ; then
10630 eval "DEFAULT_$LINE"
10635 ac_cv_use_ico_cur='wxUSE_ICO_CUR
='$DEFAULT_wxUSE_ICO_CUR
10639 eval "$ac_cv_use_ico_cur"
10640 if test "$no_cache" != 1; then
10641 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10644 if test "$wxUSE_ICO_CUR" = yes; then
10645 echo "$as_me:$LINENO: result: yes" >&5
10646 echo "${ECHO_T}yes" >&6
10648 echo "$as_me:$LINENO: result: no" >&5
10649 echo "${ECHO_T}no" >&6
10657 # Check whether --with-flavour or --without-flavour was given.
10658 if test "${with_flavour+set}" = set; then
10659 withval="$with_flavour"
10660 WX_FLAVOUR="$withval"
10666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10667 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10669 # Check whether --enable-official_build or --disable-official_build was given.
10670 if test "${enable_official_build+set}" = set; then
10671 enableval="$enable_official_build"
10673 if test "$enableval" = yes; then
10674 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
10676 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
10681 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10682 if test "x$LINE" != x ; then
10683 eval "DEFAULT_$LINE"
10688 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD
='$DEFAULT_wxUSE_OFFICIAL_BUILD
10692 eval "$ac_cv_use_official_build"
10693 if test "$no_cache" != 1; then
10694 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10697 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10698 echo "$as_me:$LINENO: result: yes" >&5
10699 echo "${ECHO_T}yes" >&6
10701 echo "$as_me:$LINENO: result: no" >&5
10702 echo "${ECHO_T}no" >&6
10705 # Check whether --enable-vendor or --disable-vendor was given.
10706 if test "${enable_vendor+set}" = set; then
10707 enableval="$enable_vendor"
10708 VENDOR="$enableval"
10710 if test "x$VENDOR" = "x"; then
10717 echo "saving argument cache $wx_arg_cache_file"
10718 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10722 echo "$as_me:$LINENO: checking for toolkit" >&5
10723 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10725 # In Wine, we need to default to MSW, not GTK or MOTIF
10726 if test "$wxUSE_WINE" = "yes"; then
10727 DEFAULT_DEFAULT_wxUSE_GTK=0
10728 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10729 DEFAULT_DEFAULT_wxUSE_MSW=1
10734 if test "$wxUSE_GUI" = "yes"; then
10736 if test "$USE_BEOS" = 1; then
10737 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10738 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10739 { (exit 1); exit 1; }; }
10742 if test "$TOOLKIT_GIVEN" = 1; then
10743 for toolkit in `echo $ALL_TOOLKITS`; do
10745 eval "value=\$${var}"
10746 if test "x$value" = "xno"; then
10748 elif test "x$value" != "x"; then
10752 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10753 eval "wx${toolkit}_VERSION=$value"
10757 for toolkit in `echo $ALL_TOOLKITS`; do
10758 if test "$has_toolkit_in_cache" != 1; then
10759 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10761 var=DEFAULT_wxUSE_$toolkit
10763 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10764 if test "x$version" != "x"; then
10765 eval "wx${toolkit}_VERSION=$version"
10768 eval "wxUSE_$toolkit=\$${var}"
10772 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10773 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10774 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10777 *-pc-os2_emx | *-pc-os2-emx )
10778 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10781 case "$NUM_TOOLKITS" in
10785 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10786 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10787 { (exit 1); exit 1; }; }
10790 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10791 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10792 { (exit 1); exit 1; }; }
10795 # to be removed when --disable-gtk2 isn't needed
10796 if test "x$wxUSE_GTK2" = "xyes"; then
10798 elif test "x$wxUSE_GTK2" = "xno"; then
10802 for toolkit
in `echo $ALL_TOOLKITS`; do
10804 eval "value=\$${var}"
10805 if test "x$value" != x
; then
10806 cache_var
=CACHE_
$toolkit
10807 eval "cache=\$${cache_var}"
10808 if test "$cache" = 1; then
10809 echo "$var=$value" >> ${wx_arg_cache_file}
10810 eval "version=\$wx${toolkit}_VERSION"
10811 if test "x$version" != "x"; then
10812 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10815 if test "$value" = 1; then
10816 toolkit_echo
=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10817 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10818 echo "${ECHO_T}$toolkit_echo" >&6
10823 if test "x$host_alias" != "x"; then
10824 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10825 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10827 echo "$as_me:$LINENO: result: base only" >&5
10828 echo "${ECHO_T}base only" >&6
10833 doesnt_want_win32
=0
10836 if test "$wxUSE_MSW" = 1 ; then
10838 BAKEFILE_FORCE_PLATFORM
=win32
10840 doesnt_want_win32
=1
10848 if test "$wxUSE_WINE" = "yes"; then
10852 LDFLAGS_GUI
="-mwindows"
10855 if test "$wants_win32" = 1 ; then
10858 cat >>confdefs.h
<<\_ACEOF
10859 #define __WIN32__ 1
10862 cat >>confdefs.h
<<\_ACEOF
10863 #define __WIN95__ 1
10866 cat >>confdefs.h
<<\_ACEOF
10867 #define __WINDOWS__ 1
10870 cat >>confdefs.h
<<\_ACEOF
10871 #define __GNUWIN32__ 1
10874 cat >>confdefs.h
<<\_ACEOF
10878 cat >>confdefs.h
<<\_ACEOF
10879 #define WINVER 0x0400
10883 if test "$doesnt_want_win32" = 1 ; then
10888 if test "$USE_UNIX" = 1 ; then
10890 cat >>confdefs.h
<<\_ACEOF
10897 cat >confcache
<<\_ACEOF
10898 # This file is a shell script that caches the results of configure
10899 # tests run on this system so they can be shared between configure
10900 # scripts and configure runs, see configure's option --config-cache.
10901 # It is not useful on other systems. If it contains results you don't
10902 # want to keep, you may remove or edit it.
10904 # config.status only pays attention to the cache file if you give it
10905 # the --recheck option to rerun configure.
10907 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10908 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10909 # following values.
10913 # The following way of writing the cache mishandles newlines in values,
10914 # but we know of no workaround that is simple, portable, and efficient.
10915 # So, don't put newlines in cache variables' values.
10916 # Ultrix sh set writes to stderr and can't be redirected directly,
10917 # and sets the high bit in the cache file unless we assign to the vars.
10920 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10922 # `set' does not quote correctly, so add quotes (double-quote
10923 # substitution turns \\\\ into \\, and sed turns \\ into \).
10926 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10929 # `set' quotes correctly as required by POSIX, so do not add quotes.
10931 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10938 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10940 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10942 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10943 if test -w $cache_file; then
10944 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10945 cat confcache
>$cache_file
10947 echo "not updating unwritable cache $cache_file"
10957 ac_cpp
='$CPP $CPPFLAGS'
10958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10961 if test -n "$ac_tool_prefix"; then
10962 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10963 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10964 echo "$as_me:$LINENO: checking for $ac_word" >&5
10965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10966 if test "${ac_cv_prog_CC+set}" = set; then
10967 echo $ECHO_N "(cached) $ECHO_C" >&6
10969 if test -n "$CC"; then
10970 ac_cv_prog_CC
="$CC" # Let the user override the test.
10972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10973 for as_dir
in $PATH
10976 test -z "$as_dir" && as_dir
=.
10977 for ac_exec_ext
in '' $ac_executable_extensions; do
10978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10979 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10989 if test -n "$CC"; then
10990 echo "$as_me:$LINENO: result: $CC" >&5
10991 echo "${ECHO_T}$CC" >&6
10993 echo "$as_me:$LINENO: result: no" >&5
10994 echo "${ECHO_T}no" >&6
10998 if test -z "$ac_cv_prog_CC"; then
11000 # Extract the first word of "gcc", so it can be a program name with args.
11001 set dummy gcc
; ac_word
=$2
11002 echo "$as_me:$LINENO: checking for $ac_word" >&5
11003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11004 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11005 echo $ECHO_N "(cached) $ECHO_C" >&6
11007 if test -n "$ac_ct_CC"; then
11008 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11011 for as_dir
in $PATH
11014 test -z "$as_dir" && as_dir
=.
11015 for ac_exec_ext
in '' $ac_executable_extensions; do
11016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11017 ac_cv_prog_ac_ct_CC
="gcc"
11018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11026 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11027 if test -n "$ac_ct_CC"; then
11028 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11029 echo "${ECHO_T}$ac_ct_CC" >&6
11031 echo "$as_me:$LINENO: result: no" >&5
11032 echo "${ECHO_T}no" >&6
11037 CC
="$ac_cv_prog_CC"
11040 if test -z "$CC"; then
11041 if test -n "$ac_tool_prefix"; then
11042 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11043 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
11044 echo "$as_me:$LINENO: checking for $ac_word" >&5
11045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11046 if test "${ac_cv_prog_CC+set}" = set; then
11047 echo $ECHO_N "(cached) $ECHO_C" >&6
11049 if test -n "$CC"; then
11050 ac_cv_prog_CC
="$CC" # Let the user override the test.
11052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11053 for as_dir
in $PATH
11056 test -z "$as_dir" && as_dir
=.
11057 for ac_exec_ext
in '' $ac_executable_extensions; do
11058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11059 ac_cv_prog_CC
="${ac_tool_prefix}cc"
11060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11069 if test -n "$CC"; then
11070 echo "$as_me:$LINENO: result: $CC" >&5
11071 echo "${ECHO_T}$CC" >&6
11073 echo "$as_me:$LINENO: result: no" >&5
11074 echo "${ECHO_T}no" >&6
11078 if test -z "$ac_cv_prog_CC"; then
11080 # Extract the first word of "cc", so it can be a program name with args.
11081 set dummy cc
; ac_word
=$2
11082 echo "$as_me:$LINENO: checking for $ac_word" >&5
11083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11084 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11085 echo $ECHO_N "(cached) $ECHO_C" >&6
11087 if test -n "$ac_ct_CC"; then
11088 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11091 for as_dir
in $PATH
11094 test -z "$as_dir" && as_dir
=.
11095 for ac_exec_ext
in '' $ac_executable_extensions; do
11096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11097 ac_cv_prog_ac_ct_CC
="cc"
11098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11106 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11107 if test -n "$ac_ct_CC"; then
11108 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11109 echo "${ECHO_T}$ac_ct_CC" >&6
11111 echo "$as_me:$LINENO: result: no" >&5
11112 echo "${ECHO_T}no" >&6
11117 CC
="$ac_cv_prog_CC"
11121 if test -z "$CC"; then
11122 # Extract the first word of "cc", so it can be a program name with args.
11123 set dummy cc
; ac_word
=$2
11124 echo "$as_me:$LINENO: checking for $ac_word" >&5
11125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11126 if test "${ac_cv_prog_CC+set}" = set; then
11127 echo $ECHO_N "(cached) $ECHO_C" >&6
11129 if test -n "$CC"; then
11130 ac_cv_prog_CC
="$CC" # Let the user override the test.
11132 ac_prog_rejected
=no
11133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11134 for as_dir
in $PATH
11137 test -z "$as_dir" && as_dir
=.
11138 for ac_exec_ext
in '' $ac_executable_extensions; do
11139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11140 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11141 ac_prog_rejected
=yes
11145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11151 if test $ac_prog_rejected = yes; then
11152 # We found a bogon in the path, so make sure we never use it.
11153 set dummy
$ac_cv_prog_CC
11155 if test $# != 0; then
11156 # We chose a different compiler from the bogus one.
11157 # However, it has the same basename, so the bogon will be chosen
11158 # first if we set CC to just the basename; use the full file name.
11160 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
11166 if test -n "$CC"; then
11167 echo "$as_me:$LINENO: result: $CC" >&5
11168 echo "${ECHO_T}$CC" >&6
11170 echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6
11175 if test -z "$CC"; then
11176 if test -n "$ac_tool_prefix"; then
11179 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11180 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11181 echo "$as_me:$LINENO: checking for $ac_word" >&5
11182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11183 if test "${ac_cv_prog_CC+set}" = set; then
11184 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 if test -n "$CC"; then
11187 ac_cv_prog_CC
="$CC" # Let the user override the test.
11189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11190 for as_dir
in $PATH
11193 test -z "$as_dir" && as_dir
=.
11194 for ac_exec_ext
in '' $ac_executable_extensions; do
11195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11196 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
11197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11206 if test -n "$CC"; then
11207 echo "$as_me:$LINENO: result: $CC" >&5
11208 echo "${ECHO_T}$CC" >&6
11210 echo "$as_me:$LINENO: result: no" >&5
11211 echo "${ECHO_T}no" >&6
11214 test -n "$CC" && break
11217 if test -z "$CC"; then
11221 # Extract the first word of "$ac_prog", so it can be a program name with args.
11222 set dummy
$ac_prog; ac_word
=$2
11223 echo "$as_me:$LINENO: checking for $ac_word" >&5
11224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11226 echo $ECHO_N "(cached) $ECHO_C" >&6
11228 if test -n "$ac_ct_CC"; then
11229 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
11231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11232 for as_dir
in $PATH
11235 test -z "$as_dir" && as_dir
=.
11236 for ac_exec_ext
in '' $ac_executable_extensions; do
11237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11238 ac_cv_prog_ac_ct_CC
="$ac_prog"
11239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11247 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
11248 if test -n "$ac_ct_CC"; then
11249 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11250 echo "${ECHO_T}$ac_ct_CC" >&6
11252 echo "$as_me:$LINENO: result: no" >&5
11253 echo "${ECHO_T}no" >&6
11256 test -n "$ac_ct_CC" && break
11265 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11266 See \`config.log' for more details." >&5
11267 echo "$as_me: error: no acceptable C compiler found in \$PATH
11268 See \`config.log' for more details." >&2;}
11269 { (exit 1); exit 1; }; }
11271 # Provide some information about the compiler.
11272 echo "$as_me:$LINENO:" \
11273 "checking for C compiler version" >&5
11274 ac_compiler
=`set X $ac_compile; echo $2`
11275 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11276 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); }
11280 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11281 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); }
11285 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11286 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }
11291 cat >conftest.
$ac_ext <<_ACEOF
11294 cat confdefs.h
>>conftest.
$ac_ext
11295 cat >>conftest.
$ac_ext <<_ACEOF
11296 /* end confdefs.h. */
11306 ac_clean_files_save
=$ac_clean_files
11307 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
11308 # Try to create an executable without -o first, disregard a.out.
11309 # It will help us diagnose broken compilers, and finding out an intuition
11311 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11312 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11313 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11314 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11315 (eval $ac_link_default) 2>&5
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); }; then
11319 # Find the output, starting from the most likely. This scheme is
11320 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11323 # Be careful to initialize this variable, since it used to be cached.
11324 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11326 # b.out is created by i960 compilers.
11327 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
11329 test -f "$ac_file" || continue
11331 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
)
11334 # This is the source file.
11337 # We found the default executable, but exeext='' is most
11341 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11342 # FIXME: I believe we export ac_cv_exeext for Libtool,
11343 # but it would be cool to find out if it's true. Does anybody
11344 # maintain Libtool? --akim.
11345 export ac_cv_exeext
11352 echo "$as_me: failed program was:" >&5
11353 sed 's/^/| /' conftest.
$ac_ext >&5
11355 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11356 See \`config.log' for more details." >&5
11357 echo "$as_me: error: C compiler cannot create executables
11358 See \`config.log' for more details." >&2;}
11359 { (exit 77); exit 77; }; }
11362 ac_exeext
=$ac_cv_exeext
11363 echo "$as_me:$LINENO: result: $ac_file" >&5
11364 echo "${ECHO_T}$ac_file" >&6
11366 # Check the compiler produces executables we can run. If not, either
11367 # the compiler is broken, or we cross compile.
11368 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11369 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11370 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11371 # If not cross compiling, check that we can run a simple program.
11372 if test "$cross_compiling" != yes; then
11373 if { ac_try
='./$ac_file'
11374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11375 (eval $ac_try) 2>&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); }; }; then
11381 if test "$cross_compiling" = maybe
; then
11382 cross_compiling
=yes
11384 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11385 If you meant to cross compile, use \`--host'.
11386 See \`config.log' for more details." >&5
11387 echo "$as_me: error: cannot run C compiled programs.
11388 If you meant to cross compile, use \`--host'.
11389 See \`config.log' for more details." >&2;}
11390 { (exit 1); exit 1; }; }
11394 echo "$as_me:$LINENO: result: yes" >&5
11395 echo "${ECHO_T}yes" >&6
11397 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
11398 ac_clean_files
=$ac_clean_files_save
11399 # Check the compiler produces executables we can run. If not, either
11400 # the compiler is broken, or we cross compile.
11401 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11402 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11403 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11404 echo "${ECHO_T}$cross_compiling" >&6
11406 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11407 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11409 (eval $ac_link) 2>&5
11411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); }; then
11413 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11414 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11415 # work properly (i.e., refer to `conftest.exe'), while it won't with
11417 for ac_file
in conftest.exe conftest conftest.
*; do
11418 test -f "$ac_file" || continue
11420 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.o
| *.obj
) ;;
11421 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
11422 export ac_cv_exeext
11428 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11429 See \`config.log' for more details." >&5
11430 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11431 See \`config.log' for more details." >&2;}
11432 { (exit 1); exit 1; }; }
11435 rm -f conftest
$ac_cv_exeext
11436 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11437 echo "${ECHO_T}$ac_cv_exeext" >&6
11439 rm -f conftest.
$ac_ext
11440 EXEEXT
=$ac_cv_exeext
11442 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11443 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11444 if test "${ac_cv_objext+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11447 cat >conftest.
$ac_ext <<_ACEOF
11450 cat confdefs.h
>>conftest.
$ac_ext
11451 cat >>conftest.
$ac_ext <<_ACEOF
11452 /* end confdefs.h. */
11462 rm -f conftest.o conftest.obj
11463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11464 (eval $ac_compile) 2>&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); }; then
11468 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11470 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
) ;;
11471 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
11476 echo "$as_me: failed program was:" >&5
11477 sed 's/^/| /' conftest.
$ac_ext >&5
11479 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11480 See \`config.log' for more details." >&5
11481 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11482 See \`config.log' for more details." >&2;}
11483 { (exit 1); exit 1; }; }
11486 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
11488 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11489 echo "${ECHO_T}$ac_cv_objext" >&6
11490 OBJEXT
=$ac_cv_objext
11492 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11493 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11494 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 cat >conftest.
$ac_ext <<_ACEOF
11500 cat confdefs.h
>>conftest.
$ac_ext
11501 cat >>conftest.
$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11515 rm -f conftest.
$ac_objext
11516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11517 (eval $ac_compile) 2>conftest.er1
11519 grep -v '^ *+' conftest.er1
>conftest.err
11521 cat conftest.err
>&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); } &&
11524 { ac_try
='test -z "$ac_c_werror_flag"
11525 || test ! -s conftest.err'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; } &&
11531 { ac_try
='test -s conftest.$ac_objext'
11532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11533 (eval $ac_try) 2>&5
11535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536 (exit $ac_status); }; }; then
11537 ac_compiler_gnu
=yes
11539 echo "$as_me: failed program was:" >&5
11540 sed 's/^/| /' conftest.
$ac_ext >&5
11544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11545 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
11548 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11549 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11550 GCC
=`test $ac_compiler_gnu = yes && echo yes`
11551 ac_test_CFLAGS
=${CFLAGS+set}
11552 ac_save_CFLAGS
=$CFLAGS
11554 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11555 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11556 if test "${ac_cv_prog_cc_g+set}" = set; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11559 cat >conftest.
$ac_ext <<_ACEOF
11562 cat confdefs.h
>>conftest.
$ac_ext
11563 cat >>conftest.
$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11574 rm -f conftest.
$ac_objext
11575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11576 (eval $ac_compile) 2>conftest.er1
11578 grep -v '^ *+' conftest.er1
>conftest.err
11580 cat conftest.err
>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); } &&
11583 { ac_try
='test -z "$ac_c_werror_flag"
11584 || test ! -s conftest.err'
11585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11586 (eval $ac_try) 2>&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); }; } &&
11590 { ac_try
='test -s conftest.$ac_objext'
11591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11592 (eval $ac_try) 2>&5
11594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595 (exit $ac_status); }; }; then
11596 ac_cv_prog_cc_g
=yes
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.
$ac_ext >&5
11603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11605 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11606 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11607 if test "$ac_test_CFLAGS" = set; then
11608 CFLAGS
=$ac_save_CFLAGS
11609 elif test $ac_cv_prog_cc_g = yes; then
11610 if test "$GCC" = yes; then
11616 if test "$GCC" = yes; then
11622 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11623 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11624 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11625 echo $ECHO_N "(cached) $ECHO_C" >&6
11627 ac_cv_prog_cc_stdc
=no
11629 cat >conftest.
$ac_ext <<_ACEOF
11632 cat confdefs.h
>>conftest.
$ac_ext
11633 cat >>conftest.
$ac_ext <<_ACEOF
11634 /* end confdefs.h. */
11635 #include <stdarg.h>
11637 #include <sys/types.h>
11638 #include <sys/stat.h>
11639 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11640 struct buf { int x; };
11641 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11642 static char *e (p, i)
11648 static char *f (char * (*g) (char **, int), char **p, ...)
11653 s = g (p, va_arg (v,int));
11658 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11659 function prototypes and stuff, but not '\xHH' hex character constants.
11660 These don't provoke an error unfortunately, instead are silently treated
11661 as 'x'. The following induces an error, until -std1 is added to get
11662 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11663 array size at least. It's necessary to write '\x00'==0 to get something
11664 that's true only with -std1. */
11665 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11667 int test (int i, double x);
11668 struct s1 {int (*f) (int a);};
11669 struct s2 {int (*f) (double a);};
11670 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11676 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11681 # Don't try gcc -ansi; that turns off useful extensions and
11682 # breaks some systems' header files.
11683 # AIX -qlanglvl=ansi
11684 # Ultrix and OSF/1 -std1
11685 # HP-UX 10.20 and later -Ae
11686 # HP-UX older versions -Aa -D_HPUX_SOURCE
11687 # SVR4 -Xc -D__EXTENSIONS__
11688 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11690 CC
="$ac_save_CC $ac_arg"
11691 rm -f conftest.
$ac_objext
11692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11693 (eval $ac_compile) 2>conftest.er1
11695 grep -v '^ *+' conftest.er1
>conftest.err
11697 cat conftest.err
>&5
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); } &&
11700 { ac_try
='test -z "$ac_c_werror_flag"
11701 || test ! -s conftest.err'
11702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11703 (eval $ac_try) 2>&5
11705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706 (exit $ac_status); }; } &&
11707 { ac_try
='test -s conftest.$ac_objext'
11708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11709 (eval $ac_try) 2>&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); }; }; then
11713 ac_cv_prog_cc_stdc
=$ac_arg
11716 echo "$as_me: failed program was:" >&5
11717 sed 's/^/| /' conftest.
$ac_ext >&5
11720 rm -f conftest.err conftest.
$ac_objext
11722 rm -f conftest.
$ac_ext conftest.
$ac_objext
11727 case "x$ac_cv_prog_cc_stdc" in
11729 echo "$as_me:$LINENO: result: none needed" >&5
11730 echo "${ECHO_T}none needed" >&6 ;;
11732 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11733 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11734 CC
="$CC $ac_cv_prog_cc_stdc" ;;
11737 # Some people use a C++ compiler to compile C. Since we use `exit',
11738 # in C++ we need to declare it. In case someone uses the same compiler
11739 # for both compiling C and C++ we need to have the C++ compiler decide
11740 # the declaration of exit, since it's the most demanding environment.
11741 cat >conftest.
$ac_ext <<_ACEOF
11742 #ifndef __cplusplus
11746 rm -f conftest.
$ac_objext
11747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11748 (eval $ac_compile) 2>conftest.er1
11750 grep -v '^ *+' conftest.er1
>conftest.err
11752 cat conftest.err
>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } &&
11755 { ac_try
='test -z "$ac_c_werror_flag"
11756 || test ! -s conftest.err'
11757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11758 (eval $ac_try) 2>&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); }; } &&
11762 { ac_try
='test -s conftest.$ac_objext'
11763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11764 (eval $ac_try) 2>&5
11766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11767 (exit $ac_status); }; }; then
11768 for ac_declaration
in \
11770 'extern "C" void std::exit (int) throw (); using std::exit;' \
11771 'extern "C" void std::exit (int); using std::exit;' \
11772 'extern "C" void exit (int) throw ();' \
11773 'extern "C" void exit (int);' \
11776 cat >conftest.
$ac_ext <<_ACEOF
11779 cat confdefs.h
>>conftest.
$ac_ext
11780 cat >>conftest.
$ac_ext <<_ACEOF
11781 /* end confdefs.h. */
11783 #include <stdlib.h>
11792 rm -f conftest.
$ac_objext
11793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11794 (eval $ac_compile) 2>conftest.er1
11796 grep -v '^ *+' conftest.er1
>conftest.err
11798 cat conftest.err
>&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); } &&
11801 { ac_try
='test -z "$ac_c_werror_flag"
11802 || test ! -s conftest.err'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; } &&
11808 { ac_try
='test -s conftest.$ac_objext'
11809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11810 (eval $ac_try) 2>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; }; then
11816 echo "$as_me: failed program was:" >&5
11817 sed 's/^/| /' conftest.
$ac_ext >&5
11821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11822 cat >conftest.
$ac_ext <<_ACEOF
11825 cat confdefs.h
>>conftest.
$ac_ext
11826 cat >>conftest.
$ac_ext <<_ACEOF
11827 /* end confdefs.h. */
11837 rm -f conftest.
$ac_objext
11838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11839 (eval $ac_compile) 2>conftest.er1
11841 grep -v '^ *+' conftest.er1
>conftest.err
11843 cat conftest.err
>&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); } &&
11846 { ac_try
='test -z "$ac_c_werror_flag"
11847 || test ! -s conftest.err'
11848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11849 (eval $ac_try) 2>&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); }; } &&
11853 { ac_try
='test -s conftest.$ac_objext'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; }; then
11861 echo "$as_me: failed program was:" >&5
11862 sed 's/^/| /' conftest.
$ac_ext >&5
11865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11868 if test -n "$ac_declaration"; then
11869 echo '#ifdef __cplusplus' >>confdefs.h
11870 echo $ac_declaration >>confdefs.h
11871 echo '#endif' >>confdefs.h
11875 echo "$as_me: failed program was:" >&5
11876 sed 's/^/| /' conftest.
$ac_ext >&5
11879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11881 ac_cpp
='$CPP $CPPFLAGS'
11882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11889 ac_cpp
='$CPP $CPPFLAGS'
11890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11894 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11895 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11896 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11899 cat >conftest.
$ac_ext <<_ACEOF
11902 cat confdefs.h
>>conftest.
$ac_ext
11903 cat >>conftest.
$ac_ext <<_ACEOF
11904 /* end confdefs.h. */
11910 #ifndef __INTEL_COMPILER
11918 rm -f conftest.
$ac_objext
11919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11920 (eval $ac_compile) 2>conftest.er1
11922 grep -v '^ *+' conftest.er1
>conftest.err
11924 cat conftest.err
>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); } &&
11927 { ac_try
='test -z "$ac_c_werror_flag"
11928 || test ! -s conftest.err'
11929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11930 (eval $ac_try) 2>&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); }; } &&
11934 { ac_try
='test -s conftest.$ac_objext'
11935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11936 (eval $ac_try) 2>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); }; }; then
11940 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
11942 echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.
$ac_ext >&5
11945 bakefile_cv_c_compiler___INTEL_COMPILER
=no
11948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11952 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11953 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
11955 ac_cpp
='$CPP $CPPFLAGS'
11956 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11957 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11958 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11960 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
11967 if test "x$GCC" != "xyes"; then
11968 if test "xCC" = "xC"; then
11969 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
11970 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
11971 if test "${bakefile_cv_c_exto+set}" = set; then
11972 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 cat >conftest.
$ac_ext <<_ACEOF
11977 cat confdefs.h
>>conftest.
$ac_ext
11978 cat >>conftest.
$ac_ext <<_ACEOF
11979 /* end confdefs.h. */
11989 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
11990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11991 (eval $ac_compile) 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; then
11995 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
11997 conftest.
$ac_ext.o
)
11998 bakefile_cv_c_exto
="-ext o"
12005 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12006 See \`config.log' for more details." >&5
12007 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12008 See \`config.log' for more details." >&2;}
12009 { (exit 1); exit 1; }; }
12013 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
12016 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12017 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12018 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12019 if test "c" = "c"; then
12020 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
12022 if test "c" = "cxx"; then
12023 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
12027 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12028 unset ac_cv_prog_cc_g
12029 ac_test_CFLAGS
=${CFLAGS+set}
12030 ac_save_CFLAGS
=$CFLAGS
12032 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12033 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12034 if test "${ac_cv_prog_cc_g+set}" = set; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 cat >conftest.
$ac_ext <<_ACEOF
12040 cat confdefs.h
>>conftest.
$ac_ext
12041 cat >>conftest.
$ac_ext <<_ACEOF
12042 /* end confdefs.h. */
12052 rm -f conftest.
$ac_objext
12053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12054 (eval $ac_compile) 2>conftest.er1
12056 grep -v '^ *+' conftest.er1
>conftest.err
12058 cat conftest.err
>&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } &&
12061 { ac_try
='test -z "$ac_c_werror_flag"
12062 || test ! -s conftest.err'
12063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12064 (eval $ac_try) 2>&5
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); }; } &&
12068 { ac_try
='test -s conftest.$ac_objext'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12074 ac_cv_prog_cc_g
=yes
12076 echo "$as_me: failed program was:" >&5
12077 sed 's/^/| /' conftest.
$ac_ext >&5
12081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12084 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12085 if test "$ac_test_CFLAGS" = set; then
12086 CFLAGS
=$ac_save_CFLAGS
12087 elif test $ac_cv_prog_cc_g = yes; then
12088 if test "$GCC" = yes; then
12094 if test "$GCC" = yes; then
12106 ac_cpp
='$CPP $CPPFLAGS'
12107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12111 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12112 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12113 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12114 echo $ECHO_N "(cached) $ECHO_C" >&6
12116 cat >conftest.
$ac_ext <<_ACEOF
12119 cat confdefs.h
>>conftest.
$ac_ext
12120 cat >>conftest.
$ac_ext <<_ACEOF
12121 /* end confdefs.h. */
12134 rm -f conftest.
$ac_objext
12135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12136 (eval $ac_compile) 2>conftest.er1
12138 grep -v '^ *+' conftest.er1
>conftest.err
12140 cat conftest.err
>&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); } &&
12143 { ac_try
='test -z "$ac_c_werror_flag"
12144 || test ! -s conftest.err'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; } &&
12150 { ac_try
='test -s conftest.$ac_objext'
12151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12152 (eval $ac_try) 2>&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); }; }; then
12156 bakefile_compiler_xlc
=yes
12158 echo "$as_me: failed program was:" >&5
12159 sed 's/^/| /' conftest.
$ac_ext >&5
12161 bakefile_compiler_xlc
=no
12163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12164 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12167 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12168 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12170 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12172 ac_cpp
='$CPP $CPPFLAGS'
12173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12182 ac_cpp
='$CPP $CPPFLAGS'
12183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12187 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12188 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12189 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 cat >conftest.
$ac_ext <<_ACEOF
12195 cat confdefs.h
>>conftest.
$ac_ext
12196 cat >>conftest.
$ac_ext <<_ACEOF
12197 /* end confdefs.h. */
12210 rm -f conftest.
$ac_objext
12211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12212 (eval $ac_compile) 2>conftest.er1
12214 grep -v '^ *+' conftest.er1
>conftest.err
12216 cat conftest.err
>&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); } &&
12219 { ac_try
='test -z "$ac_c_werror_flag"
12220 || test ! -s conftest.err'
12221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12222 (eval $ac_try) 2>&5
12224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 (exit $ac_status); }; } &&
12226 { ac_try
='test -s conftest.$ac_objext'
12227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12228 (eval $ac_try) 2>&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); }; }; then
12232 bakefile_compiler_mwerks
=yes
12234 echo "$as_me: failed program was:" >&5
12235 sed 's/^/| /' conftest.
$ac_ext >&5
12237 bakefile_compiler_mwerks
=no
12239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12240 bakefile_cv_c_compiler_mwerks
=$bakefile_compiler_mwerks
12243 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12244 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12246 MWCC
=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12248 ac_cpp
='$CPP $CPPFLAGS'
12249 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12250 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12251 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12255 ac_cpp
='$CPP $CPPFLAGS'
12256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12260 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12261 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12262 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12263 echo $ECHO_N "(cached) $ECHO_C" >&6
12265 cat >conftest.
$ac_ext <<_ACEOF
12268 cat confdefs.h
>>conftest.
$ac_ext
12269 cat >>conftest.
$ac_ext <<_ACEOF
12270 /* end confdefs.h. */
12283 rm -f conftest.
$ac_objext
12284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12285 (eval $ac_compile) 2>conftest.er1
12287 grep -v '^ *+' conftest.er1
>conftest.err
12289 cat conftest.err
>&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); } &&
12292 { ac_try
='test -z "$ac_c_werror_flag"
12293 || test ! -s conftest.err'
12294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12295 (eval $ac_try) 2>&5
12297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12298 (exit $ac_status); }; } &&
12299 { ac_try
='test -s conftest.$ac_objext'
12300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12301 (eval $ac_try) 2>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); }; }; then
12305 bakefile_compiler_xlc
=yes
12307 echo "$as_me: failed program was:" >&5
12308 sed 's/^/| /' conftest.
$ac_ext >&5
12310 bakefile_compiler_xlc
=no
12312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12313 bakefile_cv_c_compiler_xlc
=$bakefile_compiler_xlc
12316 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12317 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12319 XLCC
=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12321 ac_cpp
='$CPP $CPPFLAGS'
12322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12333 ac_cpp
='$CPP $CPPFLAGS'
12334 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12335 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12336 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12338 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12339 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12340 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12341 echo $ECHO_N "(cached) $ECHO_C" >&6
12343 cat >conftest.
$ac_ext <<_ACEOF
12346 cat confdefs.h
>>conftest.
$ac_ext
12347 cat >>conftest.
$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12354 #ifndef _SGI_COMPILER_VERSION
12362 rm -f conftest.
$ac_objext
12363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12364 (eval $ac_compile) 2>conftest.er1
12366 grep -v '^ *+' conftest.er1
>conftest.err
12368 cat conftest.err
>&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); } &&
12371 { ac_try
='test -z "$ac_c_werror_flag"
12372 || test ! -s conftest.err'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; } &&
12378 { ac_try
='test -s conftest.$ac_objext'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; }; then
12384 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.
$ac_ext >&5
12389 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
12392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12396 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12397 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12399 ac_cpp
='$CPP $CPPFLAGS'
12400 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12401 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12402 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12404 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12417 ac_cpp
='$CPP $CPPFLAGS'
12418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12422 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12423 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12424 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12425 echo $ECHO_N "(cached) $ECHO_C" >&6
12427 cat >conftest.
$ac_ext <<_ACEOF
12430 cat confdefs.h
>>conftest.
$ac_ext
12431 cat >>conftest.
$ac_ext <<_ACEOF
12432 /* end confdefs.h. */
12446 rm -f conftest.
$ac_objext
12447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12448 (eval $ac_compile) 2>conftest.er1
12450 grep -v '^ *+' conftest.er1
>conftest.err
12452 cat conftest.err
>&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); } &&
12455 { ac_try
='test -z "$ac_c_werror_flag"
12456 || test ! -s conftest.err'
12457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12458 (eval $ac_try) 2>&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); }; } &&
12462 { ac_try
='test -s conftest.$ac_objext'
12463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12464 (eval $ac_try) 2>&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); }; }; then
12468 bakefile_cv_c_compiler___HP_cc
=yes
12470 echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.
$ac_ext >&5
12473 bakefile_cv_c_compiler___HP_cc
=no
12476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12480 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12481 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12483 ac_cpp
='$CPP $CPPFLAGS'
12484 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12485 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12486 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12488 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12501 ac_cpp
='$CPP $CPPFLAGS'
12502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12506 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12507 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12508 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12509 echo $ECHO_N "(cached) $ECHO_C" >&6
12511 cat >conftest.
$ac_ext <<_ACEOF
12514 cat confdefs.h
>>conftest.
$ac_ext
12515 cat >>conftest.
$ac_ext <<_ACEOF
12516 /* end confdefs.h. */
12530 rm -f conftest.
$ac_objext
12531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12532 (eval $ac_compile) 2>conftest.er1
12534 grep -v '^ *+' conftest.er1
>conftest.err
12536 cat conftest.err
>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } &&
12539 { ac_try
='test -z "$ac_c_werror_flag"
12540 || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try
='test -s conftest.$ac_objext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 bakefile_cv_c_compiler___DECC
=yes
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.
$ac_ext >&5
12557 bakefile_cv_c_compiler___DECC
=no
12560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12564 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12565 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12567 ac_cpp
='$CPP $CPPFLAGS'
12568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12572 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12585 ac_cpp
='$CPP $CPPFLAGS'
12586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12590 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12591 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12592 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12593 echo $ECHO_N "(cached) $ECHO_C" >&6
12595 cat >conftest.
$ac_ext <<_ACEOF
12598 cat confdefs.h
>>conftest.
$ac_ext
12599 cat >>conftest.
$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12614 rm -f conftest.
$ac_objext
12615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12616 (eval $ac_compile) 2>conftest.er1
12618 grep -v '^ *+' conftest.er1
>conftest.err
12620 cat conftest.err
>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); } &&
12623 { ac_try
='test -z "$ac_c_werror_flag"
12624 || test ! -s conftest.err'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; } &&
12630 { ac_try
='test -s conftest.$ac_objext'
12631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 (eval $ac_try) 2>&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); }; }; then
12636 bakefile_cv_c_compiler___SUNPRO_C
=yes
12638 echo "$as_me: failed program was:" >&5
12639 sed 's/^/| /' conftest.
$ac_ext >&5
12641 bakefile_cv_c_compiler___SUNPRO_C
=no
12644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12648 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12649 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12651 ac_cpp
='$CPP $CPPFLAGS'
12652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12656 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12670 ac_cpp
='$CPP $CPPFLAGS'
12671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12674 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12675 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12676 # On Suns, sometimes $CPP names a directory.
12677 if test -n "$CPP" && test -d "$CPP"; then
12680 if test -z "$CPP"; then
12681 if test "${ac_cv_prog_CPP+set}" = set; then
12682 echo $ECHO_N "(cached) $ECHO_C" >&6
12684 # Double quotes because CPP needs to be expanded
12685 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12687 ac_preproc_ok
=false
12688 for ac_c_preproc_warn_flag
in '' yes
12690 # Use a header file that comes with gcc, so configuring glibc
12691 # with a fresh cross-compiler works.
12692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12693 # <limits.h> exists even on freestanding compilers.
12694 # On the NeXT, cc -E runs the code through the compiler's parser,
12695 # not just through cpp. "Syntax error" is here to catch this case.
12696 cat >conftest.
$ac_ext <<_ACEOF
12699 cat confdefs.h
>>conftest.
$ac_ext
12700 cat >>conftest.
$ac_ext <<_ACEOF
12701 /* end confdefs.h. */
12703 # include <limits.h>
12705 # include <assert.h>
12709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12710 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12712 grep -v '^ *+' conftest.er1
>conftest.err
12714 cat conftest.err
>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); } >/dev
/null
; then
12717 if test -s conftest.err
; then
12718 ac_cpp_err
=$ac_c_preproc_warn_flag
12719 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12726 if test -z "$ac_cpp_err"; then
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.
$ac_ext >&5
12732 # Broken: fails on valid input.
12735 rm -f conftest.err conftest.
$ac_ext
12737 # OK, works on sane cases. Now check whether non-existent headers
12738 # can be detected and how.
12739 cat >conftest.
$ac_ext <<_ACEOF
12742 cat confdefs.h
>>conftest.
$ac_ext
12743 cat >>conftest.
$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12745 #include <ac_nonexistent.h>
12747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12748 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12750 grep -v '^ *+' conftest.er1
>conftest.err
12752 cat conftest.err
>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } >/dev
/null
; then
12755 if test -s conftest.err
; then
12756 ac_cpp_err
=$ac_c_preproc_warn_flag
12757 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12764 if test -z "$ac_cpp_err"; then
12765 # Broken: success on invalid input.
12768 echo "$as_me: failed program was:" >&5
12769 sed 's/^/| /' conftest.
$ac_ext >&5
12771 # Passes both tests.
12775 rm -f conftest.err conftest.
$ac_ext
12778 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12779 rm -f conftest.err conftest.
$ac_ext
12780 if $ac_preproc_ok; then
12785 ac_cv_prog_CPP
=$CPP
12788 CPP
=$ac_cv_prog_CPP
12790 ac_cv_prog_CPP
=$CPP
12792 echo "$as_me:$LINENO: result: $CPP" >&5
12793 echo "${ECHO_T}$CPP" >&6
12794 ac_preproc_ok
=false
12795 for ac_c_preproc_warn_flag
in '' yes
12797 # Use a header file that comes with gcc, so configuring glibc
12798 # with a fresh cross-compiler works.
12799 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12800 # <limits.h> exists even on freestanding compilers.
12801 # On the NeXT, cc -E runs the code through the compiler's parser,
12802 # not just through cpp. "Syntax error" is here to catch this case.
12803 cat >conftest.
$ac_ext <<_ACEOF
12806 cat confdefs.h
>>conftest.
$ac_ext
12807 cat >>conftest.
$ac_ext <<_ACEOF
12808 /* end confdefs.h. */
12810 # include <limits.h>
12812 # include <assert.h>
12816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12817 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12819 grep -v '^ *+' conftest.er1
>conftest.err
12821 cat conftest.err
>&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); } >/dev
/null
; then
12824 if test -s conftest.err
; then
12825 ac_cpp_err
=$ac_c_preproc_warn_flag
12826 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12833 if test -z "$ac_cpp_err"; then
12836 echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.
$ac_ext >&5
12839 # Broken: fails on valid input.
12842 rm -f conftest.err conftest.
$ac_ext
12844 # OK, works on sane cases. Now check whether non-existent headers
12845 # can be detected and how.
12846 cat >conftest.
$ac_ext <<_ACEOF
12849 cat confdefs.h
>>conftest.
$ac_ext
12850 cat >>conftest.
$ac_ext <<_ACEOF
12851 /* end confdefs.h. */
12852 #include <ac_nonexistent.h>
12854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12855 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12857 grep -v '^ *+' conftest.er1
>conftest.err
12859 cat conftest.err
>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); } >/dev
/null
; then
12862 if test -s conftest.err
; then
12863 ac_cpp_err
=$ac_c_preproc_warn_flag
12864 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12871 if test -z "$ac_cpp_err"; then
12872 # Broken: success on invalid input.
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.
$ac_ext >&5
12878 # Passes both tests.
12882 rm -f conftest.err conftest.
$ac_ext
12885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12886 rm -f conftest.err conftest.
$ac_ext
12887 if $ac_preproc_ok; then
12890 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12891 See \`config.log' for more details." >&5
12892 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12893 See \`config.log' for more details." >&2;}
12894 { (exit 1); exit 1; }; }
12898 ac_cpp
='$CPP $CPPFLAGS'
12899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12904 echo "$as_me:$LINENO: checking for egrep" >&5
12905 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12906 if test "${ac_cv_prog_egrep+set}" = set; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6
12909 if echo a
| (grep -E '(a|b)') >/dev
/null
2>&1
12910 then ac_cv_prog_egrep
='grep -E'
12911 else ac_cv_prog_egrep
='egrep'
12914 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12915 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12916 EGREP
=$ac_cv_prog_egrep
12919 if test $ac_cv_c_compiler_gnu = yes; then
12920 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12921 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12922 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12923 echo $ECHO_N "(cached) $ECHO_C" >&6
12925 ac_pattern
="Autoconf.*'x'"
12926 cat >conftest.
$ac_ext <<_ACEOF
12929 cat confdefs.h
>>conftest.
$ac_ext
12930 cat >>conftest.
$ac_ext <<_ACEOF
12931 /* end confdefs.h. */
12935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12936 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12937 ac_cv_prog_gcc_traditional
=yes
12939 ac_cv_prog_gcc_traditional
=no
12944 if test $ac_cv_prog_gcc_traditional = no
; then
12945 cat >conftest.
$ac_ext <<_ACEOF
12948 cat confdefs.h
>>conftest.
$ac_ext
12949 cat >>conftest.
$ac_ext <<_ACEOF
12950 /* end confdefs.h. */
12951 #include <termio.h>
12954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12955 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
12956 ac_cv_prog_gcc_traditional
=yes
12962 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
12963 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
12964 if test $ac_cv_prog_gcc_traditional = yes; then
12965 CC
="$CC -traditional"
12973 ac_cpp
='$CXXCPP $CPPFLAGS'
12974 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12975 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12976 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12979 CXXFLAGS
=${CXXFLAGS:=}
12984 ac_cpp
='$CXXCPP $CPPFLAGS'
12985 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12986 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12987 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12988 if test -n "$ac_tool_prefix"; then
12989 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
12991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12992 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12993 echo "$as_me:$LINENO: checking for $ac_word" >&5
12994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12995 if test "${ac_cv_prog_CXX+set}" = set; then
12996 echo $ECHO_N "(cached) $ECHO_C" >&6
12998 if test -n "$CXX"; then
12999 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
13001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13002 for as_dir
in $PATH
13005 test -z "$as_dir" && as_dir
=.
13006 for ac_exec_ext
in '' $ac_executable_extensions; do
13007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13008 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
13009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13017 CXX
=$ac_cv_prog_CXX
13018 if test -n "$CXX"; then
13019 echo "$as_me:$LINENO: result: $CXX" >&5
13020 echo "${ECHO_T}$CXX" >&6
13022 echo "$as_me:$LINENO: result: no" >&5
13023 echo "${ECHO_T}no" >&6
13026 test -n "$CXX" && break
13029 if test -z "$CXX"; then
13031 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
13033 # Extract the first word of "$ac_prog", so it can be a program name with args.
13034 set dummy
$ac_prog; ac_word
=$2
13035 echo "$as_me:$LINENO: checking for $ac_word" >&5
13036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13037 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 if test -n "$ac_ct_CXX"; then
13041 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
13043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13044 for as_dir
in $PATH
13047 test -z "$as_dir" && as_dir
=.
13048 for ac_exec_ext
in '' $ac_executable_extensions; do
13049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13050 ac_cv_prog_ac_ct_CXX
="$ac_prog"
13051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13059 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
13060 if test -n "$ac_ct_CXX"; then
13061 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13062 echo "${ECHO_T}$ac_ct_CXX" >&6
13064 echo "$as_me:$LINENO: result: no" >&5
13065 echo "${ECHO_T}no" >&6
13068 test -n "$ac_ct_CXX" && break
13070 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
13076 # Provide some information about the compiler.
13077 echo "$as_me:$LINENO:" \
13078 "checking for C++ compiler version" >&5
13079 ac_compiler
=`set X $ac_compile; echo $2`
13080 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13081 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }
13085 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13086 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); }
13090 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13091 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13094 (exit $ac_status); }
13096 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13097 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13098 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13099 echo $ECHO_N "(cached) $ECHO_C" >&6
13101 cat >conftest.
$ac_ext <<_ACEOF
13104 cat confdefs.h
>>conftest.
$ac_ext
13105 cat >>conftest.
$ac_ext <<_ACEOF
13106 /* end confdefs.h. */
13119 rm -f conftest.
$ac_objext
13120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13121 (eval $ac_compile) 2>conftest.er1
13123 grep -v '^ *+' conftest.er1
>conftest.err
13125 cat conftest.err
>&5
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); } &&
13128 { ac_try
='test -z "$ac_cxx_werror_flag"
13129 || test ! -s conftest.err'
13130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13131 (eval $ac_try) 2>&5
13133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13134 (exit $ac_status); }; } &&
13135 { ac_try
='test -s conftest.$ac_objext'
13136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13137 (eval $ac_try) 2>&5
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); }; }; then
13141 ac_compiler_gnu
=yes
13143 echo "$as_me: failed program was:" >&5
13144 sed 's/^/| /' conftest.
$ac_ext >&5
13148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13149 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
13152 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13153 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13154 GXX
=`test $ac_compiler_gnu = yes && echo yes`
13155 ac_test_CXXFLAGS
=${CXXFLAGS+set}
13156 ac_save_CXXFLAGS
=$CXXFLAGS
13158 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13159 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13160 if test "${ac_cv_prog_cxx_g+set}" = set; then
13161 echo $ECHO_N "(cached) $ECHO_C" >&6
13163 cat >conftest.
$ac_ext <<_ACEOF
13166 cat confdefs.h
>>conftest.
$ac_ext
13167 cat >>conftest.
$ac_ext <<_ACEOF
13168 /* end confdefs.h. */
13178 rm -f conftest.
$ac_objext
13179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13180 (eval $ac_compile) 2>conftest.er1
13182 grep -v '^ *+' conftest.er1
>conftest.err
13184 cat conftest.err
>&5
13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); } &&
13187 { ac_try
='test -z "$ac_cxx_werror_flag"
13188 || test ! -s conftest.err'
13189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13190 (eval $ac_try) 2>&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); }; } &&
13194 { ac_try
='test -s conftest.$ac_objext'
13195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13196 (eval $ac_try) 2>&5
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }; }; then
13200 ac_cv_prog_cxx_g
=yes
13202 echo "$as_me: failed program was:" >&5
13203 sed 's/^/| /' conftest.
$ac_ext >&5
13205 ac_cv_prog_cxx_g
=no
13207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13209 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13210 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13211 if test "$ac_test_CXXFLAGS" = set; then
13212 CXXFLAGS
=$ac_save_CXXFLAGS
13213 elif test $ac_cv_prog_cxx_g = yes; then
13214 if test "$GXX" = yes; then
13220 if test "$GXX" = yes; then
13226 for ac_declaration
in \
13228 'extern "C" void std::exit (int) throw (); using std::exit;' \
13229 'extern "C" void std::exit (int); using std::exit;' \
13230 'extern "C" void exit (int) throw ();' \
13231 'extern "C" void exit (int);' \
13234 cat >conftest.
$ac_ext <<_ACEOF
13237 cat confdefs.h
>>conftest.
$ac_ext
13238 cat >>conftest.
$ac_ext <<_ACEOF
13239 /* end confdefs.h. */
13241 #include <stdlib.h>
13250 rm -f conftest.
$ac_objext
13251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13252 (eval $ac_compile) 2>conftest.er1
13254 grep -v '^ *+' conftest.er1
>conftest.err
13256 cat conftest.err
>&5
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); } &&
13259 { ac_try
='test -z "$ac_cxx_werror_flag"
13260 || test ! -s conftest.err'
13261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13262 (eval $ac_try) 2>&5
13264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13265 (exit $ac_status); }; } &&
13266 { ac_try
='test -s conftest.$ac_objext'
13267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13268 (eval $ac_try) 2>&5
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); }; }; then
13274 echo "$as_me: failed program was:" >&5
13275 sed 's/^/| /' conftest.
$ac_ext >&5
13279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13280 cat >conftest.
$ac_ext <<_ACEOF
13283 cat confdefs.h
>>conftest.
$ac_ext
13284 cat >>conftest.
$ac_ext <<_ACEOF
13285 /* end confdefs.h. */
13295 rm -f conftest.
$ac_objext
13296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13297 (eval $ac_compile) 2>conftest.er1
13299 grep -v '^ *+' conftest.er1
>conftest.err
13301 cat conftest.err
>&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); } &&
13304 { ac_try
='test -z "$ac_cxx_werror_flag"
13305 || test ! -s conftest.err'
13306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13307 (eval $ac_try) 2>&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }; } &&
13311 { ac_try
='test -s conftest.$ac_objext'
13312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13313 (eval $ac_try) 2>&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); }; }; then
13319 echo "$as_me: failed program was:" >&5
13320 sed 's/^/| /' conftest.
$ac_ext >&5
13323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13326 if test -n "$ac_declaration"; then
13327 echo '#ifdef __cplusplus' >>confdefs.h
13328 echo $ac_declaration >>confdefs.h
13329 echo '#endif' >>confdefs.h
13333 ac_cpp
='$CXXCPP $CPPFLAGS'
13334 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13335 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13336 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13341 ac_cpp
='$CXXCPP $CPPFLAGS'
13342 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13343 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13344 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13346 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13347 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13348 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13349 echo $ECHO_N "(cached) $ECHO_C" >&6
13351 cat >conftest.
$ac_ext <<_ACEOF
13354 cat confdefs.h
>>conftest.
$ac_ext
13355 cat >>conftest.
$ac_ext <<_ACEOF
13356 /* end confdefs.h. */
13362 #ifndef __INTEL_COMPILER
13370 rm -f conftest.
$ac_objext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13372 (eval $ac_compile) 2>conftest.er1
13374 grep -v '^ *+' conftest.er1
>conftest.err
13376 cat conftest.err
>&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } &&
13379 { ac_try
='test -z "$ac_cxx_werror_flag"
13380 || test ! -s conftest.err'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; } &&
13386 { ac_try
='test -s conftest.$ac_objext'
13387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13388 (eval $ac_try) 2>&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); }; }; then
13392 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
13394 echo "$as_me: failed program was:" >&5
13395 sed 's/^/| /' conftest.
$ac_ext >&5
13397 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
13400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13404 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13405 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13407 ac_cpp
='$CXXCPP $CPPFLAGS'
13408 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13409 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13410 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13412 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13419 if test "x$GCXX" != "xyes"; then
13420 if test "xCXX" = "xC"; then
13421 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13422 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13423 if test "${bakefile_cv_cxx_exto+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 cat >conftest.
$ac_ext <<_ACEOF
13429 cat confdefs.h
>>conftest.
$ac_ext
13430 cat >>conftest.
$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13441 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
13442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13443 (eval $ac_compile) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; then
13447 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
13449 conftest.
$ac_ext.o
)
13450 bakefile_cv_cxx_exto
="-ext o"
13457 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13458 See \`config.log' for more details." >&5
13459 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13460 See \`config.log' for more details." >&2;}
13461 { (exit 1); exit 1; }; }
13465 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
13468 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13469 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13470 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13471 if test "cxx" = "c"; then
13472 CFLAGS
="$bakefile_cv_cxx_exto $CFLAGS"
13474 if test "cxx" = "cxx"; then
13475 CXXFLAGS
="$bakefile_cv_cxx_exto $CXXFLAGS"
13479 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13480 unset ac_cv_prog_cc_g
13481 ac_test_CFLAGS
=${CFLAGS+set}
13482 ac_save_CFLAGS
=$CFLAGS
13484 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13485 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13486 if test "${ac_cv_prog_cc_g+set}" = set; then
13487 echo $ECHO_N "(cached) $ECHO_C" >&6
13489 cat >conftest.
$ac_ext <<_ACEOF
13492 cat confdefs.h
>>conftest.
$ac_ext
13493 cat >>conftest.
$ac_ext <<_ACEOF
13494 /* end confdefs.h. */
13504 rm -f conftest.
$ac_objext
13505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13506 (eval $ac_compile) 2>conftest.er1
13508 grep -v '^ *+' conftest.er1
>conftest.err
13510 cat conftest.err
>&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } &&
13513 { ac_try
='test -z "$ac_cxx_werror_flag"
13514 || test ! -s conftest.err'
13515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516 (eval $ac_try) 2>&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; } &&
13520 { ac_try
='test -s conftest.$ac_objext'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; }; then
13526 ac_cv_prog_cc_g
=yes
13528 echo "$as_me: failed program was:" >&5
13529 sed 's/^/| /' conftest.
$ac_ext >&5
13533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13535 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13536 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13537 if test "$ac_test_CFLAGS" = set; then
13538 CFLAGS
=$ac_save_CFLAGS
13539 elif test $ac_cv_prog_cc_g = yes; then
13540 if test "$GCC" = yes; then
13546 if test "$GCC" = yes; then
13558 ac_cpp
='$CXXCPP $CPPFLAGS'
13559 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13560 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13561 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13563 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13564 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13565 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13566 echo $ECHO_N "(cached) $ECHO_C" >&6
13568 cat >conftest.
$ac_ext <<_ACEOF
13571 cat confdefs.h
>>conftest.
$ac_ext
13572 cat >>conftest.
$ac_ext <<_ACEOF
13573 /* end confdefs.h. */
13586 rm -f conftest.
$ac_objext
13587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13588 (eval $ac_compile) 2>conftest.er1
13590 grep -v '^ *+' conftest.er1
>conftest.err
13592 cat conftest.err
>&5
13593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 (exit $ac_status); } &&
13595 { ac_try
='test -z "$ac_cxx_werror_flag"
13596 || test ! -s conftest.err'
13597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13598 (eval $ac_try) 2>&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); }; } &&
13602 { ac_try
='test -s conftest.$ac_objext'
13603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604 (eval $ac_try) 2>&5
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); }; }; then
13608 bakefile_compiler_xlc
=yes
13610 echo "$as_me: failed program was:" >&5
13611 sed 's/^/| /' conftest.
$ac_ext >&5
13613 bakefile_compiler_xlc
=no
13615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13616 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13619 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13620 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13622 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13624 ac_cpp
='$CXXCPP $CPPFLAGS'
13625 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13626 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13627 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13634 ac_cpp
='$CXXCPP $CPPFLAGS'
13635 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13636 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13637 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13639 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13640 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13641 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 cat >conftest.
$ac_ext <<_ACEOF
13647 cat confdefs.h
>>conftest.
$ac_ext
13648 cat >>conftest.
$ac_ext <<_ACEOF
13649 /* end confdefs.h. */
13662 rm -f conftest.
$ac_objext
13663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13664 (eval $ac_compile) 2>conftest.er1
13666 grep -v '^ *+' conftest.er1
>conftest.err
13668 cat conftest.err
>&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); } &&
13671 { ac_try
='test -z "$ac_cxx_werror_flag"
13672 || test ! -s conftest.err'
13673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13674 (eval $ac_try) 2>&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); }; } &&
13678 { ac_try
='test -s conftest.$ac_objext'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; }; then
13684 bakefile_compiler_mwerks
=yes
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.
$ac_ext >&5
13689 bakefile_compiler_mwerks
=no
13691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13692 bakefile_cv_cxx_compiler_mwerks
=$bakefile_compiler_mwerks
13695 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13696 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13698 MWCXX
=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13700 ac_cpp
='$CXXCPP $CPPFLAGS'
13701 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13702 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13703 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13707 ac_cpp
='$CXXCPP $CPPFLAGS'
13708 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13709 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13710 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13712 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13713 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13714 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 cat >conftest.
$ac_ext <<_ACEOF
13720 cat confdefs.h
>>conftest.
$ac_ext
13721 cat >>conftest.
$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13735 rm -f conftest.
$ac_objext
13736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13737 (eval $ac_compile) 2>conftest.er1
13739 grep -v '^ *+' conftest.er1
>conftest.err
13741 cat conftest.err
>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); } &&
13744 { ac_try
='test -z "$ac_cxx_werror_flag"
13745 || test ! -s conftest.err'
13746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13747 (eval $ac_try) 2>&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); }; } &&
13751 { ac_try
='test -s conftest.$ac_objext'
13752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13753 (eval $ac_try) 2>&5
13755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756 (exit $ac_status); }; }; then
13757 bakefile_compiler_xlc
=yes
13759 echo "$as_me: failed program was:" >&5
13760 sed 's/^/| /' conftest.
$ac_ext >&5
13762 bakefile_compiler_xlc
=no
13764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13765 bakefile_cv_cxx_compiler_xlc
=$bakefile_compiler_xlc
13768 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13769 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13771 XLCXX
=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13773 ac_cpp
='$CXXCPP $CPPFLAGS'
13774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13785 ac_cpp
='$CXXCPP $CPPFLAGS'
13786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13790 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13791 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13792 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13793 echo $ECHO_N "(cached) $ECHO_C" >&6
13795 cat >conftest.
$ac_ext <<_ACEOF
13798 cat confdefs.h
>>conftest.
$ac_ext
13799 cat >>conftest.
$ac_ext <<_ACEOF
13800 /* end confdefs.h. */
13806 #ifndef _SGI_COMPILER_VERSION
13814 rm -f conftest.
$ac_objext
13815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13816 (eval $ac_compile) 2>conftest.er1
13818 grep -v '^ *+' conftest.er1
>conftest.err
13820 cat conftest.err
>&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); } &&
13823 { ac_try
='test -z "$ac_cxx_werror_flag"
13824 || test ! -s conftest.err'
13825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13826 (eval $ac_try) 2>&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); }; } &&
13830 { ac_try
='test -s conftest.$ac_objext'
13831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13832 (eval $ac_try) 2>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); }; }; then
13836 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=yes
13838 echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.
$ac_ext >&5
13841 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION
=no
13844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13848 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13849 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13851 ac_cpp
='$CXXCPP $CPPFLAGS'
13852 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13853 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13854 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13856 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13869 ac_cpp
='$CXXCPP $CPPFLAGS'
13870 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13871 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13872 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13874 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13875 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13876 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13879 cat >conftest.
$ac_ext <<_ACEOF
13882 cat confdefs.h
>>conftest.
$ac_ext
13883 cat >>conftest.
$ac_ext <<_ACEOF
13884 /* end confdefs.h. */
13898 rm -f conftest.
$ac_objext
13899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13900 (eval $ac_compile) 2>conftest.er1
13902 grep -v '^ *+' conftest.er1
>conftest.err
13904 cat conftest.err
>&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); } &&
13907 { ac_try
='test -z "$ac_cxx_werror_flag"
13908 || test ! -s conftest.err'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; } &&
13914 { ac_try
='test -s conftest.$ac_objext'
13915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13916 (eval $ac_try) 2>&5
13918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13919 (exit $ac_status); }; }; then
13920 bakefile_cv_cxx_compiler___HP_aCC
=yes
13922 echo "$as_me: failed program was:" >&5
13923 sed 's/^/| /' conftest.
$ac_ext >&5
13925 bakefile_cv_cxx_compiler___HP_aCC
=no
13928 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13932 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13933 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13935 ac_cpp
='$CXXCPP $CPPFLAGS'
13936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13940 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13953 ac_cpp
='$CXXCPP $CPPFLAGS'
13954 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13955 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13956 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13958 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
13959 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
13960 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
13961 echo $ECHO_N "(cached) $ECHO_C" >&6
13963 cat >conftest.
$ac_ext <<_ACEOF
13966 cat confdefs.h
>>conftest.
$ac_ext
13967 cat >>conftest.
$ac_ext <<_ACEOF
13968 /* end confdefs.h. */
13982 rm -f conftest.
$ac_objext
13983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13984 (eval $ac_compile) 2>conftest.er1
13986 grep -v '^ *+' conftest.er1
>conftest.err
13988 cat conftest.err
>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } &&
13991 { ac_try
='test -z "$ac_cxx_werror_flag"
13992 || test ! -s conftest.err'
13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); }; } &&
13998 { ac_try
='test -s conftest.$ac_objext'
13999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000 (eval $ac_try) 2>&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); }; }; then
14004 bakefile_cv_cxx_compiler___DECCXX
=yes
14006 echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.
$ac_ext >&5
14009 bakefile_cv_cxx_compiler___DECCXX
=no
14012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14016 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14017 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14019 ac_cpp
='$CXXCPP $CPPFLAGS'
14020 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14021 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14022 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14024 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14037 ac_cpp
='$CXXCPP $CPPFLAGS'
14038 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14039 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14040 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14042 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14043 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14044 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14045 echo $ECHO_N "(cached) $ECHO_C" >&6
14047 cat >conftest.
$ac_ext <<_ACEOF
14050 cat confdefs.h
>>conftest.
$ac_ext
14051 cat >>conftest.
$ac_ext <<_ACEOF
14052 /* end confdefs.h. */
14058 #ifndef __SUNPRO_CC
14066 rm -f conftest.
$ac_objext
14067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14068 (eval $ac_compile) 2>conftest.er1
14070 grep -v '^ *+' conftest.er1
>conftest.err
14072 cat conftest.err
>&5
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); } &&
14075 { ac_try
='test -z "$ac_cxx_werror_flag"
14076 || test ! -s conftest.err'
14077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14078 (eval $ac_try) 2>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }; } &&
14082 { ac_try
='test -s conftest.$ac_objext'
14083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084 (eval $ac_try) 2>&5
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); }; }; then
14088 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
14090 echo "$as_me: failed program was:" >&5
14091 sed 's/^/| /' conftest.
$ac_ext >&5
14093 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
14096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14100 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14101 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14103 ac_cpp
='$CXXCPP $CPPFLAGS'
14104 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14105 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14106 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14108 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14122 ac_cpp
='$CPP $CPPFLAGS'
14123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14128 if test -n "$ac_tool_prefix"; then
14129 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14130 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
14131 echo "$as_me:$LINENO: checking for $ac_word" >&5
14132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14133 if test "${ac_cv_prog_RANLIB+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14136 if test -n "$RANLIB"; then
14137 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
14139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14140 for as_dir
in $PATH
14143 test -z "$as_dir" && as_dir
=.
14144 for ac_exec_ext
in '' $ac_executable_extensions; do
14145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14146 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
14147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14155 RANLIB
=$ac_cv_prog_RANLIB
14156 if test -n "$RANLIB"; then
14157 echo "$as_me:$LINENO: result: $RANLIB" >&5
14158 echo "${ECHO_T}$RANLIB" >&6
14160 echo "$as_me:$LINENO: result: no" >&5
14161 echo "${ECHO_T}no" >&6
14165 if test -z "$ac_cv_prog_RANLIB"; then
14166 ac_ct_RANLIB
=$RANLIB
14167 # Extract the first word of "ranlib", so it can be a program name with args.
14168 set dummy ranlib
; ac_word
=$2
14169 echo "$as_me:$LINENO: checking for $ac_word" >&5
14170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14172 echo $ECHO_N "(cached) $ECHO_C" >&6
14174 if test -n "$ac_ct_RANLIB"; then
14175 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
14177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14178 for as_dir
in $PATH
14181 test -z "$as_dir" && as_dir
=.
14182 for ac_exec_ext
in '' $ac_executable_extensions; do
14183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14184 ac_cv_prog_ac_ct_RANLIB
="ranlib"
14185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14191 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
14194 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
14195 if test -n "$ac_ct_RANLIB"; then
14196 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14197 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14199 echo "$as_me:$LINENO: result: no" >&5
14200 echo "${ECHO_T}no" >&6
14203 RANLIB
=$ac_ct_RANLIB
14205 RANLIB
="$ac_cv_prog_RANLIB"
14209 if test -n "$ac_tool_prefix"; then
14210 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14211 set dummy
${ac_tool_prefix}ar; ac_word
=$2
14212 echo "$as_me:$LINENO: checking for $ac_word" >&5
14213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14214 if test "${ac_cv_prog_AR+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 if test -n "$AR"; then
14218 ac_cv_prog_AR
="$AR" # Let the user override the test.
14220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14221 for as_dir
in $PATH
14224 test -z "$as_dir" && as_dir
=.
14225 for ac_exec_ext
in '' $ac_executable_extensions; do
14226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14227 ac_cv_prog_AR
="${ac_tool_prefix}ar"
14228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14237 if test -n "$AR"; then
14238 echo "$as_me:$LINENO: result: $AR" >&5
14239 echo "${ECHO_T}$AR" >&6
14241 echo "$as_me:$LINENO: result: no" >&5
14242 echo "${ECHO_T}no" >&6
14246 if test -z "$ac_cv_prog_AR"; then
14248 # Extract the first word of "ar", so it can be a program name with args.
14249 set dummy
ar; ac_word
=$2
14250 echo "$as_me:$LINENO: checking for $ac_word" >&5
14251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14252 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14253 echo $ECHO_N "(cached) $ECHO_C" >&6
14255 if test -n "$ac_ct_AR"; then
14256 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
14258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14259 for as_dir
in $PATH
14262 test -z "$as_dir" && as_dir
=.
14263 for ac_exec_ext
in '' $ac_executable_extensions; do
14264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14265 ac_cv_prog_ac_ct_AR
="ar"
14266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14274 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
14275 if test -n "$ac_ct_AR"; then
14276 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14277 echo "${ECHO_T}$ac_ct_AR" >&6
14279 echo "$as_me:$LINENO: result: no" >&5
14280 echo "${ECHO_T}no" >&6
14285 AR
="$ac_cv_prog_AR"
14288 if test "x$AR" = "x" ; then
14289 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14290 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14291 { (exit 1); exit 1; }; }
14294 # Find a good install program. We prefer a C program (faster),
14295 # so one script is as good as another. But avoid the broken or
14296 # incompatible versions:
14297 # SysV /etc/install, /usr/sbin/install
14298 # SunOS /usr/etc/install
14299 # IRIX /sbin/install
14301 # AmigaOS /C/install, which installs bootblocks on floppy discs
14302 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14303 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14304 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14305 # OS/2's system install, which has a completely different semantic
14306 # ./install, which can be erroneously created by make from ./install.sh.
14307 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14308 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14309 if test -z "$INSTALL"; then
14310 if test "${ac_cv_path_install+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14314 for as_dir
in $PATH
14317 test -z "$as_dir" && as_dir
=.
14318 # Account for people who put trailing slashes in PATH elements.
14320 .
/ | .
// | /cC
/* | \
14321 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
14322 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
14325 # OSF1 and SCO ODT 3.0 have their own names for install.
14326 # Don't use installbsd from OSF since it installs stuff as root
14328 for ac_prog
in ginstall scoinst
install; do
14329 for ac_exec_ext
in '' $ac_executable_extensions; do
14330 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14331 if test $ac_prog = install &&
14332 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14333 # AIX install. It has an incompatible calling convention.
14335 elif test $ac_prog = install &&
14336 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
14337 # program-specific install script used by HP pwplus--don't use.
14340 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
14352 if test "${ac_cv_path_install+set}" = set; then
14353 INSTALL
=$ac_cv_path_install
14355 # As a last resort, use the slow shell script. We don't cache a
14356 # path for INSTALL within a source directory, because that will
14357 # break other packages using the cache if that directory is
14358 # removed, or if the path is relative.
14359 INSTALL
=$ac_install_sh
14362 echo "$as_me:$LINENO: result: $INSTALL" >&5
14363 echo "${ECHO_T}$INSTALL" >&6
14365 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14366 # It thinks the first close brace ends the variable substitution.
14367 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
14369 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
14371 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
14377 ?
:* ) # Drive letter, considered as absolute.
14380 INSTALL
=`pwd`/${INSTALL} ;;
14387 INSTALL_PROGRAM
="cp -fp"
14388 INSTALL_DATA
="cp -fp"
14394 if test -n "$ac_tool_prefix"; then
14395 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14396 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
14397 echo "$as_me:$LINENO: checking for $ac_word" >&5
14398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14399 if test "${ac_cv_prog_STRIP+set}" = set; then
14400 echo $ECHO_N "(cached) $ECHO_C" >&6
14402 if test -n "$STRIP"; then
14403 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
14405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14406 for as_dir
in $PATH
14409 test -z "$as_dir" && as_dir
=.
14410 for ac_exec_ext
in '' $ac_executable_extensions; do
14411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14412 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
14413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14421 STRIP
=$ac_cv_prog_STRIP
14422 if test -n "$STRIP"; then
14423 echo "$as_me:$LINENO: result: $STRIP" >&5
14424 echo "${ECHO_T}$STRIP" >&6
14426 echo "$as_me:$LINENO: result: no" >&5
14427 echo "${ECHO_T}no" >&6
14431 if test -z "$ac_cv_prog_STRIP"; then
14433 # Extract the first word of "strip", so it can be a program name with args.
14434 set dummy strip
; ac_word
=$2
14435 echo "$as_me:$LINENO: checking for $ac_word" >&5
14436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14437 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14438 echo $ECHO_N "(cached) $ECHO_C" >&6
14440 if test -n "$ac_ct_STRIP"; then
14441 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
14443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14444 for as_dir
in $PATH
14447 test -z "$as_dir" && as_dir
=.
14448 for ac_exec_ext
in '' $ac_executable_extensions; do
14449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14450 ac_cv_prog_ac_ct_STRIP
="strip"
14451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14457 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="true"
14460 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
14461 if test -n "$ac_ct_STRIP"; then
14462 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14463 echo "${ECHO_T}$ac_ct_STRIP" >&6
14465 echo "$as_me:$LINENO: result: no" >&5
14466 echo "${ECHO_T}no" >&6
14471 STRIP
="$ac_cv_prog_STRIP"
14475 if test "$wxUSE_WINE" = "yes"; then
14476 if test -n "$ac_tool_prefix"; then
14477 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14478 set dummy
${ac_tool_prefix}wrc
; ac_word
=$2
14479 echo "$as_me:$LINENO: checking for $ac_word" >&5
14480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14481 if test "${ac_cv_prog_WINDRES+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 if test -n "$WINDRES"; then
14485 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14488 for as_dir
in $PATH
14491 test -z "$as_dir" && as_dir
=.
14492 for ac_exec_ext
in '' $ac_executable_extensions; do
14493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14494 ac_cv_prog_WINDRES
="${ac_tool_prefix}wrc"
14495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14503 WINDRES
=$ac_cv_prog_WINDRES
14504 if test -n "$WINDRES"; then
14505 echo "$as_me:$LINENO: result: $WINDRES" >&5
14506 echo "${ECHO_T}$WINDRES" >&6
14508 echo "$as_me:$LINENO: result: no" >&5
14509 echo "${ECHO_T}no" >&6
14513 if test -z "$ac_cv_prog_WINDRES"; then
14514 ac_ct_WINDRES
=$WINDRES
14515 # Extract the first word of "wrc", so it can be a program name with args.
14516 set dummy wrc
; ac_word
=$2
14517 echo "$as_me:$LINENO: checking for $ac_word" >&5
14518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14519 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14520 echo $ECHO_N "(cached) $ECHO_C" >&6
14522 if test -n "$ac_ct_WINDRES"; then
14523 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14526 for as_dir
in $PATH
14529 test -z "$as_dir" && as_dir
=.
14530 for ac_exec_ext
in '' $ac_executable_extensions; do
14531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14532 ac_cv_prog_ac_ct_WINDRES
="wrc"
14533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14541 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14542 if test -n "$ac_ct_WINDRES"; then
14543 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14544 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14546 echo "$as_me:$LINENO: result: no" >&5
14547 echo "${ECHO_T}no" >&6
14550 WINDRES
=$ac_ct_WINDRES
14552 WINDRES
="$ac_cv_prog_WINDRES"
14558 *-*-cygwin* | *-*-mingw32* )
14559 if test -n "$ac_tool_prefix"; then
14560 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14561 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
14562 echo "$as_me:$LINENO: checking for $ac_word" >&5
14563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14564 if test "${ac_cv_prog_WINDRES+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14567 if test -n "$WINDRES"; then
14568 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
14570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14571 for as_dir
in $PATH
14574 test -z "$as_dir" && as_dir
=.
14575 for ac_exec_ext
in '' $ac_executable_extensions; do
14576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14577 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
14578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14586 WINDRES
=$ac_cv_prog_WINDRES
14587 if test -n "$WINDRES"; then
14588 echo "$as_me:$LINENO: result: $WINDRES" >&5
14589 echo "${ECHO_T}$WINDRES" >&6
14591 echo "$as_me:$LINENO: result: no" >&5
14592 echo "${ECHO_T}no" >&6
14596 if test -z "$ac_cv_prog_WINDRES"; then
14597 ac_ct_WINDRES
=$WINDRES
14598 # Extract the first word of "windres", so it can be a program name with args.
14599 set dummy windres
; ac_word
=$2
14600 echo "$as_me:$LINENO: checking for $ac_word" >&5
14601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14602 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 if test -n "$ac_ct_WINDRES"; then
14606 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
14608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14609 for as_dir
in $PATH
14612 test -z "$as_dir" && as_dir
=.
14613 for ac_exec_ext
in '' $ac_executable_extensions; do
14614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14615 ac_cv_prog_ac_ct_WINDRES
="windres"
14616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14624 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
14625 if test -n "$ac_ct_WINDRES"; then
14626 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14627 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14629 echo "$as_me:$LINENO: result: no" >&5
14630 echo "${ECHO_T}no" >&6
14633 WINDRES
=$ac_ct_WINDRES
14635 WINDRES
="$ac_cv_prog_WINDRES"
14639 if test -n "$ac_tool_prefix"; then
14640 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14641 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
14642 echo "$as_me:$LINENO: checking for $ac_word" >&5
14643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14644 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14647 if test -n "$DLLTOOL"; then
14648 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14651 for as_dir
in $PATH
14654 test -z "$as_dir" && as_dir
=.
14655 for ac_exec_ext
in '' $ac_executable_extensions; do
14656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14657 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
14658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14666 DLLTOOL
=$ac_cv_prog_DLLTOOL
14667 if test -n "$DLLTOOL"; then
14668 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14669 echo "${ECHO_T}$DLLTOOL" >&6
14671 echo "$as_me:$LINENO: result: no" >&5
14672 echo "${ECHO_T}no" >&6
14676 if test -z "$ac_cv_prog_DLLTOOL"; then
14677 ac_ct_DLLTOOL
=$DLLTOOL
14678 # Extract the first word of "dlltool", so it can be a program name with args.
14679 set dummy dlltool
; ac_word
=$2
14680 echo "$as_me:$LINENO: checking for $ac_word" >&5
14681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14682 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14683 echo $ECHO_N "(cached) $ECHO_C" >&6
14685 if test -n "$ac_ct_DLLTOOL"; then
14686 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
14688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14689 for as_dir
in $PATH
14692 test -z "$as_dir" && as_dir
=.
14693 for ac_exec_ext
in '' $ac_executable_extensions; do
14694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14695 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
14696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14704 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
14705 if test -n "$ac_ct_DLLTOOL"; then
14706 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14707 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14709 echo "$as_me:$LINENO: result: no" >&5
14710 echo "${ECHO_T}no" >&6
14713 DLLTOOL
=$ac_ct_DLLTOOL
14715 DLLTOOL
="$ac_cv_prog_DLLTOOL"
14722 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14723 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14724 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14725 echo $ECHO_N "(cached) $ECHO_C" >&6
14728 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
14729 egrep -s GNU
> /dev
/null
); then
14730 wx_cv_prog_makeisgnu
="yes"
14732 wx_cv_prog_makeisgnu
="no"
14736 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14737 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14739 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14747 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14748 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14749 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14750 if test "${wx_cv_prog_makevpath+set}" = set; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14754 cat - << EOF > confMake
14760 if test ! -d sub
; then
14763 echo dummy
> sub
/file
14764 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
14766 rm -f sub
/file check final_file confMake
14768 if test "$RESULT" = 0; then
14769 wx_cv_prog_makevpath
="yes"
14771 wx_cv_prog_makevpath
="no"
14775 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14776 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14778 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14779 { { echo "$as_me:$LINENO: error:
14780 You need a make-utility that is able to use the variable
14782 If your version of make does not support VPATH correctly,
14783 please install GNU-make (possibly as gmake), and start
14784 configure with the following command:
14785 export MAKE=gmake; ./configure for sh-type shells
14786 setenv MAKE gmake; ./configure for csh-type shells
14787 Also please do remember to use gmake in this case every time
14788 you are trying to compile.
14790 echo "$as_me: error:
14791 You need a make-utility that is able to use the variable
14793 If your version of make does not support VPATH correctly,
14794 please install GNU-make (possibly as gmake), and start
14795 configure with the following command:
14796 export MAKE=gmake; ./configure for sh-type shells
14797 setenv MAKE gmake; ./configure for csh-type shells
14798 Also please do remember to use gmake in this case every time
14799 you are trying to compile.
14801 { (exit 1); exit 1; }; }
14803 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14804 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14806 if test "$LN_S" = "ln -s"; then
14807 echo "$as_me:$LINENO: result: yes" >&5
14808 echo "${ECHO_T}yes" >&6
14810 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14811 echo "${ECHO_T}no, using $LN_S" >&6
14815 for ac_prog
in lndir
14817 # Extract the first word of "$ac_prog", so it can be a program name with args.
14818 set dummy
$ac_prog; ac_word
=$2
14819 echo "$as_me:$LINENO: checking for $ac_word" >&5
14820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14821 if test "${ac_cv_prog_LNDIR+set}" = set; then
14822 echo $ECHO_N "(cached) $ECHO_C" >&6
14824 if test -n "$LNDIR"; then
14825 ac_cv_prog_LNDIR
="$LNDIR" # Let the user override the test.
14827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14828 for as_dir
in $PATH
14831 test -z "$as_dir" && as_dir
=.
14832 for ac_exec_ext
in '' $ac_executable_extensions; do
14833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14834 ac_cv_prog_LNDIR
="$ac_prog"
14835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14843 LNDIR
=$ac_cv_prog_LNDIR
14844 if test -n "$LNDIR"; then
14845 echo "$as_me:$LINENO: result: $LNDIR" >&5
14846 echo "${ECHO_T}$LNDIR" >&6
14848 echo "$as_me:$LINENO: result: no" >&5
14849 echo "${ECHO_T}no" >&6
14852 test -n "$LNDIR" && break
14854 test -n "$LNDIR" || LNDIR
="cp -pR"
14859 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14860 CXXFLAGS
="-qunique $CXXFLAGS"
14864 powerpc
-*-darwin* )
14865 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14866 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14867 cat >conftest.
$ac_ext <<_ACEOF
14870 cat confdefs.h
>>conftest.
$ac_ext
14871 cat >>conftest.
$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14877 #ifndef __POWERPC__
14878 choke me for lack of PowerPC
14885 rm -f conftest.
$ac_objext
14886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14887 (eval $ac_compile) 2>conftest.er1
14889 grep -v '^ *+' conftest.er1
>conftest.err
14891 cat conftest.err
>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); } &&
14894 { ac_try
='test -z "$ac_c_werror_flag"
14895 || test ! -s conftest.err'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; } &&
14901 { ac_try
='test -s conftest.$ac_objext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 echo "$as_me:$LINENO: result: yes" >&5
14908 echo "${ECHO_T}yes" >&6
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.
$ac_ext >&5
14913 echo "$as_me:$LINENO: result: no" >&5
14914 echo "${ECHO_T}no" >&6
14915 cat >>confdefs.h
<<\_ACEOF
14916 #define __POWERPC__ 1
14921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14927 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14928 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14929 cat >conftest.
$ac_ext <<_ACEOF
14932 cat confdefs.h
>>conftest.
$ac_ext
14933 cat >>conftest.
$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14935 #include <CoreFoundation/CFBase.h>
14945 rm -f conftest.
$ac_objext
14946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14947 (eval $ac_compile) 2>conftest.er1
14949 grep -v '^ *+' conftest.er1
>conftest.err
14951 cat conftest.err
>&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } &&
14954 { ac_try
='test -z "$ac_c_werror_flag"
14955 || test ! -s conftest.err'
14956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957 (eval $ac_try) 2>&5
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); }; } &&
14961 { ac_try
='test -s conftest.$ac_objext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14967 echo "$as_me:$LINENO: result: yes" >&5
14968 echo "${ECHO_T}yes" >&6
14970 echo "$as_me: failed program was:" >&5
14971 sed 's/^/| /' conftest.
$ac_ext >&5
14973 echo "$as_me:$LINENO: result: no" >&5
14974 echo "${ECHO_T}no" >&6
14975 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14976 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14977 cat >conftest.
$ac_ext <<_ACEOF
14980 cat confdefs.h
>>conftest.
$ac_ext
14981 cat >>conftest.
$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14983 #define __CF_USE_FRAMEWORK_INCLUDES__
14984 #include <CoreFoundation/CFBase.h>
14994 rm -f conftest.
$ac_objext
14995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14996 (eval $ac_compile) 2>conftest.er1
14998 grep -v '^ *+' conftest.er1
>conftest.err
15000 cat conftest.err
>&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } &&
15003 { ac_try
='test -z "$ac_c_werror_flag"
15004 || test ! -s conftest.err'
15005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15006 (eval $ac_try) 2>&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); }; } &&
15010 { ac_try
='test -s conftest.$ac_objext'
15011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012 (eval $ac_try) 2>&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); }; }; then
15016 echo "$as_me:$LINENO: result: yes" >&5
15017 echo "${ECHO_T}yes" >&6
15018 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15020 echo "$as_me: failed program was:" >&5
15021 sed 's/^/| /' conftest.
$ac_ext >&5
15023 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15024 See \`config.log' for more details." >&5
15025 echo "$as_me: error: no. CoreFoundation not available.
15026 See \`config.log' for more details." >&2;}
15027 { (exit 1); exit 1; }; }
15030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15039 *-pc-os2_emx | *-pc-os2-emx )
15040 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15041 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15042 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15043 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 ac_check_lib_save_LIBS
=$LIBS
15047 LIBS
="-lcExt $LIBS"
15048 cat >conftest.
$ac_ext <<_ACEOF
15051 cat confdefs.h
>>conftest.
$ac_ext
15052 cat >>conftest.
$ac_ext <<_ACEOF
15053 /* end confdefs.h. */
15055 /* Override any gcc2 internal prototype to avoid an error. */
15059 /* We use char because int might match the return type of a gcc2
15060 builtin and then its argument prototype would still apply. */
15070 rm -f conftest.
$ac_objext conftest
$ac_exeext
15071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15072 (eval $ac_link) 2>conftest.er1
15074 grep -v '^ *+' conftest.er1
>conftest.err
15076 cat conftest.err
>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } &&
15079 { ac_try
='test -z "$ac_c_werror_flag"
15080 || test ! -s conftest.err'
15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15082 (eval $ac_try) 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; } &&
15086 { ac_try
='test -s conftest$ac_exeext'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; }; then
15092 ac_cv_lib_cExt_drand48
=yes
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.
$ac_ext >&5
15097 ac_cv_lib_cExt_drand48
=no
15099 rm -f conftest.err conftest.
$ac_objext \
15100 conftest
$ac_exeext conftest.
$ac_ext
15101 LIBS
=$ac_check_lib_save_LIBS
15103 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15104 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15105 if test $ac_cv_lib_cExt_drand48 = yes; then
15106 LIBS
="$LIBS -lcExt"
15110 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
15112 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15113 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15114 if test "${wx_cv_gccversion+set}" = set; then
15115 echo $ECHO_N "(cached) $ECHO_C" >&6
15118 if test "$cross_compiling" = yes; then
15119 wx_cv_gccversion
="EMX2"
15122 cat >conftest.
$ac_ext <<_ACEOF
15125 cat confdefs.h
>>conftest.
$ac_ext
15126 cat >>conftest.
$ac_ext <<_ACEOF
15127 /* end confdefs.h. */
15133 FILE *f=fopen("conftestval", "w");
15138 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15140 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15150 rm -f conftest
$ac_exeext
15151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15152 (eval $ac_link) 2>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15157 (eval $ac_try) 2>&5
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); }; }; then
15161 wx_cv_gccversion
=`cat conftestval`
15163 echo "$as_me: program exited with status $ac_status" >&5
15164 echo "$as_me: failed program was:" >&5
15165 sed 's/^/| /' conftest.
$ac_ext >&5
15167 ( exit $ac_status )
15168 wx_cv_gccversion
="EMX2"
15170 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15174 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15175 echo "${ECHO_T}$wx_cv_gccversion" >&6
15176 if test "$wx_cv_gccversion" = "EMX2"; then
15177 LIBS
="$LIBS -lstdcpp"
15178 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15180 if test "$wx_cv_gccversion" = "EMX3"; then
15181 LIBS
="$LIBS -lstdcxx -lgcc"
15182 LDFLAGS
="$LDFLAGS -Zsysv-signals"
15184 LIBS
="$LIBS -lstdc++"
15187 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15188 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15189 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15199 ac_cpp
='$CXXCPP $CPPFLAGS'
15200 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15201 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15202 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15205 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15206 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15207 if test "${ac_cv_string_strcasecmp+set}" = set; then
15208 echo $ECHO_N "(cached) $ECHO_C" >&6
15211 cat >conftest.
$ac_ext <<_ACEOF
15214 cat confdefs.h
>>conftest.
$ac_ext
15215 cat >>conftest.
$ac_ext <<_ACEOF
15216 /* end confdefs.h. */
15218 #include <string.h>
15224 strcasecmp("foo", "bar");
15230 rm -f conftest.
$ac_objext conftest
$ac_exeext
15231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15232 (eval $ac_link) 2>conftest.er1
15234 grep -v '^ *+' conftest.er1
>conftest.err
15236 cat conftest.err
>&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); } &&
15239 { ac_try
='test -z "$ac_cxx_werror_flag"
15240 || test ! -s conftest.err'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; } &&
15246 { ac_try
='test -s conftest$ac_exeext'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; }; then
15252 ac_cv_string_strcasecmp
=yes
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.
$ac_ext >&5
15257 ac_cv_string_strcasecmp
=no
15260 rm -f conftest.err conftest.
$ac_objext \
15261 conftest
$ac_exeext conftest.
$ac_ext
15264 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15265 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15267 if test x
"$ac_cv_string_strcasecmp" = "xyes"; then
15268 cat >>confdefs.h
<<\_ACEOF
15269 #define HAVE_STRCASECMP_IN_STRING_H 1
15273 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15274 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15275 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 cat >conftest.
$ac_ext <<_ACEOF
15282 cat confdefs.h
>>conftest.
$ac_ext
15283 cat >>conftest.
$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15286 #include <strings.h>
15292 strcasecmp("foo", "bar");
15298 rm -f conftest.
$ac_objext conftest
$ac_exeext
15299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15300 (eval $ac_link) 2>conftest.er1
15302 grep -v '^ *+' conftest.er1
>conftest.err
15304 cat conftest.err
>&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } &&
15307 { ac_try
='test -z "$ac_cxx_werror_flag"
15308 || test ! -s conftest.err'
15309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310 (eval $ac_try) 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; } &&
15314 { ac_try
='test -s conftest$ac_exeext'
15315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316 (eval $ac_try) 2>&5
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); }; }; then
15320 ac_cv_strings_strcasecmp
=yes
15322 echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.
$ac_ext >&5
15325 ac_cv_strings_strcasecmp
=no
15328 rm -f conftest.err conftest.
$ac_objext \
15329 conftest
$ac_exeext conftest.
$ac_ext
15332 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15333 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15335 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
15336 cat >>confdefs.h
<<\_ACEOF
15337 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15341 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15342 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15343 { (exit 1); exit 1; }; }
15348 ac_cpp
='$CPP $CPPFLAGS'
15349 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15350 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15351 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15357 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15358 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15359 if test "${ac_cv_header_stdc+set}" = set; then
15360 echo $ECHO_N "(cached) $ECHO_C" >&6
15362 cat >conftest.
$ac_ext <<_ACEOF
15365 cat confdefs.h
>>conftest.
$ac_ext
15366 cat >>conftest.
$ac_ext <<_ACEOF
15367 /* end confdefs.h. */
15368 #include <stdlib.h>
15369 #include <stdarg.h>
15370 #include <string.h>
15381 rm -f conftest.
$ac_objext
15382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15383 (eval $ac_compile) 2>conftest.er1
15385 grep -v '^ *+' conftest.er1
>conftest.err
15387 cat conftest.err
>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); } &&
15390 { ac_try
='test -z "$ac_c_werror_flag"
15391 || test ! -s conftest.err'
15392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15393 (eval $ac_try) 2>&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); }; } &&
15397 { ac_try
='test -s conftest.$ac_objext'
15398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15399 (eval $ac_try) 2>&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); }; }; then
15403 ac_cv_header_stdc
=yes
15405 echo "$as_me: failed program was:" >&5
15406 sed 's/^/| /' conftest.
$ac_ext >&5
15408 ac_cv_header_stdc
=no
15410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15412 if test $ac_cv_header_stdc = yes; then
15413 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15414 cat >conftest.
$ac_ext <<_ACEOF
15417 cat confdefs.h
>>conftest.
$ac_ext
15418 cat >>conftest.
$ac_ext <<_ACEOF
15419 /* end confdefs.h. */
15420 #include <string.h>
15423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15424 $EGREP "memchr" >/dev
/null
2>&1; then
15427 ac_cv_header_stdc
=no
15433 if test $ac_cv_header_stdc = yes; then
15434 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15435 cat >conftest.
$ac_ext <<_ACEOF
15438 cat confdefs.h
>>conftest.
$ac_ext
15439 cat >>conftest.
$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 #include <stdlib.h>
15444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15445 $EGREP "free" >/dev
/null
2>&1; then
15448 ac_cv_header_stdc
=no
15454 if test $ac_cv_header_stdc = yes; then
15455 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15456 if test "$cross_compiling" = yes; then
15459 cat >conftest.
$ac_ext <<_ACEOF
15462 cat confdefs.h
>>conftest.
$ac_ext
15463 cat >>conftest.
$ac_ext <<_ACEOF
15464 /* end confdefs.h. */
15466 #if ((' ' & 0x0FF) == 0x020)
15467 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15468 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15470 # define ISLOWER(c) \
15471 (('a' <= (c) && (c) <= 'i') \
15472 || ('j' <= (c) && (c) <= 'r') \
15473 || ('s' <= (c) && (c) <= 'z'))
15474 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15477 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15482 for (i = 0; i < 256; i++)
15483 if (XOR (islower (i), ISLOWER (i))
15484 || toupper (i) != TOUPPER (i))
15489 rm -f conftest
$ac_exeext
15490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15491 (eval $ac_link) 2>&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15502 echo "$as_me: program exited with status $ac_status" >&5
15503 echo "$as_me: failed program was:" >&5
15504 sed 's/^/| /' conftest.
$ac_ext >&5
15506 ( exit $ac_status )
15507 ac_cv_header_stdc
=no
15509 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15513 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15514 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15515 if test $ac_cv_header_stdc = yes; then
15517 cat >>confdefs.h
<<\_ACEOF
15518 #define STDC_HEADERS 1
15523 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15533 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
15534 inttypes.h stdint.h unistd.h
15536 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15537 echo "$as_me:$LINENO: checking for $ac_header" >&5
15538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 cat >conftest.
$ac_ext <<_ACEOF
15545 cat confdefs.h
>>conftest.
$ac_ext
15546 cat >>conftest.
$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15548 $ac_includes_default
15550 #include <$ac_header>
15552 rm -f conftest.
$ac_objext
15553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15554 (eval $ac_compile) 2>conftest.er1
15556 grep -v '^ *+' conftest.er1
>conftest.err
15558 cat conftest.err
>&5
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); } &&
15561 { ac_try
='test -z "$ac_c_werror_flag"
15562 || test ! -s conftest.err'
15563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15564 (eval $ac_try) 2>&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); }; } &&
15568 { ac_try
='test -s conftest.$ac_objext'
15569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15570 (eval $ac_try) 2>&5
15572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 (exit $ac_status); }; }; then
15574 eval "$as_ac_Header=yes"
15576 echo "$as_me: failed program was:" >&5
15577 sed 's/^/| /' conftest.
$ac_ext >&5
15579 eval "$as_ac_Header=no"
15581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15586 cat >>confdefs.h
<<_ACEOF
15587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15596 for ac_header
in stdlib.h
15598 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15600 echo "$as_me:$LINENO: checking for $ac_header" >&5
15601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15603 echo $ECHO_N "(cached) $ECHO_C" >&6
15605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15608 # Is the header compilable?
15609 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15611 cat >conftest.
$ac_ext <<_ACEOF
15614 cat confdefs.h
>>conftest.
$ac_ext
15615 cat >>conftest.
$ac_ext <<_ACEOF
15616 /* end confdefs.h. */
15617 $ac_includes_default
15618 #include <$ac_header>
15620 rm -f conftest.
$ac_objext
15621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15622 (eval $ac_compile) 2>conftest.er1
15624 grep -v '^ *+' conftest.er1
>conftest.err
15626 cat conftest.err
>&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); } &&
15629 { ac_try
='test -z "$ac_c_werror_flag"
15630 || test ! -s conftest.err'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; } &&
15636 { ac_try
='test -s conftest.$ac_objext'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; }; then
15642 ac_header_compiler
=yes
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.
$ac_ext >&5
15647 ac_header_compiler
=no
15649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15651 echo "${ECHO_T}$ac_header_compiler" >&6
15653 # Is the header present?
15654 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15656 cat >conftest.
$ac_ext <<_ACEOF
15659 cat confdefs.h
>>conftest.
$ac_ext
15660 cat >>conftest.
$ac_ext <<_ACEOF
15661 /* end confdefs.h. */
15662 #include <$ac_header>
15664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15665 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15667 grep -v '^ *+' conftest.er1
>conftest.err
15669 cat conftest.err
>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); } >/dev
/null
; then
15672 if test -s conftest.err
; then
15673 ac_cpp_err
=$ac_c_preproc_warn_flag
15674 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15681 if test -z "$ac_cpp_err"; then
15682 ac_header_preproc
=yes
15684 echo "$as_me: failed program was:" >&5
15685 sed 's/^/| /' conftest.
$ac_ext >&5
15687 ac_header_preproc
=no
15689 rm -f conftest.err conftest.
$ac_ext
15690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15691 echo "${ECHO_T}$ac_header_preproc" >&6
15693 # So? What about this header?
15694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15696 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15697 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15699 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15700 ac_header_preproc
=yes
15703 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15705 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15706 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15707 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15708 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15709 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15710 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15713 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15714 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15717 ## ----------------------------------------- ##
15718 ## Report this to wx-dev@lists.wxwidgets.org ##
15719 ## ----------------------------------------- ##
15722 sed "s/^/$as_me: WARNING: /" >&2
15725 echo "$as_me:$LINENO: checking for $ac_header" >&5
15726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15728 echo $ECHO_N "(cached) $ECHO_C" >&6
15730 eval "$as_ac_Header=\$ac_header_preproc"
15732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15737 cat >>confdefs.h
<<_ACEOF
15738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15746 for ac_header
in malloc.h
15748 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15750 echo "$as_me:$LINENO: checking for $ac_header" >&5
15751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15753 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15758 # Is the header compilable?
15759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15761 cat >conftest.
$ac_ext <<_ACEOF
15764 cat confdefs.h
>>conftest.
$ac_ext
15765 cat >>conftest.
$ac_ext <<_ACEOF
15766 /* end confdefs.h. */
15767 $ac_includes_default
15768 #include <$ac_header>
15770 rm -f conftest.
$ac_objext
15771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15772 (eval $ac_compile) 2>conftest.er1
15774 grep -v '^ *+' conftest.er1
>conftest.err
15776 cat conftest.err
>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } &&
15779 { ac_try
='test -z "$ac_c_werror_flag"
15780 || test ! -s conftest.err'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try
='test -s conftest.$ac_objext'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; }; then
15792 ac_header_compiler
=yes
15794 echo "$as_me: failed program was:" >&5
15795 sed 's/^/| /' conftest.
$ac_ext >&5
15797 ac_header_compiler
=no
15799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15801 echo "${ECHO_T}$ac_header_compiler" >&6
15803 # Is the header present?
15804 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15805 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15806 cat >conftest.
$ac_ext <<_ACEOF
15809 cat confdefs.h
>>conftest.
$ac_ext
15810 cat >>conftest.
$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15812 #include <$ac_header>
15814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15815 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15817 grep -v '^ *+' conftest.er1
>conftest.err
15819 cat conftest.err
>&5
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); } >/dev
/null
; then
15822 if test -s conftest.err
; then
15823 ac_cpp_err
=$ac_c_preproc_warn_flag
15824 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15831 if test -z "$ac_cpp_err"; then
15832 ac_header_preproc
=yes
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.
$ac_ext >&5
15837 ac_header_preproc
=no
15839 rm -f conftest.err conftest.
$ac_ext
15840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15841 echo "${ECHO_T}$ac_header_preproc" >&6
15843 # So? What about this header?
15844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15846 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15847 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15849 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15850 ac_header_preproc
=yes
15853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15857 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15858 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15859 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15860 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15863 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15864 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15867 ## ----------------------------------------- ##
15868 ## Report this to wx-dev@lists.wxwidgets.org ##
15869 ## ----------------------------------------- ##
15872 sed "s/^/$as_me: WARNING: /" >&2
15875 echo "$as_me:$LINENO: checking for $ac_header" >&5
15876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15880 eval "$as_ac_Header=\$ac_header_preproc"
15882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15887 cat >>confdefs.h
<<_ACEOF
15888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15896 for ac_header
in unistd.h
15898 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15900 echo "$as_me:$LINENO: checking for $ac_header" >&5
15901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15903 echo $ECHO_N "(cached) $ECHO_C" >&6
15905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15908 # Is the header compilable?
15909 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15911 cat >conftest.
$ac_ext <<_ACEOF
15914 cat confdefs.h
>>conftest.
$ac_ext
15915 cat >>conftest.
$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15917 $ac_includes_default
15918 #include <$ac_header>
15920 rm -f conftest.
$ac_objext
15921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15922 (eval $ac_compile) 2>conftest.er1
15924 grep -v '^ *+' conftest.er1
>conftest.err
15926 cat conftest.err
>&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); } &&
15929 { ac_try
='test -z "$ac_c_werror_flag"
15930 || test ! -s conftest.err'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; } &&
15936 { ac_try
='test -s conftest.$ac_objext'
15937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15938 (eval $ac_try) 2>&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); }; }; then
15942 ac_header_compiler
=yes
15944 echo "$as_me: failed program was:" >&5
15945 sed 's/^/| /' conftest.
$ac_ext >&5
15947 ac_header_compiler
=no
15949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15951 echo "${ECHO_T}$ac_header_compiler" >&6
15953 # Is the header present?
15954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15956 cat >conftest.
$ac_ext <<_ACEOF
15959 cat confdefs.h
>>conftest.
$ac_ext
15960 cat >>conftest.
$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15962 #include <$ac_header>
15964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15967 grep -v '^ *+' conftest.er1
>conftest.err
15969 cat conftest.err
>&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } >/dev
/null
; then
15972 if test -s conftest.err
; then
15973 ac_cpp_err
=$ac_c_preproc_warn_flag
15974 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15981 if test -z "$ac_cpp_err"; then
15982 ac_header_preproc
=yes
15984 echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.
$ac_ext >&5
15987 ac_header_preproc
=no
15989 rm -f conftest.err conftest.
$ac_ext
15990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15991 echo "${ECHO_T}$ac_header_preproc" >&6
15993 # So? What about this header?
15994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15996 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16000 ac_header_preproc
=yes
16003 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16005 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16006 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16007 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16009 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16010 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16013 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16017 ## ----------------------------------------- ##
16018 ## Report this to wx-dev@lists.wxwidgets.org ##
16019 ## ----------------------------------------- ##
16022 sed "s/^/$as_me: WARNING: /" >&2
16025 echo "$as_me:$LINENO: checking for $ac_header" >&5
16026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16030 eval "$as_ac_Header=\$ac_header_preproc"
16032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16037 cat >>confdefs.h
<<_ACEOF
16038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16046 for ac_header
in wchar.h
16048 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16050 echo "$as_me:$LINENO: checking for $ac_header" >&5
16051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16053 echo $ECHO_N "(cached) $ECHO_C" >&6
16055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16058 # Is the header compilable?
16059 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16061 cat >conftest.
$ac_ext <<_ACEOF
16064 cat confdefs.h
>>conftest.
$ac_ext
16065 cat >>conftest.
$ac_ext <<_ACEOF
16066 /* end confdefs.h. */
16067 $ac_includes_default
16068 #include <$ac_header>
16070 rm -f conftest.
$ac_objext
16071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16072 (eval $ac_compile) 2>conftest.er1
16074 grep -v '^ *+' conftest.er1
>conftest.err
16076 cat conftest.err
>&5
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } &&
16079 { ac_try
='test -z "$ac_c_werror_flag"
16080 || test ! -s conftest.err'
16081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16082 (eval $ac_try) 2>&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); }; } &&
16086 { ac_try
='test -s conftest.$ac_objext'
16087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16088 (eval $ac_try) 2>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; }; then
16092 ac_header_compiler
=yes
16094 echo "$as_me: failed program was:" >&5
16095 sed 's/^/| /' conftest.
$ac_ext >&5
16097 ac_header_compiler
=no
16099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16101 echo "${ECHO_T}$ac_header_compiler" >&6
16103 # Is the header present?
16104 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16106 cat >conftest.
$ac_ext <<_ACEOF
16109 cat confdefs.h
>>conftest.
$ac_ext
16110 cat >>conftest.
$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112 #include <$ac_header>
16114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16115 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16117 grep -v '^ *+' conftest.er1
>conftest.err
16119 cat conftest.err
>&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } >/dev
/null
; then
16122 if test -s conftest.err
; then
16123 ac_cpp_err
=$ac_c_preproc_warn_flag
16124 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16131 if test -z "$ac_cpp_err"; then
16132 ac_header_preproc
=yes
16134 echo "$as_me: failed program was:" >&5
16135 sed 's/^/| /' conftest.
$ac_ext >&5
16137 ac_header_preproc
=no
16139 rm -f conftest.err conftest.
$ac_ext
16140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16141 echo "${ECHO_T}$ac_header_preproc" >&6
16143 # So? What about this header?
16144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16146 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16149 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16150 ac_header_preproc
=yes
16153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16157 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16158 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16159 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16160 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16163 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16164 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16167 ## ----------------------------------------- ##
16168 ## Report this to wx-dev@lists.wxwidgets.org ##
16169 ## ----------------------------------------- ##
16172 sed "s/^/$as_me: WARNING: /" >&2
16175 echo "$as_me:$LINENO: checking for $ac_header" >&5
16176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16178 echo $ECHO_N "(cached) $ECHO_C" >&6
16180 eval "$as_ac_Header=\$ac_header_preproc"
16182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16187 cat >>confdefs.h
<<_ACEOF
16188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16196 if test "$ac_cv_header_wchar_h" != "yes"; then
16198 for ac_header
in wcstr.h
16200 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16202 echo "$as_me:$LINENO: checking for $ac_header" >&5
16203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16205 echo $ECHO_N "(cached) $ECHO_C" >&6
16207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16210 # Is the header compilable?
16211 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16212 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16213 cat >conftest.
$ac_ext <<_ACEOF
16216 cat confdefs.h
>>conftest.
$ac_ext
16217 cat >>conftest.
$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219 $ac_includes_default
16220 #include <$ac_header>
16222 rm -f conftest.
$ac_objext
16223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16224 (eval $ac_compile) 2>conftest.er1
16226 grep -v '^ *+' conftest.er1
>conftest.err
16228 cat conftest.err
>&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } &&
16231 { ac_try
='test -z "$ac_c_werror_flag"
16232 || test ! -s conftest.err'
16233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16234 (eval $ac_try) 2>&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); }; } &&
16238 { ac_try
='test -s conftest.$ac_objext'
16239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 (eval $ac_try) 2>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); }; }; then
16244 ac_header_compiler
=yes
16246 echo "$as_me: failed program was:" >&5
16247 sed 's/^/| /' conftest.
$ac_ext >&5
16249 ac_header_compiler
=no
16251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16252 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16253 echo "${ECHO_T}$ac_header_compiler" >&6
16255 # Is the header present?
16256 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16257 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16258 cat >conftest.
$ac_ext <<_ACEOF
16261 cat confdefs.h
>>conftest.
$ac_ext
16262 cat >>conftest.
$ac_ext <<_ACEOF
16263 /* end confdefs.h. */
16264 #include <$ac_header>
16266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16267 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16269 grep -v '^ *+' conftest.er1
>conftest.err
16271 cat conftest.err
>&5
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); } >/dev
/null
; then
16274 if test -s conftest.err
; then
16275 ac_cpp_err
=$ac_c_preproc_warn_flag
16276 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16283 if test -z "$ac_cpp_err"; then
16284 ac_header_preproc
=yes
16286 echo "$as_me: failed program was:" >&5
16287 sed 's/^/| /' conftest.
$ac_ext >&5
16289 ac_header_preproc
=no
16291 rm -f conftest.err conftest.
$ac_ext
16292 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16293 echo "${ECHO_T}$ac_header_preproc" >&6
16295 # So? What about this header?
16296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16298 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16299 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16301 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16302 ac_header_preproc
=yes
16305 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16307 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16308 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16309 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16310 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16311 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16312 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16315 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16316 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16319 ## ----------------------------------------- ##
16320 ## Report this to wx-dev@lists.wxwidgets.org ##
16321 ## ----------------------------------------- ##
16324 sed "s/^/$as_me: WARNING: /" >&2
16327 echo "$as_me:$LINENO: checking for $ac_header" >&5
16328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 eval "$as_ac_Header=\$ac_header_preproc"
16334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16339 cat >>confdefs.h
<<_ACEOF
16340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16350 for ac_header
in fnmatch.h
16352 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16354 echo "$as_me:$LINENO: checking for $ac_header" >&5
16355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16357 echo $ECHO_N "(cached) $ECHO_C" >&6
16359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16362 # Is the header compilable?
16363 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16365 cat >conftest.
$ac_ext <<_ACEOF
16368 cat confdefs.h
>>conftest.
$ac_ext
16369 cat >>conftest.
$ac_ext <<_ACEOF
16370 /* end confdefs.h. */
16371 $ac_includes_default
16372 #include <$ac_header>
16374 rm -f conftest.
$ac_objext
16375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16376 (eval $ac_compile) 2>conftest.er1
16378 grep -v '^ *+' conftest.er1
>conftest.err
16380 cat conftest.err
>&5
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } &&
16383 { ac_try
='test -z "$ac_c_werror_flag"
16384 || test ! -s conftest.err'
16385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16386 (eval $ac_try) 2>&5
16388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16389 (exit $ac_status); }; } &&
16390 { ac_try
='test -s conftest.$ac_objext'
16391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16392 (eval $ac_try) 2>&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; }; then
16396 ac_header_compiler
=yes
16398 echo "$as_me: failed program was:" >&5
16399 sed 's/^/| /' conftest.
$ac_ext >&5
16401 ac_header_compiler
=no
16403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16405 echo "${ECHO_T}$ac_header_compiler" >&6
16407 # Is the header present?
16408 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16410 cat >conftest.
$ac_ext <<_ACEOF
16413 cat confdefs.h
>>conftest.
$ac_ext
16414 cat >>conftest.
$ac_ext <<_ACEOF
16415 /* end confdefs.h. */
16416 #include <$ac_header>
16418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16419 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16421 grep -v '^ *+' conftest.er1
>conftest.err
16423 cat conftest.err
>&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); } >/dev
/null
; then
16426 if test -s conftest.err
; then
16427 ac_cpp_err
=$ac_c_preproc_warn_flag
16428 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16435 if test -z "$ac_cpp_err"; then
16436 ac_header_preproc
=yes
16438 echo "$as_me: failed program was:" >&5
16439 sed 's/^/| /' conftest.
$ac_ext >&5
16441 ac_header_preproc
=no
16443 rm -f conftest.err conftest.
$ac_ext
16444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16445 echo "${ECHO_T}$ac_header_preproc" >&6
16447 # So? What about this header?
16448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16450 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16454 ac_header_preproc
=yes
16457 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16458 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16459 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16460 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16461 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16462 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16463 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16464 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16467 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16468 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16471 ## ----------------------------------------- ##
16472 ## Report this to wx-dev@lists.wxwidgets.org ##
16473 ## ----------------------------------------- ##
16476 sed "s/^/$as_me: WARNING: /" >&2
16479 echo "$as_me:$LINENO: checking for $ac_header" >&5
16480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16482 echo $ECHO_N "(cached) $ECHO_C" >&6
16484 eval "$as_ac_Header=\$ac_header_preproc"
16486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16491 cat >>confdefs.h
<<_ACEOF
16492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16501 for ac_header
in langinfo.h
16503 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16505 echo "$as_me:$LINENO: checking for $ac_header" >&5
16506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16513 # Is the header compilable?
16514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16516 cat >conftest.
$ac_ext <<_ACEOF
16519 cat confdefs.h
>>conftest.
$ac_ext
16520 cat >>conftest.
$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16522 $ac_includes_default
16523 #include <$ac_header>
16525 rm -f conftest.
$ac_objext
16526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16527 (eval $ac_compile) 2>conftest.er1
16529 grep -v '^ *+' conftest.er1
>conftest.err
16531 cat conftest.err
>&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); } &&
16534 { ac_try
='test -z "$ac_c_werror_flag"
16535 || test ! -s conftest.err'
16536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16537 (eval $ac_try) 2>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; } &&
16541 { ac_try
='test -s conftest.$ac_objext'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; }; then
16547 ac_header_compiler
=yes
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.
$ac_ext >&5
16552 ac_header_compiler
=no
16554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16556 echo "${ECHO_T}$ac_header_compiler" >&6
16558 # Is the header present?
16559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16561 cat >conftest.
$ac_ext <<_ACEOF
16564 cat confdefs.h
>>conftest.
$ac_ext
16565 cat >>conftest.
$ac_ext <<_ACEOF
16566 /* end confdefs.h. */
16567 #include <$ac_header>
16569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16570 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16572 grep -v '^ *+' conftest.er1
>conftest.err
16574 cat conftest.err
>&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); } >/dev
/null
; then
16577 if test -s conftest.err
; then
16578 ac_cpp_err
=$ac_c_preproc_warn_flag
16579 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16586 if test -z "$ac_cpp_err"; then
16587 ac_header_preproc
=yes
16589 echo "$as_me: failed program was:" >&5
16590 sed 's/^/| /' conftest.
$ac_ext >&5
16592 ac_header_preproc
=no
16594 rm -f conftest.err conftest.
$ac_ext
16595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16596 echo "${ECHO_T}$ac_header_preproc" >&6
16598 # So? What about this header?
16599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16605 ac_header_preproc
=yes
16608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16622 ## ----------------------------------------- ##
16623 ## Report this to wx-dev@lists.wxwidgets.org ##
16624 ## ----------------------------------------- ##
16627 sed "s/^/$as_me: WARNING: /" >&2
16630 echo "$as_me:$LINENO: checking for $ac_header" >&5
16631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 eval "$as_ac_Header=\$ac_header_preproc"
16637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16642 cat >>confdefs.h
<<_ACEOF
16643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16652 *-pc-os2_emx | *-pc-os2-emx )
16653 if test $ac_cv_header_langinfo_h = "yes" \
16654 -a \
( "$wx_cv_gccversion" = "EMX2" \
16655 -o "$wx_cv_gccversion" = "EMX3" \
16656 -o "$wx_cv_gccversion" = "Innotek5" \
); then
16657 LIBS
="$LIBS -lintl"
16663 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16664 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16665 if test "${ac_cv_c_const+set}" = set; then
16666 echo $ECHO_N "(cached) $ECHO_C" >&6
16668 cat >conftest.
$ac_ext <<_ACEOF
16671 cat confdefs.h
>>conftest.
$ac_ext
16672 cat >>conftest.
$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16678 /* FIXME: Include the comments suggested by Paul. */
16679 #ifndef __cplusplus
16680 /* Ultrix mips cc rejects this. */
16681 typedef int charset[2];
16683 /* SunOS 4.1.1 cc rejects this. */
16684 char const *const *ccp;
16686 /* NEC SVR4.0.2 mips cc rejects this. */
16687 struct point {int x, y;};
16688 static struct point const zero = {0,0};
16689 /* AIX XL C 1.02.0.0 rejects this.
16690 It does not let you subtract one const X* pointer from another in
16691 an arm of an if-expression whose if-part is not a constant
16693 const char *g = "string";
16694 ccp = &g + (g ? g-g : 0);
16695 /* HPUX 7.0 cc rejects these. */
16698 ccp = (char const *const *) p;
16699 { /* SCO 3.2v4 cc rejects this. */
16701 char const *s = 0 ? (char *) 0 : (char const *) 0;
16705 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16706 int x[] = {25, 17};
16707 const int *foo = &x[0];
16710 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16711 typedef const int *iptr;
16715 { /* AIX XL C 1.02.0.0 rejects this saying
16716 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16717 struct s { int j; const int *ap[3]; };
16718 struct s *b; b->j = 5;
16720 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16721 const int foo = 10;
16729 rm -f conftest.
$ac_objext
16730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16731 (eval $ac_compile) 2>conftest.er1
16733 grep -v '^ *+' conftest.er1
>conftest.err
16735 cat conftest.err
>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } &&
16738 { ac_try
='test -z "$ac_c_werror_flag"
16739 || test ! -s conftest.err'
16740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16741 (eval $ac_try) 2>&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); }; } &&
16745 { ac_try
='test -s conftest.$ac_objext'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; }; then
16753 echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.
$ac_ext >&5
16758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16760 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16761 echo "${ECHO_T}$ac_cv_c_const" >&6
16762 if test $ac_cv_c_const = no
; then
16764 cat >>confdefs.h
<<\_ACEOF
16770 echo "$as_me:$LINENO: checking for inline" >&5
16771 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16772 if test "${ac_cv_c_inline+set}" = set; then
16773 echo $ECHO_N "(cached) $ECHO_C" >&6
16776 for ac_kw
in inline __inline__ __inline
; do
16777 cat >conftest.
$ac_ext <<_ACEOF
16780 cat confdefs.h
>>conftest.
$ac_ext
16781 cat >>conftest.
$ac_ext <<_ACEOF
16782 /* end confdefs.h. */
16783 #ifndef __cplusplus
16785 static $ac_kw foo_t static_foo () {return 0; }
16786 $ac_kw foo_t foo () {return 0; }
16790 rm -f conftest.
$ac_objext
16791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16792 (eval $ac_compile) 2>conftest.er1
16794 grep -v '^ *+' conftest.er1
>conftest.err
16796 cat conftest.err
>&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); } &&
16799 { ac_try
='test -z "$ac_c_werror_flag"
16800 || test ! -s conftest.err'
16801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16802 (eval $ac_try) 2>&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); }; } &&
16806 { ac_try
='test -s conftest.$ac_objext'
16807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16808 (eval $ac_try) 2>&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }; }; then
16812 ac_cv_c_inline
=$ac_kw; break
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.
$ac_ext >&5
16818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16822 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16823 echo "${ECHO_T}$ac_cv_c_inline" >&6
16826 case $ac_cv_c_inline in
16829 case $ac_cv_c_inline in
16831 *) ac_val
=$ac_cv_c_inline;;
16833 cat >>confdefs.h
<<_ACEOF
16834 #ifndef __cplusplus
16835 #define inline $ac_val
16842 echo "$as_me:$LINENO: checking for char" >&5
16843 echo $ECHO_N "checking for char... $ECHO_C" >&6
16844 if test "${ac_cv_type_char+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16847 cat >conftest.
$ac_ext <<_ACEOF
16850 cat confdefs.h
>>conftest.
$ac_ext
16851 cat >>conftest.
$ac_ext <<_ACEOF
16852 /* end confdefs.h. */
16853 $ac_includes_default
16865 rm -f conftest.
$ac_objext
16866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16867 (eval $ac_compile) 2>conftest.er1
16869 grep -v '^ *+' conftest.er1
>conftest.err
16871 cat conftest.err
>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } &&
16874 { ac_try
='test -z "$ac_c_werror_flag"
16875 || test ! -s conftest.err'
16876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16877 (eval $ac_try) 2>&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); }; } &&
16881 { ac_try
='test -s conftest.$ac_objext'
16882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16883 (eval $ac_try) 2>&5
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); }; }; then
16887 ac_cv_type_char
=yes
16889 echo "$as_me: failed program was:" >&5
16890 sed 's/^/| /' conftest.
$ac_ext >&5
16894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16896 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16897 echo "${ECHO_T}$ac_cv_type_char" >&6
16899 echo "$as_me:$LINENO: checking size of char" >&5
16900 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16901 if test "${ac_cv_sizeof_char+set}" = set; then
16902 echo $ECHO_N "(cached) $ECHO_C" >&6
16904 if test "$ac_cv_type_char" = yes; then
16905 # The cast to unsigned long works around a bug in the HP C Compiler
16906 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16907 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16908 # This bug is HP SR number 8606223364.
16909 if test "$cross_compiling" = yes; then
16910 # Depending upon the size, compute the lo and hi bounds.
16911 cat >conftest.
$ac_ext <<_ACEOF
16914 cat confdefs.h
>>conftest.
$ac_ext
16915 cat >>conftest.
$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16917 $ac_includes_default
16921 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16928 rm -f conftest.
$ac_objext
16929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16930 (eval $ac_compile) 2>conftest.er1
16932 grep -v '^ *+' conftest.er1
>conftest.err
16934 cat conftest.err
>&5
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); } &&
16937 { ac_try
='test -z "$ac_c_werror_flag"
16938 || test ! -s conftest.err'
16939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16940 (eval $ac_try) 2>&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); }; } &&
16944 { ac_try
='test -s conftest.$ac_objext'
16945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16946 (eval $ac_try) 2>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); }; }; then
16952 cat >conftest.
$ac_ext <<_ACEOF
16955 cat confdefs.h
>>conftest.
$ac_ext
16956 cat >>conftest.
$ac_ext <<_ACEOF
16957 /* end confdefs.h. */
16958 $ac_includes_default
16962 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16969 rm -f conftest.
$ac_objext
16970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16971 (eval $ac_compile) 2>conftest.er1
16973 grep -v '^ *+' conftest.er1
>conftest.err
16975 cat conftest.err
>&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); } &&
16978 { ac_try
='test -z "$ac_c_werror_flag"
16979 || test ! -s conftest.err'
16980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981 (eval $ac_try) 2>&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); }; } &&
16985 { ac_try
='test -s conftest.$ac_objext'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; }; then
16991 ac_hi
=$ac_mid; break
16993 echo "$as_me: failed program was:" >&5
16994 sed 's/^/| /' conftest.
$ac_ext >&5
16996 ac_lo
=`expr $ac_mid + 1`
16997 if test $ac_lo -le $ac_mid; then
17001 ac_mid
=`expr 2 '*' $ac_mid + 1`
17003 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17006 echo "$as_me: failed program was:" >&5
17007 sed 's/^/| /' conftest.
$ac_ext >&5
17009 cat >conftest.
$ac_ext <<_ACEOF
17012 cat confdefs.h
>>conftest.
$ac_ext
17013 cat >>conftest.
$ac_ext <<_ACEOF
17014 /* end confdefs.h. */
17015 $ac_includes_default
17019 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17026 rm -f conftest.
$ac_objext
17027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17028 (eval $ac_compile) 2>conftest.er1
17030 grep -v '^ *+' conftest.er1
>conftest.err
17032 cat conftest.err
>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } &&
17035 { ac_try
='test -z "$ac_c_werror_flag"
17036 || test ! -s conftest.err'
17037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038 (eval $ac_try) 2>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; } &&
17042 { ac_try
='test -s conftest.$ac_objext'
17043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17044 (eval $ac_try) 2>&5
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }; }; then
17050 cat >conftest.
$ac_ext <<_ACEOF
17053 cat confdefs.h
>>conftest.
$ac_ext
17054 cat >>conftest.
$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17056 $ac_includes_default
17060 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17067 rm -f conftest.
$ac_objext
17068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17069 (eval $ac_compile) 2>conftest.er1
17071 grep -v '^ *+' conftest.er1
>conftest.err
17073 cat conftest.err
>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } &&
17076 { ac_try
='test -z "$ac_c_werror_flag"
17077 || test ! -s conftest.err'
17078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079 (eval $ac_try) 2>&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; } &&
17083 { ac_try
='test -s conftest.$ac_objext'
17084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085 (eval $ac_try) 2>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); }; }; then
17089 ac_lo
=$ac_mid; break
17091 echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.
$ac_ext >&5
17094 ac_hi
=`expr '(' $ac_mid ')' - 1`
17095 if test $ac_mid -le $ac_hi; then
17099 ac_mid
=`expr 2 '*' $ac_mid`
17101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.
$ac_ext >&5
17109 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17112 # Binary search between lo and hi bounds.
17113 while test "x$ac_lo" != "x$ac_hi"; do
17114 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17115 cat >conftest.
$ac_ext <<_ACEOF
17118 cat confdefs.h
>>conftest.
$ac_ext
17119 cat >>conftest.
$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17121 $ac_includes_default
17125 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17132 rm -f conftest.
$ac_objext
17133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17134 (eval $ac_compile) 2>conftest.er1
17136 grep -v '^ *+' conftest.er1
>conftest.err
17138 cat conftest.err
>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); } &&
17141 { ac_try
='test -z "$ac_c_werror_flag"
17142 || test ! -s conftest.err'
17143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144 (eval $ac_try) 2>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; } &&
17148 { ac_try
='test -s conftest.$ac_objext'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; }; then
17156 echo "$as_me: failed program was:" >&5
17157 sed 's/^/| /' conftest.
$ac_ext >&5
17159 ac_lo
=`expr '(' $ac_mid ')' + 1`
17161 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17164 ?
*) ac_cv_sizeof_char
=$ac_lo;;
17165 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17166 See \`config.log' for more details." >&5
17167 echo "$as_me: error: cannot compute sizeof (char), 77
17168 See \`config.log' for more details." >&2;}
17169 { (exit 1); exit 1; }; } ;;
17172 if test "$cross_compiling" = yes; then
17173 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17174 See \`config.log' for more details." >&5
17175 echo "$as_me: error: cannot run test program while cross compiling
17176 See \`config.log' for more details." >&2;}
17177 { (exit 1); exit 1; }; }
17179 cat >conftest.
$ac_ext <<_ACEOF
17182 cat confdefs.h
>>conftest.
$ac_ext
17183 cat >>conftest.
$ac_ext <<_ACEOF
17184 /* end confdefs.h. */
17185 $ac_includes_default
17186 long longval () { return (long) (sizeof (char)); }
17187 unsigned long ulongval () { return (long) (sizeof (char)); }
17189 #include <stdlib.h>
17194 FILE *f = fopen ("conftest.val", "w");
17197 if (((long) (sizeof (char))) < 0)
17199 long i = longval ();
17200 if (i != ((long) (sizeof (char))))
17202 fprintf (f, "%ld\n", i);
17206 unsigned long i = ulongval ();
17207 if (i != ((long) (sizeof (char))))
17209 fprintf (f, "%lu\n", i);
17211 exit (ferror (f) || fclose (f) != 0);
17217 rm -f conftest
$ac_exeext
17218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17219 (eval $ac_link) 2>&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17224 (eval $ac_try) 2>&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); }; }; then
17228 ac_cv_sizeof_char
=`cat conftest.val`
17230 echo "$as_me: program exited with status $ac_status" >&5
17231 echo "$as_me: failed program was:" >&5
17232 sed 's/^/| /' conftest.
$ac_ext >&5
17234 ( exit $ac_status )
17235 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17236 See \`config.log' for more details." >&5
17237 echo "$as_me: error: cannot compute sizeof (char), 77
17238 See \`config.log' for more details." >&2;}
17239 { (exit 1); exit 1; }; }
17241 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17246 ac_cv_sizeof_char
=0
17249 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17250 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17251 cat >>confdefs.h
<<_ACEOF
17252 #define SIZEOF_CHAR $ac_cv_sizeof_char
17256 echo "$as_me:$LINENO: checking for short" >&5
17257 echo $ECHO_N "checking for short... $ECHO_C" >&6
17258 if test "${ac_cv_type_short+set}" = set; then
17259 echo $ECHO_N "(cached) $ECHO_C" >&6
17261 cat >conftest.
$ac_ext <<_ACEOF
17264 cat confdefs.h
>>conftest.
$ac_ext
17265 cat >>conftest.
$ac_ext <<_ACEOF
17266 /* end confdefs.h. */
17267 $ac_includes_default
17273 if (sizeof (short))
17279 rm -f conftest.
$ac_objext
17280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17281 (eval $ac_compile) 2>conftest.er1
17283 grep -v '^ *+' conftest.er1
>conftest.err
17285 cat conftest.err
>&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); } &&
17288 { ac_try
='test -z "$ac_c_werror_flag"
17289 || test ! -s conftest.err'
17290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17291 (eval $ac_try) 2>&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); }; } &&
17295 { ac_try
='test -s conftest.$ac_objext'
17296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17297 (eval $ac_try) 2>&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); }; }; then
17301 ac_cv_type_short
=yes
17303 echo "$as_me: failed program was:" >&5
17304 sed 's/^/| /' conftest.
$ac_ext >&5
17306 ac_cv_type_short
=no
17308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17310 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17311 echo "${ECHO_T}$ac_cv_type_short" >&6
17313 echo "$as_me:$LINENO: checking size of short" >&5
17314 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17315 if test "${ac_cv_sizeof_short+set}" = set; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17318 if test "$ac_cv_type_short" = yes; then
17319 # The cast to unsigned long works around a bug in the HP C Compiler
17320 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17321 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17322 # This bug is HP SR number 8606223364.
17323 if test "$cross_compiling" = yes; then
17324 # Depending upon the size, compute the lo and hi bounds.
17325 cat >conftest.
$ac_ext <<_ACEOF
17328 cat confdefs.h
>>conftest.
$ac_ext
17329 cat >>conftest.
$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17331 $ac_includes_default
17335 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17342 rm -f conftest.
$ac_objext
17343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17344 (eval $ac_compile) 2>conftest.er1
17346 grep -v '^ *+' conftest.er1
>conftest.err
17348 cat conftest.err
>&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); } &&
17351 { ac_try
='test -z "$ac_c_werror_flag"
17352 || test ! -s conftest.err'
17353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17354 (eval $ac_try) 2>&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); }; } &&
17358 { ac_try
='test -s conftest.$ac_objext'
17359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17360 (eval $ac_try) 2>&5
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); }; }; then
17366 cat >conftest.
$ac_ext <<_ACEOF
17369 cat confdefs.h
>>conftest.
$ac_ext
17370 cat >>conftest.
$ac_ext <<_ACEOF
17371 /* end confdefs.h. */
17372 $ac_includes_default
17376 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17383 rm -f conftest.
$ac_objext
17384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17385 (eval $ac_compile) 2>conftest.er1
17387 grep -v '^ *+' conftest.er1
>conftest.err
17389 cat conftest.err
>&5
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); } &&
17392 { ac_try
='test -z "$ac_c_werror_flag"
17393 || test ! -s conftest.err'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; } &&
17399 { ac_try
='test -s conftest.$ac_objext'
17400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17401 (eval $ac_try) 2>&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); }; }; then
17405 ac_hi
=$ac_mid; break
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.
$ac_ext >&5
17410 ac_lo
=`expr $ac_mid + 1`
17411 if test $ac_lo -le $ac_mid; then
17415 ac_mid
=`expr 2 '*' $ac_mid + 1`
17417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17420 echo "$as_me: failed program was:" >&5
17421 sed 's/^/| /' conftest.
$ac_ext >&5
17423 cat >conftest.
$ac_ext <<_ACEOF
17426 cat confdefs.h
>>conftest.
$ac_ext
17427 cat >>conftest.
$ac_ext <<_ACEOF
17428 /* end confdefs.h. */
17429 $ac_includes_default
17433 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17440 rm -f conftest.
$ac_objext
17441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17442 (eval $ac_compile) 2>conftest.er1
17444 grep -v '^ *+' conftest.er1
>conftest.err
17446 cat conftest.err
>&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } &&
17449 { ac_try
='test -z "$ac_c_werror_flag"
17450 || test ! -s conftest.err'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; } &&
17456 { ac_try
='test -s conftest.$ac_objext'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; }; then
17464 cat >conftest.
$ac_ext <<_ACEOF
17467 cat confdefs.h
>>conftest.
$ac_ext
17468 cat >>conftest.
$ac_ext <<_ACEOF
17469 /* end confdefs.h. */
17470 $ac_includes_default
17474 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17481 rm -f conftest.
$ac_objext
17482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17483 (eval $ac_compile) 2>conftest.er1
17485 grep -v '^ *+' conftest.er1
>conftest.err
17487 cat conftest.err
>&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); } &&
17490 { ac_try
='test -z "$ac_c_werror_flag"
17491 || test ! -s conftest.err'
17492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17493 (eval $ac_try) 2>&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; } &&
17497 { ac_try
='test -s conftest.$ac_objext'
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499 (eval $ac_try) 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; }; then
17503 ac_lo
=$ac_mid; break
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.
$ac_ext >&5
17508 ac_hi
=`expr '(' $ac_mid ')' - 1`
17509 if test $ac_mid -le $ac_hi; then
17513 ac_mid
=`expr 2 '*' $ac_mid`
17515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.
$ac_ext >&5
17523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17526 # Binary search between lo and hi bounds.
17527 while test "x$ac_lo" != "x$ac_hi"; do
17528 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17529 cat >conftest.
$ac_ext <<_ACEOF
17532 cat confdefs.h
>>conftest.
$ac_ext
17533 cat >>conftest.
$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17535 $ac_includes_default
17539 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17546 rm -f conftest.
$ac_objext
17547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17548 (eval $ac_compile) 2>conftest.er1
17550 grep -v '^ *+' conftest.er1
>conftest.err
17552 cat conftest.err
>&5
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); } &&
17555 { ac_try
='test -z "$ac_c_werror_flag"
17556 || test ! -s conftest.err'
17557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17558 (eval $ac_try) 2>&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); }; } &&
17562 { ac_try
='test -s conftest.$ac_objext'
17563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564 (eval $ac_try) 2>&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); }; }; then
17570 echo "$as_me: failed program was:" >&5
17571 sed 's/^/| /' conftest.
$ac_ext >&5
17573 ac_lo
=`expr '(' $ac_mid ')' + 1`
17575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17578 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17579 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17580 See \`config.log' for more details." >&5
17581 echo "$as_me: error: cannot compute sizeof (short), 77
17582 See \`config.log' for more details." >&2;}
17583 { (exit 1); exit 1; }; } ;;
17586 if test "$cross_compiling" = yes; then
17587 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17588 See \`config.log' for more details." >&5
17589 echo "$as_me: error: cannot run test program while cross compiling
17590 See \`config.log' for more details." >&2;}
17591 { (exit 1); exit 1; }; }
17593 cat >conftest.
$ac_ext <<_ACEOF
17596 cat confdefs.h
>>conftest.
$ac_ext
17597 cat >>conftest.
$ac_ext <<_ACEOF
17598 /* end confdefs.h. */
17599 $ac_includes_default
17600 long longval () { return (long) (sizeof (short)); }
17601 unsigned long ulongval () { return (long) (sizeof (short)); }
17603 #include <stdlib.h>
17608 FILE *f = fopen ("conftest.val", "w");
17611 if (((long) (sizeof (short))) < 0)
17613 long i = longval ();
17614 if (i != ((long) (sizeof (short))))
17616 fprintf (f, "%ld\n", i);
17620 unsigned long i = ulongval ();
17621 if (i != ((long) (sizeof (short))))
17623 fprintf (f, "%lu\n", i);
17625 exit (ferror (f) || fclose (f) != 0);
17631 rm -f conftest
$ac_exeext
17632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17633 (eval $ac_link) 2>&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17638 (eval $ac_try) 2>&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); }; }; then
17642 ac_cv_sizeof_short
=`cat conftest.val`
17644 echo "$as_me: program exited with status $ac_status" >&5
17645 echo "$as_me: failed program was:" >&5
17646 sed 's/^/| /' conftest.
$ac_ext >&5
17648 ( exit $ac_status )
17649 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17650 See \`config.log' for more details." >&5
17651 echo "$as_me: error: cannot compute sizeof (short), 77
17652 See \`config.log' for more details." >&2;}
17653 { (exit 1); exit 1; }; }
17655 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17660 ac_cv_sizeof_short
=0
17663 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17664 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17665 cat >>confdefs.h
<<_ACEOF
17666 #define SIZEOF_SHORT $ac_cv_sizeof_short
17670 echo "$as_me:$LINENO: checking for void *" >&5
17671 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17672 if test "${ac_cv_type_void_p+set}" = set; then
17673 echo $ECHO_N "(cached) $ECHO_C" >&6
17675 cat >conftest.
$ac_ext <<_ACEOF
17678 cat confdefs.h
>>conftest.
$ac_ext
17679 cat >>conftest.
$ac_ext <<_ACEOF
17680 /* end confdefs.h. */
17681 $ac_includes_default
17687 if (sizeof (void *))
17693 rm -f conftest.
$ac_objext
17694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17695 (eval $ac_compile) 2>conftest.er1
17697 grep -v '^ *+' conftest.er1
>conftest.err
17699 cat conftest.err
>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try
='test -z "$ac_c_werror_flag"
17703 || test ! -s conftest.err'
17704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17705 (eval $ac_try) 2>&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); }; } &&
17709 { ac_try
='test -s conftest.$ac_objext'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; }; then
17715 ac_cv_type_void_p
=yes
17717 echo "$as_me: failed program was:" >&5
17718 sed 's/^/| /' conftest.
$ac_ext >&5
17720 ac_cv_type_void_p
=no
17722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17724 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17725 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17727 echo "$as_me:$LINENO: checking size of void *" >&5
17728 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17729 if test "${ac_cv_sizeof_void_p+set}" = set; then
17730 echo $ECHO_N "(cached) $ECHO_C" >&6
17732 if test "$ac_cv_type_void_p" = yes; then
17733 # The cast to unsigned long works around a bug in the HP C Compiler
17734 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17735 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17736 # This bug is HP SR number 8606223364.
17737 if test "$cross_compiling" = yes; then
17738 # Depending upon the size, compute the lo and hi bounds.
17739 cat >conftest.
$ac_ext <<_ACEOF
17742 cat confdefs.h
>>conftest.
$ac_ext
17743 cat >>conftest.
$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17745 $ac_includes_default
17749 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17756 rm -f conftest.
$ac_objext
17757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17758 (eval $ac_compile) 2>conftest.er1
17760 grep -v '^ *+' conftest.er1
>conftest.err
17762 cat conftest.err
>&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } &&
17765 { ac_try
='test -z "$ac_c_werror_flag"
17766 || test ! -s conftest.err'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; } &&
17772 { ac_try
='test -s conftest.$ac_objext'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; }; then
17780 cat >conftest.
$ac_ext <<_ACEOF
17783 cat confdefs.h
>>conftest.
$ac_ext
17784 cat >>conftest.
$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17786 $ac_includes_default
17790 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17797 rm -f conftest.
$ac_objext
17798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17799 (eval $ac_compile) 2>conftest.er1
17801 grep -v '^ *+' conftest.er1
>conftest.err
17803 cat conftest.err
>&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } &&
17806 { ac_try
='test -z "$ac_c_werror_flag"
17807 || test ! -s conftest.err'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; } &&
17813 { ac_try
='test -s conftest.$ac_objext'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; }; then
17819 ac_hi
=$ac_mid; break
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.
$ac_ext >&5
17824 ac_lo
=`expr $ac_mid + 1`
17825 if test $ac_lo -le $ac_mid; then
17829 ac_mid
=`expr 2 '*' $ac_mid + 1`
17831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17834 echo "$as_me: failed program was:" >&5
17835 sed 's/^/| /' conftest.
$ac_ext >&5
17837 cat >conftest.
$ac_ext <<_ACEOF
17840 cat confdefs.h
>>conftest.
$ac_ext
17841 cat >>conftest.
$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843 $ac_includes_default
17847 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17854 rm -f conftest.
$ac_objext
17855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17856 (eval $ac_compile) 2>conftest.er1
17858 grep -v '^ *+' conftest.er1
>conftest.err
17860 cat conftest.err
>&5
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); } &&
17863 { ac_try
='test -z "$ac_c_werror_flag"
17864 || test ! -s conftest.err'
17865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17866 (eval $ac_try) 2>&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; } &&
17870 { ac_try
='test -s conftest.$ac_objext'
17871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17872 (eval $ac_try) 2>&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); }; }; then
17878 cat >conftest.
$ac_ext <<_ACEOF
17881 cat confdefs.h
>>conftest.
$ac_ext
17882 cat >>conftest.
$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17884 $ac_includes_default
17888 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17895 rm -f conftest.
$ac_objext
17896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17897 (eval $ac_compile) 2>conftest.er1
17899 grep -v '^ *+' conftest.er1
>conftest.err
17901 cat conftest.err
>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); } &&
17904 { ac_try
='test -z "$ac_c_werror_flag"
17905 || test ! -s conftest.err'
17906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17907 (eval $ac_try) 2>&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); }; } &&
17911 { ac_try
='test -s conftest.$ac_objext'
17912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17913 (eval $ac_try) 2>&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); }; }; then
17917 ac_lo
=$ac_mid; break
17919 echo "$as_me: failed program was:" >&5
17920 sed 's/^/| /' conftest.
$ac_ext >&5
17922 ac_hi
=`expr '(' $ac_mid ')' - 1`
17923 if test $ac_mid -le $ac_hi; then
17927 ac_mid
=`expr 2 '*' $ac_mid`
17929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17932 echo "$as_me: failed program was:" >&5
17933 sed 's/^/| /' conftest.
$ac_ext >&5
17937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17940 # Binary search between lo and hi bounds.
17941 while test "x$ac_lo" != "x$ac_hi"; do
17942 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17943 cat >conftest.
$ac_ext <<_ACEOF
17946 cat confdefs.h
>>conftest.
$ac_ext
17947 cat >>conftest.
$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949 $ac_includes_default
17953 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17960 rm -f conftest.
$ac_objext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17962 (eval $ac_compile) 2>conftest.er1
17964 grep -v '^ *+' conftest.er1
>conftest.err
17966 cat conftest.err
>&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try
='test -z "$ac_c_werror_flag"
17970 || test ! -s conftest.err'
17971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17972 (eval $ac_try) 2>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); }; } &&
17976 { ac_try
='test -s conftest.$ac_objext'
17977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17978 (eval $ac_try) 2>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; }; then
17984 echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.
$ac_ext >&5
17987 ac_lo
=`expr '(' $ac_mid ')' + 1`
17989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17992 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
17993 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17994 See \`config.log' for more details." >&5
17995 echo "$as_me: error: cannot compute sizeof (void *), 77
17996 See \`config.log' for more details." >&2;}
17997 { (exit 1); exit 1; }; } ;;
18000 if test "$cross_compiling" = yes; then
18001 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18002 See \`config.log' for more details." >&5
18003 echo "$as_me: error: cannot run test program while cross compiling
18004 See \`config.log' for more details." >&2;}
18005 { (exit 1); exit 1; }; }
18007 cat >conftest.
$ac_ext <<_ACEOF
18010 cat confdefs.h
>>conftest.
$ac_ext
18011 cat >>conftest.
$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18013 $ac_includes_default
18014 long longval () { return (long) (sizeof (void *)); }
18015 unsigned long ulongval () { return (long) (sizeof (void *)); }
18017 #include <stdlib.h>
18022 FILE *f = fopen ("conftest.val", "w");
18025 if (((long) (sizeof (void *))) < 0)
18027 long i = longval ();
18028 if (i != ((long) (sizeof (void *))))
18030 fprintf (f, "%ld\n", i);
18034 unsigned long i = ulongval ();
18035 if (i != ((long) (sizeof (void *))))
18037 fprintf (f, "%lu\n", i);
18039 exit (ferror (f) || fclose (f) != 0);
18045 rm -f conftest
$ac_exeext
18046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18047 (eval $ac_link) 2>&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 ac_cv_sizeof_void_p
=`cat conftest.val`
18058 echo "$as_me: program exited with status $ac_status" >&5
18059 echo "$as_me: failed program was:" >&5
18060 sed 's/^/| /' conftest.
$ac_ext >&5
18062 ( exit $ac_status )
18063 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18064 See \`config.log' for more details." >&5
18065 echo "$as_me: error: cannot compute sizeof (void *), 77
18066 See \`config.log' for more details." >&2;}
18067 { (exit 1); exit 1; }; }
18069 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18074 ac_cv_sizeof_void_p
=0
18077 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18078 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18079 cat >>confdefs.h
<<_ACEOF
18080 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18084 echo "$as_me:$LINENO: checking for int" >&5
18085 echo $ECHO_N "checking for int... $ECHO_C" >&6
18086 if test "${ac_cv_type_int+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18089 cat >conftest.
$ac_ext <<_ACEOF
18092 cat confdefs.h
>>conftest.
$ac_ext
18093 cat >>conftest.
$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 $ac_includes_default
18107 rm -f conftest.
$ac_objext
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>conftest.er1
18111 grep -v '^ *+' conftest.er1
>conftest.err
18113 cat conftest.err
>&5
18114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115 (exit $ac_status); } &&
18116 { ac_try
='test -z "$ac_c_werror_flag"
18117 || test ! -s conftest.err'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; } &&
18123 { ac_try
='test -s conftest.$ac_objext'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; }; then
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.
$ac_ext >&5
18136 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18138 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18139 echo "${ECHO_T}$ac_cv_type_int" >&6
18141 echo "$as_me:$LINENO: checking size of int" >&5
18142 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18143 if test "${ac_cv_sizeof_int+set}" = set; then
18144 echo $ECHO_N "(cached) $ECHO_C" >&6
18146 if test "$ac_cv_type_int" = yes; then
18147 # The cast to unsigned long works around a bug in the HP C Compiler
18148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18150 # This bug is HP SR number 8606223364.
18151 if test "$cross_compiling" = yes; then
18152 # Depending upon the size, compute the lo and hi bounds.
18153 cat >conftest.
$ac_ext <<_ACEOF
18156 cat confdefs.h
>>conftest.
$ac_ext
18157 cat >>conftest.
$ac_ext <<_ACEOF
18158 /* end confdefs.h. */
18159 $ac_includes_default
18163 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18170 rm -f conftest.
$ac_objext
18171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18172 (eval $ac_compile) 2>conftest.er1
18174 grep -v '^ *+' conftest.er1
>conftest.err
18176 cat conftest.err
>&5
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); } &&
18179 { ac_try
='test -z "$ac_c_werror_flag"
18180 || test ! -s conftest.err'
18181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18182 (eval $ac_try) 2>&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); }; } &&
18186 { ac_try
='test -s conftest.$ac_objext'
18187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18188 (eval $ac_try) 2>&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); }; }; then
18194 cat >conftest.
$ac_ext <<_ACEOF
18197 cat confdefs.h
>>conftest.
$ac_ext
18198 cat >>conftest.
$ac_ext <<_ACEOF
18199 /* end confdefs.h. */
18200 $ac_includes_default
18204 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18211 rm -f conftest.
$ac_objext
18212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18213 (eval $ac_compile) 2>conftest.er1
18215 grep -v '^ *+' conftest.er1
>conftest.err
18217 cat conftest.err
>&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } &&
18220 { ac_try
='test -z "$ac_c_werror_flag"
18221 || test ! -s conftest.err'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; } &&
18227 { ac_try
='test -s conftest.$ac_objext'
18228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229 (eval $ac_try) 2>&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); }; }; then
18233 ac_hi
=$ac_mid; break
18235 echo "$as_me: failed program was:" >&5
18236 sed 's/^/| /' conftest.
$ac_ext >&5
18238 ac_lo
=`expr $ac_mid + 1`
18239 if test $ac_lo -le $ac_mid; then
18243 ac_mid
=`expr 2 '*' $ac_mid + 1`
18245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18248 echo "$as_me: failed program was:" >&5
18249 sed 's/^/| /' conftest.
$ac_ext >&5
18251 cat >conftest.
$ac_ext <<_ACEOF
18254 cat confdefs.h
>>conftest.
$ac_ext
18255 cat >>conftest.
$ac_ext <<_ACEOF
18256 /* end confdefs.h. */
18257 $ac_includes_default
18261 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18268 rm -f conftest.
$ac_objext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18270 (eval $ac_compile) 2>conftest.er1
18272 grep -v '^ *+' conftest.er1
>conftest.err
18274 cat conftest.err
>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try
='test -z "$ac_c_werror_flag"
18278 || test ! -s conftest.err'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; } &&
18284 { ac_try
='test -s conftest.$ac_objext'
18285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18286 (eval $ac_try) 2>&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); }; }; then
18292 cat >conftest.
$ac_ext <<_ACEOF
18295 cat confdefs.h
>>conftest.
$ac_ext
18296 cat >>conftest.
$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18298 $ac_includes_default
18302 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18309 rm -f conftest.
$ac_objext
18310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18311 (eval $ac_compile) 2>conftest.er1
18313 grep -v '^ *+' conftest.er1
>conftest.err
18315 cat conftest.err
>&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } &&
18318 { ac_try
='test -z "$ac_c_werror_flag"
18319 || test ! -s conftest.err'
18320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; } &&
18325 { ac_try
='test -s conftest.$ac_objext'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; }; then
18331 ac_lo
=$ac_mid; break
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.
$ac_ext >&5
18336 ac_hi
=`expr '(' $ac_mid ')' - 1`
18337 if test $ac_mid -le $ac_hi; then
18341 ac_mid
=`expr 2 '*' $ac_mid`
18343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.
$ac_ext >&5
18351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18354 # Binary search between lo and hi bounds.
18355 while test "x$ac_lo" != "x$ac_hi"; do
18356 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18357 cat >conftest.
$ac_ext <<_ACEOF
18360 cat confdefs.h
>>conftest.
$ac_ext
18361 cat >>conftest.
$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 $ac_includes_default
18367 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18374 rm -f conftest.
$ac_objext
18375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18376 (eval $ac_compile) 2>conftest.er1
18378 grep -v '^ *+' conftest.er1
>conftest.err
18380 cat conftest.err
>&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } &&
18383 { ac_try
='test -z "$ac_c_werror_flag"
18384 || test ! -s conftest.err'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; } &&
18390 { ac_try
='test -s conftest.$ac_objext'
18391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18392 (eval $ac_try) 2>&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); }; }; then
18398 echo "$as_me: failed program was:" >&5
18399 sed 's/^/| /' conftest.
$ac_ext >&5
18401 ac_lo
=`expr '(' $ac_mid ')' + 1`
18403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18406 ?
*) ac_cv_sizeof_int
=$ac_lo;;
18407 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18408 See \`config.log' for more details." >&5
18409 echo "$as_me: error: cannot compute sizeof (int), 77
18410 See \`config.log' for more details." >&2;}
18411 { (exit 1); exit 1; }; } ;;
18414 if test "$cross_compiling" = yes; then
18415 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18416 See \`config.log' for more details." >&5
18417 echo "$as_me: error: cannot run test program while cross compiling
18418 See \`config.log' for more details." >&2;}
18419 { (exit 1); exit 1; }; }
18421 cat >conftest.
$ac_ext <<_ACEOF
18424 cat confdefs.h
>>conftest.
$ac_ext
18425 cat >>conftest.
$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18427 $ac_includes_default
18428 long longval () { return (long) (sizeof (int)); }
18429 unsigned long ulongval () { return (long) (sizeof (int)); }
18431 #include <stdlib.h>
18436 FILE *f = fopen ("conftest.val", "w");
18439 if (((long) (sizeof (int))) < 0)
18441 long i = longval ();
18442 if (i != ((long) (sizeof (int))))
18444 fprintf (f, "%ld\n", i);
18448 unsigned long i = ulongval ();
18449 if (i != ((long) (sizeof (int))))
18451 fprintf (f, "%lu\n", i);
18453 exit (ferror (f) || fclose (f) != 0);
18459 rm -f conftest
$ac_exeext
18460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18461 (eval $ac_link) 2>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; }; then
18470 ac_cv_sizeof_int
=`cat conftest.val`
18472 echo "$as_me: program exited with status $ac_status" >&5
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.
$ac_ext >&5
18476 ( exit $ac_status )
18477 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18478 See \`config.log' for more details." >&5
18479 echo "$as_me: error: cannot compute sizeof (int), 77
18480 See \`config.log' for more details." >&2;}
18481 { (exit 1); exit 1; }; }
18483 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18491 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18492 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18493 cat >>confdefs.h
<<_ACEOF
18494 #define SIZEOF_INT $ac_cv_sizeof_int
18498 echo "$as_me:$LINENO: checking for long" >&5
18499 echo $ECHO_N "checking for long... $ECHO_C" >&6
18500 if test "${ac_cv_type_long+set}" = set; then
18501 echo $ECHO_N "(cached) $ECHO_C" >&6
18503 cat >conftest.
$ac_ext <<_ACEOF
18506 cat confdefs.h
>>conftest.
$ac_ext
18507 cat >>conftest.
$ac_ext <<_ACEOF
18508 /* end confdefs.h. */
18509 $ac_includes_default
18521 rm -f conftest.
$ac_objext
18522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18523 (eval $ac_compile) 2>conftest.er1
18525 grep -v '^ *+' conftest.er1
>conftest.err
18527 cat conftest.err
>&5
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); } &&
18530 { ac_try
='test -z "$ac_c_werror_flag"
18531 || test ! -s conftest.err'
18532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18533 (eval $ac_try) 2>&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); }; } &&
18537 { ac_try
='test -s conftest.$ac_objext'
18538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18539 (eval $ac_try) 2>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; }; then
18543 ac_cv_type_long
=yes
18545 echo "$as_me: failed program was:" >&5
18546 sed 's/^/| /' conftest.
$ac_ext >&5
18550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18552 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18553 echo "${ECHO_T}$ac_cv_type_long" >&6
18555 echo "$as_me:$LINENO: checking size of long" >&5
18556 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18557 if test "${ac_cv_sizeof_long+set}" = set; then
18558 echo $ECHO_N "(cached) $ECHO_C" >&6
18560 if test "$ac_cv_type_long" = yes; then
18561 # The cast to unsigned long works around a bug in the HP C Compiler
18562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18564 # This bug is HP SR number 8606223364.
18565 if test "$cross_compiling" = yes; then
18566 # Depending upon the size, compute the lo and hi bounds.
18567 cat >conftest.
$ac_ext <<_ACEOF
18570 cat confdefs.h
>>conftest.
$ac_ext
18571 cat >>conftest.
$ac_ext <<_ACEOF
18572 /* end confdefs.h. */
18573 $ac_includes_default
18577 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18584 rm -f conftest.
$ac_objext
18585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18586 (eval $ac_compile) 2>conftest.er1
18588 grep -v '^ *+' conftest.er1
>conftest.err
18590 cat conftest.err
>&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } &&
18593 { ac_try
='test -z "$ac_c_werror_flag"
18594 || test ! -s conftest.err'
18595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18596 (eval $ac_try) 2>&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); }; } &&
18600 { ac_try
='test -s conftest.$ac_objext'
18601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18602 (eval $ac_try) 2>&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); }; }; then
18608 cat >conftest.
$ac_ext <<_ACEOF
18611 cat confdefs.h
>>conftest.
$ac_ext
18612 cat >>conftest.
$ac_ext <<_ACEOF
18613 /* end confdefs.h. */
18614 $ac_includes_default
18618 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18625 rm -f conftest.
$ac_objext
18626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18627 (eval $ac_compile) 2>conftest.er1
18629 grep -v '^ *+' conftest.er1
>conftest.err
18631 cat conftest.err
>&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } &&
18634 { ac_try
='test -z "$ac_c_werror_flag"
18635 || test ! -s conftest.err'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; } &&
18641 { ac_try
='test -s conftest.$ac_objext'
18642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18643 (eval $ac_try) 2>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); }; }; then
18647 ac_hi
=$ac_mid; break
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.
$ac_ext >&5
18652 ac_lo
=`expr $ac_mid + 1`
18653 if test $ac_lo -le $ac_mid; then
18657 ac_mid
=`expr 2 '*' $ac_mid + 1`
18659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18662 echo "$as_me: failed program was:" >&5
18663 sed 's/^/| /' conftest.
$ac_ext >&5
18665 cat >conftest.
$ac_ext <<_ACEOF
18668 cat confdefs.h
>>conftest.
$ac_ext
18669 cat >>conftest.
$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671 $ac_includes_default
18675 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18682 rm -f conftest.
$ac_objext
18683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18684 (eval $ac_compile) 2>conftest.er1
18686 grep -v '^ *+' conftest.er1
>conftest.err
18688 cat conftest.err
>&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); } &&
18691 { ac_try
='test -z "$ac_c_werror_flag"
18692 || test ! -s conftest.err'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; } &&
18698 { ac_try
='test -s conftest.$ac_objext'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; }; then
18706 cat >conftest.
$ac_ext <<_ACEOF
18709 cat confdefs.h
>>conftest.
$ac_ext
18710 cat >>conftest.
$ac_ext <<_ACEOF
18711 /* end confdefs.h. */
18712 $ac_includes_default
18716 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18723 rm -f conftest.
$ac_objext
18724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18725 (eval $ac_compile) 2>conftest.er1
18727 grep -v '^ *+' conftest.er1
>conftest.err
18729 cat conftest.err
>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); } &&
18732 { ac_try
='test -z "$ac_c_werror_flag"
18733 || test ! -s conftest.err'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; } &&
18739 { ac_try
='test -s conftest.$ac_objext'
18740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18741 (eval $ac_try) 2>&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); }; }; then
18745 ac_lo
=$ac_mid; break
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.
$ac_ext >&5
18750 ac_hi
=`expr '(' $ac_mid ')' - 1`
18751 if test $ac_mid -le $ac_hi; then
18755 ac_mid
=`expr 2 '*' $ac_mid`
18757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18760 echo "$as_me: failed program was:" >&5
18761 sed 's/^/| /' conftest.
$ac_ext >&5
18765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18768 # Binary search between lo and hi bounds.
18769 while test "x$ac_lo" != "x$ac_hi"; do
18770 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18771 cat >conftest.
$ac_ext <<_ACEOF
18774 cat confdefs.h
>>conftest.
$ac_ext
18775 cat >>conftest.
$ac_ext <<_ACEOF
18776 /* end confdefs.h. */
18777 $ac_includes_default
18781 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18788 rm -f conftest.
$ac_objext
18789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18790 (eval $ac_compile) 2>conftest.er1
18792 grep -v '^ *+' conftest.er1
>conftest.err
18794 cat conftest.err
>&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } &&
18797 { ac_try
='test -z "$ac_c_werror_flag"
18798 || test ! -s conftest.err'
18799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800 (eval $ac_try) 2>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; } &&
18804 { ac_try
='test -s conftest.$ac_objext'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; }; then
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.
$ac_ext >&5
18815 ac_lo
=`expr '(' $ac_mid ')' + 1`
18817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18820 ?
*) ac_cv_sizeof_long
=$ac_lo;;
18821 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18822 See \`config.log' for more details." >&5
18823 echo "$as_me: error: cannot compute sizeof (long), 77
18824 See \`config.log' for more details." >&2;}
18825 { (exit 1); exit 1; }; } ;;
18828 if test "$cross_compiling" = yes; then
18829 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18830 See \`config.log' for more details." >&5
18831 echo "$as_me: error: cannot run test program while cross compiling
18832 See \`config.log' for more details." >&2;}
18833 { (exit 1); exit 1; }; }
18835 cat >conftest.
$ac_ext <<_ACEOF
18838 cat confdefs.h
>>conftest.
$ac_ext
18839 cat >>conftest.
$ac_ext <<_ACEOF
18840 /* end confdefs.h. */
18841 $ac_includes_default
18842 long longval () { return (long) (sizeof (long)); }
18843 unsigned long ulongval () { return (long) (sizeof (long)); }
18845 #include <stdlib.h>
18850 FILE *f = fopen ("conftest.val", "w");
18853 if (((long) (sizeof (long))) < 0)
18855 long i = longval ();
18856 if (i != ((long) (sizeof (long))))
18858 fprintf (f, "%ld\n", i);
18862 unsigned long i = ulongval ();
18863 if (i != ((long) (sizeof (long))))
18865 fprintf (f, "%lu\n", i);
18867 exit (ferror (f) || fclose (f) != 0);
18873 rm -f conftest
$ac_exeext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18875 (eval $ac_link) 2>&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880 (eval $ac_try) 2>&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; }; then
18884 ac_cv_sizeof_long
=`cat conftest.val`
18886 echo "$as_me: program exited with status $ac_status" >&5
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.
$ac_ext >&5
18890 ( exit $ac_status )
18891 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18892 See \`config.log' for more details." >&5
18893 echo "$as_me: error: cannot compute sizeof (long), 77
18894 See \`config.log' for more details." >&2;}
18895 { (exit 1); exit 1; }; }
18897 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18902 ac_cv_sizeof_long
=0
18905 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18906 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18907 cat >>confdefs.h
<<_ACEOF
18908 #define SIZEOF_LONG $ac_cv_sizeof_long
18912 echo "$as_me:$LINENO: checking for size_t" >&5
18913 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18914 if test "${ac_cv_type_size_t+set}" = set; then
18915 echo $ECHO_N "(cached) $ECHO_C" >&6
18917 cat >conftest.
$ac_ext <<_ACEOF
18920 cat confdefs.h
>>conftest.
$ac_ext
18921 cat >>conftest.
$ac_ext <<_ACEOF
18922 /* end confdefs.h. */
18923 $ac_includes_default
18929 if (sizeof (size_t))
18935 rm -f conftest.
$ac_objext
18936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18937 (eval $ac_compile) 2>conftest.er1
18939 grep -v '^ *+' conftest.er1
>conftest.err
18941 cat conftest.err
>&5
18942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18943 (exit $ac_status); } &&
18944 { ac_try
='test -z "$ac_c_werror_flag"
18945 || test ! -s conftest.err'
18946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18947 (eval $ac_try) 2>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); }; } &&
18951 { ac_try
='test -s conftest.$ac_objext'
18952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953 (eval $ac_try) 2>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; }; then
18957 ac_cv_type_size_t
=yes
18959 echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.
$ac_ext >&5
18962 ac_cv_type_size_t
=no
18964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18966 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18967 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18969 echo "$as_me:$LINENO: checking size of size_t" >&5
18970 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18971 if test "${ac_cv_sizeof_size_t+set}" = set; then
18972 echo $ECHO_N "(cached) $ECHO_C" >&6
18974 if test "$ac_cv_type_size_t" = yes; then
18975 # The cast to unsigned long works around a bug in the HP C Compiler
18976 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18977 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18978 # This bug is HP SR number 8606223364.
18979 if test "$cross_compiling" = yes; then
18980 # Depending upon the size, compute the lo and hi bounds.
18981 cat >conftest.
$ac_ext <<_ACEOF
18984 cat confdefs.h
>>conftest.
$ac_ext
18985 cat >>conftest.
$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 $ac_includes_default
18991 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18998 rm -f conftest.
$ac_objext
18999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19000 (eval $ac_compile) 2>conftest.er1
19002 grep -v '^ *+' conftest.er1
>conftest.err
19004 cat conftest.err
>&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } &&
19007 { ac_try
='test -z "$ac_c_werror_flag"
19008 || test ! -s conftest.err'
19009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19010 (eval $ac_try) 2>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); }; } &&
19014 { ac_try
='test -s conftest.$ac_objext'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; }; then
19022 cat >conftest.
$ac_ext <<_ACEOF
19025 cat confdefs.h
>>conftest.
$ac_ext
19026 cat >>conftest.
$ac_ext <<_ACEOF
19027 /* end confdefs.h. */
19028 $ac_includes_default
19032 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19039 rm -f conftest.
$ac_objext
19040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19041 (eval $ac_compile) 2>conftest.er1
19043 grep -v '^ *+' conftest.er1
>conftest.err
19045 cat conftest.err
>&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); } &&
19048 { ac_try
='test -z "$ac_c_werror_flag"
19049 || test ! -s conftest.err'
19050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19051 (eval $ac_try) 2>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; } &&
19055 { ac_try
='test -s conftest.$ac_objext'
19056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19057 (eval $ac_try) 2>&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); }; }; then
19061 ac_hi
=$ac_mid; break
19063 echo "$as_me: failed program was:" >&5
19064 sed 's/^/| /' conftest.
$ac_ext >&5
19066 ac_lo
=`expr $ac_mid + 1`
19067 if test $ac_lo -le $ac_mid; then
19071 ac_mid
=`expr 2 '*' $ac_mid + 1`
19073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.
$ac_ext >&5
19079 cat >conftest.
$ac_ext <<_ACEOF
19082 cat confdefs.h
>>conftest.
$ac_ext
19083 cat >>conftest.
$ac_ext <<_ACEOF
19084 /* end confdefs.h. */
19085 $ac_includes_default
19089 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19096 rm -f conftest.
$ac_objext
19097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19098 (eval $ac_compile) 2>conftest.er1
19100 grep -v '^ *+' conftest.er1
>conftest.err
19102 cat conftest.err
>&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } &&
19105 { ac_try
='test -z "$ac_c_werror_flag"
19106 || test ! -s conftest.err'
19107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19108 (eval $ac_try) 2>&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); }; } &&
19112 { ac_try
='test -s conftest.$ac_objext'
19113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19114 (eval $ac_try) 2>&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); }; }; then
19120 cat >conftest.
$ac_ext <<_ACEOF
19123 cat confdefs.h
>>conftest.
$ac_ext
19124 cat >>conftest.
$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19126 $ac_includes_default
19130 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19137 rm -f conftest.
$ac_objext
19138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19139 (eval $ac_compile) 2>conftest.er1
19141 grep -v '^ *+' conftest.er1
>conftest.err
19143 cat conftest.err
>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); } &&
19146 { ac_try
='test -z "$ac_c_werror_flag"
19147 || test ! -s conftest.err'
19148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19149 (eval $ac_try) 2>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; } &&
19153 { ac_try
='test -s conftest.$ac_objext'
19154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19155 (eval $ac_try) 2>&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); }; }; then
19159 ac_lo
=$ac_mid; break
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.
$ac_ext >&5
19164 ac_hi
=`expr '(' $ac_mid ')' - 1`
19165 if test $ac_mid -le $ac_hi; then
19169 ac_mid
=`expr 2 '*' $ac_mid`
19171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19174 echo "$as_me: failed program was:" >&5
19175 sed 's/^/| /' conftest.
$ac_ext >&5
19179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19182 # Binary search between lo and hi bounds.
19183 while test "x$ac_lo" != "x$ac_hi"; do
19184 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19185 cat >conftest.
$ac_ext <<_ACEOF
19188 cat confdefs.h
>>conftest.
$ac_ext
19189 cat >>conftest.
$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 $ac_includes_default
19195 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19202 rm -f conftest.
$ac_objext
19203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19204 (eval $ac_compile) 2>conftest.er1
19206 grep -v '^ *+' conftest.er1
>conftest.err
19208 cat conftest.err
>&5
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); } &&
19211 { ac_try
='test -z "$ac_c_werror_flag"
19212 || test ! -s conftest.err'
19213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19214 (eval $ac_try) 2>&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); }; } &&
19218 { ac_try
='test -s conftest.$ac_objext'
19219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19220 (eval $ac_try) 2>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; }; then
19226 echo "$as_me: failed program was:" >&5
19227 sed 's/^/| /' conftest.
$ac_ext >&5
19229 ac_lo
=`expr '(' $ac_mid ')' + 1`
19231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19234 ?
*) ac_cv_sizeof_size_t
=$ac_lo;;
19235 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19236 See \`config.log' for more details." >&5
19237 echo "$as_me: error: cannot compute sizeof (size_t), 77
19238 See \`config.log' for more details." >&2;}
19239 { (exit 1); exit 1; }; } ;;
19242 if test "$cross_compiling" = yes; then
19243 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19244 See \`config.log' for more details." >&5
19245 echo "$as_me: error: cannot run test program while cross compiling
19246 See \`config.log' for more details." >&2;}
19247 { (exit 1); exit 1; }; }
19249 cat >conftest.
$ac_ext <<_ACEOF
19252 cat confdefs.h
>>conftest.
$ac_ext
19253 cat >>conftest.
$ac_ext <<_ACEOF
19254 /* end confdefs.h. */
19255 $ac_includes_default
19256 long longval () { return (long) (sizeof (size_t)); }
19257 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19259 #include <stdlib.h>
19264 FILE *f = fopen ("conftest.val", "w");
19267 if (((long) (sizeof (size_t))) < 0)
19269 long i = longval ();
19270 if (i != ((long) (sizeof (size_t))))
19272 fprintf (f, "%ld\n", i);
19276 unsigned long i = ulongval ();
19277 if (i != ((long) (sizeof (size_t))))
19279 fprintf (f, "%lu\n", i);
19281 exit (ferror (f) || fclose (f) != 0);
19287 rm -f conftest
$ac_exeext
19288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19289 (eval $ac_link) 2>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; }; then
19298 ac_cv_sizeof_size_t
=`cat conftest.val`
19300 echo "$as_me: program exited with status $ac_status" >&5
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.
$ac_ext >&5
19304 ( exit $ac_status )
19305 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19306 See \`config.log' for more details." >&5
19307 echo "$as_me: error: cannot compute sizeof (size_t), 77
19308 See \`config.log' for more details." >&2;}
19309 { (exit 1); exit 1; }; }
19311 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19316 ac_cv_sizeof_size_t
=0
19319 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19320 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19321 cat >>confdefs.h
<<_ACEOF
19322 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19329 echo "$as_me:$LINENO: checking for long long" >&5
19330 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19331 if test "${ac_cv_type_long_long+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 cat >conftest.
$ac_ext <<_ACEOF
19337 cat confdefs.h
>>conftest.
$ac_ext
19338 cat >>conftest.
$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340 $ac_includes_default
19344 if ((long long *) 0)
19346 if (sizeof (long long))
19352 rm -f conftest.
$ac_objext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19354 (eval $ac_compile) 2>conftest.er1
19356 grep -v '^ *+' conftest.er1
>conftest.err
19358 cat conftest.err
>&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try
='test -z "$ac_c_werror_flag"
19362 || test ! -s conftest.err'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; } &&
19368 { ac_try
='test -s conftest.$ac_objext'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; }; then
19374 ac_cv_type_long_long
=yes
19376 echo "$as_me: failed program was:" >&5
19377 sed 's/^/| /' conftest.
$ac_ext >&5
19379 ac_cv_type_long_long
=no
19381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19383 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19384 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19386 echo "$as_me:$LINENO: checking size of long long" >&5
19387 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19388 if test "${ac_cv_sizeof_long_long+set}" = set; then
19389 echo $ECHO_N "(cached) $ECHO_C" >&6
19391 if test "$ac_cv_type_long_long" = yes; then
19392 # The cast to unsigned long works around a bug in the HP C Compiler
19393 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19394 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19395 # This bug is HP SR number 8606223364.
19396 if test "$cross_compiling" = yes; then
19397 # Depending upon the size, compute the lo and hi bounds.
19398 cat >conftest.
$ac_ext <<_ACEOF
19401 cat confdefs.h
>>conftest.
$ac_ext
19402 cat >>conftest.
$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 $ac_includes_default
19408 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19415 rm -f conftest.
$ac_objext
19416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19417 (eval $ac_compile) 2>conftest.er1
19419 grep -v '^ *+' conftest.er1
>conftest.err
19421 cat conftest.err
>&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); } &&
19424 { ac_try
='test -z "$ac_c_werror_flag"
19425 || test ! -s conftest.err'
19426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19427 (eval $ac_try) 2>&5
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); }; } &&
19431 { ac_try
='test -s conftest.$ac_objext'
19432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19433 (eval $ac_try) 2>&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); }; }; then
19439 cat >conftest.
$ac_ext <<_ACEOF
19442 cat confdefs.h
>>conftest.
$ac_ext
19443 cat >>conftest.
$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 $ac_includes_default
19449 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19456 rm -f conftest.
$ac_objext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19458 (eval $ac_compile) 2>conftest.er1
19460 grep -v '^ *+' conftest.er1
>conftest.err
19462 cat conftest.err
>&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try
='test -z "$ac_c_werror_flag"
19466 || test ! -s conftest.err'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; } &&
19472 { ac_try
='test -s conftest.$ac_objext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 ac_hi
=$ac_mid; break
19480 echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.
$ac_ext >&5
19483 ac_lo
=`expr $ac_mid + 1`
19484 if test $ac_lo -le $ac_mid; then
19488 ac_mid
=`expr 2 '*' $ac_mid + 1`
19490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.
$ac_ext >&5
19496 cat >conftest.
$ac_ext <<_ACEOF
19499 cat confdefs.h
>>conftest.
$ac_ext
19500 cat >>conftest.
$ac_ext <<_ACEOF
19501 /* end confdefs.h. */
19502 $ac_includes_default
19506 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19513 rm -f conftest.
$ac_objext
19514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19515 (eval $ac_compile) 2>conftest.er1
19517 grep -v '^ *+' conftest.er1
>conftest.err
19519 cat conftest.err
>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } &&
19522 { ac_try
='test -z "$ac_c_werror_flag"
19523 || test ! -s conftest.err'
19524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19525 (eval $ac_try) 2>&5
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; } &&
19529 { ac_try
='test -s conftest.$ac_objext'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19537 cat >conftest.
$ac_ext <<_ACEOF
19540 cat confdefs.h
>>conftest.
$ac_ext
19541 cat >>conftest.
$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 $ac_includes_default
19547 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19554 rm -f conftest.
$ac_objext
19555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19556 (eval $ac_compile) 2>conftest.er1
19558 grep -v '^ *+' conftest.er1
>conftest.err
19560 cat conftest.err
>&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); } &&
19563 { ac_try
='test -z "$ac_c_werror_flag"
19564 || test ! -s conftest.err'
19565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19566 (eval $ac_try) 2>&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); }; } &&
19570 { ac_try
='test -s conftest.$ac_objext'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; }; then
19576 ac_lo
=$ac_mid; break
19578 echo "$as_me: failed program was:" >&5
19579 sed 's/^/| /' conftest.
$ac_ext >&5
19581 ac_hi
=`expr '(' $ac_mid ')' - 1`
19582 if test $ac_mid -le $ac_hi; then
19586 ac_mid
=`expr 2 '*' $ac_mid`
19588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19591 echo "$as_me: failed program was:" >&5
19592 sed 's/^/| /' conftest.
$ac_ext >&5
19596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19599 # Binary search between lo and hi bounds.
19600 while test "x$ac_lo" != "x$ac_hi"; do
19601 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19602 cat >conftest.
$ac_ext <<_ACEOF
19605 cat confdefs.h
>>conftest.
$ac_ext
19606 cat >>conftest.
$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 $ac_includes_default
19612 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19619 rm -f conftest.
$ac_objext
19620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19621 (eval $ac_compile) 2>conftest.er1
19623 grep -v '^ *+' conftest.er1
>conftest.err
19625 cat conftest.err
>&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } &&
19628 { ac_try
='test -z "$ac_c_werror_flag"
19629 || test ! -s conftest.err'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; } &&
19635 { ac_try
='test -s conftest.$ac_objext'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; }; then
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.
$ac_ext >&5
19646 ac_lo
=`expr '(' $ac_mid ')' + 1`
19648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19651 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
19652 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19653 See \`config.log' for more details." >&5
19654 echo "$as_me: error: cannot compute sizeof (long long), 77
19655 See \`config.log' for more details." >&2;}
19656 { (exit 1); exit 1; }; } ;;
19659 if test "$cross_compiling" = yes; then
19660 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19661 See \`config.log' for more details." >&5
19662 echo "$as_me: error: cannot run test program while cross compiling
19663 See \`config.log' for more details." >&2;}
19664 { (exit 1); exit 1; }; }
19666 cat >conftest.
$ac_ext <<_ACEOF
19669 cat confdefs.h
>>conftest.
$ac_ext
19670 cat >>conftest.
$ac_ext <<_ACEOF
19671 /* end confdefs.h. */
19672 $ac_includes_default
19673 long longval () { return (long) (sizeof (long long)); }
19674 unsigned long ulongval () { return (long) (sizeof (long long)); }
19676 #include <stdlib.h>
19681 FILE *f = fopen ("conftest.val", "w");
19684 if (((long) (sizeof (long long))) < 0)
19686 long i = longval ();
19687 if (i != ((long) (sizeof (long long))))
19689 fprintf (f, "%ld\n", i);
19693 unsigned long i = ulongval ();
19694 if (i != ((long) (sizeof (long long))))
19696 fprintf (f, "%lu\n", i);
19698 exit (ferror (f) || fclose (f) != 0);
19704 rm -f conftest
$ac_exeext
19705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19706 (eval $ac_link) 2>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; }; then
19715 ac_cv_sizeof_long_long
=`cat conftest.val`
19717 echo "$as_me: program exited with status $ac_status" >&5
19718 echo "$as_me: failed program was:" >&5
19719 sed 's/^/| /' conftest.
$ac_ext >&5
19721 ( exit $ac_status )
19722 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19723 See \`config.log' for more details." >&5
19724 echo "$as_me: error: cannot compute sizeof (long long), 77
19725 See \`config.log' for more details." >&2;}
19726 { (exit 1); exit 1; }; }
19728 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
19733 ac_cv_sizeof_long_long
=0
19736 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19737 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19738 cat >>confdefs.h
<<_ACEOF
19739 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19745 echo "$as_me:$LINENO: checking for long long" >&5
19746 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19747 if test "${ac_cv_type_long_long+set}" = set; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 cat >conftest.
$ac_ext <<_ACEOF
19753 cat confdefs.h
>>conftest.
$ac_ext
19754 cat >>conftest.
$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 $ac_includes_default
19760 if ((long long *) 0)
19762 if (sizeof (long long))
19768 rm -f conftest.
$ac_objext
19769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19770 (eval $ac_compile) 2>conftest.er1
19772 grep -v '^ *+' conftest.er1
>conftest.err
19774 cat conftest.err
>&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try
='test -z "$ac_c_werror_flag"
19778 || test ! -s conftest.err'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; } &&
19784 { ac_try
='test -s conftest.$ac_objext'
19785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19786 (eval $ac_try) 2>&5
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; }; then
19790 ac_cv_type_long_long
=yes
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.
$ac_ext >&5
19795 ac_cv_type_long_long
=no
19797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19799 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19800 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19802 echo "$as_me:$LINENO: checking size of long long" >&5
19803 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19804 if test "${ac_cv_sizeof_long_long+set}" = set; then
19805 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 if test "$ac_cv_type_long_long" = yes; then
19808 # The cast to unsigned long works around a bug in the HP C Compiler
19809 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19810 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19811 # This bug is HP SR number 8606223364.
19812 if test "$cross_compiling" = yes; then
19813 # Depending upon the size, compute the lo and hi bounds.
19814 cat >conftest.
$ac_ext <<_ACEOF
19817 cat confdefs.h
>>conftest.
$ac_ext
19818 cat >>conftest.
$ac_ext <<_ACEOF
19819 /* end confdefs.h. */
19820 $ac_includes_default
19824 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19831 rm -f conftest.
$ac_objext
19832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19833 (eval $ac_compile) 2>conftest.er1
19835 grep -v '^ *+' conftest.er1
>conftest.err
19837 cat conftest.err
>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); } &&
19840 { ac_try
='test -z "$ac_c_werror_flag"
19841 || test ! -s conftest.err'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; } &&
19847 { ac_try
='test -s conftest.$ac_objext'
19848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849 (eval $ac_try) 2>&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; }; then
19855 cat >conftest.
$ac_ext <<_ACEOF
19858 cat confdefs.h
>>conftest.
$ac_ext
19859 cat >>conftest.
$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 $ac_includes_default
19865 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19872 rm -f conftest.
$ac_objext
19873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19874 (eval $ac_compile) 2>conftest.er1
19876 grep -v '^ *+' conftest.er1
>conftest.err
19878 cat conftest.err
>&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); } &&
19881 { ac_try
='test -z "$ac_c_werror_flag"
19882 || test ! -s conftest.err'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; } &&
19888 { ac_try
='test -s conftest.$ac_objext'
19889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19890 (eval $ac_try) 2>&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); }; }; then
19894 ac_hi
=$ac_mid; break
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.
$ac_ext >&5
19899 ac_lo
=`expr $ac_mid + 1`
19900 if test $ac_lo -le $ac_mid; then
19904 ac_mid
=`expr 2 '*' $ac_mid + 1`
19906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.
$ac_ext >&5
19912 cat >conftest.
$ac_ext <<_ACEOF
19915 cat confdefs.h
>>conftest.
$ac_ext
19916 cat >>conftest.
$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 $ac_includes_default
19922 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19929 rm -f conftest.
$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931 (eval $ac_compile) 2>conftest.er1
19933 grep -v '^ *+' conftest.er1
>conftest.err
19935 cat conftest.err
>&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try
='test -z "$ac_c_werror_flag"
19939 || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try
='test -s conftest.$ac_objext'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19953 cat >conftest.
$ac_ext <<_ACEOF
19956 cat confdefs.h
>>conftest.
$ac_ext
19957 cat >>conftest.
$ac_ext <<_ACEOF
19958 /* end confdefs.h. */
19959 $ac_includes_default
19963 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19970 rm -f conftest.
$ac_objext
19971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19972 (eval $ac_compile) 2>conftest.er1
19974 grep -v '^ *+' conftest.er1
>conftest.err
19976 cat conftest.err
>&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } &&
19979 { ac_try
='test -z "$ac_c_werror_flag"
19980 || test ! -s conftest.err'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; } &&
19986 { ac_try
='test -s conftest.$ac_objext'
19987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988 (eval $ac_try) 2>&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; }; then
19992 ac_lo
=$ac_mid; break
19994 echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.
$ac_ext >&5
19997 ac_hi
=`expr '(' $ac_mid ')' - 1`
19998 if test $ac_mid -le $ac_hi; then
20002 ac_mid
=`expr 2 '*' $ac_mid`
20004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20007 echo "$as_me: failed program was:" >&5
20008 sed 's/^/| /' conftest.
$ac_ext >&5
20012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20015 # Binary search between lo and hi bounds.
20016 while test "x$ac_lo" != "x$ac_hi"; do
20017 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20018 cat >conftest.
$ac_ext <<_ACEOF
20021 cat confdefs.h
>>conftest.
$ac_ext
20022 cat >>conftest.
$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 $ac_includes_default
20028 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20035 rm -f conftest.
$ac_objext
20036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20037 (eval $ac_compile) 2>conftest.er1
20039 grep -v '^ *+' conftest.er1
>conftest.err
20041 cat conftest.err
>&5
20042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20043 (exit $ac_status); } &&
20044 { ac_try
='test -z "$ac_c_werror_flag"
20045 || test ! -s conftest.err'
20046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20047 (eval $ac_try) 2>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); }; } &&
20051 { ac_try
='test -s conftest.$ac_objext'
20052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20053 (eval $ac_try) 2>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; }; then
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.
$ac_ext >&5
20062 ac_lo
=`expr '(' $ac_mid ')' + 1`
20064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20067 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20068 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20069 See \`config.log' for more details." >&5
20070 echo "$as_me: error: cannot compute sizeof (long long), 77
20071 See \`config.log' for more details." >&2;}
20072 { (exit 1); exit 1; }; } ;;
20075 if test "$cross_compiling" = yes; then
20076 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20077 See \`config.log' for more details." >&5
20078 echo "$as_me: error: cannot run test program while cross compiling
20079 See \`config.log' for more details." >&2;}
20080 { (exit 1); exit 1; }; }
20082 cat >conftest.
$ac_ext <<_ACEOF
20085 cat confdefs.h
>>conftest.
$ac_ext
20086 cat >>conftest.
$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 $ac_includes_default
20089 long longval () { return (long) (sizeof (long long)); }
20090 unsigned long ulongval () { return (long) (sizeof (long long)); }
20092 #include <stdlib.h>
20097 FILE *f = fopen ("conftest.val", "w");
20100 if (((long) (sizeof (long long))) < 0)
20102 long i = longval ();
20103 if (i != ((long) (sizeof (long long))))
20105 fprintf (f, "%ld\n", i);
20109 unsigned long i = ulongval ();
20110 if (i != ((long) (sizeof (long long))))
20112 fprintf (f, "%lu\n", i);
20114 exit (ferror (f) || fclose (f) != 0);
20120 rm -f conftest
$ac_exeext
20121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20122 (eval $ac_link) 2>&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20127 (eval $ac_try) 2>&5
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); }; }; then
20131 ac_cv_sizeof_long_long
=`cat conftest.val`
20133 echo "$as_me: program exited with status $ac_status" >&5
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.
$ac_ext >&5
20137 ( exit $ac_status )
20138 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20139 See \`config.log' for more details." >&5
20140 echo "$as_me: error: cannot compute sizeof (long long), 77
20141 See \`config.log' for more details." >&2;}
20142 { (exit 1); exit 1; }; }
20144 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20149 ac_cv_sizeof_long_long
=0
20152 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20153 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20154 cat >>confdefs.h
<<_ACEOF
20155 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20159 if test "$ac_cv_sizeof_long_long" != "0"; then
20160 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20164 echo "$as_me:$LINENO: checking for long long" >&5
20165 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20166 if test "${ac_cv_type_long_long+set}" = set; then
20167 echo $ECHO_N "(cached) $ECHO_C" >&6
20169 cat >conftest.
$ac_ext <<_ACEOF
20172 cat confdefs.h
>>conftest.
$ac_ext
20173 cat >>conftest.
$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20175 $ac_includes_default
20179 if ((long long *) 0)
20181 if (sizeof (long long))
20187 rm -f conftest.
$ac_objext
20188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20189 (eval $ac_compile) 2>conftest.er1
20191 grep -v '^ *+' conftest.er1
>conftest.err
20193 cat conftest.err
>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try
='test -z "$ac_c_werror_flag"
20197 || test ! -s conftest.err'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; } &&
20203 { ac_try
='test -s conftest.$ac_objext'
20204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20205 (eval $ac_try) 2>&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); }; }; then
20209 ac_cv_type_long_long
=yes
20211 echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.
$ac_ext >&5
20214 ac_cv_type_long_long
=no
20216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20218 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20219 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20221 echo "$as_me:$LINENO: checking size of long long" >&5
20222 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20223 if test "${ac_cv_sizeof_long_long+set}" = set; then
20224 echo $ECHO_N "(cached) $ECHO_C" >&6
20226 if test "$ac_cv_type_long_long" = yes; then
20227 # The cast to unsigned long works around a bug in the HP C Compiler
20228 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20229 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20230 # This bug is HP SR number 8606223364.
20231 if test "$cross_compiling" = yes; then
20232 # Depending upon the size, compute the lo and hi bounds.
20233 cat >conftest.
$ac_ext <<_ACEOF
20236 cat confdefs.h
>>conftest.
$ac_ext
20237 cat >>conftest.
$ac_ext <<_ACEOF
20238 /* end confdefs.h. */
20239 $ac_includes_default
20243 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20250 rm -f conftest.
$ac_objext
20251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20252 (eval $ac_compile) 2>conftest.er1
20254 grep -v '^ *+' conftest.er1
>conftest.err
20256 cat conftest.err
>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } &&
20259 { ac_try
='test -z "$ac_c_werror_flag"
20260 || test ! -s conftest.err'
20261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20262 (eval $ac_try) 2>&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); }; } &&
20266 { ac_try
='test -s conftest.$ac_objext'
20267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268 (eval $ac_try) 2>&5
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; }; then
20274 cat >conftest.
$ac_ext <<_ACEOF
20277 cat confdefs.h
>>conftest.
$ac_ext
20278 cat >>conftest.
$ac_ext <<_ACEOF
20279 /* end confdefs.h. */
20280 $ac_includes_default
20284 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20291 rm -f conftest.
$ac_objext
20292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20293 (eval $ac_compile) 2>conftest.er1
20295 grep -v '^ *+' conftest.er1
>conftest.err
20297 cat conftest.err
>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } &&
20300 { ac_try
='test -z "$ac_c_werror_flag"
20301 || test ! -s conftest.err'
20302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20303 (eval $ac_try) 2>&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); }; } &&
20307 { ac_try
='test -s conftest.$ac_objext'
20308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20309 (eval $ac_try) 2>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; }; then
20313 ac_hi
=$ac_mid; break
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.
$ac_ext >&5
20318 ac_lo
=`expr $ac_mid + 1`
20319 if test $ac_lo -le $ac_mid; then
20323 ac_mid
=`expr 2 '*' $ac_mid + 1`
20325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20328 echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.
$ac_ext >&5
20331 cat >conftest.
$ac_ext <<_ACEOF
20334 cat confdefs.h
>>conftest.
$ac_ext
20335 cat >>conftest.
$ac_ext <<_ACEOF
20336 /* end confdefs.h. */
20337 $ac_includes_default
20341 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20348 rm -f conftest.
$ac_objext
20349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20350 (eval $ac_compile) 2>conftest.er1
20352 grep -v '^ *+' conftest.er1
>conftest.err
20354 cat conftest.err
>&5
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); } &&
20357 { ac_try
='test -z "$ac_c_werror_flag"
20358 || test ! -s conftest.err'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; } &&
20364 { ac_try
='test -s conftest.$ac_objext'
20365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20366 (eval $ac_try) 2>&5
20368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369 (exit $ac_status); }; }; then
20372 cat >conftest.
$ac_ext <<_ACEOF
20375 cat confdefs.h
>>conftest.
$ac_ext
20376 cat >>conftest.
$ac_ext <<_ACEOF
20377 /* end confdefs.h. */
20378 $ac_includes_default
20382 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20389 rm -f conftest.
$ac_objext
20390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20391 (eval $ac_compile) 2>conftest.er1
20393 grep -v '^ *+' conftest.er1
>conftest.err
20395 cat conftest.err
>&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); } &&
20398 { ac_try
='test -z "$ac_c_werror_flag"
20399 || test ! -s conftest.err'
20400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20401 (eval $ac_try) 2>&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); }; } &&
20405 { ac_try
='test -s conftest.$ac_objext'
20406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20407 (eval $ac_try) 2>&5
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); }; }; then
20411 ac_lo
=$ac_mid; break
20413 echo "$as_me: failed program was:" >&5
20414 sed 's/^/| /' conftest.
$ac_ext >&5
20416 ac_hi
=`expr '(' $ac_mid ')' - 1`
20417 if test $ac_mid -le $ac_hi; then
20421 ac_mid
=`expr 2 '*' $ac_mid`
20423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20426 echo "$as_me: failed program was:" >&5
20427 sed 's/^/| /' conftest.
$ac_ext >&5
20431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20434 # Binary search between lo and hi bounds.
20435 while test "x$ac_lo" != "x$ac_hi"; do
20436 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20437 cat >conftest.
$ac_ext <<_ACEOF
20440 cat confdefs.h
>>conftest.
$ac_ext
20441 cat >>conftest.
$ac_ext <<_ACEOF
20442 /* end confdefs.h. */
20443 $ac_includes_default
20447 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20454 rm -f conftest.
$ac_objext
20455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20456 (eval $ac_compile) 2>conftest.er1
20458 grep -v '^ *+' conftest.er1
>conftest.err
20460 cat conftest.err
>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } &&
20463 { ac_try
='test -z "$ac_c_werror_flag"
20464 || test ! -s conftest.err'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; } &&
20470 { ac_try
='test -s conftest.$ac_objext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.
$ac_ext >&5
20481 ac_lo
=`expr '(' $ac_mid ')' + 1`
20483 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20486 ?
*) ac_cv_sizeof_long_long
=$ac_lo;;
20487 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20488 See \`config.log' for more details." >&5
20489 echo "$as_me: error: cannot compute sizeof (long long), 77
20490 See \`config.log' for more details." >&2;}
20491 { (exit 1); exit 1; }; } ;;
20494 if test "$cross_compiling" = yes; then
20495 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20496 See \`config.log' for more details." >&5
20497 echo "$as_me: error: cannot run test program while cross compiling
20498 See \`config.log' for more details." >&2;}
20499 { (exit 1); exit 1; }; }
20501 cat >conftest.
$ac_ext <<_ACEOF
20504 cat confdefs.h
>>conftest.
$ac_ext
20505 cat >>conftest.
$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20507 $ac_includes_default
20508 long longval () { return (long) (sizeof (long long)); }
20509 unsigned long ulongval () { return (long) (sizeof (long long)); }
20511 #include <stdlib.h>
20516 FILE *f = fopen ("conftest.val", "w");
20519 if (((long) (sizeof (long long))) < 0)
20521 long i = longval ();
20522 if (i != ((long) (sizeof (long long))))
20524 fprintf (f, "%ld\n", i);
20528 unsigned long i = ulongval ();
20529 if (i != ((long) (sizeof (long long))))
20531 fprintf (f, "%lu\n", i);
20533 exit (ferror (f) || fclose (f) != 0);
20539 rm -f conftest
$ac_exeext
20540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20541 (eval $ac_link) 2>&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_cv_sizeof_long_long
=`cat conftest.val`
20552 echo "$as_me: program exited with status $ac_status" >&5
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.
$ac_ext >&5
20556 ( exit $ac_status )
20557 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20558 See \`config.log' for more details." >&5
20559 echo "$as_me: error: cannot compute sizeof (long long), 77
20560 See \`config.log' for more details." >&2;}
20561 { (exit 1); exit 1; }; }
20563 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20568 ac_cv_sizeof_long_long
=0
20571 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20572 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20573 cat >>confdefs.h
<<_ACEOF
20574 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20580 echo "$as_me:$LINENO: checking for wchar_t" >&5
20581 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20582 if test "${ac_cv_type_wchar_t+set}" = set; then
20583 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 cat >conftest.
$ac_ext <<_ACEOF
20588 cat confdefs.h
>>conftest.
$ac_ext
20589 cat >>conftest.
$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20592 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20593 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20594 # error "fake wchar_t"
20596 #ifdef HAVE_WCHAR_H
20598 # include <stddef.h>
20600 # include <wchar.h>
20602 #ifdef HAVE_STDLIB_H
20603 # include <stdlib.h>
20614 if (sizeof (wchar_t))
20620 rm -f conftest.
$ac_objext
20621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20622 (eval $ac_compile) 2>conftest.er1
20624 grep -v '^ *+' conftest.er1
>conftest.err
20626 cat conftest.err
>&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); } &&
20629 { ac_try
='test -z "$ac_c_werror_flag"
20630 || test ! -s conftest.err'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; } &&
20636 { ac_try
='test -s conftest.$ac_objext'
20637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20638 (eval $ac_try) 2>&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; }; then
20642 ac_cv_type_wchar_t
=yes
20644 echo "$as_me: failed program was:" >&5
20645 sed 's/^/| /' conftest.
$ac_ext >&5
20647 ac_cv_type_wchar_t
=no
20649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20651 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20652 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20654 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20655 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20656 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20657 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 if test "$ac_cv_type_wchar_t" = yes; then
20660 # The cast to unsigned long works around a bug in the HP C Compiler
20661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20663 # This bug is HP SR number 8606223364.
20664 if test "$cross_compiling" = yes; then
20665 # Depending upon the size, compute the lo and hi bounds.
20666 cat >conftest.
$ac_ext <<_ACEOF
20669 cat confdefs.h
>>conftest.
$ac_ext
20670 cat >>conftest.
$ac_ext <<_ACEOF
20671 /* end confdefs.h. */
20673 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20674 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20675 # error "fake wchar_t"
20677 #ifdef HAVE_WCHAR_H
20679 # include <stddef.h>
20681 # include <wchar.h>
20683 #ifdef HAVE_STDLIB_H
20684 # include <stdlib.h>
20693 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20700 rm -f conftest.
$ac_objext
20701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20702 (eval $ac_compile) 2>conftest.er1
20704 grep -v '^ *+' conftest.er1
>conftest.err
20706 cat conftest.err
>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); } &&
20709 { ac_try
='test -z "$ac_c_werror_flag"
20710 || test ! -s conftest.err'
20711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20712 (eval $ac_try) 2>&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); }; } &&
20716 { ac_try
='test -s conftest.$ac_objext'
20717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20718 (eval $ac_try) 2>&5
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); }; }; then
20724 cat >conftest.
$ac_ext <<_ACEOF
20727 cat confdefs.h
>>conftest.
$ac_ext
20728 cat >>conftest.
$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20731 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20732 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20733 # error "fake wchar_t"
20735 #ifdef HAVE_WCHAR_H
20737 # include <stddef.h>
20739 # include <wchar.h>
20741 #ifdef HAVE_STDLIB_H
20742 # include <stdlib.h>
20751 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20758 rm -f conftest.
$ac_objext
20759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20760 (eval $ac_compile) 2>conftest.er1
20762 grep -v '^ *+' conftest.er1
>conftest.err
20764 cat conftest.err
>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } &&
20767 { ac_try
='test -z "$ac_c_werror_flag"
20768 || test ! -s conftest.err'
20769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770 (eval $ac_try) 2>&5
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; } &&
20774 { ac_try
='test -s conftest.$ac_objext'
20775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20776 (eval $ac_try) 2>&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); }; }; then
20780 ac_hi
=$ac_mid; break
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.
$ac_ext >&5
20785 ac_lo
=`expr $ac_mid + 1`
20786 if test $ac_lo -le $ac_mid; then
20790 ac_mid
=`expr 2 '*' $ac_mid + 1`
20792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20795 echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.
$ac_ext >&5
20798 cat >conftest.
$ac_ext <<_ACEOF
20801 cat confdefs.h
>>conftest.
$ac_ext
20802 cat >>conftest.
$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20805 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20806 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20807 # error "fake wchar_t"
20809 #ifdef HAVE_WCHAR_H
20811 # include <stddef.h>
20813 # include <wchar.h>
20815 #ifdef HAVE_STDLIB_H
20816 # include <stdlib.h>
20825 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20832 rm -f conftest.
$ac_objext
20833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20834 (eval $ac_compile) 2>conftest.er1
20836 grep -v '^ *+' conftest.er1
>conftest.err
20838 cat conftest.err
>&5
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); } &&
20841 { ac_try
='test -z "$ac_c_werror_flag"
20842 || test ! -s conftest.err'
20843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20844 (eval $ac_try) 2>&5
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); }; } &&
20848 { ac_try
='test -s conftest.$ac_objext'
20849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20850 (eval $ac_try) 2>&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); }; }; then
20856 cat >conftest.
$ac_ext <<_ACEOF
20859 cat confdefs.h
>>conftest.
$ac_ext
20860 cat >>conftest.
$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20863 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20864 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20865 # error "fake wchar_t"
20867 #ifdef HAVE_WCHAR_H
20869 # include <stddef.h>
20871 # include <wchar.h>
20873 #ifdef HAVE_STDLIB_H
20874 # include <stdlib.h>
20883 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20890 rm -f conftest.
$ac_objext
20891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20892 (eval $ac_compile) 2>conftest.er1
20894 grep -v '^ *+' conftest.er1
>conftest.err
20896 cat conftest.err
>&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } &&
20899 { ac_try
='test -z "$ac_c_werror_flag"
20900 || test ! -s conftest.err'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; } &&
20906 { ac_try
='test -s conftest.$ac_objext'
20907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20908 (eval $ac_try) 2>&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); }; }; then
20912 ac_lo
=$ac_mid; break
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.
$ac_ext >&5
20917 ac_hi
=`expr '(' $ac_mid ')' - 1`
20918 if test $ac_mid -le $ac_hi; then
20922 ac_mid
=`expr 2 '*' $ac_mid`
20924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20927 echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.
$ac_ext >&5
20932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
20935 # Binary search between lo and hi bounds.
20936 while test "x$ac_lo" != "x$ac_hi"; do
20937 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20938 cat >conftest.
$ac_ext <<_ACEOF
20941 cat confdefs.h
>>conftest.
$ac_ext
20942 cat >>conftest.
$ac_ext <<_ACEOF
20943 /* end confdefs.h. */
20945 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20946 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20947 # error "fake wchar_t"
20949 #ifdef HAVE_WCHAR_H
20951 # include <stddef.h>
20953 # include <wchar.h>
20955 #ifdef HAVE_STDLIB_H
20956 # include <stdlib.h>
20965 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20972 rm -f conftest.
$ac_objext
20973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20974 (eval $ac_compile) 2>conftest.er1
20976 grep -v '^ *+' conftest.er1
>conftest.err
20978 cat conftest.err
>&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); } &&
20981 { ac_try
='test -z "$ac_c_werror_flag"
20982 || test ! -s conftest.err'
20983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20984 (eval $ac_try) 2>&5
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); }; } &&
20988 { ac_try
='test -s conftest.$ac_objext'
20989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20990 (eval $ac_try) 2>&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); }; }; then
20996 echo "$as_me: failed program was:" >&5
20997 sed 's/^/| /' conftest.
$ac_ext >&5
20999 ac_lo
=`expr '(' $ac_mid ')' + 1`
21001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21004 ?
*) ac_cv_sizeof_wchar_t
=$ac_lo;;
21005 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21006 See \`config.log' for more details." >&5
21007 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21008 See \`config.log' for more details." >&2;}
21009 { (exit 1); exit 1; }; } ;;
21012 if test "$cross_compiling" = yes; then
21013 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21014 See \`config.log' for more details." >&5
21015 echo "$as_me: error: cannot run test program while cross compiling
21016 See \`config.log' for more details." >&2;}
21017 { (exit 1); exit 1; }; }
21019 cat >conftest.
$ac_ext <<_ACEOF
21022 cat confdefs.h
>>conftest.
$ac_ext
21023 cat >>conftest.
$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21026 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21027 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21028 # error "fake wchar_t"
21030 #ifdef HAVE_WCHAR_H
21032 # include <stddef.h>
21034 # include <wchar.h>
21036 #ifdef HAVE_STDLIB_H
21037 # include <stdlib.h>
21043 long longval () { return (long) (sizeof (wchar_t)); }
21044 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21046 #include <stdlib.h>
21051 FILE *f = fopen ("conftest.val", "w");
21054 if (((long) (sizeof (wchar_t))) < 0)
21056 long i = longval ();
21057 if (i != ((long) (sizeof (wchar_t))))
21059 fprintf (f, "%ld\n", i);
21063 unsigned long i = ulongval ();
21064 if (i != ((long) (sizeof (wchar_t))))
21066 fprintf (f, "%lu\n", i);
21068 exit (ferror (f) || fclose (f) != 0);
21074 rm -f conftest
$ac_exeext
21075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21076 (eval $ac_link) 2>&5
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; }; then
21085 ac_cv_sizeof_wchar_t
=`cat conftest.val`
21087 echo "$as_me: program exited with status $ac_status" >&5
21088 echo "$as_me: failed program was:" >&5
21089 sed 's/^/| /' conftest.
$ac_ext >&5
21091 ( exit $ac_status )
21092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21093 See \`config.log' for more details." >&5
21094 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21095 See \`config.log' for more details." >&2;}
21096 { (exit 1); exit 1; }; }
21098 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21103 ac_cv_sizeof_wchar_t
=0
21106 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21107 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21108 cat >>confdefs.h
<<_ACEOF
21109 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21113 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21119 echo "$as_me:$LINENO: checking for va_copy" >&5
21120 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21121 if test "${wx_cv_func_va_copy+set}" = set; then
21122 echo $ECHO_N "(cached) $ECHO_C" >&6
21125 cat >conftest.
$ac_ext <<_ACEOF
21127 #include <stdarg.h>
21128 void foo(char *f, ...)
21142 rm -f conftest.
$ac_objext conftest
$ac_exeext
21143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21144 (eval $ac_link) 2>conftest.er1
21146 grep -v '^ *+' conftest.er1
>conftest.err
21148 cat conftest.err
>&5
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); } &&
21151 { ac_try
='test -z "$ac_c_werror_flag"
21152 || test ! -s conftest.err'
21153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154 (eval $ac_try) 2>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; } &&
21158 { ac_try
='test -s conftest$ac_exeext'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; }; then
21164 wx_cv_func_va_copy
=yes
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.
$ac_ext >&5
21169 wx_cv_func_va_copy
=no
21172 rm -f conftest.err conftest.
$ac_objext \
21173 conftest
$ac_exeext conftest.
$ac_ext
21177 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21178 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21180 if test $wx_cv_func_va_copy = "yes"; then
21181 cat >>confdefs.h
<<\_ACEOF
21182 #define HAVE_VA_COPY 1
21186 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21187 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21188 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21189 echo $ECHO_N "(cached) $ECHO_C" >&6
21192 if test "$cross_compiling" = yes; then
21193 wx_cv_type_va_list_lvalue
=yes
21196 cat >conftest.
$ac_ext <<_ACEOF
21198 #include <stdarg.h>
21199 int foo(char *f, ...)
21204 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21212 return foo("hi", 17);
21215 rm -f conftest
$ac_exeext
21216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21217 (eval $ac_link) 2>&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21222 (eval $ac_try) 2>&5
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); }; }; then
21226 wx_cv_type_va_list_lvalue
=yes
21228 echo "$as_me: program exited with status $ac_status" >&5
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.
$ac_ext >&5
21232 ( exit $ac_status )
21233 wx_cv_type_va_list_lvalue
=no
21235 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21240 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21241 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21243 if test $wx_cv_type_va_list_lvalue != "yes"; then
21244 cat >>confdefs.h
<<\_ACEOF
21245 #define VA_LIST_IS_ARRAY 1
21251 # Check whether --enable-largefile or --disable-largefile was given.
21252 if test "${enable_largefile+set}" = set; then
21253 enableval
="$enable_largefile"
21256 if test "$enable_largefile" != no
; then
21259 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21260 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21261 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21265 cat >conftest.
$ac_ext <<_ACEOF
21268 cat confdefs.h
>>conftest.
$ac_ext
21269 cat >>conftest.
$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21271 #define _FILE_OFFSET_BITS 64
21272 #include <sys/types.h>
21277 unsigned int field: sizeof(off_t) == 8;
21284 rm -f conftest.
$ac_objext
21285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21286 (eval $ac_compile) 2>conftest.er1
21288 grep -v '^ *+' conftest.er1
>conftest.err
21290 cat conftest.err
>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); } &&
21293 { ac_try
='test -z "$ac_c_werror_flag"
21294 || test ! -s conftest.err'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; } &&
21300 { ac_try
='test -s conftest.$ac_objext'
21301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; }; then
21306 ac_cv_sys_file_offset_bits
=64
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.
$ac_ext >&5
21311 ac_cv_sys_file_offset_bits
=no
21313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21317 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21318 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21320 if test "$ac_cv_sys_file_offset_bits" != no
; then
21322 cat >>confdefs.h
<<_ACEOF
21323 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21328 if test "x$wx_largefile" != "xyes"; then
21330 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21331 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21332 if test "${ac_cv_sys_large_files+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21336 cat >conftest.
$ac_ext <<_ACEOF
21339 cat confdefs.h
>>conftest.
$ac_ext
21340 cat >>conftest.
$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342 #define _LARGE_FILES 1
21343 #include <sys/types.h>
21348 unsigned int field: sizeof(off_t) == 8;
21355 rm -f conftest.
$ac_objext
21356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21357 (eval $ac_compile) 2>conftest.er1
21359 grep -v '^ *+' conftest.er1
>conftest.err
21361 cat conftest.err
>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } &&
21364 { ac_try
='test -z "$ac_c_werror_flag"
21365 || test ! -s conftest.err'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; } &&
21371 { ac_try
='test -s conftest.$ac_objext'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; }; then
21377 ac_cv_sys_large_files
=1
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.
$ac_ext >&5
21382 ac_cv_sys_large_files
=no
21384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21388 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21389 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21391 if test "$ac_cv_sys_large_files" != no
; then
21393 cat >>confdefs.h
<<_ACEOF
21394 #define _LARGE_FILES $ac_cv_sys_large_files
21401 echo "$as_me:$LINENO: checking if large file support is available" >&5
21402 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21403 if test "x$wx_largefile" = "xyes"; then
21404 cat >>confdefs.h
<<\_ACEOF
21405 #define HAVE_LARGEFILE_SUPPORT 1
21409 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21410 echo "${ECHO_T}$wx_largefile" >&6
21414 if test "x$wx_largefile" = "xyes"; then
21415 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21416 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21418 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21419 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21420 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21421 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21422 echo $ECHO_N "(cached) $ECHO_C" >&6
21428 ac_cpp
='$CXXCPP $CPPFLAGS'
21429 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21430 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21431 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21433 cat >conftest.
$ac_ext <<_ACEOF
21436 cat confdefs.h
>>conftest.
$ac_ext
21437 cat >>conftest.
$ac_ext <<_ACEOF
21438 /* end confdefs.h. */
21444 #ifndef __STDC_EXT__
21452 rm -f conftest.
$ac_objext
21453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21454 (eval $ac_compile) 2>conftest.er1
21456 grep -v '^ *+' conftest.er1
>conftest.err
21458 cat conftest.err
>&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } &&
21461 { ac_try
='test -z "$ac_cxx_werror_flag"
21462 || test ! -s conftest.err'
21463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21464 (eval $ac_try) 2>&5
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; } &&
21468 { ac_try
='test -s conftest.$ac_objext'
21469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470 (eval $ac_try) 2>&5
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); }; }; then
21474 wx_cv_STDC_EXT_required
=no
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.
$ac_ext >&5
21479 wx_cv_STDC_EXT_required
=yes
21482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21484 ac_cpp
='$CPP $CPPFLAGS'
21485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21492 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21493 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21494 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21495 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21499 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21501 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21502 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21503 if test "${ac_cv_sys_largefile_source+set}" = set; then
21504 echo $ECHO_N "(cached) $ECHO_C" >&6
21507 ac_cv_sys_largefile_source
=no
21508 cat >conftest.
$ac_ext <<_ACEOF
21511 cat confdefs.h
>>conftest.
$ac_ext
21512 cat >>conftest.
$ac_ext <<_ACEOF
21513 /* end confdefs.h. */
21523 rm -f conftest.
$ac_objext
21524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21525 (eval $ac_compile) 2>conftest.er1
21527 grep -v '^ *+' conftest.er1
>conftest.err
21529 cat conftest.err
>&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); } &&
21532 { ac_try
='test -z "$ac_c_werror_flag"
21533 || test ! -s conftest.err'
21534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535 (eval $ac_try) 2>&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; } &&
21539 { ac_try
='test -s conftest.$ac_objext'
21540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21541 (eval $ac_try) 2>&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); }; }; then
21547 echo "$as_me: failed program was:" >&5
21548 sed 's/^/| /' conftest.
$ac_ext >&5
21551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21552 cat >conftest.
$ac_ext <<_ACEOF
21555 cat confdefs.h
>>conftest.
$ac_ext
21556 cat >>conftest.
$ac_ext <<_ACEOF
21557 /* end confdefs.h. */
21558 #define _LARGEFILE_SOURCE 1
21568 rm -f conftest.
$ac_objext
21569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21570 (eval $ac_compile) 2>conftest.er1
21572 grep -v '^ *+' conftest.er1
>conftest.err
21574 cat conftest.err
>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); } &&
21577 { ac_try
='test -z "$ac_c_werror_flag"
21578 || test ! -s conftest.err'
21579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21580 (eval $ac_try) 2>&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); }; } &&
21584 { ac_try
='test -s conftest.$ac_objext'
21585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21586 (eval $ac_try) 2>&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); }; }; then
21590 ac_cv_sys_largefile_source
=1; break
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.
$ac_ext >&5
21596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21600 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21601 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21602 if test "$ac_cv_sys_largefile_source" != no
; then
21604 cat >>confdefs.h
<<_ACEOF
21605 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21611 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21612 # in glibc 2.1.3, but that breaks too many other things.
21613 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21614 echo "$as_me:$LINENO: checking for fseeko" >&5
21615 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21616 if test "${ac_cv_func_fseeko+set}" = set; then
21617 echo $ECHO_N "(cached) $ECHO_C" >&6
21619 cat >conftest.
$ac_ext <<_ACEOF
21622 cat confdefs.h
>>conftest.
$ac_ext
21623 cat >>conftest.
$ac_ext <<_ACEOF
21624 /* end confdefs.h. */
21629 return fseeko && fseeko (stdin, 0, 0);
21634 rm -f conftest.
$ac_objext conftest
$ac_exeext
21635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21636 (eval $ac_link) 2>conftest.er1
21638 grep -v '^ *+' conftest.er1
>conftest.err
21640 cat conftest.err
>&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } &&
21643 { ac_try
='test -z "$ac_c_werror_flag"
21644 || test ! -s conftest.err'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; } &&
21650 { ac_try
='test -s conftest$ac_exeext'
21651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21652 (eval $ac_try) 2>&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); }; }; then
21656 ac_cv_func_fseeko
=yes
21658 echo "$as_me: failed program was:" >&5
21659 sed 's/^/| /' conftest.
$ac_ext >&5
21661 ac_cv_func_fseeko
=no
21663 rm -f conftest.err conftest.
$ac_objext \
21664 conftest
$ac_exeext conftest.
$ac_ext
21666 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21667 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21668 if test $ac_cv_func_fseeko = yes; then
21670 cat >>confdefs.h
<<\_ACEOF
21671 #define HAVE_FSEEKO 1
21676 if test "$ac_cv_sys_largefile_source" != no
; then
21677 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21681 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21682 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21683 if test "${ac_cv_c_bigendian+set}" = set; then
21684 echo $ECHO_N "(cached) $ECHO_C" >&6
21686 ac_cv_c_bigendian
=unknown
21687 # See if sys/param.h defines the BYTE_ORDER macro.
21688 cat >conftest.
$ac_ext <<_ACEOF
21691 cat confdefs.h
>>conftest.
$ac_ext
21692 cat >>conftest.
$ac_ext <<_ACEOF
21693 /* end confdefs.h. */
21694 #include <sys/types.h>
21695 #include <sys/param.h>
21700 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21701 bogus endian macros
21707 rm -f conftest.
$ac_objext
21708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21709 (eval $ac_compile) 2>conftest.er1
21711 grep -v '^ *+' conftest.er1
>conftest.err
21713 cat conftest.err
>&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); } &&
21716 { ac_try
='test -z "$ac_c_werror_flag"
21717 || test ! -s conftest.err'
21718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719 (eval $ac_try) 2>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; } &&
21723 { ac_try
='test -s conftest.$ac_objext'
21724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21725 (eval $ac_try) 2>&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); }; }; then
21729 # It does; now see whether it defined to BIG_ENDIAN or not.
21730 cat >conftest.
$ac_ext <<_ACEOF
21733 cat confdefs.h
>>conftest.
$ac_ext
21734 cat >>conftest.
$ac_ext <<_ACEOF
21735 /* end confdefs.h. */
21736 #include <sys/types.h>
21737 #include <sys/param.h>
21742 #if BYTE_ORDER != BIG_ENDIAN
21749 rm -f conftest.
$ac_objext
21750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21751 (eval $ac_compile) 2>conftest.er1
21753 grep -v '^ *+' conftest.er1
>conftest.err
21755 cat conftest.err
>&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } &&
21758 { ac_try
='test -z "$ac_c_werror_flag"
21759 || test ! -s conftest.err'
21760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761 (eval $ac_try) 2>&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; } &&
21765 { ac_try
='test -s conftest.$ac_objext'
21766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21767 (eval $ac_try) 2>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); }; }; then
21771 ac_cv_c_bigendian
=yes
21773 echo "$as_me: failed program was:" >&5
21774 sed 's/^/| /' conftest.
$ac_ext >&5
21776 ac_cv_c_bigendian
=no
21778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21780 echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.
$ac_ext >&5
21784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21785 if test $ac_cv_c_bigendian = unknown
; then
21786 if test "$cross_compiling" = yes; then
21787 ac_cv_c_bigendian
=unknown
21789 cat >conftest.
$ac_ext <<_ACEOF
21792 cat confdefs.h
>>conftest.
$ac_ext
21793 cat >>conftest.
$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21796 /* Are we little or big endian? From Harbison&Steele. */
21800 char c[sizeof (long)];
21803 exit (u.c[sizeof (long) - 1] == 1);
21806 rm -f conftest
$ac_exeext
21807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21808 (eval $ac_link) 2>&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813 (eval $ac_try) 2>&5
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); }; }; then
21817 ac_cv_c_bigendian
=no
21819 echo "$as_me: program exited with status $ac_status" >&5
21820 echo "$as_me: failed program was:" >&5
21821 sed 's/^/| /' conftest.
$ac_ext >&5
21823 ( exit $ac_status )
21824 ac_cv_c_bigendian
=yes
21826 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21830 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21831 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21832 if test $ac_cv_c_bigendian = unknown
; then
21833 { 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
21834 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;}
21836 if test $ac_cv_c_bigendian = yes; then
21837 cat >>confdefs.h
<<\_ACEOF
21838 #define WORDS_BIGENDIAN 1
21845 ac_cpp
='$CXXCPP $CPPFLAGS'
21846 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21847 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21848 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21849 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21850 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21851 if test -z "$CXXCPP"; then
21852 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21853 echo $ECHO_N "(cached) $ECHO_C" >&6
21855 # Double quotes because CXXCPP needs to be expanded
21856 for CXXCPP
in "$CXX -E" "/lib/cpp"
21858 ac_preproc_ok
=false
21859 for ac_cxx_preproc_warn_flag
in '' yes
21861 # Use a header file that comes with gcc, so configuring glibc
21862 # with a fresh cross-compiler works.
21863 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21864 # <limits.h> exists even on freestanding compilers.
21865 # On the NeXT, cc -E runs the code through the compiler's parser,
21866 # not just through cpp. "Syntax error" is here to catch this case.
21867 cat >conftest.
$ac_ext <<_ACEOF
21870 cat confdefs.h
>>conftest.
$ac_ext
21871 cat >>conftest.
$ac_ext <<_ACEOF
21872 /* end confdefs.h. */
21874 # include <limits.h>
21876 # include <assert.h>
21880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21881 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21883 grep -v '^ *+' conftest.er1
>conftest.err
21885 cat conftest.err
>&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } >/dev
/null
; then
21888 if test -s conftest.err
; then
21889 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21890 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21897 if test -z "$ac_cpp_err"; then
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.
$ac_ext >&5
21903 # Broken: fails on valid input.
21906 rm -f conftest.err conftest.
$ac_ext
21908 # OK, works on sane cases. Now check whether non-existent headers
21909 # can be detected and how.
21910 cat >conftest.
$ac_ext <<_ACEOF
21913 cat confdefs.h
>>conftest.
$ac_ext
21914 cat >>conftest.
$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916 #include <ac_nonexistent.h>
21918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21919 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21921 grep -v '^ *+' conftest.er1
>conftest.err
21923 cat conftest.err
>&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } >/dev
/null
; then
21926 if test -s conftest.err
; then
21927 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21928 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
21935 if test -z "$ac_cpp_err"; then
21936 # Broken: success on invalid input.
21939 echo "$as_me: failed program was:" >&5
21940 sed 's/^/| /' conftest.
$ac_ext >&5
21942 # Passes both tests.
21946 rm -f conftest.err conftest.
$ac_ext
21949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21950 rm -f conftest.err conftest.
$ac_ext
21951 if $ac_preproc_ok; then
21956 ac_cv_prog_CXXCPP
=$CXXCPP
21959 CXXCPP
=$ac_cv_prog_CXXCPP
21961 ac_cv_prog_CXXCPP
=$CXXCPP
21963 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21964 echo "${ECHO_T}$CXXCPP" >&6
21965 ac_preproc_ok
=false
21966 for ac_cxx_preproc_warn_flag
in '' yes
21968 # Use a header file that comes with gcc, so configuring glibc
21969 # with a fresh cross-compiler works.
21970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21971 # <limits.h> exists even on freestanding compilers.
21972 # On the NeXT, cc -E runs the code through the compiler's parser,
21973 # not just through cpp. "Syntax error" is here to catch this case.
21974 cat >conftest.
$ac_ext <<_ACEOF
21977 cat confdefs.h
>>conftest.
$ac_ext
21978 cat >>conftest.
$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21981 # include <limits.h>
21983 # include <assert.h>
21987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21988 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21990 grep -v '^ *+' conftest.er1
>conftest.err
21992 cat conftest.err
>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } >/dev
/null
; then
21995 if test -s conftest.err
; then
21996 ac_cpp_err
=$ac_cxx_preproc_warn_flag
21997 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22004 if test -z "$ac_cpp_err"; then
22007 echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.
$ac_ext >&5
22010 # Broken: fails on valid input.
22013 rm -f conftest.err conftest.
$ac_ext
22015 # OK, works on sane cases. Now check whether non-existent headers
22016 # can be detected and how.
22017 cat >conftest.
$ac_ext <<_ACEOF
22020 cat confdefs.h
>>conftest.
$ac_ext
22021 cat >>conftest.
$ac_ext <<_ACEOF
22022 /* end confdefs.h. */
22023 #include <ac_nonexistent.h>
22025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22026 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22028 grep -v '^ *+' conftest.er1
>conftest.err
22030 cat conftest.err
>&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); } >/dev
/null
; then
22033 if test -s conftest.err
; then
22034 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22035 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22042 if test -z "$ac_cpp_err"; then
22043 # Broken: success on invalid input.
22046 echo "$as_me: failed program was:" >&5
22047 sed 's/^/| /' conftest.
$ac_ext >&5
22049 # Passes both tests.
22053 rm -f conftest.err conftest.
$ac_ext
22056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22057 rm -f conftest.err conftest.
$ac_ext
22058 if $ac_preproc_ok; then
22061 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22062 See \`config.log' for more details." >&5
22063 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22064 See \`config.log' for more details." >&2;}
22065 { (exit 1); exit 1; }; }
22069 ac_cpp
='$CXXCPP $CPPFLAGS'
22070 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22071 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22072 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22079 ac_cpp
='$CXXCPP $CPPFLAGS'
22080 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22081 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22082 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22086 for ac_header
in iostream
22088 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22090 echo "$as_me:$LINENO: checking for $ac_header" >&5
22091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22093 echo $ECHO_N "(cached) $ECHO_C" >&6
22095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22098 # Is the header compilable?
22099 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22100 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22101 cat >conftest.
$ac_ext <<_ACEOF
22104 cat confdefs.h
>>conftest.
$ac_ext
22105 cat >>conftest.
$ac_ext <<_ACEOF
22106 /* end confdefs.h. */
22107 $ac_includes_default
22108 #include <$ac_header>
22110 rm -f conftest.
$ac_objext
22111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22112 (eval $ac_compile) 2>conftest.er1
22114 grep -v '^ *+' conftest.er1
>conftest.err
22116 cat conftest.err
>&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } &&
22119 { ac_try
='test -z "$ac_cxx_werror_flag"
22120 || test ! -s conftest.err'
22121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122 (eval $ac_try) 2>&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; } &&
22126 { ac_try
='test -s conftest.$ac_objext'
22127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128 (eval $ac_try) 2>&5
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); }; }; then
22132 ac_header_compiler
=yes
22134 echo "$as_me: failed program was:" >&5
22135 sed 's/^/| /' conftest.
$ac_ext >&5
22137 ac_header_compiler
=no
22139 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22141 echo "${ECHO_T}$ac_header_compiler" >&6
22143 # Is the header present?
22144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22146 cat >conftest.
$ac_ext <<_ACEOF
22149 cat confdefs.h
>>conftest.
$ac_ext
22150 cat >>conftest.
$ac_ext <<_ACEOF
22151 /* end confdefs.h. */
22152 #include <$ac_header>
22154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22155 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22157 grep -v '^ *+' conftest.er1
>conftest.err
22159 cat conftest.err
>&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); } >/dev
/null
; then
22162 if test -s conftest.err
; then
22163 ac_cpp_err
=$ac_cxx_preproc_warn_flag
22164 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
22171 if test -z "$ac_cpp_err"; then
22172 ac_header_preproc
=yes
22174 echo "$as_me: failed program was:" >&5
22175 sed 's/^/| /' conftest.
$ac_ext >&5
22177 ac_header_preproc
=no
22179 rm -f conftest.err conftest.
$ac_ext
22180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22181 echo "${ECHO_T}$ac_header_preproc" >&6
22183 # So? What about this header?
22184 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22190 ac_header_preproc
=yes
22193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22197 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22199 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22200 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22203 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22207 ## ----------------------------------------- ##
22208 ## Report this to wx-dev@lists.wxwidgets.org ##
22209 ## ----------------------------------------- ##
22212 sed "s/^/$as_me: WARNING: /" >&2
22215 echo "$as_me:$LINENO: checking for $ac_header" >&5
22216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22220 eval "$as_ac_Header=\$ac_header_preproc"
22222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22227 cat >>confdefs.h
<<_ACEOF
22228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22236 if test "$ac_cv_header_iostream" = "yes" ; then
22239 cat >>confdefs.h
<<\_ACEOF
22240 #define wxUSE_IOSTREAMH 1
22246 ac_cpp
='$CPP $CPPFLAGS'
22247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22254 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22255 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22256 if test "${wx_cv_cpp_bool+set}" = set; then
22257 echo $ECHO_N "(cached) $ECHO_C" >&6
22263 ac_cpp
='$CXXCPP $CPPFLAGS'
22264 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22265 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22266 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22269 cat >conftest.
$ac_ext <<_ACEOF
22272 cat confdefs.h
>>conftest.
$ac_ext
22273 cat >>conftest.
$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22289 rm -f conftest.
$ac_objext
22290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22291 (eval $ac_compile) 2>conftest.er1
22293 grep -v '^ *+' conftest.er1
>conftest.err
22295 cat conftest.err
>&5
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); } &&
22298 { ac_try
='test -z "$ac_cxx_werror_flag"
22299 || test ! -s conftest.err'
22300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22301 (eval $ac_try) 2>&5
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); }; } &&
22305 { ac_try
='test -s conftest.$ac_objext'
22306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22307 (eval $ac_try) 2>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); }; }; then
22315 echo "$as_me: failed program was:" >&5
22316 sed 's/^/| /' conftest.
$ac_ext >&5
22323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22326 ac_cpp
='$CPP $CPPFLAGS'
22327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22333 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22334 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22336 if test "$wx_cv_cpp_bool" = "yes"; then
22337 cat >>confdefs.h
<<\_ACEOF
22338 #define HAVE_BOOL 1
22345 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22346 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22347 if test "${wx_cv_explicit+set}" = set; then
22348 echo $ECHO_N "(cached) $ECHO_C" >&6
22354 ac_cpp
='$CXXCPP $CPPFLAGS'
22355 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22360 cat >conftest.
$ac_ext <<_ACEOF
22363 cat confdefs.h
>>conftest.
$ac_ext
22364 cat >>conftest.
$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22367 class Foo { public: explicit Foo(int) {} };
22379 rm -f conftest.
$ac_objext
22380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22381 (eval $ac_compile) 2>conftest.er1
22383 grep -v '^ *+' conftest.er1
>conftest.err
22385 cat conftest.err
>&5
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); } &&
22388 { ac_try
='test -z "$ac_cxx_werror_flag"
22389 || test ! -s conftest.err'
22390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22391 (eval $ac_try) 2>&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); }; } &&
22395 { ac_try
='test -s conftest.$ac_objext'
22396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22397 (eval $ac_try) 2>&5
22399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400 (exit $ac_status); }; }; then
22402 cat >conftest.
$ac_ext <<_ACEOF
22405 cat confdefs.h
>>conftest.
$ac_ext
22406 cat >>conftest.
$ac_ext <<_ACEOF
22407 /* end confdefs.h. */
22409 class Foo { public: explicit Foo(int) {} };
22410 static void TakeFoo(const Foo& foo) { }
22423 rm -f conftest.
$ac_objext
22424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22425 (eval $ac_compile) 2>conftest.er1
22427 grep -v '^ *+' conftest.er1
>conftest.err
22429 cat conftest.err
>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } &&
22432 { ac_try
='test -z "$ac_cxx_werror_flag"
22433 || test ! -s conftest.err'
22434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22435 (eval $ac_try) 2>&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); }; } &&
22439 { ac_try
='test -s conftest.$ac_objext'
22440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22441 (eval $ac_try) 2>&5
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); }; }; then
22447 echo "$as_me: failed program was:" >&5
22448 sed 's/^/| /' conftest.
$ac_ext >&5
22453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22456 echo "$as_me: failed program was:" >&5
22457 sed 's/^/| /' conftest.
$ac_ext >&5
22462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22465 ac_cpp
='$CPP $CPPFLAGS'
22466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22472 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22473 echo "${ECHO_T}$wx_cv_explicit" >&6
22475 if test "$wx_cv_explicit" = "yes"; then
22476 cat >>confdefs.h
<<\_ACEOF
22477 #define HAVE_EXPLICIT 1
22483 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22484 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22485 if test "${ac_cv_cxx_const_cast+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22491 ac_cpp
='$CXXCPP $CPPFLAGS'
22492 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22493 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22494 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22496 cat >conftest.
$ac_ext <<_ACEOF
22499 cat confdefs.h
>>conftest.
$ac_ext
22500 cat >>conftest.
$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22506 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22511 rm -f conftest.
$ac_objext
22512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22513 (eval $ac_compile) 2>conftest.er1
22515 grep -v '^ *+' conftest.er1
>conftest.err
22517 cat conftest.err
>&5
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); } &&
22520 { ac_try
='test -z "$ac_cxx_werror_flag"
22521 || test ! -s conftest.err'
22522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523 (eval $ac_try) 2>&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); }; } &&
22527 { ac_try
='test -s conftest.$ac_objext'
22528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22529 (eval $ac_try) 2>&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; }; then
22533 ac_cv_cxx_const_cast
=yes
22535 echo "$as_me: failed program was:" >&5
22536 sed 's/^/| /' conftest.
$ac_ext >&5
22538 ac_cv_cxx_const_cast
=no
22540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22542 ac_cpp
='$CPP $CPPFLAGS'
22543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22549 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22550 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22551 if test "$ac_cv_cxx_const_cast" = yes; then
22553 cat >>confdefs.h
<<\_ACEOF
22554 #define HAVE_CONST_CAST
22559 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22560 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22561 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22567 ac_cpp
='$CXXCPP $CPPFLAGS'
22568 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22569 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22570 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22572 cat >conftest.
$ac_ext <<_ACEOF
22575 cat confdefs.h
>>conftest.
$ac_ext
22576 cat >>conftest.
$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22578 #include <typeinfo>
22579 class Base { public : Base () {} virtual void f () = 0;};
22580 class Derived : public Base { public : Derived () {} virtual void f () {} };
22581 class Unrelated { public : Unrelated () {} };
22582 int g (Unrelated&) { return 0; }
22587 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22592 rm -f conftest.
$ac_objext
22593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22594 (eval $ac_compile) 2>conftest.er1
22596 grep -v '^ *+' conftest.er1
>conftest.err
22598 cat conftest.err
>&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); } &&
22601 { ac_try
='test -z "$ac_cxx_werror_flag"
22602 || test ! -s conftest.err'
22603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22604 (eval $ac_try) 2>&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); }; } &&
22608 { ac_try
='test -s conftest.$ac_objext'
22609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22610 (eval $ac_try) 2>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; }; then
22614 ac_cv_cxx_reinterpret_cast
=yes
22616 echo "$as_me: failed program was:" >&5
22617 sed 's/^/| /' conftest.
$ac_ext >&5
22619 ac_cv_cxx_reinterpret_cast
=no
22621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22623 ac_cpp
='$CPP $CPPFLAGS'
22624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22630 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22631 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22632 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22634 cat >>confdefs.h
<<\_ACEOF
22635 #define HAVE_REINTERPRET_CAST
22640 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22641 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22642 if test "${ac_cv_cxx_static_cast+set}" = set; then
22643 echo $ECHO_N "(cached) $ECHO_C" >&6
22648 ac_cpp
='$CXXCPP $CPPFLAGS'
22649 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22650 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22651 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22653 cat >conftest.
$ac_ext <<_ACEOF
22656 cat confdefs.h
>>conftest.
$ac_ext
22657 cat >>conftest.
$ac_ext <<_ACEOF
22658 /* end confdefs.h. */
22659 #include <typeinfo>
22660 class Base { public : Base () {} virtual void f () = 0; };
22661 class Derived : public Base { public : Derived () {} virtual void f () {} };
22662 int g (Derived&) { return 0; }
22667 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22672 rm -f conftest.
$ac_objext
22673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22674 (eval $ac_compile) 2>conftest.er1
22676 grep -v '^ *+' conftest.er1
>conftest.err
22678 cat conftest.err
>&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); } &&
22681 { ac_try
='test -z "$ac_cxx_werror_flag"
22682 || test ! -s conftest.err'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; } &&
22688 { ac_try
='test -s conftest.$ac_objext'
22689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22690 (eval $ac_try) 2>&5
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); }; }; then
22694 ac_cv_cxx_static_cast
=yes
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.
$ac_ext >&5
22699 ac_cv_cxx_static_cast
=no
22701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22703 ac_cpp
='$CPP $CPPFLAGS'
22704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22710 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22711 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22712 if test "$ac_cv_cxx_static_cast" = yes; then
22714 cat >>confdefs.h
<<\_ACEOF
22715 #define HAVE_STATIC_CAST
22721 if test "x$SUNCXX" = xyes
; then
22722 CXXFLAGS
="-features=tmplife $CXXFLAGS"
22725 if test "x$SUNCC" = xyes
; then
22726 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22729 if test "x$SGICC" = "xyes"; then
22730 CFLAGS
="-woff 3970 $CFLAGS"
22732 if test "x$SGICXX" = "xyes"; then
22733 CXXFLAGS
="-woff 3970 $CXXFLAGS"
22736 if test "x$HPCC" = "xyes"; then
22737 CFLAGS
="+W 2011,2450 $CFLAGS"
22739 if test "x$HPCXX" = "xyes"; then
22740 CXXFLAGS
="+W 2340 $CXXFLAGS"
22743 if test "x$COMPAQCXX" = "xyes"; then
22744 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22747 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22749 ac_cpp
='$CXXCPP $CPPFLAGS'
22750 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22755 if test "$wxUSE_UNICODE" = "yes"; then
22756 std_string
="std::wstring"
22757 char_type
="wchar_t"
22759 std_string
="std::string"
22763 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22764 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22765 cat >conftest.
$ac_ext <<_ACEOF
22768 cat confdefs.h
>>conftest.
$ac_ext
22769 cat >>conftest.
$ac_ext <<_ACEOF
22770 /* end confdefs.h. */
22780 rm -f conftest.
$ac_objext
22781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22782 (eval $ac_compile) 2>conftest.er1
22784 grep -v '^ *+' conftest.er1
>conftest.err
22786 cat conftest.err
>&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } &&
22789 { ac_try
='test -z "$ac_cxx_werror_flag"
22790 || test ! -s conftest.err'
22791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22792 (eval $ac_try) 2>&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; } &&
22796 { ac_try
='test -s conftest.$ac_objext'
22797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22798 (eval $ac_try) 2>&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); }; }; then
22802 echo "$as_me:$LINENO: result: yes" >&5
22803 echo "${ECHO_T}yes" >&6
22804 cat >>confdefs.h
<<\_ACEOF
22805 #define HAVE_STD_WSTRING 1
22809 echo "$as_me: failed program was:" >&5
22810 sed 's/^/| /' conftest.
$ac_ext >&5
22812 echo "$as_me:$LINENO: result: no" >&5
22813 echo "${ECHO_T}no" >&6
22814 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22815 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22816 cat >conftest.
$ac_ext <<_ACEOF
22819 cat confdefs.h
>>conftest.
$ac_ext
22820 cat >>conftest.
$ac_ext <<_ACEOF
22821 /* end confdefs.h. */
22823 #ifdef HAVE_WCHAR_H
22825 # include <stddef.h>
22827 # include <wchar.h>
22829 #ifdef HAVE_STDLIB_H
22830 # include <stdlib.h>
22838 std::basic_string<$char_type> foo;
22839 const $char_type* dummy = foo.c_str();
22844 rm -f conftest.
$ac_objext
22845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22846 (eval $ac_compile) 2>conftest.er1
22848 grep -v '^ *+' conftest.er1
>conftest.err
22850 cat conftest.err
>&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); } &&
22853 { ac_try
='test -z "$ac_cxx_werror_flag"
22854 || test ! -s conftest.err'
22855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22856 (eval $ac_try) 2>&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; } &&
22860 { ac_try
='test -s conftest.$ac_objext'
22861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22862 (eval $ac_try) 2>&5
22864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22865 (exit $ac_status); }; }; then
22866 echo "$as_me:$LINENO: result: yes" >&5
22867 echo "${ECHO_T}yes" >&6
22869 echo "$as_me: failed program was:" >&5
22870 sed 's/^/| /' conftest.
$ac_ext >&5
22872 echo "$as_me:$LINENO: result: no" >&5
22873 echo "${ECHO_T}no" >&6
22874 if test "$wxUSE_STL" = "yes"; then
22875 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22876 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22877 { (exit 1); exit 1; }; }
22878 elif grep wxUSE_STD_STRING
$wx_arg_cache_file >/dev
/null
; then
22879 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22880 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22881 { (exit 1); exit 1; }; }
22883 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22884 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22885 wxUSE_STD_STRING
=no
22890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22896 ac_cpp
='$CPP $CPPFLAGS'
22897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22903 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22905 ac_cpp
='$CXXCPP $CPPFLAGS'
22906 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22907 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22908 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22911 echo "$as_me:$LINENO: checking for std::istream" >&5
22912 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22913 if test "${ac_cv_type_std__istream+set}" = set; then
22914 echo $ECHO_N "(cached) $ECHO_C" >&6
22916 cat >conftest.
$ac_ext <<_ACEOF
22919 cat confdefs.h
>>conftest.
$ac_ext
22920 cat >>conftest.
$ac_ext <<_ACEOF
22921 /* end confdefs.h. */
22922 #include <iostream>
22927 if ((std::istream *) 0)
22929 if (sizeof (std::istream))
22935 rm -f conftest.
$ac_objext
22936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22937 (eval $ac_compile) 2>conftest.er1
22939 grep -v '^ *+' conftest.er1
>conftest.err
22941 cat conftest.err
>&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } &&
22944 { ac_try
='test -z "$ac_cxx_werror_flag"
22945 || test ! -s conftest.err'
22946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22947 (eval $ac_try) 2>&5
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); }; } &&
22951 { ac_try
='test -s conftest.$ac_objext'
22952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22953 (eval $ac_try) 2>&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); }; }; then
22957 ac_cv_type_std__istream
=yes
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.
$ac_ext >&5
22962 ac_cv_type_std__istream
=no
22964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22966 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22967 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22968 if test $ac_cv_type_std__istream = yes; then
22970 cat >>confdefs.h
<<_ACEOF
22971 #define HAVE_STD__ISTREAM 1
22976 wxUSE_STD_IOSTREAM
=no
22978 echo "$as_me:$LINENO: checking for std::ostream" >&5
22979 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22980 if test "${ac_cv_type_std__ostream+set}" = set; then
22981 echo $ECHO_N "(cached) $ECHO_C" >&6
22983 cat >conftest.
$ac_ext <<_ACEOF
22986 cat confdefs.h
>>conftest.
$ac_ext
22987 cat >>conftest.
$ac_ext <<_ACEOF
22988 /* end confdefs.h. */
22989 #include <iostream>
22994 if ((std::ostream *) 0)
22996 if (sizeof (std::ostream))
23002 rm -f conftest.
$ac_objext
23003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23004 (eval $ac_compile) 2>conftest.er1
23006 grep -v '^ *+' conftest.er1
>conftest.err
23008 cat conftest.err
>&5
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); } &&
23011 { ac_try
='test -z "$ac_cxx_werror_flag"
23012 || test ! -s conftest.err'
23013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23014 (eval $ac_try) 2>&5
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); }; } &&
23018 { ac_try
='test -s conftest.$ac_objext'
23019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23020 (eval $ac_try) 2>&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); }; }; then
23024 ac_cv_type_std__ostream
=yes
23026 echo "$as_me: failed program was:" >&5
23027 sed 's/^/| /' conftest.
$ac_ext >&5
23029 ac_cv_type_std__ostream
=no
23031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23033 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23034 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23035 if test $ac_cv_type_std__ostream = yes; then
23037 cat >>confdefs.h
<<_ACEOF
23038 #define HAVE_STD__OSTREAM 1
23043 wxUSE_STD_IOSTREAM
=no
23047 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23048 if grep wxUSE_STD_IOSTREAM
$wx_arg_cache_file >/dev
/null
; then
23049 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23050 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23051 { (exit 1); exit 1; }; }
23053 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23054 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23059 ac_cpp
='$CPP $CPPFLAGS'
23060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23066 if test "$wxUSE_STL" = "yes"; then
23068 ac_cpp
='$CXXCPP $CPPFLAGS'
23069 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23070 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23071 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23074 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23075 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23076 cat >conftest.
$ac_ext <<_ACEOF
23079 cat confdefs.h
>>conftest.
$ac_ext
23080 cat >>conftest.
$ac_ext <<_ACEOF
23081 /* end confdefs.h. */
23083 #include <functional>
23084 #include <algorithm>
23090 std::vector<int> moo;
23091 std::list<int> foo;
23092 std::vector<int>::iterator it =
23093 std::find_if(moo.begin(), moo.end(),
23094 std::bind2nd(std::less<int>(), 3));
23099 rm -f conftest.
$ac_objext
23100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23101 (eval $ac_compile) 2>conftest.er1
23103 grep -v '^ *+' conftest.er1
>conftest.err
23105 cat conftest.err
>&5
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); } &&
23108 { ac_try
='test -z "$ac_cxx_werror_flag"
23109 || test ! -s conftest.err'
23110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23111 (eval $ac_try) 2>&5
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); }; } &&
23115 { ac_try
='test -s conftest.$ac_objext'
23116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23117 (eval $ac_try) 2>&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); }; }; then
23121 echo "$as_me:$LINENO: result: yes" >&5
23122 echo "${ECHO_T}yes" >&6
23124 echo "$as_me: failed program was:" >&5
23125 sed 's/^/| /' conftest.
$ac_ext >&5
23127 echo "$as_me:$LINENO: result: no" >&5
23128 echo "${ECHO_T}no" >&6
23129 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23130 echo "$as_me: error: Basic STL functionality missing" >&2;}
23131 { (exit 1); exit 1; }; }
23133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23135 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23136 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23137 cat >conftest.
$ac_ext <<_ACEOF
23140 cat confdefs.h
>>conftest.
$ac_ext
23141 cat >>conftest.
$ac_ext <<_ACEOF
23142 /* end confdefs.h. */
23147 std::string foo, bar;
23149 foo.compare(1, 1, bar);
23150 foo.compare(1, 1, bar, 1, 1);
23152 foo.compare(1, 1, "");
23153 foo.compare(1, 1, "", 2);
23158 rm -f conftest.
$ac_objext
23159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23160 (eval $ac_compile) 2>conftest.er1
23162 grep -v '^ *+' conftest.er1
>conftest.err
23164 cat conftest.err
>&5
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); } &&
23167 { ac_try
='test -z "$ac_cxx_werror_flag"
23168 || test ! -s conftest.err'
23169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23170 (eval $ac_try) 2>&5
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); }; } &&
23174 { ac_try
='test -s conftest.$ac_objext'
23175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23176 (eval $ac_try) 2>&5
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); }; }; then
23180 echo "$as_me:$LINENO: result: yes" >&5
23181 echo "${ECHO_T}yes" >&6
23182 cat >>confdefs.h
<<\_ACEOF
23183 #define HAVE_STD_STRING_COMPARE 1
23187 echo "$as_me: failed program was:" >&5
23188 sed 's/^/| /' conftest.
$ac_ext >&5
23190 echo "$as_me:$LINENO: result: no" >&5
23191 echo "${ECHO_T}no" >&6
23193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23195 if test "${ac_cv_header_hash_map+set}" = set; then
23196 echo "$as_me:$LINENO: checking for hash_map" >&5
23197 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23198 if test "${ac_cv_header_hash_map+set}" = set; then
23199 echo $ECHO_N "(cached) $ECHO_C" >&6
23201 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23202 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23204 # Is the header compilable?
23205 echo "$as_me:$LINENO: checking hash_map usability" >&5
23206 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23207 cat >conftest.
$ac_ext <<_ACEOF
23210 cat confdefs.h
>>conftest.
$ac_ext
23211 cat >>conftest.
$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23213 $ac_includes_default
23214 #include <hash_map>
23216 rm -f conftest.
$ac_objext
23217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23218 (eval $ac_compile) 2>conftest.er1
23220 grep -v '^ *+' conftest.er1
>conftest.err
23222 cat conftest.err
>&5
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); } &&
23225 { ac_try
='test -z "$ac_cxx_werror_flag"
23226 || test ! -s conftest.err'
23227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228 (eval $ac_try) 2>&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); }; } &&
23232 { ac_try
='test -s conftest.$ac_objext'
23233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23234 (eval $ac_try) 2>&5
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; }; then
23238 ac_header_compiler
=yes
23240 echo "$as_me: failed program was:" >&5
23241 sed 's/^/| /' conftest.
$ac_ext >&5
23243 ac_header_compiler
=no
23245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23247 echo "${ECHO_T}$ac_header_compiler" >&6
23249 # Is the header present?
23250 echo "$as_me:$LINENO: checking hash_map presence" >&5
23251 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23252 cat >conftest.
$ac_ext <<_ACEOF
23255 cat confdefs.h
>>conftest.
$ac_ext
23256 cat >>conftest.
$ac_ext <<_ACEOF
23257 /* end confdefs.h. */
23258 #include <hash_map>
23260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23261 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23263 grep -v '^ *+' conftest.er1
>conftest.err
23265 cat conftest.err
>&5
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); } >/dev
/null
; then
23268 if test -s conftest.err
; then
23269 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23270 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23277 if test -z "$ac_cpp_err"; then
23278 ac_header_preproc
=yes
23280 echo "$as_me: failed program was:" >&5
23281 sed 's/^/| /' conftest.
$ac_ext >&5
23283 ac_header_preproc
=no
23285 rm -f conftest.err conftest.
$ac_ext
23286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23287 echo "${ECHO_T}$ac_header_preproc" >&6
23289 # So? What about this header?
23290 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23292 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23293 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23294 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23295 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23296 ac_header_preproc
=yes
23299 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23300 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23302 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23303 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23304 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23305 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23306 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23307 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23308 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23309 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23310 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23313 ## ----------------------------------------- ##
23314 ## Report this to wx-dev@lists.wxwidgets.org ##
23315 ## ----------------------------------------- ##
23318 sed "s/^/$as_me: WARNING: /" >&2
23321 echo "$as_me:$LINENO: checking for hash_map" >&5
23322 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23323 if test "${ac_cv_header_hash_map+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23326 ac_cv_header_hash_map
=$ac_header_preproc
23328 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23329 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23332 if test $ac_cv_header_hash_map = yes; then
23333 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23334 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23335 cat >conftest.
$ac_ext <<_ACEOF
23338 cat confdefs.h
>>conftest.
$ac_ext
23339 cat >>conftest.
$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 #include <hash_map>
23342 #include <hash_set>
23346 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23347 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23352 rm -f conftest.
$ac_objext
23353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23354 (eval $ac_compile) 2>conftest.er1
23356 grep -v '^ *+' conftest.er1
>conftest.err
23358 cat conftest.err
>&5
23359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360 (exit $ac_status); } &&
23361 { ac_try
='test -z "$ac_cxx_werror_flag"
23362 || test ! -s conftest.err'
23363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23364 (eval $ac_try) 2>&5
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); }; } &&
23368 { ac_try
='test -s conftest.$ac_objext'
23369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23370 (eval $ac_try) 2>&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); }; }; then
23374 echo "$as_me:$LINENO: result: yes" >&5
23375 echo "${ECHO_T}yes" >&6
23376 cat >>confdefs.h
<<\_ACEOF
23377 #define HAVE_HASH_MAP 1
23380 cat >>confdefs.h
<<\_ACEOF
23381 #define HAVE_STD_HASH_MAP 1
23385 echo "$as_me: failed program was:" >&5
23386 sed 's/^/| /' conftest.
$ac_ext >&5
23388 echo "$as_me:$LINENO: result: no" >&5
23389 echo "${ECHO_T}no" >&6
23391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23397 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23398 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23399 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23400 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23401 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23404 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23406 # Is the header compilable?
23407 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23408 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23409 cat >conftest.
$ac_ext <<_ACEOF
23412 cat confdefs.h
>>conftest.
$ac_ext
23413 cat >>conftest.
$ac_ext <<_ACEOF
23414 /* end confdefs.h. */
23415 $ac_includes_default
23416 #include <ext/hash_map>
23418 rm -f conftest.
$ac_objext
23419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23420 (eval $ac_compile) 2>conftest.er1
23422 grep -v '^ *+' conftest.er1
>conftest.err
23424 cat conftest.err
>&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); } &&
23427 { ac_try
='test -z "$ac_cxx_werror_flag"
23428 || test ! -s conftest.err'
23429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23430 (eval $ac_try) 2>&5
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); }; } &&
23434 { ac_try
='test -s conftest.$ac_objext'
23435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23436 (eval $ac_try) 2>&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); }; }; then
23440 ac_header_compiler
=yes
23442 echo "$as_me: failed program was:" >&5
23443 sed 's/^/| /' conftest.
$ac_ext >&5
23445 ac_header_compiler
=no
23447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23449 echo "${ECHO_T}$ac_header_compiler" >&6
23451 # Is the header present?
23452 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23453 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23454 cat >conftest.
$ac_ext <<_ACEOF
23457 cat confdefs.h
>>conftest.
$ac_ext
23458 cat >>conftest.
$ac_ext <<_ACEOF
23459 /* end confdefs.h. */
23460 #include <ext/hash_map>
23462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23463 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23465 grep -v '^ *+' conftest.er1
>conftest.err
23467 cat conftest.err
>&5
23468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469 (exit $ac_status); } >/dev
/null
; then
23470 if test -s conftest.err
; then
23471 ac_cpp_err
=$ac_cxx_preproc_warn_flag
23472 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
23479 if test -z "$ac_cpp_err"; then
23480 ac_header_preproc
=yes
23482 echo "$as_me: failed program was:" >&5
23483 sed 's/^/| /' conftest.
$ac_ext >&5
23485 ac_header_preproc
=no
23487 rm -f conftest.err conftest.
$ac_ext
23488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23489 echo "${ECHO_T}$ac_header_preproc" >&6
23491 # So? What about this header?
23492 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23494 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23495 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23496 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23497 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23498 ac_header_preproc
=yes
23501 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23502 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23503 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23504 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23505 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23506 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23507 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23508 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23509 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23510 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23511 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23512 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23515 ## ----------------------------------------- ##
23516 ## Report this to wx-dev@lists.wxwidgets.org ##
23517 ## ----------------------------------------- ##
23520 sed "s/^/$as_me: WARNING: /" >&2
23523 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23524 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23525 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23526 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 ac_cv_header_ext_hash_map
=$ac_header_preproc
23530 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23531 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23534 if test $ac_cv_header_ext_hash_map = yes; then
23535 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23536 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23537 cat >conftest.
$ac_ext <<_ACEOF
23540 cat confdefs.h
>>conftest.
$ac_ext
23541 cat >>conftest.
$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23543 #include <ext/hash_map>
23544 #include <ext/hash_set>
23548 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23549 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23554 rm -f conftest.
$ac_objext
23555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23556 (eval $ac_compile) 2>conftest.er1
23558 grep -v '^ *+' conftest.er1
>conftest.err
23560 cat conftest.err
>&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } &&
23563 { ac_try
='test -z "$ac_cxx_werror_flag"
23564 || test ! -s conftest.err'
23565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23566 (eval $ac_try) 2>&5
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); }; } &&
23570 { ac_try
='test -s conftest.$ac_objext'
23571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23572 (eval $ac_try) 2>&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); }; }; then
23576 echo "$as_me:$LINENO: result: yes" >&5
23577 echo "${ECHO_T}yes" >&6
23578 cat >>confdefs.h
<<\_ACEOF
23579 #define HAVE_EXT_HASH_MAP 1
23582 cat >>confdefs.h
<<\_ACEOF
23583 #define HAVE_GNU_CXX_HASH_MAP 1
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.
$ac_ext >&5
23590 echo "$as_me:$LINENO: result: no" >&5
23591 echo "${ECHO_T}no" >&6
23593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23600 ac_cpp
='$CPP $CPPFLAGS'
23601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23609 /usr/local/include \
23611 /usr/Motif-2.1/include \
23612 /usr/Motif-1.2/include \
23613 /usr/include/Motif1.2 \
23616 /usr/openwin/include \
23620 /usr/X11R6/include \
23621 /usr/X11R6.4/include \
23622 /usr/X11R5/include \
23623 /usr/X11R4/include \
23625 /usr/include/X11R6 \
23626 /usr/include/X11R5 \
23627 /usr/include/X11R4 \
23629 /usr/local/X11R6/include \
23630 /usr/local/X11R5/include \
23631 /usr/local/X11R4/include \
23633 /usr/local/include/X11R6 \
23634 /usr/local/include/X11R5 \
23635 /usr/local/include/X11R4 \
23639 /usr/local/X11/include \
23640 /usr/local/include/X11 \
23642 /usr/XFree86/include/X11 \
23645 /usr/openwin/share/include"
23647 echo "$as_me:$LINENO: checking for libraries directory" >&5
23648 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23652 if test "${wx_cv_std_libpath+set}" = set; then
23653 echo $ECHO_N "(cached) $ECHO_C" >&6
23656 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
23657 for e
in a so sl dylib dll.a
; do
23659 if test -f $libc; then
23662 cat >conftest.
$ac_ext <<_ACEOF
23663 int main() { return 0; }
23665 rm -f conftest.
$ac_objext conftest
$ac_exeext
23666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23667 (eval $ac_link) 2>conftest.er1
23669 grep -v '^ *+' conftest.er1
>conftest.err
23671 cat conftest.err
>&5
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); } &&
23674 { ac_try
='test -z "$ac_c_werror_flag"
23675 || test ! -s conftest.err'
23676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23677 (eval $ac_try) 2>&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); }; } &&
23681 { ac_try
='test -s conftest$ac_exeext'
23682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23683 (eval $ac_try) 2>&5
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); }; }; then
23687 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
23689 echo "$as_me: failed program was:" >&5
23690 sed 's/^/| /' conftest.
$ac_ext >&5
23693 rm -f conftest.err conftest.
$ac_objext \
23694 conftest
$ac_exeext conftest.
$ac_ext
23696 if test "x$wx_cv_std_libpath" != "x"; then
23702 if test "x$wx_cv_std_libpath" = "x"; then
23703 wx_cv_std_libpath
="lib"
23712 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23713 wx_cv_std_libpath
="lib/64"
23715 wx_cv_std_libpath
="lib"
23720 if test "$ac_cv_sizeof_void_p" = 8 -a \
23721 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23722 wx_cv_std_libpath
="lib64"
23724 wx_cv_std_libpath
="lib"
23729 wx_cv_std_libpath
="lib";
23733 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23734 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23736 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23738 if test "$build" != "$host" -a "$GCC" = yes; then
23739 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
23740 cross_root
=`dirname $cross_root`
23741 cross_root
=`dirname $cross_root`
23743 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23744 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23745 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
23747 if test -z "$PKG_CONFIG_PATH"; then
23748 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23749 export PKG_CONFIG_PATH
23752 if test -z "$x_includes" -o "$x_includes" = NONE
; then
23755 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
23757 if test -f "$ac_dir/X11/Intrinsic.h"; then
23758 ac_find_includes
=$ac_dir
23763 x_includes
=$ac_find_includes
23765 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
23768 for ac_dir
in $SEARCH_LIB;
23770 for ac_extension
in a so sl dylib dll.a
; do
23771 if test -f "$ac_dir/libXt.$ac_extension"; then
23772 ac_find_libraries
=$ac_dir
23778 x_libraries
=$ac_find_libraries
23784 cat >confcache
<<\_ACEOF
23785 # This file is a shell script that caches the results of configure
23786 # tests run on this system so they can be shared between configure
23787 # scripts and configure runs, see configure's option --config-cache.
23788 # It is not useful on other systems. If it contains results you don't
23789 # want to keep, you may remove or edit it.
23791 # config.status only pays attention to the cache file if you give it
23792 # the --recheck option to rerun configure.
23794 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23795 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23796 # following values.
23800 # The following way of writing the cache mishandles newlines in values,
23801 # but we know of no workaround that is simple, portable, and efficient.
23802 # So, don't put newlines in cache variables' values.
23803 # Ultrix sh set writes to stderr and can't be redirected directly,
23804 # and sets the high bit in the cache file unless we assign to the vars.
23807 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23809 # `set' does not quote correctly, so add quotes (double-quote
23810 # substitution turns \\\\ into \\, and sed turns \\ into \).
23813 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23816 # `set' quotes correctly as required by POSIX, so do not add quotes.
23818 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23825 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23827 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23829 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
23830 if test -w $cache_file; then
23831 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23832 cat confcache
>$cache_file
23834 echo "not updating unwritable cache $cache_file"
23839 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23840 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23841 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23842 if test "${wx_cv_lib_glibc21+set}" = set; then
23843 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 cat >conftest.
$ac_ext <<_ACEOF
23849 cat confdefs.h
>>conftest.
$ac_ext
23850 cat >>conftest.
$ac_ext <<_ACEOF
23851 /* end confdefs.h. */
23852 #include <features.h>
23857 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23865 rm -f conftest.
$ac_objext
23866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23867 (eval $ac_compile) 2>conftest.er1
23869 grep -v '^ *+' conftest.er1
>conftest.err
23871 cat conftest.err
>&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); } &&
23874 { ac_try
='test -z "$ac_c_werror_flag"
23875 || test ! -s conftest.err'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; } &&
23881 { ac_try
='test -s conftest.$ac_objext'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; }; then
23888 wx_cv_lib_glibc21
=yes
23891 echo "$as_me: failed program was:" >&5
23892 sed 's/^/| /' conftest.
$ac_ext >&5
23895 wx_cv_lib_glibc21
=no
23899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23902 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23903 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23904 if test "$wx_cv_lib_glibc21" = "yes"; then
23905 cat >>confdefs.h
<<\_ACEOF
23906 #define wxHAVE_GLIBC2 1
23912 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23913 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23914 cat >>confdefs.h
<<\_ACEOF
23915 #define _GNU_SOURCE 1
23923 if test "$wxUSE_REGEX" != "no"; then
23924 cat >>confdefs.h
<<\_ACEOF
23925 #define wxUSE_REGEX 1
23929 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23930 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23931 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23932 wxUSE_REGEX
=builtin
23935 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23936 if test "${ac_cv_header_regex_h+set}" = set; then
23937 echo "$as_me:$LINENO: checking for regex.h" >&5
23938 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23939 if test "${ac_cv_header_regex_h+set}" = set; then
23940 echo $ECHO_N "(cached) $ECHO_C" >&6
23942 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23943 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23945 # Is the header compilable?
23946 echo "$as_me:$LINENO: checking regex.h usability" >&5
23947 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23948 cat >conftest.
$ac_ext <<_ACEOF
23951 cat confdefs.h
>>conftest.
$ac_ext
23952 cat >>conftest.
$ac_ext <<_ACEOF
23953 /* end confdefs.h. */
23954 $ac_includes_default
23957 rm -f conftest.
$ac_objext
23958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23959 (eval $ac_compile) 2>conftest.er1
23961 grep -v '^ *+' conftest.er1
>conftest.err
23963 cat conftest.err
>&5
23964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965 (exit $ac_status); } &&
23966 { ac_try
='test -z "$ac_c_werror_flag"
23967 || test ! -s conftest.err'
23968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23969 (eval $ac_try) 2>&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); }; } &&
23973 { ac_try
='test -s conftest.$ac_objext'
23974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23975 (eval $ac_try) 2>&5
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); }; }; then
23979 ac_header_compiler
=yes
23981 echo "$as_me: failed program was:" >&5
23982 sed 's/^/| /' conftest.
$ac_ext >&5
23984 ac_header_compiler
=no
23986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23988 echo "${ECHO_T}$ac_header_compiler" >&6
23990 # Is the header present?
23991 echo "$as_me:$LINENO: checking regex.h presence" >&5
23992 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23993 cat >conftest.
$ac_ext <<_ACEOF
23996 cat confdefs.h
>>conftest.
$ac_ext
23997 cat >>conftest.
$ac_ext <<_ACEOF
23998 /* end confdefs.h. */
24001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24002 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24004 grep -v '^ *+' conftest.er1
>conftest.err
24006 cat conftest.err
>&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } >/dev
/null
; then
24009 if test -s conftest.err
; then
24010 ac_cpp_err
=$ac_c_preproc_warn_flag
24011 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24018 if test -z "$ac_cpp_err"; then
24019 ac_header_preproc
=yes
24021 echo "$as_me: failed program was:" >&5
24022 sed 's/^/| /' conftest.
$ac_ext >&5
24024 ac_header_preproc
=no
24026 rm -f conftest.err conftest.
$ac_ext
24027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24028 echo "${ECHO_T}$ac_header_preproc" >&6
24030 # So? What about this header?
24031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24033 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24034 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24035 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24036 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24037 ac_header_preproc
=yes
24040 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24041 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24042 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24043 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24044 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24045 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24046 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24047 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24048 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24049 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24050 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24051 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24054 ## ----------------------------------------- ##
24055 ## Report this to wx-dev@lists.wxwidgets.org ##
24056 ## ----------------------------------------- ##
24059 sed "s/^/$as_me: WARNING: /" >&2
24062 echo "$as_me:$LINENO: checking for regex.h" >&5
24063 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24064 if test "${ac_cv_header_regex_h+set}" = set; then
24065 echo $ECHO_N "(cached) $ECHO_C" >&6
24067 ac_cv_header_regex_h
=$ac_header_preproc
24069 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24070 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24073 if test $ac_cv_header_regex_h = yes; then
24076 for ac_func
in regcomp re_search
24078 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24079 echo "$as_me:$LINENO: checking for $ac_func" >&5
24080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24081 if eval "test \"\${$as_ac_var+set}\" = set"; then
24082 echo $ECHO_N "(cached) $ECHO_C" >&6
24084 cat >conftest.
$ac_ext <<_ACEOF
24087 cat confdefs.h
>>conftest.
$ac_ext
24088 cat >>conftest.
$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24092 #define $ac_func innocuous_$ac_func
24094 /* System header to define __stub macros and hopefully few prototypes,
24095 which can conflict with char $ac_func (); below.
24096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24097 <limits.h> exists even on freestanding compilers. */
24100 # include <limits.h>
24102 # include <assert.h>
24107 /* Override any gcc2 internal prototype to avoid an error. */
24112 /* We use char because int might match the return type of a gcc2
24113 builtin and then its argument prototype would still apply. */
24115 /* The GNU C library defines this for functions which it implements
24116 to always fail with ENOSYS. Some functions are actually named
24117 something starting with __ and the normal name is an alias. */
24118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24121 char (*f) () = $ac_func;
24130 return f != $ac_func;
24135 rm -f conftest.
$ac_objext conftest
$ac_exeext
24136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24137 (eval $ac_link) 2>conftest.er1
24139 grep -v '^ *+' conftest.er1
>conftest.err
24141 cat conftest.err
>&5
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); } &&
24144 { ac_try
='test -z "$ac_c_werror_flag"
24145 || test ! -s conftest.err'
24146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24147 (eval $ac_try) 2>&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); }; } &&
24151 { ac_try
='test -s conftest$ac_exeext'
24152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24153 (eval $ac_try) 2>&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); }; }; then
24157 eval "$as_ac_var=yes"
24159 echo "$as_me: failed program was:" >&5
24160 sed 's/^/| /' conftest.
$ac_ext >&5
24162 eval "$as_ac_var=no"
24164 rm -f conftest.err conftest.
$ac_objext \
24165 conftest
$ac_exeext conftest.
$ac_ext
24167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24169 if test `eval echo '${'$as_ac_var'}'` = yes; then
24170 cat >>confdefs.h
<<_ACEOF
24171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24181 if test "x$ac_cv_func_regcomp" != "xyes"; then
24182 if test "$wxUSE_REGEX" = "sys" ; then
24183 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24184 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24185 { (exit 1); exit 1; }; }
24187 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24188 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24189 wxUSE_REGEX
=builtin
24193 cat >>confdefs.h
<<\_ACEOF
24194 #define WX_NO_REGEX_ADVANCED 1
24203 if test "$wxUSE_ZLIB" != "no" ; then
24204 cat >>confdefs.h
<<\_ACEOF
24205 #define wxUSE_ZLIB 1
24209 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24210 if test "$USE_DARWIN" = 1; then
24211 system_zlib_h_ok
="yes"
24213 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24214 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24215 if test "${ac_cv_header_zlib_h+set}" = set; then
24216 echo $ECHO_N "(cached) $ECHO_C" >&6
24218 if test "$cross_compiling" = yes; then
24219 unset ac_cv_header_zlib_h
24222 cat >conftest.
$ac_ext <<_ACEOF
24225 cat confdefs.h
>>conftest.
$ac_ext
24226 cat >>conftest.
$ac_ext <<_ACEOF
24227 /* end confdefs.h. */
24234 FILE *f=fopen("conftestval", "w");
24237 ZLIB_VERSION[0] == '1' &&
24238 (ZLIB_VERSION[2] > '1' ||
24239 (ZLIB_VERSION[2] == '1' &&
24240 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24245 rm -f conftest
$ac_exeext
24246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24247 (eval $ac_link) 2>&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24252 (eval $ac_try) 2>&5
24254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24255 (exit $ac_status); }; }; then
24256 ac_cv_header_zlib_h
=`cat conftestval`
24258 echo "$as_me: program exited with status $ac_status" >&5
24259 echo "$as_me: failed program was:" >&5
24260 sed 's/^/| /' conftest.
$ac_ext >&5
24262 ( exit $ac_status )
24263 ac_cv_header_zlib_h
=no
24265 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24269 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24270 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24271 if test "${ac_cv_header_zlib_h+set}" = set; then
24272 echo "$as_me:$LINENO: checking for zlib.h" >&5
24273 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24274 if test "${ac_cv_header_zlib_h+set}" = set; then
24275 echo $ECHO_N "(cached) $ECHO_C" >&6
24277 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24278 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24280 # Is the header compilable?
24281 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24282 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24283 cat >conftest.
$ac_ext <<_ACEOF
24286 cat confdefs.h
>>conftest.
$ac_ext
24287 cat >>conftest.
$ac_ext <<_ACEOF
24288 /* end confdefs.h. */
24289 $ac_includes_default
24292 rm -f conftest.
$ac_objext
24293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24294 (eval $ac_compile) 2>conftest.er1
24296 grep -v '^ *+' conftest.er1
>conftest.err
24298 cat conftest.err
>&5
24299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24300 (exit $ac_status); } &&
24301 { ac_try
='test -z "$ac_c_werror_flag"
24302 || test ! -s conftest.err'
24303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24304 (eval $ac_try) 2>&5
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); }; } &&
24308 { ac_try
='test -s conftest.$ac_objext'
24309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24310 (eval $ac_try) 2>&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); }; }; then
24314 ac_header_compiler
=yes
24316 echo "$as_me: failed program was:" >&5
24317 sed 's/^/| /' conftest.
$ac_ext >&5
24319 ac_header_compiler
=no
24321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24322 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24323 echo "${ECHO_T}$ac_header_compiler" >&6
24325 # Is the header present?
24326 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24327 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24328 cat >conftest.
$ac_ext <<_ACEOF
24331 cat confdefs.h
>>conftest.
$ac_ext
24332 cat >>conftest.
$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24337 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24339 grep -v '^ *+' conftest.er1
>conftest.err
24341 cat conftest.err
>&5
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); } >/dev
/null
; then
24344 if test -s conftest.err
; then
24345 ac_cpp_err
=$ac_c_preproc_warn_flag
24346 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24353 if test -z "$ac_cpp_err"; then
24354 ac_header_preproc
=yes
24356 echo "$as_me: failed program was:" >&5
24357 sed 's/^/| /' conftest.
$ac_ext >&5
24359 ac_header_preproc
=no
24361 rm -f conftest.err conftest.
$ac_ext
24362 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24363 echo "${ECHO_T}$ac_header_preproc" >&6
24365 # So? What about this header?
24366 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24368 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24369 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24370 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24371 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24372 ac_header_preproc
=yes
24375 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24376 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24377 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24378 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24379 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24380 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24381 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24382 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24383 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24384 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24385 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24386 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24389 ## ----------------------------------------- ##
24390 ## Report this to wx-dev@lists.wxwidgets.org ##
24391 ## ----------------------------------------- ##
24394 sed "s/^/$as_me: WARNING: /" >&2
24397 echo "$as_me:$LINENO: checking for zlib.h" >&5
24398 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24399 if test "${ac_cv_header_zlib_h+set}" = set; then
24400 echo $ECHO_N "(cached) $ECHO_C" >&6
24402 ac_cv_header_zlib_h
=$ac_header_preproc
24404 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24405 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24411 system_zlib_h_ok
=$ac_cv_header_zlib_h
24414 if test "$system_zlib_h_ok" = "yes"; then
24415 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24416 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24417 if test "${ac_cv_lib_z_deflate+set}" = set; then
24418 echo $ECHO_N "(cached) $ECHO_C" >&6
24420 ac_check_lib_save_LIBS
=$LIBS
24422 cat >conftest.
$ac_ext <<_ACEOF
24425 cat confdefs.h
>>conftest.
$ac_ext
24426 cat >>conftest.
$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24429 /* Override any gcc2 internal prototype to avoid an error. */
24433 /* We use char because int might match the return type of a gcc2
24434 builtin and then its argument prototype would still apply. */
24444 rm -f conftest.
$ac_objext conftest
$ac_exeext
24445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24446 (eval $ac_link) 2>conftest.er1
24448 grep -v '^ *+' conftest.er1
>conftest.err
24450 cat conftest.err
>&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); } &&
24453 { ac_try
='test -z "$ac_c_werror_flag"
24454 || test ! -s conftest.err'
24455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24456 (eval $ac_try) 2>&5
24458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459 (exit $ac_status); }; } &&
24460 { ac_try
='test -s conftest$ac_exeext'
24461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24462 (eval $ac_try) 2>&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); }; }; then
24466 ac_cv_lib_z_deflate
=yes
24468 echo "$as_me: failed program was:" >&5
24469 sed 's/^/| /' conftest.
$ac_ext >&5
24471 ac_cv_lib_z_deflate
=no
24473 rm -f conftest.err conftest.
$ac_objext \
24474 conftest
$ac_exeext conftest.
$ac_ext
24475 LIBS
=$ac_check_lib_save_LIBS
24477 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24478 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24479 if test $ac_cv_lib_z_deflate = yes; then
24485 if test "x$ZLIB_LINK" = "x" ; then
24486 if test "$wxUSE_ZLIB" = "sys" ; then
24487 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24488 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24489 { (exit 1); exit 1; }; }
24491 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24492 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24503 if test "$wxUSE_LIBPNG" != "no" ; then
24504 cat >>confdefs.h
<<\_ACEOF
24505 #define wxUSE_LIBPNG 1
24509 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24510 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24511 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24515 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24516 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24517 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24518 wxUSE_LIBPNG
=builtin
24521 if test "$wxUSE_MGL" != 1 ; then
24522 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24523 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24524 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24525 if test "${ac_cv_header_png_h+set}" = set; then
24526 echo $ECHO_N "(cached) $ECHO_C" >&6
24528 if test "$cross_compiling" = yes; then
24529 unset ac_cv_header_png_h
24532 cat >conftest.
$ac_ext <<_ACEOF
24535 cat confdefs.h
>>conftest.
$ac_ext
24536 cat >>conftest.
$ac_ext <<_ACEOF
24537 /* end confdefs.h. */
24544 FILE *f=fopen("conftestval", "w");
24547 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24552 rm -f conftest
$ac_exeext
24553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24554 (eval $ac_link) 2>&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24559 (eval $ac_try) 2>&5
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); }; }; then
24563 ac_cv_header_png_h
=`cat conftestval`
24565 echo "$as_me: program exited with status $ac_status" >&5
24566 echo "$as_me: failed program was:" >&5
24567 sed 's/^/| /' conftest.
$ac_ext >&5
24569 ( exit $ac_status )
24570 ac_cv_header_png_h
=no
24572 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24576 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24577 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24578 if test "${ac_cv_header_png_h+set}" = set; then
24579 echo "$as_me:$LINENO: checking for png.h" >&5
24580 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24581 if test "${ac_cv_header_png_h+set}" = set; then
24582 echo $ECHO_N "(cached) $ECHO_C" >&6
24584 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24585 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24587 # Is the header compilable?
24588 echo "$as_me:$LINENO: checking png.h usability" >&5
24589 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24590 cat >conftest.
$ac_ext <<_ACEOF
24593 cat confdefs.h
>>conftest.
$ac_ext
24594 cat >>conftest.
$ac_ext <<_ACEOF
24595 /* end confdefs.h. */
24596 $ac_includes_default
24599 rm -f conftest.
$ac_objext
24600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24601 (eval $ac_compile) 2>conftest.er1
24603 grep -v '^ *+' conftest.er1
>conftest.err
24605 cat conftest.err
>&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); } &&
24608 { ac_try
='test -z "$ac_c_werror_flag"
24609 || test ! -s conftest.err'
24610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24611 (eval $ac_try) 2>&5
24613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24614 (exit $ac_status); }; } &&
24615 { ac_try
='test -s conftest.$ac_objext'
24616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24617 (eval $ac_try) 2>&5
24619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24620 (exit $ac_status); }; }; then
24621 ac_header_compiler
=yes
24623 echo "$as_me: failed program was:" >&5
24624 sed 's/^/| /' conftest.
$ac_ext >&5
24626 ac_header_compiler
=no
24628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24629 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24630 echo "${ECHO_T}$ac_header_compiler" >&6
24632 # Is the header present?
24633 echo "$as_me:$LINENO: checking png.h presence" >&5
24634 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24635 cat >conftest.
$ac_ext <<_ACEOF
24638 cat confdefs.h
>>conftest.
$ac_ext
24639 cat >>conftest.
$ac_ext <<_ACEOF
24640 /* end confdefs.h. */
24643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24644 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24646 grep -v '^ *+' conftest.er1
>conftest.err
24648 cat conftest.err
>&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); } >/dev
/null
; then
24651 if test -s conftest.err
; then
24652 ac_cpp_err
=$ac_c_preproc_warn_flag
24653 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24660 if test -z "$ac_cpp_err"; then
24661 ac_header_preproc
=yes
24663 echo "$as_me: failed program was:" >&5
24664 sed 's/^/| /' conftest.
$ac_ext >&5
24666 ac_header_preproc
=no
24668 rm -f conftest.err conftest.
$ac_ext
24669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24670 echo "${ECHO_T}$ac_header_preproc" >&6
24672 # So? What about this header?
24673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24675 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24676 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24677 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24678 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24679 ac_header_preproc
=yes
24682 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24683 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24684 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24685 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24686 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24687 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24688 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24689 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24690 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24691 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24692 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24693 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24696 ## ----------------------------------------- ##
24697 ## Report this to wx-dev@lists.wxwidgets.org ##
24698 ## ----------------------------------------- ##
24701 sed "s/^/$as_me: WARNING: /" >&2
24704 echo "$as_me:$LINENO: checking for png.h" >&5
24705 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24706 if test "${ac_cv_header_png_h+set}" = set; then
24707 echo $ECHO_N "(cached) $ECHO_C" >&6
24709 ac_cv_header_png_h
=$ac_header_preproc
24711 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24712 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24718 if test "$ac_cv_header_png_h" = "yes"; then
24719 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24720 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24721 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24722 echo $ECHO_N "(cached) $ECHO_C" >&6
24724 ac_check_lib_save_LIBS
=$LIBS
24725 LIBS
="-lpng -lz -lm $LIBS"
24726 cat >conftest.
$ac_ext <<_ACEOF
24729 cat confdefs.h
>>conftest.
$ac_ext
24730 cat >>conftest.
$ac_ext <<_ACEOF
24731 /* end confdefs.h. */
24733 /* Override any gcc2 internal prototype to avoid an error. */
24737 /* We use char because int might match the return type of a gcc2
24738 builtin and then its argument prototype would still apply. */
24739 char png_check_sig ();
24748 rm -f conftest.
$ac_objext conftest
$ac_exeext
24749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24750 (eval $ac_link) 2>conftest.er1
24752 grep -v '^ *+' conftest.er1
>conftest.err
24754 cat conftest.err
>&5
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); } &&
24757 { ac_try
='test -z "$ac_c_werror_flag"
24758 || test ! -s conftest.err'
24759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24760 (eval $ac_try) 2>&5
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); }; } &&
24764 { ac_try
='test -s conftest$ac_exeext'
24765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24766 (eval $ac_try) 2>&5
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); }; }; then
24770 ac_cv_lib_png_png_check_sig
=yes
24772 echo "$as_me: failed program was:" >&5
24773 sed 's/^/| /' conftest.
$ac_ext >&5
24775 ac_cv_lib_png_png_check_sig
=no
24777 rm -f conftest.err conftest.
$ac_objext \
24778 conftest
$ac_exeext conftest.
$ac_ext
24779 LIBS
=$ac_check_lib_save_LIBS
24781 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24782 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24783 if test $ac_cv_lib_png_png_check_sig = yes; then
24784 PNG_LINK
=" -lpng -lz"
24789 if test "x$PNG_LINK" = "x" ; then
24790 if test "$wxUSE_LIBPNG" = "sys" ; then
24791 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24792 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24793 { (exit 1); exit 1; }; }
24795 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24796 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24797 wxUSE_LIBPNG
=builtin
24805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
24810 if test "$wxUSE_LIBJPEG" != "no" ; then
24811 cat >>confdefs.h
<<\_ACEOF
24812 #define wxUSE_LIBJPEG 1
24816 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24817 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24818 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24822 if test "$wxUSE_MGL" != 1 ; then
24823 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24824 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24825 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24826 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24827 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 cat >conftest.
$ac_ext <<_ACEOF
24832 cat confdefs.h
>>conftest.
$ac_ext
24833 cat >>conftest.
$ac_ext <<_ACEOF
24834 /* end confdefs.h. */
24836 #undef HAVE_STDLIB_H
24838 #include <jpeglib.h>
24849 rm -f conftest.
$ac_objext
24850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24851 (eval $ac_compile) 2>conftest.er1
24853 grep -v '^ *+' conftest.er1
>conftest.err
24855 cat conftest.err
>&5
24856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24857 (exit $ac_status); } &&
24858 { ac_try
='test -z "$ac_c_werror_flag"
24859 || test ! -s conftest.err'
24860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24861 (eval $ac_try) 2>&5
24863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864 (exit $ac_status); }; } &&
24865 { ac_try
='test -s conftest.$ac_objext'
24866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24867 (eval $ac_try) 2>&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); }; }; then
24871 ac_cv_header_jpeglib_h
=yes
24873 echo "$as_me: failed program was:" >&5
24874 sed 's/^/| /' conftest.
$ac_ext >&5
24876 ac_cv_header_jpeglib_h
=no
24879 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24883 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24884 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24886 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24887 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24888 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24889 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24890 echo $ECHO_N "(cached) $ECHO_C" >&6
24892 ac_check_lib_save_LIBS
=$LIBS
24893 LIBS
="-ljpeg $LIBS"
24894 cat >conftest.
$ac_ext <<_ACEOF
24897 cat confdefs.h
>>conftest.
$ac_ext
24898 cat >>conftest.
$ac_ext <<_ACEOF
24899 /* end confdefs.h. */
24901 /* Override any gcc2 internal prototype to avoid an error. */
24905 /* We use char because int might match the return type of a gcc2
24906 builtin and then its argument prototype would still apply. */
24907 char jpeg_read_header ();
24911 jpeg_read_header ();
24916 rm -f conftest.
$ac_objext conftest
$ac_exeext
24917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24918 (eval $ac_link) 2>conftest.er1
24920 grep -v '^ *+' conftest.er1
>conftest.err
24922 cat conftest.err
>&5
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); } &&
24925 { ac_try
='test -z "$ac_c_werror_flag"
24926 || test ! -s conftest.err'
24927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24928 (eval $ac_try) 2>&5
24930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24931 (exit $ac_status); }; } &&
24932 { ac_try
='test -s conftest$ac_exeext'
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; }; then
24938 ac_cv_lib_jpeg_jpeg_read_header
=yes
24940 echo "$as_me: failed program was:" >&5
24941 sed 's/^/| /' conftest.
$ac_ext >&5
24943 ac_cv_lib_jpeg_jpeg_read_header
=no
24945 rm -f conftest.err conftest.
$ac_objext \
24946 conftest
$ac_exeext conftest.
$ac_ext
24947 LIBS
=$ac_check_lib_save_LIBS
24949 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24950 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24951 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24952 JPEG_LINK
=" -ljpeg"
24957 if test "x$JPEG_LINK" = "x" ; then
24958 if test "$wxUSE_LIBJPEG" = "sys" ; then
24959 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24960 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24961 { (exit 1); exit 1; }; }
24963 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24964 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24965 wxUSE_LIBJPEG
=builtin
24976 TIFF_PREREQ_LINKS
=-lm
24977 if test "$wxUSE_LIBTIFF" != "no" ; then
24978 cat >>confdefs.h
<<\_ACEOF
24979 #define wxUSE_LIBTIFF 1
24983 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24984 if test "$wxUSE_LIBJPEG" = "sys"; then
24985 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
24987 if test "$wxUSE_ZLIB" = "sys"; then
24988 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24990 if test "${ac_cv_header_tiffio_h+set}" = set; then
24991 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24992 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24993 if test "${ac_cv_header_tiffio_h+set}" = set; then
24994 echo $ECHO_N "(cached) $ECHO_C" >&6
24996 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
24997 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
24999 # Is the header compilable?
25000 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25001 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25002 cat >conftest.
$ac_ext <<_ACEOF
25005 cat confdefs.h
>>conftest.
$ac_ext
25006 cat >>conftest.
$ac_ext <<_ACEOF
25007 /* end confdefs.h. */
25008 $ac_includes_default
25009 #include <tiffio.h>
25011 rm -f conftest.
$ac_objext
25012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25013 (eval $ac_compile) 2>conftest.er1
25015 grep -v '^ *+' conftest.er1
>conftest.err
25017 cat conftest.err
>&5
25018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019 (exit $ac_status); } &&
25020 { ac_try
='test -z "$ac_c_werror_flag"
25021 || test ! -s conftest.err'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; } &&
25027 { ac_try
='test -s conftest.$ac_objext'
25028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25029 (eval $ac_try) 2>&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); }; }; then
25033 ac_header_compiler
=yes
25035 echo "$as_me: failed program was:" >&5
25036 sed 's/^/| /' conftest.
$ac_ext >&5
25038 ac_header_compiler
=no
25040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25042 echo "${ECHO_T}$ac_header_compiler" >&6
25044 # Is the header present?
25045 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25046 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25047 cat >conftest.
$ac_ext <<_ACEOF
25050 cat confdefs.h
>>conftest.
$ac_ext
25051 cat >>conftest.
$ac_ext <<_ACEOF
25052 /* end confdefs.h. */
25053 #include <tiffio.h>
25055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25058 grep -v '^ *+' conftest.er1
>conftest.err
25060 cat conftest.err
>&5
25061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062 (exit $ac_status); } >/dev
/null
; then
25063 if test -s conftest.err
; then
25064 ac_cpp_err
=$ac_c_preproc_warn_flag
25065 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25072 if test -z "$ac_cpp_err"; then
25073 ac_header_preproc
=yes
25075 echo "$as_me: failed program was:" >&5
25076 sed 's/^/| /' conftest.
$ac_ext >&5
25078 ac_header_preproc
=no
25080 rm -f conftest.err conftest.
$ac_ext
25081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25082 echo "${ECHO_T}$ac_header_preproc" >&6
25084 # So? What about this header?
25085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25087 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25088 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25089 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25090 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25091 ac_header_preproc
=yes
25094 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25095 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25096 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25097 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25098 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25099 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25100 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25101 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25102 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25103 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25104 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25105 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25108 ## ----------------------------------------- ##
25109 ## Report this to wx-dev@lists.wxwidgets.org ##
25110 ## ----------------------------------------- ##
25113 sed "s/^/$as_me: WARNING: /" >&2
25116 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25117 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25118 if test "${ac_cv_header_tiffio_h+set}" = set; then
25119 echo $ECHO_N "(cached) $ECHO_C" >&6
25121 ac_cv_header_tiffio_h
=$ac_header_preproc
25123 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25124 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25127 if test $ac_cv_header_tiffio_h = yes; then
25129 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25130 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25131 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25132 echo $ECHO_N "(cached) $ECHO_C" >&6
25134 ac_check_lib_save_LIBS
=$LIBS
25135 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25136 cat >conftest.
$ac_ext <<_ACEOF
25139 cat confdefs.h
>>conftest.
$ac_ext
25140 cat >>conftest.
$ac_ext <<_ACEOF
25141 /* end confdefs.h. */
25143 /* Override any gcc2 internal prototype to avoid an error. */
25147 /* We use char because int might match the return type of a gcc2
25148 builtin and then its argument prototype would still apply. */
25158 rm -f conftest.
$ac_objext conftest
$ac_exeext
25159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25160 (eval $ac_link) 2>conftest.er1
25162 grep -v '^ *+' conftest.er1
>conftest.err
25164 cat conftest.err
>&5
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); } &&
25167 { ac_try
='test -z "$ac_c_werror_flag"
25168 || test ! -s conftest.err'
25169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25170 (eval $ac_try) 2>&5
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); }; } &&
25174 { ac_try
='test -s conftest$ac_exeext'
25175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25176 (eval $ac_try) 2>&5
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); }; }; then
25180 ac_cv_lib_tiff_TIFFError
=yes
25182 echo "$as_me: failed program was:" >&5
25183 sed 's/^/| /' conftest.
$ac_ext >&5
25185 ac_cv_lib_tiff_TIFFError
=no
25187 rm -f conftest.err conftest.
$ac_objext \
25188 conftest
$ac_exeext conftest.
$ac_ext
25189 LIBS
=$ac_check_lib_save_LIBS
25191 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25192 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25193 if test $ac_cv_lib_tiff_TIFFError = yes; then
25194 TIFF_LINK
=" -ltiff"
25203 if test "x$TIFF_LINK" = "x" ; then
25204 if test "$wxUSE_LIBTIFF" = "sys" ; then
25205 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25206 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25207 { (exit 1); exit 1; }; }
25209 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25210 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25211 wxUSE_LIBTIFF
=builtin
25220 if test "$wxUSE_WCHAR_T" != "yes"; then
25221 if test "$wxUSE_EXPAT" != "no"; then
25222 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25223 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25226 if test "$wxUSE_XML" != "no"; then
25227 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25228 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25233 if test "$wxUSE_EXPAT" != "no"; then
25235 cat >>confdefs.h
<<\_ACEOF
25236 #define wxUSE_EXPAT 1
25239 cat >>confdefs.h
<<\_ACEOF
25240 #define wxUSE_XML 1
25244 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25245 if test "${ac_cv_header_expat_h+set}" = set; then
25246 echo "$as_me:$LINENO: checking for expat.h" >&5
25247 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25248 if test "${ac_cv_header_expat_h+set}" = set; then
25249 echo $ECHO_N "(cached) $ECHO_C" >&6
25251 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25252 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25254 # Is the header compilable?
25255 echo "$as_me:$LINENO: checking expat.h usability" >&5
25256 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25257 cat >conftest.
$ac_ext <<_ACEOF
25260 cat confdefs.h
>>conftest.
$ac_ext
25261 cat >>conftest.
$ac_ext <<_ACEOF
25262 /* end confdefs.h. */
25263 $ac_includes_default
25266 rm -f conftest.
$ac_objext
25267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25268 (eval $ac_compile) 2>conftest.er1
25270 grep -v '^ *+' conftest.er1
>conftest.err
25272 cat conftest.err
>&5
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); } &&
25275 { ac_try
='test -z "$ac_c_werror_flag"
25276 || test ! -s conftest.err'
25277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25278 (eval $ac_try) 2>&5
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); }; } &&
25282 { ac_try
='test -s conftest.$ac_objext'
25283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25284 (eval $ac_try) 2>&5
25286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287 (exit $ac_status); }; }; then
25288 ac_header_compiler
=yes
25290 echo "$as_me: failed program was:" >&5
25291 sed 's/^/| /' conftest.
$ac_ext >&5
25293 ac_header_compiler
=no
25295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25297 echo "${ECHO_T}$ac_header_compiler" >&6
25299 # Is the header present?
25300 echo "$as_me:$LINENO: checking expat.h presence" >&5
25301 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25302 cat >conftest.
$ac_ext <<_ACEOF
25305 cat confdefs.h
>>conftest.
$ac_ext
25306 cat >>conftest.
$ac_ext <<_ACEOF
25307 /* end confdefs.h. */
25310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25311 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25313 grep -v '^ *+' conftest.er1
>conftest.err
25315 cat conftest.err
>&5
25316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317 (exit $ac_status); } >/dev
/null
; then
25318 if test -s conftest.err
; then
25319 ac_cpp_err
=$ac_c_preproc_warn_flag
25320 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25327 if test -z "$ac_cpp_err"; then
25328 ac_header_preproc
=yes
25330 echo "$as_me: failed program was:" >&5
25331 sed 's/^/| /' conftest.
$ac_ext >&5
25333 ac_header_preproc
=no
25335 rm -f conftest.err conftest.
$ac_ext
25336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25337 echo "${ECHO_T}$ac_header_preproc" >&6
25339 # So? What about this header?
25340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25342 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25343 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25344 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25345 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25346 ac_header_preproc
=yes
25349 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25350 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25351 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25352 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25353 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25354 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25355 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25356 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25357 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25358 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25359 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25360 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25363 ## ----------------------------------------- ##
25364 ## Report this to wx-dev@lists.wxwidgets.org ##
25365 ## ----------------------------------------- ##
25368 sed "s/^/$as_me: WARNING: /" >&2
25371 echo "$as_me:$LINENO: checking for expat.h" >&5
25372 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25373 if test "${ac_cv_header_expat_h+set}" = set; then
25374 echo $ECHO_N "(cached) $ECHO_C" >&6
25376 ac_cv_header_expat_h
=$ac_header_preproc
25378 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25379 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25382 if test $ac_cv_header_expat_h = yes; then
25387 if test "x$found_expat_h" = "x1"; then
25388 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25389 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25390 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25391 echo $ECHO_N "(cached) $ECHO_C" >&6
25397 ac_cpp
='$CXXCPP $CPPFLAGS'
25398 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25402 cat >conftest.
$ac_ext <<_ACEOF
25405 cat confdefs.h
>>conftest.
$ac_ext
25406 cat >>conftest.
$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25417 rm -f conftest.
$ac_objext
25418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25419 (eval $ac_compile) 2>conftest.er1
25421 grep -v '^ *+' conftest.er1
>conftest.err
25423 cat conftest.err
>&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); } &&
25426 { ac_try
='test -z "$ac_cxx_werror_flag"
25427 || test ! -s conftest.err'
25428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25429 (eval $ac_try) 2>&5
25431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25432 (exit $ac_status); }; } &&
25433 { ac_try
='test -s conftest.$ac_objext'
25434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435 (eval $ac_try) 2>&5
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); }; }; then
25439 wx_cv_expat_is_not_broken
=yes
25441 echo "$as_me: failed program was:" >&5
25442 sed 's/^/| /' conftest.
$ac_ext >&5
25444 wx_cv_expat_is_not_broken
=no
25447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25449 ac_cpp
='$CPP $CPPFLAGS'
25450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25457 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25458 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25459 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25460 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25461 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25462 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25463 echo $ECHO_N "(cached) $ECHO_C" >&6
25465 ac_check_lib_save_LIBS
=$LIBS
25466 LIBS
="-lexpat $LIBS"
25467 cat >conftest.
$ac_ext <<_ACEOF
25470 cat confdefs.h
>>conftest.
$ac_ext
25471 cat >>conftest.
$ac_ext <<_ACEOF
25472 /* end confdefs.h. */
25474 /* Override any gcc2 internal prototype to avoid an error. */
25478 /* We use char because int might match the return type of a gcc2
25479 builtin and then its argument prototype would still apply. */
25480 char XML_ParserCreate ();
25484 XML_ParserCreate ();
25489 rm -f conftest.
$ac_objext conftest
$ac_exeext
25490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25491 (eval $ac_link) 2>conftest.er1
25493 grep -v '^ *+' conftest.er1
>conftest.err
25495 cat conftest.err
>&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } &&
25498 { ac_try
='test -z "$ac_c_werror_flag"
25499 || test ! -s conftest.err'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; } &&
25505 { ac_try
='test -s conftest$ac_exeext'
25506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25507 (eval $ac_try) 2>&5
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); }; }; then
25511 ac_cv_lib_expat_XML_ParserCreate
=yes
25513 echo "$as_me: failed program was:" >&5
25514 sed 's/^/| /' conftest.
$ac_ext >&5
25516 ac_cv_lib_expat_XML_ParserCreate
=no
25518 rm -f conftest.err conftest.
$ac_objext \
25519 conftest
$ac_exeext conftest.
$ac_ext
25520 LIBS
=$ac_check_lib_save_LIBS
25522 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25523 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25524 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25525 EXPAT_LINK
=" -lexpat"
25530 if test "x$EXPAT_LINK" = "x" ; then
25531 if test "$wxUSE_EXPAT" = "sys" ; then
25532 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25533 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25534 { (exit 1); exit 1; }; }
25536 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25537 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25538 wxUSE_EXPAT
=builtin
25544 if test "$wxUSE_EXPAT" = "builtin" ; then
25547 subdirs
="$subdirs src/expat"
25554 if test "$wxUSE_LIBMSPACK" != "no"; then
25555 if test "${ac_cv_header_mspack_h+set}" = set; then
25556 echo "$as_me:$LINENO: checking for mspack.h" >&5
25557 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25558 if test "${ac_cv_header_mspack_h+set}" = set; then
25559 echo $ECHO_N "(cached) $ECHO_C" >&6
25561 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25562 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25564 # Is the header compilable?
25565 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25566 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25567 cat >conftest.
$ac_ext <<_ACEOF
25570 cat confdefs.h
>>conftest.
$ac_ext
25571 cat >>conftest.
$ac_ext <<_ACEOF
25572 /* end confdefs.h. */
25573 $ac_includes_default
25574 #include <mspack.h>
25576 rm -f conftest.
$ac_objext
25577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25578 (eval $ac_compile) 2>conftest.er1
25580 grep -v '^ *+' conftest.er1
>conftest.err
25582 cat conftest.err
>&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); } &&
25585 { ac_try
='test -z "$ac_c_werror_flag"
25586 || test ! -s conftest.err'
25587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25588 (eval $ac_try) 2>&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; } &&
25592 { ac_try
='test -s conftest.$ac_objext'
25593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25594 (eval $ac_try) 2>&5
25596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25597 (exit $ac_status); }; }; then
25598 ac_header_compiler
=yes
25600 echo "$as_me: failed program was:" >&5
25601 sed 's/^/| /' conftest.
$ac_ext >&5
25603 ac_header_compiler
=no
25605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25607 echo "${ECHO_T}$ac_header_compiler" >&6
25609 # Is the header present?
25610 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25611 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25612 cat >conftest.
$ac_ext <<_ACEOF
25615 cat confdefs.h
>>conftest.
$ac_ext
25616 cat >>conftest.
$ac_ext <<_ACEOF
25617 /* end confdefs.h. */
25618 #include <mspack.h>
25620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25621 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25623 grep -v '^ *+' conftest.er1
>conftest.err
25625 cat conftest.err
>&5
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); } >/dev
/null
; then
25628 if test -s conftest.err
; then
25629 ac_cpp_err
=$ac_c_preproc_warn_flag
25630 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25637 if test -z "$ac_cpp_err"; then
25638 ac_header_preproc
=yes
25640 echo "$as_me: failed program was:" >&5
25641 sed 's/^/| /' conftest.
$ac_ext >&5
25643 ac_header_preproc
=no
25645 rm -f conftest.err conftest.
$ac_ext
25646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25647 echo "${ECHO_T}$ac_header_preproc" >&6
25649 # So? What about this header?
25650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25652 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25653 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25654 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25655 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25656 ac_header_preproc
=yes
25659 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25660 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25661 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25662 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25663 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25664 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25665 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25666 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25667 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25668 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25669 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25670 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25673 ## ----------------------------------------- ##
25674 ## Report this to wx-dev@lists.wxwidgets.org ##
25675 ## ----------------------------------------- ##
25678 sed "s/^/$as_me: WARNING: /" >&2
25681 echo "$as_me:$LINENO: checking for mspack.h" >&5
25682 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25683 if test "${ac_cv_header_mspack_h+set}" = set; then
25684 echo $ECHO_N "(cached) $ECHO_C" >&6
25686 ac_cv_header_mspack_h
=$ac_header_preproc
25688 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25689 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25692 if test $ac_cv_header_mspack_h = yes; then
25697 if test "x$found_mspack_h" = "x1"; then
25698 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25699 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25700 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25701 echo $ECHO_N "(cached) $ECHO_C" >&6
25703 ac_check_lib_save_LIBS
=$LIBS
25704 LIBS
="-lmspack $LIBS"
25705 cat >conftest.
$ac_ext <<_ACEOF
25708 cat confdefs.h
>>conftest.
$ac_ext
25709 cat >>conftest.
$ac_ext <<_ACEOF
25710 /* end confdefs.h. */
25712 /* Override any gcc2 internal prototype to avoid an error. */
25716 /* We use char because int might match the return type of a gcc2
25717 builtin and then its argument prototype would still apply. */
25718 char mspack_create_chm_decompressor ();
25722 mspack_create_chm_decompressor ();
25727 rm -f conftest.
$ac_objext conftest
$ac_exeext
25728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25729 (eval $ac_link) 2>conftest.er1
25731 grep -v '^ *+' conftest.er1
>conftest.err
25733 cat conftest.err
>&5
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); } &&
25736 { ac_try
='test -z "$ac_c_werror_flag"
25737 || test ! -s conftest.err'
25738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25739 (eval $ac_try) 2>&5
25741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25742 (exit $ac_status); }; } &&
25743 { ac_try
='test -s conftest$ac_exeext'
25744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25745 (eval $ac_try) 2>&5
25747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748 (exit $ac_status); }; }; then
25749 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
25751 echo "$as_me: failed program was:" >&5
25752 sed 's/^/| /' conftest.
$ac_ext >&5
25754 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
25756 rm -f conftest.err conftest.
$ac_objext \
25757 conftest
$ac_exeext conftest.
$ac_ext
25758 LIBS
=$ac_check_lib_save_LIBS
25760 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25761 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25762 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25763 MSPACK_LINK
=" -lmspack"
25767 if test "x$MSPACK_LINK" = "x" ; then
25772 if test "$wxUSE_LIBMSPACK" != "no"; then
25773 cat >>confdefs.h
<<\_ACEOF
25774 #define wxUSE_LIBMSPACK 1
25788 if test "$USE_WIN32" = 1 ; then
25790 for ac_header
in w32api.h
25792 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25794 echo "$as_me:$LINENO: checking for $ac_header" >&5
25795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25797 echo $ECHO_N "(cached) $ECHO_C" >&6
25799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25802 # Is the header compilable?
25803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25805 cat >conftest.
$ac_ext <<_ACEOF
25808 cat confdefs.h
>>conftest.
$ac_ext
25809 cat >>conftest.
$ac_ext <<_ACEOF
25810 /* end confdefs.h. */
25811 $ac_includes_default
25812 #include <$ac_header>
25814 rm -f conftest.
$ac_objext
25815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25816 (eval $ac_compile) 2>conftest.er1
25818 grep -v '^ *+' conftest.er1
>conftest.err
25820 cat conftest.err
>&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); } &&
25823 { ac_try
='test -z "$ac_c_werror_flag"
25824 || test ! -s conftest.err'
25825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25826 (eval $ac_try) 2>&5
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); }; } &&
25830 { ac_try
='test -s conftest.$ac_objext'
25831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25832 (eval $ac_try) 2>&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); }; }; then
25836 ac_header_compiler
=yes
25838 echo "$as_me: failed program was:" >&5
25839 sed 's/^/| /' conftest.
$ac_ext >&5
25841 ac_header_compiler
=no
25843 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25845 echo "${ECHO_T}$ac_header_compiler" >&6
25847 # Is the header present?
25848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25850 cat >conftest.
$ac_ext <<_ACEOF
25853 cat confdefs.h
>>conftest.
$ac_ext
25854 cat >>conftest.
$ac_ext <<_ACEOF
25855 /* end confdefs.h. */
25856 #include <$ac_header>
25858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25859 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25861 grep -v '^ *+' conftest.er1
>conftest.err
25863 cat conftest.err
>&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } >/dev
/null
; then
25866 if test -s conftest.err
; then
25867 ac_cpp_err
=$ac_c_preproc_warn_flag
25868 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25875 if test -z "$ac_cpp_err"; then
25876 ac_header_preproc
=yes
25878 echo "$as_me: failed program was:" >&5
25879 sed 's/^/| /' conftest.
$ac_ext >&5
25881 ac_header_preproc
=no
25883 rm -f conftest.err conftest.
$ac_ext
25884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25885 echo "${ECHO_T}$ac_header_preproc" >&6
25887 # So? What about this header?
25888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25893 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25894 ac_header_preproc
=yes
25897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25902 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25904 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25908 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25911 ## ----------------------------------------- ##
25912 ## Report this to wx-dev@lists.wxwidgets.org ##
25913 ## ----------------------------------------- ##
25916 sed "s/^/$as_me: WARNING: /" >&2
25919 echo "$as_me:$LINENO: checking for $ac_header" >&5
25920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25922 echo $ECHO_N "(cached) $ECHO_C" >&6
25924 eval "$as_ac_Header=\$ac_header_preproc"
25926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25931 cat >>confdefs.h
<<_ACEOF
25932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25939 if test "${ac_cv_header_windows_h+set}" = set; then
25940 echo "$as_me:$LINENO: checking for windows.h" >&5
25941 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25942 if test "${ac_cv_header_windows_h+set}" = set; then
25943 echo $ECHO_N "(cached) $ECHO_C" >&6
25945 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25946 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25948 # Is the header compilable?
25949 echo "$as_me:$LINENO: checking windows.h usability" >&5
25950 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25951 cat >conftest.
$ac_ext <<_ACEOF
25954 cat confdefs.h
>>conftest.
$ac_ext
25955 cat >>conftest.
$ac_ext <<_ACEOF
25956 /* end confdefs.h. */
25957 $ac_includes_default
25958 #include <windows.h>
25960 rm -f conftest.
$ac_objext
25961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25962 (eval $ac_compile) 2>conftest.er1
25964 grep -v '^ *+' conftest.er1
>conftest.err
25966 cat conftest.err
>&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); } &&
25969 { ac_try
='test -z "$ac_c_werror_flag"
25970 || test ! -s conftest.err'
25971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25972 (eval $ac_try) 2>&5
25974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25975 (exit $ac_status); }; } &&
25976 { ac_try
='test -s conftest.$ac_objext'
25977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25978 (eval $ac_try) 2>&5
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); }; }; then
25982 ac_header_compiler
=yes
25984 echo "$as_me: failed program was:" >&5
25985 sed 's/^/| /' conftest.
$ac_ext >&5
25987 ac_header_compiler
=no
25989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25991 echo "${ECHO_T}$ac_header_compiler" >&6
25993 # Is the header present?
25994 echo "$as_me:$LINENO: checking windows.h presence" >&5
25995 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
25996 cat >conftest.
$ac_ext <<_ACEOF
25999 cat confdefs.h
>>conftest.
$ac_ext
26000 cat >>conftest.
$ac_ext <<_ACEOF
26001 /* end confdefs.h. */
26002 #include <windows.h>
26004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26005 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26007 grep -v '^ *+' conftest.er1
>conftest.err
26009 cat conftest.err
>&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } >/dev
/null
; then
26012 if test -s conftest.err
; then
26013 ac_cpp_err
=$ac_c_preproc_warn_flag
26014 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26021 if test -z "$ac_cpp_err"; then
26022 ac_header_preproc
=yes
26024 echo "$as_me: failed program was:" >&5
26025 sed 's/^/| /' conftest.
$ac_ext >&5
26027 ac_header_preproc
=no
26029 rm -f conftest.err conftest.
$ac_ext
26030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26031 echo "${ECHO_T}$ac_header_preproc" >&6
26033 # So? What about this header?
26034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26036 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26037 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26038 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26039 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26040 ac_header_preproc
=yes
26043 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26044 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26045 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26046 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26047 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26048 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26049 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26050 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26051 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26052 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26053 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26054 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26057 ## ----------------------------------------- ##
26058 ## Report this to wx-dev@lists.wxwidgets.org ##
26059 ## ----------------------------------------- ##
26062 sed "s/^/$as_me: WARNING: /" >&2
26065 echo "$as_me:$LINENO: checking for windows.h" >&5
26066 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26067 if test "${ac_cv_header_windows_h+set}" = set; then
26068 echo $ECHO_N "(cached) $ECHO_C" >&6
26070 ac_cv_header_windows_h
=$ac_header_preproc
26072 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26073 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26076 if test $ac_cv_header_windows_h = yes; then
26080 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26081 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26082 { (exit 1); exit 1; }; }
26088 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26090 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26091 LIBS
="$LIBS -loleacc"
26096 LIBS
="$LIBS -lkernel32 -luser32"
26099 if test "$wxUSE_ODBC" = "sys" ; then
26102 if test "$wxUSE_ODBC" = "yes" ; then
26103 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
26104 cat >>confdefs.h
<<\_ACEOF
26105 #define wxUSE_ODBC 1
26110 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26111 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
26113 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26115 WIN32INSTALL
=win32install
26118 if test "$wxUSE_GUI" = "yes"; then
26128 if test "$wxUSE_COCOA" = 1 ; then
26129 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26130 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26131 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26132 wxUSE_PRINTING_ARCHITECTURE
=no
26134 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26135 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26136 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26137 wxUSE_DRAG_AND_DROP
=no
26139 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26140 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26141 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26146 if test "$wxUSE_MSW" = 1 ; then
26152 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26156 if test "$wxUSE_GTK" = 1; then
26157 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26158 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26160 gtk_version_cached
=1
26161 if test "${wx_cv_lib_gtk+set}" = set; then
26162 echo $ECHO_N "(cached) $ECHO_C" >&6
26165 gtk_version_cached
=0
26166 echo "$as_me:$LINENO: result: " >&5
26167 echo "${ECHO_T}" >&6
26170 if test "$wxUSE_THREADS" = "yes"; then
26171 GTK_MODULES
=gthread
26175 if test "x$wxGTK_VERSION" != "x1"
26179 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26184 # Check whether --enable-gtktest or --disable-gtktest was given.
26185 if test "${enable_gtktest+set}" = set; then
26186 enableval
="$enable_gtktest"
26192 pkg_config_args
=gtk
+-2.0
26193 for module
in .
$GTK_MODULES
26197 pkg_config_args
="$pkg_config_args gthread-2.0"
26204 # Extract the first word of "pkg-config", so it can be a program name with args.
26205 set dummy pkg
-config; ac_word
=$2
26206 echo "$as_me:$LINENO: checking for $ac_word" >&5
26207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26208 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26209 echo $ECHO_N "(cached) $ECHO_C" >&6
26211 case $PKG_CONFIG in
26213 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26217 for as_dir
in $PATH
26220 test -z "$as_dir" && as_dir
=.
26221 for ac_exec_ext
in '' $ac_executable_extensions; do
26222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26223 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26230 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
26234 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26236 if test -n "$PKG_CONFIG"; then
26237 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26238 echo "${ECHO_T}$PKG_CONFIG" >&6
26240 echo "$as_me:$LINENO: result: no" >&5
26241 echo "${ECHO_T}no" >&6
26245 if test x
$PKG_CONFIG != xno
; then
26246 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
26249 echo "*** pkg-config too old; version 0.7 or better required."
26257 min_gtk_version
=2.0.0
26258 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26259 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26261 if test x
$PKG_CONFIG != xno
; then
26262 ## don't try to run the test against uninstalled libtool libs
26263 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26264 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26268 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26275 if test x
"$no_gtk" = x
; then
26276 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
26277 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
26278 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26279 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26280 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26281 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26282 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
26283 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26284 if test "x$enable_gtktest" = "xyes" ; then
26285 ac_save_CFLAGS
="$CFLAGS"
26286 ac_save_LIBS
="$LIBS"
26287 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26288 LIBS
="$GTK_LIBS $LIBS"
26290 if test "$cross_compiling" = yes; then
26291 echo $ac_n "cross compiling; assumed OK... $ac_c"
26293 cat >conftest.
$ac_ext <<_ACEOF
26296 cat confdefs.h
>>conftest.
$ac_ext
26297 cat >>conftest.
$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26300 #include <gtk/gtk.h>
26302 #include <stdlib.h>
26307 int major, minor, micro;
26310 system ("touch conf.gtktest");
26312 /* HP/UX 9 (%@#!) writes to sscanf strings */
26313 tmp_version = g_strdup("$min_gtk_version");
26314 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26315 printf("%s, bad version string\n", "$min_gtk_version");
26319 if ((gtk_major_version != $gtk_config_major_version) ||
26320 (gtk_minor_version != $gtk_config_minor_version) ||
26321 (gtk_micro_version != $gtk_config_micro_version))
26323 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26324 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26325 gtk_major_version, gtk_minor_version, gtk_micro_version);
26326 printf ("*** was found! If pkg-config was correct, then it is best\n");
26327 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26328 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26329 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26330 printf("*** required on your system.\n");
26331 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26332 printf("*** to point to the correct configuration files\n");
26334 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26335 (gtk_minor_version != GTK_MINOR_VERSION) ||
26336 (gtk_micro_version != GTK_MICRO_VERSION))
26338 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26339 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26340 printf("*** library (version %d.%d.%d)\n",
26341 gtk_major_version, gtk_minor_version, gtk_micro_version);
26345 if ((gtk_major_version > major) ||
26346 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26347 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26353 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26354 gtk_major_version, gtk_minor_version, gtk_micro_version);
26355 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26356 major, minor, micro);
26357 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26359 printf("*** If you have already installed a sufficiently new version, this error\n");
26360 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26361 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26362 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26363 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26364 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26365 printf("*** so that the correct libraries are found at run-time))\n");
26372 rm -f conftest
$ac_exeext
26373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26374 (eval $ac_link) 2>&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26379 (eval $ac_try) 2>&5
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); }; }; then
26385 echo "$as_me: program exited with status $ac_status" >&5
26386 echo "$as_me: failed program was:" >&5
26387 sed 's/^/| /' conftest.
$ac_ext >&5
26389 ( exit $ac_status )
26392 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26394 CFLAGS
="$ac_save_CFLAGS"
26395 LIBS
="$ac_save_LIBS"
26398 if test "x$no_gtk" = x
; then
26399 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26400 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26403 echo "$as_me:$LINENO: result: no" >&5
26404 echo "${ECHO_T}no" >&6
26405 if test "$PKG_CONFIG" = "no" ; then
26406 echo "*** A new enough version of pkg-config was not found."
26407 echo "*** See http://pkgconfig.sourceforge.net"
26409 if test -f conf.gtktest
; then
26412 echo "*** Could not run GTK+ test program, checking why..."
26413 ac_save_CFLAGS
="$CFLAGS"
26414 ac_save_LIBS
="$LIBS"
26415 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26416 LIBS
="$LIBS $GTK_LIBS"
26417 cat >conftest.
$ac_ext <<_ACEOF
26420 cat confdefs.h
>>conftest.
$ac_ext
26421 cat >>conftest.
$ac_ext <<_ACEOF
26422 /* end confdefs.h. */
26424 #include <gtk/gtk.h>
26430 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26435 rm -f conftest.
$ac_objext conftest
$ac_exeext
26436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26437 (eval $ac_link) 2>conftest.er1
26439 grep -v '^ *+' conftest.er1
>conftest.err
26441 cat conftest.err
>&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } &&
26444 { ac_try
='test -z "$ac_c_werror_flag"
26445 || test ! -s conftest.err'
26446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26447 (eval $ac_try) 2>&5
26449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450 (exit $ac_status); }; } &&
26451 { ac_try
='test -s conftest$ac_exeext'
26452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26453 (eval $ac_try) 2>&5
26455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26456 (exit $ac_status); }; }; then
26457 echo "*** The test program compiled, but did not run. This usually means"
26458 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26459 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26460 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26461 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26462 echo "*** is required on your system"
26464 echo "*** If you have an old version installed, it is best to remove it, although"
26465 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26467 echo "$as_me: failed program was:" >&5
26468 sed 's/^/| /' conftest.
$ac_ext >&5
26470 echo "*** The test program failed to compile or link. See the file config.log for the"
26471 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26473 rm -f conftest.err conftest.
$ac_objext \
26474 conftest
$ac_exeext conftest.
$ac_ext
26475 CFLAGS
="$ac_save_CFLAGS"
26476 LIBS
="$ac_save_LIBS"
26490 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26491 GTK_CFLAGS
=`echo $GTK_CFLAGS | sed 's/-mt//'`
26492 GTK_LIBS
=`echo $GTK_LIBS | sed 's/-mt//'`
26494 if test "$wxUSE_SHARED" != "yes"; then
26495 GTK_LIBS
="$GTK_LIBS -lX11"
26500 if test -z "$wx_cv_lib_gtk"; then
26501 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26503 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26504 if test "${with_gtk_prefix+set}" = set; then
26505 withval
="$with_gtk_prefix"
26506 gtk_config_prefix
="$withval"
26508 gtk_config_prefix
=""
26511 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26512 if test "${with_gtk_exec_prefix+set}" = set; then
26513 withval
="$with_gtk_exec_prefix"
26514 gtk_config_exec_prefix
="$withval"
26516 gtk_config_exec_prefix
=""
26518 # Check whether --enable-gtktest or --disable-gtktest was given.
26519 if test "${enable_gtktest+set}" = set; then
26520 enableval
="$enable_gtktest"
26526 for module
in .
$GTK_MODULES
26530 gtk_config_args
="$gtk_config_args gthread"
26535 if test x
$gtk_config_exec_prefix != x
; then
26536 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26537 if test x
${GTK_CONFIG+set} != xset
; then
26538 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26541 if test x
$gtk_config_prefix != x
; then
26542 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26543 if test x
${GTK_CONFIG+set} != xset
; then
26544 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26548 # Extract the first word of "gtk-config", so it can be a program name with args.
26549 set dummy gtk
-config; ac_word
=$2
26550 echo "$as_me:$LINENO: checking for $ac_word" >&5
26551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26552 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26553 echo $ECHO_N "(cached) $ECHO_C" >&6
26555 case $GTK_CONFIG in
26557 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26561 for as_dir
in $PATH
26564 test -z "$as_dir" && as_dir
=.
26565 for ac_exec_ext
in '' $ac_executable_extensions; do
26566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26567 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26574 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26578 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26580 if test -n "$GTK_CONFIG"; then
26581 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26582 echo "${ECHO_T}$GTK_CONFIG" >&6
26584 echo "$as_me:$LINENO: result: no" >&5
26585 echo "${ECHO_T}no" >&6
26588 min_gtk_version
=1.2.7
26589 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26590 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26592 if test "$GTK_CONFIG" = "no" ; then
26595 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26596 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26597 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26599 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26601 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26603 if test "x$enable_gtktest" = "xyes" ; then
26604 ac_save_CFLAGS
="$CFLAGS"
26605 ac_save_LIBS
="$LIBS"
26606 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26607 LIBS
="$GTK_LIBS $LIBS"
26609 if test "$cross_compiling" = yes; then
26610 echo $ac_n "cross compiling; assumed OK... $ac_c"
26612 cat >conftest.
$ac_ext <<_ACEOF
26615 cat confdefs.h
>>conftest.
$ac_ext
26616 cat >>conftest.
$ac_ext <<_ACEOF
26617 /* end confdefs.h. */
26619 #include <gtk/gtk.h>
26621 #include <stdlib.h>
26626 int major, minor, micro;
26629 system ("touch conf.gtktest");
26631 /* HP/UX 9 (%@#!) writes to sscanf strings */
26632 tmp_version = g_strdup("$min_gtk_version");
26633 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26634 printf("%s, bad version string\n", "$min_gtk_version");
26638 if ((gtk_major_version != $gtk_config_major_version) ||
26639 (gtk_minor_version != $gtk_config_minor_version) ||
26640 (gtk_micro_version != $gtk_config_micro_version))
26642 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26643 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26644 gtk_major_version, gtk_minor_version, gtk_micro_version);
26645 printf ("*** was found! If gtk-config was correct, then it is best\n");
26646 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26647 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26648 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26649 printf("*** required on your system.\n");
26650 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26651 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26652 printf("*** before re-running configure\n");
26654 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26655 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26656 (gtk_minor_version != GTK_MINOR_VERSION) ||
26657 (gtk_micro_version != GTK_MICRO_VERSION))
26659 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26660 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26661 printf("*** library (version %d.%d.%d)\n",
26662 gtk_major_version, gtk_minor_version, gtk_micro_version);
26664 #endif /* defined (GTK_MAJOR_VERSION) ... */
26667 if ((gtk_major_version > major) ||
26668 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26669 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26675 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26676 gtk_major_version, gtk_minor_version, gtk_micro_version);
26677 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26678 major, minor, micro);
26679 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26681 printf("*** If you have already installed a sufficiently new version, this error\n");
26682 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26683 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26684 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26685 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26686 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26687 printf("*** so that the correct libraries are found at run-time))\n");
26694 rm -f conftest
$ac_exeext
26695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26696 (eval $ac_link) 2>&5
26698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26701 (eval $ac_try) 2>&5
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); }; }; then
26707 echo "$as_me: program exited with status $ac_status" >&5
26708 echo "$as_me: failed program was:" >&5
26709 sed 's/^/| /' conftest.
$ac_ext >&5
26711 ( exit $ac_status )
26714 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26716 CFLAGS
="$ac_save_CFLAGS"
26717 LIBS
="$ac_save_LIBS"
26720 if test "x$no_gtk" = x
; then
26721 echo "$as_me:$LINENO: result: yes" >&5
26722 echo "${ECHO_T}yes" >&6
26723 wx_cv_lib_gtk
=1.2.7
26725 echo "$as_me:$LINENO: result: no" >&5
26726 echo "${ECHO_T}no" >&6
26727 if test "$GTK_CONFIG" = "no" ; then
26728 echo "*** The gtk-config script installed by GTK could not be found"
26729 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26730 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26731 echo "*** full path to gtk-config."
26733 if test -f conf.gtktest
; then
26736 echo "*** Could not run GTK test program, checking why..."
26737 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26738 LIBS
="$LIBS $GTK_LIBS"
26739 cat >conftest.
$ac_ext <<_ACEOF
26742 cat confdefs.h
>>conftest.
$ac_ext
26743 cat >>conftest.
$ac_ext <<_ACEOF
26744 /* end confdefs.h. */
26746 #include <gtk/gtk.h>
26752 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26757 rm -f conftest.
$ac_objext conftest
$ac_exeext
26758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26759 (eval $ac_link) 2>conftest.er1
26761 grep -v '^ *+' conftest.er1
>conftest.err
26763 cat conftest.err
>&5
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); } &&
26766 { ac_try
='test -z "$ac_c_werror_flag"
26767 || test ! -s conftest.err'
26768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26769 (eval $ac_try) 2>&5
26771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772 (exit $ac_status); }; } &&
26773 { ac_try
='test -s conftest$ac_exeext'
26774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26775 (eval $ac_try) 2>&5
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); }; }; then
26779 echo "*** The test program compiled, but did not run. This usually means"
26780 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26781 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26782 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26783 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26784 echo "*** is required on your system"
26786 echo "*** If you have an old version installed, it is best to remove it, although"
26787 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26789 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26790 echo "*** came with the system with the command"
26792 echo "*** rpm --erase --nodeps gtk gtk-devel"
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.
$ac_ext >&5
26797 echo "*** The test program failed to compile or link. See the file config.log for the"
26798 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26799 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26800 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26802 rm -f conftest.err conftest.
$ac_objext \
26803 conftest
$ac_exeext conftest.
$ac_ext
26804 CFLAGS
="$ac_save_CFLAGS"
26805 LIBS
="$ac_save_LIBS"
26817 if test -z "$wx_cv_lib_gtk"; then
26819 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26820 if test "${with_gtk_prefix+set}" = set; then
26821 withval
="$with_gtk_prefix"
26822 gtk_config_prefix
="$withval"
26824 gtk_config_prefix
=""
26827 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26828 if test "${with_gtk_exec_prefix+set}" = set; then
26829 withval
="$with_gtk_exec_prefix"
26830 gtk_config_exec_prefix
="$withval"
26832 gtk_config_exec_prefix
=""
26834 # Check whether --enable-gtktest or --disable-gtktest was given.
26835 if test "${enable_gtktest+set}" = set; then
26836 enableval
="$enable_gtktest"
26842 for module
in .
$GTK_MODULES
26846 gtk_config_args
="$gtk_config_args gthread"
26851 if test x
$gtk_config_exec_prefix != x
; then
26852 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26853 if test x
${GTK_CONFIG+set} != xset
; then
26854 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
26857 if test x
$gtk_config_prefix != x
; then
26858 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
26859 if test x
${GTK_CONFIG+set} != xset
; then
26860 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
26864 # Extract the first word of "gtk-config", so it can be a program name with args.
26865 set dummy gtk
-config; ac_word
=$2
26866 echo "$as_me:$LINENO: checking for $ac_word" >&5
26867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26868 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26869 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 case $GTK_CONFIG in
26873 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
26876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26877 for as_dir
in $PATH
26880 test -z "$as_dir" && as_dir
=.
26881 for ac_exec_ext
in '' $ac_executable_extensions; do
26882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26883 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26890 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
26894 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
26896 if test -n "$GTK_CONFIG"; then
26897 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26898 echo "${ECHO_T}$GTK_CONFIG" >&6
26900 echo "$as_me:$LINENO: result: no" >&5
26901 echo "${ECHO_T}no" >&6
26904 min_gtk_version
=1.2.3
26905 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26906 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26908 if test "$GTK_CONFIG" = "no" ; then
26911 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
26912 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
26913 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
26914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26915 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
26916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26917 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
26918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26919 if test "x$enable_gtktest" = "xyes" ; then
26920 ac_save_CFLAGS
="$CFLAGS"
26921 ac_save_LIBS
="$LIBS"
26922 CFLAGS
="$CFLAGS $GTK_CFLAGS"
26923 LIBS
="$GTK_LIBS $LIBS"
26925 if test "$cross_compiling" = yes; then
26926 echo $ac_n "cross compiling; assumed OK... $ac_c"
26928 cat >conftest.
$ac_ext <<_ACEOF
26931 cat confdefs.h
>>conftest.
$ac_ext
26932 cat >>conftest.
$ac_ext <<_ACEOF
26933 /* end confdefs.h. */
26935 #include <gtk/gtk.h>
26937 #include <stdlib.h>
26942 int major, minor, micro;
26945 system ("touch conf.gtktest");
26947 /* HP/UX 9 (%@#!) writes to sscanf strings */
26948 tmp_version = g_strdup("$min_gtk_version");
26949 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
26950 printf("%s, bad version string\n", "$min_gtk_version");
26954 if ((gtk_major_version != $gtk_config_major_version) ||
26955 (gtk_minor_version != $gtk_config_minor_version) ||
26956 (gtk_micro_version != $gtk_config_micro_version))
26958 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26959 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26960 gtk_major_version, gtk_minor_version, gtk_micro_version);
26961 printf ("*** was found! If gtk-config was correct, then it is best\n");
26962 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26963 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26964 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26965 printf("*** required on your system.\n");
26966 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26967 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26968 printf("*** before re-running configure\n");
26970 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26971 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26972 (gtk_minor_version != GTK_MINOR_VERSION) ||
26973 (gtk_micro_version != GTK_MICRO_VERSION))
26975 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26976 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26977 printf("*** library (version %d.%d.%d)\n",
26978 gtk_major_version, gtk_minor_version, gtk_micro_version);
26980 #endif /* defined (GTK_MAJOR_VERSION) ... */
26983 if ((gtk_major_version > major) ||
26984 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26985 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26991 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26992 gtk_major_version, gtk_minor_version, gtk_micro_version);
26993 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26994 major, minor, micro);
26995 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26997 printf("*** If you have already installed a sufficiently new version, this error\n");
26998 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26999 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27000 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27001 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27002 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27003 printf("*** so that the correct libraries are found at run-time))\n");
27010 rm -f conftest
$ac_exeext
27011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27012 (eval $ac_link) 2>&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27017 (eval $ac_try) 2>&5
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); }; }; then
27023 echo "$as_me: program exited with status $ac_status" >&5
27024 echo "$as_me: failed program was:" >&5
27025 sed 's/^/| /' conftest.
$ac_ext >&5
27027 ( exit $ac_status )
27030 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27032 CFLAGS
="$ac_save_CFLAGS"
27033 LIBS
="$ac_save_LIBS"
27036 if test "x$no_gtk" = x
; then
27037 echo "$as_me:$LINENO: result: yes" >&5
27038 echo "${ECHO_T}yes" >&6
27039 wx_cv_lib_gtk
=1.2.3
27041 echo "$as_me:$LINENO: result: no" >&5
27042 echo "${ECHO_T}no" >&6
27043 if test "$GTK_CONFIG" = "no" ; then
27044 echo "*** The gtk-config script installed by GTK could not be found"
27045 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27046 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27047 echo "*** full path to gtk-config."
27049 if test -f conf.gtktest
; then
27052 echo "*** Could not run GTK test program, checking why..."
27053 CFLAGS
="$CFLAGS $GTK_CFLAGS"
27054 LIBS
="$LIBS $GTK_LIBS"
27055 cat >conftest.
$ac_ext <<_ACEOF
27058 cat confdefs.h
>>conftest.
$ac_ext
27059 cat >>conftest.
$ac_ext <<_ACEOF
27060 /* end confdefs.h. */
27062 #include <gtk/gtk.h>
27068 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27073 rm -f conftest.
$ac_objext conftest
$ac_exeext
27074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27075 (eval $ac_link) 2>conftest.er1
27077 grep -v '^ *+' conftest.er1
>conftest.err
27079 cat conftest.err
>&5
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); } &&
27082 { ac_try
='test -z "$ac_c_werror_flag"
27083 || test ! -s conftest.err'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; } &&
27089 { ac_try
='test -s conftest$ac_exeext'
27090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27091 (eval $ac_try) 2>&5
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); }; }; then
27095 echo "*** The test program compiled, but did not run. This usually means"
27096 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27097 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27098 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27099 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27100 echo "*** is required on your system"
27102 echo "*** If you have an old version installed, it is best to remove it, although"
27103 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27105 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27106 echo "*** came with the system with the command"
27108 echo "*** rpm --erase --nodeps gtk gtk-devel"
27110 echo "$as_me: failed program was:" >&5
27111 sed 's/^/| /' conftest.
$ac_ext >&5
27113 echo "*** The test program failed to compile or link. See the file config.log for the"
27114 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27115 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27116 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27118 rm -f conftest.err conftest.
$ac_objext \
27119 conftest
$ac_exeext conftest.
$ac_ext
27120 CFLAGS
="$ac_save_CFLAGS"
27121 LIBS
="$ac_save_LIBS"
27136 if test -z "$wx_cv_lib_gtk"; then
27139 wx_cv_cflags_gtk
=$GTK_CFLAGS
27140 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27147 if test "$gtk_version_cached" = 1; then
27148 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27149 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27152 case "$wx_cv_lib_gtk" in
27161 *) { { echo "$as_me:$LINENO: error:
27162 The development files for GTK+ were not found. For GTK+ 2, please
27163 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27164 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27165 and that the version is 1.2.3 or above. Also check that the
27166 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27167 --libs' are in the LD_LIBRARY_PATH or equivalent.
27169 echo "$as_me: error:
27170 The development files for GTK+ were not found. For GTK+ 2, please
27171 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27172 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27173 and that the version is 1.2.3 or above. Also check that the
27174 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27175 --libs' are in the LD_LIBRARY_PATH or equivalent.
27177 { (exit 1); exit 1; }; }
27181 if test "$WXGTK20" = 1; then
27182 save_CFLAGS
="$CFLAGS"
27184 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
27185 LIBS
="$LIBS $wx_cv_libs_gtk"
27187 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27188 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27189 cat >conftest.
$ac_ext <<_ACEOF
27192 cat confdefs.h
>>conftest.
$ac_ext
27193 cat >>conftest.
$ac_ext <<_ACEOF
27194 /* end confdefs.h. */
27196 #include <gtk/gtk.h>
27202 void *f = gtk_icon_size_lookup;
27208 rm -f conftest.
$ac_objext
27209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27210 (eval $ac_compile) 2>conftest.er1
27212 grep -v '^ *+' conftest.er1
>conftest.err
27214 cat conftest.err
>&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } &&
27217 { ac_try
='test -z "$ac_c_werror_flag"
27218 || test ! -s conftest.err'
27219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27220 (eval $ac_try) 2>&5
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); }; } &&
27224 { ac_try
='test -s conftest.$ac_objext'
27225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226 (eval $ac_try) 2>&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); }; }; then
27231 echo "$as_me:$LINENO: result: no" >&5
27232 echo "${ECHO_T}no" >&6
27235 echo "$as_me: failed program was:" >&5
27236 sed 's/^/| /' conftest.
$ac_ext >&5
27239 cat >>confdefs.h
<<\_ACEOF
27240 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27243 echo "$as_me:$LINENO: result: yes" >&5
27244 echo "${ECHO_T}yes" >&6
27247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27249 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27250 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27251 cat >conftest.
$ac_ext <<_ACEOF
27254 cat confdefs.h
>>conftest.
$ac_ext
27255 cat >>conftest.
$ac_ext <<_ACEOF
27256 /* end confdefs.h. */
27258 #include <gtk/gtk.h>
27264 #if !GTK_CHECK_VERSION(2,4,0)
27272 rm -f conftest.
$ac_objext
27273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27274 (eval $ac_compile) 2>conftest.er1
27276 grep -v '^ *+' conftest.er1
>conftest.err
27278 cat conftest.err
>&5
27279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27280 (exit $ac_status); } &&
27281 { ac_try
='test -z "$ac_c_werror_flag"
27282 || test ! -s conftest.err'
27283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27284 (eval $ac_try) 2>&5
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); }; } &&
27288 { ac_try
='test -s conftest.$ac_objext'
27289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27290 (eval $ac_try) 2>&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); }; }; then
27295 cat >>confdefs.h
<<\_ACEOF
27296 #define __WXGTK24__ 1
27299 echo "$as_me:$LINENO: result: yes" >&5
27300 echo "${ECHO_T}yes" >&6
27303 echo "$as_me: failed program was:" >&5
27304 sed 's/^/| /' conftest.
$ac_ext >&5
27307 echo "$as_me:$LINENO: result: no" >&5
27308 echo "${ECHO_T}no" >&6
27311 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27313 CFLAGS
="$save_CFLAGS"
27316 if test "$wxUSE_UNICODE" = "yes"; then
27317 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27318 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27323 if test "$USE_DARWIN" != 1; then
27325 for ac_func
in poll
27327 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27328 echo "$as_me:$LINENO: checking for $ac_func" >&5
27329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27330 if eval "test \"\${$as_ac_var+set}\" = set"; then
27331 echo $ECHO_N "(cached) $ECHO_C" >&6
27333 cat >conftest.
$ac_ext <<_ACEOF
27336 cat confdefs.h
>>conftest.
$ac_ext
27337 cat >>conftest.
$ac_ext <<_ACEOF
27338 /* end confdefs.h. */
27339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27341 #define $ac_func innocuous_$ac_func
27343 /* System header to define __stub macros and hopefully few prototypes,
27344 which can conflict with char $ac_func (); below.
27345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27346 <limits.h> exists even on freestanding compilers. */
27349 # include <limits.h>
27351 # include <assert.h>
27356 /* Override any gcc2 internal prototype to avoid an error. */
27361 /* We use char because int might match the return type of a gcc2
27362 builtin and then its argument prototype would still apply. */
27364 /* The GNU C library defines this for functions which it implements
27365 to always fail with ENOSYS. Some functions are actually named
27366 something starting with __ and the normal name is an alias. */
27367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27370 char (*f) () = $ac_func;
27379 return f != $ac_func;
27384 rm -f conftest.
$ac_objext conftest
$ac_exeext
27385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27386 (eval $ac_link) 2>conftest.er1
27388 grep -v '^ *+' conftest.er1
>conftest.err
27390 cat conftest.err
>&5
27391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27392 (exit $ac_status); } &&
27393 { ac_try
='test -z "$ac_c_werror_flag"
27394 || test ! -s conftest.err'
27395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27396 (eval $ac_try) 2>&5
27398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399 (exit $ac_status); }; } &&
27400 { ac_try
='test -s conftest$ac_exeext'
27401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27402 (eval $ac_try) 2>&5
27404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27405 (exit $ac_status); }; }; then
27406 eval "$as_ac_var=yes"
27408 echo "$as_me: failed program was:" >&5
27409 sed 's/^/| /' conftest.
$ac_ext >&5
27411 eval "$as_ac_var=no"
27413 rm -f conftest.err conftest.
$ac_objext \
27414 conftest
$ac_exeext conftest.
$ac_ext
27416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27418 if test `eval echo '${'$as_ac_var'}'` = yes; then
27419 cat >>confdefs.h
<<_ACEOF
27420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27428 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
27429 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27431 AFMINSTALL
=afminstall
27435 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27436 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27437 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27438 echo $ECHO_N "(cached) $ECHO_C" >&6
27440 ac_check_lib_save_LIBS
=$LIBS
27442 cat >conftest.
$ac_ext <<_ACEOF
27445 cat confdefs.h
>>conftest.
$ac_ext
27446 cat >>conftest.
$ac_ext <<_ACEOF
27447 /* end confdefs.h. */
27449 /* Override any gcc2 internal prototype to avoid an error. */
27453 /* We use char because int might match the return type of a gcc2
27454 builtin and then its argument prototype would still apply. */
27455 char gdk_im_open ();
27464 rm -f conftest.
$ac_objext conftest
$ac_exeext
27465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27466 (eval $ac_link) 2>conftest.er1
27468 grep -v '^ *+' conftest.er1
>conftest.err
27470 cat conftest.err
>&5
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); } &&
27473 { ac_try
='test -z "$ac_c_werror_flag"
27474 || test ! -s conftest.err'
27475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27476 (eval $ac_try) 2>&5
27478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479 (exit $ac_status); }; } &&
27480 { ac_try
='test -s conftest$ac_exeext'
27481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27482 (eval $ac_try) 2>&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); }; }; then
27486 ac_cv_lib_gdk_gdk_im_open
=yes
27488 echo "$as_me: failed program was:" >&5
27489 sed 's/^/| /' conftest.
$ac_ext >&5
27491 ac_cv_lib_gdk_gdk_im_open
=no
27493 rm -f conftest.err conftest.
$ac_objext \
27494 conftest
$ac_exeext conftest.
$ac_ext
27495 LIBS
=$ac_check_lib_save_LIBS
27497 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27498 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27499 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27500 cat >>confdefs.h
<<\_ACEOF
27508 if test "$wxUSE_GPE" = "yes"; then
27509 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27510 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27513 for ac_dir
in $SEARCH_LIB;
27515 for ac_extension
in a so sl dylib dll.a
; do
27516 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27517 ac_find_libraries
=$ac_dir
27523 if test "$ac_find_libraries" != "" ; then
27525 if test "$ac_find_libraries" = "default location"; then
27528 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
27530 if test $result = 0; then
27533 ac_path_to_link
=" -L$ac_find_libraries"
27537 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27539 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27540 echo "${ECHO_T}found in $ac_find_libraries" >&6
27542 echo "$as_me:$LINENO: result: not found" >&5
27543 echo "${ECHO_T}not found" >&6
27549 if test "$wxUSE_MGL" = 1; then
27550 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27551 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27552 if test "x$MGL_ROOT" = x
; then
27553 echo "$as_me:$LINENO: result: not found" >&5
27554 echo "${ECHO_T}not found" >&6
27555 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27556 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27557 { (exit 1); exit 1; }; }
27559 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27560 echo "${ECHO_T}$MGL_ROOT" >&6
27563 echo "$as_me:$LINENO: checking for libmgl location" >&5
27564 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27567 if test "x$wxUSE_SHARED" = xyes
; then
27568 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27570 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27574 mgl_os_candidates
="dos32/dj2"
27577 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27578 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27579 { (exit 1); exit 1; }; }
27585 for mgl_os_i
in $mgl_os_candidates ; do
27586 if test "x$mgl_os" = x
; then
27587 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27588 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
27589 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
27594 if test "x$mgl_lib_type" = x
; then
27595 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
27596 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
27597 mgl_lib_type
=release
27604 if test "x$mgl_os" = x
; then
27605 echo "$as_me:$LINENO: result: not found" >&5
27606 echo "${ECHO_T}not found" >&6
27607 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27608 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27609 { (exit 1); exit 1; }; }
27611 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27612 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27614 wxUSE_UNIVERSAL
="yes"
27616 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
27617 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27619 AFMINSTALL
=afminstall
27624 if test "$wxUSE_MICROWIN" = 1; then
27625 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27626 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27627 if test "x$MICROWINDOWS" = x
; then
27628 echo "$as_me:$LINENO: result: not found" >&5
27629 echo "${ECHO_T}not found" >&6
27630 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27631 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27632 { (exit 1); exit 1; }; }
27634 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27635 echo "${ECHO_T}$MICROWINDOWS" >&6
27638 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
27639 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27640 echo "${ECHO_T}MicroWindows' libraries found." >&6
27642 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27643 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27644 { (exit 1); exit 1; }; }
27647 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
27648 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27650 wxUSE_UNIVERSAL
="yes"
27652 AFMINSTALL
=afminstall
27654 GUIDIST
=MICROWIN_DIST
27656 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27659 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27660 echo "$as_me:$LINENO: checking for X" >&5
27661 echo $ECHO_N "checking for X... $ECHO_C" >&6
27664 # Check whether --with-x or --without-x was given.
27665 if test "${with_x+set}" = set; then
27669 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27670 if test "x$with_x" = xno
; then
27671 # The user explicitly disabled X.
27674 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
27675 # Both variables are already set.
27678 if test "${ac_cv_have_x+set}" = set; then
27679 echo $ECHO_N "(cached) $ECHO_C" >&6
27681 # One or both of the vars are not set, and there is no cached value.
27682 ac_x_includes
=no ac_x_libraries
=no
27683 rm -fr conftest.dir
27684 if mkdir conftest.dir
; then
27686 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27687 cat >Imakefile
<<'_ACEOF'
27689 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27691 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
27692 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27693 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27694 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27695 for ac_extension
in a so sl
; do
27696 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
27697 test -f $ac_im_libdir/libX11.
$ac_extension; then
27698 ac_im_usrlibdir
=$ac_im_libdir; break
27701 # Screen out bogus values from the imake configuration. They are
27702 # bogus both because they are the default anyway, and because
27703 # using them would break gcc on systems where it needs fixed includes.
27704 case $ac_im_incroot in
27706 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
27708 case $ac_im_usrlibdir in
27709 /usr
/lib
| /lib
) ;;
27710 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
27714 rm -fr conftest.dir
27717 # Standard set of common directories for X headers.
27718 # Check X11 before X11Rn because it is often a symlink to the current release.
27730 /usr/local/X11/include
27731 /usr/local/X11R6/include
27732 /usr/local/X11R5/include
27733 /usr/local/X11R4/include
27735 /usr/local/include/X11
27736 /usr/local/include/X11R6
27737 /usr/local/include/X11R5
27738 /usr/local/include/X11R4
27742 /usr/XFree86/include/X11
27746 /usr/unsupported/include
27747 /usr/athena/include
27748 /usr/local/x11r5/include
27749 /usr/lpp/Xamples/include
27751 /usr/openwin/include
27752 /usr/openwin/share/include'
27754 if test "$ac_x_includes" = no
; then
27755 # Guess where to find include files, by looking for Intrinsic.h.
27756 # First, try using that file with no special directory specified.
27757 cat >conftest.
$ac_ext <<_ACEOF
27760 cat confdefs.h
>>conftest.
$ac_ext
27761 cat >>conftest.
$ac_ext <<_ACEOF
27762 /* end confdefs.h. */
27763 #include <X11/Intrinsic.h>
27765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27766 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27768 grep -v '^ *+' conftest.er1
>conftest.err
27770 cat conftest.err
>&5
27771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27772 (exit $ac_status); } >/dev
/null
; then
27773 if test -s conftest.err
; then
27774 ac_cpp_err
=$ac_c_preproc_warn_flag
27775 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27782 if test -z "$ac_cpp_err"; then
27783 # We can compile using X headers with no special include directory.
27786 echo "$as_me: failed program was:" >&5
27787 sed 's/^/| /' conftest.
$ac_ext >&5
27789 for ac_dir
in $ac_x_header_dirs; do
27790 if test -r "$ac_dir/X11/Intrinsic.h"; then
27791 ac_x_includes
=$ac_dir
27796 rm -f conftest.err conftest.
$ac_ext
27797 fi # $ac_x_includes = no
27799 if test "$ac_x_libraries" = no
; then
27800 # Check for the libraries.
27801 # See if we find them without any special options.
27802 # Don't add to $LIBS permanently.
27805 cat >conftest.
$ac_ext <<_ACEOF
27808 cat confdefs.h
>>conftest.
$ac_ext
27809 cat >>conftest.
$ac_ext <<_ACEOF
27810 /* end confdefs.h. */
27811 #include <X11/Intrinsic.h>
27820 rm -f conftest.
$ac_objext conftest
$ac_exeext
27821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27822 (eval $ac_link) 2>conftest.er1
27824 grep -v '^ *+' conftest.er1
>conftest.err
27826 cat conftest.err
>&5
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); } &&
27829 { ac_try
='test -z "$ac_c_werror_flag"
27830 || test ! -s conftest.err'
27831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27832 (eval $ac_try) 2>&5
27834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27835 (exit $ac_status); }; } &&
27836 { ac_try
='test -s conftest$ac_exeext'
27837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27838 (eval $ac_try) 2>&5
27840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27841 (exit $ac_status); }; }; then
27843 # We can link X programs with no special library path.
27846 echo "$as_me: failed program was:" >&5
27847 sed 's/^/| /' conftest.
$ac_ext >&5
27850 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27852 # Don't even attempt the hair of trying to link an X program!
27853 for ac_extension
in a so sl
; do
27854 if test -r $ac_dir/libXt.
$ac_extension; then
27855 ac_x_libraries
=$ac_dir
27861 rm -f conftest.err conftest.
$ac_objext \
27862 conftest
$ac_exeext conftest.
$ac_ext
27863 fi # $ac_x_libraries = no
27865 if test "$ac_x_includes" = no
|| test "$ac_x_libraries" = no
; then
27866 # Didn't find X anywhere. Cache the known absence of X.
27867 ac_cv_have_x
="have_x=no"
27869 # Record where we found X for the cache.
27870 ac_cv_have_x
="have_x=yes \
27871 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27876 eval "$ac_cv_have_x"
27879 if test "$have_x" != yes; then
27880 echo "$as_me:$LINENO: result: $have_x" >&5
27881 echo "${ECHO_T}$have_x" >&6
27884 # If each of the values was on the command line, it overrides each guess.
27885 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
27886 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
27887 # Update the cache value to reflect the command line values.
27888 ac_cv_have_x
="have_x=yes \
27889 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27890 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
27891 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27894 if test "$no_x" = yes; then
27895 # Not all programs may use this symbol, but it does not hurt to define it.
27897 cat >>confdefs.h
<<\_ACEOF
27898 #define X_DISPLAY_MISSING 1
27901 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
27903 if test -n "$x_includes"; then
27904 X_CFLAGS
="$X_CFLAGS -I$x_includes"
27907 # It would also be nice to do this for all -L options, not just this one.
27908 if test -n "$x_libraries"; then
27909 X_LIBS
="$X_LIBS -L$x_libraries"
27910 # For Solaris; some versions of Sun CC require a space after -R and
27911 # others require no space. Words are not sufficient . . . .
27912 case `(uname -sr) 2>/dev/null` in
27914 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27915 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27916 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
27917 cat >conftest.
$ac_ext <<_ACEOF
27920 cat confdefs.h
>>conftest.
$ac_ext
27921 cat >>conftest.
$ac_ext <<_ACEOF
27922 /* end confdefs.h. */
27932 rm -f conftest.
$ac_objext conftest
$ac_exeext
27933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27934 (eval $ac_link) 2>conftest.er1
27936 grep -v '^ *+' conftest.er1
>conftest.err
27938 cat conftest.err
>&5
27939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940 (exit $ac_status); } &&
27941 { ac_try
='test -z "$ac_c_werror_flag"
27942 || test ! -s conftest.err'
27943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27944 (eval $ac_try) 2>&5
27946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27947 (exit $ac_status); }; } &&
27948 { ac_try
='test -s conftest$ac_exeext'
27949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27950 (eval $ac_try) 2>&5
27952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27953 (exit $ac_status); }; }; then
27956 echo "$as_me: failed program was:" >&5
27957 sed 's/^/| /' conftest.
$ac_ext >&5
27961 rm -f conftest.err conftest.
$ac_objext \
27962 conftest
$ac_exeext conftest.
$ac_ext
27963 if test $ac_R_nospace = yes; then
27964 echo "$as_me:$LINENO: result: no" >&5
27965 echo "${ECHO_T}no" >&6
27966 X_LIBS
="$X_LIBS -R$x_libraries"
27968 LIBS
="$ac_xsave_LIBS -R $x_libraries"
27969 cat >conftest.
$ac_ext <<_ACEOF
27972 cat confdefs.h
>>conftest.
$ac_ext
27973 cat >>conftest.
$ac_ext <<_ACEOF
27974 /* end confdefs.h. */
27984 rm -f conftest.
$ac_objext conftest
$ac_exeext
27985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27986 (eval $ac_link) 2>conftest.er1
27988 grep -v '^ *+' conftest.er1
>conftest.err
27990 cat conftest.err
>&5
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); } &&
27993 { ac_try
='test -z "$ac_c_werror_flag"
27994 || test ! -s conftest.err'
27995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27996 (eval $ac_try) 2>&5
27998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27999 (exit $ac_status); }; } &&
28000 { ac_try
='test -s conftest$ac_exeext'
28001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28002 (eval $ac_try) 2>&5
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); }; }; then
28008 echo "$as_me: failed program was:" >&5
28009 sed 's/^/| /' conftest.
$ac_ext >&5
28013 rm -f conftest.err conftest.
$ac_objext \
28014 conftest
$ac_exeext conftest.
$ac_ext
28015 if test $ac_R_space = yes; then
28016 echo "$as_me:$LINENO: result: yes" >&5
28017 echo "${ECHO_T}yes" >&6
28018 X_LIBS
="$X_LIBS -R $x_libraries"
28020 echo "$as_me:$LINENO: result: neither works" >&5
28021 echo "${ECHO_T}neither works" >&6
28024 LIBS
=$ac_xsave_LIBS
28028 # Check for system-dependent libraries X programs must link with.
28029 # Do this before checking for the system-independent R6 libraries
28030 # (-lICE), since we may need -lsocket or whatever for X linking.
28032 if test "$ISC" = yes; then
28033 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
28035 # Martyn Johnson says this is needed for Ultrix, if the X
28036 # libraries were built with DECnet support. And Karl Berry says
28037 # the Alpha needs dnet_stub (dnet does not exist).
28038 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
28039 cat >conftest.
$ac_ext <<_ACEOF
28042 cat confdefs.h
>>conftest.
$ac_ext
28043 cat >>conftest.
$ac_ext <<_ACEOF
28044 /* end confdefs.h. */
28046 /* Override any gcc2 internal prototype to avoid an error. */
28050 /* We use char because int might match the return type of a gcc2
28051 builtin and then its argument prototype would still apply. */
28052 char XOpenDisplay ();
28061 rm -f conftest.
$ac_objext conftest
$ac_exeext
28062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28063 (eval $ac_link) 2>conftest.er1
28065 grep -v '^ *+' conftest.er1
>conftest.err
28067 cat conftest.err
>&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); } &&
28070 { ac_try
='test -z "$ac_c_werror_flag"
28071 || test ! -s conftest.err'
28072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28073 (eval $ac_try) 2>&5
28075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28076 (exit $ac_status); }; } &&
28077 { ac_try
='test -s conftest$ac_exeext'
28078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28079 (eval $ac_try) 2>&5
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); }; }; then
28085 echo "$as_me: failed program was:" >&5
28086 sed 's/^/| /' conftest.
$ac_ext >&5
28088 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28089 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28090 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28091 echo $ECHO_N "(cached) $ECHO_C" >&6
28093 ac_check_lib_save_LIBS
=$LIBS
28094 LIBS
="-ldnet $LIBS"
28095 cat >conftest.
$ac_ext <<_ACEOF
28098 cat confdefs.h
>>conftest.
$ac_ext
28099 cat >>conftest.
$ac_ext <<_ACEOF
28100 /* end confdefs.h. */
28102 /* Override any gcc2 internal prototype to avoid an error. */
28106 /* We use char because int might match the return type of a gcc2
28107 builtin and then its argument prototype would still apply. */
28117 rm -f conftest.
$ac_objext conftest
$ac_exeext
28118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28119 (eval $ac_link) 2>conftest.er1
28121 grep -v '^ *+' conftest.er1
>conftest.err
28123 cat conftest.err
>&5
28124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125 (exit $ac_status); } &&
28126 { ac_try
='test -z "$ac_c_werror_flag"
28127 || test ! -s conftest.err'
28128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28129 (eval $ac_try) 2>&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); }; } &&
28133 { ac_try
='test -s conftest$ac_exeext'
28134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28135 (eval $ac_try) 2>&5
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); }; }; then
28139 ac_cv_lib_dnet_dnet_ntoa
=yes
28141 echo "$as_me: failed program was:" >&5
28142 sed 's/^/| /' conftest.
$ac_ext >&5
28144 ac_cv_lib_dnet_dnet_ntoa
=no
28146 rm -f conftest.err conftest.
$ac_objext \
28147 conftest
$ac_exeext conftest.
$ac_ext
28148 LIBS
=$ac_check_lib_save_LIBS
28150 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28151 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28152 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28153 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
28156 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
28157 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28158 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28159 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28160 echo $ECHO_N "(cached) $ECHO_C" >&6
28162 ac_check_lib_save_LIBS
=$LIBS
28163 LIBS
="-ldnet_stub $LIBS"
28164 cat >conftest.
$ac_ext <<_ACEOF
28167 cat confdefs.h
>>conftest.
$ac_ext
28168 cat >>conftest.
$ac_ext <<_ACEOF
28169 /* end confdefs.h. */
28171 /* Override any gcc2 internal prototype to avoid an error. */
28175 /* We use char because int might match the return type of a gcc2
28176 builtin and then its argument prototype would still apply. */
28186 rm -f conftest.
$ac_objext conftest
$ac_exeext
28187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28188 (eval $ac_link) 2>conftest.er1
28190 grep -v '^ *+' conftest.er1
>conftest.err
28192 cat conftest.err
>&5
28193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28194 (exit $ac_status); } &&
28195 { ac_try
='test -z "$ac_c_werror_flag"
28196 || test ! -s conftest.err'
28197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28198 (eval $ac_try) 2>&5
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); }; } &&
28202 { ac_try
='test -s conftest$ac_exeext'
28203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28204 (eval $ac_try) 2>&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); }; }; then
28208 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
28210 echo "$as_me: failed program was:" >&5
28211 sed 's/^/| /' conftest.
$ac_ext >&5
28213 ac_cv_lib_dnet_stub_dnet_ntoa
=no
28215 rm -f conftest.err conftest.
$ac_objext \
28216 conftest
$ac_exeext conftest.
$ac_ext
28217 LIBS
=$ac_check_lib_save_LIBS
28219 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28220 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28221 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28222 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
28227 rm -f conftest.err conftest.
$ac_objext \
28228 conftest
$ac_exeext conftest.
$ac_ext
28229 LIBS
="$ac_xsave_LIBS"
28231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28232 # to get the SysV transport functions.
28233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28235 # The nsl library prevents programs from opening the X display
28236 # on Irix 5.2, according to T.E. Dickey.
28237 # The functions gethostbyname, getservbyname, and inet_addr are
28238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28239 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28241 if test "${ac_cv_func_gethostbyname+set}" = set; then
28242 echo $ECHO_N "(cached) $ECHO_C" >&6
28244 cat >conftest.
$ac_ext <<_ACEOF
28247 cat confdefs.h
>>conftest.
$ac_ext
28248 cat >>conftest.
$ac_ext <<_ACEOF
28249 /* end confdefs.h. */
28250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28252 #define gethostbyname innocuous_gethostbyname
28254 /* System header to define __stub macros and hopefully few prototypes,
28255 which can conflict with char gethostbyname (); below.
28256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28257 <limits.h> exists even on freestanding compilers. */
28260 # include <limits.h>
28262 # include <assert.h>
28265 #undef gethostbyname
28267 /* Override any gcc2 internal prototype to avoid an error. */
28272 /* We use char because int might match the return type of a gcc2
28273 builtin and then its argument prototype would still apply. */
28274 char gethostbyname ();
28275 /* The GNU C library defines this for functions which it implements
28276 to always fail with ENOSYS. Some functions are actually named
28277 something starting with __ and the normal name is an alias. */
28278 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28281 char (*f) () = gethostbyname;
28290 return f != gethostbyname;
28295 rm -f conftest.
$ac_objext conftest
$ac_exeext
28296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28297 (eval $ac_link) 2>conftest.er1
28299 grep -v '^ *+' conftest.er1
>conftest.err
28301 cat conftest.err
>&5
28302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28303 (exit $ac_status); } &&
28304 { ac_try
='test -z "$ac_c_werror_flag"
28305 || test ! -s conftest.err'
28306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28307 (eval $ac_try) 2>&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); }; } &&
28311 { ac_try
='test -s conftest$ac_exeext'
28312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28313 (eval $ac_try) 2>&5
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); }; }; then
28317 ac_cv_func_gethostbyname
=yes
28319 echo "$as_me: failed program was:" >&5
28320 sed 's/^/| /' conftest.
$ac_ext >&5
28322 ac_cv_func_gethostbyname
=no
28324 rm -f conftest.err conftest.
$ac_objext \
28325 conftest
$ac_exeext conftest.
$ac_ext
28327 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28328 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28330 if test $ac_cv_func_gethostbyname = no
; then
28331 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28332 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28333 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28334 echo $ECHO_N "(cached) $ECHO_C" >&6
28336 ac_check_lib_save_LIBS
=$LIBS
28338 cat >conftest.
$ac_ext <<_ACEOF
28341 cat confdefs.h
>>conftest.
$ac_ext
28342 cat >>conftest.
$ac_ext <<_ACEOF
28343 /* end confdefs.h. */
28345 /* Override any gcc2 internal prototype to avoid an error. */
28349 /* We use char because int might match the return type of a gcc2
28350 builtin and then its argument prototype would still apply. */
28351 char gethostbyname ();
28360 rm -f conftest.
$ac_objext conftest
$ac_exeext
28361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28362 (eval $ac_link) 2>conftest.er1
28364 grep -v '^ *+' conftest.er1
>conftest.err
28366 cat conftest.err
>&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } &&
28369 { ac_try
='test -z "$ac_c_werror_flag"
28370 || test ! -s conftest.err'
28371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28372 (eval $ac_try) 2>&5
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); }; } &&
28376 { ac_try
='test -s conftest$ac_exeext'
28377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378 (eval $ac_try) 2>&5
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); }; }; then
28382 ac_cv_lib_nsl_gethostbyname
=yes
28384 echo "$as_me: failed program was:" >&5
28385 sed 's/^/| /' conftest.
$ac_ext >&5
28387 ac_cv_lib_nsl_gethostbyname
=no
28389 rm -f conftest.err conftest.
$ac_objext \
28390 conftest
$ac_exeext conftest.
$ac_ext
28391 LIBS
=$ac_check_lib_save_LIBS
28393 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28394 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28395 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28396 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
28399 if test $ac_cv_lib_nsl_gethostbyname = no
; then
28400 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28401 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28402 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28403 echo $ECHO_N "(cached) $ECHO_C" >&6
28405 ac_check_lib_save_LIBS
=$LIBS
28407 cat >conftest.
$ac_ext <<_ACEOF
28410 cat confdefs.h
>>conftest.
$ac_ext
28411 cat >>conftest.
$ac_ext <<_ACEOF
28412 /* end confdefs.h. */
28414 /* Override any gcc2 internal prototype to avoid an error. */
28418 /* We use char because int might match the return type of a gcc2
28419 builtin and then its argument prototype would still apply. */
28420 char gethostbyname ();
28429 rm -f conftest.
$ac_objext conftest
$ac_exeext
28430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28431 (eval $ac_link) 2>conftest.er1
28433 grep -v '^ *+' conftest.er1
>conftest.err
28435 cat conftest.err
>&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); } &&
28438 { ac_try
='test -z "$ac_c_werror_flag"
28439 || test ! -s conftest.err'
28440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28441 (eval $ac_try) 2>&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); }; } &&
28445 { ac_try
='test -s conftest$ac_exeext'
28446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28447 (eval $ac_try) 2>&5
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; }; then
28451 ac_cv_lib_bsd_gethostbyname
=yes
28453 echo "$as_me: failed program was:" >&5
28454 sed 's/^/| /' conftest.
$ac_ext >&5
28456 ac_cv_lib_bsd_gethostbyname
=no
28458 rm -f conftest.err conftest.
$ac_objext \
28459 conftest
$ac_exeext conftest.
$ac_ext
28460 LIBS
=$ac_check_lib_save_LIBS
28462 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28463 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28464 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28465 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
28471 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28472 # socket/setsockopt and other routines are undefined under SCO ODT
28473 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28474 # on later versions), says Simon Leinen: it contains gethostby*
28475 # variants that don't use the name server (or something). -lsocket
28476 # must be given before -lnsl if both are needed. We assume that
28477 # if connect needs -lnsl, so does gethostbyname.
28478 echo "$as_me:$LINENO: checking for connect" >&5
28479 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28480 if test "${ac_cv_func_connect+set}" = set; then
28481 echo $ECHO_N "(cached) $ECHO_C" >&6
28483 cat >conftest.
$ac_ext <<_ACEOF
28486 cat confdefs.h
>>conftest.
$ac_ext
28487 cat >>conftest.
$ac_ext <<_ACEOF
28488 /* end confdefs.h. */
28489 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28491 #define connect innocuous_connect
28493 /* System header to define __stub macros and hopefully few prototypes,
28494 which can conflict with char connect (); below.
28495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28496 <limits.h> exists even on freestanding compilers. */
28499 # include <limits.h>
28501 # include <assert.h>
28506 /* Override any gcc2 internal prototype to avoid an error. */
28511 /* We use char because int might match the return type of a gcc2
28512 builtin and then its argument prototype would still apply. */
28514 /* The GNU C library defines this for functions which it implements
28515 to always fail with ENOSYS. Some functions are actually named
28516 something starting with __ and the normal name is an alias. */
28517 #if defined (__stub_connect) || defined (__stub___connect)
28520 char (*f) () = connect;
28529 return f != connect;
28534 rm -f conftest.
$ac_objext conftest
$ac_exeext
28535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28536 (eval $ac_link) 2>conftest.er1
28538 grep -v '^ *+' conftest.er1
>conftest.err
28540 cat conftest.err
>&5
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); } &&
28543 { ac_try
='test -z "$ac_c_werror_flag"
28544 || test ! -s conftest.err'
28545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28546 (eval $ac_try) 2>&5
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); }; } &&
28550 { ac_try
='test -s conftest$ac_exeext'
28551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28552 (eval $ac_try) 2>&5
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); }; }; then
28556 ac_cv_func_connect
=yes
28558 echo "$as_me: failed program was:" >&5
28559 sed 's/^/| /' conftest.
$ac_ext >&5
28561 ac_cv_func_connect
=no
28563 rm -f conftest.err conftest.
$ac_objext \
28564 conftest
$ac_exeext conftest.
$ac_ext
28566 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28567 echo "${ECHO_T}$ac_cv_func_connect" >&6
28569 if test $ac_cv_func_connect = no
; then
28570 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28571 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28572 if test "${ac_cv_lib_socket_connect+set}" = set; then
28573 echo $ECHO_N "(cached) $ECHO_C" >&6
28575 ac_check_lib_save_LIBS
=$LIBS
28576 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
28577 cat >conftest.
$ac_ext <<_ACEOF
28580 cat confdefs.h
>>conftest.
$ac_ext
28581 cat >>conftest.
$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28584 /* Override any gcc2 internal prototype to avoid an error. */
28588 /* We use char because int might match the return type of a gcc2
28589 builtin and then its argument prototype would still apply. */
28599 rm -f conftest.
$ac_objext conftest
$ac_exeext
28600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28601 (eval $ac_link) 2>conftest.er1
28603 grep -v '^ *+' conftest.er1
>conftest.err
28605 cat conftest.err
>&5
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); } &&
28608 { ac_try
='test -z "$ac_c_werror_flag"
28609 || test ! -s conftest.err'
28610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611 (eval $ac_try) 2>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; } &&
28615 { ac_try
='test -s conftest$ac_exeext'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; }; then
28621 ac_cv_lib_socket_connect
=yes
28623 echo "$as_me: failed program was:" >&5
28624 sed 's/^/| /' conftest.
$ac_ext >&5
28626 ac_cv_lib_socket_connect
=no
28628 rm -f conftest.err conftest.
$ac_objext \
28629 conftest
$ac_exeext conftest.
$ac_ext
28630 LIBS
=$ac_check_lib_save_LIBS
28632 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28633 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28634 if test $ac_cv_lib_socket_connect = yes; then
28635 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
28640 # Guillermo Gomez says -lposix is necessary on A/UX.
28641 echo "$as_me:$LINENO: checking for remove" >&5
28642 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28643 if test "${ac_cv_func_remove+set}" = set; then
28644 echo $ECHO_N "(cached) $ECHO_C" >&6
28646 cat >conftest.
$ac_ext <<_ACEOF
28649 cat confdefs.h
>>conftest.
$ac_ext
28650 cat >>conftest.
$ac_ext <<_ACEOF
28651 /* end confdefs.h. */
28652 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28654 #define remove innocuous_remove
28656 /* System header to define __stub macros and hopefully few prototypes,
28657 which can conflict with char remove (); below.
28658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28659 <limits.h> exists even on freestanding compilers. */
28662 # include <limits.h>
28664 # include <assert.h>
28669 /* Override any gcc2 internal prototype to avoid an error. */
28674 /* We use char because int might match the return type of a gcc2
28675 builtin and then its argument prototype would still apply. */
28677 /* The GNU C library defines this for functions which it implements
28678 to always fail with ENOSYS. Some functions are actually named
28679 something starting with __ and the normal name is an alias. */
28680 #if defined (__stub_remove) || defined (__stub___remove)
28683 char (*f) () = remove;
28692 return f != remove;
28697 rm -f conftest.
$ac_objext conftest
$ac_exeext
28698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28699 (eval $ac_link) 2>conftest.er1
28701 grep -v '^ *+' conftest.er1
>conftest.err
28703 cat conftest.err
>&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); } &&
28706 { ac_try
='test -z "$ac_c_werror_flag"
28707 || test ! -s conftest.err'
28708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709 (eval $ac_try) 2>&5
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); }; } &&
28713 { ac_try
='test -s conftest$ac_exeext'
28714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715 (eval $ac_try) 2>&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); }; }; then
28719 ac_cv_func_remove
=yes
28721 echo "$as_me: failed program was:" >&5
28722 sed 's/^/| /' conftest.
$ac_ext >&5
28724 ac_cv_func_remove
=no
28726 rm -f conftest.err conftest.
$ac_objext \
28727 conftest
$ac_exeext conftest.
$ac_ext
28729 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28730 echo "${ECHO_T}$ac_cv_func_remove" >&6
28732 if test $ac_cv_func_remove = no
; then
28733 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28734 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28735 if test "${ac_cv_lib_posix_remove+set}" = set; then
28736 echo $ECHO_N "(cached) $ECHO_C" >&6
28738 ac_check_lib_save_LIBS
=$LIBS
28739 LIBS
="-lposix $LIBS"
28740 cat >conftest.
$ac_ext <<_ACEOF
28743 cat confdefs.h
>>conftest.
$ac_ext
28744 cat >>conftest.
$ac_ext <<_ACEOF
28745 /* end confdefs.h. */
28747 /* Override any gcc2 internal prototype to avoid an error. */
28751 /* We use char because int might match the return type of a gcc2
28752 builtin and then its argument prototype would still apply. */
28762 rm -f conftest.
$ac_objext conftest
$ac_exeext
28763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28764 (eval $ac_link) 2>conftest.er1
28766 grep -v '^ *+' conftest.er1
>conftest.err
28768 cat conftest.err
>&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); } &&
28771 { ac_try
='test -z "$ac_c_werror_flag"
28772 || test ! -s conftest.err'
28773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28774 (eval $ac_try) 2>&5
28776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 (exit $ac_status); }; } &&
28778 { ac_try
='test -s conftest$ac_exeext'
28779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28780 (eval $ac_try) 2>&5
28782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 (exit $ac_status); }; }; then
28784 ac_cv_lib_posix_remove
=yes
28786 echo "$as_me: failed program was:" >&5
28787 sed 's/^/| /' conftest.
$ac_ext >&5
28789 ac_cv_lib_posix_remove
=no
28791 rm -f conftest.err conftest.
$ac_objext \
28792 conftest
$ac_exeext conftest.
$ac_ext
28793 LIBS
=$ac_check_lib_save_LIBS
28795 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28796 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28797 if test $ac_cv_lib_posix_remove = yes; then
28798 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
28803 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28804 echo "$as_me:$LINENO: checking for shmat" >&5
28805 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28806 if test "${ac_cv_func_shmat+set}" = set; then
28807 echo $ECHO_N "(cached) $ECHO_C" >&6
28809 cat >conftest.
$ac_ext <<_ACEOF
28812 cat confdefs.h
>>conftest.
$ac_ext
28813 cat >>conftest.
$ac_ext <<_ACEOF
28814 /* end confdefs.h. */
28815 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28817 #define shmat innocuous_shmat
28819 /* System header to define __stub macros and hopefully few prototypes,
28820 which can conflict with char shmat (); below.
28821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28822 <limits.h> exists even on freestanding compilers. */
28825 # include <limits.h>
28827 # include <assert.h>
28832 /* Override any gcc2 internal prototype to avoid an error. */
28837 /* We use char because int might match the return type of a gcc2
28838 builtin and then its argument prototype would still apply. */
28840 /* The GNU C library defines this for functions which it implements
28841 to always fail with ENOSYS. Some functions are actually named
28842 something starting with __ and the normal name is an alias. */
28843 #if defined (__stub_shmat) || defined (__stub___shmat)
28846 char (*f) () = shmat;
28860 rm -f conftest.
$ac_objext conftest
$ac_exeext
28861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28862 (eval $ac_link) 2>conftest.er1
28864 grep -v '^ *+' conftest.er1
>conftest.err
28866 cat conftest.err
>&5
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); } &&
28869 { ac_try
='test -z "$ac_c_werror_flag"
28870 || test ! -s conftest.err'
28871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28872 (eval $ac_try) 2>&5
28874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28875 (exit $ac_status); }; } &&
28876 { ac_try
='test -s conftest$ac_exeext'
28877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28878 (eval $ac_try) 2>&5
28880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28881 (exit $ac_status); }; }; then
28882 ac_cv_func_shmat
=yes
28884 echo "$as_me: failed program was:" >&5
28885 sed 's/^/| /' conftest.
$ac_ext >&5
28887 ac_cv_func_shmat
=no
28889 rm -f conftest.err conftest.
$ac_objext \
28890 conftest
$ac_exeext conftest.
$ac_ext
28892 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28893 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28895 if test $ac_cv_func_shmat = no
; then
28896 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28897 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28898 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28899 echo $ECHO_N "(cached) $ECHO_C" >&6
28901 ac_check_lib_save_LIBS
=$LIBS
28903 cat >conftest.
$ac_ext <<_ACEOF
28906 cat confdefs.h
>>conftest.
$ac_ext
28907 cat >>conftest.
$ac_ext <<_ACEOF
28908 /* end confdefs.h. */
28910 /* Override any gcc2 internal prototype to avoid an error. */
28914 /* We use char because int might match the return type of a gcc2
28915 builtin and then its argument prototype would still apply. */
28925 rm -f conftest.
$ac_objext conftest
$ac_exeext
28926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28927 (eval $ac_link) 2>conftest.er1
28929 grep -v '^ *+' conftest.er1
>conftest.err
28931 cat conftest.err
>&5
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); } &&
28934 { ac_try
='test -z "$ac_c_werror_flag"
28935 || test ! -s conftest.err'
28936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28937 (eval $ac_try) 2>&5
28939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28940 (exit $ac_status); }; } &&
28941 { ac_try
='test -s conftest$ac_exeext'
28942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28943 (eval $ac_try) 2>&5
28945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28946 (exit $ac_status); }; }; then
28947 ac_cv_lib_ipc_shmat
=yes
28949 echo "$as_me: failed program was:" >&5
28950 sed 's/^/| /' conftest.
$ac_ext >&5
28952 ac_cv_lib_ipc_shmat
=no
28954 rm -f conftest.err conftest.
$ac_objext \
28955 conftest
$ac_exeext conftest.
$ac_ext
28956 LIBS
=$ac_check_lib_save_LIBS
28958 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28959 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28960 if test $ac_cv_lib_ipc_shmat = yes; then
28961 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
28967 # Check for libraries that X11R6 Xt/Xaw programs need.
28968 ac_save_LDFLAGS
=$LDFLAGS
28969 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
28970 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28971 # check for ICE first), but we must link in the order -lSM -lICE or
28972 # we get undefined symbols. So assume we have SM if we have ICE.
28973 # These have to be linked with before -lX11, unlike the other
28974 # libraries we check for below, so use a different variable.
28975 # John Interrante, Karl Berry
28976 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28977 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28978 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28979 echo $ECHO_N "(cached) $ECHO_C" >&6
28981 ac_check_lib_save_LIBS
=$LIBS
28982 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
28983 cat >conftest.
$ac_ext <<_ACEOF
28986 cat confdefs.h
>>conftest.
$ac_ext
28987 cat >>conftest.
$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28990 /* Override any gcc2 internal prototype to avoid an error. */
28994 /* We use char because int might match the return type of a gcc2
28995 builtin and then its argument prototype would still apply. */
28996 char IceConnectionNumber ();
29000 IceConnectionNumber ();
29005 rm -f conftest.
$ac_objext conftest
$ac_exeext
29006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29007 (eval $ac_link) 2>conftest.er1
29009 grep -v '^ *+' conftest.er1
>conftest.err
29011 cat conftest.err
>&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); } &&
29014 { ac_try
='test -z "$ac_c_werror_flag"
29015 || test ! -s conftest.err'
29016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29017 (eval $ac_try) 2>&5
29019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29020 (exit $ac_status); }; } &&
29021 { ac_try
='test -s conftest$ac_exeext'
29022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29023 (eval $ac_try) 2>&5
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); }; }; then
29027 ac_cv_lib_ICE_IceConnectionNumber
=yes
29029 echo "$as_me: failed program was:" >&5
29030 sed 's/^/| /' conftest.
$ac_ext >&5
29032 ac_cv_lib_ICE_IceConnectionNumber
=no
29034 rm -f conftest.err conftest.
$ac_objext \
29035 conftest
$ac_exeext conftest.
$ac_ext
29036 LIBS
=$ac_check_lib_save_LIBS
29038 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29039 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29040 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29041 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
29044 LDFLAGS
=$ac_save_LDFLAGS
29049 if test "$no_x" = "yes"; then
29050 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29051 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29052 { (exit 1); exit 1; }; }
29055 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29056 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
29057 AFMINSTALL
=afminstall
29058 COMPILED_X_PROGRAM
=0
29062 if test "$wxUSE_X11" = 1; then
29063 if test "$wxUSE_NANOX" = "yes"; then
29064 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29065 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29066 if test "x$MICROWIN" = x
; then
29067 echo "$as_me:$LINENO: result: not found" >&5
29068 echo "${ECHO_T}not found" >&6
29069 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29070 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29071 { (exit 1); exit 1; }; }
29073 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29074 echo "${ECHO_T}$MICROWIN" >&6
29075 cat >>confdefs.h
<<\_ACEOF
29076 #define wxUSE_NANOX 1
29082 if test "$wxUSE_UNICODE" = "yes"; then
29086 if test -z "$PKG_CONFIG"; then
29087 # Extract the first word of "pkg-config", so it can be a program name with args.
29088 set dummy pkg
-config; ac_word
=$2
29089 echo "$as_me:$LINENO: checking for $ac_word" >&5
29090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29091 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29092 echo $ECHO_N "(cached) $ECHO_C" >&6
29094 case $PKG_CONFIG in
29096 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29100 for as_dir
in $PATH
29103 test -z "$as_dir" && as_dir
=.
29104 for ac_exec_ext
in '' $ac_executable_extensions; do
29105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29106 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29113 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29117 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29119 if test -n "$PKG_CONFIG"; then
29120 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29121 echo "${ECHO_T}$PKG_CONFIG" >&6
29123 echo "$as_me:$LINENO: result: no" >&5
29124 echo "${ECHO_T}no" >&6
29129 if test "$PKG_CONFIG" = "no" ; then
29130 echo "*** The pkg-config script could not be found. Make sure it is"
29131 echo "*** in your path, or set the PKG_CONFIG environment variable"
29132 echo "*** to the full path to pkg-config."
29133 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29135 PKG_CONFIG_MIN_VERSION
=0.9.0
29136 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29137 echo "$as_me:$LINENO: checking for pangox" >&5
29138 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29140 if $PKG_CONFIG --exists "pangox" ; then
29141 echo "$as_me:$LINENO: result: yes" >&5
29142 echo "${ECHO_T}yes" >&6
29145 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29146 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29147 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
29148 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29149 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29151 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29152 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29153 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
29154 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29155 echo "${ECHO_T}$PANGOX_LIBS" >&6
29159 ## If we have a custom action on failure, don't print errors, but
29160 ## do set a variable so people can do so.
29161 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29168 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29169 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29173 if test $succeeded = yes; then
29175 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
29176 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
29180 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29181 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29182 { (exit 1); exit 1; }; }
29190 if test -z "$PKG_CONFIG"; then
29191 # Extract the first word of "pkg-config", so it can be a program name with args.
29192 set dummy pkg
-config; ac_word
=$2
29193 echo "$as_me:$LINENO: checking for $ac_word" >&5
29194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29195 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29196 echo $ECHO_N "(cached) $ECHO_C" >&6
29198 case $PKG_CONFIG in
29200 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29204 for as_dir
in $PATH
29207 test -z "$as_dir" && as_dir
=.
29208 for ac_exec_ext
in '' $ac_executable_extensions; do
29209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29210 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29217 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29221 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29223 if test -n "$PKG_CONFIG"; then
29224 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29225 echo "${ECHO_T}$PKG_CONFIG" >&6
29227 echo "$as_me:$LINENO: result: no" >&5
29228 echo "${ECHO_T}no" >&6
29233 if test "$PKG_CONFIG" = "no" ; then
29234 echo "*** The pkg-config script could not be found. Make sure it is"
29235 echo "*** in your path, or set the PKG_CONFIG environment variable"
29236 echo "*** to the full path to pkg-config."
29237 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29239 PKG_CONFIG_MIN_VERSION
=0.9.0
29240 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29241 echo "$as_me:$LINENO: checking for pangoft2" >&5
29242 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29244 if $PKG_CONFIG --exists "pangoft2" ; then
29245 echo "$as_me:$LINENO: result: yes" >&5
29246 echo "${ECHO_T}yes" >&6
29249 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29250 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29251 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
29252 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29253 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29255 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29256 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29257 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
29258 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29259 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29263 ## If we have a custom action on failure, don't print errors, but
29264 ## do set a variable so people can do so.
29265 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29272 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29273 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29277 if test $succeeded = yes; then
29279 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
29280 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29284 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29285 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29286 wxUSE_PRINTING_ARCHITECTURE
="no"
29294 if test -z "$PKG_CONFIG"; then
29295 # Extract the first word of "pkg-config", so it can be a program name with args.
29296 set dummy pkg
-config; ac_word
=$2
29297 echo "$as_me:$LINENO: checking for $ac_word" >&5
29298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29299 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29300 echo $ECHO_N "(cached) $ECHO_C" >&6
29302 case $PKG_CONFIG in
29304 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
29307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
29308 for as_dir
in $PATH
29311 test -z "$as_dir" && as_dir
=.
29312 for ac_exec_ext
in '' $ac_executable_extensions; do
29313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29314 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
29315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29321 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
29325 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
29327 if test -n "$PKG_CONFIG"; then
29328 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29329 echo "${ECHO_T}$PKG_CONFIG" >&6
29331 echo "$as_me:$LINENO: result: no" >&5
29332 echo "${ECHO_T}no" >&6
29337 if test "$PKG_CONFIG" = "no" ; then
29338 echo "*** The pkg-config script could not be found. Make sure it is"
29339 echo "*** in your path, or set the PKG_CONFIG environment variable"
29340 echo "*** to the full path to pkg-config."
29341 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29343 PKG_CONFIG_MIN_VERSION
=0.9.0
29344 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29345 echo "$as_me:$LINENO: checking for pangoxft" >&5
29346 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29348 if $PKG_CONFIG --exists "pangoxft" ; then
29349 echo "$as_me:$LINENO: result: yes" >&5
29350 echo "${ECHO_T}yes" >&6
29353 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29354 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29355 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
29356 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29357 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29359 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29360 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29361 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
29362 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29363 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29367 ## If we have a custom action on failure, don't print errors, but
29368 ## do set a variable so people can do so.
29369 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29376 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29377 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29381 if test $succeeded = yes; then
29383 cat >>confdefs.h
<<\_ACEOF
29384 #define HAVE_PANGO_XFT 1
29387 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
29388 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29392 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29393 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29398 save_CFLAGS
="$CFLAGS"
29400 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
29401 LIBS
="$LIBS $PANGOX_LIBS"
29403 for ac_func
in pango_font_family_is_monospace
29405 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29406 echo "$as_me:$LINENO: checking for $ac_func" >&5
29407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29408 if eval "test \"\${$as_ac_var+set}\" = set"; then
29409 echo $ECHO_N "(cached) $ECHO_C" >&6
29411 cat >conftest.
$ac_ext <<_ACEOF
29414 cat confdefs.h
>>conftest.
$ac_ext
29415 cat >>conftest.
$ac_ext <<_ACEOF
29416 /* end confdefs.h. */
29417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29419 #define $ac_func innocuous_$ac_func
29421 /* System header to define __stub macros and hopefully few prototypes,
29422 which can conflict with char $ac_func (); below.
29423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29424 <limits.h> exists even on freestanding compilers. */
29427 # include <limits.h>
29429 # include <assert.h>
29434 /* Override any gcc2 internal prototype to avoid an error. */
29439 /* We use char because int might match the return type of a gcc2
29440 builtin and then its argument prototype would still apply. */
29442 /* The GNU C library defines this for functions which it implements
29443 to always fail with ENOSYS. Some functions are actually named
29444 something starting with __ and the normal name is an alias. */
29445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29448 char (*f) () = $ac_func;
29457 return f != $ac_func;
29462 rm -f conftest.
$ac_objext conftest
$ac_exeext
29463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29464 (eval $ac_link) 2>conftest.er1
29466 grep -v '^ *+' conftest.er1
>conftest.err
29468 cat conftest.err
>&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } &&
29471 { ac_try
='test -z "$ac_c_werror_flag"
29472 || test ! -s conftest.err'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; } &&
29478 { ac_try
='test -s conftest$ac_exeext'
29479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29480 (eval $ac_try) 2>&5
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); }; }; then
29484 eval "$as_ac_var=yes"
29486 echo "$as_me: failed program was:" >&5
29487 sed 's/^/| /' conftest.
$ac_ext >&5
29489 eval "$as_ac_var=no"
29491 rm -f conftest.err conftest.
$ac_objext \
29492 conftest
$ac_exeext conftest.
$ac_ext
29494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29496 if test `eval echo '${'$as_ac_var'}'` = yes; then
29497 cat >>confdefs.h
<<_ACEOF
29498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29504 CFLAGS
="$save_CFLAGS"
29508 wxUSE_UNIVERSAL
="yes"
29510 if test "$wxUSE_NANOX" = "yes"; then
29511 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29512 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"
29513 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29515 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
29522 if test "$wxUSE_MOTIF" = 1; then
29523 if test "$wxUSE_UNICODE" = "yes"; then
29524 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29525 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29526 { (exit 1); exit 1; }; }
29529 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29530 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29533 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
29535 if test -f "$ac_dir/Xm/Xm.h"; then
29536 ac_find_includes
=$ac_dir
29541 if test "$ac_find_includes" != "" ; then
29542 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29543 echo "${ECHO_T}found in $ac_find_includes" >&6
29545 if test "x$ac_find_includes" = "x/usr/include"; then
29546 ac_path_to_include
=""
29548 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
29550 if test $result = 0; then
29551 ac_path_to_include
=""
29553 ac_path_to_include
=" -I$ac_find_includes"
29557 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
29559 save_CFLAGS
=$CFLAGS
29560 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29562 cat >conftest.
$ac_ext <<_ACEOF
29565 cat confdefs.h
>>conftest.
$ac_ext
29566 cat >>conftest.
$ac_ext <<_ACEOF
29567 /* end confdefs.h. */
29576 version = xmUseVersion;
29582 rm -f conftest.
$ac_objext
29583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29584 (eval $ac_compile) 2>conftest.er1
29586 grep -v '^ *+' conftest.er1
>conftest.err
29588 cat conftest.err
>&5
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); } &&
29591 { ac_try
='test -z "$ac_c_werror_flag"
29592 || test ! -s conftest.err'
29593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29594 (eval $ac_try) 2>&5
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); }; } &&
29598 { ac_try
='test -s conftest.$ac_objext'
29599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29600 (eval $ac_try) 2>&5
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); }; }; then
29605 echo "$as_me:$LINENO: result: found in default search path" >&5
29606 echo "${ECHO_T}found in default search path" >&6
29607 COMPILED_X_PROGRAM
=1
29610 echo "$as_me: failed program was:" >&5
29611 sed 's/^/| /' conftest.
$ac_ext >&5
29614 echo "$as_me:$LINENO: result: no" >&5
29615 echo "${ECHO_T}no" >&6
29616 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29617 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29618 { (exit 1); exit 1; }; }
29622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29624 CFLAGS
=$save_CFLAGS
29628 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29629 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29632 for ac_dir
in $SEARCH_LIB;
29634 for ac_extension
in a so sl dylib dll.a
; do
29635 if test -f "$ac_dir/libXm.$ac_extension"; then
29636 ac_find_libraries
=$ac_dir
29643 if test "x$ac_find_libraries" != "x" ; then
29644 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29645 echo "${ECHO_T}found in $ac_find_libraries" >&6
29648 if test "$ac_find_libraries" = "default location"; then
29651 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29653 if test $result = 0; then
29656 ac_path_to_link
=" -L$ac_find_libraries"
29660 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
29662 save_CFLAGS
=$CFLAGS
29663 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29665 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29667 cat >conftest.
$ac_ext <<_ACEOF
29670 cat confdefs.h
>>conftest.
$ac_ext
29671 cat >>conftest.
$ac_ext <<_ACEOF
29672 /* end confdefs.h. */
29681 version = xmUseVersion;
29687 rm -f conftest.
$ac_objext conftest
$ac_exeext
29688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29689 (eval $ac_link) 2>conftest.er1
29691 grep -v '^ *+' conftest.er1
>conftest.err
29693 cat conftest.err
>&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); } &&
29696 { ac_try
='test -z "$ac_c_werror_flag"
29697 || test ! -s conftest.err'
29698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29699 (eval $ac_try) 2>&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); }; } &&
29703 { ac_try
='test -s conftest$ac_exeext'
29704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29705 (eval $ac_try) 2>&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; }; then
29710 echo "$as_me:$LINENO: result: found in default search path" >&5
29711 echo "${ECHO_T}found in default search path" >&6
29712 COMPILED_X_PROGRAM
=1
29715 echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.
$ac_ext >&5
29719 echo "$as_me:$LINENO: result: no" >&5
29720 echo "${ECHO_T}no" >&6
29721 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29722 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29723 { (exit 1); exit 1; }; }
29727 rm -f conftest.err conftest.
$ac_objext \
29728 conftest
$ac_exeext conftest.
$ac_ext
29730 CFLAGS
=$save_CFLAGS
29734 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29735 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29739 for libp
in "" " -lXp"; do
29740 if test "$libs_found" = "0"; then
29741 for libsm_ice
in "" " -lSM -lICE"; do
29742 if test "$libs_found" = "0"; then
29744 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29745 save_CFLAGS
=$CFLAGS
29746 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29748 cat >conftest.
$ac_ext <<_ACEOF
29751 cat confdefs.h
>>conftest.
$ac_ext
29752 cat >>conftest.
$ac_ext <<_ACEOF
29753 /* end confdefs.h. */
29756 #include <Xm/List.h>
29762 XmString string = NULL;
29765 XmListAddItem(w, string, position);
29771 rm -f conftest.
$ac_objext conftest
$ac_exeext
29772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29773 (eval $ac_link) 2>conftest.er1
29775 grep -v '^ *+' conftest.er1
>conftest.err
29777 cat conftest.err
>&5
29778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779 (exit $ac_status); } &&
29780 { ac_try
='test -z "$ac_c_werror_flag"
29781 || test ! -s conftest.err'
29782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29783 (eval $ac_try) 2>&5
29785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29786 (exit $ac_status); }; } &&
29787 { ac_try
='test -s conftest$ac_exeext'
29788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29789 (eval $ac_try) 2>&5
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); }; }; then
29795 libsm_ice_link
="$libsm_ice"
29796 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29797 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29801 echo "$as_me: failed program was:" >&5
29802 sed 's/^/| /' conftest.
$ac_ext >&5
29807 rm -f conftest.err conftest.
$ac_objext \
29808 conftest
$ac_exeext conftest.
$ac_ext
29811 CFLAGS
=$save_CFLAGS
29817 if test "$libs_found" = "0"; then
29818 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29819 echo "${ECHO_T}can't find the right libraries" >&6
29820 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29821 echo "$as_me: error: can't link a simple motif program" >&2;}
29822 { (exit 1); exit 1; }; }
29825 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29826 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29827 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29828 echo $ECHO_N "(cached) $ECHO_C" >&6
29830 ac_check_lib_save_LIBS
=$LIBS
29832 cat >conftest.
$ac_ext <<_ACEOF
29835 cat confdefs.h
>>conftest.
$ac_ext
29836 cat >>conftest.
$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29839 /* Override any gcc2 internal prototype to avoid an error. */
29843 /* We use char because int might match the return type of a gcc2
29844 builtin and then its argument prototype would still apply. */
29845 char SgCreateList ();
29854 rm -f conftest.
$ac_objext conftest
$ac_exeext
29855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29856 (eval $ac_link) 2>conftest.er1
29858 grep -v '^ *+' conftest.er1
>conftest.err
29860 cat conftest.err
>&5
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); } &&
29863 { ac_try
='test -z "$ac_c_werror_flag"
29864 || test ! -s conftest.err'
29865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29866 (eval $ac_try) 2>&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); }; } &&
29870 { ac_try
='test -s conftest$ac_exeext'
29871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29872 (eval $ac_try) 2>&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); }; }; then
29876 ac_cv_lib_Sgm_SgCreateList
=yes
29878 echo "$as_me: failed program was:" >&5
29879 sed 's/^/| /' conftest.
$ac_ext >&5
29881 ac_cv_lib_Sgm_SgCreateList
=no
29883 rm -f conftest.err conftest.
$ac_objext \
29884 conftest
$ac_exeext conftest.
$ac_ext
29885 LIBS
=$ac_check_lib_save_LIBS
29887 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29888 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29889 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29890 libsgm_link
=" -lSgm"
29894 save_CFLAGS
=$CFLAGS
29895 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
29897 echo "$as_me:$LINENO: checking for Motif 2" >&5
29898 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29899 if test "${wx_cv_lib_motif2+set}" = set; then
29900 echo $ECHO_N "(cached) $ECHO_C" >&6
29902 cat >conftest.
$ac_ext <<_ACEOF
29905 cat confdefs.h
>>conftest.
$ac_ext
29906 cat >>conftest.
$ac_ext <<_ACEOF
29907 /* end confdefs.h. */
29915 #if XmVersion < 2000
29923 rm -f conftest.
$ac_objext
29924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29925 (eval $ac_compile) 2>conftest.er1
29927 grep -v '^ *+' conftest.er1
>conftest.err
29929 cat conftest.err
>&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); } &&
29932 { ac_try
='test -z "$ac_c_werror_flag"
29933 || test ! -s conftest.err'
29934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29935 (eval $ac_try) 2>&5
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); }; } &&
29939 { ac_try
='test -s conftest.$ac_objext'
29940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941 (eval $ac_try) 2>&5
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); }; }; then
29945 wx_cv_lib_motif2
="yes"
29947 echo "$as_me: failed program was:" >&5
29948 sed 's/^/| /' conftest.
$ac_ext >&5
29950 wx_cv_lib_motif2
="no"
29952 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29954 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29955 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29956 if test "$wx_cv_lib_motif2" = "yes"; then
29957 cat >>confdefs.h
<<\_ACEOF
29958 #define __WXMOTIF20__ 1
29962 cat >>confdefs.h
<<\_ACEOF
29963 #define __WXMOTIF20__ 0
29968 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29969 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29970 if test "${wx_cv_lib_lesstif+set}" = set; then
29971 echo $ECHO_N "(cached) $ECHO_C" >&6
29973 cat >conftest.
$ac_ext <<_ACEOF
29976 cat confdefs.h
>>conftest.
$ac_ext
29977 cat >>conftest.
$ac_ext <<_ACEOF
29978 /* end confdefs.h. */
29986 #if !defined(LesstifVersion) || LesstifVersion <= 0
29994 rm -f conftest.
$ac_objext
29995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29996 (eval $ac_compile) 2>conftest.er1
29998 grep -v '^ *+' conftest.er1
>conftest.err
30000 cat conftest.err
>&5
30001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30002 (exit $ac_status); } &&
30003 { ac_try
='test -z "$ac_c_werror_flag"
30004 || test ! -s conftest.err'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; } &&
30010 { ac_try
='test -s conftest.$ac_objext'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; }; then
30016 wx_cv_lib_lesstif
="yes"
30018 echo "$as_me: failed program was:" >&5
30019 sed 's/^/| /' conftest.
$ac_ext >&5
30021 wx_cv_lib_lesstif
="no"
30023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30026 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30027 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30028 if test "$wx_cv_lib_lesstif" = "yes"; then
30029 cat >>confdefs.h
<<\_ACEOF
30030 #define __WXLESSTIF__ 1
30034 cat >>confdefs.h
<<\_ACEOF
30035 #define __WXLESSTIF__ 0
30040 CFLAGS
=$save_CFLAGS
30042 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30047 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30048 if test "$wxUSE_LIBXPM" = "sys"; then
30049 echo "$as_me:$LINENO: checking for Xpm library" >&5
30050 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30053 for ac_dir
in $SEARCH_LIB;
30055 for ac_extension
in a so sl dylib dll.a
; do
30056 if test -f "$ac_dir/libXpm.$ac_extension"; then
30057 ac_find_libraries
=$ac_dir
30063 if test "$ac_find_libraries" != "" ; then
30065 if test "$ac_find_libraries" = "default location"; then
30068 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
30070 if test $result = 0; then
30073 ac_path_to_link
=" -L$ac_find_libraries"
30077 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
30078 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30079 echo "${ECHO_T}found in $ac_find_libraries" >&6
30081 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30082 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30083 if test "${wx_cv_x11_xpm_h+set}" = set; then
30084 echo $ECHO_N "(cached) $ECHO_C" >&6
30087 save_CFLAGS
=$CFLAGS
30088 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30090 cat >conftest.
$ac_ext <<_ACEOF
30093 cat confdefs.h
>>conftest.
$ac_ext
30094 cat >>conftest.
$ac_ext <<_ACEOF
30095 /* end confdefs.h. */
30097 #include <X11/xpm.h>
30104 version = XpmLibraryVersion();
30110 rm -f conftest.
$ac_objext
30111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30112 (eval $ac_compile) 2>conftest.er1
30114 grep -v '^ *+' conftest.er1
>conftest.err
30116 cat conftest.err
>&5
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); } &&
30119 { ac_try
='test -z "$ac_c_werror_flag"
30120 || test ! -s conftest.err'
30121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30122 (eval $ac_try) 2>&5
30124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30125 (exit $ac_status); }; } &&
30126 { ac_try
='test -s conftest.$ac_objext'
30127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30128 (eval $ac_try) 2>&5
30130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131 (exit $ac_status); }; }; then
30132 wx_cv_x11_xpm_h
=yes
30134 echo "$as_me: failed program was:" >&5
30135 sed 's/^/| /' conftest.
$ac_ext >&5
30140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30142 CFLAGS
=$save_CFLAGS
30146 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30147 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30149 if test $wx_cv_x11_xpm_h = "yes"; then
30150 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
30151 cat >>confdefs.h
<<\_ACEOF
30152 #define wxHAVE_LIB_XPM 1
30156 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30157 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30163 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30164 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30165 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30166 echo $ECHO_N "(cached) $ECHO_C" >&6
30168 ac_check_lib_save_LIBS
=$LIBS
30169 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30170 cat >conftest.
$ac_ext <<_ACEOF
30173 cat confdefs.h
>>conftest.
$ac_ext
30174 cat >>conftest.
$ac_ext <<_ACEOF
30175 /* end confdefs.h. */
30177 /* Override any gcc2 internal prototype to avoid an error. */
30181 /* We use char because int might match the return type of a gcc2
30182 builtin and then its argument prototype would still apply. */
30183 char XShapeQueryExtension ();
30187 XShapeQueryExtension ();
30192 rm -f conftest.
$ac_objext conftest
$ac_exeext
30193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30194 (eval $ac_link) 2>conftest.er1
30196 grep -v '^ *+' conftest.er1
>conftest.err
30198 cat conftest.err
>&5
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); } &&
30201 { ac_try
='test -z "$ac_c_werror_flag"
30202 || test ! -s conftest.err'
30203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30204 (eval $ac_try) 2>&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; } &&
30208 { ac_try
='test -s conftest$ac_exeext'
30209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30210 (eval $ac_try) 2>&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; }; then
30214 ac_cv_lib_Xext_XShapeQueryExtension
=yes
30216 echo "$as_me: failed program was:" >&5
30217 sed 's/^/| /' conftest.
$ac_ext >&5
30219 ac_cv_lib_Xext_XShapeQueryExtension
=no
30221 rm -f conftest.err conftest.
$ac_objext \
30222 conftest
$ac_exeext conftest.
$ac_ext
30223 LIBS
=$ac_check_lib_save_LIBS
30225 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30226 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30227 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30229 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
30235 if test "$wxHAVE_XEXT_LIB" = 1; then
30236 save_CFLAGS
="$CFLAGS"
30237 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
30239 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30240 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30241 cat >conftest.
$ac_ext <<_ACEOF
30244 cat confdefs.h
>>conftest.
$ac_ext
30245 cat >>conftest.
$ac_ext <<_ACEOF
30246 /* end confdefs.h. */
30248 #include <X11/Xlib.h>
30249 #include <X11/extensions/shape.h>
30255 int dummy1, dummy2;
30256 XShapeQueryExtension((Display*)NULL,
30257 (int*)NULL, (int*)NULL);
30263 rm -f conftest.
$ac_objext
30264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30265 (eval $ac_compile) 2>conftest.er1
30267 grep -v '^ *+' conftest.er1
>conftest.err
30269 cat conftest.err
>&5
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); } &&
30272 { ac_try
='test -z "$ac_c_werror_flag"
30273 || test ! -s conftest.err'
30274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30275 (eval $ac_try) 2>&5
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); }; } &&
30279 { ac_try
='test -s conftest.$ac_objext'
30280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30281 (eval $ac_try) 2>&5
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); }; }; then
30286 cat >>confdefs.h
<<\_ACEOF
30287 #define HAVE_XSHAPE 1
30290 echo "$as_me:$LINENO: result: found" >&5
30291 echo "${ECHO_T}found" >&6
30294 echo "$as_me: failed program was:" >&5
30295 sed 's/^/| /' conftest.
$ac_ext >&5
30298 echo "$as_me:$LINENO: result: not found" >&5
30299 echo "${ECHO_T}not found" >&6
30302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30303 CFLAGS
="$save_CFLAGS"
30308 if test "$wxUSE_MAC" = 1; then
30309 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30310 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30311 if test "$GCC" = yes; then
30312 echo "$as_me:$LINENO: result: gcc" >&5
30313 echo "${ECHO_T}gcc" >&6
30314 CPPFLAGS_PASCAL
="-fpascal-strings"
30315 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30316 echo "$as_me:$LINENO: result: xlc" >&5
30317 echo "${ECHO_T}xlc" >&6
30318 CPPFLAGS_PASCAL
="-qmacpstr"
30320 echo "$as_me:$LINENO: result: none" >&5
30321 echo "${ECHO_T}none" >&6
30324 if test "x$wxUSE_UNIX" = "xyes"; then
30325 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30327 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30332 WXBASEPORT
="_carbon"
30335 if test "$wxUSE_COCOA" = 1; then
30340 if test "$wxUSE_PM" = 1; then
30343 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30344 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30345 if test "${wx_cv_spbcdata+set}" = set; then
30346 echo $ECHO_N "(cached) $ECHO_C" >&6
30349 cat >conftest.
$ac_ext <<_ACEOF
30352 cat confdefs.h
>>conftest.
$ac_ext
30353 cat >>conftest.
$ac_ext <<_ACEOF
30354 /* end confdefs.h. */
30369 rm -f conftest.
$ac_objext
30370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30371 (eval $ac_compile) 2>conftest.er1
30373 grep -v '^ *+' conftest.er1
>conftest.err
30375 cat conftest.err
>&5
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); } &&
30378 { ac_try
='test -z "$ac_c_werror_flag"
30379 || test ! -s conftest.err'
30380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30381 (eval $ac_try) 2>&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); }; } &&
30385 { ac_try
='test -s conftest.$ac_objext'
30386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30387 (eval $ac_try) 2>&5
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); }; }; then
30393 echo "$as_me: failed program was:" >&5
30394 sed 's/^/| /' conftest.
$ac_ext >&5
30399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30403 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30404 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30406 if test $wx_cv_spbcdata = "yes"; then
30407 cat >>confdefs.h
<<\_ACEOF
30408 #define HAVE_SPBCDATA 1
30414 if test "$TOOLKIT" = "PM" ; then
30417 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30420 if test "$wxUSE_UNIVERSAL" = "yes"; then
30421 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30425 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30426 DISTDIR
="wx\$(TOOLKIT)"
30432 if test "$USE_WIN32" = 1 ; then
30436 GUIDIST
="BASE_DIST"
30441 if test "$wxUSE_GUI" = "yes"; then
30442 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30444 for ac_header
in X
11/Xlib.h
30446 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30448 echo "$as_me:$LINENO: checking for $ac_header" >&5
30449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30451 echo $ECHO_N "(cached) $ECHO_C" >&6
30453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30456 # Is the header compilable?
30457 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30459 cat >conftest.
$ac_ext <<_ACEOF
30462 cat confdefs.h
>>conftest.
$ac_ext
30463 cat >>conftest.
$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30465 $ac_includes_default
30466 #include <$ac_header>
30468 rm -f conftest.
$ac_objext
30469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30470 (eval $ac_compile) 2>conftest.er1
30472 grep -v '^ *+' conftest.er1
>conftest.err
30474 cat conftest.err
>&5
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); } &&
30477 { ac_try
='test -z "$ac_c_werror_flag"
30478 || test ! -s conftest.err'
30479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30480 (eval $ac_try) 2>&5
30482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30483 (exit $ac_status); }; } &&
30484 { ac_try
='test -s conftest.$ac_objext'
30485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30486 (eval $ac_try) 2>&5
30488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489 (exit $ac_status); }; }; then
30490 ac_header_compiler
=yes
30492 echo "$as_me: failed program was:" >&5
30493 sed 's/^/| /' conftest.
$ac_ext >&5
30495 ac_header_compiler
=no
30497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30499 echo "${ECHO_T}$ac_header_compiler" >&6
30501 # Is the header present?
30502 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30503 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30504 cat >conftest.
$ac_ext <<_ACEOF
30507 cat confdefs.h
>>conftest.
$ac_ext
30508 cat >>conftest.
$ac_ext <<_ACEOF
30509 /* end confdefs.h. */
30510 #include <$ac_header>
30512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30513 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30515 grep -v '^ *+' conftest.er1
>conftest.err
30517 cat conftest.err
>&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } >/dev
/null
; then
30520 if test -s conftest.err
; then
30521 ac_cpp_err
=$ac_c_preproc_warn_flag
30522 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30529 if test -z "$ac_cpp_err"; then
30530 ac_header_preproc
=yes
30532 echo "$as_me: failed program was:" >&5
30533 sed 's/^/| /' conftest.
$ac_ext >&5
30535 ac_header_preproc
=no
30537 rm -f conftest.err conftest.
$ac_ext
30538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30539 echo "${ECHO_T}$ac_header_preproc" >&6
30541 # So? What about this header?
30542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30548 ac_header_preproc
=yes
30551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30565 ## ----------------------------------------- ##
30566 ## Report this to wx-dev@lists.wxwidgets.org ##
30567 ## ----------------------------------------- ##
30570 sed "s/^/$as_me: WARNING: /" >&2
30573 echo "$as_me:$LINENO: checking for $ac_header" >&5
30574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30576 echo $ECHO_N "(cached) $ECHO_C" >&6
30578 eval "$as_ac_Header=\$ac_header_preproc"
30580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30585 cat >>confdefs.h
<<_ACEOF
30586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30594 for ac_header
in X
11/XKBlib.h
30596 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30597 echo "$as_me:$LINENO: checking for $ac_header" >&5
30598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30600 echo $ECHO_N "(cached) $ECHO_C" >&6
30602 cat >conftest.
$ac_ext <<_ACEOF
30605 cat confdefs.h
>>conftest.
$ac_ext
30606 cat >>conftest.
$ac_ext <<_ACEOF
30607 /* end confdefs.h. */
30609 #if HAVE_X11_XLIB_H
30610 #include <X11/Xlib.h>
30614 #include <$ac_header>
30616 rm -f conftest.
$ac_objext
30617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30618 (eval $ac_compile) 2>conftest.er1
30620 grep -v '^ *+' conftest.er1
>conftest.err
30622 cat conftest.err
>&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); } &&
30625 { ac_try
='test -z "$ac_c_werror_flag"
30626 || test ! -s conftest.err'
30627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30628 (eval $ac_try) 2>&5
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); }; } &&
30632 { ac_try
='test -s conftest.$ac_objext'
30633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30634 (eval $ac_try) 2>&5
30636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30637 (exit $ac_status); }; }; then
30638 eval "$as_ac_Header=yes"
30640 echo "$as_me: failed program was:" >&5
30641 sed 's/^/| /' conftest.
$ac_ext >&5
30643 eval "$as_ac_Header=no"
30645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30650 cat >>confdefs.h
<<_ACEOF
30651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30666 if test "$TOOLKIT" != "MSW" ; then
30668 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30670 if test "${ac_cv_header_sql_h+set}" = set; then
30671 echo "$as_me:$LINENO: checking for sql.h" >&5
30672 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30673 if test "${ac_cv_header_sql_h+set}" = set; then
30674 echo $ECHO_N "(cached) $ECHO_C" >&6
30676 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30677 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30679 # Is the header compilable?
30680 echo "$as_me:$LINENO: checking sql.h usability" >&5
30681 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30682 cat >conftest.
$ac_ext <<_ACEOF
30685 cat confdefs.h
>>conftest.
$ac_ext
30686 cat >>conftest.
$ac_ext <<_ACEOF
30687 /* end confdefs.h. */
30688 $ac_includes_default
30691 rm -f conftest.
$ac_objext
30692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30693 (eval $ac_compile) 2>conftest.er1
30695 grep -v '^ *+' conftest.er1
>conftest.err
30697 cat conftest.err
>&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); } &&
30700 { ac_try
='test -z "$ac_c_werror_flag"
30701 || test ! -s conftest.err'
30702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30703 (eval $ac_try) 2>&5
30705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30706 (exit $ac_status); }; } &&
30707 { ac_try
='test -s conftest.$ac_objext'
30708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30709 (eval $ac_try) 2>&5
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); }; }; then
30713 ac_header_compiler
=yes
30715 echo "$as_me: failed program was:" >&5
30716 sed 's/^/| /' conftest.
$ac_ext >&5
30718 ac_header_compiler
=no
30720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30722 echo "${ECHO_T}$ac_header_compiler" >&6
30724 # Is the header present?
30725 echo "$as_me:$LINENO: checking sql.h presence" >&5
30726 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30727 cat >conftest.
$ac_ext <<_ACEOF
30730 cat confdefs.h
>>conftest.
$ac_ext
30731 cat >>conftest.
$ac_ext <<_ACEOF
30732 /* end confdefs.h. */
30735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30738 grep -v '^ *+' conftest.er1
>conftest.err
30740 cat conftest.err
>&5
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); } >/dev
/null
; then
30743 if test -s conftest.err
; then
30744 ac_cpp_err
=$ac_c_preproc_warn_flag
30745 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
30752 if test -z "$ac_cpp_err"; then
30753 ac_header_preproc
=yes
30755 echo "$as_me: failed program was:" >&5
30756 sed 's/^/| /' conftest.
$ac_ext >&5
30758 ac_header_preproc
=no
30760 rm -f conftest.err conftest.
$ac_ext
30761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30762 echo "${ECHO_T}$ac_header_preproc" >&6
30764 # So? What about this header?
30765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30767 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30768 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30769 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30770 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30771 ac_header_preproc
=yes
30774 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30775 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30776 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30777 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30778 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30779 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30780 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30781 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30782 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30783 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30784 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30785 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30788 ## ----------------------------------------- ##
30789 ## Report this to wx-dev@lists.wxwidgets.org ##
30790 ## ----------------------------------------- ##
30793 sed "s/^/$as_me: WARNING: /" >&2
30796 echo "$as_me:$LINENO: checking for sql.h" >&5
30797 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30798 if test "${ac_cv_header_sql_h+set}" = set; then
30799 echo $ECHO_N "(cached) $ECHO_C" >&6
30801 ac_cv_header_sql_h
=$ac_header_preproc
30803 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30804 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30807 if test $ac_cv_header_sql_h = yes; then
30812 if test "x$found_sql_h" = "x1" ; then
30813 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30814 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30815 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30816 echo $ECHO_N "(cached) $ECHO_C" >&6
30818 ac_check_lib_save_LIBS
=$LIBS
30819 LIBS
="-liodbc $LIBS"
30820 cat >conftest.
$ac_ext <<_ACEOF
30823 cat confdefs.h
>>conftest.
$ac_ext
30824 cat >>conftest.
$ac_ext <<_ACEOF
30825 /* end confdefs.h. */
30827 /* Override any gcc2 internal prototype to avoid an error. */
30831 /* We use char because int might match the return type of a gcc2
30832 builtin and then its argument prototype would still apply. */
30833 char SQLAllocEnv ();
30842 rm -f conftest.
$ac_objext conftest
$ac_exeext
30843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30844 (eval $ac_link) 2>conftest.er1
30846 grep -v '^ *+' conftest.er1
>conftest.err
30848 cat conftest.err
>&5
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); } &&
30851 { ac_try
='test -z "$ac_c_werror_flag"
30852 || test ! -s conftest.err'
30853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30854 (eval $ac_try) 2>&5
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); }; } &&
30858 { ac_try
='test -s conftest$ac_exeext'
30859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30860 (eval $ac_try) 2>&5
30862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30863 (exit $ac_status); }; }; then
30864 ac_cv_lib_iodbc_SQLAllocEnv
=yes
30866 echo "$as_me: failed program was:" >&5
30867 sed 's/^/| /' conftest.
$ac_ext >&5
30869 ac_cv_lib_iodbc_SQLAllocEnv
=no
30871 rm -f conftest.err conftest.
$ac_objext \
30872 conftest
$ac_exeext conftest.
$ac_ext
30873 LIBS
=$ac_check_lib_save_LIBS
30875 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30876 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30877 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30878 ODBC_LINK
=" -liodbc"
30881 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30882 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30883 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30884 echo $ECHO_N "(cached) $ECHO_C" >&6
30886 ac_check_lib_save_LIBS
=$LIBS
30887 LIBS
="-lunixodbc $LIBS"
30888 cat >conftest.
$ac_ext <<_ACEOF
30891 cat confdefs.h
>>conftest.
$ac_ext
30892 cat >>conftest.
$ac_ext <<_ACEOF
30893 /* end confdefs.h. */
30895 /* Override any gcc2 internal prototype to avoid an error. */
30899 /* We use char because int might match the return type of a gcc2
30900 builtin and then its argument prototype would still apply. */
30901 char SQLAllocEnv ();
30910 rm -f conftest.
$ac_objext conftest
$ac_exeext
30911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30912 (eval $ac_link) 2>conftest.er1
30914 grep -v '^ *+' conftest.er1
>conftest.err
30916 cat conftest.err
>&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } &&
30919 { ac_try
='test -z "$ac_c_werror_flag"
30920 || test ! -s conftest.err'
30921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30922 (eval $ac_try) 2>&5
30924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925 (exit $ac_status); }; } &&
30926 { ac_try
='test -s conftest$ac_exeext'
30927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30928 (eval $ac_try) 2>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); }; }; then
30932 ac_cv_lib_unixodbc_SQLAllocEnv
=yes
30934 echo "$as_me: failed program was:" >&5
30935 sed 's/^/| /' conftest.
$ac_ext >&5
30937 ac_cv_lib_unixodbc_SQLAllocEnv
=no
30939 rm -f conftest.err conftest.
$ac_objext \
30940 conftest
$ac_exeext conftest.
$ac_ext
30941 LIBS
=$ac_check_lib_save_LIBS
30943 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30944 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30945 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30946 ODBC_LINK
=" -lunixodbc"
30949 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30950 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30951 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30952 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 ac_check_lib_save_LIBS
=$LIBS
30955 LIBS
="-lodbc $LIBS"
30956 cat >conftest.
$ac_ext <<_ACEOF
30959 cat confdefs.h
>>conftest.
$ac_ext
30960 cat >>conftest.
$ac_ext <<_ACEOF
30961 /* end confdefs.h. */
30963 /* Override any gcc2 internal prototype to avoid an error. */
30967 /* We use char because int might match the return type of a gcc2
30968 builtin and then its argument prototype would still apply. */
30969 char SQLAllocEnv ();
30978 rm -f conftest.
$ac_objext conftest
$ac_exeext
30979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30980 (eval $ac_link) 2>conftest.er1
30982 grep -v '^ *+' conftest.er1
>conftest.err
30984 cat conftest.err
>&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); } &&
30987 { ac_try
='test -z "$ac_c_werror_flag"
30988 || test ! -s conftest.err'
30989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30990 (eval $ac_try) 2>&5
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); }; } &&
30994 { ac_try
='test -s conftest$ac_exeext'
30995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30996 (eval $ac_try) 2>&5
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); }; }; then
31000 ac_cv_lib_odbc_SQLAllocEnv
=yes
31002 echo "$as_me: failed program was:" >&5
31003 sed 's/^/| /' conftest.
$ac_ext >&5
31005 ac_cv_lib_odbc_SQLAllocEnv
=no
31007 rm -f conftest.err conftest.
$ac_objext \
31008 conftest
$ac_exeext conftest.
$ac_ext
31009 LIBS
=$ac_check_lib_save_LIBS
31011 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31012 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31013 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31014 ODBC_LINK
=" -lodbc"
31024 if test "x$ODBC_LINK" = "x" ; then
31025 if test "$wxUSE_ODBC" = "sys" ; then
31026 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31027 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31028 { (exit 1); exit 1; }; }
31030 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31031 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31039 if test "$wxUSE_ODBC" = "builtin" ; then
31040 cat >>confdefs.h
<<\_ACEOF
31041 #define wxUSE_BUILTIN_IODBC 1
31047 if test "$wxUSE_ODBC" != "no" ; then
31048 cat >>confdefs.h
<<\_ACEOF
31049 #define wxUSE_ODBC 1
31052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
31054 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_IODBC_"
31058 if test "$wxUSE_DISPLAY" = "yes"; then
31059 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31060 echo "$as_me:$LINENO: checking for Xinerama" >&5
31061 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31064 for ac_dir
in $SEARCH_LIB;
31066 for ac_extension
in a so sl dylib dll.a
; do
31067 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31068 ac_find_libraries
=$ac_dir
31074 if test "$ac_find_libraries" != "" ; then
31076 if test "$ac_find_libraries" = "default location"; then
31079 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31081 if test $result = 0; then
31084 ac_path_to_link
=" -L$ac_find_libraries"
31088 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31089 LDFLAGS
="$LDFLAGS $ac_path_to_link"
31091 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
31092 echo "$as_me:$LINENO: result: yes" >&5
31093 echo "${ECHO_T}yes" >&6
31095 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31096 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31099 for ac_dir
in $SEARCH_LIB;
31101 for ac_extension
in a so sl dylib dll.a
; do
31102 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31103 ac_find_libraries
=$ac_dir
31109 if test "$ac_find_libraries" != "" ; then
31110 echo "$as_me:$LINENO: result: yes" >&5
31111 echo "${ECHO_T}yes" >&6
31113 for ac_header
in X
11/extensions
/xf86vmode.h
31115 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31116 echo "$as_me:$LINENO: checking for $ac_header" >&5
31117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31119 echo $ECHO_N "(cached) $ECHO_C" >&6
31121 cat >conftest.
$ac_ext <<_ACEOF
31124 cat confdefs.h
>>conftest.
$ac_ext
31125 cat >>conftest.
$ac_ext <<_ACEOF
31126 /* end confdefs.h. */
31128 #if HAVE_X11_XLIB_H
31129 #include <X11/Xlib.h>
31133 #include <$ac_header>
31135 rm -f conftest.
$ac_objext
31136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31137 (eval $ac_compile) 2>conftest.er1
31139 grep -v '^ *+' conftest.er1
>conftest.err
31141 cat conftest.err
>&5
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); } &&
31144 { ac_try
='test -z "$ac_c_werror_flag"
31145 || test ! -s conftest.err'
31146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31147 (eval $ac_try) 2>&5
31149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31150 (exit $ac_status); }; } &&
31151 { ac_try
='test -s conftest.$ac_objext'
31152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31153 (eval $ac_try) 2>&5
31155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31156 (exit $ac_status); }; }; then
31157 eval "$as_ac_Header=yes"
31159 echo "$as_me: failed program was:" >&5
31160 sed 's/^/| /' conftest.
$ac_ext >&5
31162 eval "$as_ac_Header=no"
31164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31169 cat >>confdefs.h
<<_ACEOF
31170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31173 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
31180 echo "$as_me:$LINENO: result: no" >&5
31181 echo "${ECHO_T}no" >&6
31185 echo "$as_me:$LINENO: result: no" >&5
31186 echo "${ECHO_T}no" >&6
31187 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31188 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31191 elif test "$wxUSE_MSW" = 1; then
31194 for ac_header
in multimon.h ddraw.h
31196 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31197 echo "$as_me:$LINENO: checking for $ac_header" >&5
31198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31200 echo $ECHO_N "(cached) $ECHO_C" >&6
31202 cat >conftest.
$ac_ext <<_ACEOF
31205 cat confdefs.h
>>conftest.
$ac_ext
31206 cat >>conftest.
$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31208 #include <windows.h>
31210 #include <$ac_header>
31212 rm -f conftest.
$ac_objext
31213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31214 (eval $ac_compile) 2>conftest.er1
31216 grep -v '^ *+' conftest.er1
>conftest.err
31218 cat conftest.err
>&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); } &&
31221 { ac_try
='test -z "$ac_c_werror_flag"
31222 || test ! -s conftest.err'
31223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31224 (eval $ac_try) 2>&5
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); }; } &&
31228 { ac_try
='test -s conftest.$ac_objext'
31229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31230 (eval $ac_try) 2>&5
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); }; }; then
31234 eval "$as_ac_Header=yes"
31236 echo "$as_me: failed program was:" >&5
31237 sed 's/^/| /' conftest.
$ac_ext >&5
31239 eval "$as_ac_Header=no"
31241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31246 cat >>confdefs.h
<<_ACEOF
31247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31253 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
31254 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
31265 if test "$wxUSE_OPENGL" = "yes"; then
31266 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31267 OPENGL_LIBS
="-framework OpenGL -framework AGL"
31268 elif test "$wxUSE_MSW" = 1; then
31269 OPENGL_LIBS
="-lopengl32 -lglu32"
31274 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
31276 if test -f "$ac_dir/GL/gl.h"; then
31277 ac_find_includes
=$ac_dir
31282 if test "$ac_find_includes" != "" ; then
31283 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31284 echo "${ECHO_T}found in $ac_find_includes" >&6
31286 if test "x$ac_find_includes" = "x/usr/include"; then
31287 ac_path_to_include
=""
31289 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
31291 if test $result = 0; then
31292 ac_path_to_include
=""
31294 ac_path_to_include
=" -I$ac_find_includes"
31298 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
31301 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31302 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31303 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31304 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31305 echo $ECHO_N "(cached) $ECHO_C" >&6
31307 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31308 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31310 # Is the header compilable?
31311 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31312 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31313 cat >conftest.
$ac_ext <<_ACEOF
31316 cat confdefs.h
>>conftest.
$ac_ext
31317 cat >>conftest.
$ac_ext <<_ACEOF
31318 /* end confdefs.h. */
31319 $ac_includes_default
31322 rm -f conftest.
$ac_objext
31323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31324 (eval $ac_compile) 2>conftest.er1
31326 grep -v '^ *+' conftest.er1
>conftest.err
31328 cat conftest.err
>&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } &&
31331 { ac_try
='test -z "$ac_c_werror_flag"
31332 || test ! -s conftest.err'
31333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31334 (eval $ac_try) 2>&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); }; } &&
31338 { ac_try
='test -s conftest.$ac_objext'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; }; then
31344 ac_header_compiler
=yes
31346 echo "$as_me: failed program was:" >&5
31347 sed 's/^/| /' conftest.
$ac_ext >&5
31349 ac_header_compiler
=no
31351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31353 echo "${ECHO_T}$ac_header_compiler" >&6
31355 # Is the header present?
31356 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31357 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31358 cat >conftest.
$ac_ext <<_ACEOF
31361 cat confdefs.h
>>conftest.
$ac_ext
31362 cat >>conftest.
$ac_ext <<_ACEOF
31363 /* end confdefs.h. */
31366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31369 grep -v '^ *+' conftest.er1
>conftest.err
31371 cat conftest.err
>&5
31372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31373 (exit $ac_status); } >/dev
/null
; then
31374 if test -s conftest.err
; then
31375 ac_cpp_err
=$ac_c_preproc_warn_flag
31376 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31383 if test -z "$ac_cpp_err"; then
31384 ac_header_preproc
=yes
31386 echo "$as_me: failed program was:" >&5
31387 sed 's/^/| /' conftest.
$ac_ext >&5
31389 ac_header_preproc
=no
31391 rm -f conftest.err conftest.
$ac_ext
31392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31393 echo "${ECHO_T}$ac_header_preproc" >&6
31395 # So? What about this header?
31396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31398 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31399 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31400 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31401 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31402 ac_header_preproc
=yes
31405 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31406 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31407 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31408 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31409 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31410 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31411 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31412 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31413 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31414 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31415 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31416 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31419 ## ----------------------------------------- ##
31420 ## Report this to wx-dev@lists.wxwidgets.org ##
31421 ## ----------------------------------------- ##
31424 sed "s/^/$as_me: WARNING: /" >&2
31427 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31428 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31429 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31430 echo $ECHO_N "(cached) $ECHO_C" >&6
31432 ac_cv_header_GL_gl_h
=$ac_header_preproc
31434 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31435 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31438 if test $ac_cv_header_GL_gl_h = yes; then
31442 echo "$as_me:$LINENO: checking for -lGL" >&5
31443 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31446 for ac_dir
in $SEARCH_LIB;
31448 for ac_extension
in a so sl dylib dll.a
; do
31449 if test -f "$ac_dir/libGL.$ac_extension"; then
31450 ac_find_libraries
=$ac_dir
31456 if test "$ac_find_libraries" != "" ; then
31457 echo "$as_me:$LINENO: result: yes" >&5
31458 echo "${ECHO_T}yes" >&6
31461 if test "$ac_find_libraries" = "default location"; then
31464 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31466 if test $result = 0; then
31469 ac_path_to_link
=" -L$ac_find_libraries"
31473 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31474 LDFLAGS_GL
="$ac_path_to_link"
31477 echo "$as_me:$LINENO: checking for -lGLU" >&5
31478 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31481 for ac_dir
in $SEARCH_LIB;
31483 for ac_extension
in a so sl dylib dll.a
; do
31484 if test -f "$ac_dir/libGLU.$ac_extension"; then
31485 ac_find_libraries
=$ac_dir
31491 if test "$ac_find_libraries" != "" ; then
31493 if test "$ac_find_libraries" = "default location"; then
31496 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31498 if test $result = 0; then
31501 ac_path_to_link
=" -L$ac_find_libraries"
31505 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31506 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31507 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
31511 OPENGL_LIBS
="-lGL -lGLU"
31512 echo "$as_me:$LINENO: result: yes" >&5
31513 echo "${ECHO_T}yes" >&6
31515 echo "$as_me:$LINENO: result: no" >&5
31516 echo "${ECHO_T}no" >&6
31519 echo "$as_me:$LINENO: result: no" >&5
31520 echo "${ECHO_T}no" >&6
31523 if test "$found_gl" != 1; then
31524 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31525 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31528 for ac_dir
in $SEARCH_LIB;
31530 for ac_extension
in a so sl dylib dll.a
; do
31531 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31532 ac_find_libraries
=$ac_dir
31538 if test "$ac_find_libraries" != "" ; then
31540 if test "$ac_find_libraries" = "default location"; then
31543 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
31545 if test $result = 0; then
31548 ac_path_to_link
=" -L$ac_find_libraries"
31552 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
31553 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
31554 echo "$as_me:$LINENO: result: yes" >&5
31555 echo "${ECHO_T}yes" >&6
31557 echo "$as_me:$LINENO: result: no" >&5
31558 echo "${ECHO_T}no" >&6
31566 if test "x$OPENGL_LIBS" = "x"; then
31567 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31568 echo "$as_me: error: OpenGL libraries not available" >&2;}
31569 { (exit 1); exit 1; }; }
31573 if test "$wxUSE_OPENGL" = "yes"; then
31575 cat >>confdefs.h
<<\_ACEOF
31576 #define wxUSE_OPENGL 1
31579 cat >>confdefs.h
<<\_ACEOF
31580 #define wxUSE_GLCANVAS 1
31583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31588 if test -n "$TOOLKIT" ; then
31589 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31594 if test "$wxUSE_SHARED" = "yes"; then
31598 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31599 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31604 if test "$wxUSE_SHARED" = "yes"; then
31607 found_versioning
=no
31610 if test $found_versioning = no
; then
31611 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31612 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31613 if test "${wx_cv_version_script+set}" = set; then
31614 echo $ECHO_N "(cached) $ECHO_C" >&6
31617 echo "VER_1 { *; };" >conftest.sym
31618 echo "int main() { return 0; }" >conftest.cpp
31621 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31622 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31624 (eval $ac_try) 2>&5
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); }; } ; then
31628 if test -s conftest.stderr
; then
31629 wx_cv_version_script
=no
31631 wx_cv_version_script
=yes
31634 wx_cv_version_script
=no
31637 if test $wx_cv_version_script = yes
31639 echo "struct B { virtual ~B() { } }; \
31640 struct D : public B { }; \
31641 void F() { D d; }" > conftest.cpp
31644 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31645 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31647 (eval $ac_try) 2>&5
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); }; } &&
31652 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31653 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31655 (eval $ac_try) 2>&5
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); }; }
31661 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31662 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31664 (eval $ac_try) 2>&5
31666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667 (exit $ac_status); }; }
31669 wx_cv_version_script
=yes
31671 wx_cv_version_script
=no
31676 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31677 rm -f conftest1.output conftest2.output conftest3.output
31680 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31681 echo "${ECHO_T}$wx_cv_version_script" >&6
31682 if test $wx_cv_version_script = yes ; then
31683 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)version-script"
31689 *-*-linux* | *-*-gnu* )
31690 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31691 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31695 if test "$GCC" = yes ; then
31696 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
31698 saveLdflags
="$LDFLAGS"
31699 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
31700 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31701 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31702 cat >conftest.
$ac_ext <<_ACEOF
31705 cat confdefs.h
>>conftest.
$ac_ext
31706 cat >>conftest.
$ac_ext <<_ACEOF
31707 /* end confdefs.h. */
31717 rm -f conftest.
$ac_objext conftest
$ac_exeext
31718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31719 (eval $ac_link) 2>conftest.er1
31721 grep -v '^ *+' conftest.er1
>conftest.err
31723 cat conftest.err
>&5
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); } &&
31726 { ac_try
='test -z "$ac_c_werror_flag"
31727 || test ! -s conftest.err'
31728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31729 (eval $ac_try) 2>&5
31731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732 (exit $ac_status); }; } &&
31733 { ac_try
='test -s conftest$ac_exeext'
31734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31735 (eval $ac_try) 2>&5
31737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738 (exit $ac_status); }; }; then
31740 echo "$as_me:$LINENO: result: yes" >&5
31741 echo "${ECHO_T}yes" >&6
31742 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(top_builddir)lib"
31743 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
31746 echo "$as_me: failed program was:" >&5
31747 sed 's/^/| /' conftest.
$ac_ext >&5
31750 echo "$as_me:$LINENO: result: no" >&5
31751 echo "${ECHO_T}no" >&6
31752 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31753 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31754 LDFLAGS
="$saveLdflags -Wl,-R,/"
31755 cat >conftest.
$ac_ext <<_ACEOF
31758 cat confdefs.h
>>conftest.
$ac_ext
31759 cat >>conftest.
$ac_ext <<_ACEOF
31760 /* end confdefs.h. */
31770 rm -f conftest.
$ac_objext conftest
$ac_exeext
31771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31772 (eval $ac_link) 2>conftest.er1
31774 grep -v '^ *+' conftest.er1
>conftest.err
31776 cat conftest.err
>&5
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); } &&
31779 { ac_try
='test -z "$ac_c_werror_flag"
31780 || test ! -s conftest.err'
31781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31782 (eval $ac_try) 2>&5
31784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31785 (exit $ac_status); }; } &&
31786 { ac_try
='test -s conftest$ac_exeext'
31787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31788 (eval $ac_try) 2>&5
31790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31791 (exit $ac_status); }; }; then
31793 echo "$as_me:$LINENO: result: yes" >&5
31794 echo "${ECHO_T}yes" >&6
31795 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(top_builddir)lib"
31796 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
31799 echo "$as_me: failed program was:" >&5
31800 sed 's/^/| /' conftest.
$ac_ext >&5
31803 echo "$as_me:$LINENO: result: no" >&5
31804 echo "${ECHO_T}no" >&6
31807 rm -f conftest.err conftest.
$ac_objext \
31808 conftest
$ac_exeext conftest.
$ac_ext
31811 rm -f conftest.err conftest.
$ac_objext \
31812 conftest
$ac_exeext conftest.
$ac_ext
31813 LDFLAGS
="$saveLdflags"
31815 SAMPLES_RPATH_FLAG
="-R\$(top_builddir)lib"
31816 WXCONFIG_RPATH
="-R\$libdir"
31821 install_name_tool
=`which install_name_tool`
31822 if test "$install_name_tool" -a -x "$install_name_tool"; then
31823 SAMPLES_RPATH_POSTLINK
="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31824 cat <<EOF >change-install-names
31826 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31827 inst_cmd="install_name_tool "
31828 for i in \${libnames} ; do
31829 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31833 chmod +x change
-install-names
31837 *-*-cygwin* | *-*-mingw32* )
31838 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31842 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(top_builddir)lib"
31843 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
31848 if test $wxUSE_RPATH = "no"; then
31849 SAMPLES_RPATH_FLAG
=''
31850 SAMPLES_RPATH_POSTLINK
=''
31858 config_linkage_component
="-static"
31865 lib_unicode_suffix
=
31867 if test "$wxUSE_UNICODE" = "yes"; then
31868 lib_unicode_suffix
=u
31869 WX_CHARTYPE
="unicode"
31874 WX_DEBUGTYPE
="release"
31876 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31878 WX_DEBUGTYPE
="debug"
31882 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
31883 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
31886 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31890 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31892 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31894 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31896 if test "$cross_compiling" = "yes"; then
31897 HOST_SUFFIX
="-$host_alias"
31898 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
31899 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
31902 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31903 if test "${TOOLKIT_DIR}" = "os2"; then
31904 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31906 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31911 if test "$wxUSE_COCOA" = 1; then
31915 ac_cpp
='$CPP $CPPFLAGS'
31916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31922 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31923 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31924 cat >conftest.
$ac_ext <<_ACEOF
31927 cat confdefs.h
>>conftest.
$ac_ext
31928 cat >>conftest.
$ac_ext <<_ACEOF
31929 /* end confdefs.h. */
31930 #include <AppKit/NSEvent.h>
31931 #include <CoreFoundation/CoreFoundation.h>
31941 rm -f conftest.
$ac_objext
31942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31943 (eval $ac_compile) 2>conftest.er1
31945 grep -v '^ *+' conftest.er1
>conftest.err
31947 cat conftest.err
>&5
31948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 (exit $ac_status); } &&
31950 { ac_try
='test -z "$ac_c_werror_flag"
31951 || test ! -s conftest.err'
31952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31953 (eval $ac_try) 2>&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); }; } &&
31957 { ac_try
='test -s conftest.$ac_objext'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31963 echo "$as_me:$LINENO: result: no" >&5
31964 echo "${ECHO_T}no" >&6
31966 echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.
$ac_ext >&5
31969 echo "$as_me:$LINENO: result: yes" >&5
31970 echo "${ECHO_T}yes" >&6
31971 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31972 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31973 cat >conftest.
$ac_ext <<_ACEOF
31976 cat confdefs.h
>>conftest.
$ac_ext
31977 cat >>conftest.
$ac_ext <<_ACEOF
31978 /* end confdefs.h. */
31979 #define __Point__ 1
31980 #include <AppKit/NSEvent.h>
31981 #include <CoreFoundation/CoreFoundation.h>
31991 rm -f conftest.
$ac_objext
31992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31993 (eval $ac_compile) 2>conftest.er1
31995 grep -v '^ *+' conftest.er1
>conftest.err
31997 cat conftest.err
>&5
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); } &&
32000 { ac_try
='test -z "$ac_c_werror_flag"
32001 || test ! -s conftest.err'
32002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32003 (eval $ac_try) 2>&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); }; } &&
32007 { ac_try
='test -s conftest.$ac_objext'
32008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32009 (eval $ac_try) 2>&5
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); }; }; then
32013 echo "$as_me:$LINENO: result: yes" >&5
32014 echo "${ECHO_T}yes" >&6
32015 cat >>confdefs.h
<<\_ACEOF
32016 #define __Point__ 1
32021 echo "$as_me: failed program was:" >&5
32022 sed 's/^/| /' conftest.
$ac_ext >&5
32024 { { echo "$as_me:$LINENO: error: no
32025 See \`config.log' for more details." >&5
32026 echo "$as_me: error: no
32027 See \`config.log' for more details." >&2;}
32028 { (exit 1); exit 1; }; }
32031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32036 ac_cpp
='$CPP $CPPFLAGS'
32037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32043 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32044 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32045 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32047 LIBWXMACRES
="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32049 # Extract the first word of "Rez", so it can be a program name with args.
32050 set dummy Rez
; ac_word
=$2
32051 echo "$as_me:$LINENO: checking for $ac_word" >&5
32052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32053 if test "${ac_cv_prog_REZ+set}" = set; then
32054 echo $ECHO_N "(cached) $ECHO_C" >&6
32056 if test -n "$REZ"; then
32057 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
32059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32060 for as_dir
in $PATH
32063 test -z "$as_dir" && as_dir
=.
32064 for ac_exec_ext
in '' $ac_executable_extensions; do
32065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32066 ac_cv_prog_REZ
="Rez"
32067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32073 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
32076 REZ
=$ac_cv_prog_REZ
32077 if test -n "$REZ"; then
32078 echo "$as_me:$LINENO: result: $REZ" >&5
32079 echo "${ECHO_T}$REZ" >&6
32081 echo "$as_me:$LINENO: result: no" >&5
32082 echo "${ECHO_T}no" >&6
32085 # Extract the first word of "DeRez", so it can be a program name with args.
32086 set dummy DeRez
; ac_word
=$2
32087 echo "$as_me:$LINENO: checking for $ac_word" >&5
32088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32089 if test "${ac_cv_prog_DEREZ+set}" = set; then
32090 echo $ECHO_N "(cached) $ECHO_C" >&6
32092 if test -n "$DEREZ"; then
32093 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
32095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32096 for as_dir
in $PATH
32099 test -z "$as_dir" && as_dir
=.
32100 for ac_exec_ext
in '' $ac_executable_extensions; do
32101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32102 ac_cv_prog_DEREZ
="DeRez"
32103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32109 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
32112 DEREZ
=$ac_cv_prog_DEREZ
32113 if test -n "$DEREZ"; then
32114 echo "$as_me:$LINENO: result: $DEREZ" >&5
32115 echo "${ECHO_T}$DEREZ" >&6
32117 echo "$as_me:$LINENO: result: no" >&5
32118 echo "${ECHO_T}no" >&6
32121 # Extract the first word of "SetFile", so it can be a program name with args.
32122 set dummy SetFile
; ac_word
=$2
32123 echo "$as_me:$LINENO: checking for $ac_word" >&5
32124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32125 if test "${ac_cv_prog_SETFILE+set}" = set; then
32126 echo $ECHO_N "(cached) $ECHO_C" >&6
32128 if test -n "$SETFILE"; then
32129 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
32131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32132 for as_dir
in $PATH
32135 test -z "$as_dir" && as_dir
=.
32136 for ac_exec_ext
in '' $ac_executable_extensions; do
32137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32138 ac_cv_prog_SETFILE
="SetFile"
32139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32145 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
32148 SETFILE
=$ac_cv_prog_SETFILE
32149 if test -n "$SETFILE"; then
32150 echo "$as_me:$LINENO: result: $SETFILE" >&5
32151 echo "${ECHO_T}$SETFILE" >&6
32153 echo "$as_me:$LINENO: result: no" >&5
32154 echo "${ECHO_T}no" >&6
32158 MACSETFILE
="\$(SETFILE)"
32160 if test "$wxUSE_MAC" = 1; then
32161 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32163 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
32165 POSTLINK_COMMAND
="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32166 RESCOMP
="echo -n \| $REZ"
32167 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32173 if test "$wxUSE_PM" = 1; then
32175 WXCONFIG_RESFLAGS
="-ep"
32177 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
32179 POSTLINK_COMMAND
="@true"
32186 echo "$as_me:$LINENO: checking for mode_t" >&5
32187 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32188 if test "${ac_cv_type_mode_t+set}" = set; then
32189 echo $ECHO_N "(cached) $ECHO_C" >&6
32191 cat >conftest.
$ac_ext <<_ACEOF
32194 cat confdefs.h
>>conftest.
$ac_ext
32195 cat >>conftest.
$ac_ext <<_ACEOF
32196 /* end confdefs.h. */
32197 $ac_includes_default
32203 if (sizeof (mode_t))
32209 rm -f conftest.
$ac_objext
32210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32211 (eval $ac_compile) 2>conftest.er1
32213 grep -v '^ *+' conftest.er1
>conftest.err
32215 cat conftest.err
>&5
32216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217 (exit $ac_status); } &&
32218 { ac_try
='test -z "$ac_c_werror_flag"
32219 || test ! -s conftest.err'
32220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 (eval $ac_try) 2>&5
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; } &&
32225 { ac_try
='test -s conftest.$ac_objext'
32226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32227 (eval $ac_try) 2>&5
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); }; }; then
32231 ac_cv_type_mode_t
=yes
32233 echo "$as_me: failed program was:" >&5
32234 sed 's/^/| /' conftest.
$ac_ext >&5
32236 ac_cv_type_mode_t
=no
32238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32240 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32241 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32242 if test $ac_cv_type_mode_t = yes; then
32246 cat >>confdefs.h
<<_ACEOF
32252 echo "$as_me:$LINENO: checking for off_t" >&5
32253 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32254 if test "${ac_cv_type_off_t+set}" = set; then
32255 echo $ECHO_N "(cached) $ECHO_C" >&6
32257 cat >conftest.
$ac_ext <<_ACEOF
32260 cat confdefs.h
>>conftest.
$ac_ext
32261 cat >>conftest.
$ac_ext <<_ACEOF
32262 /* end confdefs.h. */
32263 $ac_includes_default
32269 if (sizeof (off_t))
32275 rm -f conftest.
$ac_objext
32276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32277 (eval $ac_compile) 2>conftest.er1
32279 grep -v '^ *+' conftest.er1
>conftest.err
32281 cat conftest.err
>&5
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); } &&
32284 { ac_try
='test -z "$ac_c_werror_flag"
32285 || test ! -s conftest.err'
32286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32287 (eval $ac_try) 2>&5
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); }; } &&
32291 { ac_try
='test -s conftest.$ac_objext'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; }; then
32297 ac_cv_type_off_t
=yes
32299 echo "$as_me: failed program was:" >&5
32300 sed 's/^/| /' conftest.
$ac_ext >&5
32302 ac_cv_type_off_t
=no
32304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32306 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32307 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32308 if test $ac_cv_type_off_t = yes; then
32312 cat >>confdefs.h
<<_ACEOF
32318 echo "$as_me:$LINENO: checking for pid_t" >&5
32319 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32320 if test "${ac_cv_type_pid_t+set}" = set; then
32321 echo $ECHO_N "(cached) $ECHO_C" >&6
32323 cat >conftest.
$ac_ext <<_ACEOF
32326 cat confdefs.h
>>conftest.
$ac_ext
32327 cat >>conftest.
$ac_ext <<_ACEOF
32328 /* end confdefs.h. */
32329 $ac_includes_default
32335 if (sizeof (pid_t))
32341 rm -f conftest.
$ac_objext
32342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32343 (eval $ac_compile) 2>conftest.er1
32345 grep -v '^ *+' conftest.er1
>conftest.err
32347 cat conftest.err
>&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); } &&
32350 { ac_try
='test -z "$ac_c_werror_flag"
32351 || test ! -s conftest.err'
32352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32353 (eval $ac_try) 2>&5
32355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356 (exit $ac_status); }; } &&
32357 { ac_try
='test -s conftest.$ac_objext'
32358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32359 (eval $ac_try) 2>&5
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); }; }; then
32363 ac_cv_type_pid_t
=yes
32365 echo "$as_me: failed program was:" >&5
32366 sed 's/^/| /' conftest.
$ac_ext >&5
32368 ac_cv_type_pid_t
=no
32370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32372 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32373 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32374 if test $ac_cv_type_pid_t = yes; then
32378 cat >>confdefs.h
<<_ACEOF
32384 echo "$as_me:$LINENO: checking for size_t" >&5
32385 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32386 if test "${ac_cv_type_size_t+set}" = set; then
32387 echo $ECHO_N "(cached) $ECHO_C" >&6
32389 cat >conftest.
$ac_ext <<_ACEOF
32392 cat confdefs.h
>>conftest.
$ac_ext
32393 cat >>conftest.
$ac_ext <<_ACEOF
32394 /* end confdefs.h. */
32395 $ac_includes_default
32401 if (sizeof (size_t))
32407 rm -f conftest.
$ac_objext
32408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32409 (eval $ac_compile) 2>conftest.er1
32411 grep -v '^ *+' conftest.er1
>conftest.err
32413 cat conftest.err
>&5
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); } &&
32416 { ac_try
='test -z "$ac_c_werror_flag"
32417 || test ! -s conftest.err'
32418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32419 (eval $ac_try) 2>&5
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); }; } &&
32423 { ac_try
='test -s conftest.$ac_objext'
32424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32425 (eval $ac_try) 2>&5
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); }; }; then
32429 ac_cv_type_size_t
=yes
32431 echo "$as_me: failed program was:" >&5
32432 sed 's/^/| /' conftest.
$ac_ext >&5
32434 ac_cv_type_size_t
=no
32436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32438 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32439 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32440 if test $ac_cv_type_size_t = yes; then
32444 cat >>confdefs.h
<<_ACEOF
32445 #define size_t unsigned
32450 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32451 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32452 if test "${ac_cv_type_uid_t+set}" = set; then
32453 echo $ECHO_N "(cached) $ECHO_C" >&6
32455 cat >conftest.
$ac_ext <<_ACEOF
32458 cat confdefs.h
>>conftest.
$ac_ext
32459 cat >>conftest.
$ac_ext <<_ACEOF
32460 /* end confdefs.h. */
32461 #include <sys/types.h>
32464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32465 $EGREP "uid_t" >/dev
/null
2>&1; then
32466 ac_cv_type_uid_t
=yes
32468 ac_cv_type_uid_t
=no
32473 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32474 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32475 if test $ac_cv_type_uid_t = no
; then
32477 cat >>confdefs.h
<<\_ACEOF
32482 cat >>confdefs.h
<<\_ACEOF
32489 echo "$as_me:$LINENO: checking for ssize_t" >&5
32490 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32491 if test "${ac_cv_type_ssize_t+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32494 cat >conftest.
$ac_ext <<_ACEOF
32497 cat confdefs.h
>>conftest.
$ac_ext
32498 cat >>conftest.
$ac_ext <<_ACEOF
32499 /* end confdefs.h. */
32500 $ac_includes_default
32506 if (sizeof (ssize_t))
32512 rm -f conftest.
$ac_objext
32513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32514 (eval $ac_compile) 2>conftest.er1
32516 grep -v '^ *+' conftest.er1
>conftest.err
32518 cat conftest.err
>&5
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); } &&
32521 { ac_try
='test -z "$ac_c_werror_flag"
32522 || test ! -s conftest.err'
32523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32524 (eval $ac_try) 2>&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); }; } &&
32528 { ac_try
='test -s conftest.$ac_objext'
32529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32530 (eval $ac_try) 2>&5
32532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533 (exit $ac_status); }; }; then
32534 ac_cv_type_ssize_t
=yes
32536 echo "$as_me: failed program was:" >&5
32537 sed 's/^/| /' conftest.
$ac_ext >&5
32539 ac_cv_type_ssize_t
=no
32541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32543 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32544 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32545 if test $ac_cv_type_ssize_t = yes; then
32547 cat >>confdefs.h
<<_ACEOF
32548 #define HAVE_SSIZE_T 1
32558 ac_cpp
='$CXXCPP $CPPFLAGS'
32559 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32560 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32561 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32563 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32564 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32565 if test "${wx_cv_size_t_is_uint+set}" = set; then
32566 echo $ECHO_N "(cached) $ECHO_C" >&6
32569 cat >conftest.
$ac_ext <<_ACEOF
32572 cat confdefs.h
>>conftest.
$ac_ext
32573 cat >>conftest.
$ac_ext <<_ACEOF
32574 /* end confdefs.h. */
32575 #include <stddef.h>
32582 struct Foo { void foo(size_t); void foo(unsigned int); };
32590 rm -f conftest.
$ac_objext
32591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32592 (eval $ac_compile) 2>conftest.er1
32594 grep -v '^ *+' conftest.er1
>conftest.err
32596 cat conftest.err
>&5
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); } &&
32599 { ac_try
='test -z "$ac_cxx_werror_flag"
32600 || test ! -s conftest.err'
32601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32602 (eval $ac_try) 2>&5
32604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32605 (exit $ac_status); }; } &&
32606 { ac_try
='test -s conftest.$ac_objext'
32607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32608 (eval $ac_try) 2>&5
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); }; }; then
32612 wx_cv_size_t_is_uint
=no
32614 echo "$as_me: failed program was:" >&5
32615 sed 's/^/| /' conftest.
$ac_ext >&5
32617 wx_cv_size_t_is_uint
=yes
32620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32624 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32625 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32627 if test "$wx_cv_size_t_is_uint" = "yes"; then
32628 cat >>confdefs.h
<<\_ACEOF
32629 #define wxSIZE_T_IS_UINT 1
32633 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32634 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32635 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32636 echo $ECHO_N "(cached) $ECHO_C" >&6
32638 cat >conftest.
$ac_ext <<_ACEOF
32641 cat confdefs.h
>>conftest.
$ac_ext
32642 cat >>conftest.
$ac_ext <<_ACEOF
32643 /* end confdefs.h. */
32644 #include <stddef.h>
32651 struct Foo { void foo(size_t); void foo(unsigned long); };
32659 rm -f conftest.
$ac_objext
32660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32661 (eval $ac_compile) 2>conftest.er1
32663 grep -v '^ *+' conftest.er1
>conftest.err
32665 cat conftest.err
>&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); } &&
32668 { ac_try
='test -z "$ac_cxx_werror_flag"
32669 || test ! -s conftest.err'
32670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32671 (eval $ac_try) 2>&5
32673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32674 (exit $ac_status); }; } &&
32675 { ac_try
='test -s conftest.$ac_objext'
32676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677 (eval $ac_try) 2>&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); }; }; then
32681 wx_cv_size_t_is_ulong
=no
32683 echo "$as_me: failed program was:" >&5
32684 sed 's/^/| /' conftest.
$ac_ext >&5
32686 wx_cv_size_t_is_ulong
=yes
32689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32692 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32693 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32695 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32696 cat >>confdefs.h
<<\_ACEOF
32697 #define wxSIZE_T_IS_ULONG 1
32704 ac_cpp
='$CPP $CPPFLAGS'
32705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32711 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32712 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32713 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32714 echo $ECHO_N "(cached) $ECHO_C" >&6
32717 cat >conftest.
$ac_ext <<_ACEOF
32720 cat confdefs.h
>>conftest.
$ac_ext
32721 cat >>conftest.
$ac_ext <<_ACEOF
32722 /* end confdefs.h. */
32736 rm -f conftest.
$ac_objext
32737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32738 (eval $ac_compile) 2>conftest.er1
32740 grep -v '^ *+' conftest.er1
>conftest.err
32742 cat conftest.err
>&5
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); } &&
32745 { ac_try
='test -z "$ac_c_werror_flag"
32746 || test ! -s conftest.err'
32747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32748 (eval $ac_try) 2>&5
32750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32751 (exit $ac_status); }; } &&
32752 { ac_try
='test -s conftest.$ac_objext'
32753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32754 (eval $ac_try) 2>&5
32756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32757 (exit $ac_status); }; }; then
32759 wx_cv_struct_pw_gecos
=yes
32762 echo "$as_me: failed program was:" >&5
32763 sed 's/^/| /' conftest.
$ac_ext >&5
32766 wx_cv_struct_pw_gecos
=no
32770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32774 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32775 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32777 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32778 cat >>confdefs.h
<<\_ACEOF
32779 #define HAVE_PW_GECOS 1
32785 if test "$wxUSE_WCHAR_T" = "yes"; then
32786 cat >>confdefs.h
<<\_ACEOF
32787 #define wxUSE_WCHAR_T 1
32794 for ac_func
in wcslen
32796 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32797 echo "$as_me:$LINENO: checking for $ac_func" >&5
32798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32799 if eval "test \"\${$as_ac_var+set}\" = set"; then
32800 echo $ECHO_N "(cached) $ECHO_C" >&6
32802 cat >conftest.
$ac_ext <<_ACEOF
32805 cat confdefs.h
>>conftest.
$ac_ext
32806 cat >>conftest.
$ac_ext <<_ACEOF
32807 /* end confdefs.h. */
32808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32810 #define $ac_func innocuous_$ac_func
32812 /* System header to define __stub macros and hopefully few prototypes,
32813 which can conflict with char $ac_func (); below.
32814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32815 <limits.h> exists even on freestanding compilers. */
32818 # include <limits.h>
32820 # include <assert.h>
32825 /* Override any gcc2 internal prototype to avoid an error. */
32830 /* We use char because int might match the return type of a gcc2
32831 builtin and then its argument prototype would still apply. */
32833 /* The GNU C library defines this for functions which it implements
32834 to always fail with ENOSYS. Some functions are actually named
32835 something starting with __ and the normal name is an alias. */
32836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32839 char (*f) () = $ac_func;
32848 return f != $ac_func;
32853 rm -f conftest.
$ac_objext conftest
$ac_exeext
32854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32855 (eval $ac_link) 2>conftest.er1
32857 grep -v '^ *+' conftest.er1
>conftest.err
32859 cat conftest.err
>&5
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); } &&
32862 { ac_try
='test -z "$ac_c_werror_flag"
32863 || test ! -s conftest.err'
32864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32865 (eval $ac_try) 2>&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); }; } &&
32869 { ac_try
='test -s conftest$ac_exeext'
32870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32871 (eval $ac_try) 2>&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); }; }; then
32875 eval "$as_ac_var=yes"
32877 echo "$as_me: failed program was:" >&5
32878 sed 's/^/| /' conftest.
$ac_ext >&5
32880 eval "$as_ac_var=no"
32882 rm -f conftest.err conftest.
$ac_objext \
32883 conftest
$ac_exeext conftest.
$ac_ext
32885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32887 if test `eval echo '${'$as_ac_var'}'` = yes; then
32888 cat >>confdefs.h
<<_ACEOF
32889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32896 if test "$WCSLEN_FOUND" = 0; then
32897 if test "$TOOLKIT" = "MSW"; then
32898 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32899 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32900 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32901 echo $ECHO_N "(cached) $ECHO_C" >&6
32903 ac_check_lib_save_LIBS
=$LIBS
32904 LIBS
="-lmsvcrt $LIBS"
32905 cat >conftest.
$ac_ext <<_ACEOF
32908 cat confdefs.h
>>conftest.
$ac_ext
32909 cat >>conftest.
$ac_ext <<_ACEOF
32910 /* end confdefs.h. */
32912 /* Override any gcc2 internal prototype to avoid an error. */
32916 /* We use char because int might match the return type of a gcc2
32917 builtin and then its argument prototype would still apply. */
32927 rm -f conftest.
$ac_objext conftest
$ac_exeext
32928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32929 (eval $ac_link) 2>conftest.er1
32931 grep -v '^ *+' conftest.er1
>conftest.err
32933 cat conftest.err
>&5
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); } &&
32936 { ac_try
='test -z "$ac_c_werror_flag"
32937 || test ! -s conftest.err'
32938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32939 (eval $ac_try) 2>&5
32941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942 (exit $ac_status); }; } &&
32943 { ac_try
='test -s conftest$ac_exeext'
32944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32945 (eval $ac_try) 2>&5
32947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32948 (exit $ac_status); }; }; then
32949 ac_cv_lib_msvcrt_wcslen
=yes
32951 echo "$as_me: failed program was:" >&5
32952 sed 's/^/| /' conftest.
$ac_ext >&5
32954 ac_cv_lib_msvcrt_wcslen
=no
32956 rm -f conftest.err conftest.
$ac_objext \
32957 conftest
$ac_exeext conftest.
$ac_ext
32958 LIBS
=$ac_check_lib_save_LIBS
32960 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32961 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32962 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32967 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32968 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32969 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32970 echo $ECHO_N "(cached) $ECHO_C" >&6
32972 ac_check_lib_save_LIBS
=$LIBS
32974 cat >conftest.
$ac_ext <<_ACEOF
32977 cat confdefs.h
>>conftest.
$ac_ext
32978 cat >>conftest.
$ac_ext <<_ACEOF
32979 /* end confdefs.h. */
32981 /* Override any gcc2 internal prototype to avoid an error. */
32985 /* We use char because int might match the return type of a gcc2
32986 builtin and then its argument prototype would still apply. */
32996 rm -f conftest.
$ac_objext conftest
$ac_exeext
32997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32998 (eval $ac_link) 2>conftest.er1
33000 grep -v '^ *+' conftest.er1
>conftest.err
33002 cat conftest.err
>&5
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); } &&
33005 { ac_try
='test -z "$ac_c_werror_flag"
33006 || test ! -s conftest.err'
33007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33008 (eval $ac_try) 2>&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); }; } &&
33012 { ac_try
='test -s conftest$ac_exeext'
33013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33014 (eval $ac_try) 2>&5
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); }; }; then
33018 ac_cv_lib_w_wcslen
=yes
33020 echo "$as_me: failed program was:" >&5
33021 sed 's/^/| /' conftest.
$ac_ext >&5
33023 ac_cv_lib_w_wcslen
=no
33025 rm -f conftest.err conftest.
$ac_objext \
33026 conftest
$ac_exeext conftest.
$ac_ext
33027 LIBS
=$ac_check_lib_save_LIBS
33029 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33030 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33031 if test $ac_cv_lib_w_wcslen = yes; then
33041 if test "$WCSLEN_FOUND" = 1; then
33042 cat >>confdefs.h
<<\_ACEOF
33043 #define HAVE_WCSLEN 1
33048 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33049 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33052 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33053 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33054 if test "${ac_cv_type_mbstate_t+set}" = set; then
33055 echo $ECHO_N "(cached) $ECHO_C" >&6
33057 cat >conftest.
$ac_ext <<_ACEOF
33060 cat confdefs.h
>>conftest.
$ac_ext
33061 cat >>conftest.
$ac_ext <<_ACEOF
33062 /* end confdefs.h. */
33068 if ((mbstate_t *) 0)
33070 if (sizeof (mbstate_t))
33076 rm -f conftest.
$ac_objext
33077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33078 (eval $ac_compile) 2>conftest.er1
33080 grep -v '^ *+' conftest.er1
>conftest.err
33082 cat conftest.err
>&5
33083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084 (exit $ac_status); } &&
33085 { ac_try
='test -z "$ac_c_werror_flag"
33086 || test ! -s conftest.err'
33087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33088 (eval $ac_try) 2>&5
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); }; } &&
33092 { ac_try
='test -s conftest.$ac_objext'
33093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33094 (eval $ac_try) 2>&5
33096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33097 (exit $ac_status); }; }; then
33098 ac_cv_type_mbstate_t
=yes
33100 echo "$as_me: failed program was:" >&5
33101 sed 's/^/| /' conftest.
$ac_ext >&5
33103 ac_cv_type_mbstate_t
=no
33105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33107 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33108 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33109 if test $ac_cv_type_mbstate_t = yes; then
33111 cat >>confdefs.h
<<_ACEOF
33112 #define HAVE_MBSTATE_T 1
33116 for ac_func
in wcsrtombs
33118 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33119 echo "$as_me:$LINENO: checking for $ac_func" >&5
33120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33121 if eval "test \"\${$as_ac_var+set}\" = set"; then
33122 echo $ECHO_N "(cached) $ECHO_C" >&6
33124 cat >conftest.
$ac_ext <<_ACEOF
33127 cat confdefs.h
>>conftest.
$ac_ext
33128 cat >>conftest.
$ac_ext <<_ACEOF
33129 /* end confdefs.h. */
33130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33132 #define $ac_func innocuous_$ac_func
33134 /* System header to define __stub macros and hopefully few prototypes,
33135 which can conflict with char $ac_func (); below.
33136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33137 <limits.h> exists even on freestanding compilers. */
33140 # include <limits.h>
33142 # include <assert.h>
33147 /* Override any gcc2 internal prototype to avoid an error. */
33152 /* We use char because int might match the return type of a gcc2
33153 builtin and then its argument prototype would still apply. */
33155 /* The GNU C library defines this for functions which it implements
33156 to always fail with ENOSYS. Some functions are actually named
33157 something starting with __ and the normal name is an alias. */
33158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33161 char (*f) () = $ac_func;
33170 return f != $ac_func;
33175 rm -f conftest.
$ac_objext conftest
$ac_exeext
33176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33177 (eval $ac_link) 2>conftest.er1
33179 grep -v '^ *+' conftest.er1
>conftest.err
33181 cat conftest.err
>&5
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); } &&
33184 { ac_try
='test -z "$ac_c_werror_flag"
33185 || test ! -s conftest.err'
33186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33187 (eval $ac_try) 2>&5
33189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33190 (exit $ac_status); }; } &&
33191 { ac_try
='test -s conftest$ac_exeext'
33192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33193 (eval $ac_try) 2>&5
33195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196 (exit $ac_status); }; }; then
33197 eval "$as_ac_var=yes"
33199 echo "$as_me: failed program was:" >&5
33200 sed 's/^/| /' conftest.
$ac_ext >&5
33202 eval "$as_ac_var=no"
33204 rm -f conftest.err conftest.
$ac_objext \
33205 conftest
$ac_exeext conftest.
$ac_ext
33207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33209 if test `eval echo '${'$as_ac_var'}'` = yes; then
33210 cat >>confdefs.h
<<_ACEOF
33211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33220 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33221 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33227 ac_cpp
='$CXXCPP $CPPFLAGS'
33228 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33229 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33230 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33235 for ac_func
in snprintf vsnprintf
33237 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33238 echo "$as_me:$LINENO: checking for $ac_func" >&5
33239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33240 if eval "test \"\${$as_ac_var+set}\" = set"; then
33241 echo $ECHO_N "(cached) $ECHO_C" >&6
33243 cat >conftest.
$ac_ext <<_ACEOF
33246 cat confdefs.h
>>conftest.
$ac_ext
33247 cat >>conftest.
$ac_ext <<_ACEOF
33248 /* end confdefs.h. */
33249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33251 #define $ac_func innocuous_$ac_func
33253 /* System header to define __stub macros and hopefully few prototypes,
33254 which can conflict with char $ac_func (); below.
33255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33256 <limits.h> exists even on freestanding compilers. */
33259 # include <limits.h>
33261 # include <assert.h>
33266 /* Override any gcc2 internal prototype to avoid an error. */
33271 /* We use char because int might match the return type of a gcc2
33272 builtin and then its argument prototype would still apply. */
33274 /* The GNU C library defines this for functions which it implements
33275 to always fail with ENOSYS. Some functions are actually named
33276 something starting with __ and the normal name is an alias. */
33277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33280 char (*f) () = $ac_func;
33289 return f != $ac_func;
33294 rm -f conftest.
$ac_objext conftest
$ac_exeext
33295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33296 (eval $ac_link) 2>conftest.er1
33298 grep -v '^ *+' conftest.er1
>conftest.err
33300 cat conftest.err
>&5
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); } &&
33303 { ac_try
='test -z "$ac_cxx_werror_flag"
33304 || test ! -s conftest.err'
33305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33306 (eval $ac_try) 2>&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); }; } &&
33310 { ac_try
='test -s conftest$ac_exeext'
33311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33312 (eval $ac_try) 2>&5
33314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33315 (exit $ac_status); }; }; then
33316 eval "$as_ac_var=yes"
33318 echo "$as_me: failed program was:" >&5
33319 sed 's/^/| /' conftest.
$ac_ext >&5
33321 eval "$as_ac_var=no"
33323 rm -f conftest.err conftest.
$ac_objext \
33324 conftest
$ac_exeext conftest.
$ac_ext
33326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33328 if test `eval echo '${'$as_ac_var'}'` = yes; then
33329 cat >>confdefs.h
<<_ACEOF
33330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33337 if test "$ac_cv_func_vsnprintf" = "yes"; then
33338 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33339 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33340 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33341 echo $ECHO_N "(cached) $ECHO_C" >&6
33344 cat >conftest.
$ac_ext <<_ACEOF
33347 cat confdefs.h
>>conftest.
$ac_ext
33348 cat >>conftest.
$ac_ext <<_ACEOF
33349 /* end confdefs.h. */
33352 #include <stdarg.h>
33354 #if __MSL__ >= 0x6000
33356 using namespace std;
33366 vsnprintf(buf, 10u, "%s", ap);
33372 rm -f conftest.
$ac_objext
33373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33374 (eval $ac_compile) 2>conftest.er1
33376 grep -v '^ *+' conftest.er1
>conftest.err
33378 cat conftest.err
>&5
33379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33380 (exit $ac_status); } &&
33381 { ac_try
='test -z "$ac_cxx_werror_flag"
33382 || test ! -s conftest.err'
33383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33384 (eval $ac_try) 2>&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); }; } &&
33388 { ac_try
='test -s conftest.$ac_objext'
33389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33390 (eval $ac_try) 2>&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); }; }; then
33394 wx_cv_func_vsnprintf_decl
=yes
33396 echo "$as_me: failed program was:" >&5
33397 sed 's/^/| /' conftest.
$ac_ext >&5
33399 wx_cv_func_vsnprintf_decl
=no
33402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33406 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33407 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33409 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33410 cat >>confdefs.h
<<\_ACEOF
33411 #define HAVE_VSNPRINTF_DECL 1
33415 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33416 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33417 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33421 cat >conftest.
$ac_ext <<_ACEOF
33424 cat confdefs.h
>>conftest.
$ac_ext
33425 cat >>conftest.
$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33429 #include <stdarg.h>
33431 #if __MSL__ >= 0x6000
33433 using namespace std;
33443 const char *fmt = "%s";
33444 vsnprintf(buf, 10u, fmt, ap);
33450 rm -f conftest.
$ac_objext
33451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33452 (eval $ac_compile) 2>conftest.er1
33454 grep -v '^ *+' conftest.er1
>conftest.err
33456 cat conftest.err
>&5
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); } &&
33459 { ac_try
='test -z "$ac_cxx_werror_flag"
33460 || test ! -s conftest.err'
33461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33462 (eval $ac_try) 2>&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); }; } &&
33466 { ac_try
='test -s conftest.$ac_objext'
33467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33468 (eval $ac_try) 2>&5
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); }; }; then
33472 wx_cv_func_broken_vsnprintf_decl
=no
33474 echo "$as_me: failed program was:" >&5
33475 sed 's/^/| /' conftest.
$ac_ext >&5
33477 wx_cv_func_broken_vsnprintf_decl
=yes
33480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33484 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33485 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33487 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33488 cat >>confdefs.h
<<\_ACEOF
33489 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33496 if test "$ac_cv_func_snprintf" = "yes"; then
33497 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33498 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33499 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33500 echo $ECHO_N "(cached) $ECHO_C" >&6
33503 cat >conftest.
$ac_ext <<_ACEOF
33506 cat confdefs.h
>>conftest.
$ac_ext
33507 cat >>conftest.
$ac_ext <<_ACEOF
33508 /* end confdefs.h. */
33511 #include <stdarg.h>
33513 #if __MSL__ >= 0x6000
33515 using namespace std;
33524 snprintf(buf, 10u, "%s", "wx");
33530 rm -f conftest.
$ac_objext
33531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33532 (eval $ac_compile) 2>conftest.er1
33534 grep -v '^ *+' conftest.er1
>conftest.err
33536 cat conftest.err
>&5
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); } &&
33539 { ac_try
='test -z "$ac_cxx_werror_flag"
33540 || test ! -s conftest.err'
33541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542 (eval $ac_try) 2>&5
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); }; } &&
33546 { ac_try
='test -s conftest.$ac_objext'
33547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33548 (eval $ac_try) 2>&5
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); }; }; then
33552 wx_cv_func_snprintf_decl
=yes
33554 echo "$as_me: failed program was:" >&5
33555 sed 's/^/| /' conftest.
$ac_ext >&5
33557 wx_cv_func_snprintf_decl
=no
33560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33564 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33565 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33567 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33568 cat >>confdefs.h
<<\_ACEOF
33569 #define HAVE_SNPRINTF_DECL 1
33573 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33574 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33575 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33576 echo $ECHO_N "(cached) $ECHO_C" >&6
33579 cat >conftest.
$ac_ext <<_ACEOF
33582 cat confdefs.h
>>conftest.
$ac_ext
33583 cat >>conftest.
$ac_ext <<_ACEOF
33584 /* end confdefs.h. */
33587 #include <stdarg.h>
33589 #if __MSL__ >= 0x6000
33591 using namespace std;
33600 const char *fmt = "%s";
33601 snprintf(buf, 10u, fmt, "wx");
33607 rm -f conftest.
$ac_objext
33608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33609 (eval $ac_compile) 2>conftest.er1
33611 grep -v '^ *+' conftest.er1
>conftest.err
33613 cat conftest.err
>&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); } &&
33616 { ac_try
='test -z "$ac_cxx_werror_flag"
33617 || test ! -s conftest.err'
33618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33619 (eval $ac_try) 2>&5
33621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33622 (exit $ac_status); }; } &&
33623 { ac_try
='test -s conftest.$ac_objext'
33624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33625 (eval $ac_try) 2>&5
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); }; }; then
33629 wx_cv_func_broken_snprintf_decl
=no
33631 echo "$as_me: failed program was:" >&5
33632 sed 's/^/| /' conftest.
$ac_ext >&5
33634 wx_cv_func_broken_snprintf_decl
=yes
33637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33641 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33642 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33644 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33645 cat >>confdefs.h
<<\_ACEOF
33646 #define HAVE_BROKEN_SNPRINTF_DECL 1
33653 if test "$wxUSE_UNICODE" = yes; then
33660 for ac_func
in wputc wputchar putws fputws wprintf vswprintf
33662 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33663 echo "$as_me:$LINENO: checking for $ac_func" >&5
33664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33665 if eval "test \"\${$as_ac_var+set}\" = set"; then
33666 echo $ECHO_N "(cached) $ECHO_C" >&6
33668 cat >conftest.
$ac_ext <<_ACEOF
33671 cat confdefs.h
>>conftest.
$ac_ext
33672 cat >>conftest.
$ac_ext <<_ACEOF
33673 /* end confdefs.h. */
33674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33676 #define $ac_func innocuous_$ac_func
33678 /* System header to define __stub macros and hopefully few prototypes,
33679 which can conflict with char $ac_func (); below.
33680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33681 <limits.h> exists even on freestanding compilers. */
33684 # include <limits.h>
33686 # include <assert.h>
33691 /* Override any gcc2 internal prototype to avoid an error. */
33696 /* We use char because int might match the return type of a gcc2
33697 builtin and then its argument prototype would still apply. */
33699 /* The GNU C library defines this for functions which it implements
33700 to always fail with ENOSYS. Some functions are actually named
33701 something starting with __ and the normal name is an alias. */
33702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33705 char (*f) () = $ac_func;
33714 return f != $ac_func;
33719 rm -f conftest.
$ac_objext conftest
$ac_exeext
33720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33721 (eval $ac_link) 2>conftest.er1
33723 grep -v '^ *+' conftest.er1
>conftest.err
33725 cat conftest.err
>&5
33726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33727 (exit $ac_status); } &&
33728 { ac_try
='test -z "$ac_cxx_werror_flag"
33729 || test ! -s conftest.err'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; } &&
33735 { ac_try
='test -s conftest$ac_exeext'
33736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33737 (eval $ac_try) 2>&5
33739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33740 (exit $ac_status); }; }; then
33741 eval "$as_ac_var=yes"
33743 echo "$as_me: failed program was:" >&5
33744 sed 's/^/| /' conftest.
$ac_ext >&5
33746 eval "$as_ac_var=no"
33748 rm -f conftest.err conftest.
$ac_objext \
33749 conftest
$ac_exeext conftest.
$ac_ext
33751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33753 if test `eval echo '${'$as_ac_var'}'` = yes; then
33754 cat >>confdefs.h
<<_ACEOF
33755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33762 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33763 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33764 cat >conftest.
$ac_ext <<_ACEOF
33767 cat confdefs.h
>>conftest.
$ac_ext
33768 cat >>conftest.
$ac_ext <<_ACEOF
33769 /* end confdefs.h. */
33779 rm -f conftest.
$ac_objext
33780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33781 (eval $ac_compile) 2>conftest.er1
33783 grep -v '^ *+' conftest.er1
>conftest.err
33785 cat conftest.err
>&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); } &&
33788 { ac_try
='test -z "$ac_cxx_werror_flag"
33789 || test ! -s conftest.err'
33790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33791 (eval $ac_try) 2>&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); }; } &&
33795 { ac_try
='test -s conftest.$ac_objext'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; }; then
33801 echo "$as_me:$LINENO: result: yes" >&5
33802 echo "${ECHO_T}yes" >&6
33803 cat >>confdefs.h
<<\_ACEOF
33804 #define HAVE__VSNWPRINTF 1
33808 echo "$as_me: failed program was:" >&5
33809 sed 's/^/| /' conftest.
$ac_ext >&5
33811 echo "$as_me:$LINENO: result: no" >&5
33812 echo "${ECHO_T}no" >&6
33814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext;
33818 ac_cpp
='$CPP $CPPFLAGS'
33819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33824 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33826 for ac_func
in fnmatch
33828 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33829 echo "$as_me:$LINENO: checking for $ac_func" >&5
33830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33831 if eval "test \"\${$as_ac_var+set}\" = set"; then
33832 echo $ECHO_N "(cached) $ECHO_C" >&6
33834 cat >conftest.
$ac_ext <<_ACEOF
33837 cat confdefs.h
>>conftest.
$ac_ext
33838 cat >>conftest.
$ac_ext <<_ACEOF
33839 /* end confdefs.h. */
33840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33842 #define $ac_func innocuous_$ac_func
33844 /* System header to define __stub macros and hopefully few prototypes,
33845 which can conflict with char $ac_func (); below.
33846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33847 <limits.h> exists even on freestanding compilers. */
33850 # include <limits.h>
33852 # include <assert.h>
33857 /* Override any gcc2 internal prototype to avoid an error. */
33862 /* We use char because int might match the return type of a gcc2
33863 builtin and then its argument prototype would still apply. */
33865 /* The GNU C library defines this for functions which it implements
33866 to always fail with ENOSYS. Some functions are actually named
33867 something starting with __ and the normal name is an alias. */
33868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33871 char (*f) () = $ac_func;
33880 return f != $ac_func;
33885 rm -f conftest.
$ac_objext conftest
$ac_exeext
33886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33887 (eval $ac_link) 2>conftest.er1
33889 grep -v '^ *+' conftest.er1
>conftest.err
33891 cat conftest.err
>&5
33892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33893 (exit $ac_status); } &&
33894 { ac_try
='test -z "$ac_c_werror_flag"
33895 || test ! -s conftest.err'
33896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33897 (eval $ac_try) 2>&5
33899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33900 (exit $ac_status); }; } &&
33901 { ac_try
='test -s conftest$ac_exeext'
33902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33903 (eval $ac_try) 2>&5
33905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33906 (exit $ac_status); }; }; then
33907 eval "$as_ac_var=yes"
33909 echo "$as_me: failed program was:" >&5
33910 sed 's/^/| /' conftest.
$ac_ext >&5
33912 eval "$as_ac_var=no"
33914 rm -f conftest.err conftest.
$ac_objext \
33915 conftest
$ac_exeext conftest.
$ac_ext
33917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33919 if test `eval echo '${'$as_ac_var'}'` = yes; then
33920 cat >>confdefs.h
<<_ACEOF
33921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33929 if test "$wxUSE_FILE" = "yes"; then
33931 for ac_func
in fsync
33933 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33934 echo "$as_me:$LINENO: checking for $ac_func" >&5
33935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33936 if eval "test \"\${$as_ac_var+set}\" = set"; then
33937 echo $ECHO_N "(cached) $ECHO_C" >&6
33939 cat >conftest.
$ac_ext <<_ACEOF
33942 cat confdefs.h
>>conftest.
$ac_ext
33943 cat >>conftest.
$ac_ext <<_ACEOF
33944 /* end confdefs.h. */
33945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33947 #define $ac_func innocuous_$ac_func
33949 /* System header to define __stub macros and hopefully few prototypes,
33950 which can conflict with char $ac_func (); below.
33951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33952 <limits.h> exists even on freestanding compilers. */
33955 # include <limits.h>
33957 # include <assert.h>
33962 /* Override any gcc2 internal prototype to avoid an error. */
33967 /* We use char because int might match the return type of a gcc2
33968 builtin and then its argument prototype would still apply. */
33970 /* The GNU C library defines this for functions which it implements
33971 to always fail with ENOSYS. Some functions are actually named
33972 something starting with __ and the normal name is an alias. */
33973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33976 char (*f) () = $ac_func;
33985 return f != $ac_func;
33990 rm -f conftest.
$ac_objext conftest
$ac_exeext
33991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33992 (eval $ac_link) 2>conftest.er1
33994 grep -v '^ *+' conftest.er1
>conftest.err
33996 cat conftest.err
>&5
33997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33998 (exit $ac_status); } &&
33999 { ac_try
='test -z "$ac_c_werror_flag"
34000 || test ! -s conftest.err'
34001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34002 (eval $ac_try) 2>&5
34004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34005 (exit $ac_status); }; } &&
34006 { ac_try
='test -s conftest$ac_exeext'
34007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34008 (eval $ac_try) 2>&5
34010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34011 (exit $ac_status); }; }; then
34012 eval "$as_ac_var=yes"
34014 echo "$as_me: failed program was:" >&5
34015 sed 's/^/| /' conftest.
$ac_ext >&5
34017 eval "$as_ac_var=no"
34019 rm -f conftest.err conftest.
$ac_objext \
34020 conftest
$ac_exeext conftest.
$ac_ext
34022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34024 if test `eval echo '${'$as_ac_var'}'` = yes; then
34025 cat >>confdefs.h
<<_ACEOF
34026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34035 if test "$TOOLKIT" != "MSW"; then
34041 ac_cpp
='$CXXCPP $CPPFLAGS'
34042 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34043 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34044 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34049 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34050 if test "${with_libiconv_prefix+set}" = set; then
34051 withval
="$with_libiconv_prefix"
34053 for dir
in `echo "$withval" | tr : ' '`; do
34054 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
34055 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
34060 echo "$as_me:$LINENO: checking for iconv" >&5
34061 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34062 if test "${am_cv_func_iconv+set}" = set; then
34063 echo $ECHO_N "(cached) $ECHO_C" >&6
34066 am_cv_func_iconv
="no, consider installing GNU libiconv"
34068 cat >conftest.
$ac_ext <<_ACEOF
34071 cat confdefs.h
>>conftest.
$ac_ext
34072 cat >>conftest.
$ac_ext <<_ACEOF
34073 /* end confdefs.h. */
34074 #include <stdlib.h>
34079 iconv_t cd = iconv_open("","");
34080 iconv(cd,NULL,NULL,NULL,NULL);
34086 rm -f conftest.
$ac_objext conftest
$ac_exeext
34087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34088 (eval $ac_link) 2>conftest.er1
34090 grep -v '^ *+' conftest.er1
>conftest.err
34092 cat conftest.err
>&5
34093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34094 (exit $ac_status); } &&
34095 { ac_try
='test -z "$ac_cxx_werror_flag"
34096 || test ! -s conftest.err'
34097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34098 (eval $ac_try) 2>&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); }; } &&
34102 { ac_try
='test -s conftest$ac_exeext'
34103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34104 (eval $ac_try) 2>&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); }; }; then
34108 am_cv_func_iconv
=yes
34110 echo "$as_me: failed program was:" >&5
34111 sed 's/^/| /' conftest.
$ac_ext >&5
34114 rm -f conftest.err conftest.
$ac_objext \
34115 conftest
$ac_exeext conftest.
$ac_ext
34116 if test "$am_cv_func_iconv" != yes; then
34117 am_save_LIBS
="$LIBS"
34118 LIBS
="$LIBS -liconv"
34119 cat >conftest.
$ac_ext <<_ACEOF
34122 cat confdefs.h
>>conftest.
$ac_ext
34123 cat >>conftest.
$ac_ext <<_ACEOF
34124 /* end confdefs.h. */
34125 #include <stdlib.h>
34130 iconv_t cd = iconv_open("","");
34131 iconv(cd,NULL,NULL,NULL,NULL);
34137 rm -f conftest.
$ac_objext conftest
$ac_exeext
34138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34139 (eval $ac_link) 2>conftest.er1
34141 grep -v '^ *+' conftest.er1
>conftest.err
34143 cat conftest.err
>&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); } &&
34146 { ac_try
='test -z "$ac_cxx_werror_flag"
34147 || test ! -s conftest.err'
34148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34149 (eval $ac_try) 2>&5
34151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34152 (exit $ac_status); }; } &&
34153 { ac_try
='test -s conftest$ac_exeext'
34154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34155 (eval $ac_try) 2>&5
34157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34158 (exit $ac_status); }; }; then
34159 am_cv_lib_iconv
=yes
34160 am_cv_func_iconv
=yes
34162 echo "$as_me: failed program was:" >&5
34163 sed 's/^/| /' conftest.
$ac_ext >&5
34166 rm -f conftest.err conftest.
$ac_objext \
34167 conftest
$ac_exeext conftest.
$ac_ext
34168 LIBS
="$am_save_LIBS"
34172 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34173 echo "${ECHO_T}$am_cv_func_iconv" >&6
34174 if test "$am_cv_func_iconv" = yes; then
34176 cat >>confdefs.h
<<\_ACEOF
34177 #define HAVE_ICONV 1
34180 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34181 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34182 if test "${wx_cv_func_iconv_const+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34185 cat >conftest.
$ac_ext <<_ACEOF
34188 cat confdefs.h
>>conftest.
$ac_ext
34189 cat >>conftest.
$ac_ext <<_ACEOF
34190 /* end confdefs.h. */
34192 #include <stdlib.h>
34198 #if defined(__STDC__) || defined(__cplusplus)
34199 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34212 rm -f conftest.
$ac_objext
34213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34214 (eval $ac_compile) 2>conftest.er1
34216 grep -v '^ *+' conftest.er1
>conftest.err
34218 cat conftest.err
>&5
34219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34220 (exit $ac_status); } &&
34221 { ac_try
='test -z "$ac_cxx_werror_flag"
34222 || test ! -s conftest.err'
34223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34224 (eval $ac_try) 2>&5
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); }; } &&
34228 { ac_try
='test -s conftest.$ac_objext'
34229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34230 (eval $ac_try) 2>&5
34232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233 (exit $ac_status); }; }; then
34234 wx_cv_func_iconv_const
="no"
34236 echo "$as_me: failed program was:" >&5
34237 sed 's/^/| /' conftest.
$ac_ext >&5
34239 wx_cv_func_iconv_const
="yes"
34242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34245 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34246 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34249 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34250 iconv_const
="const"
34254 cat >>confdefs.h
<<_ACEOF
34255 #define ICONV_CONST $iconv_const
34260 if test "$am_cv_lib_iconv" = yes; then
34265 LIBS
="$LIBICONV $LIBS"
34267 ac_cpp
='$CPP $CPPFLAGS'
34268 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34269 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34270 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34273 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34275 for ac_func
in sigaction
34277 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34278 echo "$as_me:$LINENO: checking for $ac_func" >&5
34279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34280 if eval "test \"\${$as_ac_var+set}\" = set"; then
34281 echo $ECHO_N "(cached) $ECHO_C" >&6
34283 cat >conftest.
$ac_ext <<_ACEOF
34286 cat confdefs.h
>>conftest.
$ac_ext
34287 cat >>conftest.
$ac_ext <<_ACEOF
34288 /* end confdefs.h. */
34289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34291 #define $ac_func innocuous_$ac_func
34293 /* System header to define __stub macros and hopefully few prototypes,
34294 which can conflict with char $ac_func (); below.
34295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34296 <limits.h> exists even on freestanding compilers. */
34299 # include <limits.h>
34301 # include <assert.h>
34306 /* Override any gcc2 internal prototype to avoid an error. */
34311 /* We use char because int might match the return type of a gcc2
34312 builtin and then its argument prototype would still apply. */
34314 /* The GNU C library defines this for functions which it implements
34315 to always fail with ENOSYS. Some functions are actually named
34316 something starting with __ and the normal name is an alias. */
34317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34320 char (*f) () = $ac_func;
34329 return f != $ac_func;
34334 rm -f conftest.
$ac_objext conftest
$ac_exeext
34335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34336 (eval $ac_link) 2>conftest.er1
34338 grep -v '^ *+' conftest.er1
>conftest.err
34340 cat conftest.err
>&5
34341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34342 (exit $ac_status); } &&
34343 { ac_try
='test -z "$ac_c_werror_flag"
34344 || test ! -s conftest.err'
34345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34346 (eval $ac_try) 2>&5
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); }; } &&
34350 { ac_try
='test -s conftest$ac_exeext'
34351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34352 (eval $ac_try) 2>&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); }; }; then
34356 eval "$as_ac_var=yes"
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.
$ac_ext >&5
34361 eval "$as_ac_var=no"
34363 rm -f conftest.err conftest.
$ac_objext \
34364 conftest
$ac_exeext conftest.
$ac_ext
34366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34368 if test `eval echo '${'$as_ac_var'}'` = yes; then
34369 cat >>confdefs.h
<<_ACEOF
34370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34377 if test "$ac_cv_func_sigaction" = "no"; then
34378 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34379 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34380 wxUSE_ON_FATAL_EXCEPTION
=no
34383 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34387 ac_cpp
='$CXXCPP $CPPFLAGS'
34388 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34393 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34394 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34395 if test "${wx_cv_type_sa_handler+set}" = set; then
34396 echo $ECHO_N "(cached) $ECHO_C" >&6
34399 cat >conftest.
$ac_ext <<_ACEOF
34402 cat confdefs.h
>>conftest.
$ac_ext
34403 cat >>conftest.
$ac_ext <<_ACEOF
34404 /* end confdefs.h. */
34405 #include <signal.h>
34410 extern void testSigHandler(int);
34412 struct sigaction sa;
34413 sa.sa_handler = testSigHandler;
34419 rm -f conftest.
$ac_objext
34420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34421 (eval $ac_compile) 2>conftest.er1
34423 grep -v '^ *+' conftest.er1
>conftest.err
34425 cat conftest.err
>&5
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); } &&
34428 { ac_try
='test -z "$ac_cxx_werror_flag"
34429 || test ! -s conftest.err'
34430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34431 (eval $ac_try) 2>&5
34433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34434 (exit $ac_status); }; } &&
34435 { ac_try
='test -s conftest.$ac_objext'
34436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34437 (eval $ac_try) 2>&5
34439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34440 (exit $ac_status); }; }; then
34442 wx_cv_type_sa_handler
=int
34445 echo "$as_me: failed program was:" >&5
34446 sed 's/^/| /' conftest.
$ac_ext >&5
34449 wx_cv_type_sa_handler
=void
34452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34455 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34456 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34459 ac_cpp
='$CPP $CPPFLAGS'
34460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34465 cat >>confdefs.h
<<_ACEOF
34466 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34472 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34476 ac_cpp
='$CXXCPP $CPPFLAGS'
34477 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34478 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34479 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34482 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34483 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34484 if test "${wx_cv_func_backtrace+set}" = set; then
34485 echo $ECHO_N "(cached) $ECHO_C" >&6
34488 cat >conftest.
$ac_ext <<_ACEOF
34491 cat confdefs.h
>>conftest.
$ac_ext
34492 cat >>conftest.
$ac_ext <<_ACEOF
34493 /* end confdefs.h. */
34494 #include <execinfo.h>
34502 backtrace(trace, 1);
34503 messages = backtrace_symbols(trace, 1);
34509 rm -f conftest.
$ac_objext
34510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34511 (eval $ac_compile) 2>conftest.er1
34513 grep -v '^ *+' conftest.er1
>conftest.err
34515 cat conftest.err
>&5
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); } &&
34518 { ac_try
='test -z "$ac_cxx_werror_flag"
34519 || test ! -s conftest.err'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; } &&
34525 { ac_try
='test -s conftest.$ac_objext'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; }; then
34531 wx_cv_func_backtrace
=yes
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.
$ac_ext >&5
34536 wx_cv_func_backtrace
=no
34539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34543 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34544 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34547 if test "$wx_cv_func_backtrace" = "no"; then
34548 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34549 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34550 wxUSE_STACKWALKER
=no
34552 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34553 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34554 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34555 echo $ECHO_N "(cached) $ECHO_C" >&6
34558 cat >conftest.
$ac_ext <<_ACEOF
34561 cat confdefs.h
>>conftest.
$ac_ext
34562 cat >>conftest.
$ac_ext <<_ACEOF
34563 /* end confdefs.h. */
34564 #include <cxxabi.h>
34570 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34576 rm -f conftest.
$ac_objext conftest
$ac_exeext
34577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34578 (eval $ac_link) 2>conftest.er1
34580 grep -v '^ *+' conftest.er1
>conftest.err
34582 cat conftest.err
>&5
34583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34584 (exit $ac_status); } &&
34585 { ac_try
='test -z "$ac_cxx_werror_flag"
34586 || test ! -s conftest.err'
34587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34588 (eval $ac_try) 2>&5
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); }; } &&
34592 { ac_try
='test -s conftest$ac_exeext'
34593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34594 (eval $ac_try) 2>&5
34596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34597 (exit $ac_status); }; }; then
34598 wx_cv_func_cxa_demangle
=yes
34600 echo "$as_me: failed program was:" >&5
34601 sed 's/^/| /' conftest.
$ac_ext >&5
34603 wx_cv_func_cxa_demangle
=no
34606 rm -f conftest.err conftest.
$ac_objext \
34607 conftest
$ac_exeext conftest.
$ac_ext
34611 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34612 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34614 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34615 cat >>confdefs.h
<<\_ACEOF
34616 #define HAVE_CXA_DEMANGLE 1
34623 ac_cpp
='$CPP $CPPFLAGS'
34624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34630 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34631 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34632 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34633 wxUSE_STACKWALKER
=no
34639 for ac_func
in mkstemp mktemp
34641 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34642 echo "$as_me:$LINENO: checking for $ac_func" >&5
34643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34644 if eval "test \"\${$as_ac_var+set}\" = set"; then
34645 echo $ECHO_N "(cached) $ECHO_C" >&6
34647 cat >conftest.
$ac_ext <<_ACEOF
34650 cat confdefs.h
>>conftest.
$ac_ext
34651 cat >>conftest.
$ac_ext <<_ACEOF
34652 /* end confdefs.h. */
34653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34655 #define $ac_func innocuous_$ac_func
34657 /* System header to define __stub macros and hopefully few prototypes,
34658 which can conflict with char $ac_func (); below.
34659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34660 <limits.h> exists even on freestanding compilers. */
34663 # include <limits.h>
34665 # include <assert.h>
34670 /* Override any gcc2 internal prototype to avoid an error. */
34675 /* We use char because int might match the return type of a gcc2
34676 builtin and then its argument prototype would still apply. */
34678 /* The GNU C library defines this for functions which it implements
34679 to always fail with ENOSYS. Some functions are actually named
34680 something starting with __ and the normal name is an alias. */
34681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34684 char (*f) () = $ac_func;
34693 return f != $ac_func;
34698 rm -f conftest.
$ac_objext conftest
$ac_exeext
34699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34700 (eval $ac_link) 2>conftest.er1
34702 grep -v '^ *+' conftest.er1
>conftest.err
34704 cat conftest.err
>&5
34705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34706 (exit $ac_status); } &&
34707 { ac_try
='test -z "$ac_c_werror_flag"
34708 || test ! -s conftest.err'
34709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34710 (eval $ac_try) 2>&5
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; } &&
34714 { ac_try
='test -s conftest$ac_exeext'
34715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34716 (eval $ac_try) 2>&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); }; }; then
34720 eval "$as_ac_var=yes"
34722 echo "$as_me: failed program was:" >&5
34723 sed 's/^/| /' conftest.
$ac_ext >&5
34725 eval "$as_ac_var=no"
34727 rm -f conftest.err conftest.
$ac_objext \
34728 conftest
$ac_exeext conftest.
$ac_ext
34730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34732 if test `eval echo '${'$as_ac_var'}'` = yes; then
34733 cat >>confdefs.h
<<_ACEOF
34734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34741 echo "$as_me:$LINENO: checking for statfs" >&5
34742 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34743 if test "${wx_cv_func_statfs+set}" = set; then
34744 echo $ECHO_N "(cached) $ECHO_C" >&6
34746 cat >conftest.
$ac_ext <<_ACEOF
34749 cat confdefs.h
>>conftest.
$ac_ext
34750 cat >>conftest.
$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34753 #if defined(__BSD__)
34754 #include <sys/param.h>
34755 #include <sys/mount.h>
34757 #include <sys/vfs.h>
34775 rm -f conftest.
$ac_objext
34776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34777 (eval $ac_compile) 2>conftest.er1
34779 grep -v '^ *+' conftest.er1
>conftest.err
34781 cat conftest.err
>&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); } &&
34784 { ac_try
='test -z "$ac_c_werror_flag"
34785 || test ! -s conftest.err'
34786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34787 (eval $ac_try) 2>&5
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); }; } &&
34791 { ac_try
='test -s conftest.$ac_objext'
34792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34793 (eval $ac_try) 2>&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); }; }; then
34797 wx_cv_func_statfs
=yes
34799 echo "$as_me: failed program was:" >&5
34800 sed 's/^/| /' conftest.
$ac_ext >&5
34802 wx_cv_func_statfs
=no
34805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34808 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34809 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34811 if test "$wx_cv_func_statfs" = "yes"; then
34815 ac_cpp
='$CXXCPP $CPPFLAGS'
34816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34820 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34821 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34822 if test "${wx_cv_func_statfs_decl+set}" = set; then
34823 echo $ECHO_N "(cached) $ECHO_C" >&6
34825 cat >conftest.
$ac_ext <<_ACEOF
34828 cat confdefs.h
>>conftest.
$ac_ext
34829 cat >>conftest.
$ac_ext <<_ACEOF
34830 /* end confdefs.h. */
34832 #if defined(__BSD__)
34833 #include <sys/param.h>
34834 #include <sys/mount.h>
34836 #include <sys/vfs.h>
34850 rm -f conftest.
$ac_objext
34851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34852 (eval $ac_compile) 2>conftest.er1
34854 grep -v '^ *+' conftest.er1
>conftest.err
34856 cat conftest.err
>&5
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); } &&
34859 { ac_try
='test -z "$ac_cxx_werror_flag"
34860 || test ! -s conftest.err'
34861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34862 (eval $ac_try) 2>&5
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); }; } &&
34866 { ac_try
='test -s conftest.$ac_objext'
34867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34868 (eval $ac_try) 2>&5
34870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34871 (exit $ac_status); }; }; then
34872 wx_cv_func_statfs_decl
=yes
34874 echo "$as_me: failed program was:" >&5
34875 sed 's/^/| /' conftest.
$ac_ext >&5
34877 wx_cv_func_statfs_decl
=no
34880 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34883 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34884 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34886 ac_cpp
='$CPP $CPPFLAGS'
34887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34892 if test "$wx_cv_func_statfs_decl" = "yes"; then
34893 cat >>confdefs.h
<<\_ACEOF
34894 #define HAVE_STATFS_DECL 1
34899 wx_cv_type_statvfs_t
="struct statfs"
34900 cat >>confdefs.h
<<\_ACEOF
34901 #define HAVE_STATFS 1
34905 echo "$as_me:$LINENO: checking for statvfs" >&5
34906 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34907 if test "${wx_cv_func_statvfs+set}" = set; then
34908 echo $ECHO_N "(cached) $ECHO_C" >&6
34910 cat >conftest.
$ac_ext <<_ACEOF
34913 cat confdefs.h
>>conftest.
$ac_ext
34914 cat >>conftest.
$ac_ext <<_ACEOF
34915 /* end confdefs.h. */
34917 #include <stddef.h>
34918 #include <sys/statvfs.h>
34924 statvfs("/", NULL);
34930 rm -f conftest.
$ac_objext
34931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34932 (eval $ac_compile) 2>conftest.er1
34934 grep -v '^ *+' conftest.er1
>conftest.err
34936 cat conftest.err
>&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } &&
34939 { ac_try
='test -z "$ac_c_werror_flag"
34940 || test ! -s conftest.err'
34941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34942 (eval $ac_try) 2>&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); }; } &&
34946 { ac_try
='test -s conftest.$ac_objext'
34947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34948 (eval $ac_try) 2>&5
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); }; }; then
34952 wx_cv_func_statvfs
=yes
34954 echo "$as_me: failed program was:" >&5
34955 sed 's/^/| /' conftest.
$ac_ext >&5
34957 wx_cv_func_statvfs
=no
34960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34963 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34964 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34966 if test "$wx_cv_func_statvfs" = "yes"; then
34970 ac_cpp
='$CXXCPP $CPPFLAGS'
34971 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34972 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34973 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34976 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34977 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34978 if test "${wx_cv_type_statvfs_t+set}" = set; then
34979 echo $ECHO_N "(cached) $ECHO_C" >&6
34981 cat >conftest.
$ac_ext <<_ACEOF
34984 cat confdefs.h
>>conftest.
$ac_ext
34985 cat >>conftest.
$ac_ext <<_ACEOF
34986 /* end confdefs.h. */
34988 #include <sys/statvfs.h>
35005 rm -f conftest.
$ac_objext
35006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35007 (eval $ac_compile) 2>conftest.er1
35009 grep -v '^ *+' conftest.er1
>conftest.err
35011 cat conftest.err
>&5
35012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013 (exit $ac_status); } &&
35014 { ac_try
='test -z "$ac_cxx_werror_flag"
35015 || test ! -s conftest.err'
35016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35017 (eval $ac_try) 2>&5
35019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35020 (exit $ac_status); }; } &&
35021 { ac_try
='test -s conftest.$ac_objext'
35022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35023 (eval $ac_try) 2>&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); }; }; then
35027 wx_cv_type_statvfs_t
=statvfs_t
35029 echo "$as_me: failed program was:" >&5
35030 sed 's/^/| /' conftest.
$ac_ext >&5
35033 cat >conftest.
$ac_ext <<_ACEOF
35036 cat confdefs.h
>>conftest.
$ac_ext
35037 cat >>conftest.
$ac_ext <<_ACEOF
35038 /* end confdefs.h. */
35040 #include <sys/statvfs.h>
35057 rm -f conftest.
$ac_objext
35058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35059 (eval $ac_compile) 2>conftest.er1
35061 grep -v '^ *+' conftest.er1
>conftest.err
35063 cat conftest.err
>&5
35064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35065 (exit $ac_status); } &&
35066 { ac_try
='test -z "$ac_cxx_werror_flag"
35067 || test ! -s conftest.err'
35068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35069 (eval $ac_try) 2>&5
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); }; } &&
35073 { ac_try
='test -s conftest.$ac_objext'
35074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35075 (eval $ac_try) 2>&5
35077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078 (exit $ac_status); }; }; then
35079 wx_cv_type_statvfs_t
="struct statvfs"
35081 echo "$as_me: failed program was:" >&5
35082 sed 's/^/| /' conftest.
$ac_ext >&5
35084 wx_cv_type_statvfs_t
="unknown"
35087 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35094 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35095 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35098 ac_cpp
='$CPP $CPPFLAGS'
35099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35104 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35105 cat >>confdefs.h
<<\_ACEOF
35106 #define HAVE_STATVFS 1
35111 wx_cv_type_statvfs_t
="unknown"
35115 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35116 cat >>confdefs.h
<<_ACEOF
35117 #define WX_STATFS_T $wx_cv_type_statvfs_t
35121 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35122 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35125 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35128 for ac_func
in fcntl flock
35130 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35131 echo "$as_me:$LINENO: checking for $ac_func" >&5
35132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35133 if eval "test \"\${$as_ac_var+set}\" = set"; then
35134 echo $ECHO_N "(cached) $ECHO_C" >&6
35136 cat >conftest.
$ac_ext <<_ACEOF
35139 cat confdefs.h
>>conftest.
$ac_ext
35140 cat >>conftest.
$ac_ext <<_ACEOF
35141 /* end confdefs.h. */
35142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35144 #define $ac_func innocuous_$ac_func
35146 /* System header to define __stub macros and hopefully few prototypes,
35147 which can conflict with char $ac_func (); below.
35148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35149 <limits.h> exists even on freestanding compilers. */
35152 # include <limits.h>
35154 # include <assert.h>
35159 /* Override any gcc2 internal prototype to avoid an error. */
35164 /* We use char because int might match the return type of a gcc2
35165 builtin and then its argument prototype would still apply. */
35167 /* The GNU C library defines this for functions which it implements
35168 to always fail with ENOSYS. Some functions are actually named
35169 something starting with __ and the normal name is an alias. */
35170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35173 char (*f) () = $ac_func;
35182 return f != $ac_func;
35187 rm -f conftest.
$ac_objext conftest
$ac_exeext
35188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35189 (eval $ac_link) 2>conftest.er1
35191 grep -v '^ *+' conftest.er1
>conftest.err
35193 cat conftest.err
>&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); } &&
35196 { ac_try
='test -z "$ac_c_werror_flag"
35197 || test ! -s conftest.err'
35198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35199 (eval $ac_try) 2>&5
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); }; } &&
35203 { ac_try
='test -s conftest$ac_exeext'
35204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35205 (eval $ac_try) 2>&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); }; }; then
35209 eval "$as_ac_var=yes"
35211 echo "$as_me: failed program was:" >&5
35212 sed 's/^/| /' conftest.
$ac_ext >&5
35214 eval "$as_ac_var=no"
35216 rm -f conftest.err conftest.
$ac_objext \
35217 conftest
$ac_exeext conftest.
$ac_ext
35219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35221 if test `eval echo '${'$as_ac_var'}'` = yes; then
35222 cat >>confdefs.h
<<_ACEOF
35223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35230 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35231 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35232 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35233 wxUSE_SNGLINST_CHECKER
=no
35238 for ac_func
in timegm
35240 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35241 echo "$as_me:$LINENO: checking for $ac_func" >&5
35242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35243 if eval "test \"\${$as_ac_var+set}\" = set"; then
35244 echo $ECHO_N "(cached) $ECHO_C" >&6
35246 cat >conftest.
$ac_ext <<_ACEOF
35249 cat confdefs.h
>>conftest.
$ac_ext
35250 cat >>conftest.
$ac_ext <<_ACEOF
35251 /* end confdefs.h. */
35252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35254 #define $ac_func innocuous_$ac_func
35256 /* System header to define __stub macros and hopefully few prototypes,
35257 which can conflict with char $ac_func (); below.
35258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35259 <limits.h> exists even on freestanding compilers. */
35262 # include <limits.h>
35264 # include <assert.h>
35269 /* Override any gcc2 internal prototype to avoid an error. */
35274 /* We use char because int might match the return type of a gcc2
35275 builtin and then its argument prototype would still apply. */
35277 /* The GNU C library defines this for functions which it implements
35278 to always fail with ENOSYS. Some functions are actually named
35279 something starting with __ and the normal name is an alias. */
35280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35283 char (*f) () = $ac_func;
35292 return f != $ac_func;
35297 rm -f conftest.
$ac_objext conftest
$ac_exeext
35298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35299 (eval $ac_link) 2>conftest.er1
35301 grep -v '^ *+' conftest.er1
>conftest.err
35303 cat conftest.err
>&5
35304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35305 (exit $ac_status); } &&
35306 { ac_try
='test -z "$ac_c_werror_flag"
35307 || test ! -s conftest.err'
35308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35309 (eval $ac_try) 2>&5
35311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35312 (exit $ac_status); }; } &&
35313 { ac_try
='test -s conftest$ac_exeext'
35314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35315 (eval $ac_try) 2>&5
35317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35318 (exit $ac_status); }; }; then
35319 eval "$as_ac_var=yes"
35321 echo "$as_me: failed program was:" >&5
35322 sed 's/^/| /' conftest.
$ac_ext >&5
35324 eval "$as_ac_var=no"
35326 rm -f conftest.err conftest.
$ac_objext \
35327 conftest
$ac_exeext conftest.
$ac_ext
35329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35331 if test `eval echo '${'$as_ac_var'}'` = yes; then
35332 cat >>confdefs.h
<<_ACEOF
35333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35342 for ac_func
in putenv setenv
35344 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35345 echo "$as_me:$LINENO: checking for $ac_func" >&5
35346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35347 if eval "test \"\${$as_ac_var+set}\" = set"; then
35348 echo $ECHO_N "(cached) $ECHO_C" >&6
35350 cat >conftest.
$ac_ext <<_ACEOF
35353 cat confdefs.h
>>conftest.
$ac_ext
35354 cat >>conftest.
$ac_ext <<_ACEOF
35355 /* end confdefs.h. */
35356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35358 #define $ac_func innocuous_$ac_func
35360 /* System header to define __stub macros and hopefully few prototypes,
35361 which can conflict with char $ac_func (); below.
35362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35363 <limits.h> exists even on freestanding compilers. */
35366 # include <limits.h>
35368 # include <assert.h>
35373 /* Override any gcc2 internal prototype to avoid an error. */
35378 /* We use char because int might match the return type of a gcc2
35379 builtin and then its argument prototype would still apply. */
35381 /* The GNU C library defines this for functions which it implements
35382 to always fail with ENOSYS. Some functions are actually named
35383 something starting with __ and the normal name is an alias. */
35384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35387 char (*f) () = $ac_func;
35396 return f != $ac_func;
35401 rm -f conftest.
$ac_objext conftest
$ac_exeext
35402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35403 (eval $ac_link) 2>conftest.er1
35405 grep -v '^ *+' conftest.er1
>conftest.err
35407 cat conftest.err
>&5
35408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35409 (exit $ac_status); } &&
35410 { ac_try
='test -z "$ac_c_werror_flag"
35411 || test ! -s conftest.err'
35412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35413 (eval $ac_try) 2>&5
35415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35416 (exit $ac_status); }; } &&
35417 { ac_try
='test -s conftest$ac_exeext'
35418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35419 (eval $ac_try) 2>&5
35421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35422 (exit $ac_status); }; }; then
35423 eval "$as_ac_var=yes"
35425 echo "$as_me: failed program was:" >&5
35426 sed 's/^/| /' conftest.
$ac_ext >&5
35428 eval "$as_ac_var=no"
35430 rm -f conftest.err conftest.
$ac_objext \
35431 conftest
$ac_exeext conftest.
$ac_ext
35433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35435 if test `eval echo '${'$as_ac_var'}'` = yes; then
35436 cat >>confdefs.h
<<_ACEOF
35437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35444 HAVE_SOME_SLEEP_FUNC
=0
35445 if test "$USE_BEOS" = 1; then
35446 cat >>confdefs.h
<<\_ACEOF
35447 #define HAVE_SLEEP 1
35450 HAVE_SOME_SLEEP_FUNC
=1
35453 if test "$USE_DARWIN" = 1; then
35454 cat >>confdefs.h
<<\_ACEOF
35455 #define HAVE_USLEEP 1
35458 HAVE_SOME_SLEEP_FUNC
=1
35461 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35464 for ac_func
in nanosleep
35466 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35467 echo "$as_me:$LINENO: checking for $ac_func" >&5
35468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35469 if eval "test \"\${$as_ac_var+set}\" = set"; then
35470 echo $ECHO_N "(cached) $ECHO_C" >&6
35472 cat >conftest.
$ac_ext <<_ACEOF
35475 cat confdefs.h
>>conftest.
$ac_ext
35476 cat >>conftest.
$ac_ext <<_ACEOF
35477 /* end confdefs.h. */
35478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35480 #define $ac_func innocuous_$ac_func
35482 /* System header to define __stub macros and hopefully few prototypes,
35483 which can conflict with char $ac_func (); below.
35484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35485 <limits.h> exists even on freestanding compilers. */
35488 # include <limits.h>
35490 # include <assert.h>
35495 /* Override any gcc2 internal prototype to avoid an error. */
35500 /* We use char because int might match the return type of a gcc2
35501 builtin and then its argument prototype would still apply. */
35503 /* The GNU C library defines this for functions which it implements
35504 to always fail with ENOSYS. Some functions are actually named
35505 something starting with __ and the normal name is an alias. */
35506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35509 char (*f) () = $ac_func;
35518 return f != $ac_func;
35523 rm -f conftest.
$ac_objext conftest
$ac_exeext
35524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35525 (eval $ac_link) 2>conftest.er1
35527 grep -v '^ *+' conftest.er1
>conftest.err
35529 cat conftest.err
>&5
35530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35531 (exit $ac_status); } &&
35532 { ac_try
='test -z "$ac_c_werror_flag"
35533 || test ! -s conftest.err'
35534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35535 (eval $ac_try) 2>&5
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); }; } &&
35539 { ac_try
='test -s conftest$ac_exeext'
35540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35541 (eval $ac_try) 2>&5
35543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35544 (exit $ac_status); }; }; then
35545 eval "$as_ac_var=yes"
35547 echo "$as_me: failed program was:" >&5
35548 sed 's/^/| /' conftest.
$ac_ext >&5
35550 eval "$as_ac_var=no"
35552 rm -f conftest.err conftest.
$ac_objext \
35553 conftest
$ac_exeext conftest.
$ac_ext
35555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35557 if test `eval echo '${'$as_ac_var'}'` = yes; then
35558 cat >>confdefs.h
<<_ACEOF
35559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35561 cat >>confdefs.h
<<\_ACEOF
35562 #define HAVE_NANOSLEEP 1
35567 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35568 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35569 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35570 echo $ECHO_N "(cached) $ECHO_C" >&6
35572 ac_check_lib_save_LIBS
=$LIBS
35573 LIBS
="-lposix4 $LIBS"
35574 cat >conftest.
$ac_ext <<_ACEOF
35577 cat confdefs.h
>>conftest.
$ac_ext
35578 cat >>conftest.
$ac_ext <<_ACEOF
35579 /* end confdefs.h. */
35581 /* Override any gcc2 internal prototype to avoid an error. */
35585 /* We use char because int might match the return type of a gcc2
35586 builtin and then its argument prototype would still apply. */
35596 rm -f conftest.
$ac_objext conftest
$ac_exeext
35597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35598 (eval $ac_link) 2>conftest.er1
35600 grep -v '^ *+' conftest.er1
>conftest.err
35602 cat conftest.err
>&5
35603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35604 (exit $ac_status); } &&
35605 { ac_try
='test -z "$ac_c_werror_flag"
35606 || test ! -s conftest.err'
35607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35608 (eval $ac_try) 2>&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); }; } &&
35612 { ac_try
='test -s conftest$ac_exeext'
35613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35614 (eval $ac_try) 2>&5
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); }; }; then
35618 ac_cv_lib_posix4_nanosleep
=yes
35620 echo "$as_me: failed program was:" >&5
35621 sed 's/^/| /' conftest.
$ac_ext >&5
35623 ac_cv_lib_posix4_nanosleep
=no
35625 rm -f conftest.err conftest.
$ac_objext \
35626 conftest
$ac_exeext conftest.
$ac_ext
35627 LIBS
=$ac_check_lib_save_LIBS
35629 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35630 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35631 if test $ac_cv_lib_posix4_nanosleep = yes; then
35633 cat >>confdefs.h
<<\_ACEOF
35634 #define HAVE_NANOSLEEP 1
35637 POSIX4_LINK
=" -lposix4"
35642 for ac_func
in usleep
35644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35645 echo "$as_me:$LINENO: checking for $ac_func" >&5
35646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35647 if eval "test \"\${$as_ac_var+set}\" = set"; then
35648 echo $ECHO_N "(cached) $ECHO_C" >&6
35650 cat >conftest.
$ac_ext <<_ACEOF
35653 cat confdefs.h
>>conftest.
$ac_ext
35654 cat >>conftest.
$ac_ext <<_ACEOF
35655 /* end confdefs.h. */
35656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35658 #define $ac_func innocuous_$ac_func
35660 /* System header to define __stub macros and hopefully few prototypes,
35661 which can conflict with char $ac_func (); below.
35662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35663 <limits.h> exists even on freestanding compilers. */
35666 # include <limits.h>
35668 # include <assert.h>
35673 /* Override any gcc2 internal prototype to avoid an error. */
35678 /* We use char because int might match the return type of a gcc2
35679 builtin and then its argument prototype would still apply. */
35681 /* The GNU C library defines this for functions which it implements
35682 to always fail with ENOSYS. Some functions are actually named
35683 something starting with __ and the normal name is an alias. */
35684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35687 char (*f) () = $ac_func;
35696 return f != $ac_func;
35701 rm -f conftest.
$ac_objext conftest
$ac_exeext
35702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35703 (eval $ac_link) 2>conftest.er1
35705 grep -v '^ *+' conftest.er1
>conftest.err
35707 cat conftest.err
>&5
35708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35709 (exit $ac_status); } &&
35710 { ac_try
='test -z "$ac_c_werror_flag"
35711 || test ! -s conftest.err'
35712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35713 (eval $ac_try) 2>&5
35715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35716 (exit $ac_status); }; } &&
35717 { ac_try
='test -s conftest$ac_exeext'
35718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35719 (eval $ac_try) 2>&5
35721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35722 (exit $ac_status); }; }; then
35723 eval "$as_ac_var=yes"
35725 echo "$as_me: failed program was:" >&5
35726 sed 's/^/| /' conftest.
$ac_ext >&5
35728 eval "$as_ac_var=no"
35730 rm -f conftest.err conftest.
$ac_objext \
35731 conftest
$ac_exeext conftest.
$ac_ext
35733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35735 if test `eval echo '${'$as_ac_var'}'` = yes; then
35736 cat >>confdefs.h
<<_ACEOF
35737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35739 cat >>confdefs.h
<<\_ACEOF
35740 #define HAVE_USLEEP 1
35744 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35745 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35763 for ac_func
in uname gethostname
35765 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35766 echo "$as_me:$LINENO: checking for $ac_func" >&5
35767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35768 if eval "test \"\${$as_ac_var+set}\" = set"; then
35769 echo $ECHO_N "(cached) $ECHO_C" >&6
35771 cat >conftest.
$ac_ext <<_ACEOF
35774 cat confdefs.h
>>conftest.
$ac_ext
35775 cat >>conftest.
$ac_ext <<_ACEOF
35776 /* end confdefs.h. */
35777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35779 #define $ac_func innocuous_$ac_func
35781 /* System header to define __stub macros and hopefully few prototypes,
35782 which can conflict with char $ac_func (); below.
35783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35784 <limits.h> exists even on freestanding compilers. */
35787 # include <limits.h>
35789 # include <assert.h>
35794 /* Override any gcc2 internal prototype to avoid an error. */
35799 /* We use char because int might match the return type of a gcc2
35800 builtin and then its argument prototype would still apply. */
35802 /* The GNU C library defines this for functions which it implements
35803 to always fail with ENOSYS. Some functions are actually named
35804 something starting with __ and the normal name is an alias. */
35805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35808 char (*f) () = $ac_func;
35817 return f != $ac_func;
35822 rm -f conftest.
$ac_objext conftest
$ac_exeext
35823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35824 (eval $ac_link) 2>conftest.er1
35826 grep -v '^ *+' conftest.er1
>conftest.err
35828 cat conftest.err
>&5
35829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35830 (exit $ac_status); } &&
35831 { ac_try
='test -z "$ac_c_werror_flag"
35832 || test ! -s conftest.err'
35833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35834 (eval $ac_try) 2>&5
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); }; } &&
35838 { ac_try
='test -s conftest$ac_exeext'
35839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840 (eval $ac_try) 2>&5
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); }; }; then
35844 eval "$as_ac_var=yes"
35846 echo "$as_me: failed program was:" >&5
35847 sed 's/^/| /' conftest.
$ac_ext >&5
35849 eval "$as_ac_var=no"
35851 rm -f conftest.err conftest.
$ac_objext \
35852 conftest
$ac_exeext conftest.
$ac_ext
35854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35856 if test `eval echo '${'$as_ac_var'}'` = yes; then
35857 cat >>confdefs.h
<<_ACEOF
35858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35868 ac_cpp
='$CXXCPP $CPPFLAGS'
35869 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35870 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35871 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35875 for ac_func
in strtok_r
35877 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35878 echo "$as_me:$LINENO: checking for $ac_func" >&5
35879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35880 if eval "test \"\${$as_ac_var+set}\" = set"; then
35881 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 cat >conftest.
$ac_ext <<_ACEOF
35886 cat confdefs.h
>>conftest.
$ac_ext
35887 cat >>conftest.
$ac_ext <<_ACEOF
35888 /* end confdefs.h. */
35889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35891 #define $ac_func innocuous_$ac_func
35893 /* System header to define __stub macros and hopefully few prototypes,
35894 which can conflict with char $ac_func (); below.
35895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35896 <limits.h> exists even on freestanding compilers. */
35899 # include <limits.h>
35901 # include <assert.h>
35906 /* Override any gcc2 internal prototype to avoid an error. */
35911 /* We use char because int might match the return type of a gcc2
35912 builtin and then its argument prototype would still apply. */
35914 /* The GNU C library defines this for functions which it implements
35915 to always fail with ENOSYS. Some functions are actually named
35916 something starting with __ and the normal name is an alias. */
35917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35920 char (*f) () = $ac_func;
35929 return f != $ac_func;
35934 rm -f conftest.
$ac_objext conftest
$ac_exeext
35935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35936 (eval $ac_link) 2>conftest.er1
35938 grep -v '^ *+' conftest.er1
>conftest.err
35940 cat conftest.err
>&5
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); } &&
35943 { ac_try
='test -z "$ac_cxx_werror_flag"
35944 || test ! -s conftest.err'
35945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35946 (eval $ac_try) 2>&5
35948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35949 (exit $ac_status); }; } &&
35950 { ac_try
='test -s conftest$ac_exeext'
35951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35952 (eval $ac_try) 2>&5
35954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35955 (exit $ac_status); }; }; then
35956 eval "$as_ac_var=yes"
35958 echo "$as_me: failed program was:" >&5
35959 sed 's/^/| /' conftest.
$ac_ext >&5
35961 eval "$as_ac_var=no"
35963 rm -f conftest.err conftest.
$ac_objext \
35964 conftest
$ac_exeext conftest.
$ac_ext
35966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35968 if test `eval echo '${'$as_ac_var'}'` = yes; then
35969 cat >>confdefs.h
<<_ACEOF
35970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35978 ac_cpp
='$CPP $CPPFLAGS'
35979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35986 for ac_func
in inet_addr
35988 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35989 echo "$as_me:$LINENO: checking for $ac_func" >&5
35990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35991 if eval "test \"\${$as_ac_var+set}\" = set"; then
35992 echo $ECHO_N "(cached) $ECHO_C" >&6
35994 cat >conftest.
$ac_ext <<_ACEOF
35997 cat confdefs.h
>>conftest.
$ac_ext
35998 cat >>conftest.
$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36002 #define $ac_func innocuous_$ac_func
36004 /* System header to define __stub macros and hopefully few prototypes,
36005 which can conflict with char $ac_func (); below.
36006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36007 <limits.h> exists even on freestanding compilers. */
36010 # include <limits.h>
36012 # include <assert.h>
36017 /* Override any gcc2 internal prototype to avoid an error. */
36022 /* We use char because int might match the return type of a gcc2
36023 builtin and then its argument prototype would still apply. */
36025 /* The GNU C library defines this for functions which it implements
36026 to always fail with ENOSYS. Some functions are actually named
36027 something starting with __ and the normal name is an alias. */
36028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36031 char (*f) () = $ac_func;
36040 return f != $ac_func;
36045 rm -f conftest.
$ac_objext conftest
$ac_exeext
36046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36047 (eval $ac_link) 2>conftest.er1
36049 grep -v '^ *+' conftest.er1
>conftest.err
36051 cat conftest.err
>&5
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); } &&
36054 { ac_try
='test -z "$ac_c_werror_flag"
36055 || test ! -s conftest.err'
36056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36057 (eval $ac_try) 2>&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); }; } &&
36061 { ac_try
='test -s conftest$ac_exeext'
36062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36063 (eval $ac_try) 2>&5
36065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36066 (exit $ac_status); }; }; then
36067 eval "$as_ac_var=yes"
36069 echo "$as_me: failed program was:" >&5
36070 sed 's/^/| /' conftest.
$ac_ext >&5
36072 eval "$as_ac_var=no"
36074 rm -f conftest.err conftest.
$ac_objext \
36075 conftest
$ac_exeext conftest.
$ac_ext
36077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36079 if test `eval echo '${'$as_ac_var'}'` = yes; then
36080 cat >>confdefs.h
<<_ACEOF
36081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36083 cat >>confdefs.h
<<\_ACEOF
36084 #define HAVE_INET_ADDR 1
36089 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36090 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36091 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36092 echo $ECHO_N "(cached) $ECHO_C" >&6
36094 ac_check_lib_save_LIBS
=$LIBS
36096 cat >conftest.
$ac_ext <<_ACEOF
36099 cat confdefs.h
>>conftest.
$ac_ext
36100 cat >>conftest.
$ac_ext <<_ACEOF
36101 /* end confdefs.h. */
36103 /* Override any gcc2 internal prototype to avoid an error. */
36107 /* We use char because int might match the return type of a gcc2
36108 builtin and then its argument prototype would still apply. */
36118 rm -f conftest.
$ac_objext conftest
$ac_exeext
36119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36120 (eval $ac_link) 2>conftest.er1
36122 grep -v '^ *+' conftest.er1
>conftest.err
36124 cat conftest.err
>&5
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); } &&
36127 { ac_try
='test -z "$ac_c_werror_flag"
36128 || test ! -s conftest.err'
36129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36130 (eval $ac_try) 2>&5
36132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36133 (exit $ac_status); }; } &&
36134 { ac_try
='test -s conftest$ac_exeext'
36135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36136 (eval $ac_try) 2>&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); }; }; then
36140 ac_cv_lib_nsl_inet_addr
=yes
36142 echo "$as_me: failed program was:" >&5
36143 sed 's/^/| /' conftest.
$ac_ext >&5
36145 ac_cv_lib_nsl_inet_addr
=no
36147 rm -f conftest.err conftest.
$ac_objext \
36148 conftest
$ac_exeext conftest.
$ac_ext
36149 LIBS
=$ac_check_lib_save_LIBS
36151 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36152 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36153 if test $ac_cv_lib_nsl_inet_addr = yes; then
36157 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36158 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36159 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36160 echo $ECHO_N "(cached) $ECHO_C" >&6
36162 ac_check_lib_save_LIBS
=$LIBS
36163 LIBS
="-lresolv $LIBS"
36164 cat >conftest.
$ac_ext <<_ACEOF
36167 cat confdefs.h
>>conftest.
$ac_ext
36168 cat >>conftest.
$ac_ext <<_ACEOF
36169 /* end confdefs.h. */
36171 /* Override any gcc2 internal prototype to avoid an error. */
36175 /* We use char because int might match the return type of a gcc2
36176 builtin and then its argument prototype would still apply. */
36186 rm -f conftest.
$ac_objext conftest
$ac_exeext
36187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36188 (eval $ac_link) 2>conftest.er1
36190 grep -v '^ *+' conftest.er1
>conftest.err
36192 cat conftest.err
>&5
36193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194 (exit $ac_status); } &&
36195 { ac_try
='test -z "$ac_c_werror_flag"
36196 || test ! -s conftest.err'
36197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36198 (eval $ac_try) 2>&5
36200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201 (exit $ac_status); }; } &&
36202 { ac_try
='test -s conftest$ac_exeext'
36203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36204 (eval $ac_try) 2>&5
36206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36207 (exit $ac_status); }; }; then
36208 ac_cv_lib_resolv_inet_addr
=yes
36210 echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.
$ac_ext >&5
36213 ac_cv_lib_resolv_inet_addr
=no
36215 rm -f conftest.err conftest.
$ac_objext \
36216 conftest
$ac_exeext conftest.
$ac_ext
36217 LIBS
=$ac_check_lib_save_LIBS
36219 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36220 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36221 if test $ac_cv_lib_resolv_inet_addr = yes; then
36225 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36226 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36227 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36228 echo $ECHO_N "(cached) $ECHO_C" >&6
36230 ac_check_lib_save_LIBS
=$LIBS
36231 LIBS
="-lsocket $LIBS"
36232 cat >conftest.
$ac_ext <<_ACEOF
36235 cat confdefs.h
>>conftest.
$ac_ext
36236 cat >>conftest.
$ac_ext <<_ACEOF
36237 /* end confdefs.h. */
36239 /* Override any gcc2 internal prototype to avoid an error. */
36243 /* We use char because int might match the return type of a gcc2
36244 builtin and then its argument prototype would still apply. */
36254 rm -f conftest.
$ac_objext conftest
$ac_exeext
36255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36256 (eval $ac_link) 2>conftest.er1
36258 grep -v '^ *+' conftest.er1
>conftest.err
36260 cat conftest.err
>&5
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); } &&
36263 { ac_try
='test -z "$ac_c_werror_flag"
36264 || test ! -s conftest.err'
36265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36266 (eval $ac_try) 2>&5
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); }; } &&
36270 { ac_try
='test -s conftest$ac_exeext'
36271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36272 (eval $ac_try) 2>&5
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); }; }; then
36276 ac_cv_lib_socket_inet_addr
=yes
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.
$ac_ext >&5
36281 ac_cv_lib_socket_inet_addr
=no
36283 rm -f conftest.err conftest.
$ac_objext \
36284 conftest
$ac_exeext conftest.
$ac_ext
36285 LIBS
=$ac_check_lib_save_LIBS
36287 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36288 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36289 if test $ac_cv_lib_socket_inet_addr = yes; then
36309 for ac_func
in inet_aton
36311 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36312 echo "$as_me:$LINENO: checking for $ac_func" >&5
36313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36314 if eval "test \"\${$as_ac_var+set}\" = set"; then
36315 echo $ECHO_N "(cached) $ECHO_C" >&6
36317 cat >conftest.
$ac_ext <<_ACEOF
36320 cat confdefs.h
>>conftest.
$ac_ext
36321 cat >>conftest.
$ac_ext <<_ACEOF
36322 /* end confdefs.h. */
36323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36325 #define $ac_func innocuous_$ac_func
36327 /* System header to define __stub macros and hopefully few prototypes,
36328 which can conflict with char $ac_func (); below.
36329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36330 <limits.h> exists even on freestanding compilers. */
36333 # include <limits.h>
36335 # include <assert.h>
36340 /* Override any gcc2 internal prototype to avoid an error. */
36345 /* We use char because int might match the return type of a gcc2
36346 builtin and then its argument prototype would still apply. */
36348 /* The GNU C library defines this for functions which it implements
36349 to always fail with ENOSYS. Some functions are actually named
36350 something starting with __ and the normal name is an alias. */
36351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36354 char (*f) () = $ac_func;
36363 return f != $ac_func;
36368 rm -f conftest.
$ac_objext conftest
$ac_exeext
36369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36370 (eval $ac_link) 2>conftest.er1
36372 grep -v '^ *+' conftest.er1
>conftest.err
36374 cat conftest.err
>&5
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); } &&
36377 { ac_try
='test -z "$ac_c_werror_flag"
36378 || test ! -s conftest.err'
36379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36380 (eval $ac_try) 2>&5
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); }; } &&
36384 { ac_try
='test -s conftest$ac_exeext'
36385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36386 (eval $ac_try) 2>&5
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); }; }; then
36390 eval "$as_ac_var=yes"
36392 echo "$as_me: failed program was:" >&5
36393 sed 's/^/| /' conftest.
$ac_ext >&5
36395 eval "$as_ac_var=no"
36397 rm -f conftest.err conftest.
$ac_objext \
36398 conftest
$ac_exeext conftest.
$ac_ext
36400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36402 if test `eval echo '${'$as_ac_var'}'` = yes; then
36403 cat >>confdefs.h
<<_ACEOF
36404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36406 cat >>confdefs.h
<<\_ACEOF
36407 #define HAVE_INET_ATON 1
36412 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36413 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36414 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36415 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36416 echo $ECHO_N "(cached) $ECHO_C" >&6
36418 ac_check_lib_save_LIBS
=$LIBS
36419 LIBS
="-l$INET_LINK $LIBS"
36420 cat >conftest.
$ac_ext <<_ACEOF
36423 cat confdefs.h
>>conftest.
$ac_ext
36424 cat >>conftest.
$ac_ext <<_ACEOF
36425 /* end confdefs.h. */
36427 /* Override any gcc2 internal prototype to avoid an error. */
36431 /* We use char because int might match the return type of a gcc2
36432 builtin and then its argument prototype would still apply. */
36442 rm -f conftest.
$ac_objext conftest
$ac_exeext
36443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36444 (eval $ac_link) 2>conftest.er1
36446 grep -v '^ *+' conftest.er1
>conftest.err
36448 cat conftest.err
>&5
36449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36450 (exit $ac_status); } &&
36451 { ac_try
='test -z "$ac_c_werror_flag"
36452 || test ! -s conftest.err'
36453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36454 (eval $ac_try) 2>&5
36456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36457 (exit $ac_status); }; } &&
36458 { ac_try
='test -s conftest$ac_exeext'
36459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36460 (eval $ac_try) 2>&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); }; }; then
36464 eval "$as_ac_Lib=yes"
36466 echo "$as_me: failed program was:" >&5
36467 sed 's/^/| /' conftest.
$ac_ext >&5
36469 eval "$as_ac_Lib=no"
36471 rm -f conftest.err conftest.
$ac_objext \
36472 conftest
$ac_exeext conftest.
$ac_ext
36473 LIBS
=$ac_check_lib_save_LIBS
36475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36476 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36477 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36478 cat >>confdefs.h
<<\_ACEOF
36479 #define HAVE_INET_ATON 1
36489 if test "x$INET_LINK" != "x"; then
36490 cat >>confdefs.h
<<\_ACEOF
36491 #define HAVE_INET_ADDR 1
36494 INET_LINK
=" -l$INET_LINK"
36502 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36503 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36504 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36505 echo $ECHO_N "(cached) $ECHO_C" >&6
36507 ac_check_lib_save_LIBS
=$LIBS
36509 cat >conftest.
$ac_ext <<_ACEOF
36512 cat confdefs.h
>>conftest.
$ac_ext
36513 cat >>conftest.
$ac_ext <<_ACEOF
36514 /* end confdefs.h. */
36516 /* Override any gcc2 internal prototype to avoid an error. */
36520 /* We use char because int might match the return type of a gcc2
36521 builtin and then its argument prototype would still apply. */
36531 rm -f conftest.
$ac_objext conftest
$ac_exeext
36532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36533 (eval $ac_link) 2>conftest.er1
36535 grep -v '^ *+' conftest.er1
>conftest.err
36537 cat conftest.err
>&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } &&
36540 { ac_try
='test -z "$ac_c_werror_flag"
36541 || test ! -s conftest.err'
36542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36543 (eval $ac_try) 2>&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); }; } &&
36547 { ac_try
='test -s conftest$ac_exeext'
36548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36549 (eval $ac_try) 2>&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); }; }; then
36553 ac_cv_lib_esd_esd_close
=yes
36555 echo "$as_me: failed program was:" >&5
36556 sed 's/^/| /' conftest.
$ac_ext >&5
36558 ac_cv_lib_esd_esd_close
=no
36560 rm -f conftest.err conftest.
$ac_objext \
36561 conftest
$ac_exeext conftest.
$ac_ext
36562 LIBS
=$ac_check_lib_save_LIBS
36564 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36565 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36566 if test $ac_cv_lib_esd_esd_close = yes; then
36569 for ac_header
in esd.h
36571 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36573 echo "$as_me:$LINENO: checking for $ac_header" >&5
36574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36576 echo $ECHO_N "(cached) $ECHO_C" >&6
36578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36581 # Is the header compilable?
36582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36584 cat >conftest.
$ac_ext <<_ACEOF
36587 cat confdefs.h
>>conftest.
$ac_ext
36588 cat >>conftest.
$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36590 $ac_includes_default
36591 #include <$ac_header>
36593 rm -f conftest.
$ac_objext
36594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36595 (eval $ac_compile) 2>conftest.er1
36597 grep -v '^ *+' conftest.er1
>conftest.err
36599 cat conftest.err
>&5
36600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36601 (exit $ac_status); } &&
36602 { ac_try
='test -z "$ac_c_werror_flag"
36603 || test ! -s conftest.err'
36604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36605 (eval $ac_try) 2>&5
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); }; } &&
36609 { ac_try
='test -s conftest.$ac_objext'
36610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36611 (eval $ac_try) 2>&5
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); }; }; then
36615 ac_header_compiler
=yes
36617 echo "$as_me: failed program was:" >&5
36618 sed 's/^/| /' conftest.
$ac_ext >&5
36620 ac_header_compiler
=no
36622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36624 echo "${ECHO_T}$ac_header_compiler" >&6
36626 # Is the header present?
36627 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36628 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36629 cat >conftest.
$ac_ext <<_ACEOF
36632 cat confdefs.h
>>conftest.
$ac_ext
36633 cat >>conftest.
$ac_ext <<_ACEOF
36634 /* end confdefs.h. */
36635 #include <$ac_header>
36637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36638 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36640 grep -v '^ *+' conftest.er1
>conftest.err
36642 cat conftest.err
>&5
36643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36644 (exit $ac_status); } >/dev
/null
; then
36645 if test -s conftest.err
; then
36646 ac_cpp_err
=$ac_c_preproc_warn_flag
36647 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
36654 if test -z "$ac_cpp_err"; then
36655 ac_header_preproc
=yes
36657 echo "$as_me: failed program was:" >&5
36658 sed 's/^/| /' conftest.
$ac_ext >&5
36660 ac_header_preproc
=no
36662 rm -f conftest.err conftest.
$ac_ext
36663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36664 echo "${ECHO_T}$ac_header_preproc" >&6
36666 # So? What about this header?
36667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36669 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36670 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36672 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36673 ac_header_preproc
=yes
36676 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36677 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36678 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36679 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36680 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36681 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36682 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36683 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36686 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36687 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36690 ## ----------------------------------------- ##
36691 ## Report this to wx-dev@lists.wxwidgets.org ##
36692 ## ----------------------------------------- ##
36695 sed "s/^/$as_me: WARNING: /" >&2
36698 echo "$as_me:$LINENO: checking for $ac_header" >&5
36699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36701 echo $ECHO_N "(cached) $ECHO_C" >&6
36703 eval "$as_ac_Header=\$ac_header_preproc"
36705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36710 cat >>confdefs.h
<<_ACEOF
36711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36714 EXTRALIBS_ESD
="-lesd"
36725 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36726 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36727 cat >conftest.
$ac_ext <<_ACEOF
36730 cat confdefs.h
>>conftest.
$ac_ext
36731 cat >>conftest.
$ac_ext <<_ACEOF
36732 /* end confdefs.h. */
36734 #include <linux/cdrom.h>
36737 #include <sys/cdio.h>
36743 struct cdrom_tocentry entry, old_entry;
36748 rm -f conftest.
$ac_objext
36749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36750 (eval $ac_compile) 2>conftest.er1
36752 grep -v '^ *+' conftest.er1
>conftest.err
36754 cat conftest.err
>&5
36755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36756 (exit $ac_status); } &&
36757 { ac_try
='test -z "$ac_c_werror_flag"
36758 || test ! -s conftest.err'
36759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36760 (eval $ac_try) 2>&5
36762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763 (exit $ac_status); }; } &&
36764 { ac_try
='test -s conftest.$ac_objext'
36765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36766 (eval $ac_try) 2>&5
36768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36769 (exit $ac_status); }; }; then
36770 echo "$as_me:$LINENO: result: yes" >&5
36771 echo "${ECHO_T}yes" >&6
36772 cat >>confdefs.h
<<\_ACEOF
36773 #define HAVE_KNOWN_CDROM_INTERFACE 1
36777 echo "$as_me: failed program was:" >&5
36778 sed 's/^/| /' conftest.
$ac_ext >&5
36780 echo "$as_me:$LINENO: result: no" >&5
36781 echo "${ECHO_T}no" >&6
36783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36786 cat >confcache
<<\_ACEOF
36787 # This file is a shell script that caches the results of configure
36788 # tests run on this system so they can be shared between configure
36789 # scripts and configure runs, see configure's option --config-cache.
36790 # It is not useful on other systems. If it contains results you don't
36791 # want to keep, you may remove or edit it.
36793 # config.status only pays attention to the cache file if you give it
36794 # the --recheck option to rerun configure.
36796 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36797 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36798 # following values.
36802 # The following way of writing the cache mishandles newlines in values,
36803 # but we know of no workaround that is simple, portable, and efficient.
36804 # So, don't put newlines in cache variables' values.
36805 # Ultrix sh set writes to stderr and can't be redirected directly,
36806 # and sets the high bit in the cache file unless we assign to the vars.
36809 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36811 # `set' does not quote correctly, so add quotes (double-quote
36812 # substitution turns \\\\ into \\, and sed turns \\ into \).
36815 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36818 # `set' quotes correctly as required by POSIX, so do not add quotes.
36820 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36827 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36829 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36831 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
36832 if test -w $cache_file; then
36833 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36834 cat confcache
>$cache_file
36836 echo "not updating unwritable cache $cache_file"
36842 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36848 if test "$wxUSE_THREADS" = "yes" ; then
36849 if test "$USE_BEOS" = 1; then
36850 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36851 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36856 if test "$wxUSE_THREADS" = "yes" ; then
36859 THREAD_OPTS
="-pthread"
36861 *-*-solaris2* | *-*-sunos4* )
36862 if test "x$GCC" = "xyes"; then
36863 THREAD_OPTS
="-pthreads $THREAD_OPTS"
36865 THREAD_OPTS
="-mt $THREAD_OPTS"
36869 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
36871 *-*-darwin* | *-*-cygwin* )
36875 THREAD_OPTS
="pthreads"
36878 if test "x$GCC" = "xyes"; then
36879 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
36887 if test "x$GCC" = "xyes"; then
36893 if test "x$GCC" != "xyes"; then
36894 THREAD_OPTS
="-Ethread"
36899 THREAD_OPTS
="$THREAD_OPTS pthread none"
36902 for flag
in $THREAD_OPTS; do
36905 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36906 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36910 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36911 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36912 THREADS_CFLAGS
="$flag"
36916 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36917 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36918 THREADS_LINK
="-l$flag"
36923 save_CFLAGS
="$CFLAGS"
36924 LIBS
="$THREADS_LINK $LIBS"
36925 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
36927 cat >conftest.
$ac_ext <<_ACEOF
36930 cat confdefs.h
>>conftest.
$ac_ext
36931 cat >>conftest.
$ac_ext <<_ACEOF
36932 /* end confdefs.h. */
36933 #include <pthread.h>
36937 pthread_create(0,0,0,0);
36942 rm -f conftest.
$ac_objext conftest
$ac_exeext
36943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36944 (eval $ac_link) 2>conftest.er1
36946 grep -v '^ *+' conftest.er1
>conftest.err
36948 cat conftest.err
>&5
36949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950 (exit $ac_status); } &&
36951 { ac_try
='test -z "$ac_c_werror_flag"
36952 || test ! -s conftest.err'
36953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36954 (eval $ac_try) 2>&5
36956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36957 (exit $ac_status); }; } &&
36958 { ac_try
='test -s conftest$ac_exeext'
36959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36960 (eval $ac_try) 2>&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); }; }; then
36966 echo "$as_me: failed program was:" >&5
36967 sed 's/^/| /' conftest.
$ac_ext >&5
36970 rm -f conftest.err conftest.
$ac_objext \
36971 conftest
$ac_exeext conftest.
$ac_ext
36974 CFLAGS
="$save_CFLAGS"
36976 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36977 echo "${ECHO_T}$THREADS_OK" >&6
36978 if test "x$THREADS_OK" = "xyes"; then
36986 if test "x$THREADS_OK" != "xyes"; then
36988 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36989 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36991 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
36992 LIBS
="$THREADS_LINK $LIBS"
36994 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36995 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
36999 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
37000 flag
="-D_THREAD_SAFE"
37003 flag
="-D_THREAD_SAFE"
37006 flag
="-D_REENTRANT"
37007 if test "x$GCC" != "xyes"; then
37008 flag
="$flag -D_RWSTD_MULTI_THREAD"
37011 *solaris
* | alpha
*-osf*)
37012 flag
="-D_REENTRANT"
37015 echo "$as_me:$LINENO: result: ${flag}" >&5
37016 echo "${ECHO_T}${flag}" >&6
37017 if test "x$flag" != xno
; then
37018 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
37021 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37025 if test "$wxUSE_THREADS" = "yes" ; then
37027 for ac_func
in thr_setconcurrency
37029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37030 echo "$as_me:$LINENO: checking for $ac_func" >&5
37031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37032 if eval "test \"\${$as_ac_var+set}\" = set"; then
37033 echo $ECHO_N "(cached) $ECHO_C" >&6
37035 cat >conftest.
$ac_ext <<_ACEOF
37038 cat confdefs.h
>>conftest.
$ac_ext
37039 cat >>conftest.
$ac_ext <<_ACEOF
37040 /* end confdefs.h. */
37041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37043 #define $ac_func innocuous_$ac_func
37045 /* System header to define __stub macros and hopefully few prototypes,
37046 which can conflict with char $ac_func (); below.
37047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37048 <limits.h> exists even on freestanding compilers. */
37051 # include <limits.h>
37053 # include <assert.h>
37058 /* Override any gcc2 internal prototype to avoid an error. */
37063 /* We use char because int might match the return type of a gcc2
37064 builtin and then its argument prototype would still apply. */
37066 /* The GNU C library defines this for functions which it implements
37067 to always fail with ENOSYS. Some functions are actually named
37068 something starting with __ and the normal name is an alias. */
37069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37072 char (*f) () = $ac_func;
37081 return f != $ac_func;
37086 rm -f conftest.
$ac_objext conftest
$ac_exeext
37087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37088 (eval $ac_link) 2>conftest.er1
37090 grep -v '^ *+' conftest.er1
>conftest.err
37092 cat conftest.err
>&5
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); } &&
37095 { ac_try
='test -z "$ac_c_werror_flag"
37096 || test ! -s conftest.err'
37097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37098 (eval $ac_try) 2>&5
37100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37101 (exit $ac_status); }; } &&
37102 { ac_try
='test -s conftest$ac_exeext'
37103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37104 (eval $ac_try) 2>&5
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); }; }; then
37108 eval "$as_ac_var=yes"
37110 echo "$as_me: failed program was:" >&5
37111 sed 's/^/| /' conftest.
$ac_ext >&5
37113 eval "$as_ac_var=no"
37115 rm -f conftest.err conftest.
$ac_objext \
37116 conftest
$ac_exeext conftest.
$ac_ext
37118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37120 if test `eval echo '${'$as_ac_var'}'` = yes; then
37121 cat >>confdefs.h
<<_ACEOF
37122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37129 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37130 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37131 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37132 echo $ECHO_N "(cached) $ECHO_C" >&6
37135 cat >conftest.
$ac_ext <<_ACEOF
37138 cat confdefs.h
>>conftest.
$ac_ext
37139 cat >>conftest.
$ac_ext <<_ACEOF
37140 /* end confdefs.h. */
37141 #include <pthread.h>
37142 void ThreadCleanupFunc(void *p);
37149 pthread_cleanup_push(ThreadCleanupFunc, p);
37150 pthread_cleanup_pop(0);
37156 rm -f conftest.
$ac_objext
37157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37158 (eval $ac_compile) 2>conftest.er1
37160 grep -v '^ *+' conftest.er1
>conftest.err
37162 cat conftest.err
>&5
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); } &&
37165 { ac_try
='test -z "$ac_c_werror_flag"
37166 || test ! -s conftest.err'
37167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37168 (eval $ac_try) 2>&5
37170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37171 (exit $ac_status); }; } &&
37172 { ac_try
='test -s conftest.$ac_objext'
37173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37174 (eval $ac_try) 2>&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); }; }; then
37179 wx_cv_func_pthread_cleanup
=yes
37182 echo "$as_me: failed program was:" >&5
37183 sed 's/^/| /' conftest.
$ac_ext >&5
37186 wx_cv_func_pthread_cleanup
=no
37190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37193 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37194 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37195 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37196 cat >>confdefs.h
<<\_ACEOF
37197 #define wxHAVE_PTHREAD_CLEANUP 1
37203 for ac_header
in sched.h
37205 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37207 echo "$as_me:$LINENO: checking for $ac_header" >&5
37208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37210 echo $ECHO_N "(cached) $ECHO_C" >&6
37212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37215 # Is the header compilable?
37216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37218 cat >conftest.
$ac_ext <<_ACEOF
37221 cat confdefs.h
>>conftest.
$ac_ext
37222 cat >>conftest.
$ac_ext <<_ACEOF
37223 /* end confdefs.h. */
37224 $ac_includes_default
37225 #include <$ac_header>
37227 rm -f conftest.
$ac_objext
37228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37229 (eval $ac_compile) 2>conftest.er1
37231 grep -v '^ *+' conftest.er1
>conftest.err
37233 cat conftest.err
>&5
37234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37235 (exit $ac_status); } &&
37236 { ac_try
='test -z "$ac_c_werror_flag"
37237 || test ! -s conftest.err'
37238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37239 (eval $ac_try) 2>&5
37241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242 (exit $ac_status); }; } &&
37243 { ac_try
='test -s conftest.$ac_objext'
37244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37245 (eval $ac_try) 2>&5
37247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37248 (exit $ac_status); }; }; then
37249 ac_header_compiler
=yes
37251 echo "$as_me: failed program was:" >&5
37252 sed 's/^/| /' conftest.
$ac_ext >&5
37254 ac_header_compiler
=no
37256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37258 echo "${ECHO_T}$ac_header_compiler" >&6
37260 # Is the header present?
37261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37263 cat >conftest.
$ac_ext <<_ACEOF
37266 cat confdefs.h
>>conftest.
$ac_ext
37267 cat >>conftest.
$ac_ext <<_ACEOF
37268 /* end confdefs.h. */
37269 #include <$ac_header>
37271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37272 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37274 grep -v '^ *+' conftest.er1
>conftest.err
37276 cat conftest.err
>&5
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); } >/dev
/null
; then
37279 if test -s conftest.err
; then
37280 ac_cpp_err
=$ac_c_preproc_warn_flag
37281 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37288 if test -z "$ac_cpp_err"; then
37289 ac_header_preproc
=yes
37291 echo "$as_me: failed program was:" >&5
37292 sed 's/^/| /' conftest.
$ac_ext >&5
37294 ac_header_preproc
=no
37296 rm -f conftest.err conftest.
$ac_ext
37297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37298 echo "${ECHO_T}$ac_header_preproc" >&6
37300 # So? What about this header?
37301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37307 ac_header_preproc
=yes
37310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37324 ## ----------------------------------------- ##
37325 ## Report this to wx-dev@lists.wxwidgets.org ##
37326 ## ----------------------------------------- ##
37329 sed "s/^/$as_me: WARNING: /" >&2
37332 echo "$as_me:$LINENO: checking for $ac_header" >&5
37333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37335 echo $ECHO_N "(cached) $ECHO_C" >&6
37337 eval "$as_ac_Header=\$ac_header_preproc"
37339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37344 cat >>confdefs.h
<<_ACEOF
37345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37352 if test "$ac_cv_header_sched_h" = "yes"; then
37353 echo "$as_me:$LINENO: checking for sched_yield" >&5
37354 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37355 if test "${ac_cv_func_sched_yield+set}" = set; then
37356 echo $ECHO_N "(cached) $ECHO_C" >&6
37358 cat >conftest.
$ac_ext <<_ACEOF
37361 cat confdefs.h
>>conftest.
$ac_ext
37362 cat >>conftest.
$ac_ext <<_ACEOF
37363 /* end confdefs.h. */
37364 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37366 #define sched_yield innocuous_sched_yield
37368 /* System header to define __stub macros and hopefully few prototypes,
37369 which can conflict with char sched_yield (); below.
37370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37371 <limits.h> exists even on freestanding compilers. */
37374 # include <limits.h>
37376 # include <assert.h>
37381 /* Override any gcc2 internal prototype to avoid an error. */
37386 /* We use char because int might match the return type of a gcc2
37387 builtin and then its argument prototype would still apply. */
37388 char sched_yield ();
37389 /* The GNU C library defines this for functions which it implements
37390 to always fail with ENOSYS. Some functions are actually named
37391 something starting with __ and the normal name is an alias. */
37392 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37395 char (*f) () = sched_yield;
37404 return f != sched_yield;
37409 rm -f conftest.
$ac_objext conftest
$ac_exeext
37410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37411 (eval $ac_link) 2>conftest.er1
37413 grep -v '^ *+' conftest.er1
>conftest.err
37415 cat conftest.err
>&5
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); } &&
37418 { ac_try
='test -z "$ac_c_werror_flag"
37419 || test ! -s conftest.err'
37420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37421 (eval $ac_try) 2>&5
37423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); }; } &&
37425 { ac_try
='test -s conftest$ac_exeext'
37426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37427 (eval $ac_try) 2>&5
37429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430 (exit $ac_status); }; }; then
37431 ac_cv_func_sched_yield
=yes
37433 echo "$as_me: failed program was:" >&5
37434 sed 's/^/| /' conftest.
$ac_ext >&5
37436 ac_cv_func_sched_yield
=no
37438 rm -f conftest.err conftest.
$ac_objext \
37439 conftest
$ac_exeext conftest.
$ac_ext
37441 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37442 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37443 if test $ac_cv_func_sched_yield = yes; then
37444 cat >>confdefs.h
<<\_ACEOF
37445 #define HAVE_SCHED_YIELD 1
37450 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37451 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37452 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37453 echo $ECHO_N "(cached) $ECHO_C" >&6
37455 ac_check_lib_save_LIBS
=$LIBS
37456 LIBS
="-lposix4 $LIBS"
37457 cat >conftest.
$ac_ext <<_ACEOF
37460 cat confdefs.h
>>conftest.
$ac_ext
37461 cat >>conftest.
$ac_ext <<_ACEOF
37462 /* end confdefs.h. */
37464 /* Override any gcc2 internal prototype to avoid an error. */
37468 /* We use char because int might match the return type of a gcc2
37469 builtin and then its argument prototype would still apply. */
37470 char sched_yield ();
37479 rm -f conftest.
$ac_objext conftest
$ac_exeext
37480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37481 (eval $ac_link) 2>conftest.er1
37483 grep -v '^ *+' conftest.er1
>conftest.err
37485 cat conftest.err
>&5
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); } &&
37488 { ac_try
='test -z "$ac_c_werror_flag"
37489 || test ! -s conftest.err'
37490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37491 (eval $ac_try) 2>&5
37493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37494 (exit $ac_status); }; } &&
37495 { ac_try
='test -s conftest$ac_exeext'
37496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37497 (eval $ac_try) 2>&5
37499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37500 (exit $ac_status); }; }; then
37501 ac_cv_lib_posix4_sched_yield
=yes
37503 echo "$as_me: failed program was:" >&5
37504 sed 's/^/| /' conftest.
$ac_ext >&5
37506 ac_cv_lib_posix4_sched_yield
=no
37508 rm -f conftest.err conftest.
$ac_objext \
37509 conftest
$ac_exeext conftest.
$ac_ext
37510 LIBS
=$ac_check_lib_save_LIBS
37512 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37513 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37514 if test $ac_cv_lib_posix4_sched_yield = yes; then
37515 cat >>confdefs.h
<<\_ACEOF
37516 #define HAVE_SCHED_YIELD 1
37518 POSIX4_LINK
=" -lposix4"
37520 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37521 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37532 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37533 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37534 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37535 echo $ECHO_N "(cached) $ECHO_C" >&6
37537 cat >conftest.
$ac_ext <<_ACEOF
37540 cat confdefs.h
>>conftest.
$ac_ext
37541 cat >>conftest.
$ac_ext <<_ACEOF
37542 /* end confdefs.h. */
37543 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37545 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37547 /* System header to define __stub macros and hopefully few prototypes,
37548 which can conflict with char pthread_attr_getschedpolicy (); below.
37549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37550 <limits.h> exists even on freestanding compilers. */
37553 # include <limits.h>
37555 # include <assert.h>
37558 #undef pthread_attr_getschedpolicy
37560 /* Override any gcc2 internal prototype to avoid an error. */
37565 /* We use char because int might match the return type of a gcc2
37566 builtin and then its argument prototype would still apply. */
37567 char pthread_attr_getschedpolicy ();
37568 /* The GNU C library defines this for functions which it implements
37569 to always fail with ENOSYS. Some functions are actually named
37570 something starting with __ and the normal name is an alias. */
37571 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37574 char (*f) () = pthread_attr_getschedpolicy;
37583 return f != pthread_attr_getschedpolicy;
37588 rm -f conftest.
$ac_objext conftest
$ac_exeext
37589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37590 (eval $ac_link) 2>conftest.er1
37592 grep -v '^ *+' conftest.er1
>conftest.err
37594 cat conftest.err
>&5
37595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37596 (exit $ac_status); } &&
37597 { ac_try
='test -z "$ac_c_werror_flag"
37598 || test ! -s conftest.err'
37599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37600 (eval $ac_try) 2>&5
37602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37603 (exit $ac_status); }; } &&
37604 { ac_try
='test -s conftest$ac_exeext'
37605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37606 (eval $ac_try) 2>&5
37608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37609 (exit $ac_status); }; }; then
37610 ac_cv_func_pthread_attr_getschedpolicy
=yes
37612 echo "$as_me: failed program was:" >&5
37613 sed 's/^/| /' conftest.
$ac_ext >&5
37615 ac_cv_func_pthread_attr_getschedpolicy
=no
37617 rm -f conftest.err conftest.
$ac_objext \
37618 conftest
$ac_exeext conftest.
$ac_ext
37620 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37621 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37622 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37623 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37624 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37625 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37626 echo $ECHO_N "(cached) $ECHO_C" >&6
37628 cat >conftest.
$ac_ext <<_ACEOF
37631 cat confdefs.h
>>conftest.
$ac_ext
37632 cat >>conftest.
$ac_ext <<_ACEOF
37633 /* end confdefs.h. */
37634 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37636 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37638 /* System header to define __stub macros and hopefully few prototypes,
37639 which can conflict with char pthread_attr_setschedparam (); below.
37640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37641 <limits.h> exists even on freestanding compilers. */
37644 # include <limits.h>
37646 # include <assert.h>
37649 #undef pthread_attr_setschedparam
37651 /* Override any gcc2 internal prototype to avoid an error. */
37656 /* We use char because int might match the return type of a gcc2
37657 builtin and then its argument prototype would still apply. */
37658 char pthread_attr_setschedparam ();
37659 /* The GNU C library defines this for functions which it implements
37660 to always fail with ENOSYS. Some functions are actually named
37661 something starting with __ and the normal name is an alias. */
37662 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37665 char (*f) () = pthread_attr_setschedparam;
37674 return f != pthread_attr_setschedparam;
37679 rm -f conftest.
$ac_objext conftest
$ac_exeext
37680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37681 (eval $ac_link) 2>conftest.er1
37683 grep -v '^ *+' conftest.er1
>conftest.err
37685 cat conftest.err
>&5
37686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687 (exit $ac_status); } &&
37688 { ac_try
='test -z "$ac_c_werror_flag"
37689 || test ! -s conftest.err'
37690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37691 (eval $ac_try) 2>&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); }; } &&
37695 { ac_try
='test -s conftest$ac_exeext'
37696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37697 (eval $ac_try) 2>&5
37699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37700 (exit $ac_status); }; }; then
37701 ac_cv_func_pthread_attr_setschedparam
=yes
37703 echo "$as_me: failed program was:" >&5
37704 sed 's/^/| /' conftest.
$ac_ext >&5
37706 ac_cv_func_pthread_attr_setschedparam
=no
37708 rm -f conftest.err conftest.
$ac_objext \
37709 conftest
$ac_exeext conftest.
$ac_ext
37711 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37712 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37713 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37714 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37715 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37716 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37717 echo $ECHO_N "(cached) $ECHO_C" >&6
37719 cat >conftest.
$ac_ext <<_ACEOF
37722 cat confdefs.h
>>conftest.
$ac_ext
37723 cat >>conftest.
$ac_ext <<_ACEOF
37724 /* end confdefs.h. */
37725 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37727 #define sched_get_priority_max innocuous_sched_get_priority_max
37729 /* System header to define __stub macros and hopefully few prototypes,
37730 which can conflict with char sched_get_priority_max (); below.
37731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37732 <limits.h> exists even on freestanding compilers. */
37735 # include <limits.h>
37737 # include <assert.h>
37740 #undef sched_get_priority_max
37742 /* Override any gcc2 internal prototype to avoid an error. */
37747 /* We use char because int might match the return type of a gcc2
37748 builtin and then its argument prototype would still apply. */
37749 char sched_get_priority_max ();
37750 /* The GNU C library defines this for functions which it implements
37751 to always fail with ENOSYS. Some functions are actually named
37752 something starting with __ and the normal name is an alias. */
37753 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37756 char (*f) () = sched_get_priority_max;
37765 return f != sched_get_priority_max;
37770 rm -f conftest.
$ac_objext conftest
$ac_exeext
37771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37772 (eval $ac_link) 2>conftest.er1
37774 grep -v '^ *+' conftest.er1
>conftest.err
37776 cat conftest.err
>&5
37777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37778 (exit $ac_status); } &&
37779 { ac_try
='test -z "$ac_c_werror_flag"
37780 || test ! -s conftest.err'
37781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37782 (eval $ac_try) 2>&5
37784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37785 (exit $ac_status); }; } &&
37786 { ac_try
='test -s conftest$ac_exeext'
37787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37788 (eval $ac_try) 2>&5
37790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37791 (exit $ac_status); }; }; then
37792 ac_cv_func_sched_get_priority_max
=yes
37794 echo "$as_me: failed program was:" >&5
37795 sed 's/^/| /' conftest.
$ac_ext >&5
37797 ac_cv_func_sched_get_priority_max
=no
37799 rm -f conftest.err conftest.
$ac_objext \
37800 conftest
$ac_exeext conftest.
$ac_ext
37802 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37803 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37804 if test $ac_cv_func_sched_get_priority_max = yes; then
37807 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37808 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37809 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37810 echo $ECHO_N "(cached) $ECHO_C" >&6
37812 ac_check_lib_save_LIBS
=$LIBS
37813 LIBS
="-lposix4 $LIBS"
37814 cat >conftest.
$ac_ext <<_ACEOF
37817 cat confdefs.h
>>conftest.
$ac_ext
37818 cat >>conftest.
$ac_ext <<_ACEOF
37819 /* end confdefs.h. */
37821 /* Override any gcc2 internal prototype to avoid an error. */
37825 /* We use char because int might match the return type of a gcc2
37826 builtin and then its argument prototype would still apply. */
37827 char sched_get_priority_max ();
37831 sched_get_priority_max ();
37836 rm -f conftest.
$ac_objext conftest
$ac_exeext
37837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37838 (eval $ac_link) 2>conftest.er1
37840 grep -v '^ *+' conftest.er1
>conftest.err
37842 cat conftest.err
>&5
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); } &&
37845 { ac_try
='test -z "$ac_c_werror_flag"
37846 || test ! -s conftest.err'
37847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37848 (eval $ac_try) 2>&5
37850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37851 (exit $ac_status); }; } &&
37852 { ac_try
='test -s conftest$ac_exeext'
37853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37854 (eval $ac_try) 2>&5
37856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857 (exit $ac_status); }; }; then
37858 ac_cv_lib_posix4_sched_get_priority_max
=yes
37860 echo "$as_me: failed program was:" >&5
37861 sed 's/^/| /' conftest.
$ac_ext >&5
37863 ac_cv_lib_posix4_sched_get_priority_max
=no
37865 rm -f conftest.err conftest.
$ac_objext \
37866 conftest
$ac_exeext conftest.
$ac_ext
37867 LIBS
=$ac_check_lib_save_LIBS
37869 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37870 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37871 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37874 POSIX4_LINK
=" -lposix4"
37888 if test "$HAVE_PRIOR_FUNCS" = 1; then
37889 cat >>confdefs.h
<<\_ACEOF
37890 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37894 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37895 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37898 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37899 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37900 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37901 echo $ECHO_N "(cached) $ECHO_C" >&6
37903 cat >conftest.
$ac_ext <<_ACEOF
37906 cat confdefs.h
>>conftest.
$ac_ext
37907 cat >>conftest.
$ac_ext <<_ACEOF
37908 /* end confdefs.h. */
37909 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37911 #define pthread_cancel innocuous_pthread_cancel
37913 /* System header to define __stub macros and hopefully few prototypes,
37914 which can conflict with char pthread_cancel (); below.
37915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37916 <limits.h> exists even on freestanding compilers. */
37919 # include <limits.h>
37921 # include <assert.h>
37924 #undef pthread_cancel
37926 /* Override any gcc2 internal prototype to avoid an error. */
37931 /* We use char because int might match the return type of a gcc2
37932 builtin and then its argument prototype would still apply. */
37933 char pthread_cancel ();
37934 /* The GNU C library defines this for functions which it implements
37935 to always fail with ENOSYS. Some functions are actually named
37936 something starting with __ and the normal name is an alias. */
37937 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37940 char (*f) () = pthread_cancel;
37949 return f != pthread_cancel;
37954 rm -f conftest.
$ac_objext conftest
$ac_exeext
37955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37956 (eval $ac_link) 2>conftest.er1
37958 grep -v '^ *+' conftest.er1
>conftest.err
37960 cat conftest.err
>&5
37961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962 (exit $ac_status); } &&
37963 { ac_try
='test -z "$ac_c_werror_flag"
37964 || test ! -s conftest.err'
37965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37966 (eval $ac_try) 2>&5
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); }; } &&
37970 { ac_try
='test -s conftest$ac_exeext'
37971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37972 (eval $ac_try) 2>&5
37974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37975 (exit $ac_status); }; }; then
37976 ac_cv_func_pthread_cancel
=yes
37978 echo "$as_me: failed program was:" >&5
37979 sed 's/^/| /' conftest.
$ac_ext >&5
37981 ac_cv_func_pthread_cancel
=no
37983 rm -f conftest.err conftest.
$ac_objext \
37984 conftest
$ac_exeext conftest.
$ac_ext
37986 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37987 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37988 if test $ac_cv_func_pthread_cancel = yes; then
37989 cat >>confdefs.h
<<\_ACEOF
37990 #define HAVE_PTHREAD_CANCEL 1
37994 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37995 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
37999 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38000 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38001 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38002 echo $ECHO_N "(cached) $ECHO_C" >&6
38004 cat >conftest.
$ac_ext <<_ACEOF
38007 cat confdefs.h
>>conftest.
$ac_ext
38008 cat >>conftest.
$ac_ext <<_ACEOF
38009 /* end confdefs.h. */
38010 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38012 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38014 /* System header to define __stub macros and hopefully few prototypes,
38015 which can conflict with char pthread_attr_setstacksize (); below.
38016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38017 <limits.h> exists even on freestanding compilers. */
38020 # include <limits.h>
38022 # include <assert.h>
38025 #undef pthread_attr_setstacksize
38027 /* Override any gcc2 internal prototype to avoid an error. */
38032 /* We use char because int might match the return type of a gcc2
38033 builtin and then its argument prototype would still apply. */
38034 char pthread_attr_setstacksize ();
38035 /* The GNU C library defines this for functions which it implements
38036 to always fail with ENOSYS. Some functions are actually named
38037 something starting with __ and the normal name is an alias. */
38038 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38041 char (*f) () = pthread_attr_setstacksize;
38050 return f != pthread_attr_setstacksize;
38055 rm -f conftest.
$ac_objext conftest
$ac_exeext
38056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38057 (eval $ac_link) 2>conftest.er1
38059 grep -v '^ *+' conftest.er1
>conftest.err
38061 cat conftest.err
>&5
38062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38063 (exit $ac_status); } &&
38064 { ac_try
='test -z "$ac_c_werror_flag"
38065 || test ! -s conftest.err'
38066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38067 (eval $ac_try) 2>&5
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); }; } &&
38071 { ac_try
='test -s conftest$ac_exeext'
38072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38073 (eval $ac_try) 2>&5
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); }; }; then
38077 ac_cv_func_pthread_attr_setstacksize
=yes
38079 echo "$as_me: failed program was:" >&5
38080 sed 's/^/| /' conftest.
$ac_ext >&5
38082 ac_cv_func_pthread_attr_setstacksize
=no
38084 rm -f conftest.err conftest.
$ac_objext \
38085 conftest
$ac_exeext conftest.
$ac_ext
38087 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38088 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38089 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38090 cat >>confdefs.h
<<\_ACEOF
38091 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38098 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38099 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38100 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38101 echo $ECHO_N "(cached) $ECHO_C" >&6
38104 cat >conftest.
$ac_ext <<_ACEOF
38107 cat confdefs.h
>>conftest.
$ac_ext
38108 cat >>conftest.
$ac_ext <<_ACEOF
38109 /* end confdefs.h. */
38110 #include <pthread.h>
38115 pthread_mutexattr_t attr;
38116 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38122 rm -f conftest.
$ac_objext
38123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38124 (eval $ac_compile) 2>conftest.er1
38126 grep -v '^ *+' conftest.er1
>conftest.err
38128 cat conftest.err
>&5
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); } &&
38131 { ac_try
='test -z "$ac_c_werror_flag"
38132 || test ! -s conftest.err'
38133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38134 (eval $ac_try) 2>&5
38136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38137 (exit $ac_status); }; } &&
38138 { ac_try
='test -s conftest.$ac_objext'
38139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38140 (eval $ac_try) 2>&5
38142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38143 (exit $ac_status); }; }; then
38144 wx_cv_type_pthread_mutexattr_t
=yes
38146 echo "$as_me: failed program was:" >&5
38147 sed 's/^/| /' conftest.
$ac_ext >&5
38149 wx_cv_type_pthread_mutexattr_t
=no
38152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38155 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38156 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38158 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38159 cat >>confdefs.h
<<\_ACEOF
38160 #define HAVE_PTHREAD_MUTEXATTR_T 1
38164 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38165 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38166 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38167 echo $ECHO_N "(cached) $ECHO_C" >&6
38170 cat >conftest.
$ac_ext <<_ACEOF
38173 cat confdefs.h
>>conftest.
$ac_ext
38174 cat >>conftest.
$ac_ext <<_ACEOF
38175 /* end confdefs.h. */
38176 #include <pthread.h>
38181 pthread_mutexattr_t attr;
38182 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38188 rm -f conftest.
$ac_objext
38189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38190 (eval $ac_compile) 2>conftest.er1
38192 grep -v '^ *+' conftest.er1
>conftest.err
38194 cat conftest.err
>&5
38195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196 (exit $ac_status); } &&
38197 { ac_try
='test -z "$ac_c_werror_flag"
38198 || test ! -s conftest.err'
38199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38200 (eval $ac_try) 2>&5
38202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38203 (exit $ac_status); }; } &&
38204 { ac_try
='test -s conftest.$ac_objext'
38205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206 (eval $ac_try) 2>&5
38208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209 (exit $ac_status); }; }; then
38210 wx_cv_func_pthread_mutexattr_settype_decl
=yes
38212 echo "$as_me: failed program was:" >&5
38213 sed 's/^/| /' conftest.
$ac_ext >&5
38215 wx_cv_func_pthread_mutexattr_settype_decl
=no
38218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38221 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38222 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38223 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38224 cat >>confdefs.h
<<\_ACEOF
38225 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38230 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38231 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38232 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38233 echo $ECHO_N "(cached) $ECHO_C" >&6
38236 cat >conftest.
$ac_ext <<_ACEOF
38239 cat confdefs.h
>>conftest.
$ac_ext
38240 cat >>conftest.
$ac_ext <<_ACEOF
38241 /* end confdefs.h. */
38242 #include <pthread.h>
38247 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38253 rm -f conftest.
$ac_objext
38254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38255 (eval $ac_compile) 2>conftest.er1
38257 grep -v '^ *+' conftest.er1
>conftest.err
38259 cat conftest.err
>&5
38260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38261 (exit $ac_status); } &&
38262 { ac_try
='test -z "$ac_c_werror_flag"
38263 || test ! -s conftest.err'
38264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38265 (eval $ac_try) 2>&5
38267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38268 (exit $ac_status); }; } &&
38269 { ac_try
='test -s conftest.$ac_objext'
38270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38271 (eval $ac_try) 2>&5
38273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38274 (exit $ac_status); }; }; then
38276 wx_cv_type_pthread_rec_mutex_init
=yes
38279 echo "$as_me: failed program was:" >&5
38280 sed 's/^/| /' conftest.
$ac_ext >&5
38283 wx_cv_type_pthread_rec_mutex_init
=no
38287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38290 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38291 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38292 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38293 cat >>confdefs.h
<<\_ACEOF
38294 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38298 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38299 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38305 if test "$wxUSE_THREADS" = "yes" ; then
38308 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38309 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38310 if test "${wx_cv_cflags_mthread+set}" = set; then
38311 echo $ECHO_N "(cached) $ECHO_C" >&6
38314 CFLAGS_OLD
="$CFLAGS"
38315 CFLAGS
="-mthreads $CFLAGS"
38316 cat >conftest.
$ac_ext <<_ACEOF
38319 cat confdefs.h
>>conftest.
$ac_ext
38320 cat >>conftest.
$ac_ext <<_ACEOF
38321 /* end confdefs.h. */
38331 rm -f conftest.
$ac_objext
38332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38333 (eval $ac_compile) 2>conftest.er1
38335 grep -v '^ *+' conftest.er1
>conftest.err
38337 cat conftest.err
>&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); } &&
38340 { ac_try
='test -z "$ac_c_werror_flag"
38341 || test ! -s conftest.err'
38342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38343 (eval $ac_try) 2>&5
38345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38346 (exit $ac_status); }; } &&
38347 { ac_try
='test -s conftest.$ac_objext'
38348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38349 (eval $ac_try) 2>&5
38351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38352 (exit $ac_status); }; }; then
38353 wx_cv_cflags_mthread
=yes
38355 echo "$as_me: failed program was:" >&5
38356 sed 's/^/| /' conftest.
$ac_ext >&5
38358 wx_cv_cflags_mthread
=no
38361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38365 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38366 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38368 if test "$wx_cv_cflags_mthread" = "yes"; then
38369 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
38370 LDFLAGS
="$LDFLAGS -mthreads"
38372 CFLAGS
="$CFLAGS_OLD"
38376 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38377 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38378 LDFLAGS
="$LDFLAGS -Zmt"
38384 echo "$as_me:$LINENO: checking for localtime_r" >&5
38385 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38386 if test "${ac_cv_func_localtime_r+set}" = set; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 cat >conftest.
$ac_ext <<_ACEOF
38392 cat confdefs.h
>>conftest.
$ac_ext
38393 cat >>conftest.
$ac_ext <<_ACEOF
38394 /* end confdefs.h. */
38395 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38397 #define localtime_r innocuous_localtime_r
38399 /* System header to define __stub macros and hopefully few prototypes,
38400 which can conflict with char localtime_r (); below.
38401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38402 <limits.h> exists even on freestanding compilers. */
38405 # include <limits.h>
38407 # include <assert.h>
38412 /* Override any gcc2 internal prototype to avoid an error. */
38417 /* We use char because int might match the return type of a gcc2
38418 builtin and then its argument prototype would still apply. */
38419 char localtime_r ();
38420 /* The GNU C library defines this for functions which it implements
38421 to always fail with ENOSYS. Some functions are actually named
38422 something starting with __ and the normal name is an alias. */
38423 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38426 char (*f) () = localtime_r;
38435 return f != localtime_r;
38440 rm -f conftest.
$ac_objext conftest
$ac_exeext
38441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38442 (eval $ac_link) 2>conftest.er1
38444 grep -v '^ *+' conftest.er1
>conftest.err
38446 cat conftest.err
>&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); } &&
38449 { ac_try
='test -z "$ac_c_werror_flag"
38450 || test ! -s conftest.err'
38451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38452 (eval $ac_try) 2>&5
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); }; } &&
38456 { ac_try
='test -s conftest$ac_exeext'
38457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38458 (eval $ac_try) 2>&5
38460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38461 (exit $ac_status); }; }; then
38462 ac_cv_func_localtime_r
=yes
38464 echo "$as_me: failed program was:" >&5
38465 sed 's/^/| /' conftest.
$ac_ext >&5
38467 ac_cv_func_localtime_r
=no
38469 rm -f conftest.err conftest.
$ac_objext \
38470 conftest
$ac_exeext conftest.
$ac_ext
38472 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38473 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38474 if test $ac_cv_func_localtime_r = yes; then
38475 cat >>confdefs.h
<<\_ACEOF
38476 #define HAVE_LOCALTIME_R 1
38481 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38482 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38483 if test "${ac_cv_func_gmtime_r+set}" = set; then
38484 echo $ECHO_N "(cached) $ECHO_C" >&6
38486 cat >conftest.
$ac_ext <<_ACEOF
38489 cat confdefs.h
>>conftest.
$ac_ext
38490 cat >>conftest.
$ac_ext <<_ACEOF
38491 /* end confdefs.h. */
38492 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38494 #define gmtime_r innocuous_gmtime_r
38496 /* System header to define __stub macros and hopefully few prototypes,
38497 which can conflict with char gmtime_r (); below.
38498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38499 <limits.h> exists even on freestanding compilers. */
38502 # include <limits.h>
38504 # include <assert.h>
38509 /* Override any gcc2 internal prototype to avoid an error. */
38514 /* We use char because int might match the return type of a gcc2
38515 builtin and then its argument prototype would still apply. */
38517 /* The GNU C library defines this for functions which it implements
38518 to always fail with ENOSYS. Some functions are actually named
38519 something starting with __ and the normal name is an alias. */
38520 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38523 char (*f) () = gmtime_r;
38532 return f != gmtime_r;
38537 rm -f conftest.
$ac_objext conftest
$ac_exeext
38538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38539 (eval $ac_link) 2>conftest.er1
38541 grep -v '^ *+' conftest.er1
>conftest.err
38543 cat conftest.err
>&5
38544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545 (exit $ac_status); } &&
38546 { ac_try
='test -z "$ac_c_werror_flag"
38547 || test ! -s conftest.err'
38548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38549 (eval $ac_try) 2>&5
38551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38552 (exit $ac_status); }; } &&
38553 { ac_try
='test -s conftest$ac_exeext'
38554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38555 (eval $ac_try) 2>&5
38557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38558 (exit $ac_status); }; }; then
38559 ac_cv_func_gmtime_r
=yes
38561 echo "$as_me: failed program was:" >&5
38562 sed 's/^/| /' conftest.
$ac_ext >&5
38564 ac_cv_func_gmtime_r
=no
38566 rm -f conftest.err conftest.
$ac_objext \
38567 conftest
$ac_exeext conftest.
$ac_ext
38569 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38570 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38571 if test $ac_cv_func_gmtime_r = yes; then
38572 cat >>confdefs.h
<<\_ACEOF
38573 #define HAVE_GMTIME_R 1
38578 echo "$as_me:$LINENO: checking for readdir_r" >&5
38579 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38580 if test "${ac_cv_func_readdir_r+set}" = set; then
38581 echo $ECHO_N "(cached) $ECHO_C" >&6
38583 cat >conftest.
$ac_ext <<_ACEOF
38586 cat confdefs.h
>>conftest.
$ac_ext
38587 cat >>conftest.
$ac_ext <<_ACEOF
38588 /* end confdefs.h. */
38589 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38591 #define readdir_r innocuous_readdir_r
38593 /* System header to define __stub macros and hopefully few prototypes,
38594 which can conflict with char readdir_r (); below.
38595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38596 <limits.h> exists even on freestanding compilers. */
38599 # include <limits.h>
38601 # include <assert.h>
38606 /* Override any gcc2 internal prototype to avoid an error. */
38611 /* We use char because int might match the return type of a gcc2
38612 builtin and then its argument prototype would still apply. */
38614 /* The GNU C library defines this for functions which it implements
38615 to always fail with ENOSYS. Some functions are actually named
38616 something starting with __ and the normal name is an alias. */
38617 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38620 char (*f) () = readdir_r;
38629 return f != readdir_r;
38634 rm -f conftest.
$ac_objext conftest
$ac_exeext
38635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38636 (eval $ac_link) 2>conftest.er1
38638 grep -v '^ *+' conftest.er1
>conftest.err
38640 cat conftest.err
>&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } &&
38643 { ac_try
='test -z "$ac_c_werror_flag"
38644 || test ! -s conftest.err'
38645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38646 (eval $ac_try) 2>&5
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); }; } &&
38650 { ac_try
='test -s conftest$ac_exeext'
38651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38652 (eval $ac_try) 2>&5
38654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38655 (exit $ac_status); }; }; then
38656 ac_cv_func_readdir_r
=yes
38658 echo "$as_me: failed program was:" >&5
38659 sed 's/^/| /' conftest.
$ac_ext >&5
38661 ac_cv_func_readdir_r
=no
38663 rm -f conftest.err conftest.
$ac_objext \
38664 conftest
$ac_exeext conftest.
$ac_ext
38666 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38667 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38668 if test $ac_cv_func_readdir_r = yes; then
38669 cat >>confdefs.h
<<\_ACEOF
38670 #define HAVE_READDIR_R 1
38679 ac_cpp
='$CPP $CPPFLAGS'
38680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38684 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38685 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38687 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38688 echo $ECHO_N "(cached) $ECHO_C" >&6
38692 ################################################################
38694 ac_cv_func_which_gethostbyname_r
=unknown
38697 # ONE ARGUMENT (sanity check)
38700 # This should fail, as there is no variant of gethostbyname_r() that takes
38701 # a single argument. If it actually compiles, then we can assume that
38702 # netdb.h is not declaring the function, and the compiler is thereby
38703 # assuming an implicit prototype. In which case, we're out of luck.
38705 cat >conftest.
$ac_ext <<_ACEOF
38708 cat confdefs.h
>>conftest.
$ac_ext
38709 cat >>conftest.
$ac_ext <<_ACEOF
38710 /* end confdefs.h. */
38716 char *name = "www.gnu.org";
38717 (void)gethostbyname_r(name) /* ; */
38723 rm -f conftest.
$ac_objext
38724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38725 (eval $ac_compile) 2>conftest.er1
38727 grep -v '^ *+' conftest.er1
>conftest.err
38729 cat conftest.err
>&5
38730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731 (exit $ac_status); } &&
38732 { ac_try
='test -z "$ac_c_werror_flag"
38733 || test ! -s conftest.err'
38734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38735 (eval $ac_try) 2>&5
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); }; } &&
38739 { ac_try
='test -s conftest.$ac_objext'
38740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38741 (eval $ac_try) 2>&5
38743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38744 (exit $ac_status); }; }; then
38745 ac_cv_func_which_gethostbyname_r
=no
38747 echo "$as_me: failed program was:" >&5
38748 sed 's/^/| /' conftest.
$ac_ext >&5
38751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38758 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38760 cat >conftest.
$ac_ext <<_ACEOF
38763 cat confdefs.h
>>conftest.
$ac_ext
38764 cat >>conftest.
$ac_ext <<_ACEOF
38765 /* end confdefs.h. */
38771 char *name = "www.gnu.org";
38772 struct hostent ret, *retp;
38776 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38782 rm -f conftest.
$ac_objext
38783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38784 (eval $ac_compile) 2>conftest.er1
38786 grep -v '^ *+' conftest.er1
>conftest.err
38788 cat conftest.err
>&5
38789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38790 (exit $ac_status); } &&
38791 { ac_try
='test -z "$ac_c_werror_flag"
38792 || test ! -s conftest.err'
38793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38794 (eval $ac_try) 2>&5
38796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38797 (exit $ac_status); }; } &&
38798 { ac_try
='test -s conftest.$ac_objext'
38799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38800 (eval $ac_try) 2>&5
38802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38803 (exit $ac_status); }; }; then
38804 ac_cv_func_which_gethostbyname_r
=six
38806 echo "$as_me: failed program was:" >&5
38807 sed 's/^/| /' conftest.
$ac_ext >&5
38810 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38819 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38821 cat >conftest.
$ac_ext <<_ACEOF
38824 cat confdefs.h
>>conftest.
$ac_ext
38825 cat >>conftest.
$ac_ext <<_ACEOF
38826 /* end confdefs.h. */
38832 char *name = "www.gnu.org";
38833 struct hostent ret;
38837 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38843 rm -f conftest.
$ac_objext
38844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38845 (eval $ac_compile) 2>conftest.er1
38847 grep -v '^ *+' conftest.er1
>conftest.err
38849 cat conftest.err
>&5
38850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38851 (exit $ac_status); } &&
38852 { ac_try
='test -z "$ac_c_werror_flag"
38853 || test ! -s conftest.err'
38854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38855 (eval $ac_try) 2>&5
38857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38858 (exit $ac_status); }; } &&
38859 { ac_try
='test -s conftest.$ac_objext'
38860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38861 (eval $ac_try) 2>&5
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); }; }; then
38865 ac_cv_func_which_gethostbyname_r
=five
38867 echo "$as_me: failed program was:" >&5
38868 sed 's/^/| /' conftest.
$ac_ext >&5
38871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38877 # (e.g. AIX, HP-UX, Tru64)
38880 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38882 cat >conftest.
$ac_ext <<_ACEOF
38885 cat confdefs.h
>>conftest.
$ac_ext
38886 cat >>conftest.
$ac_ext <<_ACEOF
38887 /* end confdefs.h. */
38893 char *name = "www.gnu.org";
38894 struct hostent ret;
38895 struct hostent_data data;
38896 (void)gethostbyname_r(name, &ret, &data) /* ; */
38902 rm -f conftest.
$ac_objext
38903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38904 (eval $ac_compile) 2>conftest.er1
38906 grep -v '^ *+' conftest.er1
>conftest.err
38908 cat conftest.err
>&5
38909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38910 (exit $ac_status); } &&
38911 { ac_try
='test -z "$ac_c_werror_flag"
38912 || test ! -s conftest.err'
38913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38914 (eval $ac_try) 2>&5
38916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38917 (exit $ac_status); }; } &&
38918 { ac_try
='test -s conftest.$ac_objext'
38919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38920 (eval $ac_try) 2>&5
38922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923 (exit $ac_status); }; }; then
38924 ac_cv_func_which_gethostbyname_r
=three
38926 echo "$as_me: failed program was:" >&5
38927 sed 's/^/| /' conftest.
$ac_ext >&5
38930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38934 ################################################################
38939 case "$ac_cv_func_which_gethostbyname_r" in
38941 echo "$as_me:$LINENO: result: three" >&5
38942 echo "${ECHO_T}three" >&6
38943 cat >>confdefs.h
<<\_ACEOF
38944 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
38950 echo "$as_me:$LINENO: result: five" >&5
38951 echo "${ECHO_T}five" >&6
38952 cat >>confdefs.h
<<\_ACEOF
38953 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
38959 echo "$as_me:$LINENO: result: six" >&5
38960 echo "${ECHO_T}six" >&6
38961 cat >>confdefs.h
<<\_ACEOF
38962 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
38968 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
38969 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
38973 echo "$as_me:$LINENO: result: can't tell" >&5
38974 echo "${ECHO_T}can't tell" >&6
38978 { { echo "$as_me:$LINENO: error: internal error" >&5
38979 echo "$as_me: error: internal error" >&2;}
38980 { (exit 1); exit 1; }; }
38985 ac_cpp
='$CPP $CPPFLAGS'
38986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38992 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
38993 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
38994 echo "$as_me:$LINENO: checking for gethostbyname" >&5
38995 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
38996 if test "${ac_cv_func_gethostbyname+set}" = set; then
38997 echo $ECHO_N "(cached) $ECHO_C" >&6
38999 cat >conftest.
$ac_ext <<_ACEOF
39002 cat confdefs.h
>>conftest.
$ac_ext
39003 cat >>conftest.
$ac_ext <<_ACEOF
39004 /* end confdefs.h. */
39005 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39007 #define gethostbyname innocuous_gethostbyname
39009 /* System header to define __stub macros and hopefully few prototypes,
39010 which can conflict with char gethostbyname (); below.
39011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39012 <limits.h> exists even on freestanding compilers. */
39015 # include <limits.h>
39017 # include <assert.h>
39020 #undef gethostbyname
39022 /* Override any gcc2 internal prototype to avoid an error. */
39027 /* We use char because int might match the return type of a gcc2
39028 builtin and then its argument prototype would still apply. */
39029 char gethostbyname ();
39030 /* The GNU C library defines this for functions which it implements
39031 to always fail with ENOSYS. Some functions are actually named
39032 something starting with __ and the normal name is an alias. */
39033 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39036 char (*f) () = gethostbyname;
39045 return f != gethostbyname;
39050 rm -f conftest.
$ac_objext conftest
$ac_exeext
39051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39052 (eval $ac_link) 2>conftest.er1
39054 grep -v '^ *+' conftest.er1
>conftest.err
39056 cat conftest.err
>&5
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); } &&
39059 { ac_try
='test -z "$ac_c_werror_flag"
39060 || test ! -s conftest.err'
39061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39062 (eval $ac_try) 2>&5
39064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065 (exit $ac_status); }; } &&
39066 { ac_try
='test -s conftest$ac_exeext'
39067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39068 (eval $ac_try) 2>&5
39070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39071 (exit $ac_status); }; }; then
39072 ac_cv_func_gethostbyname
=yes
39074 echo "$as_me: failed program was:" >&5
39075 sed 's/^/| /' conftest.
$ac_ext >&5
39077 ac_cv_func_gethostbyname
=no
39079 rm -f conftest.err conftest.
$ac_objext \
39080 conftest
$ac_exeext conftest.
$ac_ext
39082 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39083 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39084 if test $ac_cv_func_gethostbyname = yes; then
39085 cat >>confdefs.h
<<\_ACEOF
39086 #define HAVE_GETHOSTBYNAME 1
39092 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39093 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39094 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39095 echo $ECHO_N "(cached) $ECHO_C" >&6
39097 cat >conftest.
$ac_ext <<_ACEOF
39100 cat confdefs.h
>>conftest.
$ac_ext
39101 cat >>conftest.
$ac_ext <<_ACEOF
39102 /* end confdefs.h. */
39103 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39105 #define getservbyname_r innocuous_getservbyname_r
39107 /* System header to define __stub macros and hopefully few prototypes,
39108 which can conflict with char getservbyname_r (); below.
39109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39110 <limits.h> exists even on freestanding compilers. */
39113 # include <limits.h>
39115 # include <assert.h>
39118 #undef getservbyname_r
39120 /* Override any gcc2 internal prototype to avoid an error. */
39125 /* We use char because int might match the return type of a gcc2
39126 builtin and then its argument prototype would still apply. */
39127 char getservbyname_r ();
39128 /* The GNU C library defines this for functions which it implements
39129 to always fail with ENOSYS. Some functions are actually named
39130 something starting with __ and the normal name is an alias. */
39131 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39134 char (*f) () = getservbyname_r;
39143 return f != getservbyname_r;
39148 rm -f conftest.
$ac_objext conftest
$ac_exeext
39149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39150 (eval $ac_link) 2>conftest.er1
39152 grep -v '^ *+' conftest.er1
>conftest.err
39154 cat conftest.err
>&5
39155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39156 (exit $ac_status); } &&
39157 { ac_try
='test -z "$ac_c_werror_flag"
39158 || test ! -s conftest.err'
39159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39160 (eval $ac_try) 2>&5
39162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39163 (exit $ac_status); }; } &&
39164 { ac_try
='test -s conftest$ac_exeext'
39165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39166 (eval $ac_try) 2>&5
39168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39169 (exit $ac_status); }; }; then
39170 ac_cv_func_getservbyname_r
=yes
39172 echo "$as_me: failed program was:" >&5
39173 sed 's/^/| /' conftest.
$ac_ext >&5
39175 ac_cv_func_getservbyname_r
=no
39177 rm -f conftest.err conftest.
$ac_objext \
39178 conftest
$ac_exeext conftest.
$ac_ext
39180 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39181 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39182 if test $ac_cv_func_getservbyname_r = yes; then
39183 cat >conftest.
$ac_ext <<_ACEOF
39186 cat confdefs.h
>>conftest.
$ac_ext
39187 cat >>conftest.
$ac_ext <<_ACEOF
39188 /* end confdefs.h. */
39196 struct servent *se;
39197 struct servent_data data;
39198 (void) getservbyname_r(name, proto, se, &data);
39204 rm -f conftest.
$ac_objext
39205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39206 (eval $ac_compile) 2>conftest.er1
39208 grep -v '^ *+' conftest.er1
>conftest.err
39210 cat conftest.err
>&5
39211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39212 (exit $ac_status); } &&
39213 { ac_try
='test -z "$ac_c_werror_flag"
39214 || test ! -s conftest.err'
39215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39216 (eval $ac_try) 2>&5
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); }; } &&
39220 { ac_try
='test -s conftest.$ac_objext'
39221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39222 (eval $ac_try) 2>&5
39224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39225 (exit $ac_status); }; }; then
39226 ac_cv_func_which_getservbyname_r
=four
39228 echo "$as_me: failed program was:" >&5
39229 sed 's/^/| /' conftest.
$ac_ext >&5
39231 cat >conftest.
$ac_ext <<_ACEOF
39234 cat confdefs.h
>>conftest.
$ac_ext
39235 cat >>conftest.
$ac_ext <<_ACEOF
39236 /* end confdefs.h. */
39244 struct servent *se, *res;
39247 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39253 rm -f conftest.
$ac_objext
39254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39255 (eval $ac_compile) 2>conftest.er1
39257 grep -v '^ *+' conftest.er1
>conftest.err
39259 cat conftest.err
>&5
39260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39261 (exit $ac_status); } &&
39262 { ac_try
='test -z "$ac_c_werror_flag"
39263 || test ! -s conftest.err'
39264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39265 (eval $ac_try) 2>&5
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); }; } &&
39269 { ac_try
='test -s conftest.$ac_objext'
39270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39271 (eval $ac_try) 2>&5
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); }; }; then
39275 ac_cv_func_which_getservbyname_r
=six
39277 echo "$as_me: failed program was:" >&5
39278 sed 's/^/| /' conftest.
$ac_ext >&5
39280 cat >conftest.
$ac_ext <<_ACEOF
39283 cat confdefs.h
>>conftest.
$ac_ext
39284 cat >>conftest.
$ac_ext <<_ACEOF
39285 /* end confdefs.h. */
39293 struct servent *se;
39296 (void) getservbyname_r(name, proto, se, buffer, buflen)
39302 rm -f conftest.
$ac_objext
39303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39304 (eval $ac_compile) 2>conftest.er1
39306 grep -v '^ *+' conftest.er1
>conftest.err
39308 cat conftest.err
>&5
39309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39310 (exit $ac_status); } &&
39311 { ac_try
='test -z "$ac_c_werror_flag"
39312 || test ! -s conftest.err'
39313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39314 (eval $ac_try) 2>&5
39316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39317 (exit $ac_status); }; } &&
39318 { ac_try
='test -s conftest.$ac_objext'
39319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39320 (eval $ac_try) 2>&5
39322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39323 (exit $ac_status); }; }; then
39324 ac_cv_func_which_getservbyname_r
=five
39326 echo "$as_me: failed program was:" >&5
39327 sed 's/^/| /' conftest.
$ac_ext >&5
39329 ac_cv_func_which_getservbyname_r
=no
39332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
39340 ac_cv_func_which_getservbyname_r
=no
39344 if test $ac_cv_func_which_getservbyname_r = six
; then
39345 cat >>confdefs.h
<<\_ACEOF
39346 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39349 elif test $ac_cv_func_which_getservbyname_r = five
; then
39350 cat >>confdefs.h
<<\_ACEOF
39351 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39354 elif test $ac_cv_func_which_getservbyname_r = four
; then
39355 cat >>confdefs.h
<<\_ACEOF
39356 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39362 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39363 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39365 for ac_func
in getservbyname
39367 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39368 echo "$as_me:$LINENO: checking for $ac_func" >&5
39369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39370 if eval "test \"\${$as_ac_var+set}\" = set"; then
39371 echo $ECHO_N "(cached) $ECHO_C" >&6
39373 cat >conftest.
$ac_ext <<_ACEOF
39376 cat confdefs.h
>>conftest.
$ac_ext
39377 cat >>conftest.
$ac_ext <<_ACEOF
39378 /* end confdefs.h. */
39379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39381 #define $ac_func innocuous_$ac_func
39383 /* System header to define __stub macros and hopefully few prototypes,
39384 which can conflict with char $ac_func (); below.
39385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39386 <limits.h> exists even on freestanding compilers. */
39389 # include <limits.h>
39391 # include <assert.h>
39396 /* Override any gcc2 internal prototype to avoid an error. */
39401 /* We use char because int might match the return type of a gcc2
39402 builtin and then its argument prototype would still apply. */
39404 /* The GNU C library defines this for functions which it implements
39405 to always fail with ENOSYS. Some functions are actually named
39406 something starting with __ and the normal name is an alias. */
39407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39410 char (*f) () = $ac_func;
39419 return f != $ac_func;
39424 rm -f conftest.
$ac_objext conftest
$ac_exeext
39425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39426 (eval $ac_link) 2>conftest.er1
39428 grep -v '^ *+' conftest.er1
>conftest.err
39430 cat conftest.err
>&5
39431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39432 (exit $ac_status); } &&
39433 { ac_try
='test -z "$ac_c_werror_flag"
39434 || test ! -s conftest.err'
39435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39436 (eval $ac_try) 2>&5
39438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39439 (exit $ac_status); }; } &&
39440 { ac_try
='test -s conftest$ac_exeext'
39441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39442 (eval $ac_try) 2>&5
39444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39445 (exit $ac_status); }; }; then
39446 eval "$as_ac_var=yes"
39448 echo "$as_me: failed program was:" >&5
39449 sed 's/^/| /' conftest.
$ac_ext >&5
39451 eval "$as_ac_var=no"
39453 rm -f conftest.err conftest.
$ac_objext \
39454 conftest
$ac_exeext conftest.
$ac_ext
39456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39458 if test `eval echo '${'$as_ac_var'}'` = yes; then
39459 cat >>confdefs.h
<<_ACEOF
39460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39462 cat >>confdefs.h
<<\_ACEOF
39463 #define HAVE_GETSERVBYNAME 1
39471 if test "$wxUSE_THREADS" = "yes"; then
39472 cat >>confdefs.h
<<\_ACEOF
39473 #define wxUSE_THREADS 1
39477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
39479 if test "$ac_cv_func_strtok_r" = "yes"; then
39480 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39481 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39482 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39483 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39484 echo "$as_me:$LINENO: result: yes" >&5
39485 echo "${ECHO_T}yes" >&6
39487 echo "$as_me:$LINENO: result: no" >&5
39488 echo "${ECHO_T}no" >&6
39493 if test "$WXGTK20" = 1 ; then
39494 cat >>confdefs.h
<<_ACEOF
39495 #define __WXGTK20__ $WXGTK20
39501 if test "$WXGTK12" = 1 ; then
39502 cat >>confdefs.h
<<_ACEOF
39503 #define __WXGTK12__ $WXGTK12
39508 if test "$WXGTK127" = 1 ; then
39509 cat >>confdefs.h
<<_ACEOF
39510 #define __WXGTK127__ $WXGTK127
39515 if test "$WXGPE" = 1 ; then
39516 cat >>confdefs.h
<<_ACEOF
39517 #define __WXGPE__ $WXGPE
39523 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39528 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39529 wxUSE_DEBUG_INFO
=yes
39530 if test "$GCC" = yes; then
39531 DEBUG_CFLAGS
="-ggdb"
39535 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39536 cat >>confdefs.h
<<\_ACEOF
39540 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39542 if test "$wxUSE_GTK" = 1 ; then
39543 if test "x$wxGTK_VERSION" = "x1" ; then
39544 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39549 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39550 cat >>confdefs.h
<<\_ACEOF
39551 #define wxUSE_MEMORY_TRACING 1
39554 cat >>confdefs.h
<<\_ACEOF
39555 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39558 cat >>confdefs.h
<<\_ACEOF
39559 #define wxUSE_DEBUG_NEW_ALWAYS 1
39562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
39565 if test "$wxUSE_DMALLOC" = "yes" ; then
39566 DMALLOC_LIBS
="-ldmallocthcxx"
39570 if test "$wxUSE_PROFILE" = "yes" ; then
39571 PROFILE_FLAGS
=" -pg"
39574 if test "$GCC" = "yes" ; then
39575 if test "$wxUSE_NO_RTTI" = "yes" ; then
39576 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-rtti"
39578 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39579 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
39581 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39582 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
39587 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
39590 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
39596 if test "$wxUSE_OPTIMISE" = "no" ; then
39597 if test "$GCC" = yes ; then
39598 OPTIMISE_CFLAGS
="-O0"
39601 if test "$GCC" = yes ; then
39602 OPTIMISE_CFLAGS
="-O2"
39604 OPTIMISE_CFLAGS
="-O"
39609 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39610 cat >>confdefs.h
<<\_ACEOF
39611 #define WXWIN_COMPATIBILITY_2_4 1
39615 WXWIN_COMPATIBILITY_2_6
="yes"
39618 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39619 cat >>confdefs.h
<<\_ACEOF
39620 #define WXWIN_COMPATIBILITY_2_6 1
39626 if test "$wxUSE_GUI" = "yes"; then
39627 cat >>confdefs.h
<<\_ACEOF
39628 #define wxUSE_GUI 1
39635 if test "$wxUSE_UNIX" = "yes"; then
39636 cat >>confdefs.h
<<\_ACEOF
39637 #define wxUSE_UNIX 1
39643 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39647 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39648 if test "$USE_DARWIN" = 1; then
39650 elif test "$USE_DOS" = 1; then
39654 for ac_func
in dlopen
39656 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39657 echo "$as_me:$LINENO: checking for $ac_func" >&5
39658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39659 if eval "test \"\${$as_ac_var+set}\" = set"; then
39660 echo $ECHO_N "(cached) $ECHO_C" >&6
39662 cat >conftest.
$ac_ext <<_ACEOF
39665 cat confdefs.h
>>conftest.
$ac_ext
39666 cat >>conftest.
$ac_ext <<_ACEOF
39667 /* end confdefs.h. */
39668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39670 #define $ac_func innocuous_$ac_func
39672 /* System header to define __stub macros and hopefully few prototypes,
39673 which can conflict with char $ac_func (); below.
39674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39675 <limits.h> exists even on freestanding compilers. */
39678 # include <limits.h>
39680 # include <assert.h>
39685 /* Override any gcc2 internal prototype to avoid an error. */
39690 /* We use char because int might match the return type of a gcc2
39691 builtin and then its argument prototype would still apply. */
39693 /* The GNU C library defines this for functions which it implements
39694 to always fail with ENOSYS. Some functions are actually named
39695 something starting with __ and the normal name is an alias. */
39696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39699 char (*f) () = $ac_func;
39708 return f != $ac_func;
39713 rm -f conftest.
$ac_objext conftest
$ac_exeext
39714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39715 (eval $ac_link) 2>conftest.er1
39717 grep -v '^ *+' conftest.er1
>conftest.err
39719 cat conftest.err
>&5
39720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39721 (exit $ac_status); } &&
39722 { ac_try
='test -z "$ac_c_werror_flag"
39723 || test ! -s conftest.err'
39724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39725 (eval $ac_try) 2>&5
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); }; } &&
39729 { ac_try
='test -s conftest$ac_exeext'
39730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39731 (eval $ac_try) 2>&5
39733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39734 (exit $ac_status); }; }; then
39735 eval "$as_ac_var=yes"
39737 echo "$as_me: failed program was:" >&5
39738 sed 's/^/| /' conftest.
$ac_ext >&5
39740 eval "$as_ac_var=no"
39742 rm -f conftest.err conftest.
$ac_objext \
39743 conftest
$ac_exeext conftest.
$ac_ext
39745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39747 if test `eval echo '${'$as_ac_var'}'` = yes; then
39748 cat >>confdefs.h
<<_ACEOF
39749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39752 cat >>confdefs.h
<<\_ACEOF
39753 #define HAVE_DLOPEN 1
39760 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39761 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39762 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39763 echo $ECHO_N "(cached) $ECHO_C" >&6
39765 ac_check_lib_save_LIBS
=$LIBS
39767 cat >conftest.
$ac_ext <<_ACEOF
39770 cat confdefs.h
>>conftest.
$ac_ext
39771 cat >>conftest.
$ac_ext <<_ACEOF
39772 /* end confdefs.h. */
39774 /* Override any gcc2 internal prototype to avoid an error. */
39778 /* We use char because int might match the return type of a gcc2
39779 builtin and then its argument prototype would still apply. */
39789 rm -f conftest.
$ac_objext conftest
$ac_exeext
39790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39791 (eval $ac_link) 2>conftest.er1
39793 grep -v '^ *+' conftest.er1
>conftest.err
39795 cat conftest.err
>&5
39796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797 (exit $ac_status); } &&
39798 { ac_try
='test -z "$ac_c_werror_flag"
39799 || test ! -s conftest.err'
39800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801 (eval $ac_try) 2>&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); }; } &&
39805 { ac_try
='test -s conftest$ac_exeext'
39806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807 (eval $ac_try) 2>&5
39809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 (exit $ac_status); }; }; then
39811 ac_cv_lib_dl_dlopen
=yes
39813 echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.
$ac_ext >&5
39816 ac_cv_lib_dl_dlopen
=no
39818 rm -f conftest.err conftest.
$ac_objext \
39819 conftest
$ac_exeext conftest.
$ac_ext
39820 LIBS
=$ac_check_lib_save_LIBS
39822 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39823 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39824 if test $ac_cv_lib_dl_dlopen = yes; then
39826 cat >>confdefs.h
<<\_ACEOF
39827 #define HAVE_DLOPEN 1
39831 DL_LINK
=" -ldl$DL_LINK"
39836 for ac_func
in shl_load
39838 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39839 echo "$as_me:$LINENO: checking for $ac_func" >&5
39840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39841 if eval "test \"\${$as_ac_var+set}\" = set"; then
39842 echo $ECHO_N "(cached) $ECHO_C" >&6
39844 cat >conftest.
$ac_ext <<_ACEOF
39847 cat confdefs.h
>>conftest.
$ac_ext
39848 cat >>conftest.
$ac_ext <<_ACEOF
39849 /* end confdefs.h. */
39850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39852 #define $ac_func innocuous_$ac_func
39854 /* System header to define __stub macros and hopefully few prototypes,
39855 which can conflict with char $ac_func (); below.
39856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39857 <limits.h> exists even on freestanding compilers. */
39860 # include <limits.h>
39862 # include <assert.h>
39867 /* Override any gcc2 internal prototype to avoid an error. */
39872 /* We use char because int might match the return type of a gcc2
39873 builtin and then its argument prototype would still apply. */
39875 /* The GNU C library defines this for functions which it implements
39876 to always fail with ENOSYS. Some functions are actually named
39877 something starting with __ and the normal name is an alias. */
39878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39881 char (*f) () = $ac_func;
39890 return f != $ac_func;
39895 rm -f conftest.
$ac_objext conftest
$ac_exeext
39896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39897 (eval $ac_link) 2>conftest.er1
39899 grep -v '^ *+' conftest.er1
>conftest.err
39901 cat conftest.err
>&5
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); } &&
39904 { ac_try
='test -z "$ac_c_werror_flag"
39905 || test ! -s conftest.err'
39906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39907 (eval $ac_try) 2>&5
39909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39910 (exit $ac_status); }; } &&
39911 { ac_try
='test -s conftest$ac_exeext'
39912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39913 (eval $ac_try) 2>&5
39915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39916 (exit $ac_status); }; }; then
39917 eval "$as_ac_var=yes"
39919 echo "$as_me: failed program was:" >&5
39920 sed 's/^/| /' conftest.
$ac_ext >&5
39922 eval "$as_ac_var=no"
39924 rm -f conftest.err conftest.
$ac_objext \
39925 conftest
$ac_exeext conftest.
$ac_ext
39927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39929 if test `eval echo '${'$as_ac_var'}'` = yes; then
39930 cat >>confdefs.h
<<_ACEOF
39931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39934 cat >>confdefs.h
<<\_ACEOF
39935 #define HAVE_SHL_LOAD 1
39942 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
39943 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
39944 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
39945 echo $ECHO_N "(cached) $ECHO_C" >&6
39947 ac_check_lib_save_LIBS
=$LIBS
39948 LIBS
="-lshl_load $LIBS"
39949 cat >conftest.
$ac_ext <<_ACEOF
39952 cat confdefs.h
>>conftest.
$ac_ext
39953 cat >>conftest.
$ac_ext <<_ACEOF
39954 /* end confdefs.h. */
39956 /* Override any gcc2 internal prototype to avoid an error. */
39960 /* We use char because int might match the return type of a gcc2
39961 builtin and then its argument prototype would still apply. */
39971 rm -f conftest.
$ac_objext conftest
$ac_exeext
39972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39973 (eval $ac_link) 2>conftest.er1
39975 grep -v '^ *+' conftest.er1
>conftest.err
39977 cat conftest.err
>&5
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); } &&
39980 { ac_try
='test -z "$ac_c_werror_flag"
39981 || test ! -s conftest.err'
39982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39983 (eval $ac_try) 2>&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); }; } &&
39987 { ac_try
='test -s conftest$ac_exeext'
39988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989 (eval $ac_try) 2>&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); }; }; then
39993 ac_cv_lib_shl_load_dld
=yes
39995 echo "$as_me: failed program was:" >&5
39996 sed 's/^/| /' conftest.
$ac_ext >&5
39998 ac_cv_lib_shl_load_dld
=no
40000 rm -f conftest.err conftest.
$ac_objext \
40001 conftest
$ac_exeext conftest.
$ac_ext
40002 LIBS
=$ac_check_lib_save_LIBS
40004 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40005 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40006 if test $ac_cv_lib_shl_load_dld = yes; then
40009 DL_LINK
=" -ldld$DL_LINK"
40025 if test "$HAVE_DL_FUNCS" = 1; then
40027 for ac_func
in dlerror
40029 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40030 echo "$as_me:$LINENO: checking for $ac_func" >&5
40031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40032 if eval "test \"\${$as_ac_var+set}\" = set"; then
40033 echo $ECHO_N "(cached) $ECHO_C" >&6
40035 cat >conftest.
$ac_ext <<_ACEOF
40038 cat confdefs.h
>>conftest.
$ac_ext
40039 cat >>conftest.
$ac_ext <<_ACEOF
40040 /* end confdefs.h. */
40041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40043 #define $ac_func innocuous_$ac_func
40045 /* System header to define __stub macros and hopefully few prototypes,
40046 which can conflict with char $ac_func (); below.
40047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40048 <limits.h> exists even on freestanding compilers. */
40051 # include <limits.h>
40053 # include <assert.h>
40058 /* Override any gcc2 internal prototype to avoid an error. */
40063 /* We use char because int might match the return type of a gcc2
40064 builtin and then its argument prototype would still apply. */
40066 /* The GNU C library defines this for functions which it implements
40067 to always fail with ENOSYS. Some functions are actually named
40068 something starting with __ and the normal name is an alias. */
40069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40072 char (*f) () = $ac_func;
40081 return f != $ac_func;
40086 rm -f conftest.
$ac_objext conftest
$ac_exeext
40087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40088 (eval $ac_link) 2>conftest.er1
40090 grep -v '^ *+' conftest.er1
>conftest.err
40092 cat conftest.err
>&5
40093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40094 (exit $ac_status); } &&
40095 { ac_try
='test -z "$ac_c_werror_flag"
40096 || test ! -s conftest.err'
40097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40098 (eval $ac_try) 2>&5
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); }; } &&
40102 { ac_try
='test -s conftest$ac_exeext'
40103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40104 (eval $ac_try) 2>&5
40106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40107 (exit $ac_status); }; }; then
40108 eval "$as_ac_var=yes"
40110 echo "$as_me: failed program was:" >&5
40111 sed 's/^/| /' conftest.
$ac_ext >&5
40113 eval "$as_ac_var=no"
40115 rm -f conftest.err conftest.
$ac_objext \
40116 conftest
$ac_exeext conftest.
$ac_ext
40118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40120 if test `eval echo '${'$as_ac_var'}'` = yes; then
40121 cat >>confdefs.h
<<_ACEOF
40122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40124 cat >>confdefs.h
<<\_ACEOF
40125 #define HAVE_DLERROR 1
40130 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40131 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40132 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40133 echo $ECHO_N "(cached) $ECHO_C" >&6
40135 ac_check_lib_save_LIBS
=$LIBS
40137 cat >conftest.
$ac_ext <<_ACEOF
40140 cat confdefs.h
>>conftest.
$ac_ext
40141 cat >>conftest.
$ac_ext <<_ACEOF
40142 /* end confdefs.h. */
40144 /* Override any gcc2 internal prototype to avoid an error. */
40148 /* We use char because int might match the return type of a gcc2
40149 builtin and then its argument prototype would still apply. */
40159 rm -f conftest.
$ac_objext conftest
$ac_exeext
40160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40161 (eval $ac_link) 2>conftest.er1
40163 grep -v '^ *+' conftest.er1
>conftest.err
40165 cat conftest.err
>&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); } &&
40168 { ac_try
='test -z "$ac_c_werror_flag"
40169 || test ! -s conftest.err'
40170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40171 (eval $ac_try) 2>&5
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); }; } &&
40175 { ac_try
='test -s conftest$ac_exeext'
40176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40177 (eval $ac_try) 2>&5
40179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40180 (exit $ac_status); }; }; then
40181 ac_cv_lib_dl_dlerror
=yes
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.
$ac_ext >&5
40186 ac_cv_lib_dl_dlerror
=no
40188 rm -f conftest.err conftest.
$ac_objext \
40189 conftest
$ac_exeext conftest.
$ac_ext
40190 LIBS
=$ac_check_lib_save_LIBS
40192 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40193 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40194 if test $ac_cv_lib_dl_dlerror = yes; then
40195 cat >>confdefs.h
<<\_ACEOF
40196 #define HAVE_DLERROR 1
40209 if test "$HAVE_DL_FUNCS" = 0; then
40210 if test "$HAVE_SHL_FUNCS" = 0; then
40211 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40212 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40213 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40214 wxUSE_DYNAMIC_LOADER
=no
40215 wxUSE_DYNLIB_CLASS
=no
40217 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40218 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40225 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40226 cat >>confdefs.h
<<\_ACEOF
40227 #define wxUSE_DYNAMIC_LOADER 1
40231 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40232 cat >>confdefs.h
<<\_ACEOF
40233 #define wxUSE_DYNLIB_CLASS 1
40240 if test "$wxUSE_PLUGINS" = "yes" ; then
40241 if test "$wxUSE_SHARED" = "no" ; then
40242 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40243 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40246 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40247 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40248 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40251 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40252 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40253 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40256 if test "$wxUSE_PLUGINS" = "yes" ; then
40257 cat >>confdefs.h
<<\_ACEOF
40258 #define wxUSE_PLUGINS 1
40265 if test "$wxUSE_STL" = "yes"; then
40266 cat >>confdefs.h
<<\_ACEOF
40267 #define wxUSE_STL 1
40272 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40273 cat >>confdefs.h
<<\_ACEOF
40274 #define wxUSE_APPLE_IEEE 1
40279 if test "$wxUSE_TIMER" = "yes"; then
40280 cat >>confdefs.h
<<\_ACEOF
40281 #define wxUSE_TIMER 1
40286 if test "$USE_UNIX" = "1" ; then
40287 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40288 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40289 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40290 echo $ECHO_N "(cached) $ECHO_C" >&6
40293 cat >conftest.
$ac_ext <<_ACEOF
40296 cat confdefs.h
>>conftest.
$ac_ext
40297 cat >>conftest.
$ac_ext <<_ACEOF
40298 /* end confdefs.h. */
40300 #include <sys/soundcard.h>
40306 ioctl(0, SNDCTL_DSP_SYNC, 0);
40312 rm -f conftest.
$ac_objext conftest
$ac_exeext
40313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40314 (eval $ac_link) 2>conftest.er1
40316 grep -v '^ *+' conftest.er1
>conftest.err
40318 cat conftest.err
>&5
40319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320 (exit $ac_status); } &&
40321 { ac_try
='test -z "$ac_c_werror_flag"
40322 || test ! -s conftest.err'
40323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40324 (eval $ac_try) 2>&5
40326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40327 (exit $ac_status); }; } &&
40328 { ac_try
='test -s conftest$ac_exeext'
40329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40330 (eval $ac_try) 2>&5
40332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40333 (exit $ac_status); }; }; then
40334 ac_cv_header_sys_soundcard
=yes
40336 echo "$as_me: failed program was:" >&5
40337 sed 's/^/| /' conftest.
$ac_ext >&5
40341 LIBS
="$saveLibs -lossaudio"
40342 cat >conftest.
$ac_ext <<_ACEOF
40345 cat confdefs.h
>>conftest.
$ac_ext
40346 cat >>conftest.
$ac_ext <<_ACEOF
40347 /* end confdefs.h. */
40349 #include <sys/soundcard.h>
40355 ioctl(0, SNDCTL_DSP_SYNC, 0);
40361 rm -f conftest.
$ac_objext conftest
$ac_exeext
40362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40363 (eval $ac_link) 2>conftest.er1
40365 grep -v '^ *+' conftest.er1
>conftest.err
40367 cat conftest.err
>&5
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); } &&
40370 { ac_try
='test -z "$ac_c_werror_flag"
40371 || test ! -s conftest.err'
40372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40373 (eval $ac_try) 2>&5
40375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40376 (exit $ac_status); }; } &&
40377 { ac_try
='test -s conftest$ac_exeext'
40378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40379 (eval $ac_try) 2>&5
40381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40382 (exit $ac_status); }; }; then
40383 ac_cv_header_sys_soundcard
=yes
40385 echo "$as_me: failed program was:" >&5
40386 sed 's/^/| /' conftest.
$ac_ext >&5
40390 ac_cv_header_sys_soundcard
=no
40394 rm -f conftest.err conftest.
$ac_objext \
40395 conftest
$ac_exeext conftest.
$ac_ext
40399 rm -f conftest.err conftest.
$ac_objext \
40400 conftest
$ac_exeext conftest.
$ac_ext
40403 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40404 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40406 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40407 cat >>confdefs.h
<<\_ACEOF
40408 #define HAVE_SYS_SOUNDCARD_H 1
40412 DISABLED_CONTRIB
="$DISABLED_CONTRIB mmedia"
40416 if test "$wxUSE_SOUND" = "yes"; then
40417 if test "$USE_UNIX" = "1" ; then
40418 if test "$wxUSE_LIBSDL" != "no"; then
40420 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40421 if test "${with_sdl_prefix+set}" = set; then
40422 withval
="$with_sdl_prefix"
40423 sdl_prefix
="$withval"
40428 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40429 if test "${with_sdl_exec_prefix+set}" = set; then
40430 withval
="$with_sdl_exec_prefix"
40431 sdl_exec_prefix
="$withval"
40435 # Check whether --enable-sdltest or --disable-sdltest was given.
40436 if test "${enable_sdltest+set}" = set; then
40437 enableval
="$enable_sdltest"
40443 if test x
$sdl_exec_prefix != x
; then
40444 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
40445 if test x
${SDL_CONFIG+set} != xset
; then
40446 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
40449 if test x
$sdl_prefix != x
; then
40450 sdl_args
="$sdl_args --prefix=$sdl_prefix"
40451 if test x
${SDL_CONFIG+set} != xset
; then
40452 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
40457 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
40458 # Extract the first word of "sdl-config", so it can be a program name with args.
40459 set dummy sdl
-config; ac_word
=$2
40460 echo "$as_me:$LINENO: checking for $ac_word" >&5
40461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40462 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40463 echo $ECHO_N "(cached) $ECHO_C" >&6
40465 case $SDL_CONFIG in
40467 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
40470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40471 for as_dir
in $PATH
40474 test -z "$as_dir" && as_dir
=.
40475 for ac_exec_ext
in '' $ac_executable_extensions; do
40476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40477 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40484 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
40488 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
40490 if test -n "$SDL_CONFIG"; then
40491 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40492 echo "${ECHO_T}$SDL_CONFIG" >&6
40494 echo "$as_me:$LINENO: result: no" >&5
40495 echo "${ECHO_T}no" >&6
40498 min_sdl_version
=1.2.0
40499 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40500 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40502 if test "$SDL_CONFIG" = "no" ; then
40505 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
40506 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
40508 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
40509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40510 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
40511 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40512 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
40513 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40514 if test "x$enable_sdltest" = "xyes" ; then
40515 ac_save_CFLAGS
="$CFLAGS"
40516 ac_save_CXXFLAGS
="$CXXFLAGS"
40517 ac_save_LIBS
="$LIBS"
40518 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40519 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40520 LIBS
="$LIBS $SDL_LIBS"
40522 if test "$cross_compiling" = yes; then
40523 echo $ac_n "cross compiling; assumed OK... $ac_c"
40525 cat >conftest.
$ac_ext <<_ACEOF
40528 cat confdefs.h
>>conftest.
$ac_ext
40529 cat >>conftest.
$ac_ext <<_ACEOF
40530 /* end confdefs.h. */
40533 #include <stdlib.h>
40534 #include <string.h>
40538 my_strdup (char *str)
40544 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40545 strcpy (new_str, str);
40553 int main (int argc, char *argv[])
40555 int major, minor, micro;
40558 /* This hangs on some systems (?)
40559 system ("touch conf.sdltest");
40561 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40563 /* HP/UX 9 (%@#!) writes to sscanf strings */
40564 tmp_version = my_strdup("$min_sdl_version");
40565 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40566 printf("%s, bad version string\n", "$min_sdl_version");
40570 if (($sdl_major_version > major) ||
40571 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40572 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40578 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40579 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40580 printf("*** best to upgrade to the required version.\n");
40581 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40582 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40583 printf("*** config.cache before re-running configure\n");
40590 rm -f conftest
$ac_exeext
40591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40592 (eval $ac_link) 2>&5
40594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40595 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
40596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40597 (eval $ac_try) 2>&5
40599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40600 (exit $ac_status); }; }; then
40603 echo "$as_me: program exited with status $ac_status" >&5
40604 echo "$as_me: failed program was:" >&5
40605 sed 's/^/| /' conftest.
$ac_ext >&5
40607 ( exit $ac_status )
40610 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
40612 CFLAGS
="$ac_save_CFLAGS"
40613 CXXFLAGS
="$ac_save_CXXFLAGS"
40614 LIBS
="$ac_save_LIBS"
40617 if test "x$no_sdl" = x
; then
40618 echo "$as_me:$LINENO: result: yes" >&5
40619 echo "${ECHO_T}yes" >&6
40621 EXTRALIBS_SDL
="$SDL_LIBS"
40622 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
40623 cat >>confdefs.h
<<\_ACEOF
40624 #define wxUSE_LIBSDL 1
40629 echo "$as_me:$LINENO: result: no" >&5
40630 echo "${ECHO_T}no" >&6
40631 if test "$SDL_CONFIG" = "no" ; then
40632 echo "*** The sdl-config script installed by SDL could not be found"
40633 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40634 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40635 echo "*** full path to sdl-config."
40637 if test -f conf.sdltest
; then
40640 echo "*** Could not run SDL test program, checking why..."
40641 CFLAGS
="$CFLAGS $SDL_CFLAGS"
40642 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
40643 LIBS
="$LIBS $SDL_LIBS"
40644 cat >conftest.
$ac_ext <<_ACEOF
40647 cat confdefs.h
>>conftest.
$ac_ext
40648 cat >>conftest.
$ac_ext <<_ACEOF
40649 /* end confdefs.h. */
40654 int main(int argc, char *argv[])
40657 #define main K_and_R_C_main
40667 rm -f conftest.
$ac_objext conftest
$ac_exeext
40668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40669 (eval $ac_link) 2>conftest.er1
40671 grep -v '^ *+' conftest.er1
>conftest.err
40673 cat conftest.err
>&5
40674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40675 (exit $ac_status); } &&
40676 { ac_try
='test -z "$ac_c_werror_flag"
40677 || test ! -s conftest.err'
40678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40679 (eval $ac_try) 2>&5
40681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40682 (exit $ac_status); }; } &&
40683 { ac_try
='test -s conftest$ac_exeext'
40684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40685 (eval $ac_try) 2>&5
40687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40688 (exit $ac_status); }; }; then
40689 echo "*** The test program compiled, but did not run. This usually means"
40690 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40691 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40692 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40693 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40694 echo "*** is required on your system"
40696 echo "*** If you have an old version installed, it is best to remove it, although"
40697 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40699 echo "$as_me: failed program was:" >&5
40700 sed 's/^/| /' conftest.
$ac_ext >&5
40702 echo "*** The test program failed to compile or link. See the file config.log for the"
40703 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40704 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40705 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40707 rm -f conftest.err conftest.
$ac_objext \
40708 conftest
$ac_exeext conftest.
$ac_ext
40709 CFLAGS
="$ac_save_CFLAGS"
40710 CXXFLAGS
="$ac_save_CXXFLAGS"
40711 LIBS
="$ac_save_LIBS"
40722 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40728 cat >>confdefs.h
<<\_ACEOF
40729 #define wxUSE_SOUND 1
40732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
40735 if test "$WXGTK20" = 1; then
40736 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40737 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40742 if test -z "$PKG_CONFIG"; then
40743 # Extract the first word of "pkg-config", so it can be a program name with args.
40744 set dummy pkg
-config; ac_word
=$2
40745 echo "$as_me:$LINENO: checking for $ac_word" >&5
40746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40747 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40748 echo $ECHO_N "(cached) $ECHO_C" >&6
40750 case $PKG_CONFIG in
40752 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40756 for as_dir
in $PATH
40759 test -z "$as_dir" && as_dir
=.
40760 for ac_exec_ext
in '' $ac_executable_extensions; do
40761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40762 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40769 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40773 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40775 if test -n "$PKG_CONFIG"; then
40776 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40777 echo "${ECHO_T}$PKG_CONFIG" >&6
40779 echo "$as_me:$LINENO: result: no" >&5
40780 echo "${ECHO_T}no" >&6
40785 if test "$PKG_CONFIG" = "no" ; then
40786 echo "*** The pkg-config script could not be found. Make sure it is"
40787 echo "*** in your path, or set the PKG_CONFIG environment variable"
40788 echo "*** to the full path to pkg-config."
40789 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40791 PKG_CONFIG_MIN_VERSION
=0.9.0
40792 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40793 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40794 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40796 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40797 echo "$as_me:$LINENO: result: yes" >&5
40798 echo "${ECHO_T}yes" >&6
40801 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40802 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40803 LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40804 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40805 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40807 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40808 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40809 LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40810 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40811 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40813 LIBGNOMEPRINTUI_CFLAGS
=""
40814 LIBGNOMEPRINTUI_LIBS
=""
40815 ## If we have a custom action on failure, don't print errors, but
40816 ## do set a variable so people can do so.
40817 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40824 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40825 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40829 if test $succeeded = yes; then
40831 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40832 cat >>confdefs.h
<<\_ACEOF
40833 #define wxUSE_LIBGNOMEPRINT 1
40839 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40840 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40841 wxUSE_LIBGNOMEPRINT
="no"
40850 if test "$WXGTK20" = 1; then
40851 if test "$wxUSE_LIBHILDON" = "yes" ; then
40855 if test -z "$PKG_CONFIG"; then
40856 # Extract the first word of "pkg-config", so it can be a program name with args.
40857 set dummy pkg
-config; ac_word
=$2
40858 echo "$as_me:$LINENO: checking for $ac_word" >&5
40859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40860 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40861 echo $ECHO_N "(cached) $ECHO_C" >&6
40863 case $PKG_CONFIG in
40865 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
40868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40869 for as_dir
in $PATH
40872 test -z "$as_dir" && as_dir
=.
40873 for ac_exec_ext
in '' $ac_executable_extensions; do
40874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40875 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40882 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
40886 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
40888 if test -n "$PKG_CONFIG"; then
40889 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40890 echo "${ECHO_T}$PKG_CONFIG" >&6
40892 echo "$as_me:$LINENO: result: no" >&5
40893 echo "${ECHO_T}no" >&6
40898 if test "$PKG_CONFIG" = "no" ; then
40899 echo "*** The pkg-config script could not be found. Make sure it is"
40900 echo "*** in your path, or set the PKG_CONFIG environment variable"
40901 echo "*** to the full path to pkg-config."
40902 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40904 PKG_CONFIG_MIN_VERSION
=0.9.0
40905 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40906 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
40907 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
40909 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
40910 echo "$as_me:$LINENO: result: yes" >&5
40911 echo "${ECHO_T}yes" >&6
40914 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
40915 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
40916 HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
40917 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
40918 echo "${ECHO_T}$HILDON_CFLAGS" >&6
40920 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
40921 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
40922 HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
40923 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
40924 echo "${ECHO_T}$HILDON_LIBS" >&6
40928 ## If we have a custom action on failure, don't print errors, but
40929 ## do set a variable so people can do so.
40930 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
40937 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40938 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40942 if test $succeeded = yes; then
40944 EXTRALIBS_HILDON
="$HILDON_LIBS"
40945 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
40946 cat >>confdefs.h
<<\_ACEOF
40947 #define wxUSE_LIBHILDON 1
40953 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
40954 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
40955 wxUSE_LIBHILDON
="no"
40963 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
40964 cat >>confdefs.h
<<\_ACEOF
40965 #define wxUSE_CMDLINE_PARSER 1
40970 if test "$wxUSE_STOPWATCH" = "yes"; then
40971 cat >>confdefs.h
<<\_ACEOF
40972 #define wxUSE_STOPWATCH 1
40977 if test "$wxUSE_DATETIME" = "yes"; then
40978 cat >>confdefs.h
<<\_ACEOF
40979 #define wxUSE_DATETIME 1
40984 if test "$wxUSE_FILE" = "yes"; then
40985 cat >>confdefs.h
<<\_ACEOF
40986 #define wxUSE_FILE 1
40991 if test "$wxUSE_FFILE" = "yes"; then
40992 cat >>confdefs.h
<<\_ACEOF
40993 #define wxUSE_FFILE 1
40998 if test "$wxUSE_FILESYSTEM" = "yes"; then
40999 cat >>confdefs.h
<<\_ACEOF
41000 #define wxUSE_FILESYSTEM 1
41005 if test "$wxUSE_FS_ZIP" = "yes"; then
41006 cat >>confdefs.h
<<\_ACEOF
41007 #define wxUSE_FS_ZIP 1
41012 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41013 cat >>confdefs.h
<<\_ACEOF
41014 #define wxUSE_ARCHIVE_STREAMS 1
41019 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41020 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41021 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41022 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41023 elif test "$wxUSE_ZLIB" = "no"; then
41024 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41025 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41027 cat >>confdefs.h
<<\_ACEOF
41028 #define wxUSE_ZIPSTREAM 1
41034 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41035 if test "$USE_UNIX" != 1; then
41036 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41037 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41038 wxUSE_ON_FATAL_EXCEPTION
=no
41040 cat >>confdefs.h
<<\_ACEOF
41041 #define wxUSE_ON_FATAL_EXCEPTION 1
41047 if test "$wxUSE_STACKWALKER" = "yes"; then
41048 cat >>confdefs.h
<<\_ACEOF
41049 #define wxUSE_STACKWALKER 1
41054 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41055 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41056 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41057 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41058 wxUSE_DEBUGREPORT
=no
41060 cat >>confdefs.h
<<\_ACEOF
41061 #define wxUSE_DEBUGREPORT 1
41064 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
41070 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41071 cat >>confdefs.h
<<\_ACEOF
41072 #define wxUSE_SNGLINST_CHECKER 1
41077 if test "$wxUSE_BUSYINFO" = "yes"; then
41078 cat >>confdefs.h
<<\_ACEOF
41079 #define wxUSE_BUSYINFO 1
41084 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41085 cat >>confdefs.h
<<\_ACEOF
41086 #define wxUSE_STD_IOSTREAM 1
41091 if test "$wxUSE_STD_STRING" = "yes"; then
41092 cat >>confdefs.h
<<\_ACEOF
41093 #define wxUSE_STD_STRING 1
41098 if test "$wxUSE_STDPATHS" = "yes"; then
41099 cat >>confdefs.h
<<\_ACEOF
41100 #define wxUSE_STDPATHS 1
41105 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41106 cat >>confdefs.h
<<\_ACEOF
41107 #define wxUSE_TEXTBUFFER 1
41112 if test "$wxUSE_TEXTFILE" = "yes"; then
41113 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41114 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41115 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41117 cat >>confdefs.h
<<\_ACEOF
41118 #define wxUSE_TEXTFILE 1
41124 if test "$wxUSE_CONFIG" = "yes" ; then
41125 if test "$wxUSE_TEXTFILE" != "yes"; then
41126 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41127 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41129 cat >>confdefs.h
<<\_ACEOF
41130 #define wxUSE_CONFIG 1
41133 cat >>confdefs.h
<<\_ACEOF
41134 #define wxUSE_CONFIG_NATIVE 1
41137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
41141 if test "$wxUSE_INTL" = "yes" ; then
41142 if test "$wxUSE_FILE" != "yes"; then
41143 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41144 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41146 cat >>confdefs.h
<<\_ACEOF
41147 #define wxUSE_INTL 1
41150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
41151 GUIDIST
="$GUIDIST INTL_DIST"
41155 if test "$wxUSE_LOG" = "yes"; then
41156 cat >>confdefs.h
<<\_ACEOF
41157 #define wxUSE_LOG 1
41161 if test "$wxUSE_LOGGUI" = "yes"; then
41162 cat >>confdefs.h
<<\_ACEOF
41163 #define wxUSE_LOGGUI 1
41168 if test "$wxUSE_LOGWINDOW" = "yes"; then
41169 cat >>confdefs.h
<<\_ACEOF
41170 #define wxUSE_LOGWINDOW 1
41175 if test "$wxUSE_LOGDIALOG" = "yes"; then
41176 cat >>confdefs.h
<<\_ACEOF
41177 #define wxUSE_LOG_DIALOG 1
41182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
41185 if test "$wxUSE_LONGLONG" = "yes"; then
41186 cat >>confdefs.h
<<\_ACEOF
41187 #define wxUSE_LONGLONG 1
41192 if test "$wxUSE_GEOMETRY" = "yes"; then
41193 cat >>confdefs.h
<<\_ACEOF
41194 #define wxUSE_GEOMETRY 1
41199 if test "$wxUSE_STREAMS" = "yes" ; then
41200 cat >>confdefs.h
<<\_ACEOF
41201 #define wxUSE_STREAMS 1
41207 if test "$wxUSE_DATETIME" = "yes"; then
41209 for ac_func
in strptime
41211 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41212 echo "$as_me:$LINENO: checking for $ac_func" >&5
41213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41214 if eval "test \"\${$as_ac_var+set}\" = set"; then
41215 echo $ECHO_N "(cached) $ECHO_C" >&6
41217 cat >conftest.
$ac_ext <<_ACEOF
41220 cat confdefs.h
>>conftest.
$ac_ext
41221 cat >>conftest.
$ac_ext <<_ACEOF
41222 /* end confdefs.h. */
41223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41225 #define $ac_func innocuous_$ac_func
41227 /* System header to define __stub macros and hopefully few prototypes,
41228 which can conflict with char $ac_func (); below.
41229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41230 <limits.h> exists even on freestanding compilers. */
41233 # include <limits.h>
41235 # include <assert.h>
41240 /* Override any gcc2 internal prototype to avoid an error. */
41245 /* We use char because int might match the return type of a gcc2
41246 builtin and then its argument prototype would still apply. */
41248 /* The GNU C library defines this for functions which it implements
41249 to always fail with ENOSYS. Some functions are actually named
41250 something starting with __ and the normal name is an alias. */
41251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41254 char (*f) () = $ac_func;
41263 return f != $ac_func;
41268 rm -f conftest.
$ac_objext conftest
$ac_exeext
41269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41270 (eval $ac_link) 2>conftest.er1
41272 grep -v '^ *+' conftest.er1
>conftest.err
41274 cat conftest.err
>&5
41275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41276 (exit $ac_status); } &&
41277 { ac_try
='test -z "$ac_c_werror_flag"
41278 || test ! -s conftest.err'
41279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41280 (eval $ac_try) 2>&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); }; } &&
41284 { ac_try
='test -s conftest$ac_exeext'
41285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41286 (eval $ac_try) 2>&5
41288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41289 (exit $ac_status); }; }; then
41290 eval "$as_ac_var=yes"
41292 echo "$as_me: failed program was:" >&5
41293 sed 's/^/| /' conftest.
$ac_ext >&5
41295 eval "$as_ac_var=no"
41297 rm -f conftest.err conftest.
$ac_objext \
41298 conftest
$ac_exeext conftest.
$ac_ext
41300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41302 if test `eval echo '${'$as_ac_var'}'` = yes; then
41303 cat >>confdefs.h
<<_ACEOF
41304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41310 if test "$ac_cv_func_strptime" = "yes"; then
41311 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41312 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41313 if test "${wx_cv_func_strptime_decl+set}" = set; then
41314 echo $ECHO_N "(cached) $ECHO_C" >&6
41320 ac_cpp
='$CXXCPP $CPPFLAGS'
41321 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41322 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41323 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41325 cat >conftest.
$ac_ext <<_ACEOF
41328 cat confdefs.h
>>conftest.
$ac_ext
41329 cat >>conftest.
$ac_ext <<_ACEOF
41330 /* end confdefs.h. */
41339 strptime("foo", "bar", &t);
41345 rm -f conftest.
$ac_objext
41346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41347 (eval $ac_compile) 2>conftest.er1
41349 grep -v '^ *+' conftest.er1
>conftest.err
41351 cat conftest.err
>&5
41352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41353 (exit $ac_status); } &&
41354 { ac_try
='test -z "$ac_cxx_werror_flag"
41355 || test ! -s conftest.err'
41356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41357 (eval $ac_try) 2>&5
41359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41360 (exit $ac_status); }; } &&
41361 { ac_try
='test -s conftest.$ac_objext'
41362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41363 (eval $ac_try) 2>&5
41365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41366 (exit $ac_status); }; }; then
41367 wx_cv_func_strptime_decl
=yes
41369 echo "$as_me: failed program was:" >&5
41370 sed 's/^/| /' conftest.
$ac_ext >&5
41372 wx_cv_func_strptime_decl
=no
41375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41377 ac_cpp
='$CPP $CPPFLAGS'
41378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41385 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41386 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41388 if test "$wx_cv_func_strptime_decl" = "yes"; then
41389 cat >>confdefs.h
<<\_ACEOF
41390 #define HAVE_STRPTIME_DECL 1
41395 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41396 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41397 if test "${wx_cv_var_timezone+set}" = set; then
41398 echo $ECHO_N "(cached) $ECHO_C" >&6
41401 cat >conftest.
$ac_ext <<_ACEOF
41404 cat confdefs.h
>>conftest.
$ac_ext
41405 cat >>conftest.
$ac_ext <<_ACEOF
41406 /* end confdefs.h. */
41421 rm -f conftest.
$ac_objext
41422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41423 (eval $ac_compile) 2>conftest.er1
41425 grep -v '^ *+' conftest.er1
>conftest.err
41427 cat conftest.err
>&5
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); } &&
41430 { ac_try
='test -z "$ac_c_werror_flag"
41431 || test ! -s conftest.err'
41432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41433 (eval $ac_try) 2>&5
41435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41436 (exit $ac_status); }; } &&
41437 { ac_try
='test -s conftest.$ac_objext'
41438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41439 (eval $ac_try) 2>&5
41441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41442 (exit $ac_status); }; }; then
41444 wx_cv_var_timezone
=timezone
41447 echo "$as_me: failed program was:" >&5
41448 sed 's/^/| /' conftest.
$ac_ext >&5
41451 cat >conftest.
$ac_ext <<_ACEOF
41454 cat confdefs.h
>>conftest.
$ac_ext
41455 cat >>conftest.
$ac_ext <<_ACEOF
41456 /* end confdefs.h. */
41471 rm -f conftest.
$ac_objext
41472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41473 (eval $ac_compile) 2>conftest.er1
41475 grep -v '^ *+' conftest.er1
>conftest.err
41477 cat conftest.err
>&5
41478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479 (exit $ac_status); } &&
41480 { ac_try
='test -z "$ac_c_werror_flag"
41481 || test ! -s conftest.err'
41482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41483 (eval $ac_try) 2>&5
41485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41486 (exit $ac_status); }; } &&
41487 { ac_try
='test -s conftest.$ac_objext'
41488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41489 (eval $ac_try) 2>&5
41491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41492 (exit $ac_status); }; }; then
41494 wx_cv_var_timezone
=_timezone
41497 echo "$as_me: failed program was:" >&5
41498 sed 's/^/| /' conftest.
$ac_ext >&5
41501 cat >conftest.
$ac_ext <<_ACEOF
41504 cat confdefs.h
>>conftest.
$ac_ext
41505 cat >>conftest.
$ac_ext <<_ACEOF
41506 /* end confdefs.h. */
41521 rm -f conftest.
$ac_objext
41522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41523 (eval $ac_compile) 2>conftest.er1
41525 grep -v '^ *+' conftest.er1
>conftest.err
41527 cat conftest.err
>&5
41528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529 (exit $ac_status); } &&
41530 { ac_try
='test -z "$ac_c_werror_flag"
41531 || test ! -s conftest.err'
41532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41533 (eval $ac_try) 2>&5
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); }; } &&
41537 { ac_try
='test -s conftest.$ac_objext'
41538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41539 (eval $ac_try) 2>&5
41541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41542 (exit $ac_status); }; }; then
41544 wx_cv_var_timezone
=__timezone
41547 echo "$as_me: failed program was:" >&5
41548 sed 's/^/| /' conftest.
$ac_ext >&5
41551 if test "$USE_DOS" = 0 ; then
41552 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41553 echo "$as_me: WARNING: no timezone variable" >&2;}
41558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41570 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41571 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41573 if test "x$wx_cv_var_timezone" != x
; then
41574 cat >>confdefs.h
<<_ACEOF
41575 #define WX_TIMEZONE $wx_cv_var_timezone
41581 for ac_func
in localtime
41583 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41584 echo "$as_me:$LINENO: checking for $ac_func" >&5
41585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41586 if eval "test \"\${$as_ac_var+set}\" = set"; then
41587 echo $ECHO_N "(cached) $ECHO_C" >&6
41589 cat >conftest.
$ac_ext <<_ACEOF
41592 cat confdefs.h
>>conftest.
$ac_ext
41593 cat >>conftest.
$ac_ext <<_ACEOF
41594 /* end confdefs.h. */
41595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41597 #define $ac_func innocuous_$ac_func
41599 /* System header to define __stub macros and hopefully few prototypes,
41600 which can conflict with char $ac_func (); below.
41601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41602 <limits.h> exists even on freestanding compilers. */
41605 # include <limits.h>
41607 # include <assert.h>
41612 /* Override any gcc2 internal prototype to avoid an error. */
41617 /* We use char because int might match the return type of a gcc2
41618 builtin and then its argument prototype would still apply. */
41620 /* The GNU C library defines this for functions which it implements
41621 to always fail with ENOSYS. Some functions are actually named
41622 something starting with __ and the normal name is an alias. */
41623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41626 char (*f) () = $ac_func;
41635 return f != $ac_func;
41640 rm -f conftest.
$ac_objext conftest
$ac_exeext
41641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41642 (eval $ac_link) 2>conftest.er1
41644 grep -v '^ *+' conftest.er1
>conftest.err
41646 cat conftest.err
>&5
41647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41648 (exit $ac_status); } &&
41649 { ac_try
='test -z "$ac_c_werror_flag"
41650 || test ! -s conftest.err'
41651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41652 (eval $ac_try) 2>&5
41654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655 (exit $ac_status); }; } &&
41656 { ac_try
='test -s conftest$ac_exeext'
41657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41658 (eval $ac_try) 2>&5
41660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41661 (exit $ac_status); }; }; then
41662 eval "$as_ac_var=yes"
41664 echo "$as_me: failed program was:" >&5
41665 sed 's/^/| /' conftest.
$ac_ext >&5
41667 eval "$as_ac_var=no"
41669 rm -f conftest.err conftest.
$ac_objext \
41670 conftest
$ac_exeext conftest.
$ac_ext
41672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41674 if test `eval echo '${'$as_ac_var'}'` = yes; then
41675 cat >>confdefs.h
<<_ACEOF
41676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41683 if test "$ac_cv_func_localtime" = "yes"; then
41684 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41685 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41686 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41687 echo $ECHO_N "(cached) $ECHO_C" >&6
41690 cat >conftest.
$ac_ext <<_ACEOF
41693 cat confdefs.h
>>conftest.
$ac_ext
41694 cat >>conftest.
$ac_ext <<_ACEOF
41695 /* end confdefs.h. */
41710 rm -f conftest.
$ac_objext
41711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41712 (eval $ac_compile) 2>conftest.er1
41714 grep -v '^ *+' conftest.er1
>conftest.err
41716 cat conftest.err
>&5
41717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41718 (exit $ac_status); } &&
41719 { ac_try
='test -z "$ac_c_werror_flag"
41720 || test ! -s conftest.err'
41721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41722 (eval $ac_try) 2>&5
41724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41725 (exit $ac_status); }; } &&
41726 { ac_try
='test -s conftest.$ac_objext'
41727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41728 (eval $ac_try) 2>&5
41730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41731 (exit $ac_status); }; }; then
41733 wx_cv_struct_tm_has_gmtoff
=yes
41736 echo "$as_me: failed program was:" >&5
41737 sed 's/^/| /' conftest.
$ac_ext >&5
41739 wx_cv_struct_tm_has_gmtoff
=no
41742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41745 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41746 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41749 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41750 cat >>confdefs.h
<<\_ACEOF
41751 #define WX_GMTOFF_IN_TM 1
41758 for ac_func
in gettimeofday ftime
41760 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41761 echo "$as_me:$LINENO: checking for $ac_func" >&5
41762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41763 if eval "test \"\${$as_ac_var+set}\" = set"; then
41764 echo $ECHO_N "(cached) $ECHO_C" >&6
41766 cat >conftest.
$ac_ext <<_ACEOF
41769 cat confdefs.h
>>conftest.
$ac_ext
41770 cat >>conftest.
$ac_ext <<_ACEOF
41771 /* end confdefs.h. */
41772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41774 #define $ac_func innocuous_$ac_func
41776 /* System header to define __stub macros and hopefully few prototypes,
41777 which can conflict with char $ac_func (); below.
41778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41779 <limits.h> exists even on freestanding compilers. */
41782 # include <limits.h>
41784 # include <assert.h>
41789 /* Override any gcc2 internal prototype to avoid an error. */
41794 /* We use char because int might match the return type of a gcc2
41795 builtin and then its argument prototype would still apply. */
41797 /* The GNU C library defines this for functions which it implements
41798 to always fail with ENOSYS. Some functions are actually named
41799 something starting with __ and the normal name is an alias. */
41800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41803 char (*f) () = $ac_func;
41812 return f != $ac_func;
41817 rm -f conftest.
$ac_objext conftest
$ac_exeext
41818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41819 (eval $ac_link) 2>conftest.er1
41821 grep -v '^ *+' conftest.er1
>conftest.err
41823 cat conftest.err
>&5
41824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825 (exit $ac_status); } &&
41826 { ac_try
='test -z "$ac_c_werror_flag"
41827 || test ! -s conftest.err'
41828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41829 (eval $ac_try) 2>&5
41831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41832 (exit $ac_status); }; } &&
41833 { ac_try
='test -s conftest$ac_exeext'
41834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41835 (eval $ac_try) 2>&5
41837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41838 (exit $ac_status); }; }; then
41839 eval "$as_ac_var=yes"
41841 echo "$as_me: failed program was:" >&5
41842 sed 's/^/| /' conftest.
$ac_ext >&5
41844 eval "$as_ac_var=no"
41846 rm -f conftest.err conftest.
$ac_objext \
41847 conftest
$ac_exeext conftest.
$ac_ext
41849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41851 if test `eval echo '${'$as_ac_var'}'` = yes; then
41852 cat >>confdefs.h
<<_ACEOF
41853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41860 if test "$ac_cv_func_gettimeofday" = "yes"; then
41861 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
41862 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
41863 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
41864 echo $ECHO_N "(cached) $ECHO_C" >&6
41870 ac_cpp
='$CXXCPP $CPPFLAGS'
41871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41876 cat >conftest.
$ac_ext <<_ACEOF
41879 cat confdefs.h
>>conftest.
$ac_ext
41880 cat >>conftest.
$ac_ext <<_ACEOF
41881 /* end confdefs.h. */
41883 #include <sys/time.h>
41884 #include <unistd.h>
41891 gettimeofday(&tv, NULL);
41897 rm -f conftest.
$ac_objext
41898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41899 (eval $ac_compile) 2>conftest.er1
41901 grep -v '^ *+' conftest.er1
>conftest.err
41903 cat conftest.err
>&5
41904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41905 (exit $ac_status); } &&
41906 { ac_try
='test -z "$ac_cxx_werror_flag"
41907 || test ! -s conftest.err'
41908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41909 (eval $ac_try) 2>&5
41911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41912 (exit $ac_status); }; } &&
41913 { ac_try
='test -s conftest.$ac_objext'
41914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41915 (eval $ac_try) 2>&5
41917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41918 (exit $ac_status); }; }; then
41919 wx_cv_func_gettimeofday_has_2_args
=yes
41921 echo "$as_me: failed program was:" >&5
41922 sed 's/^/| /' conftest.
$ac_ext >&5
41924 cat >conftest.
$ac_ext <<_ACEOF
41927 cat confdefs.h
>>conftest.
$ac_ext
41928 cat >>conftest.
$ac_ext <<_ACEOF
41929 /* end confdefs.h. */
41931 #include <sys/time.h>
41932 #include <unistd.h>
41945 rm -f conftest.
$ac_objext
41946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41947 (eval $ac_compile) 2>conftest.er1
41949 grep -v '^ *+' conftest.er1
>conftest.err
41951 cat conftest.err
>&5
41952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953 (exit $ac_status); } &&
41954 { ac_try
='test -z "$ac_cxx_werror_flag"
41955 || test ! -s conftest.err'
41956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41957 (eval $ac_try) 2>&5
41959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41960 (exit $ac_status); }; } &&
41961 { ac_try
='test -s conftest.$ac_objext'
41962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41963 (eval $ac_try) 2>&5
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); }; }; then
41967 wx_cv_func_gettimeofday_has_2_args
=no
41969 echo "$as_me: failed program was:" >&5
41970 sed 's/^/| /' conftest.
$ac_ext >&5
41973 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
41974 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
41975 wx_cv_func_gettimeofday_has_2_args
=unknown
41979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
41984 ac_cpp
='$CPP $CPPFLAGS'
41985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41991 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
41992 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
41994 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
41995 cat >>confdefs.h
<<\_ACEOF
41996 #define WX_GETTIMEOFDAY_NO_TZ 1
42002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
42006 if test "$wxUSE_SOCKETS" = "yes"; then
42007 if test "$wxUSE_MGL" = "1"; then
42008 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42009 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42014 if test "$wxUSE_SOCKETS" = "yes"; then
42015 if test "$TOOLKIT" != "MSW"; then
42016 echo "$as_me:$LINENO: checking for socket" >&5
42017 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42018 if test "${ac_cv_func_socket+set}" = set; then
42019 echo $ECHO_N "(cached) $ECHO_C" >&6
42021 cat >conftest.
$ac_ext <<_ACEOF
42024 cat confdefs.h
>>conftest.
$ac_ext
42025 cat >>conftest.
$ac_ext <<_ACEOF
42026 /* end confdefs.h. */
42027 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42029 #define socket innocuous_socket
42031 /* System header to define __stub macros and hopefully few prototypes,
42032 which can conflict with char socket (); below.
42033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42034 <limits.h> exists even on freestanding compilers. */
42037 # include <limits.h>
42039 # include <assert.h>
42044 /* Override any gcc2 internal prototype to avoid an error. */
42049 /* We use char because int might match the return type of a gcc2
42050 builtin and then its argument prototype would still apply. */
42052 /* The GNU C library defines this for functions which it implements
42053 to always fail with ENOSYS. Some functions are actually named
42054 something starting with __ and the normal name is an alias. */
42055 #if defined (__stub_socket) || defined (__stub___socket)
42058 char (*f) () = socket;
42067 return f != socket;
42072 rm -f conftest.
$ac_objext conftest
$ac_exeext
42073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42074 (eval $ac_link) 2>conftest.er1
42076 grep -v '^ *+' conftest.er1
>conftest.err
42078 cat conftest.err
>&5
42079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42080 (exit $ac_status); } &&
42081 { ac_try
='test -z "$ac_c_werror_flag"
42082 || test ! -s conftest.err'
42083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42084 (eval $ac_try) 2>&5
42086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42087 (exit $ac_status); }; } &&
42088 { ac_try
='test -s conftest$ac_exeext'
42089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42090 (eval $ac_try) 2>&5
42092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42093 (exit $ac_status); }; }; then
42094 ac_cv_func_socket
=yes
42096 echo "$as_me: failed program was:" >&5
42097 sed 's/^/| /' conftest.
$ac_ext >&5
42099 ac_cv_func_socket
=no
42101 rm -f conftest.err conftest.
$ac_objext \
42102 conftest
$ac_exeext conftest.
$ac_ext
42104 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42105 echo "${ECHO_T}$ac_cv_func_socket" >&6
42106 if test $ac_cv_func_socket = yes; then
42110 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42111 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42112 if test "${ac_cv_lib_socket_socket+set}" = set; then
42113 echo $ECHO_N "(cached) $ECHO_C" >&6
42115 ac_check_lib_save_LIBS
=$LIBS
42116 LIBS
="-lsocket $LIBS"
42117 cat >conftest.
$ac_ext <<_ACEOF
42120 cat confdefs.h
>>conftest.
$ac_ext
42121 cat >>conftest.
$ac_ext <<_ACEOF
42122 /* end confdefs.h. */
42124 /* Override any gcc2 internal prototype to avoid an error. */
42128 /* We use char because int might match the return type of a gcc2
42129 builtin and then its argument prototype would still apply. */
42139 rm -f conftest.
$ac_objext conftest
$ac_exeext
42140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42141 (eval $ac_link) 2>conftest.er1
42143 grep -v '^ *+' conftest.er1
>conftest.err
42145 cat conftest.err
>&5
42146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42147 (exit $ac_status); } &&
42148 { ac_try
='test -z "$ac_c_werror_flag"
42149 || test ! -s conftest.err'
42150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42151 (eval $ac_try) 2>&5
42153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42154 (exit $ac_status); }; } &&
42155 { ac_try
='test -s conftest$ac_exeext'
42156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42157 (eval $ac_try) 2>&5
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); }; }; then
42161 ac_cv_lib_socket_socket
=yes
42163 echo "$as_me: failed program was:" >&5
42164 sed 's/^/| /' conftest.
$ac_ext >&5
42166 ac_cv_lib_socket_socket
=no
42168 rm -f conftest.err conftest.
$ac_objext \
42169 conftest
$ac_exeext conftest.
$ac_ext
42170 LIBS
=$ac_check_lib_save_LIBS
42172 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42173 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42174 if test $ac_cv_lib_socket_socket = yes; then
42175 if test "$INET_LINK" != " -lsocket"; then
42176 INET_LINK
="$INET_LINK -lsocket"
42180 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42181 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42194 if test "$wxUSE_SOCKETS" = "yes" ; then
42195 if test "$TOOLKIT" != "MSW"; then
42197 ac_cpp
='$CXXCPP $CPPFLAGS'
42198 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42199 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42200 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42202 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42203 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42204 if test "${wx_cv_type_getsockname3+set}" = set; then
42205 echo $ECHO_N "(cached) $ECHO_C" >&6
42208 cat >conftest.
$ac_ext <<_ACEOF
42211 cat confdefs.h
>>conftest.
$ac_ext
42212 cat >>conftest.
$ac_ext <<_ACEOF
42213 /* end confdefs.h. */
42215 #include <sys/types.h>
42216 #include <sys/socket.h>
42223 getsockname(0, 0, &len);
42229 rm -f conftest.
$ac_objext
42230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42231 (eval $ac_compile) 2>conftest.er1
42233 grep -v '^ *+' conftest.er1
>conftest.err
42235 cat conftest.err
>&5
42236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237 (exit $ac_status); } &&
42238 { ac_try
='test -z "$ac_cxx_werror_flag"
42239 || test ! -s conftest.err'
42240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42241 (eval $ac_try) 2>&5
42243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244 (exit $ac_status); }; } &&
42245 { ac_try
='test -s conftest.$ac_objext'
42246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42247 (eval $ac_try) 2>&5
42249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42250 (exit $ac_status); }; }; then
42251 wx_cv_type_getsockname3
=socklen_t
42253 echo "$as_me: failed program was:" >&5
42254 sed 's/^/| /' conftest.
$ac_ext >&5
42257 CXXFLAGS_OLD
="$CXXFLAGS"
42258 if test "$GCC" = yes ; then
42259 CXXFLAGS
="-Werror $CXXFLAGS"
42262 cat >conftest.
$ac_ext <<_ACEOF
42265 cat confdefs.h
>>conftest.
$ac_ext
42266 cat >>conftest.
$ac_ext <<_ACEOF
42267 /* end confdefs.h. */
42269 #include <sys/types.h>
42270 #include <sys/socket.h>
42277 getsockname(0, 0, &len);
42283 rm -f conftest.
$ac_objext
42284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42285 (eval $ac_compile) 2>conftest.er1
42287 grep -v '^ *+' conftest.er1
>conftest.err
42289 cat conftest.err
>&5
42290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42291 (exit $ac_status); } &&
42292 { ac_try
='test -z "$ac_cxx_werror_flag"
42293 || test ! -s conftest.err'
42294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42295 (eval $ac_try) 2>&5
42297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42298 (exit $ac_status); }; } &&
42299 { ac_try
='test -s conftest.$ac_objext'
42300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42301 (eval $ac_try) 2>&5
42303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42304 (exit $ac_status); }; }; then
42305 wx_cv_type_getsockname3
=size_t
42307 echo "$as_me: failed program was:" >&5
42308 sed 's/^/| /' conftest.
$ac_ext >&5
42310 cat >conftest.
$ac_ext <<_ACEOF
42313 cat confdefs.h
>>conftest.
$ac_ext
42314 cat >>conftest.
$ac_ext <<_ACEOF
42315 /* end confdefs.h. */
42317 #include <sys/types.h>
42318 #include <sys/socket.h>
42325 getsockname(0, 0, &len);
42331 rm -f conftest.
$ac_objext
42332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42333 (eval $ac_compile) 2>conftest.er1
42335 grep -v '^ *+' conftest.er1
>conftest.err
42337 cat conftest.err
>&5
42338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42339 (exit $ac_status); } &&
42340 { ac_try
='test -z "$ac_cxx_werror_flag"
42341 || test ! -s conftest.err'
42342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42343 (eval $ac_try) 2>&5
42345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346 (exit $ac_status); }; } &&
42347 { ac_try
='test -s conftest.$ac_objext'
42348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42349 (eval $ac_try) 2>&5
42351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42352 (exit $ac_status); }; }; then
42353 wx_cv_type_getsockname3
=int
42355 echo "$as_me: failed program was:" >&5
42356 sed 's/^/| /' conftest.
$ac_ext >&5
42358 wx_cv_type_getsockname3
=unknown
42361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42366 CXXFLAGS
="$CXXFLAGS_OLD"
42370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42373 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42374 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42376 if test "$wx_cv_type_getsockname3" = "unknown"; then
42378 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42379 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42381 cat >>confdefs.h
<<_ACEOF
42382 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42386 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42387 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42388 if test "${wx_cv_type_getsockopt5+set}" = set; then
42389 echo $ECHO_N "(cached) $ECHO_C" >&6
42392 cat >conftest.
$ac_ext <<_ACEOF
42395 cat confdefs.h
>>conftest.
$ac_ext
42396 cat >>conftest.
$ac_ext <<_ACEOF
42397 /* end confdefs.h. */
42399 #include <sys/types.h>
42400 #include <sys/socket.h>
42407 getsockopt(0, 0, 0, 0, &len);
42413 rm -f conftest.
$ac_objext
42414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42415 (eval $ac_compile) 2>conftest.er1
42417 grep -v '^ *+' conftest.er1
>conftest.err
42419 cat conftest.err
>&5
42420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42421 (exit $ac_status); } &&
42422 { ac_try
='test -z "$ac_cxx_werror_flag"
42423 || test ! -s conftest.err'
42424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42425 (eval $ac_try) 2>&5
42427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42428 (exit $ac_status); }; } &&
42429 { ac_try
='test -s conftest.$ac_objext'
42430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42431 (eval $ac_try) 2>&5
42433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42434 (exit $ac_status); }; }; then
42435 wx_cv_type_getsockopt5
=socklen_t
42437 echo "$as_me: failed program was:" >&5
42438 sed 's/^/| /' conftest.
$ac_ext >&5
42441 CXXFLAGS_OLD
="$CXXFLAGS"
42442 if test "$GCC" = yes ; then
42443 CXXFLAGS
="-Werror $CXXFLAGS"
42446 cat >conftest.
$ac_ext <<_ACEOF
42449 cat confdefs.h
>>conftest.
$ac_ext
42450 cat >>conftest.
$ac_ext <<_ACEOF
42451 /* end confdefs.h. */
42453 #include <sys/types.h>
42454 #include <sys/socket.h>
42461 getsockopt(0, 0, 0, 0, &len);
42467 rm -f conftest.
$ac_objext
42468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42469 (eval $ac_compile) 2>conftest.er1
42471 grep -v '^ *+' conftest.er1
>conftest.err
42473 cat conftest.err
>&5
42474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42475 (exit $ac_status); } &&
42476 { ac_try
='test -z "$ac_cxx_werror_flag"
42477 || test ! -s conftest.err'
42478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42479 (eval $ac_try) 2>&5
42481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42482 (exit $ac_status); }; } &&
42483 { ac_try
='test -s conftest.$ac_objext'
42484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42485 (eval $ac_try) 2>&5
42487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42488 (exit $ac_status); }; }; then
42489 wx_cv_type_getsockopt5
=size_t
42491 echo "$as_me: failed program was:" >&5
42492 sed 's/^/| /' conftest.
$ac_ext >&5
42494 cat >conftest.
$ac_ext <<_ACEOF
42497 cat confdefs.h
>>conftest.
$ac_ext
42498 cat >>conftest.
$ac_ext <<_ACEOF
42499 /* end confdefs.h. */
42501 #include <sys/types.h>
42502 #include <sys/socket.h>
42509 getsockopt(0, 0, 0, 0, &len);
42515 rm -f conftest.
$ac_objext
42516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42517 (eval $ac_compile) 2>conftest.er1
42519 grep -v '^ *+' conftest.er1
>conftest.err
42521 cat conftest.err
>&5
42522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42523 (exit $ac_status); } &&
42524 { ac_try
='test -z "$ac_cxx_werror_flag"
42525 || test ! -s conftest.err'
42526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42527 (eval $ac_try) 2>&5
42529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42530 (exit $ac_status); }; } &&
42531 { ac_try
='test -s conftest.$ac_objext'
42532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42533 (eval $ac_try) 2>&5
42535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42536 (exit $ac_status); }; }; then
42537 wx_cv_type_getsockopt5
=int
42539 echo "$as_me: failed program was:" >&5
42540 sed 's/^/| /' conftest.
$ac_ext >&5
42542 wx_cv_type_getsockopt5
=unknown
42545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42550 CXXFLAGS
="$CXXFLAGS_OLD"
42554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42557 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42558 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42560 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42562 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42563 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42565 cat >>confdefs.h
<<_ACEOF
42566 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42571 ac_cpp
='$CPP $CPPFLAGS'
42572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42579 if test "$wxUSE_SOCKETS" = "yes" ; then
42580 cat >>confdefs.h
<<\_ACEOF
42581 #define wxUSE_SOCKETS 1
42584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
42587 if test "$wxUSE_PROTOCOL" = "yes"; then
42588 if test "$wxUSE_SOCKETS" != "yes"; then
42589 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42590 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42595 if test "$wxUSE_PROTOCOL" = "yes"; then
42596 cat >>confdefs.h
<<\_ACEOF
42597 #define wxUSE_PROTOCOL 1
42601 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42602 cat >>confdefs.h
<<\_ACEOF
42603 #define wxUSE_PROTOCOL_HTTP 1
42607 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42608 cat >>confdefs.h
<<\_ACEOF
42609 #define wxUSE_PROTOCOL_FTP 1
42613 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42614 cat >>confdefs.h
<<\_ACEOF
42615 #define wxUSE_PROTOCOL_FILE 1
42620 if test "$wxUSE_FS_INET" = "yes"; then
42621 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42622 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42627 if test "$wxUSE_URL" = "yes"; then
42628 if test "$wxUSE_PROTOCOL" != "yes"; then
42629 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42630 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42633 if test "$wxUSE_URL" = "yes"; then
42634 cat >>confdefs.h
<<\_ACEOF
42635 #define wxUSE_URL 1
42641 if test "$wxUSE_FS_INET" = "yes"; then
42642 cat >>confdefs.h
<<\_ACEOF
42643 #define wxUSE_FS_INET 1
42649 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42652 if test "$TOOLKIT" = "MSW"; then
42655 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42656 if test "$USE_DARWIN" = 1; then
42657 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42658 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42660 ac_cpp
='$CXXCPP $CPPFLAGS'
42661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42665 cat >conftest.
$ac_ext <<_ACEOF
42668 cat confdefs.h
>>conftest.
$ac_ext
42669 cat >>conftest.
$ac_ext <<_ACEOF
42670 /* end confdefs.h. */
42671 #include <IOKit/hid/IOHIDLib.h>
42675 IOHIDQueueInterface *qi = NULL;
42676 IOHIDCallbackFunction cb = NULL;
42677 qi->setEventCallout(NULL, cb, NULL, NULL);
42682 rm -f conftest.
$ac_objext
42683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42684 (eval $ac_compile) 2>conftest.er1
42686 grep -v '^ *+' conftest.er1
>conftest.err
42688 cat conftest.err
>&5
42689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42690 (exit $ac_status); } &&
42691 { ac_try
='test -z "$ac_cxx_werror_flag"
42692 || test ! -s conftest.err'
42693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42694 (eval $ac_try) 2>&5
42696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42697 (exit $ac_status); }; } &&
42698 { ac_try
='test -s conftest.$ac_objext'
42699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42700 (eval $ac_try) 2>&5
42702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42703 (exit $ac_status); }; }; then
42707 echo "$as_me: failed program was:" >&5
42708 sed 's/^/| /' conftest.
$ac_ext >&5
42711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42713 ac_cpp
='$CPP $CPPFLAGS'
42714 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42715 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42716 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42718 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42719 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42724 for ac_header
in linux
/joystick.h
42726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42728 echo "$as_me:$LINENO: checking for $ac_header" >&5
42729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42731 echo $ECHO_N "(cached) $ECHO_C" >&6
42733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42736 # Is the header compilable?
42737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42739 cat >conftest.
$ac_ext <<_ACEOF
42742 cat confdefs.h
>>conftest.
$ac_ext
42743 cat >>conftest.
$ac_ext <<_ACEOF
42744 /* end confdefs.h. */
42745 $ac_includes_default
42746 #include <$ac_header>
42748 rm -f conftest.
$ac_objext
42749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42750 (eval $ac_compile) 2>conftest.er1
42752 grep -v '^ *+' conftest.er1
>conftest.err
42754 cat conftest.err
>&5
42755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756 (exit $ac_status); } &&
42757 { ac_try
='test -z "$ac_c_werror_flag"
42758 || test ! -s conftest.err'
42759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42760 (eval $ac_try) 2>&5
42762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42763 (exit $ac_status); }; } &&
42764 { ac_try
='test -s conftest.$ac_objext'
42765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42766 (eval $ac_try) 2>&5
42768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42769 (exit $ac_status); }; }; then
42770 ac_header_compiler
=yes
42772 echo "$as_me: failed program was:" >&5
42773 sed 's/^/| /' conftest.
$ac_ext >&5
42775 ac_header_compiler
=no
42777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
42778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42779 echo "${ECHO_T}$ac_header_compiler" >&6
42781 # Is the header present?
42782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42784 cat >conftest.
$ac_ext <<_ACEOF
42787 cat confdefs.h
>>conftest.
$ac_ext
42788 cat >>conftest.
$ac_ext <<_ACEOF
42789 /* end confdefs.h. */
42790 #include <$ac_header>
42792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
42795 grep -v '^ *+' conftest.er1
>conftest.err
42797 cat conftest.err
>&5
42798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42799 (exit $ac_status); } >/dev
/null
; then
42800 if test -s conftest.err
; then
42801 ac_cpp_err
=$ac_c_preproc_warn_flag
42802 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
42809 if test -z "$ac_cpp_err"; then
42810 ac_header_preproc
=yes
42812 echo "$as_me: failed program was:" >&5
42813 sed 's/^/| /' conftest.
$ac_ext >&5
42815 ac_header_preproc
=no
42817 rm -f conftest.err conftest.
$ac_ext
42818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42819 echo "${ECHO_T}$ac_header_preproc" >&6
42821 # So? What about this header?
42822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42828 ac_header_preproc
=yes
42831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42845 ## ----------------------------------------- ##
42846 ## Report this to wx-dev@lists.wxwidgets.org ##
42847 ## ----------------------------------------- ##
42850 sed "s/^/$as_me: WARNING: /" >&2
42853 echo "$as_me:$LINENO: checking for $ac_header" >&5
42854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42856 echo $ECHO_N "(cached) $ECHO_C" >&6
42858 eval "$as_ac_Header=\$ac_header_preproc"
42860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42865 cat >>confdefs.h
<<_ACEOF
42866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42875 if test "$wxUSE_JOYSTICK" = "yes"; then
42876 cat >>confdefs.h
<<\_ACEOF
42877 #define wxUSE_JOYSTICK 1
42880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
42882 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
42883 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
42889 if test "$wxUSE_FONTMAP" = "yes" ; then
42890 cat >>confdefs.h
<<\_ACEOF
42891 #define wxUSE_FONTMAP 1
42896 if test "$wxUSE_UNICODE" = "yes" ; then
42897 cat >>confdefs.h
<<\_ACEOF
42898 #define wxUSE_UNICODE 1
42902 if test "$USE_WIN32" != 1; then
42903 wxUSE_UNICODE_MSLU
=no
42906 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
42907 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
42908 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
42909 if test "${ac_cv_lib_unicows_main+set}" = set; then
42910 echo $ECHO_N "(cached) $ECHO_C" >&6
42912 ac_check_lib_save_LIBS
=$LIBS
42913 LIBS
="-lunicows $LIBS"
42914 cat >conftest.
$ac_ext <<_ACEOF
42917 cat confdefs.h
>>conftest.
$ac_ext
42918 cat >>conftest.
$ac_ext <<_ACEOF
42919 /* end confdefs.h. */
42930 rm -f conftest.
$ac_objext conftest
$ac_exeext
42931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42932 (eval $ac_link) 2>conftest.er1
42934 grep -v '^ *+' conftest.er1
>conftest.err
42936 cat conftest.err
>&5
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); } &&
42939 { ac_try
='test -z "$ac_c_werror_flag"
42940 || test ! -s conftest.err'
42941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42942 (eval $ac_try) 2>&5
42944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42945 (exit $ac_status); }; } &&
42946 { ac_try
='test -s conftest$ac_exeext'
42947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42948 (eval $ac_try) 2>&5
42950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42951 (exit $ac_status); }; }; then
42952 ac_cv_lib_unicows_main
=yes
42954 echo "$as_me: failed program was:" >&5
42955 sed 's/^/| /' conftest.
$ac_ext >&5
42957 ac_cv_lib_unicows_main
=no
42959 rm -f conftest.err conftest.
$ac_objext \
42960 conftest
$ac_exeext conftest.
$ac_ext
42961 LIBS
=$ac_check_lib_save_LIBS
42963 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
42964 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
42965 if test $ac_cv_lib_unicows_main = yes; then
42967 cat >>confdefs.h
<<\_ACEOF
42968 #define wxUSE_UNICODE_MSLU 1
42974 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42975 Applications will only run on Windows NT/2000/XP!" >&5
42976 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42977 Applications will only run on Windows NT/2000/XP!" >&2;}
42978 wxUSE_UNICODE_MSLU
=no
42985 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
42986 cat >>confdefs.h
<<\_ACEOF
42987 #define wxUSE_EXPERIMENTAL_PRINTF 1
42993 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
42994 cat >>confdefs.h
<<\_ACEOF
42995 #define wxUSE_POSTSCRIPT 1
43000 cat >>confdefs.h
<<\_ACEOF
43001 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43005 cat >>confdefs.h
<<\_ACEOF
43006 #define wxUSE_NORMALIZED_PS_FONTS 1
43011 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43012 cat >>confdefs.h
<<\_ACEOF
43013 #define wxUSE_CONSTRAINTS 1
43016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
43019 if test "$wxUSE_MDI" = "yes"; then
43020 cat >>confdefs.h
<<\_ACEOF
43021 #define wxUSE_MDI 1
43025 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43026 cat >>confdefs.h
<<\_ACEOF
43027 #define wxUSE_MDI_ARCHITECTURE 1
43030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
43034 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43035 cat >>confdefs.h
<<\_ACEOF
43036 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
43040 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
43045 if test "$wxUSE_HELP" = "yes"; then
43046 cat >>confdefs.h
<<\_ACEOF
43047 #define wxUSE_HELP 1
43050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
43052 if test "$wxUSE_MSW" = 1; then
43053 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43054 cat >>confdefs.h
<<\_ACEOF
43055 #define wxUSE_MS_HTML_HELP 1
43061 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43062 if test "$wxUSE_HTML" = "yes"; then
43063 cat >>confdefs.h
<<\_ACEOF
43064 #define wxUSE_WXHTML_HELP 1
43068 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43069 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43070 wxUSE_WXHTML_HELP
=no
43075 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43076 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43077 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43078 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43080 cat >>confdefs.h
<<\_ACEOF
43081 #define wxUSE_PRINTING_ARCHITECTURE 1
43085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
43088 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43089 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43090 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43091 { (exit 1); exit 1; }; }
43095 if test "$wxUSE_METAFILE" = "yes"; then
43096 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43097 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43098 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43104 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
43105 -o "$wxUSE_CLIPBOARD" = "yes" \
43106 -o "$wxUSE_OLE" = "yes" \
43107 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
43109 for ac_header
in ole2.h
43111 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43113 echo "$as_me:$LINENO: checking for $ac_header" >&5
43114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43116 echo $ECHO_N "(cached) $ECHO_C" >&6
43118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43121 # Is the header compilable?
43122 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43124 cat >conftest.
$ac_ext <<_ACEOF
43127 cat confdefs.h
>>conftest.
$ac_ext
43128 cat >>conftest.
$ac_ext <<_ACEOF
43129 /* end confdefs.h. */
43130 $ac_includes_default
43131 #include <$ac_header>
43133 rm -f conftest.
$ac_objext
43134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43135 (eval $ac_compile) 2>conftest.er1
43137 grep -v '^ *+' conftest.er1
>conftest.err
43139 cat conftest.err
>&5
43140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141 (exit $ac_status); } &&
43142 { ac_try
='test -z "$ac_c_werror_flag"
43143 || test ! -s conftest.err'
43144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43145 (eval $ac_try) 2>&5
43147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43148 (exit $ac_status); }; } &&
43149 { ac_try
='test -s conftest.$ac_objext'
43150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43151 (eval $ac_try) 2>&5
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); }; }; then
43155 ac_header_compiler
=yes
43157 echo "$as_me: failed program was:" >&5
43158 sed 's/^/| /' conftest.
$ac_ext >&5
43160 ac_header_compiler
=no
43162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43164 echo "${ECHO_T}$ac_header_compiler" >&6
43166 # Is the header present?
43167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43169 cat >conftest.
$ac_ext <<_ACEOF
43172 cat confdefs.h
>>conftest.
$ac_ext
43173 cat >>conftest.
$ac_ext <<_ACEOF
43174 /* end confdefs.h. */
43175 #include <$ac_header>
43177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43178 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
43180 grep -v '^ *+' conftest.er1
>conftest.err
43182 cat conftest.err
>&5
43183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43184 (exit $ac_status); } >/dev
/null
; then
43185 if test -s conftest.err
; then
43186 ac_cpp_err
=$ac_c_preproc_warn_flag
43187 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
43194 if test -z "$ac_cpp_err"; then
43195 ac_header_preproc
=yes
43197 echo "$as_me: failed program was:" >&5
43198 sed 's/^/| /' conftest.
$ac_ext >&5
43200 ac_header_preproc
=no
43202 rm -f conftest.err conftest.
$ac_ext
43203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43204 echo "${ECHO_T}$ac_header_preproc" >&6
43206 # So? What about this header?
43207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43209 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43212 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43213 ac_header_preproc
=yes
43216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43220 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43221 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43222 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43223 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43225 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43226 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43227 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43230 ## ----------------------------------------- ##
43231 ## Report this to wx-dev@lists.wxwidgets.org ##
43232 ## ----------------------------------------- ##
43235 sed "s/^/$as_me: WARNING: /" >&2
43238 echo "$as_me:$LINENO: checking for $ac_header" >&5
43239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43241 echo $ECHO_N "(cached) $ECHO_C" >&6
43243 eval "$as_ac_Header=\$ac_header_preproc"
43245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43250 cat >>confdefs.h
<<_ACEOF
43251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43259 if test "$ac_cv_header_ole2_h" = "yes" ; then
43260 if test "$GCC" = yes ; then
43264 ac_cpp
='$CXXCPP $CPPFLAGS'
43265 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43266 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43267 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43270 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43271 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43272 cat >conftest.
$ac_ext <<_ACEOF
43275 cat confdefs.h
>>conftest.
$ac_ext
43276 cat >>conftest.
$ac_ext <<_ACEOF
43277 /* end confdefs.h. */
43278 #include <windows.h>
43288 rm -f conftest.
$ac_objext
43289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43290 (eval $ac_compile) 2>conftest.er1
43292 grep -v '^ *+' conftest.er1
>conftest.err
43294 cat conftest.err
>&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); } &&
43297 { ac_try
='test -z "$ac_cxx_werror_flag"
43298 || test ! -s conftest.err'
43299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43300 (eval $ac_try) 2>&5
43302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43303 (exit $ac_status); }; } &&
43304 { ac_try
='test -s conftest.$ac_objext'
43305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43306 (eval $ac_try) 2>&5
43308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43309 (exit $ac_status); }; }; then
43310 echo "$as_me:$LINENO: result: no" >&5
43311 echo "${ECHO_T}no" >&6
43313 echo "$as_me: failed program was:" >&5
43314 sed 's/^/| /' conftest.
$ac_ext >&5
43316 echo "$as_me:$LINENO: result: yes" >&5
43317 echo "${ECHO_T}yes" >&6
43318 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
43322 ac_cpp
='$CPP $CPPFLAGS'
43323 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43324 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43325 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43327 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43328 if test "$wxUSE_OLE" = "yes" ; then
43329 cat >>confdefs.h
<<\_ACEOF
43330 #define wxUSE_OLE 1
43333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
43337 if test "$wxUSE_DATAOBJ" = "yes" ; then
43338 cat >>confdefs.h
<<\_ACEOF
43339 #define wxUSE_DATAOBJ 1
43344 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43345 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43348 wxUSE_DRAG_AND_DROP
=no
43353 if test "$wxUSE_METAFILE" = "yes"; then
43354 cat >>confdefs.h
<<\_ACEOF
43355 #define wxUSE_METAFILE 1
43359 cat >>confdefs.h
<<\_ACEOF
43360 #define wxUSE_ENH_METAFILE 1
43366 if test "$wxUSE_IPC" = "yes"; then
43367 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43368 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43369 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43373 if test "$wxUSE_IPC" = "yes"; then
43374 cat >>confdefs.h
<<\_ACEOF
43375 #define wxUSE_IPC 1
43378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
43382 if test "$wxUSE_DATAOBJ" = "yes"; then
43383 if test "$wxUSE_MGL" = 1; then
43384 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43385 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43388 cat >>confdefs.h
<<\_ACEOF
43389 #define wxUSE_DATAOBJ 1
43394 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43395 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43397 wxUSE_DRAG_AND_DROP
=no
43400 if test "$wxUSE_CLIPBOARD" = "yes"; then
43401 if test "$wxUSE_MGL" = 1; then
43402 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43403 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43407 if test "$wxUSE_CLIPBOARD" = "yes"; then
43408 cat >>confdefs.h
<<\_ACEOF
43409 #define wxUSE_CLIPBOARD 1
43415 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43416 if test "$wxUSE_GTK" = 1; then
43417 if test "$WXGTK12" != 1; then
43418 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43419 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43420 wxUSE_DRAG_AND_DROP
=no
43424 if test "$wxUSE_MOTIF" = 1; then
43425 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43426 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43427 wxUSE_DRAG_AND_DROP
=no
43430 if test "$wxUSE_X11" = 1; then
43431 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43432 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43433 wxUSE_DRAG_AND_DROP
=no
43436 if test "$wxUSE_MGL" = 1; then
43437 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43438 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43439 wxUSE_DRAG_AND_DROP
=no
43442 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43443 cat >>confdefs.h
<<\_ACEOF
43444 #define wxUSE_DRAG_AND_DROP 1
43451 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
43455 if test "$wxUSE_SPLINES" = "yes" ; then
43456 cat >>confdefs.h
<<\_ACEOF
43457 #define wxUSE_SPLINES 1
43462 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43463 cat >>confdefs.h
<<\_ACEOF
43464 #define wxUSE_MOUSEWHEEL 1
43471 if test "$wxUSE_CONTROLS" = "yes"; then
43475 if test "$wxUSE_ACCEL" = "yes"; then
43476 cat >>confdefs.h
<<\_ACEOF
43477 #define wxUSE_ACCEL 1
43483 if test "$wxUSE_BUTTON" = "yes"; then
43484 cat >>confdefs.h
<<\_ACEOF
43485 #define wxUSE_BUTTON 1
43491 if test "$wxUSE_BMPBUTTON" = "yes"; then
43492 cat >>confdefs.h
<<\_ACEOF
43493 #define wxUSE_BMPBUTTON 1
43499 if test "$wxUSE_CALCTRL" = "yes"; then
43500 cat >>confdefs.h
<<\_ACEOF
43501 #define wxUSE_CALENDARCTRL 1
43505 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
43508 if test "$wxUSE_CARET" = "yes"; then
43509 cat >>confdefs.h
<<\_ACEOF
43510 #define wxUSE_CARET 1
43514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
43517 if test "$wxUSE_COMBOBOX" = "yes"; then
43518 cat >>confdefs.h
<<\_ACEOF
43519 #define wxUSE_COMBOBOX 1
43525 if test "$wxUSE_CHOICE" = "yes"; then
43526 cat >>confdefs.h
<<\_ACEOF
43527 #define wxUSE_CHOICE 1
43533 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43534 cat >>confdefs.h
<<\_ACEOF
43535 #define wxUSE_CHOICEBOOK 1
43541 if test "$wxUSE_CHECKBOX" = "yes"; then
43542 cat >>confdefs.h
<<\_ACEOF
43543 #define wxUSE_CHECKBOX 1
43549 if test "$wxUSE_CHECKLST" = "yes"; then
43550 cat >>confdefs.h
<<\_ACEOF
43551 #define wxUSE_CHECKLISTBOX 1
43555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
43558 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43559 cat >>confdefs.h
<<\_ACEOF
43560 #define wxUSE_DATEPICKCTRL 1
43566 if test "$wxUSE_DISPLAY" = "yes"; then
43567 cat >>confdefs.h
<<\_ACEOF
43568 #define wxUSE_DISPLAY 1
43571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display multimon"
43574 if test "$wxUSE_GAUGE" = "yes"; then
43575 cat >>confdefs.h
<<\_ACEOF
43576 #define wxUSE_GAUGE 1
43582 if test "$wxUSE_GRID" = "yes"; then
43583 cat >>confdefs.h
<<\_ACEOF
43584 #define wxUSE_GRID 1
43588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
43591 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43592 cat >>confdefs.h
<<\_ACEOF
43593 #define wxUSE_DATAVIEWCTRL 1
43597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
43600 if test "$wxUSE_IMAGLIST" = "yes"; then
43601 cat >>confdefs.h
<<\_ACEOF
43602 #define wxUSE_IMAGLIST 1
43607 if test "$wxUSE_LISTBOOK" = "yes"; then
43608 cat >>confdefs.h
<<\_ACEOF
43609 #define wxUSE_LISTBOOK 1
43615 if test "$wxUSE_LISTBOX" = "yes"; then
43616 cat >>confdefs.h
<<\_ACEOF
43617 #define wxUSE_LISTBOX 1
43621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listbox"
43624 if test "$wxUSE_LISTCTRL" = "yes"; then
43625 if test "$wxUSE_IMAGLIST" = "yes"; then
43626 cat >>confdefs.h
<<\_ACEOF
43627 #define wxUSE_LISTCTRL 1
43631 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
43633 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43634 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43638 if test "$wxUSE_NOTEBOOK" = "yes"; then
43639 cat >>confdefs.h
<<\_ACEOF
43640 #define wxUSE_NOTEBOOK 1
43644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
43648 if test "$wxUSE_RADIOBOX" = "yes"; then
43649 cat >>confdefs.h
<<\_ACEOF
43650 #define wxUSE_RADIOBOX 1
43656 if test "$wxUSE_RADIOBTN" = "yes"; then
43657 cat >>confdefs.h
<<\_ACEOF
43658 #define wxUSE_RADIOBTN 1
43664 if test "$wxUSE_SASH" = "yes"; then
43665 cat >>confdefs.h
<<\_ACEOF
43666 #define wxUSE_SASH 1
43669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
43672 if test "$wxUSE_SCROLLBAR" = "yes"; then
43673 cat >>confdefs.h
<<\_ACEOF
43674 #define wxUSE_SCROLLBAR 1
43678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
43681 if test "$wxUSE_SLIDER" = "yes"; then
43682 cat >>confdefs.h
<<\_ACEOF
43683 #define wxUSE_SLIDER 1
43689 if test "$wxUSE_SPINBTN" = "yes"; then
43690 cat >>confdefs.h
<<\_ACEOF
43691 #define wxUSE_SPINBTN 1
43697 if test "$wxUSE_SPINCTRL" = "yes"; then
43698 cat >>confdefs.h
<<\_ACEOF
43699 #define wxUSE_SPINCTRL 1
43705 if test "$wxUSE_SPLITTER" = "yes"; then
43706 cat >>confdefs.h
<<\_ACEOF
43707 #define wxUSE_SPLITTER 1
43710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
43713 if test "$wxUSE_STATBMP" = "yes"; then
43714 cat >>confdefs.h
<<\_ACEOF
43715 #define wxUSE_STATBMP 1
43721 if test "$wxUSE_STATBOX" = "yes"; then
43722 cat >>confdefs.h
<<\_ACEOF
43723 #define wxUSE_STATBOX 1
43729 if test "$wxUSE_STATTEXT" = "yes"; then
43730 cat >>confdefs.h
<<\_ACEOF
43731 #define wxUSE_STATTEXT 1
43737 if test "$wxUSE_STATLINE" = "yes"; then
43738 cat >>confdefs.h
<<\_ACEOF
43739 #define wxUSE_STATLINE 1
43745 if test "$wxUSE_STATUSBAR" = "yes"; then
43746 cat >>confdefs.h
<<\_ACEOF
43747 #define wxUSE_NATIVE_STATUSBAR 1
43750 cat >>confdefs.h
<<\_ACEOF
43751 #define wxUSE_STATUSBAR 1
43756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
43759 if test "$wxUSE_TABDIALOG" = "yes"; then
43760 cat >>confdefs.h
<<\_ACEOF
43761 #define wxUSE_TAB_DIALOG 1
43766 if test "$wxUSE_TEXTCTRL" = "yes"; then
43767 cat >>confdefs.h
<<\_ACEOF
43768 #define wxUSE_TEXTCTRL 1
43772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
43775 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43776 if test "$wxUSE_COCOA" = 1 ; then
43777 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43778 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43781 if test "$wxUSE_UNIVERSAL" = "yes"; then
43782 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43783 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43787 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43788 cat >>confdefs.h
<<\_ACEOF
43789 #define wxUSE_TOGGLEBTN 1
43796 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
43797 cat >>confdefs.h
<<\_ACEOF
43798 #define wxUSE_TOOLBAR_SIMPLE 1
43801 wxUSE_TOOLBAR
="yes"
43805 if test "$wxUSE_TOOLBAR" = "yes"; then
43806 cat >>confdefs.h
<<\_ACEOF
43807 #define wxUSE_TOOLBAR 1
43812 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
43813 wxUSE_TOOLBAR_NATIVE
="yes"
43816 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
43817 cat >>confdefs.h
<<\_ACEOF
43818 #define wxUSE_TOOLBAR_NATIVE 1
43824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
43827 if test "$wxUSE_TOOLTIPS" = "yes"; then
43828 if test "$wxUSE_MOTIF" = 1; then
43829 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
43830 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
43832 if test "$wxUSE_UNIVERSAL" = "yes"; then
43833 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
43834 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
43836 cat >>confdefs.h
<<\_ACEOF
43837 #define wxUSE_TOOLTIPS 1
43844 if test "$wxUSE_TREEBOOK" = "yes"; then
43845 cat >>confdefs.h
<<\_ACEOF
43846 #define wxUSE_TREEBOOK 1
43852 if test "$wxUSE_TREECTRL" = "yes"; then
43853 if test "$wxUSE_IMAGLIST" = "yes"; then
43854 cat >>confdefs.h
<<\_ACEOF
43855 #define wxUSE_TREECTRL 1
43859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
43861 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
43862 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
43866 if test "$wxUSE_POPUPWIN" = "yes"; then
43867 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43868 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
43869 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
43871 if test "$wxUSE_PM" = 1; then
43872 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
43873 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
43875 cat >>confdefs.h
<<\_ACEOF
43876 #define wxUSE_POPUPWIN 1
43879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
43886 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
43887 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43888 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
43889 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
43891 cat >>confdefs.h
<<\_ACEOF
43892 #define wxUSE_DIALUP_MANAGER 1
43895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
43899 if test "$wxUSE_TIPWINDOW" = "yes"; then
43900 if test "$wxUSE_PM" = 1; then
43901 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
43902 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
43904 cat >>confdefs.h
<<\_ACEOF
43905 #define wxUSE_TIPWINDOW 1
43911 if test "$USES_CONTROLS" = 1; then
43912 cat >>confdefs.h
<<\_ACEOF
43913 #define wxUSE_CONTROLS 1
43919 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
43920 cat >>confdefs.h
<<\_ACEOF
43921 #define wxUSE_ACCESSIBILITY 1
43924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
43927 if test "$wxUSE_DC_CACHEING" = "yes"; then
43928 cat >>confdefs.h
<<\_ACEOF
43929 #define wxUSE_DC_CACHEING 1
43934 if test "$wxUSE_DRAGIMAGE" = "yes"; then
43935 cat >>confdefs.h
<<\_ACEOF
43936 #define wxUSE_DRAGIMAGE 1
43939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
43942 if test "$wxUSE_EXCEPTIONS" = "yes"; then
43943 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43944 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
43945 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
43947 cat >>confdefs.h
<<\_ACEOF
43948 #define wxUSE_EXCEPTIONS 1
43951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
43956 if test "$wxUSE_HTML" = "yes"; then
43957 cat >>confdefs.h
<<\_ACEOF
43958 #define wxUSE_HTML 1
43962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
43963 if test "$wxUSE_MAC" = 1; then
43964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
43967 if test "$wxUSE_WEBKIT" = "yes"; then
43968 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
43969 old_CPPFLAGS
="$CPPFLAGS"
43970 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
43971 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
43972 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
43973 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
43974 echo $ECHO_N "(cached) $ECHO_C" >&6
43976 cat >conftest.
$ac_ext <<_ACEOF
43979 cat confdefs.h
>>conftest.
$ac_ext
43980 cat >>conftest.
$ac_ext <<_ACEOF
43981 /* end confdefs.h. */
43982 #include <Carbon/Carbon.h>
43984 #include <WebKit/HIWebView.h>
43986 rm -f conftest.
$ac_objext
43987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43988 (eval $ac_compile) 2>conftest.er1
43990 grep -v '^ *+' conftest.er1
>conftest.err
43992 cat conftest.err
>&5
43993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43994 (exit $ac_status); } &&
43995 { ac_try
='test -z "$ac_c_werror_flag"
43996 || test ! -s conftest.err'
43997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43998 (eval $ac_try) 2>&5
44000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44001 (exit $ac_status); }; } &&
44002 { ac_try
='test -s conftest.$ac_objext'
44003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44004 (eval $ac_try) 2>&5
44006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44007 (exit $ac_status); }; }; then
44008 ac_cv_header_WebKit_HIWebView_h
=yes
44010 echo "$as_me: failed program was:" >&5
44011 sed 's/^/| /' conftest.
$ac_ext >&5
44013 ac_cv_header_WebKit_HIWebView_h
=no
44015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44017 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44018 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44019 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44021 cat >>confdefs.h
<<\_ACEOF
44022 #define wxUSE_WEBKIT 1
44025 WEBKIT_LINK
="-framework WebKit"
44029 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44030 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44036 CPPFLAGS
="$old_CPPFLAGS"
44037 elif test "$wxUSE_COCOA" = 1; then
44038 cat >>confdefs.h
<<\_ACEOF
44039 #define wxUSE_WEBKIT 1
44048 if test "$wxUSE_XRC" = "yes"; then
44049 if test "$wxUSE_XML" != "yes"; then
44050 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44051 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44054 cat >>confdefs.h
<<\_ACEOF
44055 #define wxUSE_XRC 1
44059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
44063 if test "$wxUSE_MENUS" = "yes"; then
44064 cat >>confdefs.h
<<\_ACEOF
44065 #define wxUSE_MENUS 1
44068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
44071 if test "$wxUSE_METAFILE" = "yes"; then
44072 cat >>confdefs.h
<<\_ACEOF
44073 #define wxUSE_METAFILE 1
44078 if test "$wxUSE_MIMETYPE" = "yes"; then
44079 cat >>confdefs.h
<<\_ACEOF
44080 #define wxUSE_MIMETYPE 1
44085 if test "$wxUSE_MINIFRAME" = "yes"; then
44086 cat >>confdefs.h
<<\_ACEOF
44087 #define wxUSE_MINIFRAME 1
44090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
44093 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44094 cat >>confdefs.h
<<\_ACEOF
44095 #define wxUSE_SYSTEM_OPTIONS 1
44098 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44099 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
44105 if test "$wxUSE_VALIDATORS" = "yes"; then
44106 cat >>confdefs.h
<<\_ACEOF
44107 #define wxUSE_VALIDATORS 1
44110 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
44113 if test "$wxUSE_PALETTE" = "yes" ; then
44114 cat >>confdefs.h
<<\_ACEOF
44115 #define wxUSE_PALETTE 1
44120 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44121 LIBS
=" -lunicows $LIBS"
44125 if test "$wxUSE_RICHTEXT" = "yes"; then
44126 cat >>confdefs.h
<<\_ACEOF
44127 #define wxUSE_RICHTEXT 1
44131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
44135 if test "$wxUSE_IMAGE" = "yes" ; then
44136 cat >>confdefs.h
<<\_ACEOF
44137 #define wxUSE_IMAGE 1
44141 if test "$wxUSE_GIF" = "yes" ; then
44142 cat >>confdefs.h
<<\_ACEOF
44143 #define wxUSE_GIF 1
44148 if test "$wxUSE_PCX" = "yes" ; then
44149 cat >>confdefs.h
<<\_ACEOF
44150 #define wxUSE_PCX 1
44155 if test "$wxUSE_IFF" = "yes" ; then
44156 cat >>confdefs.h
<<\_ACEOF
44157 #define wxUSE_IFF 1
44162 if test "$wxUSE_PNM" = "yes" ; then
44163 cat >>confdefs.h
<<\_ACEOF
44164 #define wxUSE_PNM 1
44169 if test "$wxUSE_XPM" = "yes" ; then
44170 cat >>confdefs.h
<<\_ACEOF
44171 #define wxUSE_XPM 1
44176 if test "$wxUSE_ICO_CUR" = "yes" ; then
44177 cat >>confdefs.h
<<\_ACEOF
44178 #define wxUSE_ICO_CUR 1
44185 if test "$wxUSE_CHOICEDLG" = "yes"; then
44186 cat >>confdefs.h
<<\_ACEOF
44187 #define wxUSE_CHOICEDLG 1
44192 if test "$wxUSE_COLOURDLG" = "yes"; then
44193 cat >>confdefs.h
<<\_ACEOF
44194 #define wxUSE_COLOURDLG 1
44199 if test "$wxUSE_FILEDLG" = "yes"; then
44200 cat >>confdefs.h
<<\_ACEOF
44201 #define wxUSE_FILEDLG 1
44206 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44207 cat >>confdefs.h
<<\_ACEOF
44208 #define wxUSE_FINDREPLDLG 1
44213 if test "$wxUSE_FONTDLG" = "yes"; then
44214 cat >>confdefs.h
<<\_ACEOF
44215 #define wxUSE_FONTDLG 1
44220 if test "$wxUSE_DIRDLG" = "yes"; then
44221 if test "$wxUSE_TREECTRL" != "yes"; then
44222 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44223 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44225 cat >>confdefs.h
<<\_ACEOF
44226 #define wxUSE_DIRDLG 1
44232 if test "$wxUSE_MSGDLG" = "yes"; then
44233 cat >>confdefs.h
<<\_ACEOF
44234 #define wxUSE_MSGDLG 1
44239 if test "$wxUSE_NUMBERDLG" = "yes"; then
44240 cat >>confdefs.h
<<\_ACEOF
44241 #define wxUSE_NUMBERDLG 1
44246 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44247 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44248 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44249 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44251 cat >>confdefs.h
<<\_ACEOF
44252 #define wxUSE_PROGRESSDLG 1
44258 if test "$wxUSE_SPLASH" = "yes"; then
44259 cat >>confdefs.h
<<\_ACEOF
44260 #define wxUSE_SPLASH 1
44263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
44266 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44267 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44268 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44269 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44271 cat >>confdefs.h
<<\_ACEOF
44272 #define wxUSE_STARTUP_TIPS 1
44278 if test "$wxUSE_TEXTDLG" = "yes"; then
44279 cat >>confdefs.h
<<\_ACEOF
44280 #define wxUSE_TEXTDLG 1
44285 if test "$wxUSE_WIZARDDLG" = "yes"; then
44286 cat >>confdefs.h
<<\_ACEOF
44287 #define wxUSE_WIZARDDLG 1
44290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
44294 if test "$wxUSE_MEDIACTRL" = "yes"; then
44295 if test "$wxUSE_GTK" = 1; then
44296 wxUSE_GSTREAMER
="yes"
44301 if test -z "$PKG_CONFIG"; then
44302 # Extract the first word of "pkg-config", so it can be a program name with args.
44303 set dummy pkg
-config; ac_word
=$2
44304 echo "$as_me:$LINENO: checking for $ac_word" >&5
44305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44306 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44307 echo $ECHO_N "(cached) $ECHO_C" >&6
44309 case $PKG_CONFIG in
44311 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44315 for as_dir
in $PATH
44318 test -z "$as_dir" && as_dir
=.
44319 for ac_exec_ext
in '' $ac_executable_extensions; do
44320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44321 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44328 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
44332 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44334 if test -n "$PKG_CONFIG"; then
44335 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44336 echo "${ECHO_T}$PKG_CONFIG" >&6
44338 echo "$as_me:$LINENO: result: no" >&5
44339 echo "${ECHO_T}no" >&6
44344 if test "$PKG_CONFIG" = "no" ; then
44345 echo "*** The pkg-config script could not be found. Make sure it is"
44346 echo "*** in your path, or set the PKG_CONFIG environment variable"
44347 echo "*** to the full path to pkg-config."
44348 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44350 PKG_CONFIG_MIN_VERSION
=0.9.0
44351 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44352 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
44353 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
44355 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
44356 echo "$as_me:$LINENO: result: yes" >&5
44357 echo "${ECHO_T}yes" >&6
44360 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
44361 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
44362 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-0.8"`
44363 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
44364 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
44366 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
44367 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
44368 GSTREAMER_LIBS
=`$PKG_CONFIG --libs "gstreamer-0.8"`
44369 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
44370 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
44372 GSTREAMER_CFLAGS
=""
44374 ## If we have a custom action on failure, don't print errors, but
44375 ## do set a variable so people can do so.
44376 GSTREAMER_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
44383 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44384 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44388 if test $succeeded = yes; then
44390 CPPFLAGS
="$GSTREAMER_CFLAGS $CPPFLAGS"
44391 LIBS
="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
44395 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
44396 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
44397 wxUSE_GSTREAMER
="no"
44405 if test "x$GST_INSPECT" == "x"; then
44406 # Extract the first word of "gst-inspect", so it can be a program name with args.
44407 set dummy gst
-inspect; ac_word
=$2
44408 echo "$as_me:$LINENO: checking for $ac_word" >&5
44409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44410 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
44411 echo $ECHO_N "(cached) $ECHO_C" >&6
44413 if test -n "$GST_INSPECT"; then
44414 ac_cv_prog_GST_INSPECT
="$GST_INSPECT" # Let the user override the test.
44416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44417 for as_dir
in $PATH
44420 test -z "$as_dir" && as_dir
=.
44421 for ac_exec_ext
in '' $ac_executable_extensions; do
44422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44423 ac_cv_prog_GST_INSPECT
="gst-inspect"
44424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44432 GST_INSPECT
=$ac_cv_prog_GST_INSPECT
44433 if test -n "$GST_INSPECT"; then
44434 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
44435 echo "${ECHO_T}$GST_INSPECT" >&6
44437 echo "$as_me:$LINENO: result: no" >&5
44438 echo "${ECHO_T}no" >&6
44443 if test "x$GST_INSPECT" != "x"; then
44444 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
44445 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
44446 if $GST_INSPECT xvimagesink
> /dev
/null
2> /dev
/null
; then
44447 echo "$as_me:$LINENO: result: found." >&5
44448 echo "${ECHO_T}found." >&6
44451 echo "$as_me:$LINENO: result: not found." >&5
44452 echo "${ECHO_T}not found." >&6
44454 wxUSE_GSTREAMER
="no"
44455 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
44456 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
44462 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
44463 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
44464 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
44465 echo $ECHO_N "(cached) $ECHO_C" >&6
44467 cat >conftest.
$ac_ext <<_ACEOF
44470 cat confdefs.h
>>conftest.
$ac_ext
44471 cat >>conftest.
$ac_ext <<_ACEOF
44472 /* end confdefs.h. */
44473 #include <gst/gst.h>
44475 #include <gst/xoverlay/xoverlay.h>
44477 rm -f conftest.
$ac_objext
44478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44479 (eval $ac_compile) 2>conftest.er1
44481 grep -v '^ *+' conftest.er1
>conftest.err
44483 cat conftest.err
>&5
44484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44485 (exit $ac_status); } &&
44486 { ac_try
='test -z "$ac_c_werror_flag"
44487 || test ! -s conftest.err'
44488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44489 (eval $ac_try) 2>&5
44491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44492 (exit $ac_status); }; } &&
44493 { ac_try
='test -s conftest.$ac_objext'
44494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44495 (eval $ac_try) 2>&5
44497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44498 (exit $ac_status); }; }; then
44499 ac_cv_header_gst_xoverlay_xoverlay_h
=yes
44501 echo "$as_me: failed program was:" >&5
44502 sed 's/^/| /' conftest.
$ac_ext >&5
44504 ac_cv_header_gst_xoverlay_xoverlay_h
=no
44506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
44508 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
44509 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
44510 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
44514 wxUSE_GSTREAMER
="no"
44515 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
44516 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
44522 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
44523 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
44526 for ac_dir
in $SEARCH_LIB;
44528 for ac_extension
in a so sl dylib dll.a
; do
44529 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
44530 ac_find_libraries
=$ac_dir
44537 if test "$ac_find_libraries" = "" ; then
44538 echo "$as_me:$LINENO: result: no" >&5
44539 echo "${ECHO_T}no" >&6
44540 wxUSE_GSTREAMER
="no"
44542 echo "$as_me:$LINENO: result: yes" >&5
44543 echo "${ECHO_T}yes" >&6
44546 if test "$wxUSE_GSTREAMER" = "yes"; then
44547 cat >>confdefs.h
<<\_ACEOF
44548 #define wxUSE_GSTREAMER 1
44551 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44552 echo "${ECHO_T}GStreamer detection successful" >&6
44555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
44556 cat >>confdefs.h
<<\_ACEOF
44557 #define wxUSE_MEDIACTRL 1
44563 if test "$cross_compiling" = "yes"; then
44566 OSINFO
=`uname -s -r -m`
44567 OSINFO
="\"$OSINFO\""
44570 cat >>confdefs.h
<<_ACEOF
44571 #define WXWIN_OS_DESCRIPTION $OSINFO
44576 if test "x$prefix" != "xNONE"; then
44579 wxPREFIX
=$ac_default_prefix
44582 cat >>confdefs.h
<<_ACEOF
44583 #define wxINSTALL_PREFIX "$wxPREFIX"
44589 CORE_BASE_LIBS
="net base"
44590 CORE_GUI_LIBS
="adv core"
44592 if test "$wxUSE_XML" = "yes" ; then
44593 CORE_BASE_LIBS
="xml $CORE_BASE_LIBS"
44595 if test "$wxUSE_ODBC" != "no" ; then
44596 CORE_BASE_LIBS
="odbc $CORE_BASE_LIBS"
44597 CORE_GUI_LIBS
="dbgrid $CORE_GUI_LIBS"
44599 if test "$wxUSE_HTML" = "yes" ; then
44600 CORE_GUI_LIBS
="html $CORE_GUI_LIBS"
44602 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44603 CORE_GUI_LIBS
="qa $CORE_GUI_LIBS"
44605 if test "$wxUSE_XRC" = "yes" ; then
44606 CORE_GUI_LIBS
="xrc $CORE_GUI_LIBS"
44609 if test "$wxUSE_GUI" != "yes"; then
44620 if test "$wxUSE_MAC" = 1 ; then
44621 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44622 if test "$USE_DARWIN" = 1; then
44623 LDFLAGS
="$LDFLAGS -framework QuickTime"
44625 LDFLAGS
="$LDFLAGS -lQuickTimeLib"
44628 if test "$USE_DARWIN" = 1; then
44629 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44631 LDFLAGS
="$LDFLAGS -lCarbonLib"
44634 if test "$wxUSE_COCOA" = 1 ; then
44635 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
44636 if test "$wxUSE_MEDIACTRL" = "yes"; then
44637 LDFLAGS
="$LDFLAGS -framework QuickTime"
44640 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44641 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44645 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44652 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44653 echo "$as_me:$LINENO: checking for $ac_func" >&5
44654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44655 if eval "test \"\${$as_ac_var+set}\" = set"; then
44656 echo $ECHO_N "(cached) $ECHO_C" >&6
44658 cat >conftest.
$ac_ext <<_ACEOF
44661 cat confdefs.h
>>conftest.
$ac_ext
44662 cat >>conftest.
$ac_ext <<_ACEOF
44663 /* end confdefs.h. */
44664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44666 #define $ac_func innocuous_$ac_func
44668 /* System header to define __stub macros and hopefully few prototypes,
44669 which can conflict with char $ac_func (); below.
44670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44671 <limits.h> exists even on freestanding compilers. */
44674 # include <limits.h>
44676 # include <assert.h>
44681 /* Override any gcc2 internal prototype to avoid an error. */
44686 /* We use char because int might match the return type of a gcc2
44687 builtin and then its argument prototype would still apply. */
44689 /* The GNU C library defines this for functions which it implements
44690 to always fail with ENOSYS. Some functions are actually named
44691 something starting with __ and the normal name is an alias. */
44692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44695 char (*f) () = $ac_func;
44704 return f != $ac_func;
44709 rm -f conftest.
$ac_objext conftest
$ac_exeext
44710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44711 (eval $ac_link) 2>conftest.er1
44713 grep -v '^ *+' conftest.er1
>conftest.err
44715 cat conftest.err
>&5
44716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44717 (exit $ac_status); } &&
44718 { ac_try
='test -z "$ac_c_werror_flag"
44719 || test ! -s conftest.err'
44720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44721 (eval $ac_try) 2>&5
44723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44724 (exit $ac_status); }; } &&
44725 { ac_try
='test -s conftest$ac_exeext'
44726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44727 (eval $ac_try) 2>&5
44729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44730 (exit $ac_status); }; }; then
44731 eval "$as_ac_var=yes"
44733 echo "$as_me: failed program was:" >&5
44734 sed 's/^/| /' conftest.
$ac_ext >&5
44736 eval "$as_ac_var=no"
44738 rm -f conftest.err conftest.
$ac_objext \
44739 conftest
$ac_exeext conftest.
$ac_ext
44741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44743 if test `eval echo '${'$as_ac_var'}'` = yes; then
44744 cat >>confdefs.h
<<_ACEOF
44745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44752 for ac_func
in floor
44754 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44755 echo "$as_me:$LINENO: checking for $ac_func" >&5
44756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44757 if eval "test \"\${$as_ac_var+set}\" = set"; then
44758 echo $ECHO_N "(cached) $ECHO_C" >&6
44760 cat >conftest.
$ac_ext <<_ACEOF
44763 cat confdefs.h
>>conftest.
$ac_ext
44764 cat >>conftest.
$ac_ext <<_ACEOF
44765 /* end confdefs.h. */
44766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44768 #define $ac_func innocuous_$ac_func
44770 /* System header to define __stub macros and hopefully few prototypes,
44771 which can conflict with char $ac_func (); below.
44772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44773 <limits.h> exists even on freestanding compilers. */
44776 # include <limits.h>
44778 # include <assert.h>
44783 /* Override any gcc2 internal prototype to avoid an error. */
44788 /* We use char because int might match the return type of a gcc2
44789 builtin and then its argument prototype would still apply. */
44791 /* The GNU C library defines this for functions which it implements
44792 to always fail with ENOSYS. Some functions are actually named
44793 something starting with __ and the normal name is an alias. */
44794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44797 char (*f) () = $ac_func;
44806 return f != $ac_func;
44811 rm -f conftest.
$ac_objext conftest
$ac_exeext
44812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44813 (eval $ac_link) 2>conftest.er1
44815 grep -v '^ *+' conftest.er1
>conftest.err
44817 cat conftest.err
>&5
44818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44819 (exit $ac_status); } &&
44820 { ac_try
='test -z "$ac_c_werror_flag"
44821 || test ! -s conftest.err'
44822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44823 (eval $ac_try) 2>&5
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); }; } &&
44827 { ac_try
='test -s conftest$ac_exeext'
44828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44829 (eval $ac_try) 2>&5
44831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832 (exit $ac_status); }; }; then
44833 eval "$as_ac_var=yes"
44835 echo "$as_me: failed program was:" >&5
44836 sed 's/^/| /' conftest.
$ac_ext >&5
44838 eval "$as_ac_var=no"
44840 rm -f conftest.err conftest.
$ac_objext \
44841 conftest
$ac_exeext conftest.
$ac_ext
44843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44845 if test `eval echo '${'$as_ac_var'}'` = yes; then
44846 cat >>confdefs.h
<<_ACEOF
44847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44853 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
44854 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
44855 if test "$have_cos" = 1 -a "$have_floor" = 1; then
44856 echo "$as_me:$LINENO: result: yes" >&5
44857 echo "${ECHO_T}yes" >&6
44859 echo "$as_me:$LINENO: result: no" >&5
44860 echo "${ECHO_T}no" >&6
44862 # use different functions to avoid configure caching
44868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44869 echo "$as_me:$LINENO: checking for $ac_func" >&5
44870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44871 if eval "test \"\${$as_ac_var+set}\" = set"; then
44872 echo $ECHO_N "(cached) $ECHO_C" >&6
44874 cat >conftest.
$ac_ext <<_ACEOF
44877 cat confdefs.h
>>conftest.
$ac_ext
44878 cat >>conftest.
$ac_ext <<_ACEOF
44879 /* end confdefs.h. */
44880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44882 #define $ac_func innocuous_$ac_func
44884 /* System header to define __stub macros and hopefully few prototypes,
44885 which can conflict with char $ac_func (); below.
44886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44887 <limits.h> exists even on freestanding compilers. */
44890 # include <limits.h>
44892 # include <assert.h>
44897 /* Override any gcc2 internal prototype to avoid an error. */
44902 /* We use char because int might match the return type of a gcc2
44903 builtin and then its argument prototype would still apply. */
44905 /* The GNU C library defines this for functions which it implements
44906 to always fail with ENOSYS. Some functions are actually named
44907 something starting with __ and the normal name is an alias. */
44908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44911 char (*f) () = $ac_func;
44920 return f != $ac_func;
44925 rm -f conftest.
$ac_objext conftest
$ac_exeext
44926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44927 (eval $ac_link) 2>conftest.er1
44929 grep -v '^ *+' conftest.er1
>conftest.err
44931 cat conftest.err
>&5
44932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44933 (exit $ac_status); } &&
44934 { ac_try
='test -z "$ac_c_werror_flag"
44935 || test ! -s conftest.err'
44936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44937 (eval $ac_try) 2>&5
44939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44940 (exit $ac_status); }; } &&
44941 { ac_try
='test -s conftest$ac_exeext'
44942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44943 (eval $ac_try) 2>&5
44945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44946 (exit $ac_status); }; }; then
44947 eval "$as_ac_var=yes"
44949 echo "$as_me: failed program was:" >&5
44950 sed 's/^/| /' conftest.
$ac_ext >&5
44952 eval "$as_ac_var=no"
44954 rm -f conftest.err conftest.
$ac_objext \
44955 conftest
$ac_exeext conftest.
$ac_ext
44957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44959 if test `eval echo '${'$as_ac_var'}'` = yes; then
44960 cat >>confdefs.h
<<_ACEOF
44961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44968 for ac_func
in ceil
44970 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44971 echo "$as_me:$LINENO: checking for $ac_func" >&5
44972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44973 if eval "test \"\${$as_ac_var+set}\" = set"; then
44974 echo $ECHO_N "(cached) $ECHO_C" >&6
44976 cat >conftest.
$ac_ext <<_ACEOF
44979 cat confdefs.h
>>conftest.
$ac_ext
44980 cat >>conftest.
$ac_ext <<_ACEOF
44981 /* end confdefs.h. */
44982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44984 #define $ac_func innocuous_$ac_func
44986 /* System header to define __stub macros and hopefully few prototypes,
44987 which can conflict with char $ac_func (); below.
44988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44989 <limits.h> exists even on freestanding compilers. */
44992 # include <limits.h>
44994 # include <assert.h>
44999 /* Override any gcc2 internal prototype to avoid an error. */
45004 /* We use char because int might match the return type of a gcc2
45005 builtin and then its argument prototype would still apply. */
45007 /* The GNU C library defines this for functions which it implements
45008 to always fail with ENOSYS. Some functions are actually named
45009 something starting with __ and the normal name is an alias. */
45010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45013 char (*f) () = $ac_func;
45022 return f != $ac_func;
45027 rm -f conftest.
$ac_objext conftest
$ac_exeext
45028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45029 (eval $ac_link) 2>conftest.er1
45031 grep -v '^ *+' conftest.er1
>conftest.err
45033 cat conftest.err
>&5
45034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45035 (exit $ac_status); } &&
45036 { ac_try
='test -z "$ac_c_werror_flag"
45037 || test ! -s conftest.err'
45038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45039 (eval $ac_try) 2>&5
45041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45042 (exit $ac_status); }; } &&
45043 { ac_try
='test -s conftest$ac_exeext'
45044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45045 (eval $ac_try) 2>&5
45047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45048 (exit $ac_status); }; }; then
45049 eval "$as_ac_var=yes"
45051 echo "$as_me: failed program was:" >&5
45052 sed 's/^/| /' conftest.
$ac_ext >&5
45054 eval "$as_ac_var=no"
45056 rm -f conftest.err conftest.
$ac_objext \
45057 conftest
$ac_exeext conftest.
$ac_ext
45059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45061 if test `eval echo '${'$as_ac_var'}'` = yes; then
45062 cat >>confdefs.h
<<_ACEOF
45063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45069 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
45070 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
45071 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
45072 echo "$as_me:$LINENO: result: yes" >&5
45073 echo "${ECHO_T}yes" >&6
45075 echo "$as_me:$LINENO: result: no" >&5
45076 echo "${ECHO_T}no" >&6
45077 # not sure we should warn the user, crash, etc.
45081 if test "$wxUSE_GUI" = "yes"; then
45084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45085 dynamic erase event exec font image minimal mobile \
45086 mobile/wxedit mobile/styles propsize render \
45087 richedit rotate shaped vscroll widgets"
45089 if test "$wxUSE_MONOLITHIC" != "yes"; then
45090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
45092 if test "$TOOLKIT" = "MSW"; then
45093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
45094 if test "$wxUSE_UNIVERSAL" != "yes"; then
45095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45098 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
45102 SAMPLES_SUBDIRS
="console"
45106 if test "x$INTELCC" = "xyes" ; then
45107 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684"
45108 elif test "$GCC" = yes ; then
45109 CWARNINGS
="-Wall -Wundef"
45112 if test "x$INTELCXX" = "xyes" ; then
45113 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419"
45114 elif test "$GXX" = yes ; then
45115 CXXWARNINGS
="-Wall -Wundef -Wno-ctor-dtor-privacy"
45119 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
45120 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45123 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
45124 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45125 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45128 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45129 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45130 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45132 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45135 if test "x$MWCC" = "xyes"; then
45137 CC
="$CC -cwd source -I-"
45138 CXX
="$CXX -cwd source -I-"
45143 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45144 EXTRALIBS_XML
="$EXPAT_LINK"
45145 EXTRALIBS_HTML
="$MSPACK_LINK"
45146 EXTRALIBS_ODBC
="$ODBC_LINK"
45147 if test "$wxUSE_GUI" = "yes"; then
45148 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEPRINT`
45150 if test "$wxUSE_OPENGL" = "yes"; then
45151 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
45154 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
45156 WXCONFIG_LIBS
="$LIBS"
45158 if test "$wxUSE_REGEX" = "builtin" ; then
45159 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45161 if test "$wxUSE_EXPAT" = "builtin" ; then
45162 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
45164 if test "$wxUSE_ODBC" = "builtin" ; then
45165 wxconfig_3rdparty
="odbc $wxconfig_3rdparty"
45167 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45168 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
45170 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45171 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
45173 if test "$wxUSE_LIBPNG" = "builtin" ; then
45174 wxconfig_3rdparty
="png $wxconfig_3rdparty"
45176 if test "$wxUSE_ZLIB" = "builtin" ; then
45177 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
45180 for i
in $wxconfig_3rdparty ; do
45181 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45185 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45199 if test $wxUSE_MONOLITHIC = "yes" ; then
45205 if test $wxUSE_PLUGINS = "yes" ; then
45211 if test $wxUSE_ODBC != "no" ; then
45217 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45223 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45252 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45263 TOOLKIT_USER
="GTK+"
45264 if test "$WXGTK20" = 1; then
45265 TOOLKIT_USER
="$TOOLKIT_USER 2"
45270 TOOLKIT_USER
=$TOOLKIT_LOWERCASE
45274 if test "$wxUSE_WINE" = "yes"; then
45275 BAKEFILE_FORCE_PLATFORM
=win32
45281 if test "x$BAKEFILE_HOST" = "x"; then
45282 BAKEFILE_HOST
="${host}"
45285 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45287 if test -n "$ac_tool_prefix"; then
45288 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45289 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
45290 echo "$as_me:$LINENO: checking for $ac_word" >&5
45291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45292 if test "${ac_cv_prog_RANLIB+set}" = set; then
45293 echo $ECHO_N "(cached) $ECHO_C" >&6
45295 if test -n "$RANLIB"; then
45296 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
45298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45299 for as_dir
in $PATH
45302 test -z "$as_dir" && as_dir
=.
45303 for ac_exec_ext
in '' $ac_executable_extensions; do
45304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45305 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
45306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45314 RANLIB
=$ac_cv_prog_RANLIB
45315 if test -n "$RANLIB"; then
45316 echo "$as_me:$LINENO: result: $RANLIB" >&5
45317 echo "${ECHO_T}$RANLIB" >&6
45319 echo "$as_me:$LINENO: result: no" >&5
45320 echo "${ECHO_T}no" >&6
45324 if test -z "$ac_cv_prog_RANLIB"; then
45325 ac_ct_RANLIB
=$RANLIB
45326 # Extract the first word of "ranlib", so it can be a program name with args.
45327 set dummy ranlib
; ac_word
=$2
45328 echo "$as_me:$LINENO: checking for $ac_word" >&5
45329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45330 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45331 echo $ECHO_N "(cached) $ECHO_C" >&6
45333 if test -n "$ac_ct_RANLIB"; then
45334 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
45336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45337 for as_dir
in $PATH
45340 test -z "$as_dir" && as_dir
=.
45341 for ac_exec_ext
in '' $ac_executable_extensions; do
45342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45343 ac_cv_prog_ac_ct_RANLIB
="ranlib"
45344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45350 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
45353 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
45354 if test -n "$ac_ct_RANLIB"; then
45355 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45356 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45358 echo "$as_me:$LINENO: result: no" >&5
45359 echo "${ECHO_T}no" >&6
45362 RANLIB
=$ac_ct_RANLIB
45364 RANLIB
="$ac_cv_prog_RANLIB"
45367 # Find a good install program. We prefer a C program (faster),
45368 # so one script is as good as another. But avoid the broken or
45369 # incompatible versions:
45370 # SysV /etc/install, /usr/sbin/install
45371 # SunOS /usr/etc/install
45372 # IRIX /sbin/install
45374 # AmigaOS /C/install, which installs bootblocks on floppy discs
45375 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45376 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45377 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45378 # OS/2's system install, which has a completely different semantic
45379 # ./install, which can be erroneously created by make from ./install.sh.
45380 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45381 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45382 if test -z "$INSTALL"; then
45383 if test "${ac_cv_path_install+set}" = set; then
45384 echo $ECHO_N "(cached) $ECHO_C" >&6
45386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45387 for as_dir
in $PATH
45390 test -z "$as_dir" && as_dir
=.
45391 # Account for people who put trailing slashes in PATH elements.
45393 .
/ | .
// | /cC
/* | \
45394 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
45395 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
45398 # OSF1 and SCO ODT 3.0 have their own names for install.
45399 # Don't use installbsd from OSF since it installs stuff as root
45401 for ac_prog
in ginstall scoinst
install; do
45402 for ac_exec_ext
in '' $ac_executable_extensions; do
45403 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45404 if test $ac_prog = install &&
45405 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45406 # AIX install. It has an incompatible calling convention.
45408 elif test $ac_prog = install &&
45409 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
45410 # program-specific install script used by HP pwplus--don't use.
45413 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
45425 if test "${ac_cv_path_install+set}" = set; then
45426 INSTALL
=$ac_cv_path_install
45428 # As a last resort, use the slow shell script. We don't cache a
45429 # path for INSTALL within a source directory, because that will
45430 # break other packages using the cache if that directory is
45431 # removed, or if the path is relative.
45432 INSTALL
=$ac_install_sh
45435 echo "$as_me:$LINENO: result: $INSTALL" >&5
45436 echo "${ECHO_T}$INSTALL" >&6
45438 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45439 # It thinks the first close brace ends the variable substitution.
45440 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
45442 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
45444 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
45446 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45447 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45449 if test "$LN_S" = "ln -s"; then
45450 echo "$as_me:$LINENO: result: yes" >&5
45451 echo "${ECHO_T}yes" >&6
45453 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45454 echo "${ECHO_T}no, using $LN_S" >&6
45458 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45459 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45460 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
45461 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45462 echo $ECHO_N "(cached) $ECHO_C" >&6
45464 cat >conftest.
make <<\_ACEOF
45466 @
echo 'ac_maketemp="$(MAKE)"'
45468 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45469 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45470 if test -n "$ac_maketemp"; then
45471 eval ac_cv_prog_make_
${ac_make}_set
=yes
45473 eval ac_cv_prog_make_
${ac_make}_set
=no
45475 rm -f conftest.
make
45477 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45478 echo "$as_me:$LINENO: result: yes" >&5
45479 echo "${ECHO_T}yes" >&6
45482 echo "$as_me:$LINENO: result: no" >&5
45483 echo "${ECHO_T}no" >&6
45484 SET_MAKE
="MAKE=${MAKE-make}"
45489 if test -n "$ac_tool_prefix"; then
45490 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45491 set dummy
${ac_tool_prefix}ar; ac_word
=$2
45492 echo "$as_me:$LINENO: checking for $ac_word" >&5
45493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45494 if test "${ac_cv_prog_AR+set}" = set; then
45495 echo $ECHO_N "(cached) $ECHO_C" >&6
45497 if test -n "$AR"; then
45498 ac_cv_prog_AR
="$AR" # Let the user override the test.
45500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45501 for as_dir
in $PATH
45504 test -z "$as_dir" && as_dir
=.
45505 for ac_exec_ext
in '' $ac_executable_extensions; do
45506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45507 ac_cv_prog_AR
="${ac_tool_prefix}ar"
45508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45517 if test -n "$AR"; then
45518 echo "$as_me:$LINENO: result: $AR" >&5
45519 echo "${ECHO_T}$AR" >&6
45521 echo "$as_me:$LINENO: result: no" >&5
45522 echo "${ECHO_T}no" >&6
45526 if test -z "$ac_cv_prog_AR"; then
45528 # Extract the first word of "ar", so it can be a program name with args.
45529 set dummy
ar; ac_word
=$2
45530 echo "$as_me:$LINENO: checking for $ac_word" >&5
45531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45532 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45533 echo $ECHO_N "(cached) $ECHO_C" >&6
45535 if test -n "$ac_ct_AR"; then
45536 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
45538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45539 for as_dir
in $PATH
45542 test -z "$as_dir" && as_dir
=.
45543 for ac_exec_ext
in '' $ac_executable_extensions; do
45544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45545 ac_cv_prog_ac_ct_AR
="ar"
45546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45552 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
45555 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
45556 if test -n "$ac_ct_AR"; then
45557 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45558 echo "${ECHO_T}$ac_ct_AR" >&6
45560 echo "$as_me:$LINENO: result: no" >&5
45561 echo "${ECHO_T}no" >&6
45566 AR
="$ac_cv_prog_AR"
45569 if test -n "$ac_tool_prefix"; then
45570 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45571 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
45572 echo "$as_me:$LINENO: checking for $ac_word" >&5
45573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45574 if test "${ac_cv_prog_STRIP+set}" = set; then
45575 echo $ECHO_N "(cached) $ECHO_C" >&6
45577 if test -n "$STRIP"; then
45578 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
45580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45581 for as_dir
in $PATH
45584 test -z "$as_dir" && as_dir
=.
45585 for ac_exec_ext
in '' $ac_executable_extensions; do
45586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45587 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
45588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45596 STRIP
=$ac_cv_prog_STRIP
45597 if test -n "$STRIP"; then
45598 echo "$as_me:$LINENO: result: $STRIP" >&5
45599 echo "${ECHO_T}$STRIP" >&6
45601 echo "$as_me:$LINENO: result: no" >&5
45602 echo "${ECHO_T}no" >&6
45606 if test -z "$ac_cv_prog_STRIP"; then
45608 # Extract the first word of "strip", so it can be a program name with args.
45609 set dummy strip
; ac_word
=$2
45610 echo "$as_me:$LINENO: checking for $ac_word" >&5
45611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45612 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45613 echo $ECHO_N "(cached) $ECHO_C" >&6
45615 if test -n "$ac_ct_STRIP"; then
45616 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
45618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45619 for as_dir
in $PATH
45622 test -z "$as_dir" && as_dir
=.
45623 for ac_exec_ext
in '' $ac_executable_extensions; do
45624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45625 ac_cv_prog_ac_ct_STRIP
="strip"
45626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45632 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
45635 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
45636 if test -n "$ac_ct_STRIP"; then
45637 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45638 echo "${ECHO_T}$ac_ct_STRIP" >&6
45640 echo "$as_me:$LINENO: result: no" >&5
45641 echo "${ECHO_T}no" >&6
45646 STRIP
="$ac_cv_prog_STRIP"
45649 if test -n "$ac_tool_prefix"; then
45650 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45651 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
45652 echo "$as_me:$LINENO: checking for $ac_word" >&5
45653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45654 if test "${ac_cv_prog_NM+set}" = set; then
45655 echo $ECHO_N "(cached) $ECHO_C" >&6
45657 if test -n "$NM"; then
45658 ac_cv_prog_NM
="$NM" # Let the user override the test.
45660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45661 for as_dir
in $PATH
45664 test -z "$as_dir" && as_dir
=.
45665 for ac_exec_ext
in '' $ac_executable_extensions; do
45666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45667 ac_cv_prog_NM
="${ac_tool_prefix}nm"
45668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45677 if test -n "$NM"; then
45678 echo "$as_me:$LINENO: result: $NM" >&5
45679 echo "${ECHO_T}$NM" >&6
45681 echo "$as_me:$LINENO: result: no" >&5
45682 echo "${ECHO_T}no" >&6
45686 if test -z "$ac_cv_prog_NM"; then
45688 # Extract the first word of "nm", so it can be a program name with args.
45689 set dummy nm
; ac_word
=$2
45690 echo "$as_me:$LINENO: checking for $ac_word" >&5
45691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45692 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45693 echo $ECHO_N "(cached) $ECHO_C" >&6
45695 if test -n "$ac_ct_NM"; then
45696 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
45698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
45699 for as_dir
in $PATH
45702 test -z "$as_dir" && as_dir
=.
45703 for ac_exec_ext
in '' $ac_executable_extensions; do
45704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45705 ac_cv_prog_ac_ct_NM
="nm"
45706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45712 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM
=":"
45715 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
45716 if test -n "$ac_ct_NM"; then
45717 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45718 echo "${ECHO_T}$ac_ct_NM" >&6
45720 echo "$as_me:$LINENO: result: no" >&5
45721 echo "${ECHO_T}no" >&6
45726 NM
="$ac_cv_prog_NM"
45730 case ${BAKEFILE_HOST} in
45732 INSTALL_DIR
="mkdir -p"
45734 *) INSTALL_DIR
="$INSTALL -d"
45740 case ${BAKEFILE_HOST} in
45741 *-*-cygwin* | *-*-mingw32* )
45742 LDFLAGS_GUI
="-mwindows"
45748 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45749 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45750 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45751 echo $ECHO_N "(cached) $ECHO_C" >&6
45754 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
45755 egrep -s GNU
> /dev
/null
); then
45756 bakefile_cv_prog_makeisgnu
="yes"
45758 bakefile_cv_prog_makeisgnu
="no"
45762 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45763 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45765 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45782 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45783 case "${BAKEFILE_HOST}" in
45790 *-pc-os2_emx | *-pc-os2-emx )
45800 powerpc
-apple-macos* )
45809 case "$BAKEFILE_FORCE_PLATFORM" in
45830 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45831 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45832 { (exit 1); exit 1; }; }
45847 # Check whether --enable-omf or --disable-omf was given.
45848 if test "${enable_omf+set}" = set; then
45849 enableval
="$enable_omf"
45850 bk_os2_use_omf
="$enableval"
45853 case "${BAKEFILE_HOST}" in
45855 if test "x$GCC" = "xyes"; then
45856 CFLAGS
="$CFLAGS -fno-common"
45857 CXXFLAGS
="$CXXFLAGS -fno-common"
45859 if test "x$XLCC" = "xyes"; then
45860 CFLAGS
="$CFLAGS -qnocommon"
45861 CXXFLAGS
="$CXXFLAGS -qnocommon"
45865 *-pc-os2_emx | *-pc-os2-emx )
45866 if test "x$bk_os2_use_omf" = "xyes" ; then
45869 LDFLAGS
="-Zomf $LDFLAGS"
45870 CFLAGS
="-Zomf $CFLAGS"
45871 CXXFLAGS
="-Zomf $CXXFLAGS"
45879 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
45885 SO_SUFFIX_MODULE
="so"
45890 DLLPREFIX_MODULE
=""
45894 case "${BAKEFILE_HOST}" in
45897 SO_SUFFIX_MODULE
="sl"
45901 SO_SUFFIX_MODULE
="a"
45905 SO_SUFFIX_MODULE
="dll"
45906 DLLIMP_SUFFIX
="dll.a"
45913 SO_SUFFIX_MODULE
="dll"
45914 DLLIMP_SUFFIX
="dll.a"
45924 *-pc-os2_emx | *-pc-os2-emx )
45926 SO_SUFFIX_MODULE
="dll"
45927 DLLIMP_SUFFIX
=$OS2_LIBEXT
45931 LIBEXT
=".$OS2_LIBEXT"
45936 SO_SUFFIX_MODULE
="bundle"
45940 if test "x$DLLIMP_SUFFIX" = "x" ; then
45941 DLLIMP_SUFFIX
="$SO_SUFFIX"
45956 if test "x$GCC" = "xyes"; then
45960 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
45961 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
45964 case "${BAKEFILE_HOST}" in
45966 if test "x$GCC" != "xyes"; then
45967 LDFLAGS
="$LDFLAGS -L/usr/lib"
45969 SHARED_LD_CC
="${CC} -b -o"
45970 SHARED_LD_CXX
="${CXX} -b -o"
45976 if test "x$GCC" != "xyes"; then
45977 echo "$as_me:$LINENO: checking for Intel compiler" >&5
45978 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
45979 if test "${bakefile_cv_prog_icc+set}" = set; then
45980 echo $ECHO_N "(cached) $ECHO_C" >&6
45983 cat >conftest.
$ac_ext <<_ACEOF
45986 cat confdefs.h
>>conftest.
$ac_ext
45987 cat >>conftest.
$ac_ext <<_ACEOF
45988 /* end confdefs.h. */
45994 #ifndef __INTEL_COMPILER
46002 rm -f conftest.
$ac_objext
46003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46004 (eval $ac_compile) 2>conftest.er1
46006 grep -v '^ *+' conftest.er1
>conftest.err
46008 cat conftest.err
>&5
46009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46010 (exit $ac_status); } &&
46011 { ac_try
='test -z "$ac_c_werror_flag"
46012 || test ! -s conftest.err'
46013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46014 (eval $ac_try) 2>&5
46016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46017 (exit $ac_status); }; } &&
46018 { ac_try
='test -s conftest.$ac_objext'
46019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46020 (eval $ac_try) 2>&5
46022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46023 (exit $ac_status); }; }; then
46024 bakefile_cv_prog_icc
=yes
46026 echo "$as_me: failed program was:" >&5
46027 sed 's/^/| /' conftest.
$ac_ext >&5
46029 bakefile_cv_prog_icc
=no
46032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46035 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46036 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46037 if test "$bakefile_cv_prog_icc" = "yes"; then
46044 if test "x$GCC" != xyes
; then
46045 SHARED_LD_CC
="${CC} -G -o"
46046 SHARED_LD_CXX
="${CXX} -G -o"
46054 cat <<EOF >shared-ld-sh
46056 #-----------------------------------------------------------------------------
46057 #-- Name: distrib/mac/shared-ld-sh
46058 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46059 #-- Author: Gilles Depeyrot
46060 #-- Copyright: (c) 2002 Gilles Depeyrot
46061 #-- Licence: any use permitted
46062 #-----------------------------------------------------------------------------
46067 linking_flag="-dynamiclib"
46068 ldargs="-r -keep_private_externs -nostdlib"
46070 while test ${D}# -gt 0; do
46077 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46078 # collect these options and values
46079 args="${D}{args} ${D}1 ${D}2"
46084 # collect these load args
46085 ldargs="${D}{ldargs} ${D}1"
46088 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46089 # collect these options
46090 args="${D}{args} ${D}1"
46093 -dynamiclib|-bundle)
46094 linking_flag="${D}1"
46098 echo "shared-ld: unhandled option '${D}1'"
46102 *.o | *.a | *.dylib)
46103 # collect object files
46104 objects="${D}{objects} ${D}1"
46108 echo "shared-ld: unhandled argument '${D}1'"
46119 # Link one module containing all the others
46121 if test ${D}{verbose} = 1; then
46122 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46124 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46128 # Link the shared library from the single module created, but only if the
46129 # previous command didn't fail:
46131 if test ${D}{status} = 0; then
46132 if test ${D}{verbose} = 1; then
46133 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46135 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46140 # Remove intermediate module
46142 rm -f master.${D}${D}.o
46147 chmod +x shared
-ld-sh
46149 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46150 SHARED_LD_MODULE_CXX
="$SHARED_LD_MODULE_CC"
46153 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46154 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46155 if test "${bakefile_cv_gcc31+set}" = set; then
46156 echo $ECHO_N "(cached) $ECHO_C" >&6
46159 cat >conftest.
$ac_ext <<_ACEOF
46162 cat confdefs.h
>>conftest.
$ac_ext
46163 cat >>conftest.
$ac_ext <<_ACEOF
46164 /* end confdefs.h. */
46170 #if (__GNUC__ < 3) || \
46171 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46179 rm -f conftest.
$ac_objext
46180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46181 (eval $ac_compile) 2>conftest.er1
46183 grep -v '^ *+' conftest.er1
>conftest.err
46185 cat conftest.err
>&5
46186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46187 (exit $ac_status); } &&
46188 { ac_try
='test -z "$ac_c_werror_flag"
46189 || test ! -s conftest.err'
46190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46191 (eval $ac_try) 2>&5
46193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46194 (exit $ac_status); }; } &&
46195 { ac_try
='test -s conftest.$ac_objext'
46196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46197 (eval $ac_try) 2>&5
46199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46200 (exit $ac_status); }; }; then
46202 bakefile_cv_gcc31
=yes
46205 echo "$as_me: failed program was:" >&5
46206 sed 's/^/| /' conftest.
$ac_ext >&5
46209 bakefile_cv_gcc31
=no
46213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
46216 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46217 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46218 if test "$bakefile_cv_gcc31" = "no"; then
46219 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46220 SHARED_LD_CXX
="$SHARED_LD_CC"
46222 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46223 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46226 if test "x$GCC" == "xyes"; then
46227 PIC_FLAG
="-dynamic -fPIC"
46229 if test "x$XLCC" = "xyes"; then
46230 PIC_FLAG
="-dynamic -DPIC"
46235 if test "x$GCC" = "xyes"; then
46238 case "${BAKEFILE_HOST}" in
46240 LD_EXPFULL
="-Wl,-bexpfull"
46244 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
46245 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
46247 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46248 set dummy makeC
++SharedLib
; ac_word
=$2
46249 echo "$as_me:$LINENO: checking for $ac_word" >&5
46250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46251 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46252 echo $ECHO_N "(cached) $ECHO_C" >&6
46254 if test -n "$AIX_CXX_LD"; then
46255 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
46257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46258 for as_dir
in $PATH
46261 test -z "$as_dir" && as_dir
=.
46262 for ac_exec_ext
in '' $ac_executable_extensions; do
46263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46264 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
46265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46271 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
46274 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
46275 if test -n "$AIX_CXX_LD"; then
46276 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46277 echo "${ECHO_T}$AIX_CXX_LD" >&6
46279 echo "$as_me:$LINENO: result: no" >&5
46280 echo "${ECHO_T}no" >&6
46283 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
46284 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
46289 SHARED_LD_CC
="${LD} -nostart -o"
46290 SHARED_LD_CXX
="${LD} -nostart -o"
46294 if test "x$GCC" != "xyes"; then
46299 *-*-cygwin* | *-*-mingw32* )
46301 SHARED_LD_CC
="\$(CC) -shared -o"
46302 SHARED_LD_CXX
="\$(CXX) -shared -o"
46306 *-pc-os2_emx | *-pc-os2-emx )
46307 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46308 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46312 cat <<EOF >dllar.sh
46315 # dllar - a tool to build both a .dll and an .a file
46316 # from a set of object (.o) files for EMX/OS2.
46318 # Written by Andrew Zabolotny, bit@freya.etu.ru
46319 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46321 # This script will accept a set of files on the command line.
46322 # All the public symbols from the .o files will be exported into
46323 # a .DEF file, then linker will be run (through gcc) against them to
46324 # build a shared library consisting of all given .o files. All libraries
46325 # (.a) will be first decompressed into component .o files then act as
46326 # described above. You can optionally give a description (-d "description")
46327 # which will be put into .DLL. To see the list of accepted options (as well
46328 # as command-line format) simply run this program without options. The .DLL
46329 # is built to be imported by name (there is no guarantee that new versions
46330 # of the library you build will have same ordinals for same symbols).
46332 # dllar is free software; you can redistribute it and/or modify
46333 # it under the terms of the GNU General Public License as published by
46334 # the Free Software Foundation; either version 2, or (at your option)
46335 # any later version.
46337 # dllar is distributed in the hope that it will be useful,
46338 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46339 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46340 # GNU General Public License for more details.
46342 # You should have received a copy of the GNU General Public License
46343 # along with dllar; see the file COPYING. If not, write to the Free
46344 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46347 # To successfuly run this program you will need:
46348 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46349 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46351 # (used to build the .dll)
46353 # (used to create .def file from .o files)
46355 # (used to create .a file from .def file)
46356 # - GNU text utilites (cat, sort, uniq)
46357 # used to process emxexp output
46358 # - GNU file utilities (mv, rm)
46360 # - lxlite (optional, see flag below)
46361 # (used for general .dll cleanup)
46368 # basnam, variant of basename, which does _not_ remove the path, _iff_
46369 # second argument (suffix to remove) is given
46373 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46376 echo ${D}1 | sed 's/'${D}2'${D}//'
46379 echo "error in basnam ${D}*"
46385 # Cleanup temporary files and output
46388 for i in ${D}inputFiles ; do
46391 rm -rf \`basnam ${D}i !\`
46398 # Kill result in case of failure as there is just to many stupid make/nmake
46399 # things out there which doesn't do this.
46400 if [ ${D}# -eq 0 ]; then
46401 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46405 # Print usage and exit script with rc=1.
46407 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46408 echo ' [-name-mangler-script script.sh]'
46409 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46410 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46411 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46412 echo ' [*.o] [*.a]'
46413 echo '*> "output_file" should have no extension.'
46414 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46415 echo ' The import library name is derived from this and is set to "name".a,'
46416 echo ' unless overridden by -import'
46417 echo '*> "importlib_name" should have no extension.'
46418 echo ' If it has the .o, or .a extension, it is automatically removed.'
46419 echo ' This name is used as the import library name and may be longer and'
46420 echo ' more descriptive than the DLL name which has to follow the old '
46421 echo ' 8.3 convention of FAT.'
46422 echo '*> "script.sh may be given to override the output_file name by a'
46423 echo ' different name. It is mainly useful if the regular make process'
46424 echo ' of some package does not take into account OS/2 restriction of'
46425 echo ' DLL name lengths. It takes the importlib name as input and is'
46426 echo ' supposed to procude a shorter name as output. The script should'
46427 echo ' expect to get importlib_name without extension and should produce'
46428 echo ' a (max.) 8 letter name without extension.'
46429 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46430 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46431 echo ' These flags will be put at the start of GCC command line.'
46432 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46433 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46434 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46435 echo ' If the last character of a symbol is "*", all symbols beginning'
46436 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46437 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46438 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46439 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46440 echo ' C runtime DLLs.'
46441 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46442 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46443 echo ' unchanged to GCC at the end of command line.'
46444 echo '*> If you create a DLL from a library and you do not specify -o,'
46445 echo ' the basename for DLL and import library will be set to library name,'
46446 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46447 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46448 echo ' library will be renamed into gcc_s.a.'
46451 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46452 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46457 # Execute a command.
46458 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46459 # @Uses Whatever CleanUp() uses.
46465 if [ ${D}rcCmd -ne 0 ]; then
46466 echo "command failed, exit code="${D}rcCmd
46481 CFLAGS="-s -Zcrtdll"
46483 EXPORT_BY_ORDINALS=0
46488 case ${D}curDirS in
46492 curDirS=${D}{curDirS}"/"
46495 # Parse commandline
46498 while [ ${D}1 ]; do
46501 EXPORT_BY_ORDINALS=1;
46511 -name-mangler-script)
46532 exclude_symbols=${D}{exclude_symbols}${D}1" "
46536 library_flags=${D}{library_flags}${D}1" "
46555 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46558 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46559 if [ ${D}omfLinking -eq 1 ]; then
46560 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46562 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46567 if [ ${D}libsToLink -ne 0 ]; then
46568 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46570 for file in ${D}1 ; do
46571 if [ -f ${D}file ]; then
46572 inputFiles="${D}{inputFiles} ${D}file"
46576 if [ ${D}found -eq 0 ]; then
46577 echo "ERROR: No file(s) found: "${D}1
46584 done # iterate cmdline words
46587 if [ -z "${D}inputFiles" ]; then
46588 echo "dllar: no input files"
46592 # Now extract all .o files from .a files
46594 for file in ${D}inputFiles ; do
46605 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46610 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46612 if [ ${D}? -ne 0 ]; then
46613 echo "Failed to create subdirectory ./${D}dirname"
46617 # Append '!' to indicate archive
46618 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46619 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46622 for subfile in ${D}dirname/*.o* ; do
46623 if [ -f ${D}subfile ]; then
46625 if [ -s ${D}subfile ]; then
46626 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46627 newInputFiles="${D}newInputFiles ${D}subfile"
46631 if [ ${D}found -eq 0 ]; then
46632 echo "WARNING: there are no files in archive \\'${D}file\\'"
46636 newInputFiles="${D}{newInputFiles} ${D}file"
46640 inputFiles="${D}newInputFiles"
46642 # Output filename(s).
46644 if [ -z ${D}outFile ]; then
46646 set outFile ${D}inputFiles; outFile=${D}2
46649 # If it is an archive, remove the '!' and the '_%' suffixes
46650 case ${D}outFile in
46652 outFile=\`basnam ${D}outFile _%!\`
46657 case ${D}outFile in
46659 outFile=\`basnam ${D}outFile .dll\`
46662 outFile=\`basnam ${D}outFile .DLL\`
46665 outFile=\`basnam ${D}outFile .o\`
46668 outFile=\`basnam ${D}outFile .obj\`
46671 outFile=\`basnam ${D}outFile .a\`
46674 outFile=\`basnam ${D}outFile .lib\`
46679 case ${D}outimpFile in
46681 outimpFile=\`basnam ${D}outimpFile .a\`
46684 outimpFile=\`basnam ${D}outimpFile .lib\`
46689 if [ -z ${D}outimpFile ]; then
46690 outimpFile=${D}outFile
46692 defFile="${D}{outFile}.def"
46693 arcFile="${D}{outimpFile}.a"
46694 arcFile2="${D}{outimpFile}.lib"
46696 #create ${D}dllFile as something matching 8.3 restrictions,
46697 if [ -z ${D}renameScript ] ; then
46698 dllFile="${D}outFile"
46700 dllFile=\`${D}renameScript ${D}outimpFile\`
46703 if [ ${D}do_backup -ne 0 ] ; then
46704 if [ -f ${D}arcFile ] ; then
46705 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46707 if [ -f ${D}arcFile2 ] ; then
46708 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46712 # Extract public symbols from all the object files.
46713 tmpdefFile=${D}{defFile}_%
46714 rm -f ${D}tmpdefFile
46715 for file in ${D}inputFiles ; do
46720 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46725 # Create the def file.
46727 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46728 dllFile="${D}{dllFile}.dll"
46729 if [ ! -z ${D}description ]; then
46730 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46732 echo "EXPORTS" >> ${D}defFile
46734 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46735 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46737 # Checks if the export is ok or not.
46738 for word in ${D}exclude_symbols; do
46739 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46740 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46744 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46745 sed "=" < ${D}tmpdefFile | \\
46749 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46751 ' > ${D}{tmpdefFile}%
46752 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46754 rm -f ${D}{tmpdefFile}%
46756 cat ${D}tmpdefFile >> ${D}defFile
46757 rm -f ${D}tmpdefFile
46759 # Do linking, create implib, and apply lxlite.
46761 for file in ${D}inputFiles ; do
46766 gccCmdl="${D}gccCmdl ${D}file"
46770 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46771 touch "${D}{outFile}.dll"
46773 doCommand "emximp -o ${D}arcFile ${D}defFile"
46774 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46776 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46779 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46781 doCommand "emxomf -s -l ${D}arcFile"
46791 powerpc
-apple-macos* | \
46792 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
46801 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46802 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46803 { (exit 1); exit 1; }; }
46806 if test "x$PIC_FLAG" != "x" ; then
46807 PIC_FLAG
="$PIC_FLAG -DPIC"
46810 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46811 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
46813 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46814 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
46833 case "${BAKEFILE_HOST}" in
46834 *-*-linux* | *-*-freebsd* | *-*-k*bsd
*-gnu )
46835 SONAME_FLAG
="-Wl,-soname,"
46869 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46870 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46873 if test "x$GCC" = "xyes"; then
46875 case "${BAKEFILE_HOST}" in
46877 DEPSFLAG
="-no-cpp-precomp -MMD"
46883 echo "$as_me:$LINENO: result: gcc" >&5
46884 echo "${ECHO_T}gcc" >&6
46885 elif test "x$MWCC" = "xyes"; then
46888 echo "$as_me:$LINENO: result: mwcc" >&5
46889 echo "${ECHO_T}mwcc" >&6
46890 elif test "x$SUNCC" = "xyes"; then
46893 echo "$as_me:$LINENO: result: Sun cc" >&5
46894 echo "${ECHO_T}Sun cc" >&6
46895 elif test "x$SGICC" = "xyes"; then
46898 echo "$as_me:$LINENO: result: SGI cc" >&5
46899 echo "${ECHO_T}SGI cc" >&6
46900 elif test "x$HPCC" = "xyes"; then
46903 echo "$as_me:$LINENO: result: HP cc" >&5
46904 echo "${ECHO_T}HP cc" >&6
46905 elif test "x$COMPAQCC" = "xyes"; then
46908 echo "$as_me:$LINENO: result: Compaq cc" >&5
46909 echo "${ECHO_T}Compaq cc" >&6
46912 echo "$as_me:$LINENO: result: none" >&5
46913 echo "${ECHO_T}none" >&6
46916 if test $DEPS_TRACKING = 1 ; then
46922 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46923 # script. It is used to track C/C++ files dependencies in portable way.
46925 # Permission is given to use this file in any way.
46927 DEPSMODE=${DEPSMODE}
46929 DEPSFLAG="${DEPSFLAG}"
46931 mkdir -p ${D}DEPSDIR
46933 if test ${D}DEPSMODE = gcc ; then
46934 ${D}* ${D}{DEPSFLAG}
46936 if test ${D}{status} != 0 ; then
46939 # move created file to the location we want it in:
46940 while test ${D}# -gt 0; do
46954 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
46955 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
46956 if test -f ${D}depfile ; then
46957 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46960 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
46961 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
46962 if test ! -f ${D}depfile ; then
46963 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
46964 depfile="${D}objfile.d"
46966 if test -f ${D}depfile ; then
46967 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46972 elif test ${D}DEPSMODE = mwcc ; then
46973 ${D}* || exit ${D}?
46974 # Run mwcc again with -MM and redirect into the dep file we want
46975 # NOTE: We can't use shift here because we need ${D}* to be valid
46977 for arg in ${D}* ; do
46978 if test "${D}prevarg" = "-o"; then
46991 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
46993 elif test ${D}DEPSMODE = unixcc; then
46994 ${D}* || exit ${D}?
46995 # Run compiler again with deps flag and redirect into the dep file.
46996 # It doesn't work if the '-o FILE' option is used, but without it the
46997 # dependency file will contain the wrong name for the object. So it is
46998 # removed from the command line, and the dep file is fixed with sed.
47000 while test ${D}# -gt 0; do
47007 eval arg${D}#=\\${D}1
47008 cmd="${D}cmd \\${D}arg${D}#"
47013 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47027 case ${BAKEFILE_HOST} in
47028 *-*-cygwin* | *-*-mingw32* )
47029 if test -n "$ac_tool_prefix"; then
47030 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47031 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
47032 echo "$as_me:$LINENO: checking for $ac_word" >&5
47033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47034 if test "${ac_cv_prog_WINDRES+set}" = set; then
47035 echo $ECHO_N "(cached) $ECHO_C" >&6
47037 if test -n "$WINDRES"; then
47038 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
47040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47041 for as_dir
in $PATH
47044 test -z "$as_dir" && as_dir
=.
47045 for ac_exec_ext
in '' $ac_executable_extensions; do
47046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47047 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
47048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47056 WINDRES
=$ac_cv_prog_WINDRES
47057 if test -n "$WINDRES"; then
47058 echo "$as_me:$LINENO: result: $WINDRES" >&5
47059 echo "${ECHO_T}$WINDRES" >&6
47061 echo "$as_me:$LINENO: result: no" >&5
47062 echo "${ECHO_T}no" >&6
47066 if test -z "$ac_cv_prog_WINDRES"; then
47067 ac_ct_WINDRES
=$WINDRES
47068 # Extract the first word of "windres", so it can be a program name with args.
47069 set dummy windres
; ac_word
=$2
47070 echo "$as_me:$LINENO: checking for $ac_word" >&5
47071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47072 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47073 echo $ECHO_N "(cached) $ECHO_C" >&6
47075 if test -n "$ac_ct_WINDRES"; then
47076 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
47078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47079 for as_dir
in $PATH
47082 test -z "$as_dir" && as_dir
=.
47083 for ac_exec_ext
in '' $ac_executable_extensions; do
47084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47085 ac_cv_prog_ac_ct_WINDRES
="windres"
47086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47094 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
47095 if test -n "$ac_ct_WINDRES"; then
47096 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47097 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47099 echo "$as_me:$LINENO: result: no" >&5
47100 echo "${ECHO_T}no" >&6
47103 WINDRES
=$ac_ct_WINDRES
47105 WINDRES
="$ac_cv_prog_WINDRES"
47110 *-*-darwin* | powerpc
-apple-macos* )
47111 # Extract the first word of "Rez", so it can be a program name with args.
47112 set dummy Rez
; ac_word
=$2
47113 echo "$as_me:$LINENO: checking for $ac_word" >&5
47114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47115 if test "${ac_cv_prog_REZ+set}" = set; then
47116 echo $ECHO_N "(cached) $ECHO_C" >&6
47118 if test -n "$REZ"; then
47119 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
47121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47122 for as_dir
in $PATH
47125 test -z "$as_dir" && as_dir
=.
47126 for ac_exec_ext
in '' $ac_executable_extensions; do
47127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47128 ac_cv_prog_REZ
="Rez"
47129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47135 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
47138 REZ
=$ac_cv_prog_REZ
47139 if test -n "$REZ"; then
47140 echo "$as_me:$LINENO: result: $REZ" >&5
47141 echo "${ECHO_T}$REZ" >&6
47143 echo "$as_me:$LINENO: result: no" >&5
47144 echo "${ECHO_T}no" >&6
47147 # Extract the first word of "SetFile", so it can be a program name with args.
47148 set dummy SetFile
; ac_word
=$2
47149 echo "$as_me:$LINENO: checking for $ac_word" >&5
47150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47151 if test "${ac_cv_prog_SETFILE+set}" = set; then
47152 echo $ECHO_N "(cached) $ECHO_C" >&6
47154 if test -n "$SETFILE"; then
47155 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
47157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47158 for as_dir
in $PATH
47161 test -z "$as_dir" && as_dir
=.
47162 for ac_exec_ext
in '' $ac_executable_extensions; do
47163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47164 ac_cv_prog_SETFILE
="SetFile"
47165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47171 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
47174 SETFILE
=$ac_cv_prog_SETFILE
47175 if test -n "$SETFILE"; then
47176 echo "$as_me:$LINENO: result: $SETFILE" >&5
47177 echo "${ECHO_T}$SETFILE" >&6
47179 echo "$as_me:$LINENO: result: no" >&5
47180 echo "${ECHO_T}no" >&6
47191 BAKEFILE_BAKEFILE_M4_VERSION
="0.1.9"
47194 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.1.9"
47198 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47199 if test "${enable_precomp_headers+set}" = set; then
47200 enableval
="$enable_precomp_headers"
47201 bk_use_pch
="$enableval"
47206 case ${BAKEFILE_HOST} in
47212 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47213 if test "x$GCC" = "xyes"; then
47214 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47215 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47216 cat >conftest.
$ac_ext <<_ACEOF
47219 cat confdefs.h
>>conftest.
$ac_ext
47220 cat >>conftest.
$ac_ext <<_ACEOF
47221 /* end confdefs.h. */
47227 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47228 #error "no pch support"
47231 #error "no pch support"
47233 #if (__GNUC__ == 3) && \
47234 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47235 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
47236 #error "no pch support"
47243 rm -f conftest.
$ac_objext
47244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47245 (eval $ac_compile) 2>conftest.er1
47247 grep -v '^ *+' conftest.er1
>conftest.err
47249 cat conftest.err
>&5
47250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47251 (exit $ac_status); } &&
47252 { ac_try
='test -z "$ac_c_werror_flag"
47253 || test ! -s conftest.err'
47254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47255 (eval $ac_try) 2>&5
47257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47258 (exit $ac_status); }; } &&
47259 { ac_try
='test -s conftest.$ac_objext'
47260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47261 (eval $ac_try) 2>&5
47263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47264 (exit $ac_status); }; }; then
47266 echo "$as_me:$LINENO: result: yes" >&5
47267 echo "${ECHO_T}yes" >&6
47271 echo "$as_me: failed program was:" >&5
47272 sed 's/^/| /' conftest.
$ac_ext >&5
47275 echo "$as_me:$LINENO: result: no" >&5
47276 echo "${ECHO_T}no" >&6
47279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
47280 if test $GCC_PCH = 1 ; then
47283 cat <<EOF >bk-make-pch
47286 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47287 # script. It is used to generated precompiled headers.
47289 # Permission is given to use this file in any way.
47298 while test ${D}{#} -gt 0; do
47301 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47302 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47303 headerfile="${D}{incdir}/${D}{header}"
47307 compiler="${D}{compiler} ${D}{1}"
47311 if test "x${D}{headerfile}" = "x" ; then
47312 echo "error: can't find header ${D}{header} in include paths" >2
47314 if test -f ${D}{outfile} ; then
47315 rm -f ${D}{outfile}
47317 mkdir -p \`dirname ${D}{outfile}\`
47319 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47321 # can do this because gcc is >= 3.4:
47322 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47327 chmod +x bk
-make-pch
47334 COND_BUILD_DEBUG
="#"
47335 if test "x$BUILD" = "xdebug" ; then
47336 COND_BUILD_DEBUG
=""
47339 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
47340 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47341 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
47344 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
47345 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47346 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
47349 COND_BUILD_DEBUG_UNICODE_0
="#"
47350 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47351 COND_BUILD_DEBUG_UNICODE_0
=""
47354 COND_BUILD_DEBUG_UNICODE_1
="#"
47355 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47356 COND_BUILD_DEBUG_UNICODE_1
=""
47359 COND_BUILD_RELEASE
="#"
47360 if test "x$BUILD" = "xrelease" ; then
47361 COND_BUILD_RELEASE
=""
47364 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
47365 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47366 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
47369 COND_BUILD_RELEASE_UNICODE_0
="#"
47370 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47371 COND_BUILD_RELEASE_UNICODE_0
=""
47374 COND_BUILD_RELEASE_UNICODE_1
="#"
47375 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47376 COND_BUILD_RELEASE_UNICODE_1
=""
47379 COND_DEBUG_FLAG_1
="#"
47380 if test "x$DEBUG_FLAG" = "x1" ; then
47381 COND_DEBUG_FLAG_1
=""
47384 COND_DEBUG_INFO_0
="#"
47385 if test "x$DEBUG_INFO" = "x0" ; then
47386 COND_DEBUG_INFO_0
=""
47389 COND_DEBUG_INFO_1
="#"
47390 if test "x$DEBUG_INFO" = "x1" ; then
47391 COND_DEBUG_INFO_1
=""
47394 COND_DEPS_TRACKING_0
="#"
47395 if test "x$DEPS_TRACKING" = "x0" ; then
47396 COND_DEPS_TRACKING_0
=""
47399 COND_DEPS_TRACKING_1
="#"
47400 if test "x$DEPS_TRACKING" = "x1" ; then
47401 COND_DEPS_TRACKING_1
=""
47405 if test "x$GCC_PCH" = "x1" ; then
47409 COND_MONOLITHIC_0
="#"
47410 if test "x$MONOLITHIC" = "x0" ; then
47411 COND_MONOLITHIC_0
=""
47414 COND_MONOLITHIC_0_SHARED_0
="#"
47415 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47416 COND_MONOLITHIC_0_SHARED_0
=""
47419 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
47420 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47421 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
47424 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
47425 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47426 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
47429 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
="#"
47430 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47431 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
=""
47434 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
47435 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47436 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
47439 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
="#"
47440 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47441 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
=""
47444 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
47445 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47446 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
47449 COND_MONOLITHIC_0_SHARED_1
="#"
47450 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47451 COND_MONOLITHIC_0_SHARED_1
=""
47454 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
47455 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47456 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
47459 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
47460 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47461 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
47464 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
="#"
47465 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47466 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
=""
47469 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
47470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47471 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
47474 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
="#"
47475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47476 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
=""
47479 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
47480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47481 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
47484 COND_MONOLITHIC_0_USE_ODBC_1
="#"
47485 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47486 COND_MONOLITHIC_0_USE_ODBC_1
=""
47489 COND_MONOLITHIC_1
="#"
47490 if test "x$MONOLITHIC" = "x1" ; then
47491 COND_MONOLITHIC_1
=""
47494 COND_MONOLITHIC_1_SHARED_0
="#"
47495 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47496 COND_MONOLITHIC_1_SHARED_0
=""
47499 COND_MONOLITHIC_1_SHARED_1
="#"
47500 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47501 COND_MONOLITHIC_1_SHARED_1
=""
47504 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
47505 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47506 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
47509 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
47510 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47511 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
47514 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
47515 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47516 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
47519 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
47520 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47521 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
47524 COND_PLATFORM_MACOSX_1
="#"
47525 if test "x$PLATFORM_MACOSX" = "x1" ; then
47526 COND_PLATFORM_MACOSX_1
=""
47529 COND_PLATFORM_MACOSX_1_TOOLKIT_
="#"
47530 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47531 COND_PLATFORM_MACOSX_1_TOOLKIT_
=""
47534 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
="#"
47535 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47536 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
=""
47539 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
="#"
47540 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47541 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
=""
47544 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
="#"
47545 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47546 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
=""
47549 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
="#"
47550 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47551 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
=""
47554 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47555 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47556 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47559 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
="#"
47560 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47561 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
=""
47564 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
="#"
47565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47566 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
=""
47569 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
47570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47571 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
47574 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
47575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47576 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
47579 COND_PLATFORM_MACOS_1
="#"
47580 if test "x$PLATFORM_MACOS" = "x1" ; then
47581 COND_PLATFORM_MACOS_1
=""
47584 COND_PLATFORM_MAC_1
="#"
47585 if test "x$PLATFORM_MAC" = "x1" ; then
47586 COND_PLATFORM_MAC_1
=""
47589 COND_PLATFORM_MSDOS_1
="#"
47590 if test "x$PLATFORM_MSDOS" = "x1" ; then
47591 COND_PLATFORM_MSDOS_1
=""
47594 COND_PLATFORM_OS2_1
="#"
47595 if test "x$PLATFORM_OS2" = "x1" ; then
47596 COND_PLATFORM_OS2_1
=""
47599 COND_PLATFORM_UNIX_0
="#"
47600 if test "x$PLATFORM_UNIX" = "x0" ; then
47601 COND_PLATFORM_UNIX_0
=""
47604 COND_PLATFORM_UNIX_1
="#"
47605 if test "x$PLATFORM_UNIX" = "x1" ; then
47606 COND_PLATFORM_UNIX_1
=""
47609 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
47610 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47611 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
47614 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
47615 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47616 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
47619 COND_PLATFORM_WIN32_0
="#"
47620 if test "x$PLATFORM_WIN32" = "x0" ; then
47621 COND_PLATFORM_WIN32_0
=""
47624 COND_PLATFORM_WIN32_1
="#"
47625 if test "x$PLATFORM_WIN32" = "x1" ; then
47626 COND_PLATFORM_WIN32_1
=""
47630 if test "x$SHARED" = "x0" ; then
47634 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
47635 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47636 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
47639 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
47640 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47641 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
47644 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
47645 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47646 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
47649 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
47650 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47651 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
47654 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47655 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47656 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47659 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47660 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47661 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47664 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47665 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47666 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47669 COND_SHARED_0_USE_XRC_1
="#"
47670 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47671 COND_SHARED_0_USE_XRC_1
=""
47674 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
="#"
47675 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47676 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
=""
47679 COND_SHARED_0_WXUSE_ODBC_BUILTIN
="#"
47680 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47681 COND_SHARED_0_WXUSE_ODBC_BUILTIN
=""
47684 COND_SHARED_0_WXUSE_REGEX_BUILTIN
="#"
47685 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47686 COND_SHARED_0_WXUSE_REGEX_BUILTIN
=""
47689 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
="#"
47690 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47691 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
=""
47695 if test "x$SHARED" = "x1" ; then
47699 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
47700 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47701 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
47704 COND_SHARED_1_USE_XRC_1
="#"
47705 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47706 COND_SHARED_1_USE_XRC_1
=""
47710 if test "x$TOOLKIT" = "x" ; then
47714 COND_TOOLKIT_COCOA
="#"
47715 if test "x$TOOLKIT" = "xCOCOA" ; then
47716 COND_TOOLKIT_COCOA
=""
47719 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
47720 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47721 COND_TOOLKIT_COCOA_USE_GUI_1
=""
47724 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
47725 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47726 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
47729 COND_TOOLKIT_GTK
="#"
47730 if test "x$TOOLKIT" = "xGTK" ; then
47731 COND_TOOLKIT_GTK
=""
47734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
47735 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
47739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
47740 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
47744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
47745 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
47749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
47750 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
47754 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
47755 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
47756 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
47759 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
47760 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47761 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
47764 COND_TOOLKIT_GTK_USE_GUI_1
="#"
47765 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47766 COND_TOOLKIT_GTK_USE_GUI_1
=""
47769 COND_TOOLKIT_MAC
="#"
47770 if test "x$TOOLKIT" = "xMAC" ; then
47771 COND_TOOLKIT_MAC
=""
47774 COND_TOOLKIT_MAC_USE_GUI_1
="#"
47775 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47776 COND_TOOLKIT_MAC_USE_GUI_1
=""
47779 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
="#"
47780 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47781 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
=""
47784 COND_TOOLKIT_MGL
="#"
47785 if test "x$TOOLKIT" = "xMGL" ; then
47786 COND_TOOLKIT_MGL
=""
47789 COND_TOOLKIT_MGL_USE_GUI_1
="#"
47790 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47791 COND_TOOLKIT_MGL_USE_GUI_1
=""
47794 COND_TOOLKIT_MOTIF
="#"
47795 if test "x$TOOLKIT" = "xMOTIF" ; then
47796 COND_TOOLKIT_MOTIF
=""
47799 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
47800 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47801 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
47804 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
47805 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47806 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
47809 COND_TOOLKIT_MSW
="#"
47810 if test "x$TOOLKIT" = "xMSW" ; then
47811 COND_TOOLKIT_MSW
=""
47814 COND_TOOLKIT_MSW_USE_GUI_1
="#"
47815 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47816 COND_TOOLKIT_MSW_USE_GUI_1
=""
47819 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
47820 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47821 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
47824 COND_TOOLKIT_MSW_WXUNIV_0
="#"
47825 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47826 COND_TOOLKIT_MSW_WXUNIV_0
=""
47829 COND_TOOLKIT_PM
="#"
47830 if test "x$TOOLKIT" = "xPM" ; then
47834 COND_TOOLKIT_PM_USE_GUI_1
="#"
47835 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47836 COND_TOOLKIT_PM_USE_GUI_1
=""
47839 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
47840 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47841 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
47844 COND_TOOLKIT_WINCE
="#"
47845 if test "x$TOOLKIT" = "xWINCE" ; then
47846 COND_TOOLKIT_WINCE
=""
47849 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
47850 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47851 COND_TOOLKIT_WINCE_USE_GUI_1
=""
47854 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
47855 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47856 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
47859 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
47860 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47861 COND_TOOLKIT_WINCE_WXUNIV_0
=""
47864 COND_TOOLKIT_X11
="#"
47865 if test "x$TOOLKIT" = "xX11" ; then
47866 COND_TOOLKIT_X11
=""
47869 COND_TOOLKIT_X11_USE_GUI_1
="#"
47870 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47871 COND_TOOLKIT_X11_USE_GUI_1
=""
47875 if test "x$UNICODE" = "x1" ; then
47879 COND_USE_EXCEPTIONS_0
="#"
47880 if test "x$USE_EXCEPTIONS" = "x0" ; then
47881 COND_USE_EXCEPTIONS_0
=""
47884 COND_USE_EXCEPTIONS_1
="#"
47885 if test "x$USE_EXCEPTIONS" = "x1" ; then
47886 COND_USE_EXCEPTIONS_1
=""
47890 if test "x$USE_GUI" = "x0" ; then
47895 if test "x$USE_GUI" = "x1" ; then
47899 COND_USE_GUI_1_WXUNIV_0
="#"
47900 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47901 COND_USE_GUI_1_WXUNIV_0
=""
47904 COND_USE_GUI_1_WXUNIV_1
="#"
47905 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47906 COND_USE_GUI_1_WXUNIV_1
=""
47909 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
47910 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47911 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
47914 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
47915 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47916 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
47919 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
47920 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47921 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
47924 COND_USE_ODBC_1
="#"
47925 if test "x$USE_ODBC" = "x1" ; then
47929 COND_USE_OPENGL_1
="#"
47930 if test "x$USE_OPENGL" = "x1" ; then
47931 COND_USE_OPENGL_1
=""
47934 COND_USE_PLUGINS_0
="#"
47935 if test "x$USE_PLUGINS" = "x0" ; then
47936 COND_USE_PLUGINS_0
=""
47939 COND_USE_RTTI_0
="#"
47940 if test "x$USE_RTTI" = "x0" ; then
47944 COND_USE_RTTI_1
="#"
47945 if test "x$USE_RTTI" = "x1" ; then
47949 COND_USE_SOSYMLINKS_1
="#"
47950 if test "x$USE_SOSYMLINKS" = "x1" ; then
47951 COND_USE_SOSYMLINKS_1
=""
47954 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
47955 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47956 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
47959 COND_USE_SOVERLINUX_1
="#"
47960 if test "x$USE_SOVERLINUX" = "x1" ; then
47961 COND_USE_SOVERLINUX_1
=""
47964 COND_USE_SOVERSION_0
="#"
47965 if test "x$USE_SOVERSION" = "x0" ; then
47966 COND_USE_SOVERSION_0
=""
47969 COND_USE_SOVERSOLARIS_1
="#"
47970 if test "x$USE_SOVERSOLARIS" = "x1" ; then
47971 COND_USE_SOVERSOLARIS_1
=""
47974 COND_USE_THREADS_0
="#"
47975 if test "x$USE_THREADS" = "x0" ; then
47976 COND_USE_THREADS_0
=""
47979 COND_USE_THREADS_1
="#"
47980 if test "x$USE_THREADS" = "x1" ; then
47981 COND_USE_THREADS_1
=""
47985 if test "x$USE_XRC" = "x1" ; then
47989 COND_WINDOWS_IMPLIB_1
="#"
47990 if test "x$WINDOWS_IMPLIB" = "x1" ; then
47991 COND_WINDOWS_IMPLIB_1
=""
47994 COND_WITH_PLUGIN_SDL_1
="#"
47995 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
47996 COND_WITH_PLUGIN_SDL_1
=""
48000 if test "x$WXUNIV" = "x0" ; then
48005 if test "x$WXUNIV" = "x1" ; then
48009 COND_WXUSE_EXPAT_BUILTIN
="#"
48010 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48011 COND_WXUSE_EXPAT_BUILTIN
=""
48014 COND_WXUSE_LIBJPEG_BUILTIN
="#"
48015 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48016 COND_WXUSE_LIBJPEG_BUILTIN
=""
48019 COND_WXUSE_LIBPNG_BUILTIN
="#"
48020 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48021 COND_WXUSE_LIBPNG_BUILTIN
=""
48024 COND_WXUSE_LIBTIFF_BUILTIN
="#"
48025 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48026 COND_WXUSE_LIBTIFF_BUILTIN
=""
48029 COND_WXUSE_ODBC_BUILTIN
="#"
48030 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48031 COND_WXUSE_ODBC_BUILTIN
=""
48034 COND_WXUSE_REGEX_BUILTIN
="#"
48035 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48036 COND_WXUSE_REGEX_BUILTIN
=""
48039 COND_WXUSE_ZLIB_BUILTIN
="#"
48040 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48041 COND_WXUSE_ZLIB_BUILTIN
=""
48046 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48047 { { 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
48048 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;}
48049 { (exit 1); exit 1; }; }
48052 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48053 { { 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
48054 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;}
48055 { (exit 1); exit 1; }; }
48059 if test "$wxUSE_SHARED" = "yes"; then
48061 sanitised_bakefile_mess
=`echo "$SHARED_LD_CXX" | tr -d '()'`
48062 EXE_LINKER
=`eval echo "$sanitised_bakefile_mess"`
48065 *-pc-os2_emx | *-pc-os2-emx )
48066 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48067 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48068 cp -p ${srcdir}/src
/os
2/dllnames.sh .
48069 cp -p ${srcdir}/src
/os
2/dllar.sh .
48074 EXE_LINKER
="$CXX -o"
48077 if test "$wxUSE_OMF" = "yes"; then
48079 *-pc-os2_emx | *-pc-os2-emx )
48080 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
48081 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48082 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
48087 if test $GCC_PCH = 1 ; then
48088 CPPFLAGS
="-DWX_PRECOMP $CPPFLAGS"
48091 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48093 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48155 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48156 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48157 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
48158 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48159 echo $ECHO_N "(cached) $ECHO_C" >&6
48161 cat >conftest.
make <<\_ACEOF
48163 @
echo 'ac_maketemp="$(MAKE)"'
48165 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48166 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48167 if test -n "$ac_maketemp"; then
48168 eval ac_cv_prog_make_
${ac_make}_set
=yes
48170 eval ac_cv_prog_make_
${ac_make}_set
=no
48172 rm -f conftest.
make
48174 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48175 echo "$as_me:$LINENO: result: yes" >&5
48176 echo "${ECHO_T}yes" >&6
48179 echo "$as_me:$LINENO: result: no" >&5
48180 echo "${ECHO_T}no" >&6
48181 SET_MAKE
="MAKE=${MAKE-make}"
48186 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48189 if test "$USE_WIN32" = 1; then
48190 ac_config_commands
="$ac_config_commands
48196 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48199 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48202 ac_config_files
="$ac_config_files version-script Makefile"
48205 ac_config_commands
="$ac_config_commands wx-config"
48209 if test "$wxWITH_SUBDIRS" != "no"; then
48210 if test "$wxUSE_GUI" = "yes"; then
48211 SUBDIRS
="samples demos utils contrib"
48212 else SUBDIRS
="samples utils"
48217 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48218 if test "${with_cppunit_prefix+set}" = set; then
48219 withval
="$with_cppunit_prefix"
48220 cppunit_config_prefix
="$withval"
48222 cppunit_config_prefix
=""
48225 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48226 if test "${with_cppunit_exec_prefix+set}" = set; then
48227 withval
="$with_cppunit_exec_prefix"
48228 cppunit_config_exec_prefix
="$withval"
48230 cppunit_config_exec_prefix
=""
48233 if test x
$cppunit_config_exec_prefix != x
; then
48234 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48235 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48236 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
48239 if test x
$cppunit_config_prefix != x
; then
48240 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
48241 if test x
${CPPUNIT_CONFIG+set} != xset
; then
48242 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
48246 # Extract the first word of "cppunit-config", so it can be a program name with args.
48247 set dummy cppunit
-config; ac_word
=$2
48248 echo "$as_me:$LINENO: checking for $ac_word" >&5
48249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48250 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48251 echo $ECHO_N "(cached) $ECHO_C" >&6
48253 case $CPPUNIT_CONFIG in
48255 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48259 for as_dir
in $PATH
48262 test -z "$as_dir" && as_dir
=.
48263 for ac_exec_ext
in '' $ac_executable_extensions; do
48264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48265 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
48266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48272 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
48276 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
48278 if test -n "$CPPUNIT_CONFIG"; then
48279 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48280 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48282 echo "$as_me:$LINENO: result: no" >&5
48283 echo "${ECHO_T}no" >&6
48286 cppunit_version_min
=1.8.0
48288 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48289 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48291 if test "$CPPUNIT_CONFIG" = "no" ; then
48294 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
48295 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
48296 cppunit_version
=`$CPPUNIT_CONFIG --version`
48298 cppunit_major_version
=`echo $cppunit_version | \
48299 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48300 cppunit_minor_version
=`echo $cppunit_version | \
48301 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48302 cppunit_micro_version
=`echo $cppunit_version | \
48303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48305 cppunit_major_min
=`echo $cppunit_version_min | \
48306 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48307 cppunit_minor_min
=`echo $cppunit_version_min | \
48308 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48309 cppunit_micro_min
=`echo $cppunit_version_min | \
48310 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48312 cppunit_version_proper
=`expr \
48313 $cppunit_major_version \> $cppunit_major_min \| \
48314 $cppunit_major_version \= $cppunit_major_min \& \
48315 $cppunit_minor_version \> $cppunit_minor_min \| \
48316 $cppunit_major_version \= $cppunit_major_min \& \
48317 $cppunit_minor_version \= $cppunit_minor_min \& \
48318 $cppunit_micro_version \>= $cppunit_micro_min `
48320 if test "$cppunit_version_proper" = "1" ; then
48321 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48322 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48324 echo "$as_me:$LINENO: result: no" >&5
48325 echo "${ECHO_T}no" >&6
48330 if test "x$no_cppunit" = x
; then
48331 SUBDIRS
="$SUBDIRS tests"
48342 for subdir
in `echo $SUBDIRS`; do
48343 if test -d ${srcdir}/${subdir} ; then
48344 if test "$wxUSE_GUI" = "yes"; then
48345 if test ${subdir} = "samples"; then
48346 makefiles
="samples/Makefile.in $makefiles"
48347 for sample
in `echo $SAMPLES_SUBDIRS`; do
48348 if test -d $srcdir/samples
/$sample; then
48349 makefiles
="samples/$sample/Makefile.in $makefiles"
48353 disabled_var
=DISABLED_
`echo $subdir | tr [a-z] [A-Z]`;
48354 eval "disabled=\$$disabled_var"
48355 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
48356 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48358 else if test ${subdir} = "samples"; then
48359 makefiles
="samples/Makefile.in samples/console/Makefile.in"
48360 elif test ${subdir} = "utils"; then
48362 for util
in HelpGen tex2rtf
; do
48363 if test -d $srcdir/utils
/$util ; then
48364 makefiles
="utils/$util/Makefile.in \
48365 utils/$util/src/Makefile.in \
48369 else makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
48373 for mkin
in $makefiles ; do
48374 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48375 ac_config_files
="$ac_config_files $mk"
48381 cat >confcache
<<\_ACEOF
48382 # This file is a shell script that caches the results of configure
48383 # tests run on this system so they can be shared between configure
48384 # scripts and configure runs, see configure's option --config-cache.
48385 # It is not useful on other systems. If it contains results you don't
48386 # want to keep, you may remove or edit it.
48388 # config.status only pays attention to the cache file if you give it
48389 # the --recheck option to rerun configure.
48391 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48392 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48393 # following values.
48397 # The following way of writing the cache mishandles newlines in values,
48398 # but we know of no workaround that is simple, portable, and efficient.
48399 # So, don't put newlines in cache variables' values.
48400 # Ultrix sh set writes to stderr and can't be redirected directly,
48401 # and sets the high bit in the cache file unless we assign to the vars.
48404 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48406 # `set' does not quote correctly, so add quotes (double-quote
48407 # substitution turns \\\\ into \\, and sed turns \\ into \).
48410 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48413 # `set' quotes correctly as required by POSIX, so do not add quotes.
48415 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48422 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48424 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48426 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
48427 if test -w $cache_file; then
48428 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48429 cat confcache
>$cache_file
48431 echo "not updating unwritable cache $cache_file"
48436 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
48437 # Let make expand exec_prefix.
48438 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
48440 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48441 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48442 # trailing colons and then remove the whole line if VPATH becomes empty
48443 # (actually we leave an empty line to preserve line numbers).
48444 if test "x$srcdir" = x.
; then
48445 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
48446 s/:*\$(srcdir):*/:/;
48447 s/:*\${srcdir}:*/:/;
48449 s/^\([^=]*=[ ]*\):*/\1/;
48455 DEFS
=-DHAVE_CONFIG_H
48459 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
48460 # 1. Remove the extension, and $U if already installed.
48461 ac_i
=`echo "$ac_i" |
48462 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48464 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
48465 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
48467 LIBOBJS
=$ac_libobjs
48469 LTLIBOBJS
=$ac_ltlibobjs
48473 : ${CONFIG_STATUS=./config.status}
48474 ac_clean_files_save
=$ac_clean_files
48475 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
48476 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48477 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48478 cat >$CONFIG_STATUS <<_ACEOF
48480 # Generated by $as_me.
48481 # Run this file to recreate the current configuration.
48482 # Compiler output produced by configure, useful for debugging
48483 # configure, is in config.log if it exists.
48486 ac_cs_recheck=false
48488 SHELL=\${CONFIG_SHELL-$SHELL}
48491 cat >>$CONFIG_STATUS <<\_ACEOF
48492 ## --------------------- ##
48493 ## M4sh Initialization. ##
48494 ## --------------------- ##
48496 # Be Bourne compatible
48497 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
48500 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48501 # is contrary to our usage. Disable this feature.
48502 alias -g '${1+"$@"}'='"$@"'
48503 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
48506 DUALCASE
=1; export DUALCASE
# for MKS sh
48508 # Support unset when possible.
48509 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
48516 # Work around bugs in pre-3.0 UWIN ksh.
48517 $as_unset ENV MAIL MAILPATH
48524 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48525 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48526 LC_TELEPHONE LC_TIME
48528 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48529 eval $as_var=C
; export $as_var
48535 # Required to use basename.
48536 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48542 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
48543 as_basename
=basename
48549 # Name of the executable.
48550 as_me
=`$as_basename "$0" ||
48551 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48552 X"$0" : 'X\(//\)$' \| \
48553 X"$0" : 'X\(/\)$' \| \
48554 . : '\(.\)' 2>/dev/null ||
48556 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48557 /^X\/\(\/\/\)$/{ s//\1/; q; }
48558 /^X\/\(\/\).*/{ s//\1/; q; }
48562 # PATH needs CR, and LINENO needs CR and PATH.
48563 # Avoid depending upon Character Ranges.
48564 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
48565 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48566 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
48567 as_cr_digits
='0123456789'
48568 as_cr_alnum
=$as_cr_Letters$as_cr_digits
48570 # The user is always right.
48571 if test "${PATH_SEPARATOR+set}" != set; then
48572 echo "#! /bin/sh" >conf$$.sh
48573 echo "exit 0" >>conf$$.sh
48575 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
48584 as_lineno_1
=$LINENO
48585 as_lineno_2
=$LINENO
48586 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
48587 test "x$as_lineno_1" != "x$as_lineno_2" &&
48588 test "x$as_lineno_3" = "x$as_lineno_2" || {
48589 # Find who we are. Look in the path if we contain no path at all
48592 *[\\/]* ) as_myself
=$0 ;;
48593 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48594 for as_dir
in $PATH
48597 test -z "$as_dir" && as_dir
=.
48598 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
48603 # We did not find ourselves, most probably we were run as `sh COMMAND'
48604 # in which case we are not to be found in the path.
48605 if test "x$as_myself" = x
; then
48608 if test ! -f "$as_myself"; then
48609 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48610 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48611 { (exit 1); exit 1; }; }
48613 case $CONFIG_SHELL in
48615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48616 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
48619 test -z "$as_dir" && as_dir
=.
48620 for as_base
in sh bash ksh sh5
; do
48623 if ("$as_dir/$as_base" -c '
48624 as_lineno_1=$LINENO
48625 as_lineno_2=$LINENO
48626 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48627 test "x$as_lineno_1" != "x$as_lineno_2" &&
48628 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
48629 $as_unset BASH_ENV
|| test "${BASH_ENV+set}" != set || { BASH_ENV
=; export BASH_ENV
; }
48630 $as_unset ENV
|| test "${ENV+set}" != set || { ENV
=; export ENV
; }
48631 CONFIG_SHELL
=$as_dir/$as_base
48632 export CONFIG_SHELL
48633 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48641 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48642 # uniformly replaced by the line number. The first 'sed' inserts a
48643 # line-number line before each line; the second 'sed' does the real
48644 # work. The second script uses 'N' to pair each line-number line
48645 # with the numbered line, and appends trailing '-' during
48646 # substitution so that $LINENO is not a special case at line end.
48647 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48648 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48649 sed '=' <$as_myself |
48654 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48657 s,^['$as_cr_digits']*\n,,
48658 ' >$as_me.lineno
&&
48659 chmod +x
$as_me.lineno
||
48660 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48661 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48662 { (exit 1); exit 1; }; }
48664 # Don't try to exec as it changes $[0], causing all sort of problems
48665 # (the dirname of $[0] is not the place where we might find the
48666 # original and so on. Autoconf is especially sensible to this).
48668 # Exit status is that of the last command.
48673 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48674 *c
*,-n*) ECHO_N
= ECHO_C
='
48676 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
48677 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
48680 if expr a
: '\(a\)' >/dev
/null
2>&1; then
48686 rm -f conf$$ conf$$.exe conf$$.
file
48688 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
48689 # We could just check for DJGPP; but this test a) works b) is more generic
48690 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48691 if test -f conf$$.exe
; then
48692 # Don't use ln at all; we don't have any links
48697 elif ln conf$$.
file conf$$
2>/dev
/null
; then
48702 rm -f conf$$ conf$$.exe conf$$.
file
48704 if mkdir -p .
2>/dev
/null
; then
48707 test -d .
/-p && rmdir .
/-p
48711 as_executable_p
="test -f"
48713 # Sed expression to map a string onto a valid CPP name.
48714 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48716 # Sed expression to map a string onto a valid variable name.
48717 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48721 # We need space, tab and new line, in precisely that order.
48731 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48732 # report actual input values of CONFIG_FILES etc. instead of their
48733 # values after options handling. Logging --version etc. is OK.
48737 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48738 ## Running $as_me. ##
48743 This file was extended by wxWidgets $as_me 2.7.0, which was
48744 generated by GNU Autoconf 2.59. Invocation command line was
48746 CONFIG_FILES = $CONFIG_FILES
48747 CONFIG_HEADERS = $CONFIG_HEADERS
48748 CONFIG_LINKS = $CONFIG_LINKS
48749 CONFIG_COMMANDS = $CONFIG_COMMANDS
48753 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48757 # Files that config.status was made for.
48758 if test -n "$ac_config_files"; then
48759 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48762 if test -n "$ac_config_headers"; then
48763 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48766 if test -n "$ac_config_links"; then
48767 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48770 if test -n "$ac_config_commands"; then
48771 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48774 cat >>$CONFIG_STATUS <<\_ACEOF
48777 \`$as_me' instantiates files from templates according to the
48778 current configuration.
48780 Usage: $0 [OPTIONS] [FILE]...
48782 -h, --help print this help, then exit
48783 -V, --version print version number, then exit
48784 -q, --quiet do not print progress messages
48785 -d, --debug don't remove temporary files
48786 --recheck update $as_me by reconfiguring in the same conditions
48787 --file=FILE[:TEMPLATE]
48788 instantiate the configuration file FILE
48789 --header=FILE[:TEMPLATE]
48790 instantiate the configuration header FILE
48792 Configuration files:
48795 Configuration headers:
48798 Configuration commands:
48801 Report bugs to <bug-autoconf@gnu.org>."
48804 cat >>$CONFIG_STATUS <<_ACEOF
48806 wxWidgets config.status 2.7.0
48807 configured by $0, generated by GNU Autoconf 2.59,
48808 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48810 Copyright (C) 2003 Free Software Foundation, Inc.
48811 This config.status script is free software; the Free Software Foundation
48812 gives unlimited permission to copy, distribute and modify it."
48817 cat >>$CONFIG_STATUS <<\_ACEOF
48818 # If no file are specified by the user, then we need to provide default
48819 # value. By we need to know if files were specified by the user.
48825 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
48826 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
48834 *) # This is not an option, so the user has probably given explicit
48837 ac_need_defaults
=false
;;
48841 # Handling of the options.
48843 cat >>$CONFIG_STATUS <<\_ACEOF
48844 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48846 --version | --vers* | -V )
48847 echo "$ac_cs_version"; exit 0 ;;
48849 # Conflict between --help and --header
48850 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48851 Try \`$0 --help' for more information." >&5
48852 echo "$as_me: error: ambiguous option: $1
48853 Try \`$0 --help' for more information." >&2;}
48854 { (exit 1); exit 1; }; };;
48855 --help | --hel | -h )
48856 echo "$ac_cs_usage"; exit 0 ;;
48857 --debug | --d* | -d )
48859 --file | --fil | --fi | --f )
48861 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
48862 ac_need_defaults
=false
;;
48863 --header | --heade | --head | --hea )
48865 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
48866 ac_need_defaults
=false
;;
48867 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48868 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48871 # This is an error.
48872 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48873 Try \`$0 --help' for more information." >&5
48874 echo "$as_me: error: unrecognized option: $1
48875 Try \`$0 --help' for more information." >&2;}
48876 { (exit 1); exit 1; }; } ;;
48878 *) ac_config_targets
="$ac_config_targets $1" ;;
48884 ac_configure_extra_args
=
48886 if $ac_cs_silent; then
48888 ac_configure_extra_args
="$ac_configure_extra_args --silent"
48892 cat >>$CONFIG_STATUS <<_ACEOF
48893 if \$ac_cs_recheck; then
48894 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48895 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48900 cat >>$CONFIG_STATUS <<_ACEOF
48902 # INIT-COMMANDS section.
48907 infile="$srcdir/include/wx/msw/genrcdefs.h"
48908 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48911 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48912 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48913 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48921 cat >>$CONFIG_STATUS <<\_ACEOF
48922 for ac_config_target
in $ac_config_targets
48924 case "$ac_config_target" in
48925 # Handling of arguments.
48926 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48927 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48928 "version-script" ) CONFIG_FILES
="$CONFIG_FILES version-script" ;;
48929 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
48930 "$mk" ) CONFIG_FILES
="$CONFIG_FILES $mk" ;;
48931 "rcdefs.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
48932 "wx-config" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
48933 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48934 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48935 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48936 { (exit 1); exit 1; }; };;
48940 # If the user did not use the arguments to specify the items to instantiate,
48941 # then the envvar interface is used. Set only those that are not.
48942 # We use the long form for the default assignment because of an extremely
48943 # bizarre bug on SunOS 4.1.3.
48944 if $ac_need_defaults; then
48945 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
48946 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
48947 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
48950 # Have a temporary directory for convenience. Make it in the build tree
48951 # simply because there is no reason to put it here, and in addition,
48952 # creating and moving files from /tmp can sometimes cause problems.
48953 # Create a temporary directory, and hook for its removal unless debugging.
48956 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
48957 trap '{ (exit 1); exit 1; }' 1 2 13 15
48960 # Create a (secure) tmp directory for tmp files.
48963 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
48964 test -n "$tmp" && test -d "$tmp"
48967 tmp
=.
/confstat$$
-$RANDOM
48968 (umask 077 && mkdir $tmp)
48971 echo "$me: cannot create a temporary directory in ." >&2
48972 { (exit 1); exit 1; }
48977 cat >>$CONFIG_STATUS <<_ACEOF
48980 # CONFIG_FILES section.
48983 # No need to generate the scripts if there are no CONFIG_FILES.
48984 # This happens for instance when ./config.status config.h
48985 if test -n "\$CONFIG_FILES"; then
48986 # Protect against being on the right side of a sed subst in config.status.
48987 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
48988 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
48989 s,@SHELL@,$SHELL,;t t
48990 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
48991 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
48992 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
48993 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
48994 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
48995 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
48996 s,@exec_prefix@,$exec_prefix,;t t
48997 s,@prefix@,$prefix,;t t
48998 s,@program_transform_name@,$program_transform_name,;t t
48999 s,@bindir@,$bindir,;t t
49000 s,@sbindir@,$sbindir,;t t
49001 s,@libexecdir@,$libexecdir,;t t
49002 s,@datadir@,$datadir,;t t
49003 s,@sysconfdir@,$sysconfdir,;t t
49004 s,@sharedstatedir@,$sharedstatedir,;t t
49005 s,@localstatedir@,$localstatedir,;t t
49006 s,@libdir@,$libdir,;t t
49007 s,@includedir@,$includedir,;t t
49008 s,@oldincludedir@,$oldincludedir,;t t
49009 s,@infodir@,$infodir,;t t
49010 s,@mandir@,$mandir,;t t
49011 s,@build_alias@,$build_alias,;t t
49012 s,@host_alias@,$host_alias,;t t
49013 s,@target_alias@,$target_alias,;t t
49014 s,@DEFS@,$DEFS,;t t
49015 s,@ECHO_C@,$ECHO_C,;t t
49016 s,@ECHO_N@,$ECHO_N,;t t
49017 s,@ECHO_T@,$ECHO_T,;t t
49018 s,@LIBS@,$LIBS,;t t
49019 s,@build@,$build,;t t
49020 s,@build_cpu@,$build_cpu,;t t
49021 s,@build_vendor@,$build_vendor,;t t
49022 s,@build_os@,$build_os,;t t
49023 s,@host@,$host,;t t
49024 s,@host_cpu@,$host_cpu,;t t
49025 s,@host_vendor@,$host_vendor,;t t
49026 s,@host_os@,$host_os,;t t
49027 s,@target@,$target,;t t
49028 s,@target_cpu@,$target_cpu,;t t
49029 s,@target_vendor@,$target_vendor,;t t
49030 s,@target_os@,$target_os,;t t
49032 s,@CFLAGS@,$CFLAGS,;t t
49033 s,@LDFLAGS@,$LDFLAGS,;t t
49034 s,@CPPFLAGS@,$CPPFLAGS,;t t
49035 s,@ac_ct_CC@,$ac_ct_CC,;t t
49036 s,@EXEEXT@,$EXEEXT,;t t
49037 s,@OBJEXT@,$OBJEXT,;t t
49039 s,@EGREP@,$EGREP,;t t
49041 s,@CXXFLAGS@,$CXXFLAGS,;t t
49042 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49043 s,@RANLIB@,$RANLIB,;t t
49044 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49046 s,@ac_ct_AR@,$ac_ct_AR,;t t
49047 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49048 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49049 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49050 s,@STRIP@,$STRIP,;t t
49051 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49052 s,@WINDRES@,$WINDRES,;t t
49053 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49054 s,@DLLTOOL@,$DLLTOOL,;t t
49055 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49056 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49057 s,@LN_S@,$LN_S,;t t
49058 s,@LNDIR@,$LNDIR,;t t
49059 s,@CXXCPP@,$CXXCPP,;t t
49060 s,@subdirs@,$subdirs,;t t
49061 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49062 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49063 s,@GTK_LIBS@,$GTK_LIBS,;t t
49064 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49065 s,@X_CFLAGS@,$X_CFLAGS,;t t
49066 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49067 s,@X_LIBS@,$X_LIBS,;t t
49068 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49069 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49070 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49071 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49072 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49073 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49074 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49076 s,@DEREZ@,$DEREZ,;t t
49077 s,@SETFILE@,$SETFILE,;t t
49078 s,@LIBICONV@,$LIBICONV,;t t
49079 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49080 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49081 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49082 s,@SDL_LIBS@,$SDL_LIBS,;t t
49083 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49084 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49085 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49086 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49087 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
49088 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
49089 s,@GST_INSPECT@,$GST_INSPECT,;t t
49090 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49091 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49092 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49093 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49094 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49095 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49096 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49097 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49098 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49099 s,@VENDOR@,$VENDOR,;t t
49100 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49101 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49102 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49103 s,@WXUNIV@,$WXUNIV,;t t
49104 s,@MONOLITHIC@,$MONOLITHIC,;t t
49105 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49106 s,@EXTRALIBS@,$EXTRALIBS,;t t
49107 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49108 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49109 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49110 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49111 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49112 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49113 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49114 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49115 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49116 s,@UNICODE@,$UNICODE,;t t
49117 s,@BUILD@,$BUILD,;t t
49118 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49119 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49120 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49121 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49122 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49123 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49124 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49125 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49126 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49127 s,@SET_MAKE@,$SET_MAKE,;t t
49128 s,@MAKE_SET@,$MAKE_SET,;t t
49130 s,@ac_ct_NM@,$ac_ct_NM,;t t
49131 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49132 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49133 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49134 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49135 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49136 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49137 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49138 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49139 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49140 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49141 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49142 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49143 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49144 s,@LIBPREFIX@,$LIBPREFIX,;t t
49145 s,@LIBEXT@,$LIBEXT,;t t
49146 s,@DLLPREFIX@,$DLLPREFIX,;t t
49147 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49148 s,@dlldir@,$dlldir,;t t
49149 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49150 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49151 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49152 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49153 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49154 s,@PIC_FLAG@,$PIC_FLAG,;t t
49155 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49156 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49157 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49158 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49159 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49160 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49161 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49162 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49163 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49164 s,@GCC_PCH@,$GCC_PCH,;t t
49165 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49166 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49167 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49168 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49169 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49170 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49171 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49172 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49173 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49174 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49175 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49176 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49177 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49178 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49179 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49180 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49181 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49182 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49183 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
49184 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
49185 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
49186 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49187 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49188 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49189 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49190 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
49191 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
49192 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
49193 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49194 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49195 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49196 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49197 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49198 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49199 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49200 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49201 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49202 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49203 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49204 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49205 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49206 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49207 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49208 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49209 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
49210 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49211 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49212 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49213 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49214 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49215 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49216 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49217 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49218 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49219 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49220 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49221 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49222 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49223 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49224 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49225 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49226 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49227 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49228 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49229 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49230 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49231 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49232 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49233 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49234 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49235 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49236 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49237 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49238 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49239 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49240 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49241 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49242 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49243 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49244 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49245 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49246 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49247 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49248 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0,;t t
49249 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49250 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49251 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49252 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49253 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49254 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49255 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49256 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49257 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49258 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49259 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49260 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49261 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49262 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49263 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49264 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49265 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49266 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49267 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49268 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49269 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49270 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49271 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49272 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49273 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49274 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49275 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49276 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49277 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49278 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49279 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49280 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49281 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49282 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49283 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49284 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49285 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49286 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49287 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49288 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49289 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49290 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49291 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49292 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49293 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49294 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49295 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49296 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49297 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49298 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49299 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49300 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49301 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49302 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49303 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49304 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49305 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49306 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49307 s,@SHARED@,$SHARED,;t t
49308 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49309 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49310 s,@USE_GUI@,$USE_GUI,;t t
49311 s,@AFMINSTALL@,$AFMINSTALL,;t t
49312 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49313 s,@TOOLKIT@,$TOOLKIT,;t t
49314 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49315 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49316 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49317 s,@cross_compiling@,$cross_compiling,;t t
49318 s,@WIDGET_SET@,$WIDGET_SET,;t t
49319 s,@WX_RELEASE@,$WX_RELEASE,;t t
49320 s,@WX_VERSION@,$WX_VERSION,;t t
49321 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49322 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49323 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49324 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49325 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49326 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49327 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49328 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49329 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49330 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49331 s,@EXE_LINKER@,$EXE_LINKER,;t t
49332 s,@GUIDIST@,$GUIDIST,;t t
49333 s,@DISTDIR@,$DISTDIR,;t t
49334 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49335 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49336 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49337 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49338 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49339 s,@RESCOMP@,$RESCOMP,;t t
49340 s,@RESFLAGS@,$RESFLAGS,;t t
49341 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49342 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49343 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49344 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49345 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49346 s,@MACSETFILE@,$MACSETFILE,;t t
49348 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49349 s,@LIBOBJS@,$LIBOBJS,;t t
49350 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49355 cat >>$CONFIG_STATUS <<\_ACEOF
49356 # Split the substitutions into bite-sized pieces for seds with
49357 # small command number limits, like on Digital OSF/1 and HP-UX.
49358 ac_max_sed_lines
=48
49359 ac_sed_frag
=1 # Number of current file.
49360 ac_beg
=1 # First line for current file.
49361 ac_end
=$ac_max_sed_lines # Line after last line for current file.
49364 while $ac_more_lines; do
49365 if test $ac_beg -gt 1; then
49366 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49368 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
49370 if test ! -s $tmp/subs.frag
; then
49371 ac_more_lines
=false
49373 # The purpose of the label and of the branching condition is to
49374 # speed up the sed processing (if there are no `@' at all, there
49375 # is no need to browse any of the substitutions).
49376 # These are the two extra sed commands mentioned above.
49378 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs
-$ac_sed_frag.
sed
49379 if test -z "$ac_sed_cmds"; then
49380 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
49382 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49384 ac_sed_frag
=`expr $ac_sed_frag + 1`
49386 ac_end
=`expr $ac_end + $ac_max_sed_lines`
49389 if test -z "$ac_sed_cmds"; then
49392 fi # test -n "$CONFIG_FILES"
49395 cat >>$CONFIG_STATUS <<\_ACEOF
49396 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
49397 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49399 - | *:- | *:-:* ) # input from stdin
49401 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49402 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49403 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49404 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49405 * ) ac_file_in
=$ac_file.
in ;;
49408 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49409 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49410 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49411 X"$ac_file" : 'X\(//\)[^/]' \| \
49412 X"$ac_file" : 'X\(//\)$' \| \
49413 X"$ac_file" : 'X\(/\)' \| \
49414 . : '\(.\)' 2>/dev/null ||
49416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49417 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49418 /^X\(\/\/\)$/{ s//\1/; q; }
49419 /^X\(\/\).*/{ s//\1/; q; }
49421 { if $as_mkdir_p; then
49426 while test ! -d "$as_dir"; do
49427 as_dirs
="$as_dir $as_dirs"
49428 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49429 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49430 X"$as_dir" : 'X\(//\)[^/]' \| \
49431 X"$as_dir" : 'X\(//\)$' \| \
49432 X"$as_dir" : 'X\(/\)' \| \
49433 . : '\(.\)' 2>/dev/null ||
49435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49436 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49437 /^X\(\/\/\)$/{ s//\1/; q; }
49438 /^X\(\/\).*/{ s//\1/; q; }
49441 test ! -n "$as_dirs" || mkdir $as_dirs
49442 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49443 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49444 { (exit 1); exit 1; }; }; }
49448 if test "$ac_dir" != .
; then
49449 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49450 # A "../" for each directory in $ac_dir_suffix.
49451 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49453 ac_dir_suffix
= ac_top_builddir
=
49457 .
) # No --srcdir option. We are building in place.
49459 if test -z "$ac_top_builddir"; then
49462 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49464 [\\/]* | ?
:[\\/]* ) # Absolute path.
49465 ac_srcdir
=$srcdir$ac_dir_suffix;
49466 ac_top_srcdir
=$srcdir ;;
49467 *) # Relative path.
49468 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49469 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49472 # Do not use `cd foo && pwd` to compute absolute paths, because
49473 # the directories may not exist.
49475 .
) ac_abs_builddir
="$ac_dir";;
49478 .
) ac_abs_builddir
=`pwd`;;
49479 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49480 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49483 case $ac_abs_builddir in
49484 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49486 case ${ac_top_builddir}.
in
49487 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49488 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49489 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49492 case $ac_abs_builddir in
49493 .
) ac_abs_srcdir
=$ac_srcdir;;
49496 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49497 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49498 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49501 case $ac_abs_builddir in
49502 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49504 case $ac_top_srcdir in
49505 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49506 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49507 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49513 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
49514 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
49517 if test x
"$ac_file" != x
-; then
49518 { echo "$as_me:$LINENO: creating $ac_file" >&5
49519 echo "$as_me: creating $ac_file" >&6;}
49522 # Let's still pretend it is `configure' which instantiates (i.e., don't
49523 # use $as_me), people would be surprised to read:
49524 # /* config.h. Generated by config.status. */
49525 if test x
"$ac_file" = x
-; then
49528 configure_input
="$ac_file. "
49530 configure_input
=$configure_input"Generated from `echo $ac_file_in |
49531 sed 's,.*/,,'` by configure."
49533 # First look for the input files in the build tree, otherwise in the
49535 ac_file_inputs
=`IFS=:
49536 for f in $ac_file_in; do
49538 -) echo $tmp/stdin ;;
49540 # Absolute (can't be DOS-style, as IFS=:)
49541 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49542 echo "$as_me: error: cannot find input file: $f" >&2;}
49543 { (exit 1); exit 1; }; }
49546 if test -f "$f"; then
49549 elif test -f "$srcdir/$f"; then
49554 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49555 echo "$as_me: error: cannot find input file: $f" >&2;}
49556 { (exit 1); exit 1; }; }
49559 done` || { (exit 1); exit 1; }
49561 cat >>$CONFIG_STATUS <<_ACEOF
49565 cat >>$CONFIG_STATUS <<\_ACEOF
49567 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
49568 s
,@configure_input@
,$configure_input,;t t
49569 s
,@srcdir@
,$ac_srcdir,;t t
49570 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
49571 s
,@top_srcdir@
,$ac_top_srcdir,;t t
49572 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
49573 s
,@builddir@
,$ac_builddir,;t t
49574 s
,@abs_builddir@
,$ac_abs_builddir,;t t
49575 s
,@top_builddir@
,$ac_top_builddir,;t t
49576 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
49577 s
,@INSTALL@
,$ac_INSTALL,;t t
49578 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49580 if test x"$ac_file" != x-; then
49581 mv $tmp/out $ac_file
49587 # Run the commands associated with the file.
49589 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49590 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49594 cat >>$CONFIG_STATUS <<\_ACEOF
49597 # CONFIG_HEADER section.
49600 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
49601 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49603 # ac_d sets the value in "#define NAME VALUE" lines.
49604 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49605 ac_dB
='[ ].*$,\1#\2'
49608 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49609 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49610 ac_uB
='$,\1#\2define\3'
49614 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
49615 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49617 - | *:- | *:-:* ) # input from stdin
49619 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49620 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49621 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49622 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
49623 * ) ac_file_in
=$ac_file.
in ;;
49626 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49627 echo "$as_me: creating $ac_file" >&6;}
49629 # First look for the input files in the build tree, otherwise in the
49631 ac_file_inputs
=`IFS=:
49632 for f in $ac_file_in; do
49634 -) echo $tmp/stdin ;;
49636 # Absolute (can't be DOS-style, as IFS=:)
49637 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49638 echo "$as_me: error: cannot find input file: $f" >&2;}
49639 { (exit 1); exit 1; }; }
49640 # Do quote $f, to prevent DOS paths from being IFS'd.
49643 if test -f "$f"; then
49646 elif test -f "$srcdir/$f"; then
49651 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49652 echo "$as_me: error: cannot find input file: $f" >&2;}
49653 { (exit 1); exit 1; }; }
49656 done` || { (exit 1); exit 1; }
49657 # Remove the trailing spaces.
49658 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49662 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49663 # `conftest.undefs', that substitutes the proper values into
49664 # config.h.in to produce config.h. The first handles `#define'
49665 # templates, and the second `#undef' templates.
49666 # And first: Protect against being on the right side of a sed subst in
49667 # config.status. Protect against being in an unquoted here document
49668 # in config.status.
49669 rm -f conftest.defines conftest.undefs
49670 # Using a here document instead of a string reduces the quoting nightmare.
49671 # Putting comments in sed scripts is not portable.
49673 # `end' is used to avoid that the second main sed command (meant for
49674 # 0-ary CPP macros) applies to n-ary macro definitions.
49675 # See the Autoconf documentation for `clear'.
49676 cat >confdef2sed.
sed <<\_ACEOF
49681 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49683 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49686 # If some macros were called several times there might be several times
49687 # the same #defines, which is useless. Nevertheless, we may not want to
49688 # sort them, since we want the *last* AC-DEFINE to be honored.
49689 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49690 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49691 rm -f confdef2sed.sed
49693 # This sed command replaces #undef with comments. This is necessary, for
49694 # example, in the case of _POSIX_SOURCE, which is predefined and required
49695 # on some systems where configure will not decide to define it.
49696 cat >>conftest.undefs <<\_ACEOF
49697 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49700 # Break up conftest.defines because some shells have a limit on the size
49701 # of here documents, and old seds have small limits too (100 cmds).
49702 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49703 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49704 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49705 echo ' :' >>$CONFIG_STATUS
49706 rm -f conftest.tail
49707 while grep . conftest.defines >/dev/null
49709 # Write a limited-size here document to $tmp/defines.sed.
49710 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49711 # Speed up: don't consider the non `#define' lines.
49712 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49713 # Work around the forget-to-reset-the-flag bug.
49714 echo 't clr' >>$CONFIG_STATUS
49715 echo ': clr' >>$CONFIG_STATUS
49716 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
49718 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49720 mv $tmp/out $tmp/in
49722 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
49723 rm -f conftest.defines
49724 mv conftest.
tail conftest.defines
49726 rm -f conftest.defines
49727 echo ' fi # grep' >>$CONFIG_STATUS
49728 echo >>$CONFIG_STATUS
49730 # Break up conftest.undefs because some shells have a limit on the size
49731 # of here documents, and old seds have small limits too (100 cmds).
49732 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49733 rm -f conftest.
tail
49734 while grep . conftest.undefs
>/dev
/null
49736 # Write a limited-size here document to $tmp/undefs.sed.
49737 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49738 # Speed up: don't consider the non
`#undef'
49739 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49740 # Work around the forget-to-reset-the-flag bug.
49741 echo 't clr' >>$CONFIG_STATUS
49742 echo ': clr' >>$CONFIG_STATUS
49743 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49745 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49747 mv $tmp/out $tmp/in
49749 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49750 rm -f conftest.undefs
49751 mv conftest.tail conftest.undefs
49753 rm -f conftest.undefs
49755 cat >>$CONFIG_STATUS <<\_ACEOF
49756 # Let's still pretend it is `configure
' which instantiates (i.e., don't
49757 # use $as_me), people would be surprised to read:
49758 # /* config.h. Generated by config.status. */
49759 if test x
"$ac_file" = x
-; then
49760 echo "/* Generated by configure. */" >$tmp/config.h
49762 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49764 cat $tmp/in >>$tmp/config.h
49766 if test x
"$ac_file" != x
-; then
49767 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
49768 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49769 echo "$as_me: $ac_file is unchanged" >&6;}
49771 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
49772 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49773 X"$ac_file" : 'X\(//\)[^/]' \| \
49774 X"$ac_file" : 'X\(//\)$' \| \
49775 X"$ac_file" : 'X\(/\)' \| \
49776 . : '\(.\)' 2>/dev/null ||
49778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49779 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49780 /^X\(\/\/\)$/{ s//\1/; q; }
49781 /^X\(\/\).*/{ s//\1/; q; }
49783 { if $as_mkdir_p; then
49788 while test ! -d "$as_dir"; do
49789 as_dirs
="$as_dir $as_dirs"
49790 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49791 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49792 X"$as_dir" : 'X\(//\)[^/]' \| \
49793 X"$as_dir" : 'X\(//\)$' \| \
49794 X"$as_dir" : 'X\(/\)' \| \
49795 . : '\(.\)' 2>/dev/null ||
49797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49798 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49799 /^X\(\/\/\)$/{ s//\1/; q; }
49800 /^X\(\/\).*/{ s//\1/; q; }
49803 test ! -n "$as_dirs" || mkdir $as_dirs
49804 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49805 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49806 { (exit 1); exit 1; }; }; }
49809 mv $tmp/config.h
$ac_file
49813 rm -f $tmp/config.h
49817 cat >>$CONFIG_STATUS <<\_ACEOF
49820 # CONFIG_COMMANDS section.
49822 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
49823 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
49824 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
49825 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
49826 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49827 X"$ac_dest" : 'X\(//\)[^/]' \| \
49828 X"$ac_dest" : 'X\(//\)$' \| \
49829 X"$ac_dest" : 'X\(/\)' \| \
49830 . : '\(.\)' 2>/dev/null ||
49832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49833 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49834 /^X\(\/\/\)$/{ s//\1/; q; }
49835 /^X\(\/\).*/{ s//\1/; q; }
49837 { if $as_mkdir_p; then
49842 while test ! -d "$as_dir"; do
49843 as_dirs
="$as_dir $as_dirs"
49844 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
49845 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49846 X"$as_dir" : 'X\(//\)[^/]' \| \
49847 X"$as_dir" : 'X\(//\)$' \| \
49848 X"$as_dir" : 'X\(/\)' \| \
49849 . : '\(.\)' 2>/dev/null ||
49851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49852 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49853 /^X\(\/\/\)$/{ s//\1/; q; }
49854 /^X\(\/\).*/{ s//\1/; q; }
49857 test ! -n "$as_dirs" || mkdir $as_dirs
49858 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49859 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49860 { (exit 1); exit 1; }; }; }
49864 if test "$ac_dir" != .
; then
49865 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49866 # A "../" for each directory in $ac_dir_suffix.
49867 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49869 ac_dir_suffix
= ac_top_builddir
=
49873 .
) # No --srcdir option. We are building in place.
49875 if test -z "$ac_top_builddir"; then
49878 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
49880 [\\/]* | ?
:[\\/]* ) # Absolute path.
49881 ac_srcdir
=$srcdir$ac_dir_suffix;
49882 ac_top_srcdir
=$srcdir ;;
49883 *) # Relative path.
49884 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
49885 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
49888 # Do not use `cd foo && pwd` to compute absolute paths, because
49889 # the directories may not exist.
49891 .
) ac_abs_builddir
="$ac_dir";;
49894 .
) ac_abs_builddir
=`pwd`;;
49895 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
49896 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
49899 case $ac_abs_builddir in
49900 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49902 case ${ac_top_builddir}.
in
49903 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
49904 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
49905 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
49908 case $ac_abs_builddir in
49909 .
) ac_abs_srcdir
=$ac_srcdir;;
49912 .
) ac_abs_srcdir
=$ac_abs_builddir;;
49913 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
49914 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
49917 case $ac_abs_builddir in
49918 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
49920 case $ac_top_srcdir in
49921 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
49922 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
49923 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
49928 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49929 echo "$as_me: executing $ac_dest commands" >&6;}
49932 mkdir -p $outdir &&
49933 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49935 wx
-config ) rm -f wx
-config
49936 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
49942 cat >>$CONFIG_STATUS <<\_ACEOF
49944 { (exit 0); exit 0; }
49946 chmod +x
$CONFIG_STATUS
49947 ac_clean_files
=$ac_clean_files_save
49950 # configure is writing to config.log, and then calls config.status.
49951 # config.status does its own redirection, appending to config.log.
49952 # Unfortunately, on DOS this fails, as config.log is still kept open
49953 # by configure, so config.status won't be able to write to it; its
49954 # output is simply discarded. So we exec the FD to /dev/null,
49955 # effectively closing config.log, so it can be properly (re)opened and
49956 # appended to by config.status. When coming back to configure, we
49957 # need to make the FD available again.
49958 if test "$no_create" != yes; then
49960 ac_config_status_args
=
49961 test "$silent" = yes &&
49962 ac_config_status_args
="$ac_config_status_args --quiet"
49964 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
49966 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49967 # would make configure fail if this is the last instruction.
49968 $ac_cs_success || { (exit 1); exit 1; }
49972 # CONFIG_SUBDIRS section.
49974 if test "$no_recursion" != yes; then
49976 # Remove --cache-file and --srcdir arguments so they do not pile up.
49977 ac_sub_configure_args
=
49979 for ac_arg
in $ac_configure_args; do
49980 if test -n "$ac_prev"; then
49985 -cache-file | --cache-file | --cache-fil | --cache-fi \
49986 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
49987 ac_prev
=cache_file
;;
49988 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
49989 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
49992 --config-cache | -C)
49994 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
49996 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
49998 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50000 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50002 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
50006 # Always prepend --prefix to ensure using the same prefix
50007 # in subdir configurations.
50008 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
50011 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
50013 # Do not complain, so a configure script can configure whichever
50014 # parts of a large source tree are present.
50015 test -d $srcdir/$ac_dir || continue
50017 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50018 echo "$as_me: configuring in $ac_dir" >&6;}
50019 { if $as_mkdir_p; then
50024 while test ! -d "$as_dir"; do
50025 as_dirs
="$as_dir $as_dirs"
50026 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
50027 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50028 X"$as_dir" : 'X\(//\)[^/]' \| \
50029 X"$as_dir" : 'X\(//\)$' \| \
50030 X"$as_dir" : 'X\(/\)' \| \
50031 . : '\(.\)' 2>/dev/null ||
50033 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50034 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50035 /^X\(\/\/\)$/{ s//\1/; q; }
50036 /^X\(\/\).*/{ s//\1/; q; }
50039 test ! -n "$as_dirs" || mkdir $as_dirs
50040 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50041 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50042 { (exit 1); exit 1; }; }; }
50046 if test "$ac_dir" != .
; then
50047 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50048 # A "../" for each directory in $ac_dir_suffix.
50049 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50051 ac_dir_suffix
= ac_top_builddir
=
50055 .
) # No --srcdir option. We are building in place.
50057 if test -z "$ac_top_builddir"; then
50060 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
50062 [\\/]* | ?
:[\\/]* ) # Absolute path.
50063 ac_srcdir
=$srcdir$ac_dir_suffix;
50064 ac_top_srcdir
=$srcdir ;;
50065 *) # Relative path.
50066 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
50067 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
50070 # Do not use `cd foo && pwd` to compute absolute paths, because
50071 # the directories may not exist.
50073 .
) ac_abs_builddir
="$ac_dir";;
50076 .
) ac_abs_builddir
=`pwd`;;
50077 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
50078 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
50081 case $ac_abs_builddir in
50082 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50084 case ${ac_top_builddir}.
in
50085 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
50086 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
50087 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
50090 case $ac_abs_builddir in
50091 .
) ac_abs_srcdir
=$ac_srcdir;;
50094 .
) ac_abs_srcdir
=$ac_abs_builddir;;
50095 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
50096 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
50099 case $ac_abs_builddir in
50100 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
50102 case $ac_top_srcdir in
50103 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
50104 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
50105 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
50112 # Check for guested configure; otherwise get Cygnus style configure.
50113 if test -f $ac_srcdir/configure.gnu
; then
50114 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
50115 elif test -f $ac_srcdir/configure
; then
50116 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
50117 elif test -f $ac_srcdir/configure.
in; then
50118 ac_sub_configure
=$ac_configure
50120 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50121 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50125 # The recursion is here.
50126 if test -n "$ac_sub_configure"; then
50127 # Make the cache file name correct relative to the subdirectory.
50128 case $cache_file in
50129 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
50130 *) # Relative path.
50131 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
50134 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50135 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50136 # The eval makes quoting arguments work.
50137 eval $ac_sub_configure $ac_sub_configure_args \
50138 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50139 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50140 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50141 { (exit 1); exit 1; }; }
50150 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50152 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50153 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50155 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50156 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50157 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50159 echo " What level of wxWidgets compatibility should be enabled?"
50160 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50161 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50163 echo " Which libraries should wxWidgets use?"
50164 echo " jpeg ${wxUSE_LIBJPEG-none}"
50165 echo " png ${wxUSE_LIBPNG-none}"
50166 echo " regex ${wxUSE_REGEX}"
50167 echo " tiff ${wxUSE_LIBTIFF-none}"
50168 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50169 echo " xpm ${wxUSE_LIBXPM-none}"
50171 echo " zlib ${wxUSE_ZLIB}"
50172 echo " odbc ${wxUSE_ODBC}"
50173 echo " expat ${wxUSE_EXPAT}"
50174 echo " libmspack ${wxUSE_LIBMSPACK}"
50175 echo " sdl ${wxUSE_LIBSDL}"
50176 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50177 echo " hildon ${wxUSE_LIBHILDON-none}"